Build(deps-dev): Bump eslint-plugin-unicorn from 28.0.2 to 29.0.0 (#10578)

* Build(deps-dev): Bump eslint-plugin-unicorn from 28.0.2 to 29.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 28.0.2 to 29.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v28.0.2...v29.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Apply fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
dependabot[bot]andfisker Cheung authored and GitHub committed 2021-03-22 17:11:35 +02:00
1 parent 7cc52da144
commit ae1d29c1ce
4 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@
"eslint-plugin-jest": "24.3.2",
"eslint-plugin-prettier-internal-rules": "link:scripts/tools/eslint-plugin-prettier-internal-rules",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-unicorn": "28.0.2",
"eslint-plugin-unicorn": "29.0.0",
"execa": "5.0.0",
"jest": "26.6.3",
"jest-snapshot-serializer-ansi": "1.0.0",
+1 -1
View File
@@ -22,7 +22,7 @@ const cliDescriptor = {
class FlagSchema extends vnopts.ChoiceSchema {
constructor({ name, flags }) {
super({ name, choices: flags });
this._flags = flags.slice().sort();
this._flags = [...flags].sort();
}
preprocess(value, utils) {
if (
+1 -1
View File
@@ -122,7 +122,7 @@ class CodeMirrorPanel extends React.Component {
}
function getIndexPosition(text, indexes) {
indexes = indexes.slice();
indexes = [...indexes];
let line = 0;
let count = 0;
let lineStart = 0;
+10 -10
View File
@@ -2319,7 +2319,7 @@ chrome-trace-event@^1.0.2:
dependencies:
tslib "^1.9.0"
ci-info@3.1.1:
ci-info@3.1.1, ci-info@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.1.1.tgz#9a32fcefdf7bcdb6f0a7e1c0f8098ec57897b80a"
integrity sha512-kdRWLBIJwdsYJWYJFtAFFYxybguqeF91qpZaggjG5Nf8QKdizFG2hjqvaTXbxFIcYbSaD74KpAXv6BSm17DHEQ==
@@ -3057,21 +3057,21 @@ eslint-plugin-react@7.22.0:
resolve "^1.18.1"
string.prototype.matchall "^4.0.2"
eslint-plugin-unicorn@28.0.2:
version "28.0.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-28.0.2.tgz#ab9884ebae04590ecd9c1c294330d889a74b7c37"
integrity sha512-k4AoFP7n8/oq6lBXkdc9Flid6vw2B8j7aXFCxgzJCyKvmaKrCUFb1TFPhG9eSJQFZowqmymMPRtl8oo9NKLUbw==
eslint-plugin-unicorn@29.0.0:
version "29.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-29.0.0.tgz#7c97cdb5afe932e9f8dc34108e4a5a2a2fbb1906"
integrity sha512-R9jGLKb2p6LuOixviByGlH2mkfY72EBELXAPeUufveebN0M2Woa7B7dUO3gN2xPn/+eGjrIm4I2u7dDtr9G4iA==
dependencies:
ci-info "^2.0.0"
ci-info "^3.1.1"
clean-regexp "^1.0.0"
eslint-template-visitor "^2.2.2"
eslint-template-visitor "^2.3.2"
eslint-utils "^2.1.0"
eslint-visitor-keys "^2.0.0"
import-modules "^2.1.0"
lodash "^4.17.20"
pluralize "^8.0.0"
read-pkg-up "^7.0.1"
regexp-tree "^0.1.22"
regexp-tree "^0.1.23"
reserved-words "^0.1.2"
safe-regex "^2.1.1"
semver "^7.3.4"
@@ -3092,7 +3092,7 @@ eslint-scope@^5.0.0, eslint-scope@^5.1.1:
esrecurse "^4.3.0"
estraverse "^4.1.1"
eslint-template-visitor@^2.2.2:
eslint-template-visitor@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz#b52f96ff311e773a345d79053ccc78275bbc463d"
integrity sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==
@@ -5795,7 +5795,7 @@ regex-not@^1.0.0, regex-not@^1.0.2:
extend-shallow "^3.0.2"
safe-regex "^1.1.0"
regexp-tree@^0.1.22, regexp-tree@~0.1.1:
regexp-tree@^0.1.23, regexp-tree@~0.1.1:
version "0.1.23"
resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.23.tgz#8a8ce1cc5e971acef62213a7ecdb1f6e18a1f1b2"
integrity sha512-+7HWfb4Bvu8Rs2eQTUIpX9I/PlQkYOuTNbRpKLJlQpSgwSkzFYh+pUj0gtvglnOZLKB6YgnIgRuJ2/IlpL48qw==