diff --git a/.yarn/cache/@babel-code-frame-npm-7.12.11-1a9a1b277f-3963eff3eb.zip b/.yarn/cache/@babel-code-frame-npm-7.12.11-1a9a1b277f-3963eff3eb.zip deleted file mode 100644 index 404e74ab0b..0000000000 Binary files a/.yarn/cache/@babel-code-frame-npm-7.12.11-1a9a1b277f-3963eff3eb.zip and /dev/null differ diff --git a/.yarn/cache/@eslint-eslintrc-npm-0.4.2-f8b688e654-17f90cf079.zip b/.yarn/cache/@eslint-eslintrc-npm-0.4.2-f8b688e654-17f90cf079.zip deleted file mode 100644 index b0da787783..0000000000 Binary files a/.yarn/cache/@eslint-eslintrc-npm-0.4.2-f8b688e654-17f90cf079.zip and /dev/null differ diff --git a/.yarn/cache/@eslint-eslintrc-npm-1.0.3-58c45d1abc-a39f74d764.zip b/.yarn/cache/@eslint-eslintrc-npm-1.0.3-58c45d1abc-a39f74d764.zip new file mode 100644 index 0000000000..3a3fad4f5c Binary files /dev/null and b/.yarn/cache/@eslint-eslintrc-npm-1.0.3-58c45d1abc-a39f74d764.zip differ diff --git a/.yarn/cache/@humanwhocodes-config-array-npm-0.6.0-da5f51e2f3-1025b07514.zip b/.yarn/cache/@humanwhocodes-config-array-npm-0.6.0-da5f51e2f3-1025b07514.zip new file mode 100644 index 0000000000..873dc4ebd0 Binary files /dev/null and b/.yarn/cache/@humanwhocodes-config-array-npm-0.6.0-da5f51e2f3-1025b07514.zip differ diff --git a/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.0-6bc0ff9fda-40b7548037.zip b/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.0-6bc0ff9fda-40b7548037.zip new file mode 100644 index 0000000000..1bb2313ce7 Binary files /dev/null and b/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.0-6bc0ff9fda-40b7548037.zip differ diff --git a/.yarn/cache/acorn-npm-8.5.0-faed0ea119-2e4c1dbed3.zip b/.yarn/cache/acorn-npm-8.5.0-faed0ea119-2e4c1dbed3.zip new file mode 100644 index 0000000000..9b9db238dd Binary files /dev/null and b/.yarn/cache/acorn-npm-8.5.0-faed0ea119-2e4c1dbed3.zip differ diff --git a/.yarn/cache/argparse-npm-2.0.1-faff7999e6-83644b5649.zip b/.yarn/cache/argparse-npm-2.0.1-faff7999e6-83644b5649.zip new file mode 100644 index 0000000000..26a9ce4aca Binary files /dev/null and b/.yarn/cache/argparse-npm-2.0.1-faff7999e6-83644b5649.zip differ diff --git a/.yarn/cache/debug-npm-4.3.2-f0148b6afe-820ea160e2.zip b/.yarn/cache/debug-npm-4.3.2-f0148b6afe-820ea160e2.zip new file mode 100644 index 0000000000..57db42a849 Binary files /dev/null and b/.yarn/cache/debug-npm-4.3.2-f0148b6afe-820ea160e2.zip differ diff --git a/.yarn/cache/eslint-npm-7.29.0-aec1968387-8a18377c76.zip b/.yarn/cache/eslint-npm-7.29.0-aec1968387-8a18377c76.zip deleted file mode 100644 index 5786a9283c..0000000000 Binary files a/.yarn/cache/eslint-npm-7.29.0-aec1968387-8a18377c76.zip and /dev/null differ diff --git a/.yarn/cache/eslint-npm-8.0.1-f36c42bd40-072dde3e18.zip b/.yarn/cache/eslint-npm-8.0.1-f36c42bd40-072dde3e18.zip new file mode 100644 index 0000000000..dcf138c58d Binary files /dev/null and b/.yarn/cache/eslint-npm-8.0.1-f36c42bd40-072dde3e18.zip differ diff --git a/.yarn/cache/eslint-scope-npm-5.1.1-71fe59b18a-47e4b6a3f0.zip b/.yarn/cache/eslint-scope-npm-5.1.1-71fe59b18a-47e4b6a3f0.zip deleted file mode 100644 index cf013ed64f..0000000000 Binary files a/.yarn/cache/eslint-scope-npm-5.1.1-71fe59b18a-47e4b6a3f0.zip and /dev/null differ diff --git a/.yarn/cache/eslint-scope-npm-6.0.0-0abb812d77-3f1b3578f2.zip b/.yarn/cache/eslint-scope-npm-6.0.0-0abb812d77-3f1b3578f2.zip new file mode 100644 index 0000000000..f874228013 Binary files /dev/null and b/.yarn/cache/eslint-scope-npm-6.0.0-0abb812d77-3f1b3578f2.zip differ diff --git a/.yarn/cache/eslint-utils-npm-2.1.0-a3a7ebf4fa-27500938f3.zip b/.yarn/cache/eslint-utils-npm-2.1.0-a3a7ebf4fa-27500938f3.zip deleted file mode 100644 index 1dadeb5d09..0000000000 Binary files a/.yarn/cache/eslint-utils-npm-2.1.0-a3a7ebf4fa-27500938f3.zip and /dev/null differ diff --git a/.yarn/cache/eslint-utils-npm-3.0.0-630b3a4013-0668fe02f5.zip b/.yarn/cache/eslint-utils-npm-3.0.0-630b3a4013-0668fe02f5.zip new file mode 100644 index 0000000000..1ece43c644 Binary files /dev/null and b/.yarn/cache/eslint-utils-npm-3.0.0-630b3a4013-0668fe02f5.zip differ diff --git a/.yarn/cache/eslint-visitor-keys-npm-3.0.0-4f581d5c84-352607f367.zip b/.yarn/cache/eslint-visitor-keys-npm-3.0.0-4f581d5c84-352607f367.zip new file mode 100644 index 0000000000..09c7ab39d2 Binary files /dev/null and b/.yarn/cache/eslint-visitor-keys-npm-3.0.0-4f581d5c84-352607f367.zip differ diff --git a/.yarn/cache/espree-npm-7.3.1-8d8ea5d1e3-aa9b50dcce.zip b/.yarn/cache/espree-npm-7.3.1-8d8ea5d1e3-aa9b50dcce.zip deleted file mode 100644 index be256f0259..0000000000 Binary files a/.yarn/cache/espree-npm-7.3.1-8d8ea5d1e3-aa9b50dcce.zip and /dev/null differ diff --git a/.yarn/cache/espree-npm-9.0.0-77ec52a2b9-f313c642e3.zip b/.yarn/cache/espree-npm-9.0.0-77ec52a2b9-f313c642e3.zip new file mode 100644 index 0000000000..27ad6bce94 Binary files /dev/null and b/.yarn/cache/espree-npm-9.0.0-77ec52a2b9-f313c642e3.zip differ diff --git a/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c7830dfd45.zip b/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c7830dfd45.zip new file mode 100644 index 0000000000..659c85d097 Binary files /dev/null and b/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c7830dfd45.zip differ diff --git a/package.json b/package.json index ea44821993..f97d712608 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "chalk": "^4.1.0", "chromatic": "6.0.4", "enquirer": "^2.3.6", - "eslint": "^7.10.0", + "eslint": "8.0.1", "eslint-config-airbnb": "^18.2.0", "eslint-config-prettier": "^8.0.0", "eslint-plugin-es5": "^1.5.0", diff --git a/yarn.lock b/yarn.lock index 70d94fe570..860aeeca3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -41,15 +41,6 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:7.12.11": - version: 7.12.11 - resolution: "@babel/code-frame@npm:7.12.11" - dependencies: - "@babel/highlight": ^7.10.4 - checksum: 3963eff3ebfb0e091c7e6f99596ef4b258683e4ba8a134e4e95f77afe85be5c931e184fff6435fb4885d12eba04a5e25532f7fbc292ca13b48e7da943474e2f3 - languageName: node - linkType: hard - "@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.14.5, @babel/code-frame@npm:^7.5.5, @babel/code-frame@npm:^7.8.3": version: 7.14.5 resolution: "@babel/code-frame@npm:7.14.5" @@ -2248,7 +2239,7 @@ __metadata: chalk: ^4.1.0 chromatic: 6.0.4 enquirer: ^2.3.6 - eslint: ^7.10.0 + eslint: 8.0.1 eslint-config-airbnb: ^18.2.0 eslint-config-prettier: ^8.0.0 eslint-plugin-es5: ^1.5.0 @@ -2613,20 +2604,38 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^0.4.2": - version: 0.4.2 - resolution: "@eslint/eslintrc@npm:0.4.2" +"@eslint/eslintrc@npm:^1.0.3": + version: 1.0.3 + resolution: "@eslint/eslintrc@npm:1.0.3" dependencies: ajv: ^6.12.4 - debug: ^4.1.1 - espree: ^7.3.0 + debug: ^4.3.2 + espree: ^9.0.0 globals: ^13.9.0 ignore: ^4.0.6 import-fresh: ^3.2.1 js-yaml: ^3.13.1 minimatch: ^3.0.4 strip-json-comments: ^3.1.1 - checksum: 17f90cf07988dd2a5e4f510687c81334141977b8e0fa1b63ef0318b0578466e368fc988c101ddc7df55b6124dff8ecd1be67292c27901265761758ad22608e12 + checksum: a39f74d764b1b8ba8b05e942ab8dc3684648468180ce453e0ce5669af3d95b9dc18577ff55cc3b58cfed5a5f1bf6182191a740da07572606268eeb2b6fd0402d + languageName: node + linkType: hard + +"@humanwhocodes/config-array@npm:^0.6.0": + version: 0.6.0 + resolution: "@humanwhocodes/config-array@npm:0.6.0" + dependencies: + "@humanwhocodes/object-schema": ^1.2.0 + debug: ^4.1.1 + minimatch: ^3.0.4 + checksum: 1025b07514b7bfd10a05e8b6cb5e6520878e9c8836b3dd0569fc07df29a09e428c2df1e0760b1d461da8ed6f81ca83ecb02e24198f80b0a177a2acbf532e267c + languageName: node + linkType: hard + +"@humanwhocodes/object-schema@npm:^1.2.0": + version: 1.2.0 + resolution: "@humanwhocodes/object-schema@npm:1.2.0" + checksum: 40b75480376de8104d65f7c44a7dd76d30fb57823ca8ba3a3239b2b568323be894d93440578a72fd8e5e2cc3df3577ce0d2f0fe308b990dd51cf35392bf3c9a2 languageName: node linkType: hard @@ -5320,7 +5329,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^7.1.1, acorn@npm:^7.4.0, acorn@npm:^7.4.1": +"acorn@npm:^7.1.1, acorn@npm:^7.4.1": version: 7.4.1 resolution: "acorn@npm:7.4.1" bin: @@ -5338,6 +5347,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.5.0": + version: 8.5.0 + resolution: "acorn@npm:8.5.0" + bin: + acorn: bin/acorn + checksum: 2e4c1dbed3da327684863debf31d341bf8882c6893c506653872c00977eee45675feb9129255d6c74c88424d2b20d889ca6de5b39776e5e3cccfc756b3ca1da8 + languageName: node + linkType: hard + "address@npm:1.1.2, address@npm:^1.0.1": version: 1.1.2 resolution: "address@npm:1.1.2" @@ -5600,6 +5618,13 @@ __metadata: languageName: node linkType: hard +"argparse@npm:^2.0.1": + version: 2.0.1 + resolution: "argparse@npm:2.0.1" + checksum: 83644b56493e89a254bae05702abf3a1101b4fa4d0ca31df1c9985275a5a5bd47b3c27b7fa0b71098d41114d8ca000e6ed90cad764b306f8a503665e4d517ced + languageName: node + linkType: hard + "aria-query@npm:^4.2.2": version: 4.2.2 resolution: "aria-query@npm:4.2.2" @@ -7670,7 +7695,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1": version: 4.3.1 resolution: "debug@npm:4.3.1" dependencies: @@ -7691,6 +7716,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:^4.3.2": + version: 4.3.2 + resolution: "debug@npm:4.3.2" + dependencies: + ms: 2.1.2 + peerDependenciesMeta: + supports-color: + optional: true + checksum: 820ea160e267e23c953c9ed87e7ad93494d8cda2f7349af5e7e3bb236d23707ee3022f477d5a7d2ee86ef2bf7d60aa9ab22d1f58080d7deb9dccd073585e1e43 + languageName: node + linkType: hard + "decamelize-keys@npm:^1.1.0": version: 1.1.0 resolution: "decamelize-keys@npm:1.1.0" @@ -8702,26 +8739,28 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^5.1.1": - version: 5.1.1 - resolution: "eslint-scope@npm:5.1.1" +"eslint-scope@npm:^6.0.0": + version: 6.0.0 + resolution: "eslint-scope@npm:6.0.0" dependencies: esrecurse: ^4.3.0 - estraverse: ^4.1.1 - checksum: 47e4b6a3f0cc29c7feedee6c67b225a2da7e155802c6ea13bbef4ac6b9e10c66cd2dcb987867ef176292bf4e64eccc680a49e35e9e9c669f4a02bac17e86abdb + estraverse: ^5.2.0 + checksum: 3f1b3578f288c3820f68ad2aae102300e546be8a98a958f515405dc20cc2fe64fda583d364977628bb14fe3d4f96f37de5e9bc5d6eb26bc310da33ba2a677dc3 languageName: node linkType: hard -"eslint-utils@npm:^2.1.0": - version: 2.1.0 - resolution: "eslint-utils@npm:2.1.0" +"eslint-utils@npm:^3.0.0": + version: 3.0.0 + resolution: "eslint-utils@npm:3.0.0" dependencies: - eslint-visitor-keys: ^1.1.0 - checksum: 27500938f348da42100d9e6ad03ae29b3de19ba757ae1a7f4a087bdcf83ac60949bbb54286492ca61fac1f5f3ac8692dd21537ce6214240bf95ad0122f24d71d + eslint-visitor-keys: ^2.0.0 + peerDependencies: + eslint: ">=5" + checksum: 0668fe02f5adab2e5a367eee5089f4c39033af20499df88fe4e6aba2015c20720404d8c3d6349b6f716b08fdf91b9da4e5d5481f265049278099c4c836ccb619 languageName: node linkType: hard -"eslint-visitor-keys@npm:^1.0.0, eslint-visitor-keys@npm:^1.1.0, eslint-visitor-keys@npm:^1.3.0": +"eslint-visitor-keys@npm:^1.0.0": version: 1.3.0 resolution: "eslint-visitor-keys@npm:1.3.0" checksum: 37a19b712f42f4c9027e8ba98c2b06031c17e0c0a4c696cd429bd9ee04eb43889c446f2cd545e1ff51bef9593fcec94ecd2c2ef89129fcbbf3adadbef520376a @@ -8735,35 +8774,42 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^7.10.0": - version: 7.29.0 - resolution: "eslint@npm:7.29.0" +"eslint-visitor-keys@npm:^3.0.0": + version: 3.0.0 + resolution: "eslint-visitor-keys@npm:3.0.0" + checksum: 352607f367a2e0e2f9f234e40d6d9b34c39399345b8a9f204e1343749ddfae505d8343909cba6c4abc2ca03add4cdc0530af5e98f870ad7183fc2a89458669e5 + languageName: node + linkType: hard + +"eslint@npm:8.0.1": + version: 8.0.1 + resolution: "eslint@npm:8.0.1" dependencies: - "@babel/code-frame": 7.12.11 - "@eslint/eslintrc": ^0.4.2 + "@eslint/eslintrc": ^1.0.3 + "@humanwhocodes/config-array": ^0.6.0 ajv: ^6.10.0 chalk: ^4.0.0 cross-spawn: ^7.0.2 - debug: ^4.0.1 + debug: ^4.3.2 doctrine: ^3.0.0 enquirer: ^2.3.5 escape-string-regexp: ^4.0.0 - eslint-scope: ^5.1.1 - eslint-utils: ^2.1.0 - eslint-visitor-keys: ^2.0.0 - espree: ^7.3.1 + eslint-scope: ^6.0.0 + eslint-utils: ^3.0.0 + eslint-visitor-keys: ^3.0.0 + espree: ^9.0.0 esquery: ^1.4.0 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 file-entry-cache: ^6.0.1 functional-red-black-tree: ^1.0.1 - glob-parent: ^5.1.2 + glob-parent: ^6.0.1 globals: ^13.6.0 ignore: ^4.0.6 import-fresh: ^3.0.0 imurmurhash: ^0.1.4 is-glob: ^4.0.0 - js-yaml: ^3.13.1 + js-yaml: ^4.1.0 json-stable-stringify-without-jsonify: ^1.0.1 levn: ^0.4.1 lodash.merge: ^4.6.2 @@ -8771,27 +8817,26 @@ __metadata: natural-compare: ^1.4.0 optionator: ^0.9.1 progress: ^2.0.0 - regexpp: ^3.1.0 + regexpp: ^3.2.0 semver: ^7.2.1 strip-ansi: ^6.0.0 strip-json-comments: ^3.1.0 - table: ^6.0.9 text-table: ^0.2.0 v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: 8a18377c761560a29fb48b27458517f260f7854882e40cf7e2d38f0ba60ac1038f39404e0ea849abdda18699530fe055adc5bdbf1ef726ce91ac1482cac9d38c + checksum: 072dde3e188c1274fa92eaf72d233d77b9c6e87ed859dce071b49c243546959ff7aefdb4759abf09841b650ef9d9f013abaae720b0bd64e0e07700ccefaf1208 languageName: node linkType: hard -"espree@npm:^7.3.0, espree@npm:^7.3.1": - version: 7.3.1 - resolution: "espree@npm:7.3.1" +"espree@npm:^9.0.0": + version: 9.0.0 + resolution: "espree@npm:9.0.0" dependencies: - acorn: ^7.4.0 + acorn: ^8.5.0 acorn-jsx: ^5.3.1 - eslint-visitor-keys: ^1.3.0 - checksum: aa9b50dcce883449af2e23bc2b8d9abb77118f96f4cb313935d6b220f77137eaef7724a83c3f6243b96bc0e4ab14766198e60818caad99f9519ae5a336a39b45 + eslint-visitor-keys: ^3.0.0 + checksum: f313c642e35587ce62a419f57ceea47937a719b084c7b31f649d2ca15ed92bc2dde58e2ac4fc381a74364b0db0b97d9cdb2a5d1ca0ccd7483bde9b4b04fe23e8 languageName: node linkType: hard @@ -11918,6 +11963,17 @@ fsevents@^1.2.7: languageName: node linkType: hard +"js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" + dependencies: + argparse: ^2.0.1 + bin: + js-yaml: bin/js-yaml.js + checksum: c7830dfd456c3ef2c6e355cc5a92e6700ceafa1d14bba54497b34a99f0376cecbb3e9ac14d3e5849b426d5a5140709a66237a8c991c675431271c4ce5504151a + languageName: node + linkType: hard + "jsbn@npm:~0.1.0": version: 0.1.1 resolution: "jsbn@npm:0.1.1" @@ -15455,7 +15511,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"regexpp@npm:^3.1.0": +"regexpp@npm:^3.2.0": version: 3.2.0 resolution: "regexpp@npm:3.2.0" checksum: a78dc5c7158ad9ddcfe01aa9144f46e192ddbfa7b263895a70a5c6c73edd9ce85faf7c0430e59ac38839e1734e275b9c3de5c57ee3ab6edc0e0b1bdebefccef8 @@ -17072,7 +17128,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"table@npm:^6.0.9, table@npm:^6.6.0": +"table@npm:^6.6.0": version: 6.7.1 resolution: "table@npm:6.7.1" dependencies: