diff --git a/.yarn/cache/@babel-helper-validator-identifier-npm-7.24.7-748889c8d2-6799ab117c.zip b/.yarn/cache/@babel-helper-validator-identifier-npm-7.24.7-748889c8d2-6799ab117c.zip new file mode 100644 index 000000000..d63dc7cf4 Binary files /dev/null and b/.yarn/cache/@babel-helper-validator-identifier-npm-7.24.7-748889c8d2-6799ab117c.zip differ diff --git a/.yarn/cache/@rollup-rollup-linux-x64-gnu-npm-4.16.4-57015b6961-8.zip b/.yarn/cache/@rollup-rollup-linux-x64-gnu-npm-4.16.4-57015b6961-8.zip new file mode 100644 index 000000000..56dd6fc0c Binary files /dev/null and b/.yarn/cache/@rollup-rollup-linux-x64-gnu-npm-4.16.4-57015b6961-8.zip differ diff --git a/.yarn/cache/browserslist-npm-4.23.3-4e727c7b5b-7906064f99.zip b/.yarn/cache/browserslist-npm-4.23.3-4e727c7b5b-7906064f99.zip new file mode 100644 index 000000000..7d73b7a9b Binary files /dev/null and b/.yarn/cache/browserslist-npm-4.23.3-4e727c7b5b-7906064f99.zip differ diff --git a/.yarn/cache/caniuse-lite-npm-1.0.30001649-f371b9b86d-7952512a24.zip b/.yarn/cache/caniuse-lite-npm-1.0.30001649-f371b9b86d-7952512a24.zip new file mode 100644 index 000000000..e1c2f7d93 Binary files /dev/null and b/.yarn/cache/caniuse-lite-npm-1.0.30001649-f371b9b86d-7952512a24.zip differ diff --git a/.yarn/cache/ci-info-npm-4.0.0-90a0683096-122fe41c5e.zip b/.yarn/cache/ci-info-npm-4.0.0-90a0683096-122fe41c5e.zip new file mode 100644 index 000000000..381d2e43a Binary files /dev/null and b/.yarn/cache/ci-info-npm-4.0.0-90a0683096-122fe41c5e.zip differ diff --git a/.yarn/cache/core-js-compat-npm-3.38.0-cd0aa312bc-bd410be723.zip b/.yarn/cache/core-js-compat-npm-3.38.0-cd0aa312bc-bd410be723.zip new file mode 100644 index 000000000..b602c0bbc Binary files /dev/null and b/.yarn/cache/core-js-compat-npm-3.38.0-cd0aa312bc-bd410be723.zip differ diff --git a/.yarn/cache/design-system-react-https-51efcb97b6-2ef0aeb545.zip b/.yarn/cache/design-system-react-https-51efcb97b6-2ef0aeb545.zip new file mode 100644 index 000000000..289431726 Binary files /dev/null and b/.yarn/cache/design-system-react-https-51efcb97b6-2ef0aeb545.zip differ diff --git a/.yarn/cache/electron-to-chromium-npm-1.5.4-58d50ae1f7-352f13c043.zip b/.yarn/cache/electron-to-chromium-npm-1.5.4-58d50ae1f7-352f13c043.zip new file mode 100644 index 000000000..1131ba904 Binary files /dev/null and b/.yarn/cache/electron-to-chromium-npm-1.5.4-58d50ae1f7-352f13c043.zip differ diff --git a/.yarn/cache/escalade-npm-3.1.2-5826d31cf8-1ec0977aa2.zip b/.yarn/cache/escalade-npm-3.1.2-5826d31cf8-1ec0977aa2.zip new file mode 100644 index 000000000..3a466d189 Binary files /dev/null and b/.yarn/cache/escalade-npm-3.1.2-5826d31cf8-1ec0977aa2.zip differ diff --git a/.yarn/cache/eslint-plugin-unicorn-npm-47.0.0-de1401edc0-8d93bd76d5.zip b/.yarn/cache/eslint-plugin-unicorn-npm-47.0.0-de1401edc0-8d93bd76d5.zip deleted file mode 100644 index 5bee16a33..000000000 Binary files a/.yarn/cache/eslint-plugin-unicorn-npm-47.0.0-de1401edc0-8d93bd76d5.zip and /dev/null differ diff --git a/.yarn/cache/eslint-plugin-unicorn-npm-55.0.0-3a26442294-c925254406.zip b/.yarn/cache/eslint-plugin-unicorn-npm-55.0.0-3a26442294-c925254406.zip new file mode 100644 index 000000000..b7ee292e6 Binary files /dev/null and b/.yarn/cache/eslint-plugin-unicorn-npm-55.0.0-3a26442294-c925254406.zip differ diff --git a/.yarn/cache/globals-npm-15.9.0-52af85f5e6-32c4470ffc.zip b/.yarn/cache/globals-npm-15.9.0-52af85f5e6-32c4470ffc.zip new file mode 100644 index 000000000..0e0748294 Binary files /dev/null and b/.yarn/cache/globals-npm-15.9.0-52af85f5e6-32c4470ffc.zip differ diff --git a/.yarn/cache/node-releases-npm-2.0.18-51abc46668-ef55a3d853.zip b/.yarn/cache/node-releases-npm-2.0.18-51abc46668-ef55a3d853.zip new file mode 100644 index 000000000..b125493bf Binary files /dev/null and b/.yarn/cache/node-releases-npm-2.0.18-51abc46668-ef55a3d853.zip differ diff --git a/.yarn/cache/picocolors-npm-1.0.1-39442f3da8-fa68166d1f.zip b/.yarn/cache/picocolors-npm-1.0.1-39442f3da8-fa68166d1f.zip new file mode 100644 index 000000000..21041b39e Binary files /dev/null and b/.yarn/cache/picocolors-npm-1.0.1-39442f3da8-fa68166d1f.zip differ diff --git a/.yarn/cache/react-error-boundary-npm-4.0.13-22e72c3a85-50398d0800.zip b/.yarn/cache/react-error-boundary-npm-4.0.13-22e72c3a85-50398d0800.zip new file mode 100644 index 000000000..44968722f Binary files /dev/null and b/.yarn/cache/react-error-boundary-npm-4.0.13-22e72c3a85-50398d0800.zip differ diff --git a/.yarn/cache/safe-regex-npm-2.1.1-4438cded67-5d734e2193.zip b/.yarn/cache/safe-regex-npm-2.1.1-4438cded67-5d734e2193.zip deleted file mode 100644 index df5a53baa..000000000 Binary files a/.yarn/cache/safe-regex-npm-2.1.1-4438cded67-5d734e2193.zip and /dev/null differ diff --git a/.yarn/cache/semver-npm-7.6.3-57e82c14d5-4110ec5d01.zip b/.yarn/cache/semver-npm-7.6.3-57e82c14d5-4110ec5d01.zip new file mode 100644 index 000000000..44fe1071c Binary files /dev/null and b/.yarn/cache/semver-npm-7.6.3-57e82c14d5-4110ec5d01.zip differ diff --git a/.yarn/cache/update-browserslist-db-npm-1.1.0-3d2cb7d955-7b74694d96.zip b/.yarn/cache/update-browserslist-db-npm-1.1.0-3d2cb7d955-7b74694d96.zip new file mode 100644 index 000000000..302c32377 Binary files /dev/null and b/.yarn/cache/update-browserslist-db-npm-1.1.0-3d2cb7d955-7b74694d96.zip differ diff --git a/package.json b/package.json index 771e7af84..fd3149bcc 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-prefer-function-component": "3.1.0", "eslint-plugin-testing-library": "5.11.0", - "eslint-plugin-unicorn": "47.0.0", + "eslint-plugin-unicorn": "55.0.0", "husky": "8.0.3", "jsdom": "22.0.0", "lint-staged": "13.2.2", diff --git a/yarn.lock b/yarn.lock index 518e79ed1..7207e7ac3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -366,13 +366,20 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.19.1, @babel/helper-validator-identifier@npm:^7.22.20": +"@babel/helper-validator-identifier@npm:^7.22.20": version: 7.22.20 resolution: "@babel/helper-validator-identifier@npm:7.22.20" checksum: 136412784d9428266bcdd4d91c32bcf9ff0e8d25534a9d94b044f77fe76bc50f941a90319b05aafd1ec04f7d127cd57a179a3716009ff7f3412ef835ada95bdc languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.24.5": + version: 7.24.7 + resolution: "@babel/helper-validator-identifier@npm:7.24.7" + checksum: 6799ab117cefc0ecd35cd0b40ead320c621a298ecac88686a14cffceaac89d80cdb3c178f969861bf5fa5e4f766648f9161ea0752ecfe080d8e89e3147270257 + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.23.5": version: 7.23.5 resolution: "@babel/helper-validator-option@npm:7.23.5" @@ -4579,6 +4586,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.23.3": + version: 4.23.3 + resolution: "browserslist@npm:4.23.3" + dependencies: + caniuse-lite: ^1.0.30001646 + electron-to-chromium: ^1.5.4 + node-releases: ^2.0.18 + update-browserslist-db: ^1.1.0 + bin: + browserslist: cli.js + checksum: 7906064f9970aeb941310b2fcb8b4ace4a1b50aa657c986677c6f1553a8cabcc94ee9c5922f715baffbedaa0e6cf0831b6fed7b059dde6873a4bfadcbe069c7e + languageName: node + linkType: hard + "buffer-crc32@npm:~0.2.3": version: 0.2.13 resolution: "buffer-crc32@npm:0.2.13" @@ -4722,6 +4743,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001646": + version: 1.0.30001649 + resolution: "caniuse-lite@npm:1.0.30001649" + checksum: 7952512a243f22c942e0e99249def19d781ad1900db101f2d8de9d83de37db000a7dc7f226c9c99134001975e22852becf1677539c24c7ecae53467b681c400f + languageName: node + linkType: hard + "caseless@npm:~0.12.0": version: 0.12.0 resolution: "caseless@npm:0.12.0" @@ -4795,7 +4823,7 @@ __metadata: eslint-plugin-react-hooks: ^4.6.0 eslint-plugin-react-prefer-function-component: 3.1.0 eslint-plugin-testing-library: 5.11.0 - eslint-plugin-unicorn: 47.0.0 + eslint-plugin-unicorn: 55.0.0 husky: 8.0.3 immer: ^10.0.2 jsdom: 22.0.0 @@ -4997,13 +5025,20 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:^3.2.0, ci-info@npm:^3.8.0": +"ci-info@npm:^3.2.0": version: 3.9.0 resolution: "ci-info@npm:3.9.0" checksum: 6b19dc9b2966d1f8c2041a838217299718f15d6c4b63ae36e4674edd2bee48f780e94761286a56aa59eb305a85fbea4ddffb7630ec063e7ec7e7e5ad42549a87 languageName: node linkType: hard +"ci-info@npm:^4.0.0": + version: 4.0.0 + resolution: "ci-info@npm:4.0.0" + checksum: 122fe41c5eb8d0b5fa0ab6fd674c5ddcf2dc59766528b062a0144ff0d913cfb210ef925ec52110e7c2a7f4e603d5f0e8b91cfe68867e196e9212fa0b94d0a08a + languageName: node + linkType: hard + "classnames@npm:^2.3.2": version: 2.4.0 resolution: "classnames@npm:2.4.0" @@ -5291,6 +5326,15 @@ __metadata: languageName: node linkType: hard +"core-js-compat@npm:^3.37.0": + version: 3.38.0 + resolution: "core-js-compat@npm:3.38.0" + dependencies: + browserslist: ^4.23.3 + checksum: bd410be723e3621f7e8c7a4dce91eaefc603d95133da89c042dd961aca368c7281894bd9af14116a455a4473288fb6c121b185cb8a1e8290b8ace15aedb315f2 + languageName: node + linkType: hard + "core-util-is@npm:1.0.2": version: 1.0.2 resolution: "core-util-is@npm:1.0.2" @@ -5905,6 +5949,13 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard +"electron-to-chromium@npm:^1.5.4": + version: 1.5.4 + resolution: "electron-to-chromium@npm:1.5.4" + checksum: 352f13c043cb185b464efe20f9b0a1adea2b1a7dad56e41dac995d0ad060f9981e479d632ebc73a1dce3bd5c36bbceeffe0667161ce296c2488fbb95f89bc793 + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -6269,6 +6320,13 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard +"escalade@npm:^3.1.2": + version: 3.1.2 + resolution: "escalade@npm:3.1.2" + checksum: 1ec0977aa2772075493002bdbd549d595ff6e9393b1cb0d7d6fcaf78c750da0c158f180938365486f75cb69fba20294351caddfce1b46552a7b6c3cde52eaa02 + languageName: node + linkType: hard + "escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -6525,29 +6583,29 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard -"eslint-plugin-unicorn@npm:47.0.0": - version: 47.0.0 - resolution: "eslint-plugin-unicorn@npm:47.0.0" +"eslint-plugin-unicorn@npm:55.0.0": + version: 55.0.0 + resolution: "eslint-plugin-unicorn@npm:55.0.0" dependencies: - "@babel/helper-validator-identifier": ^7.19.1 + "@babel/helper-validator-identifier": ^7.24.5 "@eslint-community/eslint-utils": ^4.4.0 - ci-info: ^3.8.0 + ci-info: ^4.0.0 clean-regexp: ^1.0.0 + core-js-compat: ^3.37.0 esquery: ^1.5.0 + globals: ^15.7.0 indent-string: ^4.0.0 is-builtin-module: ^3.2.1 jsesc: ^3.0.2 - lodash: ^4.17.21 pluralize: ^8.0.0 read-pkg-up: ^7.0.1 - regexp-tree: ^0.1.24 + regexp-tree: ^0.1.27 regjsparser: ^0.10.0 - safe-regex: ^2.1.1 - semver: ^7.3.8 + semver: ^7.6.1 strip-indent: ^3.0.0 peerDependencies: - eslint: ">=8.38.0" - checksum: 8d93bd76d54fb44e134c6576e3bda72dbf4c9cb5bae90451ace6acf1c48e6d7329f1e36db1d19266a5da499afeff6bf0c647875d69adc92d546bcc2d8b765cca + eslint: ">=8.56.0" + checksum: c925254406e687c5caaf7e019c083107b9d309569c78ec8d32e5d7c539cfb6331b5f88dc647c35e26f07493c287d39970f05fa0279787ba86bfc6edd7701bd8c languageName: node linkType: hard @@ -7415,6 +7473,13 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard +"globals@npm:^15.7.0": + version: 15.9.0 + resolution: "globals@npm:15.9.0" + checksum: 32c4470ffcc26db3ddbc579ddf968b74c26462d1a268039980c2fa2e107090fd442a7a7445d953dc4ee874f68846e713066c5a8e63d146fd9349cd1fc5a6f63d + languageName: node + linkType: hard + "globalthis@npm:^1.0.3": version: 1.0.3 resolution: "globalthis@npm:1.0.3" @@ -10189,6 +10254,13 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard +"node-releases@npm:^2.0.18": + version: 2.0.18 + resolution: "node-releases@npm:2.0.18" + checksum: ef55a3d853e1269a6d6279b7692cd6ff3e40bc74947945101138745bfdc9a5edabfe72cb19a31a8e45752e1910c4c65c77d931866af6357f242b172b7283f5b3 + languageName: node + linkType: hard + "nopt@npm:^7.0.0": version: 7.2.0 resolution: "nopt@npm:7.2.0" @@ -10743,6 +10815,13 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard +"picocolors@npm:^1.0.1": + version: 1.0.1 + resolution: "picocolors@npm:1.0.1" + checksum: fa68166d1f56009fc02a34cdfd112b0dd3cf1ef57667ac57281f714065558c01828cdf4f18600ad6851cbe0093952ed0660b1e0156bddf2184b6aaf5817553a5 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -11542,7 +11621,7 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard -"regexp-tree@npm:^0.1.24, regexp-tree@npm:~0.1.1": +"regexp-tree@npm:^0.1.27": version: 0.1.27 resolution: "regexp-tree@npm:0.1.27" bin: @@ -11947,15 +12026,6 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard -"safe-regex@npm:^2.1.1": - version: 2.1.1 - resolution: "safe-regex@npm:2.1.1" - dependencies: - regexp-tree: ~0.1.1 - checksum: 5d734e2193c63ef0cb00f60c0244e0f8a30ecb31923633cd34636808d6a7c4c206d650017953ae1db8bc33967c2f06af33488dea6f038f4e38212beb7bed77b4 - languageName: node - linkType: hard - "safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" @@ -12006,7 +12076,7 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard -"semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -12017,6 +12087,15 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard +"semver@npm:^7.6.1": + version: 7.6.3 + resolution: "semver@npm:7.6.3" + bin: + semver: bin/semver.js + checksum: 4110ec5d015c9438f322257b1c51fe30276e5f766a3f64c09edd1d7ea7118ecbc3f379f3b69032bacf13116dc7abc4ad8ce0d7e2bd642e26b0d271b56b61a7d8 + languageName: node + linkType: hard + "serialize-javascript@npm:6.0.1": version: 6.0.1 resolution: "serialize-javascript@npm:6.0.1" @@ -13518,6 +13597,20 @@ display-element-css@cfpb/storybook-addon-display-element-css: languageName: node linkType: hard +"update-browserslist-db@npm:^1.1.0": + version: 1.1.0 + resolution: "update-browserslist-db@npm:1.1.0" + dependencies: + escalade: ^3.1.2 + picocolors: ^1.0.1 + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 7b74694d96f0c360f01b702e72353dc5a49df4fe6663d3ee4e5c628f061576cddf56af35a3a886238c01dd3d8f231b7a86a8ceaa31e7a9220ae31c1c1238e562 + languageName: node + linkType: hard + "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1"