From 199ab446dfa1589521f53f82278b37edff546f3b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 14:12:49 -0400 Subject: [PATCH] v2 new release (#77) --- .github/CODEOWNERS | 2 +- README.md | 2 +- action.yml | 2 +- node_modules/.package-lock.json | 398 +- node_modules/@types/jest/LICENSE | 0 node_modules/@types/jest/README.md | 6 +- node_modules/@types/jest/index.d.ts | 167 +- node_modules/@types/jest/package.json | 28 +- node_modules/@types/jest/ts3.2/index.d.ts | 23 - node_modules/diff-sequences/build/index.d.ts | 1 - .../diff-sequences/build/index.d.ts.map | 1 - node_modules/diff-sequences/build/index.js | 6 +- .../diff-sequences/build/ts3.4/index.d.ts | 19 - node_modules/diff-sequences/package.json | 15 +- node_modules/diff-sequences/perf/index.js | 1 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../jest-config/node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - .../jest-diff/build/cleanupSemantic.d.ts | 2 +- node_modules/jest-diff/build/constants.d.ts | 2 +- node_modules/jest-diff/build/constants.js | 18 +- node_modules/jest-diff/build/diffLines.d.ts | 6 +- node_modules/jest-diff/build/diffStrings.d.ts | 2 +- .../jest-diff/build/getAlignedDiffs.d.ts | 2 +- node_modules/jest-diff/build/index.js | 39 +- .../jest-diff/build/joinAlignedDiffs.d.ts | 4 +- node_modules/jest-diff/build/printDiffs.d.ts | 8 +- .../build/ts3.4/cleanupSemantic.d.ts | 57 - .../jest-diff/build/ts3.4/constants.d.ts | 8 - .../jest-diff/build/ts3.4/diffLines.d.ts | 11 - .../jest-diff/build/ts3.4/diffStrings.d.ts | 9 - .../build/ts3.4/getAlignedDiffs.d.ts | 10 - node_modules/jest-diff/build/ts3.4/index.d.ts | 16 - .../build/ts3.4/joinAlignedDiffs.d.ts | 10 - .../build/ts3.4/normalizeDiffOptions.d.ts | 9 - .../jest-diff/build/ts3.4/printDiffs.d.ts | 22 - node_modules/jest-diff/build/ts3.4/types.d.ts | 45 - .../jest-diff/node_modules/chalk/index.d.ts | 411 --- .../jest-diff/node_modules/chalk/license | 9 - .../jest-diff/node_modules/chalk/package.json | 63 - .../jest-diff/node_modules/chalk/readme.md | 304 -- .../node_modules/chalk/source/index.js | 233 -- .../node_modules/chalk/source/templates.js | 134 - .../node_modules/chalk/source/util.js | 39 - .../node_modules/jest-get-type/LICENSE | 21 - .../jest-get-type/build/index.d.ts | 13 - .../jest-get-type/build/index.d.ts.map | 1 - .../node_modules/jest-get-type/build/index.js | 51 - .../jest-get-type/build/ts3.4/index.d.ts | 13 - .../node_modules/jest-get-type/package.json | 27 - node_modules/jest-diff/package.json | 23 +- .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../jest-each/node_modules/react-is/LICENSE | 21 - .../jest-each/node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../jest-each/node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - .../node_modules/diff-sequences/LICENSE | 21 - .../node_modules/diff-sequences/README.md | 404 -- .../diff-sequences/build/index.d.ts | 18 - .../diff-sequences/build/index.js | 802 ---- .../node_modules/diff-sequences/package.json | 35 - .../diff-sequences/perf/example.md | 48 - .../node_modules/diff-sequences/perf/index.js | 170 - .../node_modules/jest-diff/LICENSE | 21 - .../node_modules/jest-diff/README.md | 614 ---- .../jest-diff/build/cleanupSemantic.d.ts | 57 - .../jest-diff/build/cleanupSemantic.js | 651 ---- .../jest-diff/build/constants.d.ts | 8 - .../node_modules/jest-diff/build/constants.js | 19 - .../jest-diff/build/diffLines.d.ts | 11 - .../node_modules/jest-diff/build/diffLines.js | 143 - .../jest-diff/build/diffStrings.d.ts | 9 - .../jest-diff/build/diffStrings.js | 78 - .../jest-diff/build/getAlignedDiffs.d.ts | 10 - .../jest-diff/build/getAlignedDiffs.js | 244 -- .../node_modules/jest-diff/build/index.d.ts | 16 - .../node_modules/jest-diff/build/index.js | 258 -- .../jest-diff/build/joinAlignedDiffs.d.ts | 10 - .../jest-diff/build/joinAlignedDiffs.js | 235 -- .../jest-diff/build/normalizeDiffOptions.d.ts | 9 - .../jest-diff/build/normalizeDiffOptions.js | 57 - .../jest-diff/build/printDiffs.d.ts | 22 - .../jest-diff/build/printDiffs.js | 257 -- .../node_modules/jest-diff/build/types.d.ts | 45 - .../node_modules/jest-diff/build/types.js | 1 - .../node_modules/jest-diff/package.json | 29 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - .../node_modules/diff-sequences/LICENSE | 21 - .../node_modules/diff-sequences/README.md | 404 -- .../diff-sequences/build/index.d.ts | 18 - .../diff-sequences/build/index.js | 802 ---- .../node_modules/diff-sequences/package.json | 35 - .../diff-sequences/perf/example.md | 48 - .../node_modules/diff-sequences/perf/index.js | 170 - .../node_modules/jest-diff/LICENSE | 21 - .../node_modules/jest-diff/README.md | 614 ---- .../jest-diff/build/cleanupSemantic.d.ts | 57 - .../jest-diff/build/cleanupSemantic.js | 651 ---- .../jest-diff/build/constants.d.ts | 8 - .../node_modules/jest-diff/build/constants.js | 19 - .../jest-diff/build/diffLines.d.ts | 11 - .../node_modules/jest-diff/build/diffLines.js | 143 - .../jest-diff/build/diffStrings.d.ts | 9 - .../jest-diff/build/diffStrings.js | 78 - .../jest-diff/build/getAlignedDiffs.d.ts | 10 - .../jest-diff/build/getAlignedDiffs.js | 244 -- .../node_modules/jest-diff/build/index.d.ts | 16 - .../node_modules/jest-diff/build/index.js | 258 -- .../jest-diff/build/joinAlignedDiffs.d.ts | 10 - .../jest-diff/build/joinAlignedDiffs.js | 235 -- .../jest-diff/build/normalizeDiffOptions.d.ts | 9 - .../jest-diff/build/normalizeDiffOptions.js | 57 - .../jest-diff/build/printDiffs.d.ts | 22 - .../jest-diff/build/printDiffs.js | 257 -- .../node_modules/jest-diff/build/types.d.ts | 45 - .../node_modules/jest-diff/build/types.js | 1 - .../node_modules/jest-diff/package.json | 29 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 454 --- .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 185 - .../pretty-format/build/index.d.ts | 37 - .../node_modules/pretty-format/build/index.js | 560 --- .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 103 - .../build/plugins/ConvertAnsi.d.ts | 11 - .../build/plugins/ConvertAnsi.js | 96 - .../build/plugins/DOMCollection.d.ts | 11 - .../build/plugins/DOMCollection.js | 80 - .../build/plugins/DOMElement.d.ts | 11 - .../pretty-format/build/plugins/DOMElement.js | 125 - .../build/plugins/Immutable.d.ts | 11 - .../pretty-format/build/plugins/Immutable.js | 247 -- .../build/plugins/ReactElement.d.ts | 11 - .../build/plugins/ReactElement.js | 166 - .../build/plugins/ReactTestComponent.d.ts | 18 - .../build/plugins/ReactTestComponent.js | 65 - .../build/plugins/lib/escapeHTML.d.ts | 7 - .../build/plugins/lib/escapeHTML.js | 16 - .../build/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/plugins/lib/markup.js | 147 - .../pretty-format/build/types.d.ts | 100 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/pretty-format/package.json | 37 - .../node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../node_modules/react-is/build-info.json | 8 - .../react-is/cjs/react-is.development.js | 226 -- .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 27 - .../react-is/umd/react-is.development.js | 225 -- .../react-is/umd/react-is.production.min.js | 14 - node_modules/lodash.memoize/LICENSE | 47 - node_modules/lodash.memoize/README.md | 18 - node_modules/lodash.memoize/index.js | 676 ---- node_modules/lodash.memoize/package.json | 17 - node_modules/minimist/index.js | 8 +- node_modules/minimist/package.json | 2 +- node_modules/minimist/readme.markdown | 5 +- node_modules/minimist/test/proto.js | 16 + node_modules/mkdirp/CHANGELOG.md | 15 + node_modules/mkdirp/LICENSE | 4 +- node_modules/mkdirp/bin/cmd.js | 89 +- node_modules/mkdirp/bin/usage.txt | 12 - node_modules/mkdirp/index.js | 116 +- node_modules/mkdirp/lib/find-made.js | 29 + node_modules/mkdirp/lib/mkdirp-manual.js | 64 + node_modules/mkdirp/lib/mkdirp-native.js | 39 + node_modules/mkdirp/lib/opts-arg.js | 23 + node_modules/mkdirp/lib/path-arg.js | 29 + node_modules/mkdirp/lib/use-native.js | 10 + node_modules/mkdirp/package.json | 34 +- node_modules/mkdirp/readme.markdown | 246 +- node_modules/pretty-format/README.md | 10 +- node_modules/pretty-format/build-es5/index.js | 3252 ----------------- .../pretty-format/build-es5/index.js.map | 1 - node_modules/pretty-format/build/index.js | 5 +- .../build/plugins/DOMCollection.js | 2 + .../pretty-format/build/plugins/DOMElement.js | 41 +- .../build/plugins/lib/markup.d.ts | 4 +- .../build/ts3.4/collections.d.ts | 32 - .../pretty-format/build/ts3.4/index.d.ts | 37 - .../ts3.4/plugins/AsymmetricMatcher.d.ts | 11 - .../build/ts3.4/plugins/ConvertAnsi.d.ts | 11 - .../build/ts3.4/plugins/DOMCollection.d.ts | 11 - .../build/ts3.4/plugins/DOMElement.d.ts | 11 - .../build/ts3.4/plugins/Immutable.d.ts | 11 - .../build/ts3.4/plugins/ReactElement.d.ts | 11 - .../ts3.4/plugins/ReactTestComponent.d.ts | 18 - .../build/ts3.4/plugins/lib/escapeHTML.d.ts | 7 - .../build/ts3.4/plugins/lib/markup.d.ts | 13 - .../pretty-format/build/ts3.4/types.d.ts | 100 - .../node_modules/@jest/types/LICENSE | 21 - .../@jest/types/build/Circus.d.ts | 176 - .../node_modules/@jest/types/build/Circus.js | 1 - .../@jest/types/build/Config.d.ts | 419 --- .../node_modules/@jest/types/build/Config.js | 15 - .../@jest/types/build/Global.d.ts | 83 - .../node_modules/@jest/types/build/Global.js | 1 - .../@jest/types/build/TestResult.d.ts | 30 - .../@jest/types/build/TestResult.js | 1 - .../@jest/types/build/Transform.d.ts | 12 - .../@jest/types/build/Transform.js | 1 - .../node_modules/@jest/types/build/index.d.ts | 12 - .../node_modules/@jest/types/build/index.js | 1 - .../@jest/types/build/ts3.4/Circus.d.ts | 177 - .../@jest/types/build/ts3.4/Config.d.ts | 420 --- .../@jest/types/build/ts3.4/Global.d.ts | 84 - .../@jest/types/build/ts3.4/TestResult.d.ts | 30 - .../@jest/types/build/ts3.4/Transform.d.ts | 12 - .../@jest/types/build/ts3.4/index.d.ts | 12 - .../node_modules/@jest/types/package.json | 35 - .../@types/istanbul-reports/LICENSE | 21 - .../@types/istanbul-reports/README.md | 16 - .../@types/istanbul-reports/index.d.ts | 50 - .../@types/istanbul-reports/package.json | 27 - .../node_modules/chalk/index.d.ts | 411 --- .../pretty-format/node_modules/chalk/license | 9 - .../node_modules/chalk/package.json | 63 - .../node_modules/chalk/readme.md | 304 -- .../node_modules/chalk/source/index.js | 233 -- .../node_modules/chalk/source/templates.js | 134 - .../node_modules/chalk/source/util.js | 39 - node_modules/pretty-format/package.json | 19 +- node_modules/react-is/build-info.json | 10 +- .../react-is/cjs/react-is.development.js | 119 +- .../react-is/cjs/react-is.production.min.js | 15 +- node_modules/react-is/package.json | 2 +- .../react-is/umd/react-is.development.js | 120 +- .../react-is/umd/react-is.production.min.js | 13 +- node_modules/ts-jest/.ts-jest-digest | 2 +- node_modules/ts-jest/CHANGELOG.md | 271 ++ node_modules/ts-jest/README.md | 23 +- node_modules/ts-jest/dist/cli/config/init.js | 6 +- .../ts-jest/dist/cli/config/migrate.js | 8 +- node_modules/ts-jest/dist/cli/help.js | 1 + .../ts-jest/dist/cli/helpers/presets.js | 10 +- node_modules/ts-jest/dist/cli/index.js | 10 +- .../ts-jest/dist/compiler/compiler-utils.d.ts | 1 - .../ts-jest/dist/compiler/compiler-utils.js | 33 - .../ts-jest/dist/compiler/instance.d.ts | 3 +- .../ts-jest/dist/compiler/instance.js | 71 +- .../ts-jest/dist/compiler/language-service.js | 191 +- .../ts-jest/dist/compiler/transpiler.js | 22 +- .../ts-jest/dist/config/config-set.d.ts | 31 +- .../ts-jest/dist/config/config-set.js | 946 ++--- .../dist/config/create-jest-preset.d.ts | 10 - .../config/paths-to-module-name-mapper.d.ts | 9 +- .../config/paths-to-module-name-mapper.js | 27 +- node_modules/ts-jest/dist/constants.d.ts | 5 +- node_modules/ts-jest/dist/constants.js | 4 +- node_modules/ts-jest/dist/index.d.ts | 14 +- node_modules/ts-jest/dist/index.js | 66 +- .../dist/presets/create-jest-preset.d.ts | 7 + .../{config => presets}/create-jest-preset.js | 3 +- .../ts-jest/dist/transformers/hoist-jest.js | 70 +- .../ts-jest/dist/transformers/index.js | 22 +- .../dist/transformers/path-mapping.d.ts | 3 + .../ts-jest/dist/transformers/path-mapping.js | 121 + .../ts-jest/dist/ts-jest-transformer.d.ts | 13 +- .../ts-jest/dist/ts-jest-transformer.js | 99 +- node_modules/ts-jest/dist/tsconfig-raw.d.ts | 105 + node_modules/ts-jest/dist/tsconfig-raw.js | 2 + node_modules/ts-jest/dist/types.d.ts | 80 +- node_modules/ts-jest/dist/util/exported.d.ts | 3 - node_modules/ts-jest/dist/util/exported.js | 8 - node_modules/ts-jest/dist/util/json.d.ts | 1 - .../ts-jest/dist/util/jsonable-value.d.ts | 1 - node_modules/ts-jest/dist/util/logger.d.ts | 1 - .../ts-jest/dist/util/version-checkers.js | 56 - .../dist/{util => utils}/backports.d.ts | 0 .../ts-jest/dist/{util => utils}/backports.js | 9 +- .../{util => utils}/get-package-version.d.ts | 0 .../{util => utils}/get-package-version.js | 1 + .../dist/{util => utils}/importer.d.ts | 0 .../ts-jest/dist/{util => utils}/importer.js | 3 +- node_modules/ts-jest/dist/utils/json.d.ts | 2 + .../ts-jest/dist/{util => utils}/json.js | 1 + .../ts-jest/dist/utils/jsonable-value.d.ts | 10 + .../dist/{util => utils}/jsonable-value.js | 5 +- node_modules/ts-jest/dist/utils/logger.d.ts | 1 + .../ts-jest/dist/{util => utils}/logger.js | 1 + .../ts-jest/dist/{util => utils}/memoize.d.ts | 0 .../ts-jest/dist/{util => utils}/memoize.js | 1 + .../dist/{util => utils}/messages.d.ts | 0 .../ts-jest/dist/{util => utils}/messages.js | 1 + .../{util => utils}/normalize-slashes.d.ts | 0 .../dist/{util => utils}/normalize-slashes.js | 1 + .../ts-jest/dist/{util => utils}/sha1.d.ts | 0 .../ts-jest/dist/{util => utils}/sha1.js | 1 + .../ts-jest/dist/{util => utils}/testing.d.ts | 23 +- .../ts-jest/dist/{util => utils}/testing.js | 1 + .../dist/{util => utils}/ts-error.d.ts | 0 .../ts-jest/dist/{util => utils}/ts-error.js | 3 +- .../{util => utils}/version-checkers.d.ts | 0 .../ts-jest/dist/utils/version-checkers.js | 60 + node_modules/ts-jest/jest-preset.js | 2 +- .../ts-jest/node_modules/semver/LICENSE | 15 + .../ts-jest/node_modules/semver/README.md | 568 +++ .../ts-jest/node_modules/semver/bin/semver.js | 183 + .../node_modules/semver/classes/comparator.js | 136 + .../node_modules/semver/classes/index.js | 5 + .../node_modules/semver/classes/range.js | 519 +++ .../node_modules/semver/classes/semver.js | 287 ++ .../node_modules/semver/functions/clean.js | 6 + .../node_modules/semver/functions/cmp.js | 52 + .../node_modules/semver/functions/coerce.js | 52 + .../semver/functions/compare-build.js | 7 + .../semver/functions/compare-loose.js | 3 + .../node_modules/semver/functions/compare.js | 5 + .../node_modules/semver/functions/diff.js | 23 + .../node_modules/semver/functions/eq.js | 3 + .../node_modules/semver/functions/gt.js | 3 + .../node_modules/semver/functions/gte.js | 3 + .../node_modules/semver/functions/inc.js | 18 + .../node_modules/semver/functions/lt.js | 3 + .../node_modules/semver/functions/lte.js | 3 + .../node_modules/semver/functions/major.js | 3 + .../node_modules/semver/functions/minor.js | 3 + .../node_modules/semver/functions/neq.js | 3 + .../node_modules/semver/functions/parse.js | 33 + .../node_modules/semver/functions/patch.js | 3 + .../semver/functions/prerelease.js | 6 + .../node_modules/semver/functions/rcompare.js | 3 + .../node_modules/semver/functions/rsort.js | 3 + .../semver/functions/satisfies.js | 10 + .../node_modules/semver/functions/sort.js | 3 + .../node_modules/semver/functions/valid.js | 6 + .../ts-jest/node_modules/semver/index.js | 48 + .../node_modules/semver/internal/constants.js | 17 + .../node_modules/semver/internal/debug.js | 9 + .../semver/internal/identifiers.js | 23 + .../semver/internal/parse-options.js | 11 + .../node_modules/semver/internal/re.js | 182 + .../ts-jest/node_modules/semver/package.json | 75 + .../ts-jest/node_modules/semver/preload.js | 2 + .../ts-jest/node_modules/semver/range.bnf | 16 + .../ts-jest/node_modules/semver/ranges/gtr.js | 4 + .../node_modules/semver/ranges/intersects.js | 7 + .../ts-jest/node_modules/semver/ranges/ltr.js | 4 + .../semver/ranges/max-satisfying.js | 25 + .../semver/ranges/min-satisfying.js | 24 + .../node_modules/semver/ranges/min-version.js | 61 + .../node_modules/semver/ranges/outside.js | 80 + .../node_modules/semver/ranges/simplify.js | 47 + .../node_modules/semver/ranges/subset.js | 244 ++ .../semver/ranges/to-comparators.js | 8 + .../node_modules/semver/ranges/valid.js | 11 + .../node_modules/yargs-parser/CHANGELOG.md | 263 ++ .../node_modules/yargs-parser/LICENSE.txt | 14 + .../node_modules/yargs-parser/README.md | 518 +++ .../node_modules/yargs-parser/browser.js | 29 + .../node_modules/yargs-parser/build/index.cjs | 1042 ++++++ .../yargs-parser/build/lib/index.js | 59 + .../yargs-parser/build/lib/string-utils.js | 65 + .../build/lib/tokenize-arg-string.js | 40 + .../build/lib/yargs-parser-types.js | 12 + .../yargs-parser/build/lib/yargs-parser.js | 1037 ++++++ .../node_modules/yargs-parser/package.json | 87 + node_modules/ts-jest/package.json | 72 +- node_modules/ts-jest/presets/create.js | 1 - node_modules/ts-jest/presets/index.d.ts | 11 +- node_modules/ts-jest/presets/index.js | 8 +- node_modules/ts-jest/utils/index.d.ts | 4 +- node_modules/ts-jest/utils/index.js | 16 +- package-lock.json | 748 +--- package.json | 6 +- 611 files changed, 8668 insertions(+), 45625 deletions(-) mode change 100644 => 100755 node_modules/@types/jest/LICENSE mode change 100644 => 100755 node_modules/@types/jest/README.md mode change 100644 => 100755 node_modules/@types/jest/index.d.ts mode change 100644 => 100755 node_modules/@types/jest/package.json delete mode 100644 node_modules/@types/jest/ts3.2/index.d.ts delete mode 100644 node_modules/diff-sequences/build/index.d.ts.map delete mode 100644 node_modules/diff-sequences/build/ts3.4/index.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-config/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-config/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-config/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-config/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-config/node_modules/react-is/README.md delete mode 100644 node_modules/jest-config/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-config/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-config/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-config/node_modules/react-is/index.js delete mode 100644 node_modules/jest-config/node_modules/react-is/package.json delete mode 100644 node_modules/jest-config/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-config/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/jest-diff/build/ts3.4/cleanupSemantic.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/constants.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/diffLines.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/diffStrings.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/getAlignedDiffs.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/index.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/joinAlignedDiffs.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/normalizeDiffOptions.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/printDiffs.d.ts delete mode 100644 node_modules/jest-diff/build/ts3.4/types.d.ts delete mode 100644 node_modules/jest-diff/node_modules/chalk/index.d.ts delete mode 100644 node_modules/jest-diff/node_modules/chalk/license delete mode 100644 node_modules/jest-diff/node_modules/chalk/package.json delete mode 100644 node_modules/jest-diff/node_modules/chalk/readme.md delete mode 100644 node_modules/jest-diff/node_modules/chalk/source/index.js delete mode 100644 node_modules/jest-diff/node_modules/chalk/source/templates.js delete mode 100644 node_modules/jest-diff/node_modules/chalk/source/util.js delete mode 100644 node_modules/jest-diff/node_modules/jest-get-type/LICENSE delete mode 100644 node_modules/jest-diff/node_modules/jest-get-type/build/index.d.ts delete mode 100644 node_modules/jest-diff/node_modules/jest-get-type/build/index.d.ts.map delete mode 100644 node_modules/jest-diff/node_modules/jest-get-type/build/index.js delete mode 100644 node_modules/jest-diff/node_modules/jest-get-type/build/ts3.4/index.d.ts delete mode 100644 node_modules/jest-diff/node_modules/jest-get-type/package.json delete mode 100644 node_modules/jest-each/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-each/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-each/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-each/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-each/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-each/node_modules/react-is/README.md delete mode 100644 node_modules/jest-each/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-each/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-each/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-each/node_modules/react-is/index.js delete mode 100644 node_modules/jest-each/node_modules/react-is/package.json delete mode 100644 node_modules/jest-each/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-each/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-jasmine2/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-jasmine2/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/README.md delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/index.js delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/package.json delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-jasmine2/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-leak-detector/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-leak-detector/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/README.md delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/index.js delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/package.json delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-leak-detector/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/diff-sequences/LICENSE delete mode 100644 node_modules/jest-matcher-utils/node_modules/diff-sequences/README.md delete mode 100644 node_modules/jest-matcher-utils/node_modules/diff-sequences/build/index.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/diff-sequences/build/index.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/diff-sequences/package.json delete mode 100644 node_modules/jest-matcher-utils/node_modules/diff-sequences/perf/example.md delete mode 100644 node_modules/jest-matcher-utils/node_modules/diff-sequences/perf/index.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/LICENSE delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/README.md delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/cleanupSemantic.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/cleanupSemantic.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/constants.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/constants.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/diffLines.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/diffLines.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/diffStrings.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/diffStrings.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/getAlignedDiffs.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/getAlignedDiffs.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/index.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/index.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/joinAlignedDiffs.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/joinAlignedDiffs.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/normalizeDiffOptions.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/normalizeDiffOptions.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/printDiffs.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/printDiffs.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/types.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/build/types.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/jest-diff/package.json delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-matcher-utils/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/README.md delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/index.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/package.json delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-matcher-utils/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-message-util/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-message-util/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-message-util/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-message-util/node_modules/react-is/README.md delete mode 100644 node_modules/jest-message-util/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-message-util/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-message-util/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-message-util/node_modules/react-is/index.js delete mode 100644 node_modules/jest-message-util/node_modules/react-is/package.json delete mode 100644 node_modules/jest-message-util/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-message-util/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/jest-snapshot/node_modules/diff-sequences/LICENSE delete mode 100644 node_modules/jest-snapshot/node_modules/diff-sequences/README.md delete mode 100644 node_modules/jest-snapshot/node_modules/diff-sequences/build/index.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/diff-sequences/build/index.js delete mode 100644 node_modules/jest-snapshot/node_modules/diff-sequences/package.json delete mode 100644 node_modules/jest-snapshot/node_modules/diff-sequences/perf/example.md delete mode 100644 node_modules/jest-snapshot/node_modules/diff-sequences/perf/index.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/LICENSE delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/README.md delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/cleanupSemantic.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/cleanupSemantic.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/constants.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/constants.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/diffLines.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/diffLines.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/diffStrings.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/diffStrings.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/getAlignedDiffs.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/getAlignedDiffs.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/index.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/index.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/joinAlignedDiffs.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/joinAlignedDiffs.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/normalizeDiffOptions.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/normalizeDiffOptions.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/printDiffs.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/printDiffs.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/types.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/build/types.js delete mode 100644 node_modules/jest-snapshot/node_modules/jest-diff/package.json delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-snapshot/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-snapshot/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/README.md delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/index.js delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/package.json delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-snapshot/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/LICENSE delete mode 100755 node_modules/jest-validate/node_modules/pretty-format/README.md delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/index.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/build/types.js delete mode 100644 node_modules/jest-validate/node_modules/pretty-format/package.json delete mode 100644 node_modules/jest-validate/node_modules/react-is/LICENSE delete mode 100644 node_modules/jest-validate/node_modules/react-is/README.md delete mode 100644 node_modules/jest-validate/node_modules/react-is/build-info.json delete mode 100644 node_modules/jest-validate/node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/jest-validate/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/jest-validate/node_modules/react-is/index.js delete mode 100644 node_modules/jest-validate/node_modules/react-is/package.json delete mode 100644 node_modules/jest-validate/node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/jest-validate/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/lodash.memoize/LICENSE delete mode 100644 node_modules/lodash.memoize/README.md delete mode 100644 node_modules/lodash.memoize/index.js delete mode 100644 node_modules/lodash.memoize/package.json create mode 100644 node_modules/mkdirp/CHANGELOG.md delete mode 100644 node_modules/mkdirp/bin/usage.txt create mode 100644 node_modules/mkdirp/lib/find-made.js create mode 100644 node_modules/mkdirp/lib/mkdirp-manual.js create mode 100644 node_modules/mkdirp/lib/mkdirp-native.js create mode 100644 node_modules/mkdirp/lib/opts-arg.js create mode 100644 node_modules/mkdirp/lib/path-arg.js create mode 100644 node_modules/mkdirp/lib/use-native.js delete mode 100644 node_modules/pretty-format/build-es5/index.js delete mode 100644 node_modules/pretty-format/build-es5/index.js.map delete mode 100644 node_modules/pretty-format/build/ts3.4/collections.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/index.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/DOMCollection.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/DOMElement.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/Immutable.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/ReactElement.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/plugins/lib/markup.d.ts delete mode 100644 node_modules/pretty-format/build/ts3.4/types.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/LICENSE delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Circus.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Circus.js delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Config.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Config.js delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Global.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Global.js delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/TestResult.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/TestResult.js delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Transform.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/Transform.js delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/index.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/index.js delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/ts3.4/Circus.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/ts3.4/Config.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/ts3.4/Global.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/ts3.4/TestResult.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/ts3.4/Transform.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/build/ts3.4/index.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@jest/types/package.json delete mode 100644 node_modules/pretty-format/node_modules/@types/istanbul-reports/LICENSE delete mode 100644 node_modules/pretty-format/node_modules/@types/istanbul-reports/README.md delete mode 100644 node_modules/pretty-format/node_modules/@types/istanbul-reports/index.d.ts delete mode 100644 node_modules/pretty-format/node_modules/@types/istanbul-reports/package.json delete mode 100644 node_modules/pretty-format/node_modules/chalk/index.d.ts delete mode 100644 node_modules/pretty-format/node_modules/chalk/license delete mode 100644 node_modules/pretty-format/node_modules/chalk/package.json delete mode 100644 node_modules/pretty-format/node_modules/chalk/readme.md delete mode 100644 node_modules/pretty-format/node_modules/chalk/source/index.js delete mode 100644 node_modules/pretty-format/node_modules/chalk/source/templates.js delete mode 100644 node_modules/pretty-format/node_modules/chalk/source/util.js delete mode 100644 node_modules/ts-jest/dist/compiler/compiler-utils.d.ts delete mode 100644 node_modules/ts-jest/dist/compiler/compiler-utils.js delete mode 100644 node_modules/ts-jest/dist/config/create-jest-preset.d.ts create mode 100644 node_modules/ts-jest/dist/presets/create-jest-preset.d.ts rename node_modules/ts-jest/dist/{config => presets}/create-jest-preset.js (93%) create mode 100644 node_modules/ts-jest/dist/transformers/path-mapping.d.ts create mode 100644 node_modules/ts-jest/dist/transformers/path-mapping.js create mode 100644 node_modules/ts-jest/dist/tsconfig-raw.d.ts create mode 100644 node_modules/ts-jest/dist/tsconfig-raw.js delete mode 100644 node_modules/ts-jest/dist/util/exported.d.ts delete mode 100644 node_modules/ts-jest/dist/util/exported.js delete mode 100644 node_modules/ts-jest/dist/util/json.d.ts delete mode 100644 node_modules/ts-jest/dist/util/jsonable-value.d.ts delete mode 100644 node_modules/ts-jest/dist/util/logger.d.ts delete mode 100644 node_modules/ts-jest/dist/util/version-checkers.js rename node_modules/ts-jest/dist/{util => utils}/backports.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/backports.js (87%) rename node_modules/ts-jest/dist/{util => utils}/get-package-version.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/get-package-version.js (88%) rename node_modules/ts-jest/dist/{util => utils}/importer.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/importer.js (98%) create mode 100644 node_modules/ts-jest/dist/utils/json.d.ts rename node_modules/ts-jest/dist/{util => utils}/json.js (94%) create mode 100644 node_modules/ts-jest/dist/utils/jsonable-value.d.ts rename node_modules/ts-jest/dist/{util => utils}/jsonable-value.js (91%) create mode 100644 node_modules/ts-jest/dist/utils/logger.d.ts rename node_modules/ts-jest/dist/{util => utils}/logger.js (96%) rename node_modules/ts-jest/dist/{util => utils}/memoize.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/memoize.js (98%) rename node_modules/ts-jest/dist/{util => utils}/messages.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/messages.js (90%) rename node_modules/ts-jest/dist/{util => utils}/normalize-slashes.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/normalize-slashes.js (84%) rename node_modules/ts-jest/dist/{util => utils}/sha1.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/sha1.js (95%) rename node_modules/ts-jest/dist/{util => utils}/testing.d.ts (52%) rename node_modules/ts-jest/dist/{util => utils}/testing.js (88%) rename node_modules/ts-jest/dist/{util => utils}/ts-error.d.ts (100%) rename node_modules/ts-jest/dist/{util => utils}/ts-error.js (90%) rename node_modules/ts-jest/dist/{util => utils}/version-checkers.d.ts (100%) create mode 100644 node_modules/ts-jest/dist/utils/version-checkers.js create mode 100644 node_modules/ts-jest/node_modules/semver/LICENSE create mode 100644 node_modules/ts-jest/node_modules/semver/README.md create mode 100755 node_modules/ts-jest/node_modules/semver/bin/semver.js create mode 100644 node_modules/ts-jest/node_modules/semver/classes/comparator.js create mode 100644 node_modules/ts-jest/node_modules/semver/classes/index.js create mode 100644 node_modules/ts-jest/node_modules/semver/classes/range.js create mode 100644 node_modules/ts-jest/node_modules/semver/classes/semver.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/clean.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/cmp.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/coerce.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/compare-build.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/compare-loose.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/compare.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/diff.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/eq.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/gt.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/gte.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/inc.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/lt.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/lte.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/major.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/minor.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/neq.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/parse.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/patch.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/prerelease.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/rcompare.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/rsort.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/satisfies.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/sort.js create mode 100644 node_modules/ts-jest/node_modules/semver/functions/valid.js create mode 100644 node_modules/ts-jest/node_modules/semver/index.js create mode 100644 node_modules/ts-jest/node_modules/semver/internal/constants.js create mode 100644 node_modules/ts-jest/node_modules/semver/internal/debug.js create mode 100644 node_modules/ts-jest/node_modules/semver/internal/identifiers.js create mode 100644 node_modules/ts-jest/node_modules/semver/internal/parse-options.js create mode 100644 node_modules/ts-jest/node_modules/semver/internal/re.js create mode 100644 node_modules/ts-jest/node_modules/semver/package.json create mode 100644 node_modules/ts-jest/node_modules/semver/preload.js create mode 100644 node_modules/ts-jest/node_modules/semver/range.bnf create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/gtr.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/intersects.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/ltr.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/max-satisfying.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/min-satisfying.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/min-version.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/outside.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/simplify.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/subset.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/to-comparators.js create mode 100644 node_modules/ts-jest/node_modules/semver/ranges/valid.js create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/CHANGELOG.md create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/LICENSE.txt create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/README.md create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/browser.js create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/build/index.cjs create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/build/lib/index.js create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/build/lib/string-utils.js create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/build/lib/tokenize-arg-string.js create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/build/lib/yargs-parser-types.js create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/build/lib/yargs-parser.js create mode 100644 node_modules/ts-jest/node_modules/yargs-parser/package.json delete mode 100644 node_modules/ts-jest/presets/create.js diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1005418..81e0eb6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @Azure/aksatlanta \ No newline at end of file +* @Azure/aks-atlanta diff --git a/README.md b/README.md index 2021a91..10b8e14 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Install a specific version of helm binary on the runner. ## Example -Acceptable values are latest or any semantic version string like v2.16.7 Use this action in workflow to define which version of helm will be used. +Acceptable values are latest or any semantic version string like v3.5.0 Use this action in workflow to define which version of helm will be used. v2 of this action only supports Helm3. ```yaml - uses: azure/setup-helm@v1 diff --git a/action.yml b/action.yml index 9e69627..8746ff0 100644 --- a/action.yml +++ b/action.yml @@ -11,5 +11,5 @@ outputs: branding: color: "blue" runs: - using: "node12" + using: "node16" main: "lib/index.js" diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index ecd0c7f..5097a64 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1017,13 +1017,13 @@ } }, "node_modules/@types/jest": { - "version": "25.2.3", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-25.2.3.tgz", - "integrity": "sha512-JXc1nK/tXHiDhV55dvfzqtmP4S3sy3T3ouV2tkViZgxY/zeUkcpQcQPGRlgF4KmWzWW5oiWYSZwtCB+2RsE4Fw==", + "version": "26.0.24", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.24.tgz", + "integrity": "sha512-E/X5Vib8BWqZNRlDxj9vYXhsDwPYbPINqKF9BsnSoon4RQ0D9moEuLD8txgyypFLH7J4+Lho9Nr/c8H0Fi+17w==", "dev": true, "dependencies": { - "jest-diff": "^25.2.1", - "pretty-format": "^25.2.1" + "jest-diff": "^26.0.0", + "pretty-format": "^26.0.0" } }, "node_modules/@types/node": { @@ -1933,12 +1933,12 @@ } }, "node_modules/diff-sequences": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.2.6.tgz", - "integrity": "sha512-Hq8o7+6GaZeoFjtpgvRBUknSXNeJiCx7V9Fr94ZMljNiCr9n9L8H8aJqgWOQiDDGdyn29fRNcDdRVJ5fdyihfg==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", + "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", "dev": true, "engines": { - "node": ">= 8.3" + "node": ">= 10.14.2" } }, "node_modules/domexception": { @@ -3116,62 +3116,19 @@ } } }, - "node_modules/jest-config/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-config/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-diff": { - "version": "25.5.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.5.0.tgz", - "integrity": "sha512-z1kygetuPiREYdNIumRpAHY6RXiGmp70YHptjdaxTWGmA085W3iCnXNx0DhflK3vwrKmrRWyY1wUpkPMVxMK7A==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", + "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", "dev": true, "dependencies": { - "chalk": "^3.0.0", - "diff-sequences": "^25.2.6", - "jest-get-type": "^25.2.6", - "pretty-format": "^25.5.0" + "chalk": "^4.0.0", + "diff-sequences": "^26.6.2", + "jest-get-type": "^26.3.0", + "pretty-format": "^26.6.2" }, "engines": { - "node": ">= 8.3" - } - }, - "node_modules/jest-diff/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-diff/node_modules/jest-get-type": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.2.6.tgz", - "integrity": "sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig==", - "dev": true, - "engines": { - "node": ">= 8.3" + "node": ">= 10.14.2" } }, "node_modules/jest-docblock": { @@ -3202,27 +3159,6 @@ "node": ">= 10.14.2" } }, - "node_modules/jest-each/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-each/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-environment-jsdom": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz", @@ -3323,27 +3259,6 @@ "node": ">= 10.14.2" } }, - "node_modules/jest-jasmine2/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-jasmine2/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-leak-detector": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz", @@ -3357,27 +3272,6 @@ "node": ">= 10.14.2" } }, - "node_modules/jest-leak-detector/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-leak-detector/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-matcher-utils": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz", @@ -3393,51 +3287,6 @@ "node": ">= 10.14.2" } }, - "node_modules/jest-matcher-utils/node_modules/diff-sequences": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", - "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", - "dev": true, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-matcher-utils/node_modules/jest-diff": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", - "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^26.6.2", - "jest-get-type": "^26.3.0", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-matcher-utils/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-matcher-utils/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-message-util": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz", @@ -3458,27 +3307,6 @@ "node": ">= 10.14.2" } }, - "node_modules/jest-message-util/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-message-util/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-mock": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz", @@ -3663,51 +3491,6 @@ "node": ">= 10.14.2" } }, - "node_modules/jest-snapshot/node_modules/diff-sequences": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz", - "integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==", - "dev": true, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-snapshot/node_modules/jest-diff": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz", - "integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^26.6.2", - "jest-get-type": "^26.3.0", - "pretty-format": "^26.6.2" - }, - "engines": { - "node": ">= 10.14.2" - } - }, - "node_modules/jest-snapshot/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-snapshot/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-snapshot/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -3769,27 +3552,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-validate/node_modules/pretty-format": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", - "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", - "dev": true, - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/jest-validate/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-watcher": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz", @@ -3984,12 +3746,6 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", - "dev": true - }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -4115,9 +3871,9 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, "node_modules/mixin-deep": { @@ -4134,15 +3890,15 @@ } }, "node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, - "dependencies": { - "minimist": "^1.2.5" - }, "bin": { "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/ms": { @@ -4662,56 +4418,18 @@ } }, "node_modules/pretty-format": { - "version": "25.5.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.5.0.tgz", - "integrity": "sha512-kbo/kq2LQ/A/is0PQwsEHM7Ca6//bGPPvU6UnsdDRSKTWxT/ru/xb88v4BJf6a69H+uTytOEsTusT9ksd/1iWQ==", + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz", + "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==", "dev": true, "dependencies": { - "@jest/types": "^25.5.0", + "@jest/types": "^26.6.2", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", - "react-is": "^16.12.0" + "react-is": "^17.0.1" }, "engines": { - "node": ">= 8.3" - } - }, - "node_modules/pretty-format/node_modules/@jest/types": { - "version": "25.5.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.5.0.tgz", - "integrity": "sha512-OXD0RgQ86Tu3MazKo8bnrkDRaDXXMGUqd+kTtLtK1Zb7CRzQcaSRPPPV37SvYTdevXEBVxe0HXylEjs8ibkmCw==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^1.1.1", - "@types/yargs": "^15.0.0", - "chalk": "^3.0.0" - }, - "engines": { - "node": ">= 8.3" - } - }, - "node_modules/pretty-format/node_modules/@types/istanbul-reports": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz", - "integrity": "sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "*", - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/pretty-format/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" + "node": ">= 10" } }, "node_modules/prompts": { @@ -4767,9 +4485,9 @@ } }, "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true }, "node_modules/read-pkg": { @@ -6036,31 +5754,55 @@ } }, "node_modules/ts-jest": { - "version": "25.5.1", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-25.5.1.tgz", - "integrity": "sha512-kHEUlZMK8fn8vkxDjwbHlxXRB9dHYpyzqKIGDNxbzs+Rz+ssNDSDNusEK8Fk/sDd4xE6iKoQLfFkFVaskmTJyw==", + "version": "26.5.6", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.5.6.tgz", + "integrity": "sha512-rua+rCP8DxpA8b4DQD/6X2HQS8Zy/xzViVYfEs2OQu68tkCuKLV0Md8pmX55+W24uRIyAsf/BajRfxOs+R2MKA==", "dev": true, "dependencies": { "bs-logger": "0.x", "buffer-from": "1.x", "fast-json-stable-stringify": "2.x", + "jest-util": "^26.1.0", "json5": "2.x", - "lodash.memoize": "4.x", + "lodash": "4.x", "make-error": "1.x", - "micromatch": "4.x", - "mkdirp": "0.x", - "semver": "6.x", - "yargs-parser": "18.x" + "mkdirp": "1.x", + "semver": "7.x", + "yargs-parser": "20.x" }, "bin": { "ts-jest": "cli.js" }, "engines": { - "node": ">= 8" + "node": ">= 10" }, "peerDependencies": { - "jest": ">=25 <26", - "typescript": ">=3.4 <4.0" + "jest": ">=26 <27", + "typescript": ">=3.8 <5.0" + } + }, + "node_modules/ts-jest/node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-jest/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" } }, "node_modules/tunnel": { diff --git a/node_modules/@types/jest/LICENSE b/node_modules/@types/jest/LICENSE old mode 100644 new mode 100755 diff --git a/node_modules/@types/jest/README.md b/node_modules/@types/jest/README.md old mode 100644 new mode 100755 index 838b719..ff338bf --- a/node_modules/@types/jest/README.md +++ b/node_modules/@types/jest/README.md @@ -8,10 +8,10 @@ This package contains type definitions for Jest (https://jestjs.io/). Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest. ### Additional Details - * Last updated: Mon, 18 May 2020 19:24:51 GMT - * Dependencies: none + * Last updated: Tue, 06 Jul 2021 21:33:43 GMT + * Dependencies: [@types/jest-diff](https://npmjs.com/package/@types/jest-diff), [@types/pretty-format](https://npmjs.com/package/@types/pretty-format) * Global values: `afterAll`, `afterEach`, `beforeAll`, `beforeEach`, `describe`, `expect`, `fail`, `fdescribe`, `fit`, `it`, `jasmine`, `jest`, `pending`, `spyOn`, `test`, `xdescribe`, `xit`, `xtest` # Credits These definitions were written by [Asana (https://asana.com) -// Ivo Stratev](https://github.com/NoHomey), [jwbay](https://github.com/jwbay), [Alexey Svetliakov](https://github.com/asvetliakov), [Alex Jover Morales](https://github.com/alexjoverm), [Allan Lukwago](https://github.com/epicallan), [Ika](https://github.com/ikatyang), [Waseem Dahman](https://github.com/wsmd), [Jamie Mason](https://github.com/JamieMason), [Douglas Duteil](https://github.com/douglasduteil), [Ahn](https://github.com/ahnpnl), [Josh Goldberg](https://github.com/joshuakgoldberg), [Jeff Lau](https://github.com/UselessPickles), [Andrew Makarov](https://github.com/r3nya), [Martin Hochel](https://github.com/hotell), [Sebastian Sebald](https://github.com/sebald), [Andy](https://github.com/andys8), [Antoine Brault](https://github.com/antoinebrault), [Jeroen Claassens](https://github.com/favna), [Gregor Stamać](https://github.com/gstamac), [ExE Boss](https://github.com/ExE-Boss), [Alex Bolenok](https://github.com/quassnoi), [Mario Beltrán Alarcón](https://github.com/Belco90), [Tony Hallett](https://github.com/tonyhallett), [Jason Yu](https://github.com/ycmjason), [Devansh Jethmalani](https://github.com/devanshj), [Pawel Fajfer](https://github.com/pawfa), and [Regev Brody](https://github.com/regevbr). +// Ivo Stratev](https://github.com/NoHomey), [jwbay](https://github.com/jwbay), [Alexey Svetliakov](https://github.com/asvetliakov), [Alex Jover Morales](https://github.com/alexjoverm), [Allan Lukwago](https://github.com/epicallan), [Ika](https://github.com/ikatyang), [Waseem Dahman](https://github.com/wsmd), [Jamie Mason](https://github.com/JamieMason), [Douglas Duteil](https://github.com/douglasduteil), [Ahn](https://github.com/ahnpnl), [Josh Goldberg](https://github.com/joshuakgoldberg), [Jeff Lau](https://github.com/UselessPickles), [Andrew Makarov](https://github.com/r3nya), [Martin Hochel](https://github.com/hotell), [Sebastian Sebald](https://github.com/sebald), [Andy](https://github.com/andys8), [Antoine Brault](https://github.com/antoinebrault), [Gregor Stamać](https://github.com/gstamac), [ExE Boss](https://github.com/ExE-Boss), [Alex Bolenok](https://github.com/quassnoi), [Mario Beltrán Alarcón](https://github.com/Belco90), [Tony Hallett](https://github.com/tonyhallett), [Jason Yu](https://github.com/ycmjason), [Devansh Jethmalani](https://github.com/devanshj), [Pawel Fajfer](https://github.com/pawfa), [Regev Brody](https://github.com/regevbr), and [Alexandre Germain](https://github.com/gerkindev). diff --git a/node_modules/@types/jest/index.d.ts b/node_modules/@types/jest/index.d.ts old mode 100644 new mode 100755 index 152ce9e..4cee9e7 --- a/node_modules/@types/jest/index.d.ts +++ b/node_modules/@types/jest/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Jest 25.2 +// Type definitions for Jest 26.0 // Project: https://jestjs.io/ // Definitions by: Asana (https://asana.com) // Ivo Stratev @@ -18,7 +18,6 @@ // Sebastian Sebald // Andy // Antoine Brault -// Jeroen Claassens // Gregor Stamać // ExE Boss // Alex Bolenok @@ -28,8 +27,9 @@ // Devansh Jethmalani // Pawel Fajfer // Regev Brody +// Alexandre Germain // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 3.1 +// Minimum TypeScript Version: 3.8 declare var beforeAll: jest.Lifecycle; declare var beforeEach: jest.Lifecycle; @@ -72,23 +72,6 @@ type ExtractEachCallbackArgs> = { : 'fallback' ]; -interface NodeRequire { - /** - * Returns the actual module instead of a mock, bypassing all checks on - * whether the module should receive a mock implementation or not. - * - * @deprecated Use `jest.requireActual` instead. - */ - requireActual(moduleName: string): any; - /** - * Returns a mock module instead of the actual module, bypassing all checks - * on whether the module should be required normally or not. - * - * @deprecated Use `jest.requireMock`instead. - */ - requireMock(moduleName: string): any; -} - declare namespace jest { /** * Provides a way to add Jasmine-compatible matchers into your Jest context. @@ -107,6 +90,11 @@ declare namespace jest { * Equivalent to calling .mockClear() on every mocked function. */ function clearAllMocks(): typeof jest; + /** + * Use the automatic mocking system to generate a mocked version of the given module. + */ + // tslint:disable-next-line: no-unnecessary-generics + function createMockFromModule(moduleName: string): T; /** * Resets the state of all mocks. * Equivalent to calling .mockReset() on every mocked function. @@ -130,6 +118,26 @@ declare namespace jest { * Returns the number of fake timers still left to run. */ function getTimerCount(): number; + /** + * Set the current system time used by fake timers. Simulates a user + * changing the system clock while your program is running. It affects the + * current time but it does not in itself cause e.g. timers to fire; they + * will fire exactly as they would have done without the call to + * jest.setSystemTime(). + * + * > Note: This function is only available when using modern fake timers + * > implementation + */ + function setSystemTime(now?: number | Date): void; + /** + * When mocking time, Date.now() will also be mocked. If you for some + * reason need access to the real current time, you can invoke this + * function. + * + * > Note: This function is only available when using modern fake timers + * > implementation + */ + function getRealSystemTime(): number; /** * Indicates that the module system should never return a mocked version * of the specified module, including all of the specificied module's dependencies. @@ -161,8 +169,10 @@ declare namespace jest { */ function fn(implementation?: (...args: Y) => T): Mock; /** + * (renamed to `createMockFromModule` in Jest 26.0.0+) * Use the automatic mocking system to generate a mocked version of the given module. */ + // tslint:disable-next-line: no-unnecessary-generics function genMockFromModule(moduleName: string): T; /** * Returns whether the given function is a mock function. @@ -176,12 +186,14 @@ declare namespace jest { * Returns the actual module instead of a mock, bypassing all checks on * whether the module should receive a mock implementation or not. */ - function requireActual(moduleName: string): TModule; + // tslint:disable-next-line: no-unnecessary-generics + function requireActual(moduleName: string): TModule; /** * Returns a mock module instead of the actual module, bypassing all checks * on whether the module should be required normally or not. */ - function requireMock(moduleName: string): TModule; + // tslint:disable-next-line: no-unnecessary-generics + function requireMock(moduleName: string): TModule; /** * Resets the module registry - the cache of all required modules. This is * useful to isolate modules where local state might conflict between tests. @@ -242,6 +254,7 @@ declare namespace jest { * Explicitly supplies the mock object that the module system should return * for the specified module. */ + // tslint:disable-next-line: no-unnecessary-generics function setMock(moduleName: string, moduleExports: T): typeof jest; /** * Set the default timeout interval for tests and before/after hooks in milliseconds. @@ -299,14 +312,14 @@ declare namespace jest { /** * Instructs Jest to use fake versions of the standard timer functions. */ - function useFakeTimers(): typeof jest; + function useFakeTimers(implementation?: 'modern' | 'legacy'): typeof jest; /** * Instructs Jest to use the real versions of the standard timer functions. */ function useRealTimers(): typeof jest; interface MockOptions { - virtual?: boolean; + virtual?: boolean | undefined; } type EmptyFunction = () => void; @@ -439,14 +452,14 @@ declare namespace jest { type MatcherHintColor = (arg: string) => string; interface MatcherHintOptions { - comment?: string; - expectedColor?: MatcherHintColor; - isDirectExpectCall?: boolean; - isNot?: boolean; - promise?: string; - receivedColor?: MatcherHintColor; - secondArgument?: string; - secondArgumentColor?: MatcherHintColor; + comment?: string | undefined; + expectedColor?: MatcherHintColor | undefined; + isDirectExpectCall?: boolean | undefined; + isNot?: boolean | undefined; + promise?: string | undefined; + receivedColor?: MatcherHintColor | undefined; + secondArgument?: string | undefined; + secondArgumentColor?: MatcherHintColor | undefined; } interface ChalkFunction { @@ -548,6 +561,7 @@ declare namespace jest { * * Optionally, you can provide a type for the elements via a generic. */ + // tslint:disable-next-line: no-unnecessary-generics arrayContaining(arr: E[]): any; /** * `expect.not.objectContaining(object)` matches any received object @@ -559,6 +573,7 @@ declare namespace jest { * Optionally, you can provide a type for the object via a generic. * This ensures that the object contains the desired structure. */ + // tslint:disable-next-line: no-unnecessary-generics objectContaining(obj: E): any; /** * `expect.not.stringMatching(string | regexp)` matches the received @@ -578,7 +593,7 @@ declare namespace jest { currentTestName: string; expand: boolean; expectedAssertionsNumber: number; - isExpectingAssertions?: boolean; + isExpectingAssertions?: boolean | undefined; suppressedErrors: Error[]; testPath: string; } @@ -632,6 +647,7 @@ declare namespace jest { * * Optionally, you can provide a type for the elements via a generic. */ + // tslint:disable-next-line: no-unnecessary-generics arrayContaining(arr: E[]): any; /** * Verifies that a certain number of assertions are called during a test. @@ -660,6 +676,7 @@ declare namespace jest { * Optionally, you can provide a type for the object via a generic. * This ensures that the object contains the desired structure. */ + // tslint:disable-next-line: no-unnecessary-generics objectContaining(obj: E): any; /** * Matches any string that contains the exact provided string @@ -693,6 +710,7 @@ declare namespace jest { type AndNot = T & { not: T }; + // should be R extends void|Promise but getting dtslint error interface Matchers { /** @@ -701,13 +719,15 @@ declare namespace jest { * Optionally, you can provide a type for the expected arguments via a generic. * Note that the type must be either an array or a tuple. */ + // tslint:disable-next-line: no-unnecessary-generics lastCalledWith(...args: E): R; /** * Ensure that the last call to a mock function has returned a specified value. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics lastReturnedWith(value: E): R; /** * Ensure that a mock function is called with specific arguments on an Nth call. @@ -715,21 +735,24 @@ declare namespace jest { * Optionally, you can provide a type for the expected arguments via a generic. * Note that the type must be either an array or a tuple. */ + // tslint:disable-next-line: no-unnecessary-generics nthCalledWith(nthCall: number, ...params: E): R; /** * Ensure that the nth call to a mock function has returned a specified value. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics nthReturnedWith(n: number, value: E): R; /** * Checks that a value is what you expect. It uses `Object.is` to check strict equality. * Don't use `toBe` with floating-point numbers. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toBe(expected: E): R; /** * Ensures that a mock function is called. @@ -745,6 +768,7 @@ declare namespace jest { * Optionally, you can provide a type for the expected arguments via a generic. * Note that the type must be either an array or a tuple. */ + // tslint:disable-next-line: no-unnecessary-generics toBeCalledWith(...args: E): R; /** * Using exact equality with floating point numbers is a bad idea. @@ -762,29 +786,30 @@ declare namespace jest { */ toBeFalsy(): R; /** - * For comparing floating point numbers. + * For comparing floating point or big integer numbers. */ - toBeGreaterThan(expected: number): R; + toBeGreaterThan(expected: number | bigint): R; /** - * For comparing floating point numbers. + * For comparing floating point or big integer numbers. */ - toBeGreaterThanOrEqual(expected: number): R; + toBeGreaterThanOrEqual(expected: number | bigint): R; /** * Ensure that an object is an instance of a class. * This matcher uses `instanceof` underneath. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toBeInstanceOf(expected: E): R; /** - * For comparing floating point numbers. + * For comparing floating point or big integer numbers. */ - toBeLessThan(expected: number): R; + toBeLessThan(expected: number | bigint): R; /** - * For comparing floating point numbers. + * For comparing floating point or big integer numbers. */ - toBeLessThanOrEqual(expected: number): R; + toBeLessThanOrEqual(expected: number | bigint): R; /** * This is the same as `.toBe(null)` but the error messages are a bit nicer. * So use `.toBeNull()` when you want to check that something is null. @@ -810,8 +835,9 @@ declare namespace jest { * It can also check whether a string is a substring of another string. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toContain(expected: E): R; /** * Used when you want to check that an item is in a list. @@ -819,16 +845,18 @@ declare namespace jest { * equality of all fields, rather than checking for object identity. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toContainEqual(expected: E): R; /** * Used when you want to check that two objects have the same value. * This matcher recursively checks the equality of all fields, rather than checking for object identity. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toEqual(expected: E): R; /** * Ensures that a mock function is called. @@ -844,6 +872,7 @@ declare namespace jest { * Optionally, you can provide a type for the expected arguments via a generic. * Note that the type must be either an array or a tuple. */ + // tslint:disable-next-line: no-unnecessary-generics toHaveBeenCalledWith(...params: E): R; /** * Ensure that a mock function is called with specific arguments on an Nth call. @@ -851,6 +880,7 @@ declare namespace jest { * Optionally, you can provide a type for the expected arguments via a generic. * Note that the type must be either an array or a tuple. */ + // tslint:disable-next-line: no-unnecessary-generics toHaveBeenNthCalledWith(nthCall: number, ...params: E): R; /** * If you have a mock function, you can use `.toHaveBeenLastCalledWith` @@ -859,6 +889,7 @@ declare namespace jest { * Optionally, you can provide a type for the expected arguments via a generic. * Note that the type must be either an array or a tuple. */ + // tslint:disable-next-line: no-unnecessary-generics toHaveBeenLastCalledWith(...params: E): R; /** * Use to test the specific value that a mock function last returned. @@ -866,8 +897,9 @@ declare namespace jest { * no matter what value you provided as the expected return value. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toHaveLastReturnedWith(expected: E): R; /** * Used to check that an object has a `.length` property @@ -880,8 +912,9 @@ declare namespace jest { * no matter what value you provided as the expected return value. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toHaveNthReturnedWith(nthCall: number, expected: E): R; /** * Use to check if property at provided reference keyPath exists for an object. @@ -896,6 +929,7 @@ declare namespace jest { * * expect(houseForSale).toHaveProperty('kitchen.area', 20); */ + // tslint:disable-next-line: no-unnecessary-generics toHaveProperty(propertyPath: string | any[], value?: E): R; /** * Use to test that the mock function successfully returned (i.e., did not throw an error) at least one time @@ -910,8 +944,9 @@ declare namespace jest { * Use to ensure that a mock function returned a specific value. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toHaveReturnedWith(expected: E): R; /** * Check that a string matches a regular expression. @@ -935,13 +970,15 @@ declare namespace jest { * } * }; * - * expect(desiredHouse).toMatchObject(...standardHouse, kitchen: {area: 20}) // wherein standardHouse is some base object of type House + * expect(desiredHouse).toMatchObject({...standardHouse, kitchen: {area: 20}}) // wherein standardHouse is some base object of type House */ + // tslint:disable-next-line: no-unnecessary-generics toMatchObject(expected: E): R; /** * This ensures that a value matches the most recent snapshot with property matchers. * Check out [the Snapshot Testing guide](http://facebook.github.io/jest/docs/snapshot-testing.html) for more information. */ + // tslint:disable-next-line: no-unnecessary-generics toMatchSnapshot(propertyMatchers: Partial, snapshotName?: string): R; /** * This ensures that a value matches the most recent snapshot. @@ -953,6 +990,7 @@ declare namespace jest { * Instead of writing the snapshot value to a .snap file, it will be written into the source code automatically. * Check out [the Snapshot Testing guide](http://facebook.github.io/jest/docs/snapshot-testing.html) for more information. */ + // tslint:disable-next-line: no-unnecessary-generics toMatchInlineSnapshot(propertyMatchers: Partial, snapshot?: string): R; /** * This ensures that a value matches the most recent snapshot with property matchers. @@ -972,15 +1010,17 @@ declare namespace jest { * Ensure that a mock function has returned a specified value at least once. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toReturnWith(value: E): R; /** * Use to test that objects have the same types as well as structure. * * Optionally, you can provide a type for the expected value via a generic. - * This is particuarly useful for ensuring expected objects have the right structure. + * This is particularly useful for ensuring expected objects have the right structure. */ + // tslint:disable-next-line: no-unnecessary-generics toStrictEqual(expected: E): R; /** * Used to test that a function throws when it is called. @@ -993,7 +1033,7 @@ declare namespace jest { /** * Used to test that a function throws a error matching the most recent snapshot when it is called. */ - toThrowErrorMatchingSnapshot(): R; + toThrowErrorMatchingSnapshot(snapshotName?: string): R; /** * Used to test that a function throws a error matching the most recent snapshot when it is called. * Instead of writing the snapshot value to a .snap file, it will be written into the source code automatically. @@ -1005,8 +1045,6 @@ declare namespace jest { T['length'] extends 0 ? [] : (((...b: T) => void) extends (a: any, ...b: infer I) => void ? I : []); - type Parameters any> = T extends (...args: infer P) => any ? P : never; - interface AsymmetricMatcher { asymmetricMatch(other: unknown): boolean; } @@ -1035,11 +1073,8 @@ declare namespace jest { ExpectProperties & AndNot> & ExtendedExpectFunction; - /** - * Construct a type with the properties of T except for those in type K. - */ - type Omit = Pick>; - type NonPromiseMatchers = Omit; + + type NonPromiseMatchers> = Omit; type PromiseMatchers = Omit; interface Constructable { @@ -1076,10 +1111,10 @@ declare namespace jest { * * @example * - * import { MyClass } from "./libary"; + * import { MyClass } from "./library"; * jest.mock("./library"); * - * const mockedMyClass = MyClass as jest.MockedClass; + * const mockedMyClass = MyClass as jest.MockedClass; * * expect(mockedMyClass.mock.calls[0][0]).toBe(42); // Constructor calls * expect(mockedMyClass.prototype.myMethod.mock.calls[0][0]).toBe(42); // Method calls @@ -1152,7 +1187,7 @@ declare namespace jest { /** * Returns the function that was set as the implementation of the mock (using mockImplementation). */ - getMockImplementation(): (...args: Y) => T | undefined; + getMockImplementation(): ((...args: Y) => T) | undefined; /** * Accepts a function that should be used as the implementation of the mock. The mock itself will still record * all calls that go into and instances that come from itself – the only difference is that the implementation @@ -1332,6 +1367,7 @@ declare namespace jasmine { function objectContaining(sample: any): ObjectContaining; function createSpy(name?: string, originalFn?: (...args: any[]) => any): Spy; function createSpyObj(baseName: string, methodNames: any[]): any; + // tslint:disable-next-line: no-unnecessary-generics function createSpyObj(baseName: string, methodNames: any[]): T; function pp(value: any): string; function addCustomEqualityTester(equalityTester: CustomEqualityTester): void; @@ -1476,6 +1512,7 @@ declare namespace jasmine { interface MatchersUtil { equals(a: any, b: any, customTesters?: CustomEqualityTester[]): boolean; + // tslint:disable-next-line: no-unnecessary-generics contains(haystack: ArrayLike | string, needle: any, customTesters?: CustomEqualityTester[]): boolean; buildFailureMessage(matcherName: string, isNot: boolean, actual: any, ...expected: any[]): string; } diff --git a/node_modules/@types/jest/package.json b/node_modules/@types/jest/package.json old mode 100644 new mode 100755 index 799e474..a3d1a1b --- a/node_modules/@types/jest/package.json +++ b/node_modules/@types/jest/package.json @@ -1,7 +1,8 @@ { "name": "@types/jest", - "version": "25.2.3", + "version": "26.0.24", "description": "TypeScript definitions for Jest", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest", "license": "MIT", "contributors": [ { @@ -89,11 +90,6 @@ "url": "https://github.com/antoinebrault", "githubUsername": "antoinebrault" }, - { - "name": "Jeroen Claassens", - "url": "https://github.com/favna", - "githubUsername": "favna" - }, { "name": "Gregor Stamać", "url": "https://github.com/gstamac", @@ -138,17 +134,15 @@ "name": "Regev Brody", "url": "https://github.com/regevbr", "githubUsername": "regevbr" + }, + { + "name": "Alexandre Germain", + "url": "https://github.com/gerkindev", + "githubUsername": "gerkindev" } ], "main": "", "types": "index.d.ts", - "typesVersions": { - ">=3.2.0-0": { - "*": [ - "ts3.2/*" - ] - } - }, "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", @@ -156,9 +150,9 @@ }, "scripts": {}, "dependencies": { - "jest-diff": "^25.2.1", - "pretty-format": "^25.2.1" + "jest-diff": "^26.0.0", + "pretty-format": "^26.0.0" }, - "typesPublisherContentHash": "c17443c55a78b43f5c843e670e87df208c8c341a3354df4f1a233c880653eaf0", - "typeScriptVersion": "3.1" + "typesPublisherContentHash": "a0a643015335ff74aff8f83ef2952bcc80a1de9559f77e2a8a5f662e98634d64", + "typeScriptVersion": "3.8" } \ No newline at end of file diff --git a/node_modules/@types/jest/ts3.2/index.d.ts b/node_modules/@types/jest/ts3.2/index.d.ts deleted file mode 100644 index 8dbfc0e..0000000 --- a/node_modules/@types/jest/ts3.2/index.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -// tslint:disable-next-line:no-bad-reference -/// - -declare namespace jest { - interface Matchers { - /** - * For comparing numbers or big integer values. - */ - toBeGreaterThan(expected: number | bigint): R; - /** - * For comparing numbers or big integer values. - */ - toBeGreaterThanOrEqual(expected: number | bigint): R; - /** - * For comparing numbers or big integer values. - */ - toBeLessThan(expected: number | bigint): R; - /** - * For comparing numbers or big integer values. - */ - toBeLessThanOrEqual(expected: number | bigint): R; - } -} diff --git a/node_modules/diff-sequences/build/index.d.ts b/node_modules/diff-sequences/build/index.d.ts index 50f1f5b..6ed490e 100644 --- a/node_modules/diff-sequences/build/index.d.ts +++ b/node_modules/diff-sequences/build/index.d.ts @@ -16,4 +16,3 @@ export declare type Callbacks = { }; declare const _default: (aLength: number, bLength: number, isCommon: IsCommon, foundSubsequence: FoundSubsequence) => void; export default _default; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/diff-sequences/build/index.d.ts.map b/node_modules/diff-sequences/build/index.d.ts.map deleted file mode 100644 index 7d07b68..0000000 --- a/node_modules/diff-sequences/build/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA+CH,aAAK,QAAQ,GAAG,CACd,MAAM,EAAE,MAAM,EAAE,qDAAqD;AACrE,MAAM,EAAE,MAAM,KACX,OAAO,CAAC;AAIb,aAAK,gBAAgB,GAAG,CACtB,OAAO,EAAE,MAAM,EAAE,iCAAiC;AAClD,OAAO,EAAE,MAAM,EAAE,uDAAuD;AACxE,OAAO,EAAE,MAAM,KACZ,IAAI,CAAC;AAGV,oBAAY,SAAS,GAAG;IACtB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC;;AAwsBF,wBA0FE"} \ No newline at end of file diff --git a/node_modules/diff-sequences/build/index.js b/node_modules/diff-sequences/build/index.js index 445260b..5d565d9 100644 --- a/node_modules/diff-sequences/build/index.js +++ b/node_modules/diff-sequences/build/index.js @@ -688,10 +688,8 @@ const findSubsequences = ( }; const validateLength = (name, arg) => { - const type = typeof arg; - - if (type !== 'number') { - throw new TypeError(`${pkg}: ${name} typeof ${type} is not a number`); + if (typeof arg !== 'number') { + throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`); } if (!Number.isSafeInteger(arg)) { diff --git a/node_modules/diff-sequences/build/ts3.4/index.d.ts b/node_modules/diff-sequences/build/ts3.4/index.d.ts deleted file mode 100644 index cb7ac8d..0000000 --- a/node_modules/diff-sequences/build/ts3.4/index.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ -declare type IsCommon = (aIndex: number, // caller can assume: 0 <= aIndex && aIndex < aLength -bIndex: number) => boolean; -declare type FoundSubsequence = (nCommon: number, // caller can assume: 0 < nCommon -aCommon: number, // caller can assume: 0 <= aCommon && aCommon < aLength -bCommon: number) => void; -export declare type Callbacks = { - foundSubsequence: FoundSubsequence; - isCommon: IsCommon; -}; -declare const _default: (aLength: number, bLength: number, isCommon: IsCommon, foundSubsequence: FoundSubsequence) => void; -export default _default; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/diff-sequences/package.json b/node_modules/diff-sequences/package.json index 8002d62..5aa5163 100644 --- a/node_modules/diff-sequences/package.json +++ b/node_modules/diff-sequences/package.json @@ -1,6 +1,6 @@ { "name": "diff-sequences", - "version": "25.2.6", + "version": "26.6.2", "repository": { "type": "git", "url": "https://github.com/facebook/jest.git", @@ -16,27 +16,20 @@ "diff" ], "engines": { - "node": ">= 8.3" + "node": ">= 10.14.2" }, "main": "build/index.js", "types": "build/index.d.ts", - "typesVersions": { - "<3.8": { - "build/*": [ - "build/ts3.4/*" - ] - } - }, "scripts": { "perf": "node --expose-gc perf/index.js" }, "devDependencies": { "benchmark": "^2.1.4", "diff": "^4.0.1", - "fast-check": "^1.13.0" + "fast-check": "^2.0.0" }, "publishConfig": { "access": "public" }, - "gitHead": "43207b743df164e9e58bd483dd9167b9084da18b" + "gitHead": "4c46930615602cbf983fb7e8e82884c282a624d5" } diff --git a/node_modules/diff-sequences/perf/index.js b/node_modules/diff-sequences/perf/index.js index e49bb34..5673f9d 100644 --- a/node_modules/diff-sequences/perf/index.js +++ b/node_modules/diff-sequences/perf/index.js @@ -16,7 +16,6 @@ /* eslint import/no-extraneous-dependencies: "off" */ const Benchmark = require('benchmark'); - const diffBaseline = require('diff').diffLines; const diffImproved = require('../build/index.js').default; diff --git a/node_modules/jest-config/node_modules/pretty-format/LICENSE b/node_modules/jest-config/node_modules/pretty-format/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Facebook, Inc. and its affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/jest-config/node_modules/pretty-format/README.md b/node_modules/jest-config/node_modules/pretty-format/README.md deleted file mode 100755 index 92a235d..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/README.md +++ /dev/null @@ -1,454 +0,0 @@ -# pretty-format - -Stringify any JavaScript value. - -- Serialize built-in JavaScript types. -- Serialize application-specific data types with built-in or user-defined plugins. - -## Installation - -```sh -$ yarn add pretty-format -``` - -## Usage - -```js -const prettyFormat = require('pretty-format'); // CommonJS -``` - -```js -import prettyFormat from 'pretty-format'; // ES2015 modules -``` - -```js -const val = {object: {}}; -val.circularReference = val; -val[Symbol('foo')] = 'foo'; -val.map = new Map([['prop', 'value']]); -val.array = [-0, Infinity, NaN]; - -console.log(prettyFormat(val)); -/* -Object { - "array": Array [ - -0, - Infinity, - NaN, - ], - "circularReference": [Circular], - "map": Map { - "prop" => "value", - }, - "object": Object {}, - Symbol(foo): "foo", -} -*/ -``` - -## Usage with options - -```js -function onClick() {} - -console.log(prettyFormat(onClick)); -/* -[Function onClick] -*/ - -const options = { - printFunctionName: false, -}; -console.log(prettyFormat(onClick, options)); -/* -[Function] -*/ -``` - - -| key | type | default | description | -| :------------------ | :-------- | :--------- | :------------------------------------------------------ | -| `callToJSON` | `boolean` | `true` | call `toJSON` method (if it exists) on objects | -| `escapeRegex` | `boolean` | `false` | escape special characters in regular expressions | -| `escapeString` | `boolean` | `true` | escape special characters in strings | -| `highlight` | `boolean` | `false` | highlight syntax with colors in terminal (some plugins) | -| `indent` | `number` | `2` | spaces in each level of indentation | -| `maxDepth` | `number` | `Infinity` | levels to print in arrays, objects, elements, and so on | -| `min` | `boolean` | `false` | minimize added space: no indentation nor line breaks | -| `plugins` | `array` | `[]` | plugins to serialize application-specific data types | -| `printFunctionName` | `boolean` | `true` | include or omit the name of a function | -| `theme` | `object` | | colors to highlight syntax in terminal | - -Property values of `theme` are from [ansi-styles colors](https://github.com/chalk/ansi-styles#colors) - -```js -const DEFAULT_THEME = { - comment: 'gray', - content: 'reset', - prop: 'yellow', - tag: 'cyan', - value: 'green', -}; -``` - -## Usage with plugins - -The `pretty-format` package provides some built-in plugins, including: - -- `ReactElement` for elements from `react` -- `ReactTestComponent` for test objects from `react-test-renderer` - -```js -// CommonJS -const React = require('react'); -const renderer = require('react-test-renderer'); -const prettyFormat = require('pretty-format'); -const ReactElement = prettyFormat.plugins.ReactElement; -const ReactTestComponent = prettyFormat.plugins.ReactTestComponent; -``` - -```js -import React from 'react'; -import renderer from 'react-test-renderer'; -// ES2015 modules and destructuring assignment -import prettyFormat from 'pretty-format'; -const {ReactElement, ReactTestComponent} = prettyFormat.plugins; -``` - -```js -const onClick = () => {}; -const element = React.createElement('button', {onClick}, 'Hello World'); - -const formatted1 = prettyFormat(element, { - plugins: [ReactElement], - printFunctionName: false, -}); -const formatted2 = prettyFormat(renderer.create(element).toJSON(), { - plugins: [ReactTestComponent], - printFunctionName: false, -}); -/* - -*/ -``` - -## Usage in Jest - -For snapshot tests, Jest uses `pretty-format` with options that include some of its built-in plugins. For this purpose, plugins are also known as **snapshot serializers**. - -To serialize application-specific data types, you can add modules to `devDependencies` of a project, and then: - -In an **individual** test file, you can add a module as follows. It precedes any modules from Jest configuration. - -```js -import serializer from 'my-serializer-module'; -expect.addSnapshotSerializer(serializer); - -// tests which have `expect(value).toMatchSnapshot()` assertions -``` - -For **all** test files, you can specify modules in Jest configuration. They precede built-in plugins for React, HTML, and Immutable.js data types. For example, in a `package.json` file: - -```json -{ - "jest": { - "snapshotSerializers": ["my-serializer-module"] - } -} -``` - -## Writing plugins - -A plugin is a JavaScript object. - -If `options` has a `plugins` array: for the first plugin whose `test(val)` method returns a truthy value, then `prettyFormat(val, options)` returns the result from either: - -- `serialize(val, …)` method of the **improved** interface (available in **version 21** or later) -- `print(val, …)` method of the **original** interface (if plugin does not have `serialize` method) - -### test - -Write `test` so it can receive `val` argument of any type. To serialize **objects** which have certain properties, then a guarded expression like `val != null && …` or more concise `val && …` prevents the following errors: - -- `TypeError: Cannot read property 'whatever' of null` -- `TypeError: Cannot read property 'whatever' of undefined` - -For example, `test` method of built-in `ReactElement` plugin: - -```js -const elementSymbol = Symbol.for('react.element'); -const test = val => val && val.$$typeof === elementSymbol; -``` - -Pay attention to efficiency in `test` because `pretty-format` calls it often. - -### serialize - -The **improved** interface is available in **version 21** or later. - -Write `serialize` to return a string, given the arguments: - -- `val` which “passed the test” -- unchanging `config` object: derived from `options` -- current `indentation` string: concatenate to `indent` from `config` -- current `depth` number: compare to `maxDepth` from `config` -- current `refs` array: find circular references in objects -- `printer` callback function: serialize children - -### config - - -| key | type | description | -| :------------------ | :-------- | :------------------------------------------------------ | -| `callToJSON` | `boolean` | call `toJSON` method (if it exists) on objects | -| `colors` | `Object` | escape codes for colors to highlight syntax | -| `escapeRegex` | `boolean` | escape special characters in regular expressions | -| `escapeString` | `boolean` | escape special characters in strings | -| `indent` | `string` | spaces in each level of indentation | -| `maxDepth` | `number` | levels to print in arrays, objects, elements, and so on | -| `min` | `boolean` | minimize added space: no indentation nor line breaks | -| `plugins` | `array` | plugins to serialize application-specific data types | -| `printFunctionName` | `boolean` | include or omit the name of a function | -| `spacingInner` | `strong` | spacing to separate items in a list | -| `spacingOuter` | `strong` | spacing to enclose a list of items | - -Each property of `colors` in `config` corresponds to a property of `theme` in `options`: - -- the key is the same (for example, `tag`) -- the value in `colors` is a object with `open` and `close` properties whose values are escape codes from [ansi-styles](https://github.com/chalk/ansi-styles) for the color value in `theme` (for example, `'cyan'`) - -Some properties in `config` are derived from `min` in `options`: - -- `spacingInner` and `spacingOuter` are **newline** if `min` is `false` -- `spacingInner` is **space** and `spacingOuter` is **empty string** if `min` is `true` - -### Example of serialize and test - -This plugin is a pattern you can apply to serialize composite data types. Side note: `pretty-format` does not need a plugin to serialize arrays. - -```js -// We reused more code when we factored out a function for child items -// that is independent of depth, name, and enclosing punctuation (see below). -const SEPARATOR = ','; -function serializeItems(items, config, indentation, depth, refs, printer) { - if (items.length === 0) { - return ''; - } - const indentationItems = indentation + config.indent; - return ( - config.spacingOuter + - items - .map( - item => - indentationItems + - printer(item, config, indentationItems, depth, refs), // callback - ) - .join(SEPARATOR + config.spacingInner) + - (config.min ? '' : SEPARATOR) + // following the last item - config.spacingOuter + - indentation - ); -} - -const plugin = { - test(val) { - return Array.isArray(val); - }, - serialize(array, config, indentation, depth, refs, printer) { - const name = array.constructor.name; - return ++depth > config.maxDepth - ? '[' + name + ']' - : (config.min ? '' : name + ' ') + - '[' + - serializeItems(array, config, indentation, depth, refs, printer) + - ']'; - }, -}; -``` - -```js -const val = { - filter: 'completed', - items: [ - { - text: 'Write test', - completed: true, - }, - { - text: 'Write serialize', - completed: true, - }, - ], -}; -``` - -```js -console.log( - prettyFormat(val, { - plugins: [plugin], - }), -); -/* -Object { - "filter": "completed", - "items": Array [ - Object { - "completed": true, - "text": "Write test", - }, - Object { - "completed": true, - "text": "Write serialize", - }, - ], -} -*/ -``` - -```js -console.log( - prettyFormat(val, { - indent: 4, - plugins: [plugin], - }), -); -/* -Object { - "filter": "completed", - "items": Array [ - Object { - "completed": true, - "text": "Write test", - }, - Object { - "completed": true, - "text": "Write serialize", - }, - ], -} -*/ -``` - -```js -console.log( - prettyFormat(val, { - maxDepth: 1, - plugins: [plugin], - }), -); -/* -Object { - "filter": "completed", - "items": [Array], -} -*/ -``` - -```js -console.log( - prettyFormat(val, { - min: true, - plugins: [plugin], - }), -); -/* -{"filter": "completed", "items": [{"completed": true, "text": "Write test"}, {"completed": true, "text": "Write serialize"}]} -*/ -``` - -### print - -The **original** interface is adequate for plugins: - -- that **do not** depend on options other than `highlight` or `min` -- that **do not** depend on `depth` or `refs` in recursive traversal, and -- if values either - - do **not** require indentation, or - - do **not** occur as children of JavaScript data structures (for example, array) - -Write `print` to return a string, given the arguments: - -- `val` which “passed the test” -- current `printer(valChild)` callback function: serialize children -- current `indenter(lines)` callback function: indent lines at the next level -- unchanging `config` object: derived from `options` -- unchanging `colors` object: derived from `options` - -The 3 properties of `config` are `min` in `options` and: - -- `spacing` and `edgeSpacing` are **newline** if `min` is `false` -- `spacing` is **space** and `edgeSpacing` is **empty string** if `min` is `true` - -Each property of `colors` corresponds to a property of `theme` in `options`: - -- the key is the same (for example, `tag`) -- the value in `colors` is a object with `open` and `close` properties whose values are escape codes from [ansi-styles](https://github.com/chalk/ansi-styles) for the color value in `theme` (for example, `'cyan'`) - -### Example of print and test - -This plugin prints functions with the **number of named arguments** excluding rest argument. - -```js -const plugin = { - print(val) { - return `[Function ${val.name || 'anonymous'} ${val.length}]`; - }, - test(val) { - return typeof val === 'function'; - }, -}; -``` - -```js -const val = { - onClick(event) {}, - render() {}, -}; - -prettyFormat(val, { - plugins: [plugin], -}); -/* -Object { - "onClick": [Function onClick 1], - "render": [Function render 0], -} -*/ - -prettyFormat(val); -/* -Object { - "onClick": [Function onClick], - "render": [Function render], -} -*/ -``` - -This plugin **ignores** the `printFunctionName` option. That limitation of the original `print` interface is a reason to use the improved `serialize` interface, described above. - -```js -prettyFormat(val, { - plugins: [pluginOld], - printFunctionName: false, -}); -/* -Object { - "onClick": [Function onClick 1], - "render": [Function render 0], -} -*/ - -prettyFormat(val, { - printFunctionName: false, -}); -/* -Object { - "onClick": [Function], - "render": [Function], -} -*/ -``` diff --git a/node_modules/jest-config/node_modules/pretty-format/build/collections.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/collections.d.ts deleted file mode 100644 index eaf7e61..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/collections.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ -import type { Config, Printer, Refs } from './types'; -/** - * Return entries (for example, of a map) - * with spacing, indentation, and comma - * without surrounding punctuation (for example, braces) - */ -export declare function printIteratorEntries(iterator: Iterator<[unknown, unknown]>, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer, separator?: string): string; -/** - * Return values (for example, of a set) - * with spacing, indentation, and comma - * without surrounding punctuation (braces or brackets) - */ -export declare function printIteratorValues(iterator: Iterator, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer): string; -/** - * Return items (for example, of an array) - * with spacing, indentation, and comma - * without surrounding punctuation (for example, brackets) - **/ -export declare function printListItems(list: ArrayLike, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer): string; -/** - * Return properties of an object - * with spacing, indentation, and comma - * without surrounding punctuation (for example, braces) - */ -export declare function printObjectProperties(val: Record, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer): string; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/collections.js b/node_modules/jest-config/node_modules/pretty-format/build/collections.js deleted file mode 100644 index c31d21e..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/collections.js +++ /dev/null @@ -1,185 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.printIteratorEntries = printIteratorEntries; -exports.printIteratorValues = printIteratorValues; -exports.printListItems = printListItems; -exports.printObjectProperties = printObjectProperties; - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ -const getKeysOfEnumerableProperties = object => { - const keys = Object.keys(object).sort(); - - if (Object.getOwnPropertySymbols) { - Object.getOwnPropertySymbols(object).forEach(symbol => { - if (Object.getOwnPropertyDescriptor(object, symbol).enumerable) { - keys.push(symbol); - } - }); - } - - return keys; -}; -/** - * Return entries (for example, of a map) - * with spacing, indentation, and comma - * without surrounding punctuation (for example, braces) - */ - -function printIteratorEntries( - iterator, - config, - indentation, - depth, - refs, - printer, // Too bad, so sad that separator for ECMAScript Map has been ' => ' - // What a distracting diff if you change a data structure to/from - // ECMAScript Object or Immutable.Map/OrderedMap which use the default. - separator = ': ' -) { - let result = ''; - let current = iterator.next(); - - if (!current.done) { - result += config.spacingOuter; - const indentationNext = indentation + config.indent; - - while (!current.done) { - const name = printer( - current.value[0], - config, - indentationNext, - depth, - refs - ); - const value = printer( - current.value[1], - config, - indentationNext, - depth, - refs - ); - result += indentationNext + name + separator + value; - current = iterator.next(); - - if (!current.done) { - result += ',' + config.spacingInner; - } else if (!config.min) { - result += ','; - } - } - - result += config.spacingOuter + indentation; - } - - return result; -} -/** - * Return values (for example, of a set) - * with spacing, indentation, and comma - * without surrounding punctuation (braces or brackets) - */ - -function printIteratorValues( - iterator, - config, - indentation, - depth, - refs, - printer -) { - let result = ''; - let current = iterator.next(); - - if (!current.done) { - result += config.spacingOuter; - const indentationNext = indentation + config.indent; - - while (!current.done) { - result += - indentationNext + - printer(current.value, config, indentationNext, depth, refs); - current = iterator.next(); - - if (!current.done) { - result += ',' + config.spacingInner; - } else if (!config.min) { - result += ','; - } - } - - result += config.spacingOuter + indentation; - } - - return result; -} -/** - * Return items (for example, of an array) - * with spacing, indentation, and comma - * without surrounding punctuation (for example, brackets) - **/ - -function printListItems(list, config, indentation, depth, refs, printer) { - let result = ''; - - if (list.length) { - result += config.spacingOuter; - const indentationNext = indentation + config.indent; - - for (let i = 0; i < list.length; i++) { - result += - indentationNext + - printer(list[i], config, indentationNext, depth, refs); - - if (i < list.length - 1) { - result += ',' + config.spacingInner; - } else if (!config.min) { - result += ','; - } - } - - result += config.spacingOuter + indentation; - } - - return result; -} -/** - * Return properties of an object - * with spacing, indentation, and comma - * without surrounding punctuation (for example, braces) - */ - -function printObjectProperties(val, config, indentation, depth, refs, printer) { - let result = ''; - const keys = getKeysOfEnumerableProperties(val); - - if (keys.length) { - result += config.spacingOuter; - const indentationNext = indentation + config.indent; - - for (let i = 0; i < keys.length; i++) { - const key = keys[i]; - const name = printer(key, config, indentationNext, depth, refs); - const value = printer(val[key], config, indentationNext, depth, refs); - result += indentationNext + name + ': ' + value; - - if (i < keys.length - 1) { - result += ',' + config.spacingInner; - } else if (!config.min) { - result += ','; - } - } - - result += config.spacingOuter + indentation; - } - - return result; -} diff --git a/node_modules/jest-config/node_modules/pretty-format/build/index.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/index.d.ts deleted file mode 100644 index 8b3bc9e..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/index.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type * as PrettyFormat from './types'; -/** - * Returns a presentation string of your `val` object - * @param val any potential JavaScript object - * @param options Custom settings - */ -declare function prettyFormat(val: unknown, options?: PrettyFormat.OptionsReceived): string; -declare namespace prettyFormat { - var plugins: { - AsymmetricMatcher: PrettyFormat.NewPlugin; - ConvertAnsi: PrettyFormat.NewPlugin; - DOMCollection: PrettyFormat.NewPlugin; - DOMElement: PrettyFormat.NewPlugin; - Immutable: PrettyFormat.NewPlugin; - ReactElement: PrettyFormat.NewPlugin; - ReactTestComponent: PrettyFormat.NewPlugin; - }; -} -declare namespace prettyFormat { - type Colors = PrettyFormat.Colors; - type Config = PrettyFormat.Config; - type Options = PrettyFormat.Options; - type OptionsReceived = PrettyFormat.OptionsReceived; - type OldPlugin = PrettyFormat.OldPlugin; - type NewPlugin = PrettyFormat.NewPlugin; - type Plugin = PrettyFormat.Plugin; - type Plugins = PrettyFormat.Plugins; - type Refs = PrettyFormat.Refs; - type Theme = PrettyFormat.Theme; -} -export = prettyFormat; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/index.js b/node_modules/jest-config/node_modules/pretty-format/build/index.js deleted file mode 100644 index 6e10cb1..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/index.js +++ /dev/null @@ -1,560 +0,0 @@ -'use strict'; - -var _ansiStyles = _interopRequireDefault(require('ansi-styles')); - -var _collections = require('./collections'); - -var _AsymmetricMatcher = _interopRequireDefault( - require('./plugins/AsymmetricMatcher') -); - -var _ConvertAnsi = _interopRequireDefault(require('./plugins/ConvertAnsi')); - -var _DOMCollection = _interopRequireDefault(require('./plugins/DOMCollection')); - -var _DOMElement = _interopRequireDefault(require('./plugins/DOMElement')); - -var _Immutable = _interopRequireDefault(require('./plugins/Immutable')); - -var _ReactElement = _interopRequireDefault(require('./plugins/ReactElement')); - -var _ReactTestComponent = _interopRequireDefault( - require('./plugins/ReactTestComponent') -); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/* eslint-disable local/ban-types-eventually */ -const toString = Object.prototype.toString; -const toISOString = Date.prototype.toISOString; -const errorToString = Error.prototype.toString; -const regExpToString = RegExp.prototype.toString; -/** - * Explicitly comparing typeof constructor to function avoids undefined as name - * when mock identity-obj-proxy returns the key as the value for any key. - */ - -const getConstructorName = val => - (typeof val.constructor === 'function' && val.constructor.name) || 'Object'; -/* global window */ - -/** Is val is equal to global window object? Works even if it does not exist :) */ - -const isWindow = val => typeof window !== 'undefined' && val === window; - -const SYMBOL_REGEXP = /^Symbol\((.*)\)(.*)$/; -const NEWLINE_REGEXP = /\n/gi; - -class PrettyFormatPluginError extends Error { - constructor(message, stack) { - super(message); - this.stack = stack; - this.name = this.constructor.name; - } -} - -function isToStringedArrayType(toStringed) { - return ( - toStringed === '[object Array]' || - toStringed === '[object ArrayBuffer]' || - toStringed === '[object DataView]' || - toStringed === '[object Float32Array]' || - toStringed === '[object Float64Array]' || - toStringed === '[object Int8Array]' || - toStringed === '[object Int16Array]' || - toStringed === '[object Int32Array]' || - toStringed === '[object Uint8Array]' || - toStringed === '[object Uint8ClampedArray]' || - toStringed === '[object Uint16Array]' || - toStringed === '[object Uint32Array]' - ); -} - -function printNumber(val) { - return Object.is(val, -0) ? '-0' : String(val); -} - -function printBigInt(val) { - return String(`${val}n`); -} - -function printFunction(val, printFunctionName) { - if (!printFunctionName) { - return '[Function]'; - } - - return '[Function ' + (val.name || 'anonymous') + ']'; -} - -function printSymbol(val) { - return String(val).replace(SYMBOL_REGEXP, 'Symbol($1)'); -} - -function printError(val) { - return '[' + errorToString.call(val) + ']'; -} -/** - * The first port of call for printing an object, handles most of the - * data-types in JS. - */ - -function printBasicValue(val, printFunctionName, escapeRegex, escapeString) { - if (val === true || val === false) { - return '' + val; - } - - if (val === undefined) { - return 'undefined'; - } - - if (val === null) { - return 'null'; - } - - const typeOf = typeof val; - - if (typeOf === 'number') { - return printNumber(val); - } - - if (typeOf === 'bigint') { - return printBigInt(val); - } - - if (typeOf === 'string') { - if (escapeString) { - return '"' + val.replace(/"|\\/g, '\\$&') + '"'; - } - - return '"' + val + '"'; - } - - if (typeOf === 'function') { - return printFunction(val, printFunctionName); - } - - if (typeOf === 'symbol') { - return printSymbol(val); - } - - const toStringed = toString.call(val); - - if (toStringed === '[object WeakMap]') { - return 'WeakMap {}'; - } - - if (toStringed === '[object WeakSet]') { - return 'WeakSet {}'; - } - - if ( - toStringed === '[object Function]' || - toStringed === '[object GeneratorFunction]' - ) { - return printFunction(val, printFunctionName); - } - - if (toStringed === '[object Symbol]') { - return printSymbol(val); - } - - if (toStringed === '[object Date]') { - return isNaN(+val) ? 'Date { NaN }' : toISOString.call(val); - } - - if (toStringed === '[object Error]') { - return printError(val); - } - - if (toStringed === '[object RegExp]') { - if (escapeRegex) { - // https://github.com/benjamingr/RegExp.escape/blob/master/polyfill.js - return regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g, '\\$&'); - } - - return regExpToString.call(val); - } - - if (val instanceof Error) { - return printError(val); - } - - return null; -} -/** - * Handles more complex objects ( such as objects with circular references. - * maps and sets etc ) - */ - -function printComplexValue( - val, - config, - indentation, - depth, - refs, - hasCalledToJSON -) { - if (refs.indexOf(val) !== -1) { - return '[Circular]'; - } - - refs = refs.slice(); - refs.push(val); - const hitMaxDepth = ++depth > config.maxDepth; - const min = config.min; - - if ( - config.callToJSON && - !hitMaxDepth && - val.toJSON && - typeof val.toJSON === 'function' && - !hasCalledToJSON - ) { - return printer(val.toJSON(), config, indentation, depth, refs, true); - } - - const toStringed = toString.call(val); - - if (toStringed === '[object Arguments]') { - return hitMaxDepth - ? '[Arguments]' - : (min ? '' : 'Arguments ') + - '[' + - (0, _collections.printListItems)( - val, - config, - indentation, - depth, - refs, - printer - ) + - ']'; - } - - if (isToStringedArrayType(toStringed)) { - return hitMaxDepth - ? '[' + val.constructor.name + ']' - : (min ? '' : val.constructor.name + ' ') + - '[' + - (0, _collections.printListItems)( - val, - config, - indentation, - depth, - refs, - printer - ) + - ']'; - } - - if (toStringed === '[object Map]') { - return hitMaxDepth - ? '[Map]' - : 'Map {' + - (0, _collections.printIteratorEntries)( - val.entries(), - config, - indentation, - depth, - refs, - printer, - ' => ' - ) + - '}'; - } - - if (toStringed === '[object Set]') { - return hitMaxDepth - ? '[Set]' - : 'Set {' + - (0, _collections.printIteratorValues)( - val.values(), - config, - indentation, - depth, - refs, - printer - ) + - '}'; - } // Avoid failure to serialize global window object in jsdom test environment. - // For example, not even relevant if window is prop of React element. - - return hitMaxDepth || isWindow(val) - ? '[' + getConstructorName(val) + ']' - : (min ? '' : getConstructorName(val) + ' ') + - '{' + - (0, _collections.printObjectProperties)( - val, - config, - indentation, - depth, - refs, - printer - ) + - '}'; -} - -function isNewPlugin(plugin) { - return plugin.serialize != null; -} - -function printPlugin(plugin, val, config, indentation, depth, refs) { - let printed; - - try { - printed = isNewPlugin(plugin) - ? plugin.serialize(val, config, indentation, depth, refs, printer) - : plugin.print( - val, - valChild => printer(valChild, config, indentation, depth, refs), - str => { - const indentationNext = indentation + config.indent; - return ( - indentationNext + - str.replace(NEWLINE_REGEXP, '\n' + indentationNext) - ); - }, - { - edgeSpacing: config.spacingOuter, - min: config.min, - spacing: config.spacingInner - }, - config.colors - ); - } catch (error) { - throw new PrettyFormatPluginError(error.message, error.stack); - } - - if (typeof printed !== 'string') { - throw new Error( - `pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".` - ); - } - - return printed; -} - -function findPlugin(plugins, val) { - for (let p = 0; p < plugins.length; p++) { - try { - if (plugins[p].test(val)) { - return plugins[p]; - } - } catch (error) { - throw new PrettyFormatPluginError(error.message, error.stack); - } - } - - return null; -} - -function printer(val, config, indentation, depth, refs, hasCalledToJSON) { - const plugin = findPlugin(config.plugins, val); - - if (plugin !== null) { - return printPlugin(plugin, val, config, indentation, depth, refs); - } - - const basicResult = printBasicValue( - val, - config.printFunctionName, - config.escapeRegex, - config.escapeString - ); - - if (basicResult !== null) { - return basicResult; - } - - return printComplexValue( - val, - config, - indentation, - depth, - refs, - hasCalledToJSON - ); -} - -const DEFAULT_THEME = { - comment: 'gray', - content: 'reset', - prop: 'yellow', - tag: 'cyan', - value: 'green' -}; -const DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME); -const DEFAULT_OPTIONS = { - callToJSON: true, - escapeRegex: false, - escapeString: true, - highlight: false, - indent: 2, - maxDepth: Infinity, - min: false, - plugins: [], - printFunctionName: true, - theme: DEFAULT_THEME -}; - -function validateOptions(options) { - Object.keys(options).forEach(key => { - if (!DEFAULT_OPTIONS.hasOwnProperty(key)) { - throw new Error(`pretty-format: Unknown option "${key}".`); - } - }); - - if (options.min && options.indent !== undefined && options.indent !== 0) { - throw new Error( - 'pretty-format: Options "min" and "indent" cannot be used together.' - ); - } - - if (options.theme !== undefined) { - if (options.theme === null) { - throw new Error(`pretty-format: Option "theme" must not be null.`); - } - - if (typeof options.theme !== 'object') { - throw new Error( - `pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".` - ); - } - } -} - -const getColorsHighlight = options => - DEFAULT_THEME_KEYS.reduce((colors, key) => { - const value = - options.theme && options.theme[key] !== undefined - ? options.theme[key] - : DEFAULT_THEME[key]; - const color = value && _ansiStyles.default[value]; - - if ( - color && - typeof color.close === 'string' && - typeof color.open === 'string' - ) { - colors[key] = color; - } else { - throw new Error( - `pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.` - ); - } - - return colors; - }, Object.create(null)); - -const getColorsEmpty = () => - DEFAULT_THEME_KEYS.reduce((colors, key) => { - colors[key] = { - close: '', - open: '' - }; - return colors; - }, Object.create(null)); - -const getPrintFunctionName = options => - options && options.printFunctionName !== undefined - ? options.printFunctionName - : DEFAULT_OPTIONS.printFunctionName; - -const getEscapeRegex = options => - options && options.escapeRegex !== undefined - ? options.escapeRegex - : DEFAULT_OPTIONS.escapeRegex; - -const getEscapeString = options => - options && options.escapeString !== undefined - ? options.escapeString - : DEFAULT_OPTIONS.escapeString; - -const getConfig = options => ({ - callToJSON: - options && options.callToJSON !== undefined - ? options.callToJSON - : DEFAULT_OPTIONS.callToJSON, - colors: - options && options.highlight - ? getColorsHighlight(options) - : getColorsEmpty(), - escapeRegex: getEscapeRegex(options), - escapeString: getEscapeString(options), - indent: - options && options.min - ? '' - : createIndent( - options && options.indent !== undefined - ? options.indent - : DEFAULT_OPTIONS.indent - ), - maxDepth: - options && options.maxDepth !== undefined - ? options.maxDepth - : DEFAULT_OPTIONS.maxDepth, - min: options && options.min !== undefined ? options.min : DEFAULT_OPTIONS.min, - plugins: - options && options.plugins !== undefined - ? options.plugins - : DEFAULT_OPTIONS.plugins, - printFunctionName: getPrintFunctionName(options), - spacingInner: options && options.min ? ' ' : '\n', - spacingOuter: options && options.min ? '' : '\n' -}); - -function createIndent(indent) { - return new Array(indent + 1).join(' '); -} -/** - * Returns a presentation string of your `val` object - * @param val any potential JavaScript object - * @param options Custom settings - */ - -function prettyFormat(val, options) { - if (options) { - validateOptions(options); - - if (options.plugins) { - const plugin = findPlugin(options.plugins, val); - - if (plugin !== null) { - return printPlugin(plugin, val, getConfig(options), '', 0, []); - } - } - } - - const basicResult = printBasicValue( - val, - getPrintFunctionName(options), - getEscapeRegex(options), - getEscapeString(options) - ); - - if (basicResult !== null) { - return basicResult; - } - - return printComplexValue(val, getConfig(options), '', 0, []); -} - -prettyFormat.plugins = { - AsymmetricMatcher: _AsymmetricMatcher.default, - ConvertAnsi: _ConvertAnsi.default, - DOMCollection: _DOMCollection.default, - DOMElement: _DOMElement.default, - Immutable: _Immutable.default, - ReactElement: _ReactElement.default, - ReactTestComponent: _ReactTestComponent.default -}; -module.exports = prettyFormat; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts deleted file mode 100644 index fd2531b..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { NewPlugin } from '../types'; -export declare const serialize: NewPlugin['serialize']; -export declare const test: NewPlugin['test']; -declare const plugin: NewPlugin; -export default plugin; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js deleted file mode 100644 index a09dec2..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +++ /dev/null @@ -1,103 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = exports.test = exports.serialize = void 0; - -var _collections = require('../collections'); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; -const asymmetricMatcher = - typeof Symbol === 'function' && Symbol.for - ? Symbol.for('jest.asymmetricMatcher') - : 0x1357a5; -const SPACE = ' '; - -const serialize = (val, config, indentation, depth, refs, printer) => { - const stringedValue = val.toString(); - - if ( - stringedValue === 'ArrayContaining' || - stringedValue === 'ArrayNotContaining' - ) { - if (++depth > config.maxDepth) { - return '[' + stringedValue + ']'; - } - - return ( - stringedValue + - SPACE + - '[' + - (0, _collections.printListItems)( - val.sample, - config, - indentation, - depth, - refs, - printer - ) + - ']' - ); - } - - if ( - stringedValue === 'ObjectContaining' || - stringedValue === 'ObjectNotContaining' - ) { - if (++depth > config.maxDepth) { - return '[' + stringedValue + ']'; - } - - return ( - stringedValue + - SPACE + - '{' + - (0, _collections.printObjectProperties)( - val.sample, - config, - indentation, - depth, - refs, - printer - ) + - '}' - ); - } - - if ( - stringedValue === 'StringMatching' || - stringedValue === 'StringNotMatching' - ) { - return ( - stringedValue + - SPACE + - printer(val.sample, config, indentation, depth, refs) - ); - } - - if ( - stringedValue === 'StringContaining' || - stringedValue === 'StringNotContaining' - ) { - return ( - stringedValue + - SPACE + - printer(val.sample, config, indentation, depth, refs) - ); - } - - return val.toAsymmetricMatcher(); -}; - -exports.serialize = serialize; - -const test = val => val && val.$$typeof === asymmetricMatcher; - -exports.test = test; -const plugin = { - serialize, - test -}; -var _default = plugin; -exports.default = _default; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts deleted file mode 100644 index bb0f507..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { NewPlugin } from '../types'; -export declare const test: NewPlugin['test']; -export declare const serialize: NewPlugin['serialize']; -declare const plugin: NewPlugin; -export default plugin; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.js deleted file mode 100644 index 3d2d8fc..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ConvertAnsi.js +++ /dev/null @@ -1,96 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = exports.serialize = exports.test = void 0; - -var _ansiRegex = _interopRequireDefault(require('ansi-regex')); - -var _ansiStyles = _interopRequireDefault(require('ansi-styles')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -const toHumanReadableAnsi = text => - text.replace((0, _ansiRegex.default)(), match => { - switch (match) { - case _ansiStyles.default.red.close: - case _ansiStyles.default.green.close: - case _ansiStyles.default.cyan.close: - case _ansiStyles.default.gray.close: - case _ansiStyles.default.white.close: - case _ansiStyles.default.yellow.close: - case _ansiStyles.default.bgRed.close: - case _ansiStyles.default.bgGreen.close: - case _ansiStyles.default.bgYellow.close: - case _ansiStyles.default.inverse.close: - case _ansiStyles.default.dim.close: - case _ansiStyles.default.bold.close: - case _ansiStyles.default.reset.open: - case _ansiStyles.default.reset.close: - return ''; - - case _ansiStyles.default.red.open: - return ''; - - case _ansiStyles.default.green.open: - return ''; - - case _ansiStyles.default.cyan.open: - return ''; - - case _ansiStyles.default.gray.open: - return ''; - - case _ansiStyles.default.white.open: - return ''; - - case _ansiStyles.default.yellow.open: - return ''; - - case _ansiStyles.default.bgRed.open: - return ''; - - case _ansiStyles.default.bgGreen.open: - return ''; - - case _ansiStyles.default.bgYellow.open: - return ''; - - case _ansiStyles.default.inverse.open: - return ''; - - case _ansiStyles.default.dim.open: - return ''; - - case _ansiStyles.default.bold.open: - return ''; - - default: - return ''; - } - }); - -const test = val => - typeof val === 'string' && !!val.match((0, _ansiRegex.default)()); - -exports.test = test; - -const serialize = (val, config, indentation, depth, refs, printer) => - printer(toHumanReadableAnsi(val), config, indentation, depth, refs); - -exports.serialize = serialize; -const plugin = { - serialize, - test -}; -var _default = plugin; -exports.default = _default; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.d.ts deleted file mode 100644 index bb0f507..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { NewPlugin } from '../types'; -export declare const test: NewPlugin['test']; -export declare const serialize: NewPlugin['serialize']; -declare const plugin: NewPlugin; -export default plugin; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.js deleted file mode 100644 index 1ae3750..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMCollection.js +++ /dev/null @@ -1,80 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = exports.serialize = exports.test = void 0; - -var _collections = require('../collections'); - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -/* eslint-disable local/ban-types-eventually */ -const SPACE = ' '; -const OBJECT_NAMES = ['DOMStringMap', 'NamedNodeMap']; -const ARRAY_REGEXP = /^(HTML\w*Collection|NodeList)$/; - -const testName = name => - OBJECT_NAMES.indexOf(name) !== -1 || ARRAY_REGEXP.test(name); - -const test = val => - val && - val.constructor && - !!val.constructor.name && - testName(val.constructor.name); - -exports.test = test; - -const isNamedNodeMap = collection => - collection.constructor.name === 'NamedNodeMap'; - -const serialize = (collection, config, indentation, depth, refs, printer) => { - const name = collection.constructor.name; - - if (++depth > config.maxDepth) { - return '[' + name + ']'; - } - - return ( - (config.min ? '' : name + SPACE) + - (OBJECT_NAMES.indexOf(name) !== -1 - ? '{' + - (0, _collections.printObjectProperties)( - isNamedNodeMap(collection) - ? Array.from(collection).reduce((props, attribute) => { - props[attribute.name] = attribute.value; - return props; - }, {}) - : {...collection}, - config, - indentation, - depth, - refs, - printer - ) + - '}' - : '[' + - (0, _collections.printListItems)( - Array.from(collection), - config, - indentation, - depth, - refs, - printer - ) + - ']') - ); -}; - -exports.serialize = serialize; -const plugin = { - serialize, - test -}; -var _default = plugin; -exports.default = _default; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.d.ts deleted file mode 100644 index bb0f507..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { NewPlugin } from '../types'; -export declare const test: NewPlugin['test']; -export declare const serialize: NewPlugin['serialize']; -declare const plugin: NewPlugin; -export default plugin; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.js deleted file mode 100644 index bc9746a..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/DOMElement.js +++ /dev/null @@ -1,125 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = exports.serialize = exports.test = void 0; - -var _markup = require('./lib/markup'); - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -const ELEMENT_NODE = 1; -const TEXT_NODE = 3; -const COMMENT_NODE = 8; -const FRAGMENT_NODE = 11; -const ELEMENT_REGEXP = /^((HTML|SVG)\w*)?Element$/; - -const testNode = val => { - var _val$hasAttribute; - - const constructorName = val.constructor.name; - const {nodeType, tagName} = val; - const isCustomElement = - (typeof tagName === 'string' && tagName.includes('-')) || - ((_val$hasAttribute = val.hasAttribute) === null || - _val$hasAttribute === void 0 - ? void 0 - : _val$hasAttribute.call(val, 'is')); - return ( - (nodeType === ELEMENT_NODE && - (ELEMENT_REGEXP.test(constructorName) || isCustomElement)) || - (nodeType === TEXT_NODE && constructorName === 'Text') || - (nodeType === COMMENT_NODE && constructorName === 'Comment') || - (nodeType === FRAGMENT_NODE && constructorName === 'DocumentFragment') - ); -}; - -const test = val => { - var _val$constructor; - - return ( - (val === null || val === void 0 - ? void 0 - : (_val$constructor = val.constructor) === null || - _val$constructor === void 0 - ? void 0 - : _val$constructor.name) && testNode(val) - ); -}; - -exports.test = test; - -function nodeIsText(node) { - return node.nodeType === TEXT_NODE; -} - -function nodeIsComment(node) { - return node.nodeType === COMMENT_NODE; -} - -function nodeIsFragment(node) { - return node.nodeType === FRAGMENT_NODE; -} - -const serialize = (node, config, indentation, depth, refs, printer) => { - if (nodeIsText(node)) { - return (0, _markup.printText)(node.data, config); - } - - if (nodeIsComment(node)) { - return (0, _markup.printComment)(node.data, config); - } - - const type = nodeIsFragment(node) - ? `DocumentFragment` - : node.tagName.toLowerCase(); - - if (++depth > config.maxDepth) { - return (0, _markup.printElementAsLeaf)(type, config); - } - - return (0, _markup.printElement)( - type, - (0, _markup.printProps)( - nodeIsFragment(node) - ? [] - : Array.from(node.attributes) - .map(attr => attr.name) - .sort(), - nodeIsFragment(node) - ? {} - : Array.from(node.attributes).reduce((props, attribute) => { - props[attribute.name] = attribute.value; - return props; - }, {}), - config, - indentation + config.indent, - depth, - refs, - printer - ), - (0, _markup.printChildren)( - Array.prototype.slice.call(node.childNodes || node.children), - config, - indentation + config.indent, - depth, - refs, - printer - ), - config, - indentation - ); -}; - -exports.serialize = serialize; -const plugin = { - serialize, - test -}; -var _default = plugin; -exports.default = _default; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.d.ts deleted file mode 100644 index fd2531b..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { NewPlugin } from '../types'; -export declare const serialize: NewPlugin['serialize']; -export declare const test: NewPlugin['test']; -declare const plugin: NewPlugin; -export default plugin; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.js deleted file mode 100644 index 9268401..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/Immutable.js +++ /dev/null @@ -1,247 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = exports.test = exports.serialize = void 0; - -var _collections = require('../collections'); - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -// SENTINEL constants are from https://github.com/facebook/immutable-js -const IS_ITERABLE_SENTINEL = '@@__IMMUTABLE_ITERABLE__@@'; -const IS_LIST_SENTINEL = '@@__IMMUTABLE_LIST__@@'; -const IS_KEYED_SENTINEL = '@@__IMMUTABLE_KEYED__@@'; -const IS_MAP_SENTINEL = '@@__IMMUTABLE_MAP__@@'; -const IS_ORDERED_SENTINEL = '@@__IMMUTABLE_ORDERED__@@'; -const IS_RECORD_SENTINEL = '@@__IMMUTABLE_RECORD__@@'; // immutable v4 - -const IS_SEQ_SENTINEL = '@@__IMMUTABLE_SEQ__@@'; -const IS_SET_SENTINEL = '@@__IMMUTABLE_SET__@@'; -const IS_STACK_SENTINEL = '@@__IMMUTABLE_STACK__@@'; - -const getImmutableName = name => 'Immutable.' + name; - -const printAsLeaf = name => '[' + name + ']'; - -const SPACE = ' '; -const LAZY = '…'; // Seq is lazy if it calls a method like filter - -const printImmutableEntries = ( - val, - config, - indentation, - depth, - refs, - printer, - type -) => - ++depth > config.maxDepth - ? printAsLeaf(getImmutableName(type)) - : getImmutableName(type) + - SPACE + - '{' + - (0, _collections.printIteratorEntries)( - val.entries(), - config, - indentation, - depth, - refs, - printer - ) + - '}'; // Record has an entries method because it is a collection in immutable v3. -// Return an iterator for Immutable Record from version v3 or v4. - -function getRecordEntries(val) { - let i = 0; - return { - next() { - if (i < val._keys.length) { - const key = val._keys[i++]; - return { - done: false, - value: [key, val.get(key)] - }; - } - - return { - done: true, - value: undefined - }; - } - }; -} - -const printImmutableRecord = ( - val, - config, - indentation, - depth, - refs, - printer -) => { - // _name property is defined only for an Immutable Record instance - // which was constructed with a second optional descriptive name arg - const name = getImmutableName(val._name || 'Record'); - return ++depth > config.maxDepth - ? printAsLeaf(name) - : name + - SPACE + - '{' + - (0, _collections.printIteratorEntries)( - getRecordEntries(val), - config, - indentation, - depth, - refs, - printer - ) + - '}'; -}; - -const printImmutableSeq = (val, config, indentation, depth, refs, printer) => { - const name = getImmutableName('Seq'); - - if (++depth > config.maxDepth) { - return printAsLeaf(name); - } - - if (val[IS_KEYED_SENTINEL]) { - return ( - name + - SPACE + - '{' + // from Immutable collection of entries or from ECMAScript object - (val._iter || val._object - ? (0, _collections.printIteratorEntries)( - val.entries(), - config, - indentation, - depth, - refs, - printer - ) - : LAZY) + - '}' - ); - } - - return ( - name + - SPACE + - '[' + - (val._iter || // from Immutable collection of values - val._array || // from ECMAScript array - val._collection || // from ECMAScript collection in immutable v4 - val._iterable // from ECMAScript collection in immutable v3 - ? (0, _collections.printIteratorValues)( - val.values(), - config, - indentation, - depth, - refs, - printer - ) - : LAZY) + - ']' - ); -}; - -const printImmutableValues = ( - val, - config, - indentation, - depth, - refs, - printer, - type -) => - ++depth > config.maxDepth - ? printAsLeaf(getImmutableName(type)) - : getImmutableName(type) + - SPACE + - '[' + - (0, _collections.printIteratorValues)( - val.values(), - config, - indentation, - depth, - refs, - printer - ) + - ']'; - -const serialize = (val, config, indentation, depth, refs, printer) => { - if (val[IS_MAP_SENTINEL]) { - return printImmutableEntries( - val, - config, - indentation, - depth, - refs, - printer, - val[IS_ORDERED_SENTINEL] ? 'OrderedMap' : 'Map' - ); - } - - if (val[IS_LIST_SENTINEL]) { - return printImmutableValues( - val, - config, - indentation, - depth, - refs, - printer, - 'List' - ); - } - - if (val[IS_SET_SENTINEL]) { - return printImmutableValues( - val, - config, - indentation, - depth, - refs, - printer, - val[IS_ORDERED_SENTINEL] ? 'OrderedSet' : 'Set' - ); - } - - if (val[IS_STACK_SENTINEL]) { - return printImmutableValues( - val, - config, - indentation, - depth, - refs, - printer, - 'Stack' - ); - } - - if (val[IS_SEQ_SENTINEL]) { - return printImmutableSeq(val, config, indentation, depth, refs, printer); - } // For compatibility with immutable v3 and v4, let record be the default. - - return printImmutableRecord(val, config, indentation, depth, refs, printer); -}; // Explicitly comparing sentinel properties to true avoids false positive -// when mock identity-obj-proxy returns the key as the value for any key. - -exports.serialize = serialize; - -const test = val => - val && - (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true); - -exports.test = test; -const plugin = { - serialize, - test -}; -var _default = plugin; -exports.default = _default; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.d.ts deleted file mode 100644 index fd2531b..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { NewPlugin } from '../types'; -export declare const serialize: NewPlugin['serialize']; -export declare const test: NewPlugin['test']; -declare const plugin: NewPlugin; -export default plugin; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.js deleted file mode 100644 index ad2cca0..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactElement.js +++ /dev/null @@ -1,166 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = exports.test = exports.serialize = void 0; - -var ReactIs = _interopRequireWildcard(require('react-is')); - -var _markup = require('./lib/markup'); - -function _getRequireWildcardCache() { - if (typeof WeakMap !== 'function') return null; - var cache = new WeakMap(); - _getRequireWildcardCache = function () { - return cache; - }; - return cache; -} - -function _interopRequireWildcard(obj) { - if (obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (Object.prototype.hasOwnProperty.call(obj, key)) { - var desc = hasPropertyDescriptor - ? Object.getOwnPropertyDescriptor(obj, key) - : null; - if (desc && (desc.get || desc.set)) { - Object.defineProperty(newObj, key, desc); - } else { - newObj[key] = obj[key]; - } - } - } - newObj.default = obj; - if (cache) { - cache.set(obj, newObj); - } - return newObj; -} - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -// Given element.props.children, or subtree during recursive traversal, -// return flattened array of children. -const getChildren = (arg, children = []) => { - if (Array.isArray(arg)) { - arg.forEach(item => { - getChildren(item, children); - }); - } else if (arg != null && arg !== false) { - children.push(arg); - } - - return children; -}; - -const getType = element => { - const type = element.type; - - if (typeof type === 'string') { - return type; - } - - if (typeof type === 'function') { - return type.displayName || type.name || 'Unknown'; - } - - if (ReactIs.isFragment(element)) { - return 'React.Fragment'; - } - - if (ReactIs.isSuspense(element)) { - return 'React.Suspense'; - } - - if (typeof type === 'object' && type !== null) { - if (ReactIs.isContextProvider(element)) { - return 'Context.Provider'; - } - - if (ReactIs.isContextConsumer(element)) { - return 'Context.Consumer'; - } - - if (ReactIs.isForwardRef(element)) { - if (type.displayName) { - return type.displayName; - } - - const functionName = type.render.displayName || type.render.name || ''; - return functionName !== '' - ? 'ForwardRef(' + functionName + ')' - : 'ForwardRef'; - } - - if (ReactIs.isMemo(element)) { - const functionName = - type.displayName || type.type.displayName || type.type.name || ''; - return functionName !== '' ? 'Memo(' + functionName + ')' : 'Memo'; - } - } - - return 'UNDEFINED'; -}; - -const getPropKeys = element => { - const {props} = element; - return Object.keys(props) - .filter(key => key !== 'children' && props[key] !== undefined) - .sort(); -}; - -const serialize = (element, config, indentation, depth, refs, printer) => - ++depth > config.maxDepth - ? (0, _markup.printElementAsLeaf)(getType(element), config) - : (0, _markup.printElement)( - getType(element), - (0, _markup.printProps)( - getPropKeys(element), - element.props, - config, - indentation + config.indent, - depth, - refs, - printer - ), - (0, _markup.printChildren)( - getChildren(element.props.children), - config, - indentation + config.indent, - depth, - refs, - printer - ), - config, - indentation - ); - -exports.serialize = serialize; - -const test = val => val && ReactIs.isElement(val); - -exports.test = test; -const plugin = { - serialize, - test -}; -var _default = plugin; -exports.default = _default; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts deleted file mode 100644 index 91542d9..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { NewPlugin } from '../types'; -export declare type ReactTestObject = { - $$typeof: symbol; - type: string; - props?: Record; - children?: null | Array; -}; -declare type ReactTestChild = ReactTestObject | string | number; -export declare const serialize: NewPlugin['serialize']; -export declare const test: NewPlugin['test']; -declare const plugin: NewPlugin; -export default plugin; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.js deleted file mode 100644 index 9399f78..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/ReactTestComponent.js +++ /dev/null @@ -1,65 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = exports.test = exports.serialize = void 0; - -var _markup = require('./lib/markup'); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; -const testSymbol = - typeof Symbol === 'function' && Symbol.for - ? Symbol.for('react.test.json') - : 0xea71357; - -const getPropKeys = object => { - const {props} = object; - return props - ? Object.keys(props) - .filter(key => props[key] !== undefined) - .sort() - : []; -}; - -const serialize = (object, config, indentation, depth, refs, printer) => - ++depth > config.maxDepth - ? (0, _markup.printElementAsLeaf)(object.type, config) - : (0, _markup.printElement)( - object.type, - object.props - ? (0, _markup.printProps)( - getPropKeys(object), - object.props, - config, - indentation + config.indent, - depth, - refs, - printer - ) - : '', - object.children - ? (0, _markup.printChildren)( - object.children, - config, - indentation + config.indent, - depth, - refs, - printer - ) - : '', - config, - indentation - ); - -exports.serialize = serialize; - -const test = val => val && val.$$typeof === testSymbol; - -exports.test = test; -const plugin = { - serialize, - test -}; -var _default = plugin; -exports.default = _default; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts deleted file mode 100644 index aee0d3d..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -export default function escapeHTML(str: string): string; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.js deleted file mode 100644 index 50dda25..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = escapeHTML; - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -function escapeHTML(str) { - return str.replace(//g, '>'); -} diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.d.ts deleted file mode 100644 index 60d99ab..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import type { Config, Printer, Refs } from '../../types'; -export declare const printProps: (keys: Array, props: Record, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer) => string; -export declare const printChildren: (children: Array, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer) => string; -export declare const printText: (text: string, config: Config) => string; -export declare const printComment: (comment: string, config: Config) => string; -export declare const printElement: (type: string, printedProps: string, printedChildren: string, config: Config, indentation: string) => string; -export declare const printElementAsLeaf: (type: string, config: Config) => string; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.js b/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.js deleted file mode 100644 index d47b88f..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/plugins/lib/markup.js +++ /dev/null @@ -1,147 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.printElementAsLeaf = exports.printElement = exports.printComment = exports.printText = exports.printChildren = exports.printProps = void 0; - -var _escapeHTML = _interopRequireDefault(require('./escapeHTML')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -// Return empty string if keys is empty. -const printProps = (keys, props, config, indentation, depth, refs, printer) => { - const indentationNext = indentation + config.indent; - const colors = config.colors; - return keys - .map(key => { - const value = props[key]; - let printed = printer(value, config, indentationNext, depth, refs); - - if (typeof value !== 'string') { - if (printed.indexOf('\n') !== -1) { - printed = - config.spacingOuter + - indentationNext + - printed + - config.spacingOuter + - indentation; - } - - printed = '{' + printed + '}'; - } - - return ( - config.spacingInner + - indentation + - colors.prop.open + - key + - colors.prop.close + - '=' + - colors.value.open + - printed + - colors.value.close - ); - }) - .join(''); -}; // Return empty string if children is empty. - -exports.printProps = printProps; - -const printChildren = (children, config, indentation, depth, refs, printer) => - children - .map( - child => - config.spacingOuter + - indentation + - (typeof child === 'string' - ? printText(child, config) - : printer(child, config, indentation, depth, refs)) - ) - .join(''); - -exports.printChildren = printChildren; - -const printText = (text, config) => { - const contentColor = config.colors.content; - return ( - contentColor.open + (0, _escapeHTML.default)(text) + contentColor.close - ); -}; - -exports.printText = printText; - -const printComment = (comment, config) => { - const commentColor = config.colors.comment; - return ( - commentColor.open + - '' + - commentColor.close - ); -}; // Separate the functions to format props, children, and element, -// so a plugin could override a particular function, if needed. -// Too bad, so sad: the traditional (but unnecessary) space -// in a self-closing tagColor requires a second test of printedProps. - -exports.printComment = printComment; - -const printElement = ( - type, - printedProps, - printedChildren, - config, - indentation -) => { - const tagColor = config.colors.tag; - return ( - tagColor.open + - '<' + - type + - (printedProps && - tagColor.close + - printedProps + - config.spacingOuter + - indentation + - tagColor.open) + - (printedChildren - ? '>' + - tagColor.close + - printedChildren + - config.spacingOuter + - indentation + - tagColor.open + - '' + - tagColor.close - ); -}; - -exports.printElement = printElement; - -const printElementAsLeaf = (type, config) => { - const tagColor = config.colors.tag; - return ( - tagColor.open + - '<' + - type + - tagColor.close + - ' …' + - tagColor.open + - ' />' + - tagColor.close - ); -}; - -exports.printElementAsLeaf = printElementAsLeaf; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/types.d.ts b/node_modules/jest-config/node_modules/pretty-format/build/types.d.ts deleted file mode 100644 index 5f1e06d..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/types.d.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -export declare type Colors = { - comment: { - close: string; - open: string; - }; - content: { - close: string; - open: string; - }; - prop: { - close: string; - open: string; - }; - tag: { - close: string; - open: string; - }; - value: { - close: string; - open: string; - }; -}; -declare type Indent = (arg0: string) => string; -export declare type Refs = Array; -declare type Print = (arg0: unknown) => string; -export declare type Theme = { - comment: string; - content: string; - prop: string; - tag: string; - value: string; -}; -declare type ThemeReceived = { - comment?: string; - content?: string; - prop?: string; - tag?: string; - value?: string; -}; -export declare type Options = { - callToJSON: boolean; - escapeRegex: boolean; - escapeString: boolean; - highlight: boolean; - indent: number; - maxDepth: number; - min: boolean; - plugins: Plugins; - printFunctionName: boolean; - theme: Theme; -}; -export declare type OptionsReceived = { - callToJSON?: boolean; - escapeRegex?: boolean; - escapeString?: boolean; - highlight?: boolean; - indent?: number; - maxDepth?: number; - min?: boolean; - plugins?: Plugins; - printFunctionName?: boolean; - theme?: ThemeReceived; -}; -export declare type Config = { - callToJSON: boolean; - colors: Colors; - escapeRegex: boolean; - escapeString: boolean; - indent: string; - maxDepth: number; - min: boolean; - plugins: Plugins; - printFunctionName: boolean; - spacingInner: string; - spacingOuter: string; -}; -export declare type Printer = (val: unknown, config: Config, indentation: string, depth: number, refs: Refs, hasCalledToJSON?: boolean) => string; -declare type Test = (arg0: any) => boolean; -export declare type NewPlugin = { - serialize: (val: any, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer) => string; - test: Test; -}; -declare type PluginOptions = { - edgeSpacing: string; - min: boolean; - spacing: string; -}; -export declare type OldPlugin = { - print: (val: unknown, print: Print, indent: Indent, options: PluginOptions, colors: Colors) => string; - test: Test; -}; -export declare type Plugin = NewPlugin | OldPlugin; -export declare type Plugins = Array; -export {}; diff --git a/node_modules/jest-config/node_modules/pretty-format/build/types.js b/node_modules/jest-config/node_modules/pretty-format/build/types.js deleted file mode 100644 index ad9a93a..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/build/types.js +++ /dev/null @@ -1 +0,0 @@ -'use strict'; diff --git a/node_modules/jest-config/node_modules/pretty-format/package.json b/node_modules/jest-config/node_modules/pretty-format/package.json deleted file mode 100644 index ec026cb..0000000 --- a/node_modules/jest-config/node_modules/pretty-format/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "pretty-format", - "version": "26.6.2", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/pretty-format" - }, - "license": "MIT", - "description": "Stringify any JavaScript value.", - "main": "build/index.js", - "types": "build/index.d.ts", - "author": "James Kyle ", - "dependencies": { - "@jest/types": "^26.6.2", - "ansi-regex": "^5.0.0", - "ansi-styles": "^4.0.0", - "react-is": "^17.0.1" - }, - "devDependencies": { - "@types/react": "*", - "@types/react-is": "^16.7.1", - "@types/react-test-renderer": "*", - "immutable": "4.0.0-rc.9", - "jest-util": "^26.6.2", - "react": "*", - "react-dom": "*", - "react-test-renderer": "*" - }, - "engines": { - "node": ">= 10" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "4c46930615602cbf983fb7e8e82884c282a624d5" -} diff --git a/node_modules/jest-config/node_modules/react-is/LICENSE b/node_modules/jest-config/node_modules/react-is/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-config/node_modules/react-is/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Facebook, Inc. and its affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/jest-config/node_modules/react-is/README.md b/node_modules/jest-config/node_modules/react-is/README.md deleted file mode 100644 index d255977..0000000 --- a/node_modules/jest-config/node_modules/react-is/README.md +++ /dev/null @@ -1,104 +0,0 @@ -# `react-is` - -This package allows you to test arbitrary values and see if they're a particular React element type. - -## Installation - -```sh -# Yarn -yarn add react-is - -# NPM -npm install react-is -``` - -## Usage - -### Determining if a Component is Valid - -```js -import React from "react"; -import * as ReactIs from "react-is"; - -class ClassComponent extends React.Component { - render() { - return React.createElement("div"); - } -} - -const FunctionComponent = () => React.createElement("div"); - -const ForwardRefComponent = React.forwardRef((props, ref) => - React.createElement(Component, { forwardedRef: ref, ...props }) -); - -const Context = React.createContext(false); - -ReactIs.isValidElementType("div"); // true -ReactIs.isValidElementType(ClassComponent); // true -ReactIs.isValidElementType(FunctionComponent); // true -ReactIs.isValidElementType(ForwardRefComponent); // true -ReactIs.isValidElementType(Context.Provider); // true -ReactIs.isValidElementType(Context.Consumer); // true -ReactIs.isValidElementType(React.createFactory("div")); // true -``` - -### Determining an Element's Type - -#### Context - -```js -import React from "react"; -import * as ReactIs from 'react-is'; - -const ThemeContext = React.createContext("blue"); - -ReactIs.isContextConsumer(); // true -ReactIs.isContextProvider(); // true -ReactIs.typeOf() === ReactIs.ContextProvider; // true -ReactIs.typeOf() === ReactIs.ContextConsumer; // true -``` - -#### Element - -```js -import React from "react"; -import * as ReactIs from 'react-is'; - -ReactIs.isElement(
); // true -ReactIs.typeOf(
) === ReactIs.Element; // true -``` - -#### Fragment - -```js -import React from "react"; -import * as ReactIs from 'react-is'; - -ReactIs.isFragment(<>); // true -ReactIs.typeOf(<>) === ReactIs.Fragment; // true -``` - -#### Portal - -```js -import React from "react"; -import ReactDOM from "react-dom"; -import * as ReactIs from 'react-is'; - -const div = document.createElement("div"); -const portal = ReactDOM.createPortal(
, div); - -ReactIs.isPortal(portal); // true -ReactIs.typeOf(portal) === ReactIs.Portal; // true -``` - -#### StrictMode - -```js -import React from "react"; -import * as ReactIs from 'react-is'; - -ReactIs.isStrictMode(); // true -ReactIs.typeOf() === ReactIs.StrictMode; // true -``` diff --git a/node_modules/jest-config/node_modules/react-is/build-info.json b/node_modules/jest-config/node_modules/react-is/build-info.json deleted file mode 100644 index db5dbe5..0000000 --- a/node_modules/jest-config/node_modules/react-is/build-info.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "branch": "pull/21051", - "buildNumber": "287151", - "checksum": "94f5c65", - "commit": "12adaffef", - "environment": "ci", - "reactVersion": "17.0.0-12adaffef" -} diff --git a/node_modules/jest-config/node_modules/react-is/cjs/react-is.development.js b/node_modules/jest-config/node_modules/react-is/cjs/react-is.development.js deleted file mode 100644 index b2e388e..0000000 --- a/node_modules/jest-config/node_modules/react-is/cjs/react-is.development.js +++ /dev/null @@ -1,226 +0,0 @@ -/** @license React v17.0.2 - * react-is.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -if (process.env.NODE_ENV !== "production") { - (function() { -'use strict'; - -// ATTENTION -// When adding new symbols to this file, -// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' -// The Symbol used to tag the ReactElement-like types. If there is no native Symbol -// nor polyfill, then a plain number is used for performance. -var REACT_ELEMENT_TYPE = 0xeac7; -var REACT_PORTAL_TYPE = 0xeaca; -var REACT_FRAGMENT_TYPE = 0xeacb; -var REACT_STRICT_MODE_TYPE = 0xeacc; -var REACT_PROFILER_TYPE = 0xead2; -var REACT_PROVIDER_TYPE = 0xeacd; -var REACT_CONTEXT_TYPE = 0xeace; -var REACT_FORWARD_REF_TYPE = 0xead0; -var REACT_SUSPENSE_TYPE = 0xead1; -var REACT_SUSPENSE_LIST_TYPE = 0xead8; -var REACT_MEMO_TYPE = 0xead3; -var REACT_LAZY_TYPE = 0xead4; -var REACT_BLOCK_TYPE = 0xead9; -var REACT_SERVER_BLOCK_TYPE = 0xeada; -var REACT_FUNDAMENTAL_TYPE = 0xead5; -var REACT_SCOPE_TYPE = 0xead7; -var REACT_OPAQUE_ID_TYPE = 0xeae0; -var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; -var REACT_OFFSCREEN_TYPE = 0xeae2; -var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; - -if (typeof Symbol === 'function' && Symbol.for) { - var symbolFor = Symbol.for; - REACT_ELEMENT_TYPE = symbolFor('react.element'); - REACT_PORTAL_TYPE = symbolFor('react.portal'); - REACT_FRAGMENT_TYPE = symbolFor('react.fragment'); - REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); - REACT_PROFILER_TYPE = symbolFor('react.profiler'); - REACT_PROVIDER_TYPE = symbolFor('react.provider'); - REACT_CONTEXT_TYPE = symbolFor('react.context'); - REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); - REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); - REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); - REACT_MEMO_TYPE = symbolFor('react.memo'); - REACT_LAZY_TYPE = symbolFor('react.lazy'); - REACT_BLOCK_TYPE = symbolFor('react.block'); - REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block'); - REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental'); - REACT_SCOPE_TYPE = symbolFor('react.scope'); - REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id'); - REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); - REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); - REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); -} - -// Filter certain DOM attributes (e.g. src, href) if their values are empty strings. - -var enableScopeAPI = false; // Experimental Create Event Handle API. - -function isValidElementType(type) { - if (typeof type === 'string' || typeof type === 'function') { - return true; - } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill). - - - if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) { - return true; - } - - if (typeof type === 'object' && type !== null) { - if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) { - return true; - } - } - - return false; -} - -function typeOf(object) { - if (typeof object === 'object' && object !== null) { - var $$typeof = object.$$typeof; - - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type = object.type; - - switch (type) { - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - case REACT_SUSPENSE_LIST_TYPE: - return type; - - default: - var $$typeofType = type && type.$$typeof; - - switch ($$typeofType) { - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - - default: - return $$typeof; - } - - } - - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - - return undefined; -} -var ContextConsumer = REACT_CONTEXT_TYPE; -var ContextProvider = REACT_PROVIDER_TYPE; -var Element = REACT_ELEMENT_TYPE; -var ForwardRef = REACT_FORWARD_REF_TYPE; -var Fragment = REACT_FRAGMENT_TYPE; -var Lazy = REACT_LAZY_TYPE; -var Memo = REACT_MEMO_TYPE; -var Portal = REACT_PORTAL_TYPE; -var Profiler = REACT_PROFILER_TYPE; -var StrictMode = REACT_STRICT_MODE_TYPE; -var Suspense = REACT_SUSPENSE_TYPE; -var hasWarnedAboutDeprecatedIsAsyncMode = false; -var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated - -function isAsyncMode(object) { - { - if (!hasWarnedAboutDeprecatedIsAsyncMode) { - hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint - - console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.'); - } - } - - return false; -} -function isConcurrentMode(object) { - { - if (!hasWarnedAboutDeprecatedIsConcurrentMode) { - hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint - - console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.'); - } - } - - return false; -} -function isContextConsumer(object) { - return typeOf(object) === REACT_CONTEXT_TYPE; -} -function isContextProvider(object) { - return typeOf(object) === REACT_PROVIDER_TYPE; -} -function isElement(object) { - return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; -} -function isForwardRef(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; -} -function isFragment(object) { - return typeOf(object) === REACT_FRAGMENT_TYPE; -} -function isLazy(object) { - return typeOf(object) === REACT_LAZY_TYPE; -} -function isMemo(object) { - return typeOf(object) === REACT_MEMO_TYPE; -} -function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; -} -function isProfiler(object) { - return typeOf(object) === REACT_PROFILER_TYPE; -} -function isStrictMode(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; -} -function isSuspense(object) { - return typeOf(object) === REACT_SUSPENSE_TYPE; -} - -exports.ContextConsumer = ContextConsumer; -exports.ContextProvider = ContextProvider; -exports.Element = Element; -exports.ForwardRef = ForwardRef; -exports.Fragment = Fragment; -exports.Lazy = Lazy; -exports.Memo = Memo; -exports.Portal = Portal; -exports.Profiler = Profiler; -exports.StrictMode = StrictMode; -exports.Suspense = Suspense; -exports.isAsyncMode = isAsyncMode; -exports.isConcurrentMode = isConcurrentMode; -exports.isContextConsumer = isContextConsumer; -exports.isContextProvider = isContextProvider; -exports.isElement = isElement; -exports.isForwardRef = isForwardRef; -exports.isFragment = isFragment; -exports.isLazy = isLazy; -exports.isMemo = isMemo; -exports.isPortal = isPortal; -exports.isProfiler = isProfiler; -exports.isStrictMode = isStrictMode; -exports.isSuspense = isSuspense; -exports.isValidElementType = isValidElementType; -exports.typeOf = typeOf; - })(); -} diff --git a/node_modules/jest-config/node_modules/react-is/cjs/react-is.production.min.js b/node_modules/jest-config/node_modules/react-is/cjs/react-is.production.min.js deleted file mode 100644 index b416090..0000000 --- a/node_modules/jest-config/node_modules/react-is/cjs/react-is.production.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/** @license React v17.0.2 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -'use strict';var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131; -if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden")} -function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;exports.ContextConsumer=h;exports.ContextProvider=z;exports.Element=A;exports.ForwardRef=B;exports.Fragment=C;exports.Lazy=D;exports.Memo=E;exports.Portal=F;exports.Profiler=G;exports.StrictMode=H; -exports.Suspense=I;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return y(a)===h};exports.isContextProvider=function(a){return y(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return y(a)===k};exports.isFragment=function(a){return y(a)===d};exports.isLazy=function(a){return y(a)===p};exports.isMemo=function(a){return y(a)===n}; -exports.isPortal=function(a){return y(a)===c};exports.isProfiler=function(a){return y(a)===f};exports.isStrictMode=function(a){return y(a)===e};exports.isSuspense=function(a){return y(a)===l};exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1}; -exports.typeOf=y; diff --git a/node_modules/jest-config/node_modules/react-is/index.js b/node_modules/jest-config/node_modules/react-is/index.js deleted file mode 100644 index 3ae098d..0000000 --- a/node_modules/jest-config/node_modules/react-is/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -if (process.env.NODE_ENV === 'production') { - module.exports = require('./cjs/react-is.production.min.js'); -} else { - module.exports = require('./cjs/react-is.development.js'); -} diff --git a/node_modules/jest-config/node_modules/react-is/package.json b/node_modules/jest-config/node_modules/react-is/package.json deleted file mode 100644 index 1a6567d..0000000 --- a/node_modules/jest-config/node_modules/react-is/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "react-is", - "version": "17.0.2", - "description": "Brand checking of React Elements.", - "main": "index.js", - "repository": { - "type": "git", - "url": "https://github.com/facebook/react.git", - "directory": "packages/react-is" - }, - "keywords": [ - "react" - ], - "license": "MIT", - "bugs": { - "url": "https://github.com/facebook/react/issues" - }, - "homepage": "https://reactjs.org/", - "files": [ - "LICENSE", - "README.md", - "build-info.json", - "index.js", - "cjs/", - "umd/" - ] -} diff --git a/node_modules/jest-config/node_modules/react-is/umd/react-is.development.js b/node_modules/jest-config/node_modules/react-is/umd/react-is.development.js deleted file mode 100644 index cc44c5b..0000000 --- a/node_modules/jest-config/node_modules/react-is/umd/react-is.development.js +++ /dev/null @@ -1,225 +0,0 @@ -/** @license React v17.0.2 - * react-is.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : - typeof define === 'function' && define.amd ? define(['exports'], factory) : - (global = global || self, factory(global.ReactIs = {})); -}(this, (function (exports) { 'use strict'; - - // ATTENTION - // When adding new symbols to this file, - // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' - // The Symbol used to tag the ReactElement-like types. If there is no native Symbol - // nor polyfill, then a plain number is used for performance. - var REACT_ELEMENT_TYPE = 0xeac7; - var REACT_PORTAL_TYPE = 0xeaca; - var REACT_FRAGMENT_TYPE = 0xeacb; - var REACT_STRICT_MODE_TYPE = 0xeacc; - var REACT_PROFILER_TYPE = 0xead2; - var REACT_PROVIDER_TYPE = 0xeacd; - var REACT_CONTEXT_TYPE = 0xeace; - var REACT_FORWARD_REF_TYPE = 0xead0; - var REACT_SUSPENSE_TYPE = 0xead1; - var REACT_SUSPENSE_LIST_TYPE = 0xead8; - var REACT_MEMO_TYPE = 0xead3; - var REACT_LAZY_TYPE = 0xead4; - var REACT_BLOCK_TYPE = 0xead9; - var REACT_SERVER_BLOCK_TYPE = 0xeada; - var REACT_FUNDAMENTAL_TYPE = 0xead5; - var REACT_SCOPE_TYPE = 0xead7; - var REACT_OPAQUE_ID_TYPE = 0xeae0; - var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; - var REACT_OFFSCREEN_TYPE = 0xeae2; - var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; - - if (typeof Symbol === 'function' && Symbol.for) { - var symbolFor = Symbol.for; - REACT_ELEMENT_TYPE = symbolFor('react.element'); - REACT_PORTAL_TYPE = symbolFor('react.portal'); - REACT_FRAGMENT_TYPE = symbolFor('react.fragment'); - REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); - REACT_PROFILER_TYPE = symbolFor('react.profiler'); - REACT_PROVIDER_TYPE = symbolFor('react.provider'); - REACT_CONTEXT_TYPE = symbolFor('react.context'); - REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); - REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); - REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); - REACT_MEMO_TYPE = symbolFor('react.memo'); - REACT_LAZY_TYPE = symbolFor('react.lazy'); - REACT_BLOCK_TYPE = symbolFor('react.block'); - REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block'); - REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental'); - REACT_SCOPE_TYPE = symbolFor('react.scope'); - REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id'); - REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); - REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); - REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); - } - - // Filter certain DOM attributes (e.g. src, href) if their values are empty strings. - - var enableScopeAPI = false; // Experimental Create Event Handle API. - - function isValidElementType(type) { - if (typeof type === 'string' || typeof type === 'function') { - return true; - } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill). - - - if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) { - return true; - } - - if (typeof type === 'object' && type !== null) { - if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) { - return true; - } - } - - return false; - } - - function typeOf(object) { - if (typeof object === 'object' && object !== null) { - var $$typeof = object.$$typeof; - - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type = object.type; - - switch (type) { - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - case REACT_SUSPENSE_LIST_TYPE: - return type; - - default: - var $$typeofType = type && type.$$typeof; - - switch ($$typeofType) { - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - - default: - return $$typeof; - } - - } - - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - - return undefined; - } - var ContextConsumer = REACT_CONTEXT_TYPE; - var ContextProvider = REACT_PROVIDER_TYPE; - var Element = REACT_ELEMENT_TYPE; - var ForwardRef = REACT_FORWARD_REF_TYPE; - var Fragment = REACT_FRAGMENT_TYPE; - var Lazy = REACT_LAZY_TYPE; - var Memo = REACT_MEMO_TYPE; - var Portal = REACT_PORTAL_TYPE; - var Profiler = REACT_PROFILER_TYPE; - var StrictMode = REACT_STRICT_MODE_TYPE; - var Suspense = REACT_SUSPENSE_TYPE; - var hasWarnedAboutDeprecatedIsAsyncMode = false; - var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated - - function isAsyncMode(object) { - { - if (!hasWarnedAboutDeprecatedIsAsyncMode) { - hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint - - console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.'); - } - } - - return false; - } - function isConcurrentMode(object) { - { - if (!hasWarnedAboutDeprecatedIsConcurrentMode) { - hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint - - console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.'); - } - } - - return false; - } - function isContextConsumer(object) { - return typeOf(object) === REACT_CONTEXT_TYPE; - } - function isContextProvider(object) { - return typeOf(object) === REACT_PROVIDER_TYPE; - } - function isElement(object) { - return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; - } - function isForwardRef(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; - } - function isFragment(object) { - return typeOf(object) === REACT_FRAGMENT_TYPE; - } - function isLazy(object) { - return typeOf(object) === REACT_LAZY_TYPE; - } - function isMemo(object) { - return typeOf(object) === REACT_MEMO_TYPE; - } - function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; - } - function isProfiler(object) { - return typeOf(object) === REACT_PROFILER_TYPE; - } - function isStrictMode(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; - } - function isSuspense(object) { - return typeOf(object) === REACT_SUSPENSE_TYPE; - } - - exports.ContextConsumer = ContextConsumer; - exports.ContextProvider = ContextProvider; - exports.Element = Element; - exports.ForwardRef = ForwardRef; - exports.Fragment = Fragment; - exports.Lazy = Lazy; - exports.Memo = Memo; - exports.Portal = Portal; - exports.Profiler = Profiler; - exports.StrictMode = StrictMode; - exports.Suspense = Suspense; - exports.isAsyncMode = isAsyncMode; - exports.isConcurrentMode = isConcurrentMode; - exports.isContextConsumer = isContextConsumer; - exports.isContextProvider = isContextProvider; - exports.isElement = isElement; - exports.isForwardRef = isForwardRef; - exports.isFragment = isFragment; - exports.isLazy = isLazy; - exports.isMemo = isMemo; - exports.isPortal = isPortal; - exports.isProfiler = isProfiler; - exports.isStrictMode = isStrictMode; - exports.isSuspense = isSuspense; - exports.isValidElementType = isValidElementType; - exports.typeOf = typeOf; - -}))); diff --git a/node_modules/jest-config/node_modules/react-is/umd/react-is.production.min.js b/node_modules/jest-config/node_modules/react-is/umd/react-is.production.min.js deleted file mode 100644 index 126d595..0000000 --- a/node_modules/jest-config/node_modules/react-is/umd/react-is.production.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/** @license React v17.0.2 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -(function(){'use strict';(function(b,d){"object"===typeof exports&&"undefined"!==typeof module?d(exports):"function"===typeof define&&define.amd?define(["exports"],d):(b=b||self,d(b.ReactIs={}))})(this,function(b){function d(a){if("object"===typeof a&&null!==a){var b=a.$$typeof;switch(b){case q:switch(a=a.type,a){case e:case f:case g:case h:case t:return a;default:switch(a=a&&a.$$typeof,a){case k:case l:case m:case n:case p:return a;default:return b}}case r:return b}}}var q=60103,r=60106,e=60107,g=60108,f=60114, -p=60109,k=60110,l=60112,h=60113,t=60120,n=60115,m=60116,u=60121,v=60122,w=60117,x=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var c=Symbol.for;q=c("react.element");r=c("react.portal");e=c("react.fragment");g=c("react.strict_mode");f=c("react.profiler");p=c("react.provider");k=c("react.context");l=c("react.forward_ref");h=c("react.suspense");t=c("react.suspense_list");n=c("react.memo");m=c("react.lazy");u=c("react.block");v=c("react.server.block");w=c("react.fundamental");x=c("react.debug_trace_mode"); -y=c("react.legacy_hidden")}b.ContextConsumer=k;b.ContextProvider=p;b.Element=q;b.ForwardRef=l;b.Fragment=e;b.Lazy=m;b.Memo=n;b.Portal=r;b.Profiler=f;b.StrictMode=g;b.Suspense=h;b.isAsyncMode=function(a){return!1};b.isConcurrentMode=function(a){return!1};b.isContextConsumer=function(a){return d(a)===k};b.isContextProvider=function(a){return d(a)===p};b.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===q};b.isForwardRef=function(a){return d(a)===l};b.isFragment=function(a){return d(a)=== -e};b.isLazy=function(a){return d(a)===m};b.isMemo=function(a){return d(a)===n};b.isPortal=function(a){return d(a)===r};b.isProfiler=function(a){return d(a)===f};b.isStrictMode=function(a){return d(a)===g};b.isSuspense=function(a){return d(a)===h};b.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===f||a===x||a===g||a===h||a===t||a===y||"object"===typeof a&&null!==a&&(a.$$typeof===m||a.$$typeof===n||a.$$typeof===p||a.$$typeof===k||a.$$typeof===l||a.$$typeof=== -w||a.$$typeof===u||a[0]===v)?!0:!1};b.typeOf=d}); -})(); diff --git a/node_modules/jest-diff/build/cleanupSemantic.d.ts b/node_modules/jest-diff/build/cleanupSemantic.d.ts index bc74b60..fe662af 100644 --- a/node_modules/jest-diff/build/cleanupSemantic.d.ts +++ b/node_modules/jest-diff/build/cleanupSemantic.d.ts @@ -53,5 +53,5 @@ declare class Diff { * Reduce the number of edits by eliminating semantically trivial equalities. * @param {!Array.} diffs Array of diff tuples. */ -declare var diff_cleanupSemantic: (diffs: Diff[]) => void; +declare var diff_cleanupSemantic: (diffs: Array) => void; export { Diff, DIFF_EQUAL, DIFF_DELETE, DIFF_INSERT, diff_cleanupSemantic as cleanupSemantic, }; diff --git a/node_modules/jest-diff/build/constants.d.ts b/node_modules/jest-diff/build/constants.d.ts index c72de0c..a8f7e8a 100644 --- a/node_modules/jest-diff/build/constants.d.ts +++ b/node_modules/jest-diff/build/constants.d.ts @@ -4,5 +4,5 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -export declare const NO_DIFF_MESSAGE: string; +export declare const NO_DIFF_MESSAGE = "Compared values have no visual difference."; export declare const SIMILAR_MESSAGE: string; diff --git a/node_modules/jest-diff/build/constants.js b/node_modules/jest-diff/build/constants.js index 2a0d2cd..ccf73e5 100644 --- a/node_modules/jest-diff/build/constants.js +++ b/node_modules/jest-diff/build/constants.js @@ -5,27 +5,15 @@ Object.defineProperty(exports, '__esModule', { }); exports.SIMILAR_MESSAGE = exports.NO_DIFF_MESSAGE = void 0; -var _chalk = _interopRequireDefault(require('chalk')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - /** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -const NO_DIFF_MESSAGE = _chalk.default.dim( - 'Compared values have no visual difference.' -); - +const NO_DIFF_MESSAGE = 'Compared values have no visual difference.'; exports.NO_DIFF_MESSAGE = NO_DIFF_MESSAGE; - -const SIMILAR_MESSAGE = _chalk.default.dim( +const SIMILAR_MESSAGE = 'Compared values serialize to the same structure.\n' + - 'Printing internal object structure without calling `toJSON` instead.' -); - + 'Printing internal object structure without calling `toJSON` instead.'; exports.SIMILAR_MESSAGE = SIMILAR_MESSAGE; diff --git a/node_modules/jest-diff/build/diffLines.d.ts b/node_modules/jest-diff/build/diffLines.d.ts index 3aa1050..d311dcf 100644 --- a/node_modules/jest-diff/build/diffLines.d.ts +++ b/node_modules/jest-diff/build/diffLines.d.ts @@ -6,6 +6,6 @@ */ import { Diff } from './cleanupSemantic'; import type { DiffOptions } from './types'; -export declare const diffLinesUnified: (aLines: string[], bLines: string[], options?: DiffOptions | undefined) => string; -export declare const diffLinesUnified2: (aLinesDisplay: string[], bLinesDisplay: string[], aLinesCompare: string[], bLinesCompare: string[], options?: DiffOptions | undefined) => string; -export declare const diffLinesRaw: (aLines: string[], bLines: string[]) => Diff[]; +export declare const diffLinesUnified: (aLines: Array, bLines: Array, options?: DiffOptions | undefined) => string; +export declare const diffLinesUnified2: (aLinesDisplay: Array, bLinesDisplay: Array, aLinesCompare: Array, bLinesCompare: Array, options?: DiffOptions | undefined) => string; +export declare const diffLinesRaw: (aLines: Array, bLines: Array) => Array; diff --git a/node_modules/jest-diff/build/diffStrings.d.ts b/node_modules/jest-diff/build/diffStrings.d.ts index 305014d..5146c55 100644 --- a/node_modules/jest-diff/build/diffStrings.d.ts +++ b/node_modules/jest-diff/build/diffStrings.d.ts @@ -5,5 +5,5 @@ * LICENSE file in the root directory of this source tree. */ import { Diff } from './cleanupSemantic'; -declare const diffStrings: (a: string, b: string) => Diff[]; +declare const diffStrings: (a: string, b: string) => Array; export default diffStrings; diff --git a/node_modules/jest-diff/build/getAlignedDiffs.d.ts b/node_modules/jest-diff/build/getAlignedDiffs.d.ts index 82f98bc..7838cfa 100644 --- a/node_modules/jest-diff/build/getAlignedDiffs.d.ts +++ b/node_modules/jest-diff/build/getAlignedDiffs.d.ts @@ -6,5 +6,5 @@ */ import { Diff } from './cleanupSemantic'; import type { DiffOptionsColor } from './types'; -declare const getAlignedDiffs: (diffs: Diff[], changeColor: DiffOptionsColor) => Diff[]; +declare const getAlignedDiffs: (diffs: Array, changeColor: DiffOptionsColor) => Array; export default getAlignedDiffs; diff --git a/node_modules/jest-diff/build/index.js b/node_modules/jest-diff/build/index.js index be775c7..e3b3f11 100644 --- a/node_modules/jest-diff/build/index.js +++ b/node_modules/jest-diff/build/index.js @@ -59,25 +59,35 @@ Object.defineProperty(exports, 'diffStringsUnified', { }); exports.default = void 0; -var _prettyFormat = _interopRequireDefault(require('pretty-format')); - var _chalk = _interopRequireDefault(require('chalk')); var _jestGetType = _interopRequireDefault(require('jest-get-type')); +var _prettyFormat = _interopRequireDefault(require('pretty-format')); + var _cleanupSemantic = require('./cleanupSemantic'); +var _constants = require('./constants'); + var _diffLines = require('./diffLines'); -var _printDiffs = require('./printDiffs'); +var _normalizeDiffOptions = require('./normalizeDiffOptions'); -var _constants = require('./constants'); +var _printDiffs = require('./printDiffs'); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {default: obj}; } var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; + +const getCommonMessage = (message, options) => { + const {commonColor} = (0, _normalizeDiffOptions.normalizeDiffOptions)( + options + ); + return commonColor(message); +}; + const { AsymmetricMatcher, DOMCollection, @@ -105,10 +115,11 @@ const FALLBACK_FORMAT_OPTIONS = { }; const FALLBACK_FORMAT_OPTIONS_0 = {...FALLBACK_FORMAT_OPTIONS, indent: 0}; // Generate a string that will highlight the difference between two values // with green and red. (similar to how github does code diffing) +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types function diff(a, b, options) { if (Object.is(a, b)) { - return _constants.NO_DIFF_MESSAGE; + return getCommonMessage(_constants.NO_DIFF_MESSAGE, options); } const aType = (0, _jestGetType.default)(a); @@ -171,7 +182,7 @@ function comparePrimitive(a, b, options) { const aFormat = (0, _prettyFormat.default)(a, FORMAT_OPTIONS); const bFormat = (0, _prettyFormat.default)(b, FORMAT_OPTIONS); return aFormat === bFormat - ? _constants.NO_DIFF_MESSAGE + ? getCommonMessage(_constants.NO_DIFF_MESSAGE, options) : (0, _diffLines.diffLinesUnified)( aFormat.split('\n'), bFormat.split('\n'), @@ -190,13 +201,14 @@ function sortSet(set) { function compareObjects(a, b, options) { let difference; let hasThrown = false; + const noDiffMessage = getCommonMessage(_constants.NO_DIFF_MESSAGE, options); try { const aCompare = (0, _prettyFormat.default)(a, FORMAT_OPTIONS_0); const bCompare = (0, _prettyFormat.default)(b, FORMAT_OPTIONS_0); if (aCompare === bCompare) { - difference = _constants.NO_DIFF_MESSAGE; + difference = noDiffMessage; } else { const aDisplay = (0, _prettyFormat.default)(a, FORMAT_OPTIONS); const bDisplay = (0, _prettyFormat.default)(b, FORMAT_OPTIONS); @@ -208,17 +220,17 @@ function compareObjects(a, b, options) { options ); } - } catch (e) { + } catch { hasThrown = true; } // If the comparison yields no results, compare again but this time // without calling `toJSON`. It's also possible that toJSON might throw. - if (difference === undefined || difference === _constants.NO_DIFF_MESSAGE) { + if (difference === undefined || difference === noDiffMessage) { const aCompare = (0, _prettyFormat.default)(a, FALLBACK_FORMAT_OPTIONS_0); const bCompare = (0, _prettyFormat.default)(b, FALLBACK_FORMAT_OPTIONS_0); if (aCompare === bCompare) { - difference = _constants.NO_DIFF_MESSAGE; + difference = noDiffMessage; } else { const aDisplay = (0, _prettyFormat.default)(a, FALLBACK_FORMAT_OPTIONS); const bDisplay = (0, _prettyFormat.default)(b, FALLBACK_FORMAT_OPTIONS); @@ -231,8 +243,11 @@ function compareObjects(a, b, options) { ); } - if (difference !== _constants.NO_DIFF_MESSAGE && !hasThrown) { - difference = _constants.SIMILAR_MESSAGE + '\n\n' + difference; + if (difference !== noDiffMessage && !hasThrown) { + difference = + getCommonMessage(_constants.SIMILAR_MESSAGE, options) + + '\n\n' + + difference; } } diff --git a/node_modules/jest-diff/build/joinAlignedDiffs.d.ts b/node_modules/jest-diff/build/joinAlignedDiffs.d.ts index 84aa7b5..80cdf6d 100644 --- a/node_modules/jest-diff/build/joinAlignedDiffs.d.ts +++ b/node_modules/jest-diff/build/joinAlignedDiffs.d.ts @@ -6,5 +6,5 @@ */ import { Diff } from './cleanupSemantic'; import type { DiffOptionsNormalized } from './types'; -export declare const joinAlignedDiffsNoExpand: (diffs: Diff[], options: DiffOptionsNormalized) => string; -export declare const joinAlignedDiffsExpand: (diffs: Diff[], options: DiffOptionsNormalized) => string; +export declare const joinAlignedDiffsNoExpand: (diffs: Array, options: DiffOptionsNormalized) => string; +export declare const joinAlignedDiffsExpand: (diffs: Array, options: DiffOptionsNormalized) => string; diff --git a/node_modules/jest-diff/build/printDiffs.d.ts b/node_modules/jest-diff/build/printDiffs.d.ts index bd518ca..5a9c7cb 100644 --- a/node_modules/jest-diff/build/printDiffs.d.ts +++ b/node_modules/jest-diff/build/printDiffs.d.ts @@ -9,14 +9,14 @@ import type { DiffOptions, DiffOptionsNormalized } from './types'; export declare const printDeleteLine: (line: string, isFirstOrLast: boolean, { aColor, aIndicator, changeLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string; export declare const printInsertLine: (line: string, isFirstOrLast: boolean, { bColor, bIndicator, changeLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string; export declare const printCommonLine: (line: string, isFirstOrLast: boolean, { commonColor, commonIndicator, commonLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string; -export declare const hasCommonDiff: (diffs: Diff[], isMultiline: boolean) => boolean; +export declare const hasCommonDiff: (diffs: Array, isMultiline: boolean) => boolean; export declare type ChangeCounts = { a: number; b: number; }; -export declare const countChanges: (diffs: Diff[]) => ChangeCounts; +export declare const countChanges: (diffs: Array) => ChangeCounts; export declare const printAnnotation: ({ aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator, includeChangeCounts, omitAnnotationLines, }: DiffOptionsNormalized, changeCounts: ChangeCounts) => string; -export declare const printDiffLines: (diffs: Diff[], options: DiffOptionsNormalized) => string; +export declare const printDiffLines: (diffs: Array, options: DiffOptionsNormalized) => string; export declare const createPatchMark: (aStart: number, aEnd: number, bStart: number, bEnd: number, { patchColor }: DiffOptionsNormalized) => string; export declare const diffStringsUnified: (a: string, b: string, options?: DiffOptions | undefined) => string; -export declare const diffStringsRaw: (a: string, b: string, cleanup: boolean) => Diff[]; +export declare const diffStringsRaw: (a: string, b: string, cleanup: boolean) => Array; diff --git a/node_modules/jest-diff/build/ts3.4/cleanupSemantic.d.ts b/node_modules/jest-diff/build/ts3.4/cleanupSemantic.d.ts deleted file mode 100644 index 447a3c4..0000000 --- a/node_modules/jest-diff/build/ts3.4/cleanupSemantic.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Diff Match and Patch - * Copyright 2018 The diff-match-patch Authors. - * https://github.com/google/diff-match-patch - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * @fileoverview Computes the difference between two texts to create a patch. - * Applies the patch onto another text, allowing for errors. - * @author fraser@google.com (Neil Fraser) - */ -/** - * CHANGES by pedrottimark to diff_match_patch_uncompressed.ts file: - * - * 1. Delete anything not needed to use diff_cleanupSemantic method - * 2. Convert from prototype properties to var declarations - * 3. Convert Diff to class from constructor and prototype - * 4. Add type annotations for arguments and return values - * 5. Add exports - */ -/** - * The data structure representing a diff is an array of tuples: - * [[DIFF_DELETE, 'Hello'], [DIFF_INSERT, 'Goodbye'], [DIFF_EQUAL, ' world.']] - * which means: delete 'Hello', add 'Goodbye' and keep ' world.' - */ -declare var DIFF_DELETE: number; -declare var DIFF_INSERT: number; -declare var DIFF_EQUAL: number; -/** - * Class representing one diff tuple. - * Attempts to look like a two-element array (which is what this used to be). - * @param {number} op Operation, one of: DIFF_DELETE, DIFF_INSERT, DIFF_EQUAL. - * @param {string} text Text to be deleted, inserted, or retained. - * @constructor - */ -declare class Diff { - 0: number; - 1: string; - constructor(op: number, text: string); -} -/** - * Reduce the number of edits by eliminating semantically trivial equalities. - * @param {!Array.} diffs Array of diff tuples. - */ -declare var diff_cleanupSemantic: (diffs: Diff[]) => void; -export { Diff, DIFF_EQUAL, DIFF_DELETE, DIFF_INSERT, diff_cleanupSemantic as cleanupSemantic, }; diff --git a/node_modules/jest-diff/build/ts3.4/constants.d.ts b/node_modules/jest-diff/build/ts3.4/constants.d.ts deleted file mode 100644 index efd4af4..0000000 --- a/node_modules/jest-diff/build/ts3.4/constants.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -export declare const NO_DIFF_MESSAGE: string; -export declare const SIMILAR_MESSAGE: string; diff --git a/node_modules/jest-diff/build/ts3.4/diffLines.d.ts b/node_modules/jest-diff/build/ts3.4/diffLines.d.ts deleted file mode 100644 index 47b5028..0000000 --- a/node_modules/jest-diff/build/ts3.4/diffLines.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import { Diff } from './cleanupSemantic'; -import { DiffOptions } from './types'; -export declare const diffLinesUnified: (aLines: string[], bLines: string[], options?: DiffOptions | undefined) => string; -export declare const diffLinesUnified2: (aLinesDisplay: string[], bLinesDisplay: string[], aLinesCompare: string[], bLinesCompare: string[], options?: DiffOptions | undefined) => string; -export declare const diffLinesRaw: (aLines: string[], bLines: string[]) => Diff[]; diff --git a/node_modules/jest-diff/build/ts3.4/diffStrings.d.ts b/node_modules/jest-diff/build/ts3.4/diffStrings.d.ts deleted file mode 100644 index a753cfd..0000000 --- a/node_modules/jest-diff/build/ts3.4/diffStrings.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import { Diff } from './cleanupSemantic'; -declare const diffStrings: (a: string, b: string) => Diff[]; -export default diffStrings; diff --git a/node_modules/jest-diff/build/ts3.4/getAlignedDiffs.d.ts b/node_modules/jest-diff/build/ts3.4/getAlignedDiffs.d.ts deleted file mode 100644 index 70d8339..0000000 --- a/node_modules/jest-diff/build/ts3.4/getAlignedDiffs.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import { Diff } from './cleanupSemantic'; -import { DiffOptionsColor } from './types'; -declare const getAlignedDiffs: (diffs: Diff[], changeColor: DiffOptionsColor) => Diff[]; -export default getAlignedDiffs; diff --git a/node_modules/jest-diff/build/ts3.4/index.d.ts b/node_modules/jest-diff/build/ts3.4/index.d.ts deleted file mode 100644 index c55cdde..0000000 --- a/node_modules/jest-diff/build/ts3.4/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff } from './cleanupSemantic'; -import { diffLinesRaw, diffLinesUnified, diffLinesUnified2 } from './diffLines'; -import { diffStringsRaw, diffStringsUnified } from './printDiffs'; -import { DiffOptions } from './types'; -export { DiffOptions, DiffOptionsColor } from './types'; -export { diffLinesRaw, diffLinesUnified, diffLinesUnified2 }; -export { diffStringsRaw, diffStringsUnified }; -export { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff }; -declare function diff(a: any, b: any, options?: DiffOptions): string | null; -export default diff; diff --git a/node_modules/jest-diff/build/ts3.4/joinAlignedDiffs.d.ts b/node_modules/jest-diff/build/ts3.4/joinAlignedDiffs.d.ts deleted file mode 100644 index bd7dc99..0000000 --- a/node_modules/jest-diff/build/ts3.4/joinAlignedDiffs.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import { Diff } from './cleanupSemantic'; -import { DiffOptionsNormalized } from './types'; -export declare const joinAlignedDiffsNoExpand: (diffs: Diff[], options: DiffOptionsNormalized) => string; -export declare const joinAlignedDiffsExpand: (diffs: Diff[], options: DiffOptionsNormalized) => string; diff --git a/node_modules/jest-diff/build/ts3.4/normalizeDiffOptions.d.ts b/node_modules/jest-diff/build/ts3.4/normalizeDiffOptions.d.ts deleted file mode 100644 index 8d17b22..0000000 --- a/node_modules/jest-diff/build/ts3.4/normalizeDiffOptions.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import { DiffOptions, DiffOptionsNormalized } from './types'; -export declare const noColor: (string: string) => string; -export declare const normalizeDiffOptions: (options?: DiffOptions) => DiffOptionsNormalized; diff --git a/node_modules/jest-diff/build/ts3.4/printDiffs.d.ts b/node_modules/jest-diff/build/ts3.4/printDiffs.d.ts deleted file mode 100644 index 7d6e299..0000000 --- a/node_modules/jest-diff/build/ts3.4/printDiffs.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -import { Diff } from './cleanupSemantic'; -import { DiffOptions, DiffOptionsNormalized } from './types'; -export declare const printDeleteLine: (line: string, isFirstOrLast: boolean, { aColor, aIndicator, changeLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string; -export declare const printInsertLine: (line: string, isFirstOrLast: boolean, { bColor, bIndicator, changeLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string; -export declare const printCommonLine: (line: string, isFirstOrLast: boolean, { commonColor, commonIndicator, commonLineTrailingSpaceColor, emptyFirstOrLastLinePlaceholder, }: DiffOptionsNormalized) => string; -export declare const hasCommonDiff: (diffs: Diff[], isMultiline: boolean) => boolean; -export declare type ChangeCounts = { - a: number; - b: number; -}; -export declare const countChanges: (diffs: Diff[]) => ChangeCounts; -export declare const printAnnotation: ({ aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator, includeChangeCounts, omitAnnotationLines, }: DiffOptionsNormalized, changeCounts: ChangeCounts) => string; -export declare const printDiffLines: (diffs: Diff[], options: DiffOptionsNormalized) => string; -export declare const createPatchMark: (aStart: number, aEnd: number, bStart: number, bEnd: number, { patchColor }: DiffOptionsNormalized) => string; -export declare const diffStringsUnified: (a: string, b: string, options?: DiffOptions | undefined) => string; -export declare const diffStringsRaw: (a: string, b: string, cleanup: boolean) => Diff[]; diff --git a/node_modules/jest-diff/build/ts3.4/types.d.ts b/node_modules/jest-diff/build/ts3.4/types.d.ts deleted file mode 100644 index 9a6f6c9..0000000 --- a/node_modules/jest-diff/build/ts3.4/types.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -export declare type DiffOptionsColor = (arg: string) => string; -export declare type DiffOptions = { - aAnnotation?: string; - aColor?: DiffOptionsColor; - aIndicator?: string; - bAnnotation?: string; - bColor?: DiffOptionsColor; - bIndicator?: string; - changeColor?: DiffOptionsColor; - changeLineTrailingSpaceColor?: DiffOptionsColor; - commonColor?: DiffOptionsColor; - commonIndicator?: string; - commonLineTrailingSpaceColor?: DiffOptionsColor; - contextLines?: number; - emptyFirstOrLastLinePlaceholder?: string; - expand?: boolean; - includeChangeCounts?: boolean; - omitAnnotationLines?: boolean; - patchColor?: DiffOptionsColor; -}; -export declare type DiffOptionsNormalized = { - aAnnotation: string; - aColor: DiffOptionsColor; - aIndicator: string; - bAnnotation: string; - bColor: DiffOptionsColor; - bIndicator: string; - changeColor: DiffOptionsColor; - changeLineTrailingSpaceColor: DiffOptionsColor; - commonColor: DiffOptionsColor; - commonIndicator: string; - commonLineTrailingSpaceColor: DiffOptionsColor; - contextLines: number; - emptyFirstOrLastLinePlaceholder: string; - expand: boolean; - includeChangeCounts: boolean; - omitAnnotationLines: boolean; - patchColor: DiffOptionsColor; -}; diff --git a/node_modules/jest-diff/node_modules/chalk/index.d.ts b/node_modules/jest-diff/node_modules/chalk/index.d.ts deleted file mode 100644 index 7e22c45..0000000 --- a/node_modules/jest-diff/node_modules/chalk/index.d.ts +++ /dev/null @@ -1,411 +0,0 @@ -declare const enum LevelEnum { - /** - All colors disabled. - */ - None = 0, - - /** - Basic 16 colors support. - */ - Basic = 1, - - /** - ANSI 256 colors support. - */ - Ansi256 = 2, - - /** - Truecolor 16 million colors support. - */ - TrueColor = 3 -} - -/** -Basic foreground colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type ForegroundColor = - | 'black' - | 'red' - | 'green' - | 'yellow' - | 'blue' - | 'magenta' - | 'cyan' - | 'white' - | 'gray' - | 'grey' - | 'blackBright' - | 'redBright' - | 'greenBright' - | 'yellowBright' - | 'blueBright' - | 'magentaBright' - | 'cyanBright' - | 'whiteBright'; - -/** -Basic background colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type BackgroundColor = - | 'bgBlack' - | 'bgRed' - | 'bgGreen' - | 'bgYellow' - | 'bgBlue' - | 'bgMagenta' - | 'bgCyan' - | 'bgWhite' - | 'bgGray' - | 'bgGrey' - | 'bgBlackBright' - | 'bgRedBright' - | 'bgGreenBright' - | 'bgYellowBright' - | 'bgBlueBright' - | 'bgMagentaBright' - | 'bgCyanBright' - | 'bgWhiteBright'; - -/** -Basic colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type Color = ForegroundColor | BackgroundColor; - -declare type Modifiers = - | 'reset' - | 'bold' - | 'dim' - | 'italic' - | 'underline' - | 'inverse' - | 'hidden' - | 'strikethrough' - | 'visible'; - -declare namespace chalk { - type Level = LevelEnum; - - interface Options { - /** - Specify the color support for Chalk. - By default, color support is automatically detected based on the environment. - */ - level?: Level; - } - - interface Instance { - /** - Return a new Chalk instance. - */ - new (options?: Options): Chalk; - } - - /** - Detect whether the terminal supports color. - */ - interface ColorSupport { - /** - The color level used by Chalk. - */ - level: Level; - - /** - Return whether Chalk supports basic 16 colors. - */ - hasBasic: boolean; - - /** - Return whether Chalk supports ANSI 256 colors. - */ - has256: boolean; - - /** - Return whether Chalk supports Truecolor 16 million colors. - */ - has16m: boolean; - } - - interface ChalkFunction { - /** - Use a template string. - - @remarks Template literals are unsupported for nested calls (see [issue #341](https://github.com/chalk/chalk/issues/341)) - - @example - ``` - import chalk = require('chalk'); - - log(chalk` - CPU: {red ${cpu.totalPercent}%} - RAM: {green ${ram.used / ram.total * 100}%} - DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} - `); - ``` - */ - (text: TemplateStringsArray, ...placeholders: unknown[]): string; - - (...text: unknown[]): string; - } - - interface Chalk extends ChalkFunction { - /** - Return a new Chalk instance. - */ - Instance: Instance; - - /** - The color support for Chalk. - By default, color support is automatically detected based on the environment. - */ - level: Level; - - /** - Use HEX value to set text color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.hex('#DEADED'); - ``` - */ - hex(color: string): Chalk; - - /** - Use keyword color value to set text color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.keyword('orange'); - ``` - */ - keyword(color: string): Chalk; - - /** - Use RGB values to set text color. - */ - rgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set text color. - */ - hsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set text color. - */ - hsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set text color. - */ - hwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set text color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - */ - ansi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color. - */ - ansi256(index: number): Chalk; - - /** - Use HEX value to set background color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgHex('#DEADED'); - ``` - */ - bgHex(color: string): Chalk; - - /** - Use keyword color value to set background color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgKeyword('orange'); - ``` - */ - bgKeyword(color: string): Chalk; - - /** - Use RGB values to set background color. - */ - bgRgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set background color. - */ - bgHsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set background color. - */ - bgHsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set background color. - */ - bgHwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set background color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - Use the foreground code, not the background code (for example, not 41, nor 101). - */ - bgAnsi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color. - */ - bgAnsi256(index: number): Chalk; - - /** - Modifier: Resets the current color chain. - */ - readonly reset: Chalk; - - /** - Modifier: Make text bold. - */ - readonly bold: Chalk; - - /** - Modifier: Emitting only a small amount of light. - */ - readonly dim: Chalk; - - /** - Modifier: Make text italic. (Not widely supported) - */ - readonly italic: Chalk; - - /** - Modifier: Make text underline. (Not widely supported) - */ - readonly underline: Chalk; - - /** - Modifier: Inverse background and foreground colors. - */ - readonly inverse: Chalk; - - /** - Modifier: Prints the text, but makes it invisible. - */ - readonly hidden: Chalk; - - /** - Modifier: Puts a horizontal line through the center of the text. (Not widely supported) - */ - readonly strikethrough: Chalk; - - /** - Modifier: Prints the text only when Chalk has a color support level > 0. - Can be useful for things that are purely cosmetic. - */ - readonly visible: Chalk; - - readonly black: Chalk; - readonly red: Chalk; - readonly green: Chalk; - readonly yellow: Chalk; - readonly blue: Chalk; - readonly magenta: Chalk; - readonly cyan: Chalk; - readonly white: Chalk; - - /* - Alias for `blackBright`. - */ - readonly gray: Chalk; - - /* - Alias for `blackBright`. - */ - readonly grey: Chalk; - - readonly blackBright: Chalk; - readonly redBright: Chalk; - readonly greenBright: Chalk; - readonly yellowBright: Chalk; - readonly blueBright: Chalk; - readonly magentaBright: Chalk; - readonly cyanBright: Chalk; - readonly whiteBright: Chalk; - - readonly bgBlack: Chalk; - readonly bgRed: Chalk; - readonly bgGreen: Chalk; - readonly bgYellow: Chalk; - readonly bgBlue: Chalk; - readonly bgMagenta: Chalk; - readonly bgCyan: Chalk; - readonly bgWhite: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGray: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGrey: Chalk; - - readonly bgBlackBright: Chalk; - readonly bgRedBright: Chalk; - readonly bgGreenBright: Chalk; - readonly bgYellowBright: Chalk; - readonly bgBlueBright: Chalk; - readonly bgMagentaBright: Chalk; - readonly bgCyanBright: Chalk; - readonly bgWhiteBright: Chalk; - } -} - -/** -Main Chalk object that allows to chain styles together. -Call the last one as a method with a string argument. -Order doesn't matter, and later styles take precedent in case of a conflict. -This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`. -*/ -declare const chalk: chalk.Chalk & chalk.ChalkFunction & { - supportsColor: chalk.ColorSupport | false; - Level: typeof LevelEnum; - Color: Color; - ForegroundColor: ForegroundColor; - BackgroundColor: BackgroundColor; - Modifiers: Modifiers; - stderr: chalk.Chalk & {supportsColor: chalk.ColorSupport | false}; -}; - -export = chalk; diff --git a/node_modules/jest-diff/node_modules/chalk/license b/node_modules/jest-diff/node_modules/chalk/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/jest-diff/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/jest-diff/node_modules/chalk/package.json b/node_modules/jest-diff/node_modules/chalk/package.json deleted file mode 100644 index 047adf9..0000000 --- a/node_modules/jest-diff/node_modules/chalk/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "chalk", - "version": "3.0.0", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "main": "source", - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava && tsd", - "bench": "matcha benchmark.js" - }, - "files": [ - "source", - "index.d.ts" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.7", - "execa": "^3.2.0", - "import-fresh": "^3.1.0", - "matcha": "^0.7.0", - "nyc": "^14.1.1", - "resolve-from": "^5.0.0", - "tsd": "^0.7.4", - "xo": "^0.25.3" - }, - "xo": { - "rules": { - "unicorn/prefer-string-slice": "off", - "unicorn/prefer-includes": "off" - } - } -} diff --git a/node_modules/jest-diff/node_modules/chalk/readme.md b/node_modules/jest-diff/node_modules/chalk/readme.md deleted file mode 100644 index 877cb93..0000000 --- a/node_modules/jest-diff/node_modules/chalk/readme.md +++ /dev/null @@ -1,304 +0,0 @@ -

-
-
- Chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) - - - - -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~46,000 packages](https://www.npmjs.com/browse/depended/chalk) as of October 1, 2019 - - -## Install - -```console -$ npm install chalk -``` - - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - - -## API - -### chalk.`