Repository: kubernetes/dashboard
Pull request #5178 (2020-05-25 09:33:45)

Bump ts-loader from 6.2.1 to 7.0.5
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 6.2.1 to 7.0.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/TypeStrong/ts-loader/releases">ts-loader's releases</a>.</em></p>
<blockquote>
<h2>v7.0.5</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1115">Apply other loaders when updating files in watch mode</a> - thanks <a href="https://github.com/iorate">@iorate</a></li>
</ul>
<h2>v7.0.4</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1104">Ensure a separate webpack instance is created for different loader options</a> - thanks <a href="https://github.com/appzuka">@appzuka</a></li>
</ul>
<h2>v7.0.3</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1101">Ensure that JSON files are included in build module resolution</a> - thanks <a href="https://github.com/berickson1">@berickson1</a></li>
</ul>
<h2>v7.0.2</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1085">Make content hash consistent across machines</a> - thanks <a href="https://github.com/elyalvarado">@elyalvarado</a></li>
</ul>
<h2>v7.0.1</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1083">fix: watch-run</a> - thanks <a href="https://github.com/zn4rk">@zn4rk</a>
 </li>
</ul>
<h2>v7.0.0</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1076">Project reference support enhancements</a> - thanks <a href="https://github.com/sheetalkamat">@sheetalkamat</a>!</li>
<li>Following the end of life of Node 8, <code>ts-loader</code> no longer supports Node 8 <strong>BREAKING CHANGE</strong></li>
</ul>
<h2>v6.2.2</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1072">Enable typescript 3.8.3 support when using <code>webpack.config.ts</code> files</a> - thanks <a href="https://github.com/vladimiry">@vladimiry</a>!</li>
</ul>
<p>This is git tagged as v6.2.7 due to an accident.  It's actually 6.2.2</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md">ts-loader's changelog</a>.</em></p>
<blockquote>
<h2>v7.0.5</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1115">Apply other loaders when updating files in watch mode</a> - thanks <a href="https://github.com/iorate">@iorate</a></li>
</ul>
<h2>v7.0.4</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1104">Ensure a separate webpack instance is created for different loader options</a> - thanks <a href="https://github.com/appzuka">@appzuka</a></li>
</ul>
<h2>v7.0.3</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1101">Ensure that JSON files are included in build module resolution</a> - thanks <a href="https://github.com/berickson1">@berickson1</a></li>
</ul>
<h2>v7.0.2</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1085">Make content hash consistent across machines</a> - thanks <a href="https://github.com/elyalvarado">@elyalvarado</a></li>
</ul>
<h2>v7.0.1</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1083">fix: watch-run</a> - thanks <a href="https://github.com/zn4rk">@zn4rk</a></li>
</ul>
<h2>v7.0.0</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/pull/1076">Project reference support enhancements</a> - thanks <a href="https://github.com/sheetalkamat">@sheetalkamat</a>!</li>
<li>Following the end of life of Node 8, <code>ts-loader</code> no longer supports Node 8 <strong>BREAKING CHANGE</strong></li>
</ul>
<h2>v6.2.2</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1072">Enable typescript 3.8.3 support when using <code>webpack.config.ts</code> files</a> - thanks <a href="https://github.com/vladimiry">@vladimiry</a>!</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/d187a7cb6a7f5695f1394858a9fec9e239f60486"><code>d187a7c</code></a> Apply other loaders when updating files in watch mode (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1115">#1115</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/1b84fed767c0fbb41f3da8c8700fc21d69fda3d3"><code>1b84fed</code></a> Ensure a separate webpack instance is created for different loader options (#...</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/227d99a2e65e235285da5966ee5a820b1bb37149"><code>227d99a</code></a> Ensure that JSON files are included in build module resolution (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/905">#905</a>) (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1101">#1101</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/bbc6d8161b758893f6825ccc6bb088272ba210d2"><code>bbc6d81</code></a> Make content hash consistent across machines (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1085">#1085</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/cc312879cdd252e27eb7bfc1073f5d2efc623efb"><code>cc31287</code></a> fix: watch-run (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1083">#1083</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/1908a470a6e2a2efc0b6c44b24a8793765830aa2"><code>1908a47</code></a> Project reference support enhancements (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1076">#1076</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/d0c4b4131ba9887a22eb90d0e7809b4ad7421fd4"><code>d0c4b41</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1084">#1084</a> from TypeStrong/comparisonTestsChange</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/7fdb8f88918b3620ad5be1f4d570092f3ff7bf7a"><code>7fdb8f8</code></a> Have distinct transpile and normal webpack output</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/a43736e4cfb9c38dc60ade7b9b38b8d6e9c915a4"><code>a43736e</code></a> Release a new version to resolve webpack.config.ts issues (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1073">#1073</a>)</li>
<li><a href="https://github.com/TypeStrong/ts-loader/commit/87340f49e2ebfd5158c26dbcfef1b2beb177f7c3"><code>87340f4</code></a> Upgrade to TypeScript 3.8 (<a href="https://github-redirect.dependabot.com/TypeStrong/ts-loader/issues/1059">#1059</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/TypeStrong/ts-loader/compare/v6.2.1...v7.0.5">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ts-loader&package-manager=npm_and_yarn&previous-version=6.2.1&new-version=7.0.5)](https://dependabot.com/compatibility-score/?dependency-name=ts-loader&package-manager=npm_and_yarn&previous-version=6.2.1&new-version=7.0.5)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

k8s-ci-robot: Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: **Please follow instructions at <https://git.k8s.io/community/CLA.md#the-contributor-license-agreement> to sign the CLA.**

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify.  Thanks.

---

- If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address.  Check your existing CLA data and verify that your [email is set on your git commits](https://help.github.com/articles/setting-your-email-in-git/).
- If you signed the CLA as a corporation, please sign in with your organization's credentials at <https://identity.linuxfoundation.org/projects/cncf> to be authorized.
- If you have done the above and are still having issues with the CLA being reported as unsigned, please log a ticket with the Linux Foundation Helpdesk: <https://support.linuxfoundation.org/>
- Should you encounter any issues with the Linux Foundation Helpdesk, send a message to the backup e-mail support address at: login-issues@jira.linuxfoundation.org

<!-- need_sender_cla -->

<details>

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
</details>
	
k8s-ci-robot: [APPROVALNOTIFIER] This PR is **NOT APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes/dashboard/pull/5178#" title="Author self-approved">dependabot-preview[bot]</a>*
To complete the [pull request process](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process), please assign **olekzabl**
You can assign the PR to them by writing `/assign @olekzabl` in a comment when ready.

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes%2Fdashboard).

<details open>
Needs approval from an approver in each of these files:

- **[OWNERS](https://github.com/kubernetes/dashboard/blob/master/OWNERS)**

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":["olekzabl"]} -->
codecov[bot]: # [Codecov](https://codecov.io/gh/kubernetes/dashboard/pull/5178?src=pr&el=h1) Report
> Merging [#5178](https://codecov.io/gh/kubernetes/dashboard/pull/5178?src=pr&el=desc) into [master](https://codecov.io/gh/kubernetes/dashboard/commit/af04fb689ddc160c89fb11ecfa63952674f44df3&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/kubernetes/dashboard/pull/5178/graphs/tree.svg?width=650&height=150&src=pr&token=Wj7jysJ9A5)](https://codecov.io/gh/kubernetes/dashboard/pull/5178?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master    #5178   +/-   ##
=======================================
  Coverage   45.47%   45.47%           
=======================================
  Files         214      214           
  Lines       10094    10094           
  Branches      107      107           
=======================================
  Hits         4590     4590           
  Misses       5238     5238           
  Partials      266      266           
```



------

[Continue to review full report at Codecov](https://codecov.io/gh/kubernetes/dashboard/pull/5178?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/kubernetes/dashboard/pull/5178?src=pr&el=footer). Last update [70af88c...4d38d42](https://codecov.io/gh/kubernetes/dashboard/pull/5178?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


Patch:
diff --git a/i18n/zh-Hans/messages.zh-Hans.xlf b/i18n/zh-Hans/messages.zh-Hans.xlf
index 42ab9e2b0..b75198180 100644
--- a/i18n/zh-Hans/messages.zh-Hans.xlf
+++ b/i18n/zh-Hans/messages.zh-Hans.xlf
@@ -1678,7 +1678,7 @@
       </trans-unit>
       <trans-unit id="a3e6ad731f3d27e2fd80064adf380f461ea0251b" datatype="html">
         <source>No resources found in the selected namespace.</source>
-        <target state="new">No resources found in the selected namespace.</target>
+        <target>在所选的 namespace 中找不到资源。</target>
         <context-group purpose="location">
           <context context-type="sourcefile">../src/app/frontend/common/components/resourcelist/crdobject/template.html</context>
           <context context-type="linenumber">90</context>
@@ -2955,11 +2955,11 @@
               here
             <x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a>"/>.
           </source>
-        <target state="new">
-            Insecure access detected. Sign in will not be available. Access Dashboard securely over HTTPS or using localhost. Read more
+        <target>
+            检测到不安全的访问。无法登陆。通过 HTTPS 或使用 localhost 安全访问 Dashboard 。更多信息
             <x id="START_LINK" ctype="x-a" equiv-text="&lt;a>"/>
-              here
-            <x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a>"/>.
+              在这里
+            <x id="CLOSE_LINK" ctype="x-a" equiv-text="&lt;/a>"/>阅读。
           </target>
         <context-group purpose="location">
           <context context-type="sourcefile">../src/app/frontend/login/template.html</context>
@@ -4252,7 +4252,7 @@
       </trans-unit>
       <trans-unit id="72f275d9b31bf0e6dc122c1a9b58b4986800eb7a" datatype="html">
         <source>Auto-refresh (every <x id="INTERPOLATION" equiv-text="{{refreshInterval}}"/> s.)</source>
-        <target state="new">Auto-refresh (every <x id="INTERPOLATION" equiv-text="{{refreshInterval}}"/> s.)</target>
+        <target>自动刷新 (每 <x id="INTERPOLATION" equiv-text="{{refreshInterval}}"/> 秒)</target>
         <context-group purpose="location">
           <context context-type="sourcefile">../src/app/frontend/logs/template.html</context>
           <context context-type="linenumber">141</context>
diff --git a/package-lock.json b/package-lock.json
index c16d22feb..d40ac1618 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3003,9 +3003,9 @@
       "dev": true
     },
     "@types/lodash": {
-      "version": "4.14.149",
-      "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz",
-      "integrity": "sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ==",
+      "version": "4.14.153",
+      "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.153.tgz",
+      "integrity": "sha512-lYniGRiRfZf2gGAR9cfRC3Pi5+Q1ziJCKqPmjZocigrSJUVPWf7st1BtSJ8JOeK0FLXVndQ1IjUjTco9CXGo/Q==",
       "dev": true
     },
     "@types/minimatch": {
@@ -7137,9 +7137,9 @@
       "dev": true
     },
     "codelyzer": {
-      "version": "5.2.1",
-      "resolved": "https://registry.npmjs.org/codelyzer/-/codelyzer-5.2.1.tgz",
-      "integrity": "sha512-awBZXFcJUyC5HMYXiHzjr3D24tww2l1D1OqtfA9vUhEtYr32a65A+Gblm/OvsO+HuKLYzn8EDMw1inSM3VbxWA==",
+      "version": "5.2.2",
+      "resolved": "https://registry.npmjs.org/codelyzer/-/codelyzer-5.2.2.tgz",
+      "integrity": "sha512-jB4FZ1Sx7kZhvZVdf+N2BaKTdrrNZOL0Bj10RRfrhHrb3zEvXjJvvq298JPMJAiyiCS/v4zs1QlGU0ip7xGqeA==",
       "dev": true,
       "requires": {
         "app-root-path": "^2.2.1",
@@ -7347,9 +7347,9 @@
       }
     },
     "concurrently": {
-      "version": "5.1.0",
-      "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-5.1.0.tgz",
-      "integrity": "sha512-9ViZMu3OOCID3rBgU31mjBftro2chOop0G2u1olq1OuwRBVRw/GxHTg80TVJBUTJfoswMmEUeuOg1g1yu1X2dA==",
+      "version": "5.2.0",
+      "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-5.2.0.tgz",
+      "integrity": "sha512-XxcDbQ4/43d6CxR7+iV8IZXhur4KbmEJk1CetVMUqCy34z9l0DkszbY+/9wvmSnToTej0SYomc2WSRH+L0zVJw==",
       "dev": true,
       "requires": {
         "chalk": "^2.4.2",
@@ -8263,9 +8263,9 @@
       "dev": true
     },
     "cypress": {
-      "version": "4.6.0",
-      "resolved": "https://registry.npmjs.org/cypress/-/cypress-4.6.0.tgz",
-      "integrity": "sha512-vIPXAceRP+Nxvnm/O9ruY9EQaRGmVVybtk9F1sfC9mH3067YbitrdBTynaaLuHFj90p9e0U2ZCV7OkX4x4V/Wg==",
+      "version": "4.7.0",
+      "resolved": "https://registry.npmjs.org/cypress/-/cypress-4.7.0.tgz",
+      "integrity": "sha512-Vav6wUFhPRlImIND/2lOQlUnAWzgCC/iXyJlJjX9nJOJul5LC1vUpf/m8Oiae870PFPyT0ZLLwPHKTXZNdXmHw==",
       "dev": true,
       "requires": {
         "@cypress/listr-verbose-renderer": "0.4.1",
@@ -8384,9 +8384,9 @@
       }
     },
     "d3": {
-      "version": "5.15.0",
-      "resolved": "https://registry.npmjs.org/d3/-/d3-5.15.0.tgz",
-      "integrity": "sha512-C+E80SL2nLLtmykZ6klwYj5rPqB5nlfN5LdWEAVdWPppqTD8taoJi2PxLZjPeYT8FFRR2yucXq+kBlOnnvZeLg==",
+      "version": "5.16.0",
+      "resolved": "https://registry.npmjs.org/d3/-/d3-5.16.0.tgz",
+      "integrity": "sha512-4PL5hHaHwX4m7Zr1UapXW23apo6pexCgdetdJ5kTmADpG/7T9Gkxw0M0tf/pjoB63ezCCm0u5UaFYy2aMt0Mcw==",
       "requires": {
         "d3-array": "1",
         "d3-axis": "1",
@@ -8558,9 +8558,9 @@
       "integrity": "sha512-TWks25e7t8/cqctxCmxpUuzZN11QxIA7YrMbram94zMQ0PXjE4LVIMe/f6a4+xxL8HQ3OsAFULOINQi1pE62Aw=="
     },
     "d3-geo": {
-      "version": "1.12.0",
-      "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.0.tgz",
-      "integrity": "sha512-NalZVW+6/SpbKcnl+BCO67m8gX+nGeJdo6oGL9H6BRUGUL1e+AtPcP4vE4TwCQ/gl8y5KE7QvBzrLn+HsKIl+w==",
+      "version": "1.12.1",
+      "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.1.tgz",
+      "integrity": "sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==",
       "requires": {
         "d3-array": "1"
       },
@@ -8703,9 +8703,9 @@
       }
     },
     "date-fns": {
-      "version": "2.13.0",
-      "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.13.0.tgz",
-      "integrity": "sha512-xm0c61mevGF7f0XpCGtDTGpzEFC/1fpLXHbmFpxZZQJuvByIK2ozm6cSYuU+nxFYOPh2EuCfzUwlTEFwKG+h5w==",
+      "version": "2.14.0",
+      "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.14.0.tgz",
+      "integrity": "sha512-1zD+68jhFgDIM0rF05rcwYO8cExdNqxjq4xP1QKM60Q45mnO6zaMWB4tOzrIr4M4GSLntsKeE4c9Bdl2jhL/yw==",
       "dev": true
     },
     "date-format": {
@@ -12379,14 +12379,14 @@
       }
     },
     "husky": {
-      "version": "4.2.3",
-      "resolved": "https://registry.npmjs.org/husky/-/husky-4.2.3.tgz",
-      "integrity": "sha512-VxTsSTRwYveKXN4SaH1/FefRJYCtx+wx04sSVcOpD7N2zjoHxa+cEJ07Qg5NmV3HAK+IRKOyNVpi2YBIVccIfQ==",
+      "version": "4.2.5",
+      "resolved": "https://registry.npmjs.org/husky/-/husky-4.2.5.tgz",
+      "integrity": "sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ==",
       "dev": true,
       "requires": {
-        "chalk": "^3.0.0",
+        "chalk": "^4.0.0",
         "ci-info": "^2.0.0",
-        "compare-versions": "^3.5.1",
+        "compare-versions": "^3.6.0",
         "cosmiconfig": "^6.0.0",
         "find-versions": "^3.2.0",
         "opencollective-postinstall": "^2.0.2",
@@ -12407,9 +12407,9 @@
           }
         },
         "chalk": {
-          "version": "3.0.0",
-          "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
-          "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+          "version": "4.0.0",
+          "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz",
+          "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==",
           "dev": true,
           "requires": {
             "ansi-styles": "^4.1.0",
@@ -13918,9 +13918,9 @@
       }
     },
     "karma-jasmine": {
-      "version": "3.1.1",
-      "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-3.1.1.tgz",
-      "integrity": "sha512-pxBmv5K7IkBRLsFSTOpgiK/HzicQT3mfFF+oHAC7nxMfYKhaYFgxOa5qjnHW4sL5rUnmdkSajoudOnnOdPyW4Q==",
+      "version": "3.2.0",
+      "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-3.2.0.tgz",
+      "integrity": "sha512-NkMgcMVKZJ2LtxWXXWD+d6OSFf8ehjxhfgpjdx9DgjwpLDpirm66kEc7+S0i4HcTJzgNhyTWutDzzfnbvKJpNg==",
       "dev": true,
       "requires": {
         "jasmine-core": "^3.5.0"
@@ -22512,9 +22512,9 @@
       "integrity": "sha1-hiGabDV12bch04aRvwjISqWtqkI="
     },
     "ts-loader": {
-      "version": "6.2.1",
-      "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-6.2.1.tgz",
-      "integrity": "sha512-Dd9FekWuABGgjE1g0TlQJ+4dFUfYGbYcs52/HQObE0ZmUNjQlmLAS7xXsSzy23AMaMwipsx5sNHvoEpT2CZq1g==",
+      "version": "7.0.5",
+      "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-7.0.5.tgz",
+      "integrity": "sha512-zXypEIT6k3oTc+OZNx/cqElrsbBtYqDknf48OZos0NQ3RTt045fBIU8RRSu+suObBzYB355aIPGOe/3kj9h7Ig==",
       "dev": true,
       "requires": {
         "chalk": "^2.3.0",
diff --git a/package.json b/package.json
index 76e1cb87e..5436e5dd1 100644
--- a/package.json
+++ b/package.json
@@ -119,7 +119,7 @@
     "ansi-to-html": "0.6.14",
     "c3": "0.7.15",
     "core-js": "3.6.4",
-    "d3": "5.15.0",
+    "d3": "5.16.0",
     "file-saver": "2.0.2",
     "highlight.js": "10.0.3",
     "js-yaml": "3.13.1",
@@ -148,20 +148,20 @@
     "@types/jasmine": "3.5.10",
     "@types/jasminewd2": "2.0.8",
     "@types/js-yaml": "3.12.2",
-    "@types/lodash": "4.14.149",
+    "@types/lodash": "4.14.153",
     "@types/node": "14.0.5",
     "babel-cli": "6.26.0",
     "babel-preset-env": "1.7.0",
     "babel-register": "6.26.0",
-    "codelyzer": "5.2.1",
-    "concurrently": "5.1.0",
-    "cypress": "4.6.0",
+    "codelyzer": "5.2.2",
+    "concurrently": "5.2.0",
+    "cypress": "4.7.0",
     "del": "5.1.0",
     "git-describe": "4.0.4",
     "gts": "1.1.2",
     "gulp": "4.0.2",
     "gulp-filter": "6.0.0",
-    "husky": "4.2.3",
+    "husky": "4.2.5",
     "jasmine-core": "3.5.0",
     "jasmine-spec-reporter": "4.2.1",
     "js-beautify": "1.10.3",
@@ -170,7 +170,7 @@
     "karma-cli": "2.0.0",
     "karma-coverage-istanbul-reporter": "3.0.2",
     "karma-firefox-launcher": "1.3.0",
-    "karma-jasmine": "3.1.1",
+    "karma-jasmine": "3.2.0",
     "karma-jasmine-html-reporter": "1.5.2",
     "license-check-and-add": "3.0.4",
     "lint-staged": "10.2.4",
@@ -191,7 +191,7 @@
     "source-map-explorer": "2.4.2",
     "tar": "6.0.2",
     "through2": "3.0.1",
-    "ts-loader": "6.2.1",
+    "ts-loader": "7.0.5",
     "ts-node": "8.10.1",
     "tslint": "5.20.1",
     "typescript": "3.8.3",
diff --git a/src/app/backend/client/api/common.go b/src/app/backend/client/api/common.go
index 83e72cebd..cb34a7dfa 100644
--- a/src/app/backend/client/api/common.go
+++ b/src/app/backend/client/api/common.go
@@ -16,19 +16,23 @@ package api
 
 import (
 	"crypto/rand"
+	"fmt"
+	"strings"
 
 	v1 "k8s.io/api/authorization/v1"
 )
 
 // ToSelfSubjectAccessReview creates kubernetes API object based on provided data.
-func ToSelfSubjectAccessReview(namespace, name, resource, verb string) *v1.SelfSubjectAccessReview {
+func ToSelfSubjectAccessReview(namespace, name, resourceKind, verb string) *v1.SelfSubjectAccessReview {
 	return &v1.SelfSubjectAccessReview{
 		Spec: v1.SelfSubjectAccessReviewSpec{
 			ResourceAttributes: &v1.ResourceAttributes{
 				Namespace: namespace,
 				Name:      name,
-				Resource:  resource,
-				Verb:      verb,
+				// Resource kind name must be in a plural lower-case format,
+				Resource: fmt.Sprintf("%ss", strings.ToLower(resourceKind)),
+				// Let's enforce the same lower-case format for verbs
+				Verb: strings.ToLower(verb),
 			},
 		},
 	}


Test patch:
diff --git a/src/app/backend/client/api/common_test.go b/src/app/backend/client/api/common_test.go
index e3c653de5..2cb7f5724 100644
--- a/src/app/backend/client/api/common_test.go
+++ b/src/app/backend/client/api/common_test.go
@@ -18,8 +18,9 @@ import (
 	"reflect"
 	"testing"
 
-	"github.com/kubernetes/dashboard/src/app/backend/client/api"
 	v1 "k8s.io/api/authorization/v1"
+
+	"github.com/kubernetes/dashboard/src/app/backend/client/api"
 )
 
 func TestToSelfSubjectAccessReview(t *testing.T) {
@@ -32,8 +33,8 @@ func TestToSelfSubjectAccessReview(t *testing.T) {
 			ResourceAttributes: &v1.ResourceAttributes{
 				Namespace: ns,
 				Name:      name,
-				Resource:  resourceName,
-				Verb:      verb,
+				Resource:  "deployments",
+				Verb:      "get",
 			},
 		},
 	}