From ffa77ecf31fc914e33fe58f81041acb520eabf22 Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Fri, 2 Jul 2021 10:54:39 +0200 Subject: [PATCH 1/6] chore(jest): Update jest to version 27 We no longer use tsdx to run our tests, since it wasn't update over 8 months ... --- config/jest/index.js | 1 + config/jest/package.json | 2 +- package.json | 9 +- yarn.lock | 1224 ++++++++++++++++++++++++++++++++++++-- 4 files changed, 1166 insertions(+), 70 deletions(-) diff --git a/config/jest/index.js b/config/jest/index.js index c22ddee39c..e02bca078f 100644 --- a/config/jest/index.js +++ b/config/jest/index.js @@ -7,6 +7,7 @@ const { pathsToModuleNameMapper } = require('ts-jest/utils'); * Base configuration for jest */ const base = { + testEnvironment: 'jsdom', testMatch: ['/**/*.test.{ts,tsx}'], setupFilesAfterEnv: [path.resolve(__dirname, 'jest.setup.ts')], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], diff --git a/config/jest/package.json b/config/jest/package.json index 0cf8e4fdf0..6788191ed3 100644 --- a/config/jest/package.json +++ b/config/jest/package.json @@ -21,7 +21,7 @@ "jest-watch-typeahead": "0.6.4", "merge-deep": "^3.0.3", "react-test-renderer": "17.0.2", - "ts-jest": "26.5.6" + "ts-jest": "27.0.3" }, "peerDependencies": { "jest": "25.x || 26.x || 27.x", diff --git a/package.json b/package.json index 8e296674d5..e66efd6fe3 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,12 @@ "@marigold/tsconfig": "*", "@storybook/react": "6.3.0", "@testing-library/jest-dom": "5.14.1", - "@testing-library/react": "11.2.7", - "@testing-library/react-hooks": "6.0.0", + "@testing-library/react": "12.0.0", + "@testing-library/react-hooks": "7.0.1", "@types/node": "14.17.4", "eslint": "7.29.0", "husky": "6.0.0", + "jest": "^27.0.6", "prettier": "2.3.2", "pretty-quick": "3.1.1", "react": "17.0.2", @@ -42,8 +43,8 @@ "watch": "workspaces-run --only-fs=\"packages/**\" --only-fs=\"themes/**\" --order-by-deps -- yarn watch", "build": "workspaces-run --only-fs=\"packages/**\" --only-fs=\"themes/**\" --order-by-deps -- yarn build", "docs": "cd docs && yarn start", - "test": "tsdx test --config jest.config.js --coverage --coverageReporters html", - "coverage": "tsdx test --config jest.config.js --coverage", + "test": "jest --config jest.config.js --coverage --coverageReporters html", + "coverage": "jest --config jest.config.js --coverage", "clean": "rm -rf `find . -type d -name 'node_modules' -o -name 'dist'`", "clean:build": "rm -rf `find . -type d -name 'dist'` coverage", "lint": "eslint . --ignore-pattern node_modules --ignore-pattern dist --ignore-pattern packages/types/src/index.ts --ignore-pattern \".cache\" --ignore-pattern public", diff --git a/yarn.lock b/yarn.lock index 6f6335c66d..bc345b051e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -172,6 +172,29 @@ __metadata: languageName: node linkType: hard +"@babel/core@npm:7.14.6, @babel/core@npm:^7.7.2": + version: 7.14.6 + resolution: "@babel/core@npm:7.14.6" + dependencies: + "@babel/code-frame": ^7.14.5 + "@babel/generator": ^7.14.5 + "@babel/helper-compilation-targets": ^7.14.5 + "@babel/helper-module-transforms": ^7.14.5 + "@babel/helpers": ^7.14.6 + "@babel/parser": ^7.14.6 + "@babel/template": ^7.14.5 + "@babel/traverse": ^7.14.5 + "@babel/types": ^7.14.5 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.1.2 + semver: ^6.3.0 + source-map: ^0.5.0 + checksum: 6ede604d8de7a103c087b96a58548a3d27efb9e53de6ecc84f4b4ca947cd91f02b0289fc04557b04eb6e31243dbeabdcdb8fd520a1780f284333f56eb1b58913 + languageName: node + linkType: hard + "@babel/core@npm:^7.1.0, @babel/core@npm:^7.4.4, @babel/core@npm:^7.7.5": version: 7.12.16 resolution: "@babel/core@npm:7.12.16" @@ -231,7 +254,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.14.0, @babel/generator@npm:^7.14.5": +"@babel/generator@npm:^7.14.0, @babel/generator@npm:^7.14.5, @babel/generator@npm:^7.7.2": version: 7.14.5 resolution: "@babel/generator@npm:7.14.5" dependencies: @@ -967,6 +990,17 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.14.6": + version: 7.14.6 + resolution: "@babel/helpers@npm:7.14.6" + dependencies: + "@babel/template": ^7.14.5 + "@babel/traverse": ^7.14.5 + "@babel/types": ^7.14.5 + checksum: fe4e73975b062a8b8b95f499f4ac1064c9a53d4ee83cc273c2420250f6a46b59f1f5e35050d41ebe04efd7885a28ceea6f4f16d8eb091e24622f2a4a5eb20f23 + languageName: node + linkType: hard + "@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.12.13": version: 7.13.8 resolution: "@babel/highlight@npm:7.13.8" @@ -1025,7 +1059,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.14.7": +"@babel/parser@npm:^7.14.6, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.7.2": version: 7.14.7 resolution: "@babel/parser@npm:7.14.7" bin: @@ -1845,7 +1879,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-typescript@npm:^7.14.5": +"@babel/plugin-syntax-typescript@npm:^7.14.5, @babel/plugin-syntax-typescript@npm:^7.7.2": version: 7.14.5 resolution: "@babel/plugin-syntax-typescript@npm:7.14.5" dependencies: @@ -3456,7 +3490,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.12.11": +"@babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.7.2": version: 7.14.7 resolution: "@babel/traverse@npm:7.14.7" dependencies: @@ -4547,6 +4581,20 @@ __metadata: languageName: node linkType: hard +"@jest/console@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/console@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + "@types/node": "*" + chalk: ^4.0.0 + jest-message-util: ^27.0.6 + jest-util: ^27.0.6 + slash: ^3.0.0 + checksum: 7f46a0d0fc0cc5eacf39710f29f66693719b3bf6e2ece4a86f0b156e99999e5b6eb2b2b1f3c7922e2c17464ea7fd467b0a12f67a5b457935bce7e5d02ab22d0e + languageName: node + linkType: hard + "@jest/core@npm:^25.5.4": version: 25.5.4 resolution: "@jest/core@npm:25.5.4" @@ -4583,6 +4631,48 @@ __metadata: languageName: node linkType: hard +"@jest/core@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/core@npm:27.0.6" + dependencies: + "@jest/console": ^27.0.6 + "@jest/reporters": ^27.0.6 + "@jest/test-result": ^27.0.6 + "@jest/transform": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + ansi-escapes: ^4.2.1 + chalk: ^4.0.0 + emittery: ^0.8.1 + exit: ^0.1.2 + graceful-fs: ^4.2.4 + jest-changed-files: ^27.0.6 + jest-config: ^27.0.6 + jest-haste-map: ^27.0.6 + jest-message-util: ^27.0.6 + jest-regex-util: ^27.0.6 + jest-resolve: ^27.0.6 + jest-resolve-dependencies: ^27.0.6 + jest-runner: ^27.0.6 + jest-runtime: ^27.0.6 + jest-snapshot: ^27.0.6 + jest-util: ^27.0.6 + jest-validate: ^27.0.6 + jest-watcher: ^27.0.6 + micromatch: ^4.0.4 + p-each-series: ^2.1.0 + rimraf: ^3.0.0 + slash: ^3.0.0 + strip-ansi: ^6.0.0 + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + checksum: 8b4e19f065ad8adaea8bda175dc48badeadd5a76f07c3b238cd393cbf4adc698b8dfd4ec33ff1f52acd8c1b199061094c4a12aa66bd546542999e4bdb7bd54b0 + languageName: node + linkType: hard + "@jest/environment@npm:^25.5.0": version: 25.5.0 resolution: "@jest/environment@npm:25.5.0" @@ -4594,6 +4684,18 @@ __metadata: languageName: node linkType: hard +"@jest/environment@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/environment@npm:27.0.6" + dependencies: + "@jest/fake-timers": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + jest-mock: ^27.0.6 + checksum: 9332223c1f0c7118a2c0ee4321260316c5d84a489b916d2be18a20005851c0919716f7880aa48a86a89163defd1cb774d4ff9c50bcf1e91dd643b7fc1809cc95 + languageName: node + linkType: hard + "@jest/fake-timers@npm:^25.5.0": version: 25.5.0 resolution: "@jest/fake-timers@npm:25.5.0" @@ -4607,6 +4709,20 @@ __metadata: languageName: node linkType: hard +"@jest/fake-timers@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/fake-timers@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + "@sinonjs/fake-timers": ^7.0.2 + "@types/node": "*" + jest-message-util: ^27.0.6 + jest-mock: ^27.0.6 + jest-util: ^27.0.6 + checksum: 95de7a744c2494339303e2e41444332b647df66c26c2f27a6e6a8ba8e3aa53b2e574b42be5d5f99e0adcb6a6b71adbed854395431ce5e10b894dcf57d6280097 + languageName: node + linkType: hard + "@jest/globals@npm:^25.5.2": version: 25.5.2 resolution: "@jest/globals@npm:25.5.2" @@ -4618,6 +4734,17 @@ __metadata: languageName: node linkType: hard +"@jest/globals@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/globals@npm:27.0.6" + dependencies: + "@jest/environment": ^27.0.6 + "@jest/types": ^27.0.6 + expect: ^27.0.6 + checksum: ceff33c0c7f6b285d7363acb681aef1fb079e8376a80fe50dfd5887ce74c86ca21fb17de07a629d028c8c80654eb9f1ab014df4a9999f0e5ee2ee11b10344dcf + languageName: node + linkType: hard + "@jest/reporters@npm:^25.5.1": version: 25.5.1 resolution: "@jest/reporters@npm:25.5.1" @@ -4654,6 +4781,43 @@ __metadata: languageName: node linkType: hard +"@jest/reporters@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/reporters@npm:27.0.6" + dependencies: + "@bcoe/v8-coverage": ^0.2.3 + "@jest/console": ^27.0.6 + "@jest/test-result": ^27.0.6 + "@jest/transform": ^27.0.6 + "@jest/types": ^27.0.6 + chalk: ^4.0.0 + collect-v8-coverage: ^1.0.0 + exit: ^0.1.2 + glob: ^7.1.2 + graceful-fs: ^4.2.4 + istanbul-lib-coverage: ^3.0.0 + istanbul-lib-instrument: ^4.0.3 + istanbul-lib-report: ^3.0.0 + istanbul-lib-source-maps: ^4.0.0 + istanbul-reports: ^3.0.2 + jest-haste-map: ^27.0.6 + jest-resolve: ^27.0.6 + jest-util: ^27.0.6 + jest-worker: ^27.0.6 + slash: ^3.0.0 + source-map: ^0.6.0 + string-length: ^4.0.1 + terminal-link: ^2.0.0 + v8-to-istanbul: ^8.0.0 + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + checksum: 59beae74b007583f303c49f8ece8e2ba0ccb3f5d621df9c863219920171c2134d6926604afbebcac78b450576edb3a1935c85b7c8f94089191a7f40187a09ff9 + languageName: node + linkType: hard + "@jest/source-map@npm:^25.5.0": version: 25.5.0 resolution: "@jest/source-map@npm:25.5.0" @@ -4665,6 +4829,17 @@ __metadata: languageName: node linkType: hard +"@jest/source-map@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/source-map@npm:27.0.6" + dependencies: + callsites: ^3.0.0 + graceful-fs: ^4.2.4 + source-map: ^0.6.0 + checksum: b4c09a0392e58a970b1bede96cd995279d95254efc997acff7fb44ad52fd4e4a372ce955c32777d1eac2006c3869b7d97227126d45a28612a40815823e3cbdb0 + languageName: node + linkType: hard + "@jest/test-result@npm:^25.5.0": version: 25.5.0 resolution: "@jest/test-result@npm:25.5.0" @@ -4689,6 +4864,18 @@ __metadata: languageName: node linkType: hard +"@jest/test-result@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/test-result@npm:27.0.6" + dependencies: + "@jest/console": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/istanbul-lib-coverage": ^2.0.0 + collect-v8-coverage: ^1.0.0 + checksum: 689e4a058000ab15394bb6b319be0ad6c85b0844dac47d6e178060b01c2a0effe172a3291c0db4fcf555ffd517182b8d4470e447c7c6cdb1dcfa80741039f75e + languageName: node + linkType: hard + "@jest/test-sequencer@npm:^25.5.4": version: 25.5.4 resolution: "@jest/test-sequencer@npm:25.5.4" @@ -4702,6 +4889,18 @@ __metadata: languageName: node linkType: hard +"@jest/test-sequencer@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/test-sequencer@npm:27.0.6" + dependencies: + "@jest/test-result": ^27.0.6 + graceful-fs: ^4.2.4 + jest-haste-map: ^27.0.6 + jest-runtime: ^27.0.6 + checksum: 7e0d972ff9e245de5ab45626f2a8cfe7617caea8e706a30a7bb950ff491a7fd83d7ac1139139254946bd88b0fda41becd36c24fa893e0e2671bcc5423092fb94 + languageName: node + linkType: hard + "@jest/transform@npm:^25.5.1": version: 25.5.1 resolution: "@jest/transform@npm:25.5.1" @@ -4772,6 +4971,29 @@ __metadata: languageName: node linkType: hard +"@jest/transform@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/transform@npm:27.0.6" + dependencies: + "@babel/core": ^7.1.0 + "@jest/types": ^27.0.6 + babel-plugin-istanbul: ^6.0.0 + chalk: ^4.0.0 + convert-source-map: ^1.4.0 + fast-json-stable-stringify: ^2.0.0 + graceful-fs: ^4.2.4 + jest-haste-map: ^27.0.6 + jest-regex-util: ^27.0.6 + jest-util: ^27.0.6 + micromatch: ^4.0.4 + pirates: ^4.0.1 + slash: ^3.0.0 + source-map: ^0.6.1 + write-file-atomic: ^3.0.0 + checksum: 9faabd84c5e9468029578118f140d2e281ad8bb98c2d04fc33b9d300d04754c279d424499bc6e673de4a15d8630c4ef5426de7192f275e2e86162ebaf3d6b677 + languageName: node + linkType: hard + "@jest/types@npm:^25.5.0": version: 25.5.0 resolution: "@jest/types@npm:25.5.0" @@ -4823,6 +5045,19 @@ __metadata: languageName: node linkType: hard +"@jest/types@npm:^27.0.6": + version: 27.0.6 + resolution: "@jest/types@npm:27.0.6" + dependencies: + "@types/istanbul-lib-coverage": ^2.0.0 + "@types/istanbul-reports": ^3.0.0 + "@types/node": "*" + "@types/yargs": ^16.0.0 + chalk: ^4.0.0 + checksum: abe367b073d5b7396d7397620f57a24409551bb940761d78e6775f10aee68fb96eb80d7177824090ac811c7e7ba5d9cfce4cbdded86f3adef2abc291da28de77 + languageName: node + linkType: hard + "@jimp/bmp@npm:^0.14.0": version: 0.14.0 resolution: "@jimp/bmp@npm:0.14.0" @@ -5334,7 +5569,7 @@ __metadata: jest-watch-typeahead: 0.6.4 merge-deep: ^3.0.3 react-test-renderer: 17.0.2 - ts-jest: 26.5.6 + ts-jest: 27.0.3 peerDependencies: jest: 25.x || 26.x || 27.x typescript: 3.8.x || 3.9.x || 4.2.x || 4.3.x @@ -5847,6 +6082,15 @@ __metadata: languageName: node linkType: hard +"@sinonjs/fake-timers@npm:^7.0.2": + version: 7.1.2 + resolution: "@sinonjs/fake-timers@npm:7.1.2" + dependencies: + "@sinonjs/commons": ^1.7.0 + checksum: c84773d7973edad5511a31d2cc75023447b5cf714a84de9bb50eda45dda88a0d3bd2c30bf6e6e936da50a048d5352e2151c694e13e59b97d187ba1f329e9a00c + languageName: node + linkType: hard + "@storybook/addon-a11y@npm:6.3.0": version: 6.3.0 resolution: "@storybook/addon-a11y@npm:6.3.0" @@ -6861,19 +7105,19 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^7.28.1": - version: 7.29.4 - resolution: "@testing-library/dom@npm:7.29.4" +"@testing-library/dom@npm:^8.0.0": + version: 8.1.0 + resolution: "@testing-library/dom@npm:8.1.0" dependencies: "@babel/code-frame": ^7.10.4 "@babel/runtime": ^7.12.5 "@types/aria-query": ^4.2.0 aria-query: ^4.2.2 chalk: ^4.1.0 - dom-accessibility-api: ^0.5.4 + dom-accessibility-api: ^0.5.6 lz-string: ^1.4.4 - pretty-format: ^26.6.2 - checksum: 205d125e1e8d5f711f2592f2f3d25994f481641f6bad17724f8e077431042c3204ae585a8c7df483d84ea8562e75229bf915cb6090a4657c5897fbd3f742a3b9 + pretty-format: ^27.0.2 + checksum: 8d3778b59c08dba4f1ba62823c0dad0990d2fcbd0396fcf0b8a2c4ce7420f8c5adbcae708f8f58a75ead749bd06d9ef4285187763abb18ac464ed47c2f8e332b languageName: node linkType: hard @@ -6894,15 +7138,14 @@ __metadata: languageName: node linkType: hard -"@testing-library/react-hooks@npm:6.0.0": - version: 6.0.0 - resolution: "@testing-library/react-hooks@npm:6.0.0" +"@testing-library/react-hooks@npm:7.0.1": + version: 7.0.1 + resolution: "@testing-library/react-hooks@npm:7.0.1" dependencies: "@babel/runtime": ^7.12.5 "@types/react": ">=16.9.0" "@types/react-dom": ">=16.9.0" "@types/react-test-renderer": ">=16.9.0" - filter-console: ^0.1.1 react-error-boundary: ^3.1.0 peerDependencies: react: ">=16.9.0" @@ -6913,20 +7156,20 @@ __metadata: optional: true react-test-renderer: optional: true - checksum: 31460e61f56bccc9d2b8413a786b6ef4f62867b4e9e93fb954d25a7623a03fb7bdde180dac97c37e41487216a8dd7d169e1b18266a37af1b5b62ea84e0bea5a1 + checksum: eecb59df11ae8e9d715e3b1e13a199995d363d879a9177497a5609d5ad41f1c112cb708d24b4f2a6c6ce7d81edefae34e8e8bbd5cde2a1d0abcc0f539df904de languageName: node linkType: hard -"@testing-library/react@npm:11.2.7": - version: 11.2.7 - resolution: "@testing-library/react@npm:11.2.7" +"@testing-library/react@npm:12.0.0": + version: 12.0.0 + resolution: "@testing-library/react@npm:12.0.0" dependencies: "@babel/runtime": ^7.12.5 - "@testing-library/dom": ^7.28.1 + "@testing-library/dom": ^8.0.0 peerDependencies: react: "*" react-dom: "*" - checksum: 64e07cb96e40dbdbd3c46a09c47bed14446b30efafaa65a5d4fed5a7553878990cda108578f2b114422a775f31c635d51fd50b752f6163ddd6b8474e0e5fc2ce + checksum: 07f0ba4092f7cd3232c2c61329353b2f2fa65388fc58666780be80f99f75daaf897a09a9897ac53f213d7b2d57e3cecb8127fd940da8cfd4275fa4a281e5b32c languageName: node linkType: hard @@ -6947,6 +7190,13 @@ __metadata: languageName: node linkType: hard +"@tootallnate/once@npm:1": + version: 1.1.2 + resolution: "@tootallnate/once@npm:1.1.2" + checksum: e1fb1bbbc12089a0cb9433dc290f97bddd062deadb6178ce9bcb93bb7c1aecde5e60184bc7065aec42fe1663622a213493c48bbd4972d931aae48315f18e1be9 + languageName: node + linkType: hard + "@trysound/sax@npm:0.1.1": version: 0.1.1 resolution: "@trysound/sax@npm:0.1.1" @@ -7040,6 +7290,15 @@ __metadata: languageName: node linkType: hard +"@types/babel__traverse@npm:^7.0.4": + version: 7.14.0 + resolution: "@types/babel__traverse@npm:7.14.0" + dependencies: + "@babel/types": ^7.3.0 + checksum: 2f91480eec314175b34dc778161d9b7d1a1cb9ce440e2001c3775a2028c9073e389b23978e3fa74b5a5c68afa8ac6ea2b5f9285ee16793f8e0a002adec10eb2a + languageName: node + linkType: hard + "@types/braces@npm:*": version: 3.0.0 resolution: "@types/braces@npm:3.0.0" @@ -7520,6 +7779,13 @@ __metadata: languageName: node linkType: hard +"@types/prettier@npm:^2.1.5": + version: 2.3.1 + resolution: "@types/prettier@npm:2.3.1" + checksum: 545891e0ecbb60345263e4f142d406b3d4ff97bb24605f247844af55f6523e974d3c7b0b7a83f59467e078e193c879b9491ec24c652c536f1905a4966b3e5784 + languageName: node + linkType: hard + "@types/pretty-hrtime@npm:^1.0.0": version: 1.0.0 resolution: "@types/pretty-hrtime@npm:1.0.0" @@ -8551,7 +8817,7 @@ __metadata: languageName: node linkType: hard -"abab@npm:^2.0.0": +"abab@npm:^2.0.0, abab@npm:^2.0.3, abab@npm:^2.0.5": version: 2.0.5 resolution: "abab@npm:2.0.5" checksum: 0ec951b46d5418c2c2f923021ec193eaebdb4e802ffd5506286781b454be722a13a8430f98085cd3e204918401d9130ec6cc8f5ae19be315b3a0e857d83196e1 @@ -8585,6 +8851,16 @@ __metadata: languageName: node linkType: hard +"acorn-globals@npm:^6.0.0": + version: 6.0.0 + resolution: "acorn-globals@npm:6.0.0" + dependencies: + acorn: ^7.1.1 + acorn-walk: ^7.1.1 + checksum: 72d95e5b5e585f9acd019b993ab8bbba68bb3cbc9d9b5c1ebb3c2f1fe5981f11deababfb4949f48e6262f9c57878837f5958c0cca396f81023814680ca878042 + languageName: node + linkType: hard + "acorn-jsx@npm:^5.2.0, acorn-jsx@npm:^5.3.1": version: 5.3.1 resolution: "acorn-jsx@npm:5.3.1" @@ -8601,7 +8877,7 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^7.2.0": +"acorn-walk@npm:^7.1.1, acorn-walk@npm:^7.2.0": version: 7.2.0 resolution: "acorn-walk@npm:7.2.0" checksum: 9252158a79b9d92f1bc0dd6acc0fcfb87a67339e84bcc301bb33d6078936d27e35d606b4d35626d2962cd43c256d6f27717e70cbe15c04fff999ab0b2260b21f @@ -8635,6 +8911,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.2.4": + version: 8.4.1 + resolution: "acorn@npm:8.4.1" + bin: + acorn: bin/acorn + checksum: 0a8fd264349285aa36194b26a5a9d70c3641e78ad459ec44b9a9a5738e0ce6d86ec120ca2c0f04477165cee912fdeb158f62d6582697185c82278bdbf71187f8 + languageName: node + linkType: hard + "address@npm:1.1.2, address@npm:^1.0.1": version: 1.1.2 resolution: "address@npm:1.1.2" @@ -8642,6 +8927,15 @@ __metadata: languageName: node linkType: hard +"agent-base@npm:6": + version: 6.0.2 + resolution: "agent-base@npm:6.0.2" + dependencies: + debug: 4 + checksum: f52b6872cc96fd5f622071b71ef200e01c7c4c454ee68bc9accca90c98cfb39f2810e3e9aa330435835eedc8c23f4f8a15267f67c6e245d2b33757575bdac49d + languageName: node + linkType: hard + "aggregate-error@npm:^3.0.0, aggregate-error@npm:^3.0.1": version: 3.1.0 resolution: "aggregate-error@npm:3.1.0" @@ -9445,6 +9739,24 @@ __metadata: languageName: node linkType: hard +"babel-jest@npm:^27.0.6": + version: 27.0.6 + resolution: "babel-jest@npm:27.0.6" + dependencies: + "@jest/transform": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/babel__core": ^7.1.14 + babel-plugin-istanbul: ^6.0.0 + babel-preset-jest: ^27.0.6 + chalk: ^4.0.0 + graceful-fs: ^4.2.4 + slash: ^3.0.0 + peerDependencies: + "@babel/core": ^7.8.0 + checksum: 1e79dd1d9e67eaf68e02295f8f873bbe999a7881f73f132e3533be29d6f2d165970554c46fbb417949db234528ced7e0a35aa328a85926a8b8e3a662f589c7bc + languageName: node + linkType: hard + "babel-loader@npm:8.2.2, babel-loader@npm:^8.2.2": version: 8.2.2 resolution: "babel-loader@npm:8.2.2" @@ -9576,6 +9888,18 @@ __metadata: languageName: node linkType: hard +"babel-plugin-jest-hoist@npm:^27.0.6": + version: 27.0.6 + resolution: "babel-plugin-jest-hoist@npm:27.0.6" + dependencies: + "@babel/template": ^7.3.3 + "@babel/types": ^7.3.3 + "@types/babel__core": ^7.0.0 + "@types/babel__traverse": ^7.0.6 + checksum: 0aa0798a56fbed3ed7892d94dfe2c72e26b923691704619a71bd5d1ec48a598e2e515a594f9ae818a5fde539c8fb2d3c890e1104701f00f4a85731e76c1981f6 + languageName: node + linkType: hard + "babel-plugin-lodash@npm:^3.3.4": version: 3.3.4 resolution: "babel-plugin-lodash@npm:3.3.4" @@ -9838,6 +10162,18 @@ __metadata: languageName: node linkType: hard +"babel-preset-jest@npm:^27.0.6": + version: 27.0.6 + resolution: "babel-preset-jest@npm:27.0.6" + dependencies: + babel-plugin-jest-hoist: ^27.0.6 + babel-preset-current-node-syntax: ^1.0.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 358e361c9ba823361fb191c1d7dddf8a1b455777bf657dbef18553d7c3b725b44822d63ecae77956e4e38fcec9147fd824d4bf5506765af54038d2e744d06c5a + languageName: node + linkType: hard + "babel-preset-typescript-vue@npm:^1.0.3": version: 1.1.1 resolution: "babel-preset-typescript-vue@npm:1.1.1" @@ -11100,6 +11436,13 @@ __metadata: languageName: node linkType: hard +"cjs-module-lexer@npm:^1.0.0": + version: 1.2.1 + resolution: "cjs-module-lexer@npm:1.2.1" + checksum: 9e9905e3f5b8b1f262d10ebb0d33407d25a48d0341acd3215ed402f9284188183f14d577340a171f75fd137b7654a780bcb6008dee9e9bd12957174f6c0e4661 + languageName: node + linkType: hard + "class-utils@npm:^0.3.5": version: 0.3.6 resolution: "class-utils@npm:0.3.6" @@ -12017,7 +12360,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2": +"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -12359,7 +12702,7 @@ __metadata: languageName: node linkType: hard -"cssom@npm:^0.4.1": +"cssom@npm:^0.4.1, cssom@npm:^0.4.4": version: 0.4.4 resolution: "cssom@npm:0.4.4" checksum: e3bc1076e7ee4213d4fef05e7ae03bfa83dc05f32611d8edc341f4ecc3d9647b89c8245474c7dd2cdcdb797a27c462e99da7ad00a34399694559f763478ff53f @@ -12373,7 +12716,7 @@ __metadata: languageName: node linkType: hard -"cssstyle@npm:^2.0.0": +"cssstyle@npm:^2.0.0, cssstyle@npm:^2.3.0": version: 2.3.0 resolution: "cssstyle@npm:2.3.0" dependencies: @@ -12489,6 +12832,17 @@ __metadata: languageName: node linkType: hard +"data-urls@npm:^2.0.0": + version: 2.0.0 + resolution: "data-urls@npm:2.0.0" + dependencies: + abab: ^2.0.3 + whatwg-mimetype: ^2.3.0 + whatwg-url: ^8.0.0 + checksum: 97caf828aac25e25e04ba6869db0f99c75e6859bb5b424ada28d3e7841941ebf08ddff3c1b1bb4585986bd507a5d54c2a716853ea6cb98af877400e637393e71 + languageName: node + linkType: hard + "dataloader@npm:2.0.0": version: 2.0.0 resolution: "dataloader@npm:2.0.0" @@ -12526,6 +12880,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:4": + 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 + "debug@npm:^3.0.0, debug@npm:^3.1.0, debug@npm:^3.1.1, debug@npm:^3.2.6, debug@npm:^3.2.7": version: 3.2.7 resolution: "debug@npm:3.2.7" @@ -12564,6 +12930,13 @@ __metadata: languageName: node linkType: hard +"decimal.js@npm:^10.2.1": + version: 10.3.1 + resolution: "decimal.js@npm:10.3.1" + checksum: 0351ac9f05fe050f23227aa6a4573bee2d58fa7378fcf28d969a8c789525032effb488a90320fd3fe86a66e17b4bc507d811b15eada5b7f0e7ec5d2af4c24a59 + languageName: node + linkType: hard + "decode-uri-component@npm:^0.2.0": version: 0.2.0 resolution: "decode-uri-component@npm:0.2.0" @@ -12996,6 +13369,13 @@ __metadata: languageName: node linkType: hard +"diff-sequences@npm:^27.0.6": + version: 27.0.6 + resolution: "diff-sequences@npm:27.0.6" + checksum: f35ad024d426cd1026d6c98a1f604c41966a0e89712b05a38812fc11e645ff0e915ec17bc8f4b6910fed6df0b309b255aa6c7c77728be452c6dbbfa30aa2067b + languageName: node + linkType: hard + "diff@npm:^4.0.1": version: 4.0.2 resolution: "diff@npm:4.0.2" @@ -13124,13 +13504,6 @@ __metadata: languageName: node linkType: hard -"dom-accessibility-api@npm:^0.5.4": - version: 0.5.4 - resolution: "dom-accessibility-api@npm:0.5.4" - checksum: 1fb22b351984564212b41bd7265ad1288322ad72e7367753f589facaeb98c2e3515502396acf2463f71dbaa1e238d6e006ec144a6217f1cd42e962b9bebd2dee - languageName: node - linkType: hard - "dom-accessibility-api@npm:^0.5.6": version: 0.5.6 resolution: "dom-accessibility-api@npm:0.5.6" @@ -13232,6 +13605,15 @@ __metadata: languageName: node linkType: hard +"domexception@npm:^2.0.1": + version: 2.0.1 + resolution: "domexception@npm:2.0.1" + dependencies: + webidl-conversions: ^5.0.0 + checksum: d638e9cb05c52999f1b2eb87c374b03311ea5b1d69c2f875bc92da73e17db60c12142b45c950228642ff7f845c536b65305483350d080df59003a653da80b691 + languageName: node + linkType: hard + "domhandler@npm:^2.3.0": version: 2.4.2 resolution: "domhandler@npm:2.4.2" @@ -13516,6 +13898,13 @@ __metadata: languageName: node linkType: hard +"emittery@npm:^0.8.1": + version: 0.8.1 + resolution: "emittery@npm:0.8.1" + checksum: 2457e8c7b0688bb006126f2c025b2655abe682f66b184954122a8a065b5277f9813d49d627896a10b076b81c513ec5f491fd9c14fbd42c04b95ca3c9f3c365ee + languageName: node + linkType: hard + "emoji-regex@npm:>=6.0.0 <=6.1.1": version: 6.1.1 resolution: "emoji-regex@npm:6.1.1" @@ -14824,6 +15213,23 @@ __metadata: languageName: node linkType: hard +"execa@npm:^5.0.0": + version: 5.1.1 + resolution: "execa@npm:5.1.1" + dependencies: + cross-spawn: ^7.0.3 + get-stream: ^6.0.0 + human-signals: ^2.1.0 + is-stream: ^2.0.0 + merge-stream: ^2.0.0 + npm-run-path: ^4.0.1 + onetime: ^5.1.2 + signal-exit: ^3.0.3 + strip-final-newline: ^2.0.0 + checksum: fba9022c8c8c15ed862847e94c252b3d946036d7547af310e344a527e59021fd8b6bb0723883ea87044dc4f0201f949046993124a42ccb0855cae5bf8c786343 + languageName: node + linkType: hard + "executable@npm:^4.1.0": version: 4.1.1 resolution: "executable@npm:4.1.1" @@ -14883,6 +15289,20 @@ __metadata: languageName: node linkType: hard +"expect@npm:^27.0.6": + version: 27.0.6 + resolution: "expect@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + ansi-styles: ^5.0.0 + jest-get-type: ^27.0.6 + jest-matcher-utils: ^27.0.6 + jest-message-util: ^27.0.6 + jest-regex-util: ^27.0.6 + checksum: 26e63420b00620dffd3a7e98db9e815a31b2787930823a89d01fcc008b9827bd734e8104c58b91493054636fbc3b123cbaa48da5dc24b16ebe641b7ee98adeab + languageName: node + linkType: hard + "express-graphql@npm:^0.9.0": version: 0.9.0 resolution: "express-graphql@npm:0.9.0" @@ -15385,13 +15805,6 @@ __metadata: languageName: node linkType: hard -"filter-console@npm:^0.1.1": - version: 0.1.1 - resolution: "filter-console@npm:0.1.1" - checksum: 020a6aee2b0b7f0e7fdff76b2b86429a7cfc0fd2bae131a8d0d6eaddad05ffbeac16e3267f382a2beaead9568d6b90f2aba923daeb8dd0c97720d8eba885ede2 - languageName: node - linkType: hard - "filter-obj@npm:^1.1.0": version: 1.1.0 resolution: "filter-obj@npm:1.1.0" @@ -16631,6 +17044,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"get-stream@npm:^6.0.0": + version: 6.0.1 + resolution: "get-stream@npm:6.0.1" + checksum: e04ecece32c92eebf5b8c940f51468cd53554dcbb0ea725b2748be583c9523d00128137966afce410b9b051eb2ef16d657cd2b120ca8edafcf5a65e81af63cad + languageName: node + linkType: hard + "get-value@npm:^2.0.3, get-value@npm:^2.0.6": version: 2.0.6 resolution: "get-value@npm:2.0.6" @@ -17649,10 +18069,19 @@ fsevents@^1.2.7: languageName: node linkType: hard -"html-entities@npm:^1.2.0, html-entities@npm:^1.2.1, html-entities@npm:^1.3.1": - version: 1.4.0 - resolution: "html-entities@npm:1.4.0" - checksum: 4b73ffb9eead200f99146e4fbe70acb0af2fea136901a131fc3a782e9ef876a7cbb07dec303ca1f8804232b812249dbf3643a270c9c524852065d9224a8dcdd0 +"html-encoding-sniffer@npm:^2.0.1": + version: 2.0.1 + resolution: "html-encoding-sniffer@npm:2.0.1" + dependencies: + whatwg-encoding: ^1.0.5 + checksum: bf30cce461015ed7e365736fcd6a3063c7bc016a91f74398ef6158886970a96333938f7c02417ab3c12aa82e3e53b40822145facccb9ddfbcdc15a879ae4d7ba + languageName: node + linkType: hard + +"html-entities@npm:^1.2.0, html-entities@npm:^1.2.1, html-entities@npm:^1.3.1": + version: 1.4.0 + resolution: "html-entities@npm:1.4.0" + checksum: 4b73ffb9eead200f99146e4fbe70acb0af2fea136901a131fc3a782e9ef876a7cbb07dec303ca1f8804232b812249dbf3643a270c9c524852065d9224a8dcdd0 languageName: node linkType: hard @@ -17828,6 +18257,17 @@ fsevents@^1.2.7: languageName: node linkType: hard +"http-proxy-agent@npm:^4.0.1": + version: 4.0.1 + resolution: "http-proxy-agent@npm:4.0.1" + dependencies: + "@tootallnate/once": 1 + agent-base: 6 + debug: 4 + checksum: c6a5da5a1929416b6bbdf77b1aca13888013fe7eb9d59fc292e25d18e041bb154a8dfada58e223fc7b76b9b2d155a87e92e608235201f77d34aa258707963a82 + languageName: node + linkType: hard + "http-proxy-middleware@npm:0.19.1": version: 0.19.1 resolution: "http-proxy-middleware@npm:0.19.1" @@ -17869,6 +18309,16 @@ fsevents@^1.2.7: languageName: node linkType: hard +"https-proxy-agent@npm:^5.0.0": + version: 5.0.0 + resolution: "https-proxy-agent@npm:5.0.0" + dependencies: + agent-base: 6 + debug: 4 + checksum: 165bfb090bd26d47693597661298006841ab733d0c7383a8cb2f17373387a94c903a3ac687090aa739de05e379ab6f868bae84ab4eac288ad85c328cd1ec9e53 + languageName: node + linkType: hard + "human-id@npm:^1.0.2": version: 1.0.2 resolution: "human-id@npm:1.0.2" @@ -17883,6 +18333,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"human-signals@npm:^2.1.0": + version: 2.1.0 + resolution: "human-signals@npm:2.1.0" + checksum: b87fd89fce72391625271454e70f67fe405277415b48bcc0117ca73d31fa23a4241787afdc8d67f5a116cf37258c052f59ea82daffa72364d61351423848e3b8 + languageName: node + linkType: hard + "humanize-duration@npm:^3.15.3": version: 3.25.1 resolution: "humanize-duration@npm:3.25.1" @@ -18784,6 +19241,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"is-potential-custom-element-name@npm:^1.0.1": + version: 1.0.1 + resolution: "is-potential-custom-element-name@npm:1.0.1" + checksum: ced7bbbb6433a5b684af581872afe0e1767e2d1146b2207ca0068a648fb5cab9d898495d1ac0583524faaf24ca98176a7d9876363097c2d14fee6dd324f3a1ab + languageName: node + linkType: hard + "is-promise@npm:4.0.0": version: 4.0.0 resolution: "is-promise@npm:4.0.0" @@ -19094,7 +19558,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"istanbul-lib-instrument@npm:^4.0.0": +"istanbul-lib-instrument@npm:^4.0.0, istanbul-lib-instrument@npm:^4.0.3": version: 4.0.3 resolution: "istanbul-lib-instrument@npm:4.0.3" dependencies: @@ -19183,6 +19647,44 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-changed-files@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-changed-files@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + execa: ^5.0.0 + throat: ^6.0.1 + checksum: e79547adb94505c346124220ff86e293e3ca8955c5ccec26be982a5d561a25af892c1129f07e34306b20317bba375e28393d00cc2c166742e3464cb7a28e4e7e + languageName: node + linkType: hard + +"jest-circus@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-circus@npm:27.0.6" + dependencies: + "@jest/environment": ^27.0.6 + "@jest/test-result": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + chalk: ^4.0.0 + co: ^4.6.0 + dedent: ^0.7.0 + expect: ^27.0.6 + is-generator-fn: ^2.0.0 + jest-each: ^27.0.6 + jest-matcher-utils: ^27.0.6 + jest-message-util: ^27.0.6 + jest-runtime: ^27.0.6 + jest-snapshot: ^27.0.6 + jest-util: ^27.0.6 + pretty-format: ^27.0.6 + slash: ^3.0.0 + stack-utils: ^2.0.3 + throat: ^6.0.1 + checksum: baaebcdd93b65ceee351eee5cc3194cf0ff19549df5ca55dc75db3ffbfc22ac7e4bd00067c46ab65ed35f3c3581ce76aa9f75f9a0dc8713c5bcaf9c3fce3a54f + languageName: node + linkType: hard + "jest-cli@npm:^25.5.4": version: 25.5.4 resolution: "jest-cli@npm:25.5.4" @@ -19207,6 +19709,33 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-cli@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-cli@npm:27.0.6" + dependencies: + "@jest/core": ^27.0.6 + "@jest/test-result": ^27.0.6 + "@jest/types": ^27.0.6 + chalk: ^4.0.0 + exit: ^0.1.2 + graceful-fs: ^4.2.4 + import-local: ^3.0.2 + jest-config: ^27.0.6 + jest-util: ^27.0.6 + jest-validate: ^27.0.6 + prompts: ^2.0.1 + yargs: ^16.0.3 + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + bin: + jest: bin/jest.js + checksum: a9fbcde31563503c5e0e083eb96edd7241ac317e08f8efc2b18a14ae02bdaed3c5e5fa2b9730c97d4c20734de35233adb6cdcd742ba3a75dd7516282008b5bb8 + languageName: node + linkType: hard + "jest-config@npm:^25.5.4": version: 25.5.4 resolution: "jest-config@npm:25.5.4" @@ -19234,6 +19763,40 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-config@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-config@npm:27.0.6" + dependencies: + "@babel/core": ^7.1.0 + "@jest/test-sequencer": ^27.0.6 + "@jest/types": ^27.0.6 + babel-jest: ^27.0.6 + chalk: ^4.0.0 + deepmerge: ^4.2.2 + glob: ^7.1.1 + graceful-fs: ^4.2.4 + is-ci: ^3.0.0 + jest-circus: ^27.0.6 + jest-environment-jsdom: ^27.0.6 + jest-environment-node: ^27.0.6 + jest-get-type: ^27.0.6 + jest-jasmine2: ^27.0.6 + jest-regex-util: ^27.0.6 + jest-resolve: ^27.0.6 + jest-runner: ^27.0.6 + jest-util: ^27.0.6 + jest-validate: ^27.0.6 + micromatch: ^4.0.4 + pretty-format: ^27.0.6 + peerDependencies: + ts-node: ">=9.0.0" + peerDependenciesMeta: + ts-node: + optional: true + checksum: 629394069df2d79fe5b6abc13d53d030687ef35ff4713a8f55ff54d339cb6b41ba2ccb5f998b0321fbc1739452cb7dd821836714248bd37554b7eea35614d1b9 + languageName: node + linkType: hard + "jest-diff@npm:^25.2.1, jest-diff@npm:^25.5.0": version: 25.5.0 resolution: "jest-diff@npm:25.5.0" @@ -19258,6 +19821,18 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-diff@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-diff@npm:27.0.6" + dependencies: + chalk: ^4.0.0 + diff-sequences: ^27.0.6 + jest-get-type: ^27.0.6 + pretty-format: ^27.0.6 + checksum: 387e3cdeb2c069dae7d6344b645d3b35153642a2455eb52a454d4432bc4c132c769616a764cbb4866e6ae036dc5a879717b47c7de4eb0f8ce68081731eb3e8ab + languageName: node + linkType: hard + "jest-docblock@npm:^25.3.0": version: 25.3.0 resolution: "jest-docblock@npm:25.3.0" @@ -19267,6 +19842,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-docblock@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-docblock@npm:27.0.6" + dependencies: + detect-newline: ^3.0.0 + checksum: 6d68b9f2bef76e0bde06a8e6d13a7e1d2fc67f61a8fa8a089727198e565510aef852a0a089c3c4157b00a82597f792fa83c8480499203978ef38d8cd6578bea0 + languageName: node + linkType: hard + "jest-each@npm:^25.5.0": version: 25.5.0 resolution: "jest-each@npm:25.5.0" @@ -19280,6 +19864,19 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-each@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-each@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + chalk: ^4.0.0 + jest-get-type: ^27.0.6 + jest-util: ^27.0.6 + pretty-format: ^27.0.6 + checksum: 373a31fe58469fb56ba8d47897c556f9b347eabd70d5d8983051c6118dd3ac49a18156e0a9dedba68ef8b53017a6afa1cdb9fadcb843436381222901781c01cd + languageName: node + linkType: hard + "jest-environment-jsdom@npm:^25.5.0": version: 25.5.0 resolution: "jest-environment-jsdom@npm:25.5.0" @@ -19294,6 +19891,21 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-environment-jsdom@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-environment-jsdom@npm:27.0.6" + dependencies: + "@jest/environment": ^27.0.6 + "@jest/fake-timers": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + jest-mock: ^27.0.6 + jest-util: ^27.0.6 + jsdom: ^16.6.0 + checksum: 86c89e844032f9cf029f20ba12fe69ab489d363f362540dda5163a4e8c802ff1bb31569f5b779c31213e24d8be77bb898f66682819999e7051b3e5cc89260fea + languageName: node + linkType: hard + "jest-environment-node@npm:^25.5.0": version: 25.5.0 resolution: "jest-environment-node@npm:25.5.0" @@ -19308,6 +19920,20 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-environment-node@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-environment-node@npm:27.0.6" + dependencies: + "@jest/environment": ^27.0.6 + "@jest/fake-timers": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + jest-mock: ^27.0.6 + jest-util: ^27.0.6 + checksum: 910ced755557c4fbc134cf687d9c1571100dfb5d7e9691cdaa76dfcccd2bc97e62cec58e271e600757db94dc41612b3d97700fc3fd2439a298ce5f66e32da215 + languageName: node + linkType: hard + "jest-get-type@npm:^25.2.6": version: 25.2.6 resolution: "jest-get-type@npm:25.2.6" @@ -19322,6 +19948,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-get-type@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-get-type@npm:27.0.6" + checksum: 2d4c1381bb5ddb212d80ad00497c7cbb3312358e10b62ac19f1fe5a28ae4af709202bfc235b77ec508970b83fd89945937652d636bcaf88614fa00028a6f3138 + languageName: node + linkType: hard + "jest-haste-map@npm:^25.5.1": version: 25.5.1 resolution: "jest-haste-map@npm:25.5.1" @@ -19395,6 +20028,30 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-haste-map@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-haste-map@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + "@types/graceful-fs": ^4.1.2 + "@types/node": "*" + anymatch: ^3.0.3 + fb-watchman: ^2.0.0 + fsevents: ^2.3.2 + graceful-fs: ^4.2.4 + jest-regex-util: ^27.0.6 + jest-serializer: ^27.0.6 + jest-util: ^27.0.6 + jest-worker: ^27.0.6 + micromatch: ^4.0.4 + walker: ^1.0.7 + dependenciesMeta: + fsevents: + optional: true + checksum: aa458f5e0681f4d4515069c855219f69e2198177a0210d82d94d725bec72b855c5018feb4881abd603266197d57cce2b26ca7dae71342003f542ec6dd895a77c + languageName: node + linkType: hard + "jest-jasmine2@npm:^25.5.4": version: 25.5.4 resolution: "jest-jasmine2@npm:25.5.4" @@ -19420,6 +20077,32 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-jasmine2@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-jasmine2@npm:27.0.6" + dependencies: + "@babel/traverse": ^7.1.0 + "@jest/environment": ^27.0.6 + "@jest/source-map": ^27.0.6 + "@jest/test-result": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + chalk: ^4.0.0 + co: ^4.6.0 + expect: ^27.0.6 + is-generator-fn: ^2.0.0 + jest-each: ^27.0.6 + jest-matcher-utils: ^27.0.6 + jest-message-util: ^27.0.6 + jest-runtime: ^27.0.6 + jest-snapshot: ^27.0.6 + jest-util: ^27.0.6 + pretty-format: ^27.0.6 + throat: ^6.0.1 + checksum: 0140ea1073c37e92ee37f5159d36b5021afac75efd6cefef34fe95101bc7b39e725562c7ee216ec3cb62958446e6ecd2a62139c31e32b7a20ef0c8aebc1f472f + languageName: node + linkType: hard + "jest-leak-detector@npm:^25.5.0": version: 25.5.0 resolution: "jest-leak-detector@npm:25.5.0" @@ -19430,6 +20113,16 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-leak-detector@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-leak-detector@npm:27.0.6" + dependencies: + jest-get-type: ^27.0.6 + pretty-format: ^27.0.6 + checksum: 89349c6bc46529c2d3d3ac387d00bfcf12c80f355670995a3931fdef87dd7c5a92618c1a7b8e88513663a4f5f434429416e09670b3cd52397d2a78baef301239 + languageName: node + linkType: hard + "jest-matcher-utils@npm:^25.5.0": version: 25.5.0 resolution: "jest-matcher-utils@npm:25.5.0" @@ -19442,6 +20135,18 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-matcher-utils@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-matcher-utils@npm:27.0.6" + dependencies: + chalk: ^4.0.0 + jest-diff: ^27.0.6 + jest-get-type: ^27.0.6 + pretty-format: ^27.0.6 + checksum: deaab742a1d6310dc3cecb8cca12806c2e90c87d15d1fee73d384a3518cdb14c3b4ad7b3f71820767164fe29ed0f6554629fc2d1e1707462b875a5a64b8e8ed8 + languageName: node + linkType: hard + "jest-message-util@npm:^25.5.0": version: 25.5.0 resolution: "jest-message-util@npm:25.5.0" @@ -19475,6 +20180,23 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-message-util@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-message-util@npm:27.0.6" + dependencies: + "@babel/code-frame": ^7.12.13 + "@jest/types": ^27.0.6 + "@types/stack-utils": ^2.0.0 + chalk: ^4.0.0 + graceful-fs: ^4.2.4 + micromatch: ^4.0.4 + pretty-format: ^27.0.6 + slash: ^3.0.0 + stack-utils: ^2.0.3 + checksum: ef35619ea72511216f285591878b06c6ca1fd885fbceaac91bed1e8f49a5198b08c7014f6fe2c772814107997e533ec9bd4e6fc3c1d8e3ec6c8e35151ee3e42a + languageName: node + linkType: hard + "jest-mock@npm:^25.5.0": version: 25.5.0 resolution: "jest-mock@npm:25.5.0" @@ -19484,7 +20206,17 @@ fsevents@^1.2.7: languageName: node linkType: hard -"jest-pnp-resolver@npm:^1.2.1": +"jest-mock@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-mock@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + "@types/node": "*" + checksum: 2a8b56abf4a8f920cce1cce6a679796965a74ae04c4abe37e51c1d01f6ecfaaa26bba79a431a6f631c327ec9c4f0fa38938697fae4c717fb00337da144a900c3 + languageName: node + linkType: hard + +"jest-pnp-resolver@npm:^1.2.1, jest-pnp-resolver@npm:^1.2.2": version: 1.2.2 resolution: "jest-pnp-resolver@npm:1.2.2" peerDependencies: @@ -19517,6 +20249,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-regex-util@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-regex-util@npm:27.0.6" + checksum: 4d613b00f2076560e9d5e5674ec63a4130d7b1584dbbf25d84d3a455b0ff7a12d8f94eaa00facd7934d285330d370c270ca093667d537a5842e95457e8e1ecf4 + languageName: node + linkType: hard + "jest-resolve-dependencies@npm:^25.5.4": version: 25.5.4 resolution: "jest-resolve-dependencies@npm:25.5.4" @@ -19528,6 +20267,17 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-resolve-dependencies@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-resolve-dependencies@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + jest-regex-util: ^27.0.6 + jest-snapshot: ^27.0.6 + checksum: c1ffbb94794454822b1dd3183764044e3768598947fef0c592b08e5ee0494c26152154288dd81e45d4b56163a8005400ab590a2edd5b6a7b8c82b433a93ea3f7 + languageName: node + linkType: hard + "jest-resolve@npm:25.5.1, jest-resolve@npm:^25.5.1": version: 25.5.1 resolution: "jest-resolve@npm:25.5.1" @@ -19545,6 +20295,23 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-resolve@npm:27.0.6, jest-resolve@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-resolve@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + chalk: ^4.0.0 + escalade: ^3.1.1 + graceful-fs: ^4.2.4 + jest-pnp-resolver: ^1.2.2 + jest-util: ^27.0.6 + jest-validate: ^27.0.6 + resolve: ^1.20.0 + slash: ^3.0.0 + checksum: edfb7479a390b55da1ca4daf3e4c29c62ffd6178f74f92f4777a1b723670be20673296c9259fecc8b51dbfe1ba2202aa4e0c07757bc5e8709a726be7c000268b + languageName: node + linkType: hard + "jest-runner@npm:^25.5.4": version: 25.5.4 resolution: "jest-runner@npm:25.5.4" @@ -19572,6 +20339,36 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-runner@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-runner@npm:27.0.6" + dependencies: + "@jest/console": ^27.0.6 + "@jest/environment": ^27.0.6 + "@jest/test-result": ^27.0.6 + "@jest/transform": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + chalk: ^4.0.0 + emittery: ^0.8.1 + exit: ^0.1.2 + graceful-fs: ^4.2.4 + jest-docblock: ^27.0.6 + jest-environment-jsdom: ^27.0.6 + jest-environment-node: ^27.0.6 + jest-haste-map: ^27.0.6 + jest-leak-detector: ^27.0.6 + jest-message-util: ^27.0.6 + jest-resolve: ^27.0.6 + jest-runtime: ^27.0.6 + jest-util: ^27.0.6 + jest-worker: ^27.0.6 + source-map-support: ^0.5.6 + throat: ^6.0.1 + checksum: d97363932b3d169f6f9fb9200ab73bcc0ef56140896e82204ff7eceadb1aa4bf85b382161bededd775dded25f8787210244346dd5a8eec087a1acc508089da1f + languageName: node + linkType: hard + "jest-runtime@npm:^25.5.4": version: 25.5.4 resolution: "jest-runtime@npm:25.5.4" @@ -19608,6 +20405,40 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-runtime@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-runtime@npm:27.0.6" + dependencies: + "@jest/console": ^27.0.6 + "@jest/environment": ^27.0.6 + "@jest/fake-timers": ^27.0.6 + "@jest/globals": ^27.0.6 + "@jest/source-map": ^27.0.6 + "@jest/test-result": ^27.0.6 + "@jest/transform": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/yargs": ^16.0.0 + chalk: ^4.0.0 + cjs-module-lexer: ^1.0.0 + collect-v8-coverage: ^1.0.0 + exit: ^0.1.2 + glob: ^7.1.3 + graceful-fs: ^4.2.4 + jest-haste-map: ^27.0.6 + jest-message-util: ^27.0.6 + jest-mock: ^27.0.6 + jest-regex-util: ^27.0.6 + jest-resolve: ^27.0.6 + jest-snapshot: ^27.0.6 + jest-util: ^27.0.6 + jest-validate: ^27.0.6 + slash: ^3.0.0 + strip-bom: ^4.0.0 + yargs: ^16.0.3 + checksum: a94f7943eaf63b429626e9537508003ad44ee1687970ccc7696ec28d23fc99e84b7076b145a5cb8959d9bedc504611e4806112b09fb9dfbce1d0d0ce1c300f6c + languageName: node + linkType: hard + "jest-serializer@npm:^25.5.0": version: 25.5.0 resolution: "jest-serializer@npm:25.5.0" @@ -19637,6 +20468,16 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-serializer@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-serializer@npm:27.0.6" + dependencies: + "@types/node": "*" + graceful-fs: ^4.2.4 + checksum: b0b8d97cb17ad4d1414769e4c81441c608cdfb7e3519afdcddc0f660dae4950cb30aad75a414dde97499c4830d961e8dff09d8683911295e299f0d86a104abdc + languageName: node + linkType: hard + "jest-snapshot@npm:^25.5.1": version: 25.5.1 resolution: "jest-snapshot@npm:25.5.1" @@ -19660,6 +20501,38 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-snapshot@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-snapshot@npm:27.0.6" + dependencies: + "@babel/core": ^7.7.2 + "@babel/generator": ^7.7.2 + "@babel/parser": ^7.7.2 + "@babel/plugin-syntax-typescript": ^7.7.2 + "@babel/traverse": ^7.7.2 + "@babel/types": ^7.0.0 + "@jest/transform": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/babel__traverse": ^7.0.4 + "@types/prettier": ^2.1.5 + babel-preset-current-node-syntax: ^1.0.0 + chalk: ^4.0.0 + expect: ^27.0.6 + graceful-fs: ^4.2.4 + jest-diff: ^27.0.6 + jest-get-type: ^27.0.6 + jest-haste-map: ^27.0.6 + jest-matcher-utils: ^27.0.6 + jest-message-util: ^27.0.6 + jest-resolve: ^27.0.6 + jest-util: ^27.0.6 + natural-compare: ^1.4.0 + pretty-format: ^27.0.6 + semver: ^7.3.2 + checksum: 3e5ef5c5bb6c8e59718f5969900d488003d97fba2a9337b2a62ad2620eb309a3df5f0170660737d5b0081493e2f447d48709727e3ffc3ba7ab106a025e18bfca + languageName: node + linkType: hard + "jest-util@npm:^25.5.0": version: 25.5.0 resolution: "jest-util@npm:25.5.0" @@ -19673,7 +20546,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"jest-util@npm:^26.1.0, jest-util@npm:^26.6.2": +"jest-util@npm:^26.6.2": version: 26.6.2 resolution: "jest-util@npm:26.6.2" dependencies: @@ -19687,6 +20560,20 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-util@npm:^27.0.0, jest-util@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-util@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + "@types/node": "*" + chalk: ^4.0.0 + graceful-fs: ^4.2.4 + is-ci: ^3.0.0 + picomatch: ^2.2.3 + checksum: db1131e8b09e0397bf0b857da81f4def96a3877bcc6dc7f63fded6d9c5ab5ca8579465a8118b57647d106cf35452713e9e2de3b15eadfd654b800e75288a768e + languageName: node + linkType: hard + "jest-util@npm:^27.0.1": version: 27.0.1 resolution: "jest-util@npm:27.0.1" @@ -19729,6 +20616,20 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-validate@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-validate@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + camelcase: ^6.2.0 + chalk: ^4.0.0 + jest-get-type: ^27.0.6 + leven: ^3.1.0 + pretty-format: ^27.0.6 + checksum: 6c05ff701176e2a12b7da35c92feeca752418167c0e427b6883a72c746d6a1498955c74474e28d463872c4cdf8cdaaaf03bf8d55bdc5811c660cee2ec0f7a6fd + languageName: node + linkType: hard + "jest-watch-typeahead@npm:0.6.4": version: 0.6.4 resolution: "jest-watch-typeahead@npm:0.6.4" @@ -19790,6 +20691,21 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-watcher@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-watcher@npm:27.0.6" + dependencies: + "@jest/test-result": ^27.0.6 + "@jest/types": ^27.0.6 + "@types/node": "*" + ansi-escapes: ^4.2.1 + chalk: ^4.0.0 + jest-util: ^27.0.6 + string-length: ^4.0.1 + checksum: f473f652bd07fc55105ab0a2de82073567c4e763084a84b31925c16b7b51d1e640ca25e3b442c3a06cc24d40c8af00fd9e1bc051bc4769b78d3aca0f00b1461d + languageName: node + linkType: hard + "jest-worker@npm:^24.9.0": version: 24.9.0 resolution: "jest-worker@npm:24.9.0" @@ -19832,6 +20748,17 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest-worker@npm:^27.0.6": + version: 27.0.6 + resolution: "jest-worker@npm:27.0.6" + dependencies: + "@types/node": "*" + merge-stream: ^2.0.0 + supports-color: ^8.0.0 + checksum: cef42e551033839940ed26c121b7d19ff85316fb5e4b815e1fca28744c884173bb3a6be64729bc95c281902db5142685700fc0922628b646151b0f5dcabbeb37 + languageName: node + linkType: hard + "jest@npm:^25.3.0": version: 25.5.4 resolution: "jest@npm:25.5.4" @@ -19845,6 +20772,24 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jest@npm:^27.0.6": + version: 27.0.6 + resolution: "jest@npm:27.0.6" + dependencies: + "@jest/core": ^27.0.6 + import-local: ^3.0.2 + jest-cli: ^27.0.6 + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + bin: + jest: bin/jest.js + checksum: 60de979335cf28c03f8fdf8ba7aee240d72e11d2b918e50ed31a835b08debf593bca6ad058d3c323ffb670dcd8d5c060c22e0ec9a716fdb40ffa2134db7d6aca + languageName: node + linkType: hard + "jimp@npm:^0.14.0": version: 0.14.0 resolution: "jimp@npm:0.14.0" @@ -19957,6 +20902,46 @@ fsevents@^1.2.7: languageName: node linkType: hard +"jsdom@npm:^16.6.0": + version: 16.6.0 + resolution: "jsdom@npm:16.6.0" + dependencies: + abab: ^2.0.5 + acorn: ^8.2.4 + acorn-globals: ^6.0.0 + cssom: ^0.4.4 + cssstyle: ^2.3.0 + data-urls: ^2.0.0 + decimal.js: ^10.2.1 + domexception: ^2.0.1 + escodegen: ^2.0.0 + form-data: ^3.0.0 + html-encoding-sniffer: ^2.0.1 + http-proxy-agent: ^4.0.1 + https-proxy-agent: ^5.0.0 + is-potential-custom-element-name: ^1.0.1 + nwsapi: ^2.2.0 + parse5: 6.0.1 + saxes: ^5.0.1 + symbol-tree: ^3.2.4 + tough-cookie: ^4.0.0 + w3c-hr-time: ^1.0.2 + w3c-xmlserializer: ^2.0.0 + webidl-conversions: ^6.1.0 + whatwg-encoding: ^1.0.5 + whatwg-mimetype: ^2.3.0 + whatwg-url: ^8.5.0 + ws: ^7.4.5 + xml-name-validator: ^3.0.0 + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + checksum: 4abf126bba167f1cf123601232ceb3be0696a4370c8fa484a1a99d93926f251c372d84233b74aeede55909c3f30c350c646d27409f41353ea733c52e0243f49c + languageName: node + linkType: hard + "jsesc@npm:^2.5.1": version: 2.5.2 resolution: "jsesc@npm:2.5.2" @@ -20669,7 +21654,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"lodash@npm:^4.17.10, lodash@npm:^4.17.21, lodash@npm:^4.17.4": +"lodash@npm:^4.17.10, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -20994,11 +21979,12 @@ fsevents@^1.2.7: "@marigold/tsconfig": "*" "@storybook/react": 6.3.0 "@testing-library/jest-dom": 5.14.1 - "@testing-library/react": 11.2.7 - "@testing-library/react-hooks": 6.0.0 + "@testing-library/react": 12.0.0 + "@testing-library/react-hooks": 7.0.1 "@types/node": 14.17.4 eslint: 7.29.0 husky: 6.0.0 + jest: ^27.0.6 prettier: 2.3.2 pretty-quick: 3.1.1 react: 17.0.2 @@ -22230,7 +23216,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"npm-run-path@npm:^4.0.0": +"npm-run-path@npm:^4.0.0, npm-run-path@npm:^4.0.1": version: 4.0.1 resolution: "npm-run-path@npm:4.0.1" dependencies: @@ -22561,7 +23547,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"onetime@npm:^5.1.0": +"onetime@npm:^5.1.0, onetime@npm:^5.1.2": version: 5.1.2 resolution: "onetime@npm:5.1.2" dependencies: @@ -23203,7 +24189,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"parse5@npm:^6.0.0": +"parse5@npm:6.0.1, parse5@npm:^6.0.0": version: 6.0.1 resolution: "parse5@npm:6.0.1" checksum: 7d569a176c5460897f7c8f3377eff640d54132b9be51ae8a8fa4979af940830b2b0c296ce75e5bd8f4041520aadde13170dbdec44889975f906098ea0002f4bd @@ -24340,6 +25326,18 @@ fsevents@^1.2.7: languageName: node linkType: hard +"pretty-format@npm:^27.0.2, pretty-format@npm:^27.0.6": + version: 27.0.6 + resolution: "pretty-format@npm:27.0.6" + dependencies: + "@jest/types": ^27.0.6 + ansi-regex: ^5.0.0 + ansi-styles: ^5.0.0 + react-is: ^17.0.1 + checksum: 1584f7fe29da829e3cf5c9090b0a18300c4b7b81510047e1d4ba080f87e19b6ce07f191ecf2354d64c1cec4c331009bde255a272db2c8292657b6acc059e4864 + languageName: node + linkType: hard + "pretty-hrtime@npm:^1.0.3": version: 1.0.3 resolution: "pretty-hrtime@npm:1.0.3" @@ -24567,7 +25565,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"psl@npm:^1.1.28": +"psl@npm:^1.1.28, psl@npm:^1.1.33": version: 1.8.0 resolution: "psl@npm:1.8.0" checksum: 6150048ed2da3f919478bee8a82f3828303bc0fc730fb015a48f83c9977682c7b28c60ab01425a72d82a2891a1681627aa530a991d50c086b48a3be27744bde7 @@ -26400,6 +27398,15 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard +"saxes@npm:^5.0.1": + version: 5.0.1 + resolution: "saxes@npm:5.0.1" + dependencies: + xmlchars: ^2.2.0 + checksum: 5636b55cf15f7cf0baa73f2797bf992bdcf75d1b39d82c0aa4608555c774368f6ac321cb641fd5f3d3ceb87805122cd47540da6a7b5960fe0dbdb8f8c263f000 + languageName: node + linkType: hard + "scheduler@npm:^0.20.2": version: 0.20.2 resolution: "scheduler@npm:0.20.2" @@ -28154,7 +29161,7 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"symbol-tree@npm:^3.2.2": +"symbol-tree@npm:^3.2.2, symbol-tree@npm:^3.2.4": version: 3.2.4 resolution: "symbol-tree@npm:3.2.4" checksum: 6e8fc7e1486b8b54bea91199d9535bb72f10842e40c79e882fc94fb7b14b89866adf2fd79efa5ebb5b658bc07fb459ccce5ac0e99ef3d72f474e74aaf284029d @@ -28491,6 +29498,13 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard +"throat@npm:^6.0.1": + version: 6.0.1 + resolution: "throat@npm:6.0.1" + checksum: 782d4171ee4e3cf947483ed2ff1af3e17cc4354c693b9d339284f61f99fbc401d171e0b0d2db3295bb7d447630333e9319c174ebd7ef315c6fb791db9675369c + languageName: node + linkType: hard + "throttle-debounce@npm:^3.0.1": version: 3.0.1 resolution: "throttle-debounce@npm:3.0.1" @@ -28761,6 +29775,17 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard +"tough-cookie@npm:^4.0.0": + version: 4.0.0 + resolution: "tough-cookie@npm:4.0.0" + dependencies: + psl: ^1.1.33 + punycode: ^2.1.1 + universalify: ^0.1.2 + checksum: 0891b37eb7d17faa3479d47f0dce2e3007f2583094ad272f2670d120fbcc3df3b0b0a631ba96ecad49f9e2297d93ff8995ce0d3292d08dd7eabe162f5b224d69 + languageName: node + linkType: hard + "tr46@npm:^1.0.1": version: 1.0.1 resolution: "tr46@npm:1.0.1" @@ -28770,6 +29795,15 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard +"tr46@npm:^2.1.0": + version: 2.1.0 + resolution: "tr46@npm:2.1.0" + dependencies: + punycode: ^2.1.1 + checksum: ffe6049b9dca3ae329b059aada7f515b0f0064c611b39b51ff6b53897e954650f6f63d9319c6c008d36ead477c7b55e5f64c9dc60588ddc91ff720d64eb710b3 + languageName: node + linkType: hard + "trim-newlines@npm:^1.0.0": version: 1.0.0 resolution: "trim-newlines@npm:1.0.0" @@ -28835,14 +29869,14 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"ts-jest@npm:26.5.6": - version: 26.5.6 - resolution: "ts-jest@npm:26.5.6" +"ts-jest@npm:27.0.3": + version: 27.0.3 + resolution: "ts-jest@npm:27.0.3" dependencies: bs-logger: 0.x buffer-from: 1.x fast-json-stable-stringify: 2.x - jest-util: ^26.1.0 + jest-util: ^27.0.0 json5: 2.x lodash: 4.x make-error: 1.x @@ -28850,11 +29884,11 @@ resolve@^2.0.0-next.3: semver: 7.x yargs-parser: 20.x peerDependencies: - jest: ">=26 <27" + jest: ^27.0.0 typescript: ">=3.8 <5.0" bin: ts-jest: cli.js - checksum: 6f65ad4fe67ab3f0fd4c7f9954acbee863af05b2b3f88dd0f490bbcdc58002960fac908b2cb9f009ec14da6fe13cb00a39e291260d6e555abe72448d1c0a017f + checksum: 197f6722e3182de40223d6c7a87fbee06dec5e20748365497f081179bf00e4d95ed5e479d1d9b006752701f0353cb0cc1e16b8b54ffdf83335e5010f642d28b5 languageName: node linkType: hard @@ -29606,7 +30640,7 @@ typescript@^3.7.3: languageName: node linkType: hard -"universalify@npm:^0.1.0": +"universalify@npm:^0.1.0, universalify@npm:^0.1.2": version: 0.1.2 resolution: "universalify@npm:0.1.2" checksum: 40cdc60f6e61070fe658ca36016a8f4ec216b29bf04a55dce14e3710cc84c7448538ef4dad3728d0bfe29975ccd7bfb5f414c45e7b78883567fb31b246f02dff @@ -29944,6 +30978,17 @@ typescript@^3.7.3: languageName: node linkType: hard +"v8-to-istanbul@npm:^8.0.0": + version: 8.0.0 + resolution: "v8-to-istanbul@npm:8.0.0" + dependencies: + "@types/istanbul-lib-coverage": ^2.0.1 + convert-source-map: ^1.6.0 + source-map: ^0.7.3 + checksum: 3e8be80b9967a18c2196b016b29a956ffddb8fd2f2abe5ae126a616209c2ed7ba3172a9630715b375c50f88dd1dea3c97ba3e2ebfaee902dc4cc6a177f31a039 + languageName: node + linkType: hard + "valid-url@npm:1.0.9, valid-url@npm:^1.0.9": version: 1.0.9 resolution: "valid-url@npm:1.0.9" @@ -30067,7 +31112,7 @@ typescript@^3.7.3: languageName: node linkType: hard -"w3c-hr-time@npm:^1.0.1": +"w3c-hr-time@npm:^1.0.1, w3c-hr-time@npm:^1.0.2": version: 1.0.2 resolution: "w3c-hr-time@npm:1.0.2" dependencies: @@ -30087,6 +31132,15 @@ typescript@^3.7.3: languageName: node linkType: hard +"w3c-xmlserializer@npm:^2.0.0": + version: 2.0.0 + resolution: "w3c-xmlserializer@npm:2.0.0" + dependencies: + xml-name-validator: ^3.0.0 + checksum: ae25c51cf71f1fb2516df1ab33a481f83461a117565b95e3d0927432522323f93b1b2846cbb60196d337970c421adb604fc2d0d180c6a47a839da01db5b9973b + languageName: node + linkType: hard + "walker@npm:^1.0.7, walker@npm:~1.0.5": version: 1.0.7 resolution: "walker@npm:1.0.7" @@ -30173,6 +31227,20 @@ typescript@^3.7.3: languageName: node linkType: hard +"webidl-conversions@npm:^5.0.0": + version: 5.0.0 + resolution: "webidl-conversions@npm:5.0.0" + checksum: ccf1ec2ca7c0b5671e5440ace4a66806ae09c49016ab821481bec0c05b1b82695082dc0a27d1fe9d804d475a408ba0c691e6803fd21be608e710955d4589cd69 + languageName: node + linkType: hard + +"webidl-conversions@npm:^6.1.0": + version: 6.1.0 + resolution: "webidl-conversions@npm:6.1.0" + checksum: 1f526507aa491f972a0c1409d07f8444e1d28778dfa269a9971f2e157182f3d496dc33296e4ed45b157fdb3bf535bb90c90bf10c50dcf1dd6caacb2a34cc84fb + languageName: node + linkType: hard + "webpack-dev-middleware@npm:^3.7.2, webpack-dev-middleware@npm:^3.7.3": version: 3.7.3 resolution: "webpack-dev-middleware@npm:3.7.3" @@ -30467,6 +31535,17 @@ typescript@^3.7.3: languageName: node linkType: hard +"whatwg-url@npm:^8.0.0, whatwg-url@npm:^8.5.0": + version: 8.7.0 + resolution: "whatwg-url@npm:8.7.0" + dependencies: + lodash: ^4.7.0 + tr46: ^2.1.0 + webidl-conversions: ^6.1.0 + checksum: a87abcc6cefcece5311eb642858c8fdb234e51ec74196bfacf8def2edae1bfbffdf6acb251646ed6301f8cee44262642d8769c707256125a91387e33f405dd1e + languageName: node + linkType: hard + "which-boxed-primitive@npm:^1.0.1, which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2" @@ -30724,6 +31803,21 @@ typescript@^3.7.3: languageName: node linkType: hard +"ws@npm:^7.4.5": + version: 7.5.1 + resolution: "ws@npm:7.5.1" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: b9da1b5dc8cd57725453b7f2305e39e21ddcfb5d908cc8ae8b12112b955f50d0d4921009f0f9d587000b0c72cb3748db329b3ddbd98e86829ffcf7b9700a58bf + languageName: node + linkType: hard + "x-is-string@npm:^0.1.0": version: 0.1.0 resolution: "x-is-string@npm:0.1.0" @@ -30781,7 +31875,7 @@ typescript@^3.7.3: languageName: node linkType: hard -"xmlchars@npm:^2.1.1": +"xmlchars@npm:^2.1.1, xmlchars@npm:^2.2.0": version: 2.2.0 resolution: "xmlchars@npm:2.2.0" checksum: 8c70ac94070ccca03f47a81fcce3b271bd1f37a591bf5424e787ae313fcb9c212f5f6786e1fa82076a2c632c0141552babcd85698c437506dfa6ae2d58723062 @@ -30960,7 +32054,7 @@ typescript@^3.7.3: languageName: node linkType: hard -"yargs@npm:^16.1.0": +"yargs@npm:^16.0.3, yargs@npm:^16.1.0": version: 16.2.0 resolution: "yargs@npm:16.2.0" dependencies: From 5adf82944332c9ba4b77ea82d31ed897d46b6006 Mon Sep 17 00:00:00 2001 From: Timo Zehnle Date: Tue, 24 Aug 2021 15:45:09 +0200 Subject: [PATCH 2/6] check if OverlayProvider is set --- .../src/Provider/MarigoldProvider.tsx | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/components/src/Provider/MarigoldProvider.tsx b/packages/components/src/Provider/MarigoldProvider.tsx index 491ba9ccd4..46ed8b71b0 100644 --- a/packages/components/src/Provider/MarigoldProvider.tsx +++ b/packages/components/src/Provider/MarigoldProvider.tsx @@ -1,15 +1,33 @@ import React from 'react'; import { OverlayProvider } from '@react-aria/overlays'; -import { ThemeProvider, ThemeProviderProps } from '@marigold/system'; +import { + Theme, + ThemeProvider, + ThemeProviderProps, + useTheme, +} from '@marigold/system'; + +export interface ThemeContextValue { + theme: Theme; +} + +export const defaultThemeValue: ThemeContextValue = { + theme: {}, +}; // a merge of the ThemeProvider and the react-aria OverlayProvider export const MarigoldProvider: React.FC = ({ theme, children, }) => { + const outerTheme = useTheme(); + const outerThemeJson = JSON.stringify(outerTheme, null, 2); + const defaultThemeValueJson = JSON.stringify(defaultThemeValue, null, 2); + const isTopLevel = outerThemeJson === defaultThemeValueJson; + return ( - {children} + {isTopLevel ? {children} : children} ); }; From db550ef9f6180d9878c50c7e12a680514a5cf8d0 Mon Sep 17 00:00:00 2001 From: Timo Zehnle <59875255+ti10le@users.noreply.github.com> Date: Tue, 24 Aug 2021 15:48:06 +0200 Subject: [PATCH 3/6] Create neat-penguins-tap.md --- .changeset/neat-penguins-tap.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/neat-penguins-tap.md diff --git a/.changeset/neat-penguins-tap.md b/.changeset/neat-penguins-tap.md new file mode 100644 index 0000000000..582c2935ba --- /dev/null +++ b/.changeset/neat-penguins-tap.md @@ -0,0 +1,5 @@ +--- +"@marigold/components": patch +--- + +bugfix: add OverlayProvider just once with the MarigoldProvider From 26f289c52385343de1a91ff698e2e3f12ead44a0 Mon Sep 17 00:00:00 2001 From: "viktoria.schwarz" Date: Thu, 9 Sep 2021 08:58:18 +0200 Subject: [PATCH 4/6] use proper theme and context values --- .../src/Provider/MarigoldProvider.tsx | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/packages/components/src/Provider/MarigoldProvider.tsx b/packages/components/src/Provider/MarigoldProvider.tsx index 46ed8b71b0..cd88a8ab90 100644 --- a/packages/components/src/Provider/MarigoldProvider.tsx +++ b/packages/components/src/Provider/MarigoldProvider.tsx @@ -4,29 +4,36 @@ import { Theme, ThemeProvider, ThemeProviderProps, - useTheme, } from '@marigold/system'; -export interface ThemeContextValue { + +interface ThemeContextValue { theme: Theme; } -export const defaultThemeValue: ThemeContextValue = { +const defaultThemeValue: ThemeContextValue = { theme: {}, }; +/** + * @internal + */ +const __MarigoldContext = React.createContext( + defaultThemeValue +) + +const useMarigoldTheme = () => React.useContext(__MarigoldContext) + // a merge of the ThemeProvider and the react-aria OverlayProvider export const MarigoldProvider: React.FC = ({ theme, children, }) => { - const outerTheme = useTheme(); - const outerThemeJson = JSON.stringify(outerTheme, null, 2); - const defaultThemeValueJson = JSON.stringify(defaultThemeValue, null, 2); - const isTopLevel = outerThemeJson === defaultThemeValueJson; + const outerTheme = useMarigoldTheme(); + const isTopLevel = outerTheme === defaultThemeValue return ( - + {isTopLevel ? {children} : children} ); From cfc82885b6705461819185fa4bde6fb5adc520fc Mon Sep 17 00:00:00 2001 From: "viktoria.schwarz" Date: Thu, 9 Sep 2021 10:47:23 +0200 Subject: [PATCH 5/6] OverlayProvider and GlobalStyles once --- .../src/Provider/MarigoldProvider.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/components/src/Provider/MarigoldProvider.tsx b/packages/components/src/Provider/MarigoldProvider.tsx index 500c365ec7..543e24d6b5 100644 --- a/packages/components/src/Provider/MarigoldProvider.tsx +++ b/packages/components/src/Provider/MarigoldProvider.tsx @@ -8,7 +8,6 @@ import { } from '@marigold/system'; import { Global } from '@emotion/react'; - interface ThemeContextValue { theme: Theme; } @@ -20,11 +19,9 @@ const defaultThemeValue: ThemeContextValue = { /** * @internal */ -const __MarigoldContext = React.createContext( - defaultThemeValue -) +const __MarigoldContext = React.createContext(defaultThemeValue); -const useMarigoldTheme = () => React.useContext(__MarigoldContext) +const useMarigoldTheme = () => React.useContext(__MarigoldContext); const GlobalStyles = () => { const { css } = useTheme(); @@ -41,12 +38,17 @@ export const MarigoldProvider: React.FC = ({ children, }) => { const outerTheme = useMarigoldTheme(); - const isTopLevel = outerTheme === defaultThemeValue + const isTopLevel = outerTheme === defaultThemeValue; return ( - {isTopLevel && } - {children} + {isTopLevel ? ( + + {children} + + ) : ( + children + )} ); }; From 41793146be482a2c283ededd17f9ab8b494b43a7 Mon Sep 17 00:00:00 2001 From: Timo Zehnle Date: Thu, 9 Sep 2021 16:24:07 +0200 Subject: [PATCH 6/6] fix Provider problem --- .../src/Provider/MarigoldProvider.tsx | 29 ++----------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/packages/components/src/Provider/MarigoldProvider.tsx b/packages/components/src/Provider/MarigoldProvider.tsx index 4517602f33..d3b311fa07 100644 --- a/packages/components/src/Provider/MarigoldProvider.tsx +++ b/packages/components/src/Provider/MarigoldProvider.tsx @@ -1,29 +1,6 @@ import React from 'react'; import { OverlayProvider } from '@react-aria/overlays'; -import { - Theme, - ThemeProvider, - ThemeProviderProps, - useTheme, -} from '@marigold/system'; -// import { Global } from '@emotion/react'; -// import { css } from '@theme-ui/css'; - -interface ThemeContextValue { - theme: Theme; -} - -const defaultThemeValue: ThemeContextValue = { - theme: {}, -}; - -/** - * @internal - */ -const __MarigoldContext = React.createContext(defaultThemeValue); - -const useMarigoldTheme = () => React.useContext(__MarigoldContext); - +import { ThemeProvider, ThemeProviderProps, useTheme } from '@marigold/system'; // import { Global } from '@emotion/react'; // import { css } from '@theme-ui/css'; @@ -41,8 +18,8 @@ export const MarigoldProvider: React.FC = ({ theme, children, }) => { - const outerTheme = useMarigoldTheme(); - const isTopLevel = outerTheme === defaultThemeValue; + const outerTheme = useTheme(); + const isTopLevel = outerTheme.theme !== theme; return (