From 3732c47a0d1685ccc8a2f0ee81e9235137b818d1 Mon Sep 17 00:00:00 2001 From: Ugo Palatucci Date: Thu, 10 Feb 2022 10:08:15 +0100 Subject: [PATCH] using dist/index.js build --- .gitignore | 1 + action.yml | 2 +- dist/index.js | 8 +- node_modules/.bin/acorn | 1 - node_modules/.bin/browserslist | 1 - node_modules/.bin/escodegen | 1 - node_modules/.bin/esgenerate | 1 - node_modules/.bin/esparse | 1 - node_modules/.bin/esvalidate | 1 - node_modules/.bin/import-local-fixture | 1 - node_modules/.bin/jest | 1 - node_modules/.bin/js-yaml | 1 - node_modules/.bin/jsesc | 1 - node_modules/.bin/json5 | 1 - node_modules/.bin/node-which | 1 - node_modules/.bin/parser | 1 - node_modules/.bin/resolve | 1 - node_modules/.bin/rimraf | 1 - node_modules/.bin/semver | 1 - node_modules/.yarn-integrity | 429 - node_modules/@actions/core/LICENSE.md | 9 - node_modules/@actions/core/README.md | 312 - node_modules/@actions/core/lib/command.d.ts | 15 - node_modules/@actions/core/lib/command.js | 92 - node_modules/@actions/core/lib/command.js.map | 1 - node_modules/@actions/core/lib/core.d.ts | 186 - node_modules/@actions/core/lib/core.js | 312 - node_modules/@actions/core/lib/core.js.map | 1 - .../@actions/core/lib/file-command.d.ts | 1 - .../@actions/core/lib/file-command.js | 42 - .../@actions/core/lib/file-command.js.map | 1 - .../@actions/core/lib/oidc-utils.d.ts | 7 - node_modules/@actions/core/lib/oidc-utils.js | 77 - .../@actions/core/lib/oidc-utils.js.map | 1 - node_modules/@actions/core/lib/utils.d.ts | 14 - node_modules/@actions/core/lib/utils.js | 40 - node_modules/@actions/core/lib/utils.js.map | 1 - node_modules/@actions/core/package.json | 44 - node_modules/@actions/github/LICENSE.md | 9 - node_modules/@actions/github/README.md | 97 - node_modules/@actions/github/lib/context.d.ts | 32 - node_modules/@actions/github/lib/context.js | 54 - .../@actions/github/lib/context.js.map | 1 - node_modules/@actions/github/lib/github.d.ts | 11 - node_modules/@actions/github/lib/github.js | 36 - .../@actions/github/lib/github.js.map | 1 - .../@actions/github/lib/interfaces.d.ts | 40 - .../@actions/github/lib/interfaces.js | 4 - .../@actions/github/lib/interfaces.js.map | 1 - .../@actions/github/lib/internal/utils.d.ts | 6 - .../@actions/github/lib/internal/utils.js | 43 - .../@actions/github/lib/internal/utils.js.map | 1 - node_modules/@actions/github/lib/utils.d.ts | 14 - node_modules/@actions/github/lib/utils.js | 54 - node_modules/@actions/github/lib/utils.js.map | 1 - node_modules/@actions/github/package.json | 50 - node_modules/@actions/http-client/LICENSE | 21 - node_modules/@actions/http-client/README.md | 79 - node_modules/@actions/http-client/RELEASES.md | 26 - node_modules/@actions/http-client/actions.png | Bin 33889 -> 0 bytes node_modules/@actions/http-client/auth.d.ts | 23 - node_modules/@actions/http-client/auth.js | 58 - node_modules/@actions/http-client/index.d.ts | 124 - node_modules/@actions/http-client/index.js | 537 - .../@actions/http-client/interfaces.d.ts | 49 - .../@actions/http-client/interfaces.js | 2 - .../@actions/http-client/package.json | 39 - node_modules/@actions/http-client/proxy.d.ts | 2 - node_modules/@actions/http-client/proxy.js | 57 - node_modules/@ampproject/remapping/LICENSE | 202 - node_modules/@ampproject/remapping/README.md | 211 - .../@ampproject/remapping/dist/remapping.mjs | 274 - .../remapping/dist/remapping.mjs.map | 1 - .../remapping/dist/remapping.umd.js | 280 - .../remapping/dist/remapping.umd.js.map | 1 - .../dist/types/build-source-map-tree.d.ts | 14 - .../dist/types/fast-string-array.d.ts | 19 - .../remapping/dist/types/original-source.d.ts | 15 - .../remapping/dist/types/remapping.d.ts | 19 - .../remapping/dist/types/source-map-tree.d.ts | 27 - .../remapping/dist/types/source-map.d.ts | 17 - .../remapping/dist/types/types.d.ts | 39 - .../@ampproject/remapping/package.json | 62 - node_modules/@babel/code-frame/LICENSE | 22 - node_modules/@babel/code-frame/README.md | 19 - node_modules/@babel/code-frame/lib/index.js | 163 - node_modules/@babel/code-frame/package.json | 29 - node_modules/@babel/compat-data/LICENSE | 22 - node_modules/@babel/compat-data/README.md | 19 - .../@babel/compat-data/corejs2-built-ins.js | 1 - .../compat-data/corejs3-shipped-proposals.js | 1 - .../compat-data/data/corejs2-built-ins.json | 1789 - .../data/corejs3-shipped-proposals.json | 5 - .../compat-data/data/native-modules.json | 18 - .../compat-data/data/overlapping-plugins.json | 22 - .../compat-data/data/plugin-bugfixes.json | 157 - .../@babel/compat-data/data/plugins.json | 477 - .../@babel/compat-data/native-modules.js | 1 - .../@babel/compat-data/overlapping-plugins.js | 1 - node_modules/@babel/compat-data/package.json | 39 - .../@babel/compat-data/plugin-bugfixes.js | 1 - node_modules/@babel/compat-data/plugins.js | 1 - node_modules/@babel/core/LICENSE | 22 - node_modules/@babel/core/README.md | 19 - .../@babel/core/lib/config/cache-contexts.js | 0 .../@babel/core/lib/config/caching.js | 325 - .../@babel/core/lib/config/config-chain.js | 564 - .../core/lib/config/config-descriptors.js | 244 - .../core/lib/config/files/configuration.js | 358 - .../lib/config/files/import-meta-resolve.js | 41 - .../@babel/core/lib/config/files/import.js | 10 - .../core/lib/config/files/index-browser.js | 67 - .../@babel/core/lib/config/files/index.js | 86 - .../core/lib/config/files/module-types.js | 108 - .../@babel/core/lib/config/files/package.js | 76 - .../@babel/core/lib/config/files/plugins.js | 273 - .../@babel/core/lib/config/files/types.js | 0 .../@babel/core/lib/config/files/utils.js | 44 - node_modules/@babel/core/lib/config/full.js | 378 - .../core/lib/config/helpers/config-api.js | 108 - .../core/lib/config/helpers/deep-array.js | 24 - .../core/lib/config/helpers/environment.js | 10 - node_modules/@babel/core/lib/config/index.js | 75 - node_modules/@babel/core/lib/config/item.js | 76 - .../@babel/core/lib/config/partial.js | 197 - .../core/lib/config/pattern-to-regex.js | 44 - node_modules/@babel/core/lib/config/plugin.js | 34 - .../@babel/core/lib/config/printer.js | 139 - .../lib/config/resolve-targets-browser.js | 42 - .../@babel/core/lib/config/resolve-targets.js | 68 - node_modules/@babel/core/lib/config/util.js | 31 - .../config/validation/option-assertions.js | 352 - .../core/lib/config/validation/options.js | 210 - .../core/lib/config/validation/plugins.js | 71 - .../core/lib/config/validation/removed.js | 66 - .../@babel/core/lib/gensync-utils/async.js | 94 - .../@babel/core/lib/gensync-utils/fs.js | 40 - node_modules/@babel/core/lib/index.js | 266 - node_modules/@babel/core/lib/parse.js | 48 - node_modules/@babel/core/lib/parser/index.js | 95 - .../lib/parser/util/missing-plugin-helper.js | 323 - .../core/lib/tools/build-external-helpers.js | 164 - node_modules/@babel/core/lib/transform-ast.js | 46 - .../@babel/core/lib/transform-file-browser.js | 26 - .../@babel/core/lib/transform-file.js | 41 - node_modules/@babel/core/lib/transform.js | 42 - .../lib/transformation/block-hoist-plugin.js | 94 - .../core/lib/transformation/file/file.js | 254 - .../core/lib/transformation/file/generate.js | 90 - .../core/lib/transformation/file/merge-map.js | 75 - .../@babel/core/lib/transformation/index.js | 127 - .../core/lib/transformation/normalize-file.js | 167 - .../core/lib/transformation/normalize-opts.js | 62 - .../core/lib/transformation/plugin-pass.js | 54 - .../transformation/util/clone-deep-browser.js | 25 - .../lib/transformation/util/clone-deep.js | 26 - .../core/lib/vendor/import-meta-resolve.js | 3312 -- .../@babel/core/node_modules/.bin/json5 | 1 - .../@babel/core/node_modules/.bin/parser | 1 - .../@babel/core/node_modules/.bin/semver | 1 - node_modules/@babel/core/package.json | 77 - .../core/src/config/files/index-browser.ts | 109 - .../@babel/core/src/config/files/index.ts | 30 - .../src/config/resolve-targets-browser.ts | 33 - .../@babel/core/src/config/resolve-targets.ts | 49 - .../@babel/core/src/transform-file-browser.ts | 27 - .../@babel/core/src/transform-file.ts | 40 - .../transformation/util/clone-deep-browser.ts | 19 - .../src/transformation/util/clone-deep.ts | 9 - node_modules/@babel/generator/LICENSE | 22 - node_modules/@babel/generator/README.md | 19 - node_modules/@babel/generator/lib/buffer.js | 265 - .../@babel/generator/lib/generators/base.js | 96 - .../generator/lib/generators/classes.js | 213 - .../generator/lib/generators/expressions.js | 318 - .../@babel/generator/lib/generators/flow.js | 795 - .../@babel/generator/lib/generators/index.js | 148 - .../@babel/generator/lib/generators/jsx.js | 145 - .../generator/lib/generators/methods.js | 150 - .../generator/lib/generators/modules.js | 239 - .../generator/lib/generators/statements.js | 331 - .../lib/generators/template-literals.js | 33 - .../@babel/generator/lib/generators/types.js | 276 - .../generator/lib/generators/typescript.js | 813 - node_modules/@babel/generator/lib/index.js | 97 - .../@babel/generator/lib/node/index.js | 111 - .../@babel/generator/lib/node/parentheses.js | 342 - .../@babel/generator/lib/node/whitespace.js | 214 - node_modules/@babel/generator/lib/printer.js | 540 - .../@babel/generator/lib/source-map.js | 78 - .../@babel/generator/node_modules/.bin/jsesc | 1 - .../node_modules/source-map/CHANGELOG.md | 301 - .../generator/node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 729 - .../source-map/dist/source-map.debug.js | 3091 -- .../source-map/dist/source-map.js | 3090 -- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1082 - .../source-map/lib/source-map-generator.js | 416 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 417 - .../node_modules/source-map/package.json | 72 - .../node_modules/source-map/source-map.js | 8 - node_modules/@babel/generator/package.json | 36 - .../@babel/helper-compilation-targets/LICENSE | 22 - .../helper-compilation-targets/README.md | 19 - .../helper-compilation-targets/lib/debug.js | 33 - .../lib/filter-items.js | 88 - .../helper-compilation-targets/lib/index.js | 255 - .../helper-compilation-targets/lib/options.js | 21 - .../helper-compilation-targets/lib/pretty.js | 47 - .../helper-compilation-targets/lib/targets.js | 27 - .../helper-compilation-targets/lib/types.js | 0 .../helper-compilation-targets/lib/utils.js | 69 - .../node_modules/.bin/browserslist | 1 - .../node_modules/.bin/semver | 1 - .../helper-compilation-targets/package.json | 41 - .../@babel/helper-environment-visitor/LICENSE | 22 - .../helper-environment-visitor/README.md | 19 - .../helper-environment-visitor/lib/index.js | 38 - .../helper-environment-visitor/package.json | 30 - .../@babel/helper-function-name/LICENSE | 22 - .../@babel/helper-function-name/README.md | 19 - .../@babel/helper-function-name/lib/index.js | 192 - .../@babel/helper-function-name/package.json | 25 - .../@babel/helper-get-function-arity/LICENSE | 22 - .../helper-get-function-arity/README.md | 19 - .../helper-get-function-arity/lib/index.js | 27 - .../helper-get-function-arity/package.json | 23 - .../@babel/helper-hoist-variables/LICENSE | 22 - .../@babel/helper-hoist-variables/README.md | 19 - .../helper-hoist-variables/lib/index.js | 58 - .../helper-hoist-variables/package.json | 27 - .../@babel/helper-module-imports/LICENSE | 22 - .../@babel/helper-module-imports/README.md | 19 - .../lib/import-builder.js | 162 - .../lib/import-injector.js | 290 - .../@babel/helper-module-imports/lib/index.js | 41 - .../helper-module-imports/lib/is-module.js | 18 - .../@babel/helper-module-imports/package.json | 27 - .../@babel/helper-module-transforms/LICENSE | 22 - .../@babel/helper-module-transforms/README.md | 19 - .../lib/get-module-name.js | 54 - .../helper-module-transforms/lib/index.js | 416 - .../lib/normalize-and-load-metadata.js | 398 - .../lib/rewrite-live-references.js | 360 - .../lib/rewrite-this.js | 30 - .../helper-module-transforms/package.json | 30 - .../@babel/helper-plugin-utils/LICENSE | 22 - .../@babel/helper-plugin-utils/README.md | 19 - .../@babel/helper-plugin-utils/lib/index.js | 90 - .../@babel/helper-plugin-utils/package.json | 20 - .../@babel/helper-simple-access/LICENSE | 22 - .../@babel/helper-simple-access/README.md | 19 - .../@babel/helper-simple-access/lib/index.js | 93 - .../@babel/helper-simple-access/package.json | 26 - .../helper-split-export-declaration/LICENSE | 22 - .../helper-split-export-declaration/README.md | 19 - .../lib/index.js | 67 - .../package.json | 23 - .../helper-validator-identifier/LICENSE | 22 - .../helper-validator-identifier/README.md | 19 - .../lib/identifier.js | 84 - .../helper-validator-identifier/lib/index.js | 57 - .../lib/keyword.js | 38 - .../helper-validator-identifier/package.json | 27 - .../scripts/generate-identifier-regex.js | 75 - .../@babel/helper-validator-option/LICENSE | 22 - .../@babel/helper-validator-option/README.md | 19 - .../lib/find-suggestion.js | 45 - .../helper-validator-option/lib/index.js | 21 - .../helper-validator-option/lib/validator.js | 58 - .../helper-validator-option/package.json | 23 - node_modules/@babel/helpers/LICENSE | 22 - node_modules/@babel/helpers/README.md | 19 - .../@babel/helpers/lib/helpers-generated.js | 26 - node_modules/@babel/helpers/lib/helpers.js | 1959 - .../@babel/helpers/lib/helpers/applyDecs.js | 483 - .../helpers/lib/helpers/asyncIterator.js | 81 - .../@babel/helpers/lib/helpers/jsx.js | 53 - .../helpers/lib/helpers/objectSpread2.js | 46 - .../@babel/helpers/lib/helpers/typeof.js | 22 - .../@babel/helpers/lib/helpers/wrapRegExp.js | 73 - node_modules/@babel/helpers/lib/index.js | 300 - node_modules/@babel/helpers/package.json | 29 - .../helpers/scripts/generate-helpers.js | 64 - .../@babel/helpers/scripts/package.json | 1 - node_modules/@babel/highlight/LICENSE | 22 - node_modules/@babel/highlight/README.md | 19 - node_modules/@babel/highlight/lib/index.js | 116 - .../node_modules/ansi-styles/index.js | 165 - .../node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 56 - .../node_modules/ansi-styles/readme.md | 147 - .../highlight/node_modules/chalk/index.js | 228 - .../node_modules/chalk/index.js.flow | 93 - .../highlight/node_modules/chalk/license | 9 - .../highlight/node_modules/chalk/package.json | 71 - .../highlight/node_modules/chalk/readme.md | 314 - .../highlight/node_modules/chalk/templates.js | 128 - .../node_modules/chalk/types/index.d.ts | 97 - .../node_modules/color-convert/CHANGELOG.md | 54 - .../node_modules/color-convert/LICENSE | 21 - .../node_modules/color-convert/README.md | 68 - .../node_modules/color-convert/conversions.js | 868 - .../node_modules/color-convert/index.js | 78 - .../node_modules/color-convert/package.json | 46 - .../node_modules/color-convert/route.js | 97 - .../node_modules/color-name/.eslintrc.json | 43 - .../node_modules/color-name/.npmignore | 107 - .../highlight/node_modules/color-name/LICENSE | 8 - .../node_modules/color-name/README.md | 11 - .../node_modules/color-name/index.js | 152 - .../node_modules/color-name/package.json | 25 - .../highlight/node_modules/color-name/test.js | 7 - .../escape-string-regexp/index.js | 11 - .../node_modules/escape-string-regexp/license | 21 - .../escape-string-regexp/package.json | 41 - .../escape-string-regexp/readme.md | 27 - .../highlight/node_modules/has-flag/index.js | 8 - .../highlight/node_modules/has-flag/license | 9 - .../node_modules/has-flag/package.json | 44 - .../highlight/node_modules/has-flag/readme.md | 70 - .../node_modules/supports-color/browser.js | 5 - .../node_modules/supports-color/index.js | 131 - .../node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 53 - .../node_modules/supports-color/readme.md | 66 - node_modules/@babel/highlight/package.json | 29 - node_modules/@babel/parser/CHANGELOG.md | 1073 - node_modules/@babel/parser/LICENSE | 19 - node_modules/@babel/parser/README.md | 19 - .../@babel/parser/bin/babel-parser.js | 15 - node_modules/@babel/parser/lib/index.js | 16051 -------- node_modules/@babel/parser/lib/index.js.map | 1 - node_modules/@babel/parser/package.json | 42 - .../@babel/parser/typings/babel-parser.d.ts | 205 - .../plugin-syntax-async-generators/LICENSE | 22 - .../plugin-syntax-async-generators/README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../@babel/plugin-syntax-bigint/LICENSE | 22 - .../@babel/plugin-syntax-bigint/README.md | 19 - .../@babel/plugin-syntax-bigint/lib/index.js | 22 - .../@babel/plugin-syntax-bigint/package.json | 23 - .../plugin-syntax-class-properties/LICENSE | 22 - .../plugin-syntax-class-properties/README.md | 19 - .../lib/index.js | 22 - .../package.json | 28 - .../@babel/plugin-syntax-import-meta/LICENSE | 22 - .../plugin-syntax-import-meta/README.md | 19 - .../plugin-syntax-import-meta/lib/index.js | 22 - .../plugin-syntax-import-meta/package.json | 28 - .../@babel/plugin-syntax-json-strings/LICENSE | 22 - .../plugin-syntax-json-strings/README.md | 19 - .../plugin-syntax-json-strings/lib/index.js | 22 - .../plugin-syntax-json-strings/package.json | 23 - .../LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 28 - .../LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../plugin-syntax-numeric-separator/LICENSE | 22 - .../plugin-syntax-numeric-separator/README.md | 19 - .../lib/index.js | 22 - .../package.json | 28 - .../plugin-syntax-object-rest-spread/LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../plugin-syntax-optional-chaining/LICENSE | 22 - .../plugin-syntax-optional-chaining/README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../plugin-syntax-top-level-await/LICENSE | 22 - .../plugin-syntax-top-level-await/README.md | 19 - .../lib/index.js | 22 - .../package.json | 32 - .../@babel/plugin-syntax-typescript/LICENSE | 22 - .../@babel/plugin-syntax-typescript/README.md | 19 - .../plugin-syntax-typescript/lib/index.js | 54 - .../plugin-syntax-typescript/package.json | 34 - .../disallow-jsx-ambiguity/options.json | 3 - .../type-assertion/input.ts | 1 - .../type-assertion/options.json | 3 - .../type-parameter-unambiguous/input.ts | 2 - .../type-parameter-unambiguous/output.js | 3 - .../type-parameter/input.ts | 2 - .../type-parameter/options.json | 3 - .../plugin-syntax-typescript/test/index.js | 3 - .../test/package.json | 1 - node_modules/@babel/template/LICENSE | 22 - node_modules/@babel/template/README.md | 19 - node_modules/@babel/template/lib/builder.js | 81 - .../@babel/template/lib/formatters.js | 71 - node_modules/@babel/template/lib/index.js | 32 - node_modules/@babel/template/lib/literal.js | 80 - node_modules/@babel/template/lib/options.js | 83 - node_modules/@babel/template/lib/parse.js | 188 - node_modules/@babel/template/lib/populate.js | 135 - node_modules/@babel/template/lib/string.js | 22 - .../@babel/template/node_modules/.bin/parser | 1 - node_modules/@babel/template/package.json | 26 - node_modules/@babel/traverse/LICENSE | 22 - node_modules/@babel/traverse/README.md | 19 - node_modules/@babel/traverse/lib/cache.js | 26 - node_modules/@babel/traverse/lib/context.js | 137 - node_modules/@babel/traverse/lib/hub.js | 23 - node_modules/@babel/traverse/lib/index.js | 111 - .../@babel/traverse/lib/path/ancestry.js | 180 - .../@babel/traverse/lib/path/comments.js | 42 - .../@babel/traverse/lib/path/context.js | 263 - .../@babel/traverse/lib/path/conversion.js | 531 - .../@babel/traverse/lib/path/evaluation.js | 401 - .../@babel/traverse/lib/path/family.js | 407 - .../traverse/lib/path/generated/asserts.js | 5 - .../traverse/lib/path/generated/validators.js | 5 - .../lib/path/generated/virtual-types.js | 3 - .../@babel/traverse/lib/path/index.js | 257 - .../traverse/lib/path/inference/index.js | 156 - .../lib/path/inference/inferer-reference.js | 206 - .../traverse/lib/path/inference/inferers.js | 261 - .../@babel/traverse/lib/path/introspection.js | 436 - .../@babel/traverse/lib/path/lib/hoister.js | 206 - .../traverse/lib/path/lib/removal-hooks.js | 38 - .../traverse/lib/path/lib/virtual-types.js | 230 - .../@babel/traverse/lib/path/modification.js | 232 - .../@babel/traverse/lib/path/removal.js | 73 - .../@babel/traverse/lib/path/replacement.js | 260 - .../@babel/traverse/lib/scope/binding.js | 75 - .../@babel/traverse/lib/scope/index.js | 1018 - .../@babel/traverse/lib/scope/lib/renamer.js | 146 - .../@babel/traverse/lib/traverse-node.js | 30 - node_modules/@babel/traverse/lib/types.js | 5 - node_modules/@babel/traverse/lib/visitors.js | 242 - .../@babel/traverse/node_modules/.bin/parser | 1 - node_modules/@babel/traverse/package.json | 36 - .../traverse/scripts/generators/asserts.js | 25 - .../traverse/scripts/generators/validators.js | 42 - .../scripts/generators/virtual-types.js | 24 - .../@babel/traverse/scripts/package.json | 1 - node_modules/@babel/types/LICENSE | 22 - node_modules/@babel/types/README.md | 19 - .../@babel/types/lib/asserts/assertNode.js | 17 - .../types/lib/asserts/generated/index.js | 1517 - .../types/lib/ast-types/generated/index.js | 0 .../@babel/types/lib/builders/builder.js | 43 - .../lib/builders/flow/createFlowUnionType.js | 20 - .../flow/createTypeAnnotationBasedOnTypeof.js | 41 - .../types/lib/builders/generated/index.js | 1266 - .../types/lib/builders/generated/uppercase.js | 1513 - .../types/lib/builders/react/buildChildren.js | 29 - .../builders/typescript/createTSUnionType.js | 21 - node_modules/@babel/types/lib/clone/clone.js | 12 - .../@babel/types/lib/clone/cloneDeep.js | 12 - .../types/lib/clone/cloneDeepWithoutLoc.js | 12 - .../@babel/types/lib/clone/cloneNode.js | 114 - .../@babel/types/lib/clone/cloneWithoutLoc.js | 12 - .../@babel/types/lib/comments/addComment.js | 15 - .../@babel/types/lib/comments/addComments.js | 23 - .../lib/comments/inheritInnerComments.js | 12 - .../lib/comments/inheritLeadingComments.js | 12 - .../lib/comments/inheritTrailingComments.js | 12 - .../types/lib/comments/inheritsComments.js | 19 - .../types/lib/comments/removeComments.js | 16 - .../types/lib/constants/generated/index.js | 107 - .../@babel/types/lib/constants/index.js | 49 - .../@babel/types/lib/converters/Scope.js | 0 .../types/lib/converters/ensureBlock.js | 12 - .../converters/gatherSequenceExpressions.js | 75 - .../lib/converters/toBindingIdentifierName.js | 14 - .../@babel/types/lib/converters/toBlock.js | 34 - .../types/lib/converters/toComputedKey.js | 15 - .../types/lib/converters/toExpression.js | 33 - .../types/lib/converters/toIdentifier.js | 30 - .../@babel/types/lib/converters/toKeyAlias.js | 46 - .../lib/converters/toSequenceExpression.js | 21 - .../types/lib/converters/toStatement.js | 47 - .../types/lib/converters/valueToNode.js | 99 - .../@babel/types/lib/definitions/core.js | 1649 - .../types/lib/definitions/experimental.js | 133 - .../@babel/types/lib/definitions/flow.js | 474 - .../@babel/types/lib/definitions/index.js | 103 - .../@babel/types/lib/definitions/jsx.js | 156 - .../@babel/types/lib/definitions/misc.js | 32 - .../types/lib/definitions/placeholders.js | 33 - .../types/lib/definitions/typescript.js | 470 - .../@babel/types/lib/definitions/utils.js | 343 - .../@babel/types/lib/index-legacy.d.ts | 2717 -- node_modules/@babel/types/lib/index.d.ts | 2927 -- node_modules/@babel/types/lib/index.js | 647 - node_modules/@babel/types/lib/index.js.flow | 2572 -- .../modifications/appendToMemberExpression.js | 15 - .../flow/removeTypeDuplicates.js | 78 - .../types/lib/modifications/inherits.js | 31 - .../prependToMemberExpression.js | 13 - .../lib/modifications/removeProperties.js | 30 - .../lib/modifications/removePropertiesDeep.js | 15 - .../typescript/removeTypeDuplicates.js | 54 - .../lib/retrievers/getBindingIdentifiers.js | 104 - .../retrievers/getOuterBindingIdentifiers.js | 15 - .../@babel/types/lib/traverse/traverse.js | 55 - .../@babel/types/lib/traverse/traverseFast.js | 28 - .../@babel/types/lib/utils/inherit.js | 12 - .../react/cleanJSXElementLiteralChild.js | 47 - .../@babel/types/lib/utils/shallowEqual.js | 18 - .../validators/buildMatchMemberExpression.js | 13 - .../types/lib/validators/generated/index.js | 4811 --- .../@babel/types/lib/validators/is.js | 33 - .../@babel/types/lib/validators/isBinding.js | 31 - .../types/lib/validators/isBlockScoped.js | 14 - .../types/lib/validators/isImmutable.js | 24 - .../@babel/types/lib/validators/isLet.js | 14 - .../@babel/types/lib/validators/isNode.js | 12 - .../types/lib/validators/isNodesEquivalent.js | 67 - .../types/lib/validators/isPlaceholderType.js | 21 - .../types/lib/validators/isReferenced.js | 128 - .../@babel/types/lib/validators/isScope.js | 20 - .../lib/validators/isSpecifierDefault.js | 14 - .../@babel/types/lib/validators/isType.js | 24 - .../lib/validators/isValidES3Identifier.js | 14 - .../types/lib/validators/isValidIdentifier.js | 20 - .../@babel/types/lib/validators/isVar.js | 16 - .../types/lib/validators/matchesPattern.js | 42 - .../types/lib/validators/react/isCompatTag.js | 10 - .../lib/validators/react/isReactComponent.js | 12 - .../@babel/types/lib/validators/validate.js | 32 - node_modules/@babel/types/package.json | 39 - .../types/scripts/generators/asserts.js | 50 - .../types/scripts/generators/ast-types.js | 144 - .../types/scripts/generators/builders.js | 163 - .../types/scripts/generators/constants.js | 15 - .../@babel/types/scripts/generators/docs.js | 282 - .../@babel/types/scripts/generators/flow.js | 260 - .../scripts/generators/typescript-legacy.js | 369 - .../types/scripts/generators/validators.js | 87 - .../@babel/types/scripts/package.json | 1 - .../types/scripts/utils/formatBuilderName.js | 8 - .../@babel/types/scripts/utils/lowerFirst.js | 3 - .../types/scripts/utils/stringifyValidator.js | 66 - .../types/scripts/utils/toFunctionName.js | 4 - node_modules/@bcoe/v8-coverage/.editorconfig | 9 - node_modules/@bcoe/v8-coverage/.gitattributes | 2 - node_modules/@bcoe/v8-coverage/CHANGELOG.md | 250 - node_modules/@bcoe/v8-coverage/LICENSE.md | 21 - node_modules/@bcoe/v8-coverage/LICENSE.txt | 14 - node_modules/@bcoe/v8-coverage/README.md | 11 - .../@bcoe/v8-coverage/dist/lib/CHANGELOG.md | 250 - .../@bcoe/v8-coverage/dist/lib/LICENSE.md | 21 - .../@bcoe/v8-coverage/dist/lib/README.md | 11 - .../@bcoe/v8-coverage/dist/lib/_src/ascii.ts | 146 - .../@bcoe/v8-coverage/dist/lib/_src/clone.ts | 70 - .../v8-coverage/dist/lib/_src/compare.ts | 40 - .../@bcoe/v8-coverage/dist/lib/_src/index.ts | 6 - .../@bcoe/v8-coverage/dist/lib/_src/merge.ts | 343 - .../v8-coverage/dist/lib/_src/normalize.ts | 84 - .../v8-coverage/dist/lib/_src/range-tree.ts | 156 - .../@bcoe/v8-coverage/dist/lib/_src/types.ts | 26 - .../@bcoe/v8-coverage/dist/lib/ascii.d.ts | 12 - .../@bcoe/v8-coverage/dist/lib/ascii.js | 136 - .../@bcoe/v8-coverage/dist/lib/ascii.mjs | 130 - .../@bcoe/v8-coverage/dist/lib/clone.d.ts | 29 - .../@bcoe/v8-coverage/dist/lib/clone.js | 70 - .../@bcoe/v8-coverage/dist/lib/clone.mjs | 64 - .../@bcoe/v8-coverage/dist/lib/compare.d.ts | 21 - .../@bcoe/v8-coverage/dist/lib/compare.js | 46 - .../@bcoe/v8-coverage/dist/lib/compare.mjs | 41 - .../@bcoe/v8-coverage/dist/lib/index.d.ts | 6 - .../@bcoe/v8-coverage/dist/lib/index.js | 24 - .../@bcoe/v8-coverage/dist/lib/index.mjs | 7 - .../@bcoe/v8-coverage/dist/lib/merge.d.ts | 39 - .../@bcoe/v8-coverage/dist/lib/merge.js | 302 - .../@bcoe/v8-coverage/dist/lib/merge.mjs | 297 - .../@bcoe/v8-coverage/dist/lib/normalize.d.ts | 53 - .../@bcoe/v8-coverage/dist/lib/normalize.js | 87 - .../@bcoe/v8-coverage/dist/lib/normalize.mjs | 79 - .../@bcoe/v8-coverage/dist/lib/package.json | 44 - .../v8-coverage/dist/lib/range-tree.d.ts | 24 - .../@bcoe/v8-coverage/dist/lib/range-tree.js | 139 - .../@bcoe/v8-coverage/dist/lib/range-tree.mjs | 136 - .../@bcoe/v8-coverage/dist/lib/tsconfig.json | 62 - .../@bcoe/v8-coverage/dist/lib/types.d.ts | 22 - .../@bcoe/v8-coverage/dist/lib/types.js | 4 - .../@bcoe/v8-coverage/dist/lib/types.mjs | 3 - node_modules/@bcoe/v8-coverage/gulpfile.ts | 95 - node_modules/@bcoe/v8-coverage/package.json | 48 - .../@bcoe/v8-coverage/src/lib/ascii.ts | 146 - .../@bcoe/v8-coverage/src/lib/clone.ts | 70 - .../@bcoe/v8-coverage/src/lib/compare.ts | 40 - .../@bcoe/v8-coverage/src/lib/index.ts | 6 - .../@bcoe/v8-coverage/src/lib/merge.ts | 343 - .../@bcoe/v8-coverage/src/lib/normalize.ts | 84 - .../@bcoe/v8-coverage/src/lib/range-tree.ts | 156 - .../@bcoe/v8-coverage/src/lib/types.ts | 26 - .../@bcoe/v8-coverage/src/test/merge.spec.ts | 280 - node_modules/@bcoe/v8-coverage/tsconfig.json | 59 - .../@istanbuljs/load-nyc-config/CHANGELOG.md | 41 - .../@istanbuljs/load-nyc-config/LICENSE | 16 - .../@istanbuljs/load-nyc-config/README.md | 64 - .../@istanbuljs/load-nyc-config/index.js | 166 - .../@istanbuljs/load-nyc-config/load-esm.js | 12 - .../load-nyc-config/node_modules/.bin/js-yaml | 1 - .../node_modules/argparse/CHANGELOG.md | 185 - .../node_modules/argparse/LICENSE | 21 - .../node_modules/argparse/README.md | 257 - .../node_modules/argparse/index.js | 3 - .../node_modules/argparse/lib/action.js | 146 - .../argparse/lib/action/append.js | 53 - .../argparse/lib/action/append/constant.js | 47 - .../node_modules/argparse/lib/action/count.js | 40 - .../node_modules/argparse/lib/action/help.js | 47 - .../node_modules/argparse/lib/action/store.js | 50 - .../argparse/lib/action/store/constant.js | 43 - .../argparse/lib/action/store/false.js | 27 - .../argparse/lib/action/store/true.js | 26 - .../argparse/lib/action/subparsers.js | 149 - .../argparse/lib/action/version.js | 47 - .../argparse/lib/action_container.js | 482 - .../node_modules/argparse/lib/argparse.js | 14 - .../argparse/lib/argument/error.js | 50 - .../argparse/lib/argument/exclusive.js | 54 - .../argparse/lib/argument/group.js | 75 - .../argparse/lib/argument_parser.js | 1161 - .../node_modules/argparse/lib/const.js | 21 - .../argparse/lib/help/added_formatters.js | 87 - .../argparse/lib/help/formatter.js | 795 - .../node_modules/argparse/lib/namespace.js | 76 - .../node_modules/argparse/lib/utils.js | 57 - .../node_modules/argparse/package.json | 34 - .../node_modules/camelcase/index.d.ts | 63 - .../node_modules/camelcase/index.js | 76 - .../node_modules/camelcase/license | 9 - .../node_modules/camelcase/package.json | 43 - .../node_modules/camelcase/readme.md | 99 - .../node_modules/js-yaml/CHANGELOG.md | 557 - .../node_modules/js-yaml/LICENSE | 21 - .../node_modules/js-yaml/README.md | 299 - .../node_modules/js-yaml/bin/js-yaml.js | 132 - .../node_modules/js-yaml/dist/js-yaml.js | 3989 -- .../node_modules/js-yaml/dist/js-yaml.min.js | 1 - .../node_modules/js-yaml/index.js | 7 - .../node_modules/js-yaml/lib/js-yaml.js | 39 - .../js-yaml/lib/js-yaml/common.js | 59 - .../js-yaml/lib/js-yaml/dumper.js | 850 - .../js-yaml/lib/js-yaml/exception.js | 43 - .../js-yaml/lib/js-yaml/loader.js | 1644 - .../node_modules/js-yaml/lib/js-yaml/mark.js | 76 - .../js-yaml/lib/js-yaml/schema.js | 108 - .../js-yaml/lib/js-yaml/schema/core.js | 18 - .../lib/js-yaml/schema/default_full.js | 25 - .../lib/js-yaml/schema/default_safe.js | 28 - .../js-yaml/lib/js-yaml/schema/failsafe.js | 17 - .../js-yaml/lib/js-yaml/schema/json.js | 25 - .../node_modules/js-yaml/lib/js-yaml/type.js | 61 - .../js-yaml/lib/js-yaml/type/binary.js | 138 - .../js-yaml/lib/js-yaml/type/bool.js | 35 - .../js-yaml/lib/js-yaml/type/float.js | 116 - .../js-yaml/lib/js-yaml/type/int.js | 173 - .../js-yaml/lib/js-yaml/type/js/function.js | 93 - .../js-yaml/lib/js-yaml/type/js/regexp.js | 60 - .../js-yaml/lib/js-yaml/type/js/undefined.js | 28 - .../js-yaml/lib/js-yaml/type/map.js | 8 - .../js-yaml/lib/js-yaml/type/merge.js | 12 - .../js-yaml/lib/js-yaml/type/null.js | 34 - .../js-yaml/lib/js-yaml/type/omap.js | 44 - .../js-yaml/lib/js-yaml/type/pairs.js | 53 - .../js-yaml/lib/js-yaml/type/seq.js | 8 - .../js-yaml/lib/js-yaml/type/set.js | 29 - .../js-yaml/lib/js-yaml/type/str.js | 8 - .../js-yaml/lib/js-yaml/type/timestamp.js | 88 - .../js-yaml/node_modules/.bin/esparse | 1 - .../js-yaml/node_modules/.bin/esvalidate | 1 - .../node_modules/js-yaml/package.json | 49 - .../@istanbuljs/load-nyc-config/package.json | 49 - node_modules/@istanbuljs/schema/CHANGELOG.md | 44 - node_modules/@istanbuljs/schema/LICENSE | 21 - node_modules/@istanbuljs/schema/README.md | 30 - .../@istanbuljs/schema/default-exclude.js | 22 - .../@istanbuljs/schema/default-extension.js | 10 - node_modules/@istanbuljs/schema/index.js | 466 - node_modules/@istanbuljs/schema/package.json | 30 - node_modules/@jest/console/LICENSE | 21 - .../@jest/console/build/BufferedConsole.d.ts | 37 - .../@jest/console/build/BufferedConsole.js | 258 - .../@jest/console/build/CustomConsole.d.ts | 41 - .../@jest/console/build/CustomConsole.js | 240 - .../@jest/console/build/NullConsole.d.ts | 23 - .../@jest/console/build/NullConsole.js | 50 - .../@jest/console/build/getConsoleOutput.d.ts | 10 - .../@jest/console/build/getConsoleOutput.js | 101 - node_modules/@jest/console/build/index.d.ts | 11 - node_modules/@jest/console/build/index.js | 41 - node_modules/@jest/console/build/types.d.ts | 20 - node_modules/@jest/console/build/types.js | 1 - node_modules/@jest/console/package.json | 38 - node_modules/@jest/core/LICENSE | 21 - node_modules/@jest/core/README.md | 3 - .../@jest/core/build/FailedTestsCache.d.ts | 12 - .../@jest/core/build/FailedTestsCache.js | 59 - .../build/FailedTestsInteractiveMode.d.ts | 31 - .../core/build/FailedTestsInteractiveMode.js | 262 - .../@jest/core/build/ReporterDispatcher.d.ts | 22 - .../@jest/core/build/ReporterDispatcher.js | 104 - .../@jest/core/build/SearchSource.d.ts | 46 - node_modules/@jest/core/build/SearchSource.js | 490 - .../core/build/SnapshotInteractiveMode.d.ts | 30 - .../core/build/SnapshotInteractiveMode.js | 327 - .../core/build/TestNamePatternPrompt.d.ts | 17 - .../@jest/core/build/TestNamePatternPrompt.js | 86 - .../core/build/TestPathPatternPrompt.d.ts | 24 - .../@jest/core/build/TestPathPatternPrompt.js | 81 - .../@jest/core/build/TestScheduler.d.ts | 42 - .../@jest/core/build/TestScheduler.js | 570 - .../@jest/core/build/TestWatcher.d.ts | 23 - node_modules/@jest/core/build/TestWatcher.js | 64 - .../@jest/core/build/assets/jest_logo.png | Bin 3157 -> 0 bytes node_modules/@jest/core/build/cli/index.d.ts | 12 - node_modules/@jest/core/build/cli/index.js | 399 - .../@jest/core/build/collectHandles.d.ts | 10 - .../@jest/core/build/collectHandles.js | 269 - .../core/build/getChangedFilesPromise.d.ts | 9 - .../core/build/getChangedFilesPromise.js | 77 - .../core/build/getConfigsOfProjectsToRun.d.ts | 8 - .../core/build/getConfigsOfProjectsToRun.js | 28 - .../@jest/core/build/getNoTestFound.d.ts | 9 - .../@jest/core/build/getNoTestFound.js | 63 - .../core/build/getNoTestFoundFailed.d.ts | 8 - .../@jest/core/build/getNoTestFoundFailed.js | 51 - .../build/getNoTestFoundPassWithNoTests.d.ts | 7 - .../build/getNoTestFoundPassWithNoTests.js | 30 - .../getNoTestFoundRelatedToChangedFiles.d.ts | 8 - .../getNoTestFoundRelatedToChangedFiles.js | 57 - .../core/build/getNoTestFoundVerbose.d.ts | 9 - .../@jest/core/build/getNoTestFoundVerbose.js | 95 - .../core/build/getNoTestsFoundMessage.d.ts | 9 - .../core/build/getNoTestsFoundMessage.js | 52 - .../core/build/getProjectDisplayName.d.ts | 8 - .../@jest/core/build/getProjectDisplayName.js | 23 - .../build/getProjectNamesMissingWarning.d.ts | 8 - .../build/getProjectNamesMissingWarning.js | 49 - .../core/build/getSelectProjectsMessage.d.ts | 8 - .../core/build/getSelectProjectsMessage.js | 65 - node_modules/@jest/core/build/jest.d.ts | 11 - node_modules/@jest/core/build/jest.js | 49 - .../core/build/lib/activeFiltersMessage.d.ts | 9 - .../core/build/lib/activeFiltersMessage.js | 54 - .../@jest/core/build/lib/createContext.d.ts | 10 - .../@jest/core/build/lib/createContext.js | 35 - .../build/lib/handleDeprecationWarnings.d.ts | 8 - .../build/lib/handleDeprecationWarnings.js | 72 - .../@jest/core/build/lib/isValidPath.d.ts | 8 - .../@jest/core/build/lib/isValidPath.js | 29 - .../core/build/lib/logDebugMessages.d.ts | 9 - .../@jest/core/build/lib/logDebugMessages.js | 23 - .../core/build/lib/updateGlobalConfig.d.ts | 11 - .../core/build/lib/updateGlobalConfig.js | 121 - .../core/build/lib/watchPluginsHelpers.d.ts | 10 - .../core/build/lib/watchPluginsHelpers.js | 62 - .../build/plugins/FailedTestsInteractive.d.ts | 17 - .../build/plugins/FailedTestsInteractive.js | 135 - .../@jest/core/build/plugins/Quit.d.ts | 18 - node_modules/@jest/core/build/plugins/Quit.js | 60 - .../core/build/plugins/TestNamePattern.d.ts | 21 - .../core/build/plugins/TestNamePattern.js | 91 - .../core/build/plugins/TestPathPattern.d.ts | 21 - .../core/build/plugins/TestPathPattern.js | 91 - .../core/build/plugins/UpdateSnapshots.d.ts | 21 - .../core/build/plugins/UpdateSnapshots.js | 70 - .../plugins/UpdateSnapshotsInteractive.d.ts | 20 - .../plugins/UpdateSnapshotsInteractive.js | 138 - node_modules/@jest/core/build/pluralize.d.ts | 7 - node_modules/@jest/core/build/pluralize.js | 16 - .../@jest/core/build/runGlobalHook.d.ts | 13 - .../@jest/core/build/runGlobalHook.js | 143 - node_modules/@jest/core/build/runJest.d.ts | 27 - node_modules/@jest/core/build/runJest.js | 423 - .../@jest/core/build/testSchedulerHelper.d.ts | 9 - .../@jest/core/build/testSchedulerHelper.js | 51 - node_modules/@jest/core/build/types.d.ts | 39 - node_modules/@jest/core/build/types.js | 1 - node_modules/@jest/core/build/version.d.ts | 7 - node_modules/@jest/core/build/version.js | 19 - node_modules/@jest/core/build/watch.d.ts | 13 - node_modules/@jest/core/build/watch.js | 769 - .../@jest/core/node_modules/.bin/rimraf | 1 - node_modules/@jest/core/package.json | 103 - node_modules/@jest/environment/LICENSE | 21 - .../@jest/environment/build/index.d.ts | 267 - node_modules/@jest/environment/build/index.js | 1 - node_modules/@jest/environment/package.json | 32 - node_modules/@jest/fake-timers/LICENSE | 21 - .../@jest/fake-timers/build/index.d.ts | 8 - node_modules/@jest/fake-timers/build/index.js | 25 - .../fake-timers/build/legacyFakeTimers.d.ts | 67 - .../fake-timers/build/legacyFakeTimers.js | 673 - .../fake-timers/build/modernFakeTimers.d.ts | 34 - .../fake-timers/build/modernFakeTimers.js | 181 - node_modules/@jest/fake-timers/package.json | 37 - node_modules/@jest/globals/LICENSE | 21 - node_modules/@jest/globals/build/index.d.ts | 23 - node_modules/@jest/globals/build/index.js | 25 - node_modules/@jest/globals/package.json | 31 - node_modules/@jest/reporters/LICENSE | 21 - .../@jest/reporters/build/BaseReporter.d.ts | 19 - .../@jest/reporters/build/BaseReporter.js | 65 - .../reporters/build/CoverageReporter.d.ts | 24 - .../@jest/reporters/build/CoverageReporter.js | 668 - .../@jest/reporters/build/CoverageWorker.d.ts | 17 - .../@jest/reporters/build/CoverageWorker.js | 103 - .../reporters/build/DefaultReporter.d.ts | 33 - .../@jest/reporters/build/DefaultReporter.js | 254 - .../@jest/reporters/build/NotifyReporter.d.ts | 19 - .../@jest/reporters/build/NotifyReporter.js | 256 - .../@jest/reporters/build/Status.d.ts | 42 - node_modules/@jest/reporters/build/Status.js | 272 - .../reporters/build/SummaryReporter.d.ts | 22 - .../@jest/reporters/build/SummaryReporter.js | 271 - .../reporters/build/VerboseReporter.d.ts | 27 - .../@jest/reporters/build/VerboseReporter.js | 226 - .../build/generateEmptyCoverage.d.ts | 19 - .../reporters/build/generateEmptyCoverage.js | 168 - .../reporters/build/getResultHeader.d.ts | 9 - .../@jest/reporters/build/getResultHeader.js | 104 - .../reporters/build/getSnapshotStatus.d.ts | 8 - .../reporters/build/getSnapshotStatus.js | 111 - .../reporters/build/getSnapshotSummary.d.ts | 9 - .../reporters/build/getSnapshotSummary.js | 203 - .../@jest/reporters/build/getWatermarks.d.ts | 9 - .../@jest/reporters/build/getWatermarks.js | 47 - node_modules/@jest/reporters/build/index.d.ts | 27 - node_modules/@jest/reporters/build/index.js | 78 - node_modules/@jest/reporters/build/types.d.ts | 75 - node_modules/@jest/reporters/build/types.js | 1 - node_modules/@jest/reporters/build/utils.d.ts | 18 - node_modules/@jest/reporters/build/utils.js | 435 - node_modules/@jest/reporters/package.json | 80 - node_modules/@jest/source-map/LICENSE | 21 - .../@jest/source-map/build/getCallsite.d.ts | 9 - .../@jest/source-map/build/getCallsite.js | 108 - .../@jest/source-map/build/index.d.ts | 8 - node_modules/@jest/source-map/build/index.js | 17 - .../@jest/source-map/build/types.d.ts | 7 - node_modules/@jest/source-map/build/types.js | 1 - node_modules/@jest/source-map/package.json | 34 - node_modules/@jest/test-result/LICENSE | 21 - .../test-result/build/formatTestResults.d.ts | 8 - .../test-result/build/formatTestResults.js | 70 - .../@jest/test-result/build/helpers.d.ts | 12 - .../@jest/test-result/build/helpers.js | 188 - .../@jest/test-result/build/index.d.ts | 9 - node_modules/@jest/test-result/build/index.js | 43 - .../@jest/test-result/build/types.d.ts | 171 - node_modules/@jest/test-result/build/types.js | 1 - node_modules/@jest/test-result/package.json | 32 - node_modules/@jest/test-sequencer/LICENSE | 21 - .../@jest/test-sequencer/build/index.d.ts | 51 - .../@jest/test-sequencer/build/index.js | 237 - .../@jest/test-sequencer/package.json | 35 - node_modules/@jest/transform/LICENSE | 21 - .../transform/build/ScriptTransformer.d.ts | 40 - .../transform/build/ScriptTransformer.js | 1115 - .../build/enhanceUnexpectedTokenMessage.d.ts | 12 - .../build/enhanceUnexpectedTokenMessage.js | 83 - node_modules/@jest/transform/build/index.d.ts | 11 - node_modules/@jest/transform/build/index.js | 41 - .../build/runtimeErrorsAndWarnings.d.ts | 10 - .../build/runtimeErrorsAndWarnings.js | 101 - .../transform/build/shouldInstrument.d.ts | 9 - .../@jest/transform/build/shouldInstrument.js | 207 - node_modules/@jest/transform/build/types.d.ts | 75 - node_modules/@jest/transform/build/types.js | 1 - node_modules/@jest/transform/package.json | 53 - node_modules/@jest/types/LICENSE | 21 - node_modules/@jest/types/build/Circus.d.ts | 193 - node_modules/@jest/types/build/Circus.js | 1 - node_modules/@jest/types/build/Config.d.ts | 462 - node_modules/@jest/types/build/Config.js | 1 - node_modules/@jest/types/build/Global.d.ts | 95 - node_modules/@jest/types/build/Global.js | 1 - .../@jest/types/build/TestResult.d.ts | 31 - node_modules/@jest/types/build/TestResult.js | 1 - node_modules/@jest/types/build/Transform.d.ts | 11 - node_modules/@jest/types/build/Transform.js | 1 - node_modules/@jest/types/build/index.d.ts | 12 - node_modules/@jest/types/build/index.js | 1 - node_modules/@jest/types/package.json | 37 - node_modules/@jridgewell/resolve-uri/LICENSE | 19 - .../@jridgewell/resolve-uri/README.md | 40 - .../resolve-uri/dist/resolve-uri.mjs | 177 - .../resolve-uri/dist/resolve-uri.mjs.map | 1 - .../resolve-uri/dist/resolve-uri.umd.js | 185 - .../resolve-uri/dist/resolve-uri.umd.js.map | 1 - .../resolve-uri/dist/types/resolve-uri.d.ts | 4 - .../@jridgewell/resolve-uri/package.json | 63 - .../@jridgewell/sourcemap-codec/LICENSE | 21 - .../@jridgewell/sourcemap-codec/README.md | 63 - .../sourcemap-codec/dist/sourcemap-codec.mjs | 164 - .../dist/sourcemap-codec.mjs.map | 1 - .../dist/sourcemap-codec.umd.js | 175 - .../dist/sourcemap-codec.umd.js.map | 1 - .../dist/types/sourcemap-codec.d.ts | 5 - .../@jridgewell/sourcemap-codec/package.json | 69 - .../@jridgewell/trace-mapping/LICENSE | 19 - .../@jridgewell/trace-mapping/README.md | 77 - .../trace-mapping/dist/trace-mapping.mjs | 269 - .../trace-mapping/dist/trace-mapping.mjs.map | 1 - .../trace-mapping/dist/trace-mapping.umd.js | 280 - .../dist/trace-mapping.umd.js.map | 1 - .../dist/types/binary-search.d.ts | 30 - .../trace-mapping/dist/types/resolve.d.ts | 1 - .../trace-mapping/dist/types/sort.d.ts | 2 - .../dist/types/strip-filename.d.ts | 4 - .../dist/types/trace-mapping.d.ts | 43 - .../trace-mapping/dist/types/types.d.ts | 62 - .../@jridgewell/trace-mapping/package.json | 71 - node_modules/@octokit/auth-token/LICENSE | 21 - node_modules/@octokit/auth-token/README.md | 290 - .../@octokit/auth-token/dist-node/index.js | 55 - .../auth-token/dist-node/index.js.map | 1 - .../@octokit/auth-token/dist-src/auth.js | 21 - .../@octokit/auth-token/dist-src/hook.js | 6 - .../@octokit/auth-token/dist-src/index.js | 14 - .../@octokit/auth-token/dist-src/types.js | 1 - .../dist-src/with-authorization-prefix.js | 11 - .../@octokit/auth-token/dist-types/auth.d.ts | 2 - .../@octokit/auth-token/dist-types/hook.d.ts | 2 - .../@octokit/auth-token/dist-types/index.d.ts | 7 - .../@octokit/auth-token/dist-types/types.d.ts | 33 - .../dist-types/with-authorization-prefix.d.ts | 6 - .../@octokit/auth-token/dist-web/index.js | 55 - .../@octokit/auth-token/dist-web/index.js.map | 1 - node_modules/@octokit/auth-token/package.json | 45 - node_modules/@octokit/core/LICENSE | 21 - node_modules/@octokit/core/README.md | 440 - node_modules/@octokit/core/dist-node/index.js | 176 - .../@octokit/core/dist-node/index.js.map | 1 - node_modules/@octokit/core/dist-src/index.js | 125 - node_modules/@octokit/core/dist-src/types.js | 1 - .../@octokit/core/dist-src/version.js | 1 - .../@octokit/core/dist-types/index.d.ts | 30 - .../@octokit/core/dist-types/types.d.ts | 44 - .../@octokit/core/dist-types/version.d.ts | 1 - node_modules/@octokit/core/dist-web/index.js | 130 - .../@octokit/core/dist-web/index.js.map | 1 - node_modules/@octokit/core/package.json | 58 - node_modules/@octokit/endpoint/LICENSE | 21 - node_modules/@octokit/endpoint/README.md | 421 - .../@octokit/endpoint/dist-node/index.js | 390 - .../@octokit/endpoint/dist-node/index.js.map | 1 - .../@octokit/endpoint/dist-src/defaults.js | 17 - .../dist-src/endpoint-with-defaults.js | 5 - .../@octokit/endpoint/dist-src/index.js | 3 - .../@octokit/endpoint/dist-src/merge.js | 26 - .../@octokit/endpoint/dist-src/parse.js | 81 - .../dist-src/util/add-query-parameters.js | 17 - .../util/extract-url-variable-names.js | 11 - .../endpoint/dist-src/util/lowercase-keys.js | 9 - .../endpoint/dist-src/util/merge-deep.js | 16 - .../@octokit/endpoint/dist-src/util/omit.js | 8 - .../util/remove-undefined-properties.js | 8 - .../endpoint/dist-src/util/url-template.js | 164 - .../@octokit/endpoint/dist-src/version.js | 1 - .../endpoint/dist-src/with-defaults.js | 13 - .../endpoint/dist-types/defaults.d.ts | 2 - .../dist-types/endpoint-with-defaults.d.ts | 3 - .../@octokit/endpoint/dist-types/index.d.ts | 1 - .../@octokit/endpoint/dist-types/merge.d.ts | 2 - .../@octokit/endpoint/dist-types/parse.d.ts | 2 - .../dist-types/util/add-query-parameters.d.ts | 4 - .../util/extract-url-variable-names.d.ts | 1 - .../dist-types/util/lowercase-keys.d.ts | 5 - .../endpoint/dist-types/util/merge-deep.d.ts | 1 - .../endpoint/dist-types/util/omit.d.ts | 5 - .../util/remove-undefined-properties.d.ts | 1 - .../dist-types/util/url-template.d.ts | 3 - .../@octokit/endpoint/dist-types/version.d.ts | 1 - .../endpoint/dist-types/with-defaults.d.ts | 2 - .../@octokit/endpoint/dist-web/index.js | 381 - .../@octokit/endpoint/dist-web/index.js.map | 1 - node_modules/@octokit/endpoint/package.json | 44 - node_modules/@octokit/graphql/LICENSE | 21 - node_modules/@octokit/graphql/README.md | 409 - .../@octokit/graphql/dist-node/index.js | 118 - .../@octokit/graphql/dist-node/index.js.map | 1 - .../@octokit/graphql/dist-src/error.js | 21 - .../@octokit/graphql/dist-src/graphql.js | 52 - .../@octokit/graphql/dist-src/index.js | 18 - .../@octokit/graphql/dist-src/types.js | 1 - .../@octokit/graphql/dist-src/version.js | 1 - .../graphql/dist-src/with-defaults.js | 12 - .../@octokit/graphql/dist-types/error.d.ts | 13 - .../@octokit/graphql/dist-types/graphql.d.ts | 3 - .../@octokit/graphql/dist-types/index.d.ts | 5 - .../@octokit/graphql/dist-types/types.d.ts | 55 - .../@octokit/graphql/dist-types/version.d.ts | 1 - .../graphql/dist-types/with-defaults.d.ts | 3 - .../@octokit/graphql/dist-web/index.js | 106 - .../@octokit/graphql/dist-web/index.js.map | 1 - node_modules/@octokit/graphql/package.json | 47 - node_modules/@octokit/openapi-types/LICENSE | 7 - node_modules/@octokit/openapi-types/README.md | 17 - .../@octokit/openapi-types/package.json | 20 - .../@octokit/openapi-types/types.d.ts | 34021 ---------------- .../@octokit/plugin-paginate-rest/LICENSE | 7 - .../@octokit/plugin-paginate-rest/README.md | 269 - .../plugin-paginate-rest/dist-node/index.js | 217 - .../dist-node/index.js.map | 1 - .../dist-src/compose-paginate.js | 5 - .../generated/paginating-endpoints.js | 200 - .../plugin-paginate-rest/dist-src/index.js | 17 - .../plugin-paginate-rest/dist-src/iterator.js | 39 - .../normalize-paginated-list-response.js | 47 - .../plugin-paginate-rest/dist-src/paginate.js | 24 - .../dist-src/paginating-endpoints.js | 10 - .../plugin-paginate-rest/dist-src/types.js | 1 - .../plugin-paginate-rest/dist-src/version.js | 1 - .../dist-types/compose-paginate.d.ts | 2 - .../generated/paginating-endpoints.d.ts | 1476 - .../dist-types/index.d.ts | 16 - .../dist-types/iterator.d.ts | 20 - .../normalize-paginated-list-response.d.ts | 18 - .../dist-types/paginate.d.ts | 3 - .../dist-types/paginating-endpoints.d.ts | 3 - .../dist-types/types.d.ts | 242 - .../dist-types/version.d.ts | 1 - .../plugin-paginate-rest/dist-web/index.js | 342 - .../dist-web/index.js.map | 1 - .../plugin-paginate-rest/package.json | 52 - .../plugin-rest-endpoint-methods/LICENSE | 7 - .../plugin-rest-endpoint-methods/README.md | 76 - .../dist-node/index.js | 1025 - .../dist-node/index.js.map | 1 - .../dist-src/endpoints-to-methods.js | 60 - .../dist-src/generated/endpoints.js | 1434 - .../dist-src/generated/method-types.js | 1 - .../parameters-and-response-types.js | 1 - .../dist-src/index.js | 18 - .../dist-src/types.js | 1 - .../dist-src/version.js | 1 - .../dist-types/endpoints-to-methods.d.ts | 4 - .../dist-types/generated/endpoints.d.ts | 3 - .../dist-types/generated/method-types.d.ts | 8460 ---- .../parameters-and-response-types.d.ts | 2837 -- .../dist-types/index.d.ts | 11 - .../dist-types/types.d.ts | 18 - .../dist-types/version.d.ts | 1 - .../dist-web/index.js | 1515 - .../dist-web/index.js.map | 1 - .../plugin-rest-endpoint-methods/package.json | 60 - node_modules/@octokit/request-error/LICENSE | 21 - node_modules/@octokit/request-error/README.md | 67 - .../@octokit/request-error/dist-node/index.js | 74 - .../request-error/dist-node/index.js.map | 1 - .../@octokit/request-error/dist-src/index.js | 55 - .../@octokit/request-error/dist-src/types.js | 1 - .../request-error/dist-types/index.d.ts | 33 - .../request-error/dist-types/types.d.ts | 9 - .../@octokit/request-error/dist-web/index.js | 59 - .../request-error/dist-web/index.js.map | 1 - .../@octokit/request-error/package.json | 47 - node_modules/@octokit/request/LICENSE | 21 - node_modules/@octokit/request/README.md | 551 - .../@octokit/request/dist-node/index.js | 177 - .../@octokit/request/dist-node/index.js.map | 1 - .../request/dist-src/fetch-wrapper.js | 119 - .../request/dist-src/get-buffer-response.js | 3 - .../@octokit/request/dist-src/index.js | 9 - .../@octokit/request/dist-src/version.js | 1 - .../request/dist-src/with-defaults.js | 22 - .../request/dist-types/fetch-wrapper.d.ts | 11 - .../dist-types/get-buffer-response.d.ts | 2 - .../@octokit/request/dist-types/index.d.ts | 1 - .../@octokit/request/dist-types/version.d.ts | 1 - .../request/dist-types/with-defaults.d.ts | 2 - .../@octokit/request/dist-web/index.js | 158 - .../@octokit/request/dist-web/index.js.map | 1 - node_modules/@octokit/request/package.json | 56 - node_modules/@octokit/types/LICENSE | 7 - node_modules/@octokit/types/README.md | 65 - .../@octokit/types/dist-node/index.js | 8 - .../@octokit/types/dist-node/index.js.map | 1 - .../@octokit/types/dist-src/AuthInterface.js | 1 - .../types/dist-src/EndpointDefaults.js | 1 - .../types/dist-src/EndpointInterface.js | 1 - .../types/dist-src/EndpointOptions.js | 1 - node_modules/@octokit/types/dist-src/Fetch.js | 1 - .../GetResponseTypeFromEndpointMethod.js | 1 - .../types/dist-src/OctokitResponse.js | 1 - .../@octokit/types/dist-src/RequestError.js | 1 - .../@octokit/types/dist-src/RequestHeaders.js | 1 - .../types/dist-src/RequestInterface.js | 1 - .../@octokit/types/dist-src/RequestMethod.js | 1 - .../@octokit/types/dist-src/RequestOptions.js | 1 - .../types/dist-src/RequestParameters.js | 1 - .../types/dist-src/RequestRequestOptions.js | 1 - .../types/dist-src/ResponseHeaders.js | 1 - node_modules/@octokit/types/dist-src/Route.js | 1 - .../@octokit/types/dist-src/Signal.js | 1 - .../types/dist-src/StrategyInterface.js | 1 - node_modules/@octokit/types/dist-src/Url.js | 1 - .../@octokit/types/dist-src/VERSION.js | 1 - .../types/dist-src/generated/Endpoints.js | 1 - node_modules/@octokit/types/dist-src/index.js | 21 - .../types/dist-types/AuthInterface.d.ts | 31 - .../types/dist-types/EndpointDefaults.d.ts | 21 - .../types/dist-types/EndpointInterface.d.ts | 65 - .../types/dist-types/EndpointOptions.d.ts | 7 - .../@octokit/types/dist-types/Fetch.d.ts | 4 - .../GetResponseTypeFromEndpointMethod.d.ts | 5 - .../types/dist-types/OctokitResponse.d.ts | 17 - .../types/dist-types/RequestError.d.ts | 11 - .../types/dist-types/RequestHeaders.d.ts | 15 - .../types/dist-types/RequestInterface.d.ts | 34 - .../types/dist-types/RequestMethod.d.ts | 4 - .../types/dist-types/RequestOptions.d.ts | 14 - .../types/dist-types/RequestParameters.d.ts | 45 - .../dist-types/RequestRequestOptions.d.ts | 26 - .../types/dist-types/ResponseHeaders.d.ts | 20 - .../@octokit/types/dist-types/Route.d.ts | 4 - .../@octokit/types/dist-types/Signal.d.ts | 6 - .../types/dist-types/StrategyInterface.d.ts | 4 - .../@octokit/types/dist-types/Url.d.ts | 4 - .../@octokit/types/dist-types/VERSION.d.ts | 1 - .../types/dist-types/generated/Endpoints.d.ts | 3162 -- .../@octokit/types/dist-types/index.d.ts | 21 - node_modules/@octokit/types/dist-web/index.js | 4 - .../@octokit/types/dist-web/index.js.map | 1 - node_modules/@octokit/types/package.json | 54 - node_modules/@sinonjs/commons/CHANGES.md | 57 - node_modules/@sinonjs/commons/LICENSE | 29 - node_modules/@sinonjs/commons/README.md | 16 - .../@sinonjs/commons/lib/called-in-order.js | 57 - .../commons/lib/called-in-order.test.js | 121 - .../@sinonjs/commons/lib/class-name.js | 27 - .../@sinonjs/commons/lib/class-name.test.js | 37 - .../@sinonjs/commons/lib/deprecated.js | 58 - .../@sinonjs/commons/lib/deprecated.test.js | 100 - node_modules/@sinonjs/commons/lib/every.js | 27 - .../@sinonjs/commons/lib/every.test.js | 41 - .../@sinonjs/commons/lib/function-name.js | 29 - .../commons/lib/function-name.test.js | 76 - node_modules/@sinonjs/commons/lib/global.js | 22 - .../@sinonjs/commons/lib/global.test.js | 16 - node_modules/@sinonjs/commons/lib/index.js | 14 - .../@sinonjs/commons/lib/index.test.js | 29 - .../commons/lib/order-by-first-call.js | 36 - .../commons/lib/order-by-first-call.test.js | 52 - .../@sinonjs/commons/lib/prototypes/README.md | 43 - .../@sinonjs/commons/lib/prototypes/array.js | 5 - .../commons/lib/prototypes/copy-prototype.js | 21 - .../commons/lib/prototypes/function.js | 5 - .../@sinonjs/commons/lib/prototypes/index.js | 10 - .../commons/lib/prototypes/index.test.js | 51 - .../@sinonjs/commons/lib/prototypes/map.js | 5 - .../@sinonjs/commons/lib/prototypes/object.js | 5 - .../@sinonjs/commons/lib/prototypes/set.js | 5 - .../@sinonjs/commons/lib/prototypes/string.js | 5 - node_modules/@sinonjs/commons/lib/type-of.js | 13 - .../@sinonjs/commons/lib/type-of.test.js | 51 - .../@sinonjs/commons/lib/value-to-string.js | 17 - .../commons/lib/value-to-string.test.js | 20 - node_modules/@sinonjs/commons/package.json | 67 - .../commons/types/called-in-order.d.ts | 36 - .../@sinonjs/commons/types/class-name.d.ts | 8 - .../@sinonjs/commons/types/deprecated.d.ts | 3 - .../@sinonjs/commons/types/every.d.ts | 2 - .../@sinonjs/commons/types/function-name.d.ts | 2 - .../@sinonjs/commons/types/global.d.ts | 7 - .../@sinonjs/commons/types/index.d.ts | 17 - .../commons/types/order-by-first-call.d.ts | 26 - .../commons/types/prototypes/array.d.ts | 2 - .../types/prototypes/copy-prototype.d.ts | 2 - .../commons/types/prototypes/function.d.ts | 2 - .../commons/types/prototypes/index.d.ts | 7 - .../commons/types/prototypes/map.d.ts | 2 - .../commons/types/prototypes/object.d.ts | 2 - .../commons/types/prototypes/set.d.ts | 2 - .../commons/types/prototypes/string.d.ts | 2 - .../@sinonjs/commons/types/type-of.d.ts | 2 - .../commons/types/value-to-string.d.ts | 8 - .../@sinonjs/fake-timers/CHANGELOG.md | 441 - node_modules/@sinonjs/fake-timers/LICENSE | 11 - node_modules/@sinonjs/fake-timers/README.md | 353 - .../@sinonjs/fake-timers/package.json | 71 - .../fake-timers/src/fake-timers-src.js | 1728 - .../@tootallnate/once/dist/index.d.ts | 14 - node_modules/@tootallnate/once/dist/index.js | 39 - .../@tootallnate/once/dist/index.js.map | 1 - node_modules/@tootallnate/once/package.json | 45 - node_modules/@types/babel__core/LICENSE | 21 - node_modules/@types/babel__core/README.md | 16 - node_modules/@types/babel__core/index.d.ts | 799 - .../babel__core/node_modules/.bin/parser | 1 - node_modules/@types/babel__core/package.json | 51 - node_modules/@types/babel__generator/LICENSE | 21 - .../@types/babel__generator/README.md | 16 - .../@types/babel__generator/index.d.ts | 211 - .../@types/babel__generator/package.json | 42 - node_modules/@types/babel__template/LICENSE | 21 - node_modules/@types/babel__template/README.md | 16 - .../@types/babel__template/index.d.ts | 100 - .../babel__template/node_modules/.bin/parser | 1 - .../@types/babel__template/package.json | 43 - node_modules/@types/babel__traverse/LICENSE | 21 - node_modules/@types/babel__traverse/README.md | 16 - .../@types/babel__traverse/index.d.ts | 1172 - .../@types/babel__traverse/package.json | 69 - .../@types/babel__traverse/ts4.1/index.d.ts | 1160 - node_modules/@types/graceful-fs/LICENSE | 21 - node_modules/@types/graceful-fs/README.md | 16 - node_modules/@types/graceful-fs/index.d.ts | 19 - node_modules/@types/graceful-fs/package.json | 31 - .../@types/istanbul-lib-coverage/LICENSE | 21 - .../@types/istanbul-lib-coverage/README.md | 16 - .../@types/istanbul-lib-coverage/index.d.ts | 117 - .../@types/istanbul-lib-coverage/package.json | 25 - .../@types/istanbul-lib-report/LICENSE | 21 - .../@types/istanbul-lib-report/README.md | 16 - .../@types/istanbul-lib-report/index.d.ts | 191 - .../@types/istanbul-lib-report/package.json | 31 - node_modules/@types/istanbul-reports/LICENSE | 21 - .../@types/istanbul-reports/README.md | 94 - .../@types/istanbul-reports/index.d.ts | 74 - .../@types/istanbul-reports/package.json | 32 - node_modules/@types/node/LICENSE | 21 - node_modules/@types/node/README.md | 16 - node_modules/@types/node/assert.d.ts | 912 - node_modules/@types/node/assert/strict.d.ts | 8 - node_modules/@types/node/async_hooks.d.ts | 501 - node_modules/@types/node/buffer.d.ts | 2232 - node_modules/@types/node/child_process.d.ts | 1366 - node_modules/@types/node/cluster.d.ts | 414 - node_modules/@types/node/console.d.ts | 412 - node_modules/@types/node/constants.d.ts | 18 - node_modules/@types/node/crypto.d.ts | 3307 -- node_modules/@types/node/dgram.d.ts | 545 - .../@types/node/diagnostics_channel.d.ts | 134 - node_modules/@types/node/dns.d.ts | 659 - node_modules/@types/node/dns/promises.d.ts | 370 - node_modules/@types/node/domain.d.ts | 169 - node_modules/@types/node/events.d.ts | 651 - node_modules/@types/node/fs.d.ts | 3835 -- node_modules/@types/node/fs/promises.d.ts | 1091 - node_modules/@types/node/globals.d.ts | 284 - node_modules/@types/node/globals.global.d.ts | 1 - node_modules/@types/node/http.d.ts | 1396 - node_modules/@types/node/http2.d.ts | 2100 - node_modules/@types/node/https.d.ts | 391 - node_modules/@types/node/index.d.ts | 129 - node_modules/@types/node/inspector.d.ts | 2744 -- node_modules/@types/node/module.d.ts | 114 - node_modules/@types/node/net.d.ts | 784 - node_modules/@types/node/os.d.ts | 455 - node_modules/@types/node/package.json | 220 - node_modules/@types/node/path.d.ts | 180 - node_modules/@types/node/perf_hooks.d.ts | 557 - node_modules/@types/node/process.d.ts | 1481 - node_modules/@types/node/punycode.d.ts | 117 - node_modules/@types/node/querystring.d.ts | 131 - node_modules/@types/node/readline.d.ts | 650 - node_modules/@types/node/repl.d.ts | 424 - node_modules/@types/node/stream.d.ts | 1249 - .../@types/node/stream/consumers.d.ts | 24 - node_modules/@types/node/stream/promises.d.ts | 42 - node_modules/@types/node/stream/web.d.ts | 329 - node_modules/@types/node/string_decoder.d.ts | 67 - node_modules/@types/node/timers.d.ts | 94 - node_modules/@types/node/timers/promises.d.ts | 68 - node_modules/@types/node/tls.d.ts | 1020 - node_modules/@types/node/trace_events.d.ts | 161 - node_modules/@types/node/tty.d.ts | 204 - node_modules/@types/node/url.d.ts | 887 - node_modules/@types/node/util.d.ts | 1594 - node_modules/@types/node/v8.d.ts | 378 - node_modules/@types/node/vm.d.ts | 507 - node_modules/@types/node/wasi.d.ts | 158 - node_modules/@types/node/worker_threads.d.ts | 649 - node_modules/@types/node/zlib.d.ts | 517 - node_modules/@types/prettier/LICENSE | 21 - node_modules/@types/prettier/README.md | 16 - node_modules/@types/prettier/doc.d.ts | 221 - node_modules/@types/prettier/index.d.ts | 770 - node_modules/@types/prettier/package.json | 60 - .../@types/prettier/parser-angular.d.ts | 11 - .../@types/prettier/parser-babel.d.ts | 16 - .../@types/prettier/parser-espree.d.ts | 8 - node_modules/@types/prettier/parser-flow.d.ts | 8 - .../@types/prettier/parser-glimmer.d.ts | 8 - .../@types/prettier/parser-graphql.d.ts | 8 - node_modules/@types/prettier/parser-html.d.ts | 11 - .../@types/prettier/parser-markdown.d.ts | 10 - .../@types/prettier/parser-meriyah.d.ts | 8 - .../@types/prettier/parser-postcss.d.ts | 10 - .../@types/prettier/parser-typescript.d.ts | 8 - node_modules/@types/prettier/parser-yaml.d.ts | 8 - node_modules/@types/prettier/standalone.d.ts | 27 - node_modules/@types/stack-utils/LICENSE | 21 - node_modules/@types/stack-utils/README.md | 85 - node_modules/@types/stack-utils/index.d.ts | 65 - node_modules/@types/stack-utils/package.json | 25 - node_modules/@types/yargs-parser/LICENSE | 21 - node_modules/@types/yargs-parser/README.md | 16 - node_modules/@types/yargs-parser/index.d.ts | 112 - node_modules/@types/yargs-parser/package.json | 25 - node_modules/@types/yargs/LICENSE | 21 - node_modules/@types/yargs/README.md | 16 - node_modules/@types/yargs/helpers.d.ts | 5 - node_modules/@types/yargs/index.d.ts | 844 - node_modules/@types/yargs/package.json | 62 - node_modules/@types/yargs/yargs.d.ts | 9 - node_modules/abab/CHANGELOG.md | 45 - node_modules/abab/LICENSE.md | 13 - node_modules/abab/README.md | 51 - node_modules/abab/index.d.ts | 2 - node_modules/abab/index.js | 9 - node_modules/abab/lib/atob.js | 97 - node_modules/abab/lib/btoa.js | 58 - node_modules/abab/package.json | 42 - node_modules/acorn-globals/LICENSE | 19 - node_modules/acorn-globals/README.md | 81 - node_modules/acorn-globals/index.js | 179 - .../acorn-globals/node_modules/.bin/acorn | 1 - .../node_modules/acorn/CHANGELOG.md | 620 - .../acorn-globals/node_modules/acorn/LICENSE | 21 - .../node_modules/acorn/README.md | 269 - .../node_modules/acorn/bin/acorn | 4 - .../node_modules/acorn/dist/acorn.d.ts | 209 - .../node_modules/acorn/dist/acorn.js | 5186 --- .../node_modules/acorn/dist/acorn.js.map | 1 - .../node_modules/acorn/dist/acorn.mjs | 5155 --- .../node_modules/acorn/dist/acorn.mjs.d.ts | 2 - .../node_modules/acorn/dist/acorn.mjs.map | 1 - .../node_modules/acorn/dist/bin.js | 64 - .../node_modules/acorn/package.json | 35 - node_modules/acorn-globals/package.json | 35 - node_modules/acorn-walk/CHANGELOG.md | 131 - node_modules/acorn-walk/LICENSE | 19 - node_modules/acorn-walk/README.md | 126 - node_modules/acorn-walk/dist/walk.d.ts | 112 - node_modules/acorn-walk/dist/walk.js | 463 - node_modules/acorn-walk/dist/walk.js.map | 1 - node_modules/acorn-walk/dist/walk.mjs | 443 - node_modules/acorn-walk/dist/walk.mjs.map | 1 - node_modules/acorn-walk/package.json | 34 - node_modules/acorn/CHANGELOG.md | 788 - node_modules/acorn/LICENSE | 21 - node_modules/acorn/README.md | 280 - node_modules/acorn/bin/acorn | 4 - node_modules/acorn/dist/acorn.d.ts | 214 - node_modules/acorn/dist/acorn.js | 5619 --- node_modules/acorn/dist/acorn.mjs | 5588 --- node_modules/acorn/dist/acorn.mjs.d.ts | 2 - node_modules/acorn/dist/bin.js | 91 - node_modules/acorn/package.json | 46 - node_modules/agent-base/README.md | 145 - node_modules/agent-base/dist/src/index.d.ts | 78 - node_modules/agent-base/dist/src/index.js | 203 - node_modules/agent-base/dist/src/index.js.map | 1 - .../agent-base/dist/src/promisify.d.ts | 4 - node_modules/agent-base/dist/src/promisify.js | 18 - .../agent-base/dist/src/promisify.js.map | 1 - node_modules/agent-base/package.json | 64 - node_modules/agent-base/src/index.ts | 345 - node_modules/agent-base/src/promisify.ts | 33 - node_modules/ansi-escapes/index.d.ts | 248 - node_modules/ansi-escapes/index.js | 157 - node_modules/ansi-escapes/license | 9 - node_modules/ansi-escapes/package.json | 57 - node_modules/ansi-escapes/readme.md | 245 - node_modules/ansi-regex/index.d.ts | 37 - node_modules/ansi-regex/index.js | 10 - node_modules/ansi-regex/license | 9 - node_modules/ansi-regex/package.json | 55 - node_modules/ansi-regex/readme.md | 78 - node_modules/ansi-styles/index.d.ts | 345 - node_modules/ansi-styles/index.js | 163 - node_modules/ansi-styles/license | 9 - node_modules/ansi-styles/package.json | 56 - node_modules/ansi-styles/readme.md | 152 - node_modules/anymatch/LICENSE | 15 - node_modules/anymatch/README.md | 87 - node_modules/anymatch/index.d.ts | 19 - node_modules/anymatch/index.js | 104 - node_modules/anymatch/package.json | 48 - node_modules/argparse/CHANGELOG.md | 216 - node_modules/argparse/LICENSE | 254 - node_modules/argparse/README.md | 84 - node_modules/argparse/argparse.js | 3707 -- node_modules/argparse/lib/sub.js | 67 - node_modules/argparse/lib/textwrap.js | 440 - node_modules/argparse/package.json | 31 - node_modules/asynckit/LICENSE | 21 - node_modules/asynckit/README.md | 233 - node_modules/asynckit/bench.js | 76 - node_modules/asynckit/index.js | 6 - node_modules/asynckit/lib/abort.js | 29 - node_modules/asynckit/lib/async.js | 34 - node_modules/asynckit/lib/defer.js | 26 - node_modules/asynckit/lib/iterate.js | 75 - .../asynckit/lib/readable_asynckit.js | 91 - .../asynckit/lib/readable_parallel.js | 25 - node_modules/asynckit/lib/readable_serial.js | 25 - .../asynckit/lib/readable_serial_ordered.js | 29 - node_modules/asynckit/lib/state.js | 37 - node_modules/asynckit/lib/streamify.js | 141 - node_modules/asynckit/lib/terminator.js | 29 - node_modules/asynckit/package.json | 63 - node_modules/asynckit/parallel.js | 43 - node_modules/asynckit/serial.js | 17 - node_modules/asynckit/serialOrdered.js | 75 - node_modules/asynckit/stream.js | 21 - node_modules/babel-jest/LICENSE | 21 - node_modules/babel-jest/README.md | 25 - node_modules/babel-jest/build/index.d.ts | 10 - node_modules/babel-jest/build/index.js | 386 - .../babel-jest/build/loadBabelConfig.d.ts | 7 - .../babel-jest/build/loadBabelConfig.js | 27 - node_modules/babel-jest/package.json | 45 - .../babel-plugin-istanbul/CHANGELOG.md | 320 - node_modules/babel-plugin-istanbul/LICENSE | 27 - node_modules/babel-plugin-istanbul/README.md | 135 - .../babel-plugin-istanbul/lib/index.js | 170 - .../lib/load-nyc-config-sync.js | 20 - .../babel-plugin-istanbul/package.json | 71 - node_modules/babel-plugin-jest-hoist/LICENSE | 21 - .../babel-plugin-jest-hoist/README.md | 33 - .../babel-plugin-jest-hoist/build/index.d.ts | 13 - .../babel-plugin-jest-hoist/build/index.js | 389 - .../babel-plugin-jest-hoist/package.json | 41 - .../babel-preset-current-node-syntax/LICENSE | 22 - .../README.md | 30 - .../package.json | 41 - .../scripts/check-yarn-bug.sh | 5 - .../src/index.js | 57 - node_modules/babel-preset-jest/LICENSE | 21 - node_modules/babel-preset-jest/README.md | 33 - node_modules/babel-preset-jest/index.js | 14 - node_modules/babel-preset-jest/package.json | 29 - .../balanced-match/.github/FUNDING.yml | 2 - node_modules/balanced-match/LICENSE.md | 21 - node_modules/balanced-match/README.md | 97 - node_modules/balanced-match/index.js | 62 - node_modules/balanced-match/package.json | 48 - node_modules/before-after-hook/LICENSE | 201 - node_modules/before-after-hook/README.md | 655 - node_modules/before-after-hook/index.d.ts | 186 - node_modules/before-after-hook/index.js | 57 - node_modules/before-after-hook/lib/add.js | 46 - .../before-after-hook/lib/register.js | 27 - node_modules/before-after-hook/lib/remove.js | 19 - node_modules/before-after-hook/package.json | 66 - node_modules/brace-expansion/LICENSE | 21 - node_modules/brace-expansion/README.md | 129 - node_modules/brace-expansion/index.js | 201 - node_modules/brace-expansion/package.json | 47 - node_modules/braces/CHANGELOG.md | 184 - node_modules/braces/LICENSE | 21 - node_modules/braces/README.md | 593 - node_modules/braces/index.js | 170 - node_modules/braces/lib/compile.js | 57 - node_modules/braces/lib/constants.js | 57 - node_modules/braces/lib/expand.js | 113 - node_modules/braces/lib/parse.js | 333 - node_modules/braces/lib/stringify.js | 32 - node_modules/braces/lib/utils.js | 112 - node_modules/braces/package.json | 77 - node_modules/browser-process-hrtime/LICENSE | 9 - node_modules/browser-process-hrtime/README.md | 27 - .../browser-process-hrtime/index.d.ts | 4 - node_modules/browser-process-hrtime/index.js | 28 - .../browser-process-hrtime/package.json | 15 - node_modules/browserslist/LICENSE | 20 - node_modules/browserslist/README.md | 66 - node_modules/browserslist/browser.js | 50 - node_modules/browserslist/cli.js | 152 - node_modules/browserslist/error.d.ts | 7 - node_modules/browserslist/error.js | 12 - node_modules/browserslist/index.d.ts | 176 - node_modules/browserslist/index.js | 1230 - node_modules/browserslist/node.js | 393 - node_modules/browserslist/package.json | 36 - node_modules/browserslist/update-db.js | 368 - node_modules/bser/README.md | 81 - node_modules/bser/index.js | 586 - node_modules/bser/package.json | 33 - node_modules/buffer-from/LICENSE | 21 - node_modules/buffer-from/index.js | 72 - node_modules/buffer-from/package.json | 19 - node_modules/buffer-from/readme.md | 69 - node_modules/callsites/index.d.ts | 96 - node_modules/callsites/index.js | 13 - node_modules/callsites/license | 9 - node_modules/callsites/package.json | 39 - node_modules/callsites/readme.md | 48 - node_modules/camelcase/index.d.ts | 103 - node_modules/camelcase/index.js | 113 - node_modules/camelcase/license | 9 - node_modules/camelcase/package.json | 44 - node_modules/camelcase/readme.md | 144 - node_modules/caniuse-lite/LICENSE | 395 - node_modules/caniuse-lite/README.md | 92 - node_modules/caniuse-lite/data/agents.js | 1 - .../caniuse-lite/data/browserVersions.js | 1 - node_modules/caniuse-lite/data/browsers.js | 1 - node_modules/caniuse-lite/data/features.js | 1 - .../caniuse-lite/data/features/aac.js | 1 - .../data/features/abortcontroller.js | 1 - .../caniuse-lite/data/features/ac3-ec3.js | 1 - .../data/features/accelerometer.js | 1 - .../data/features/addeventlistener.js | 1 - .../data/features/alternate-stylesheet.js | 1 - .../data/features/ambient-light.js | 1 - .../caniuse-lite/data/features/apng.js | 1 - .../data/features/array-find-index.js | 1 - .../caniuse-lite/data/features/array-find.js | 1 - .../caniuse-lite/data/features/array-flat.js | 1 - .../data/features/array-includes.js | 1 - .../data/features/arrow-functions.js | 1 - .../caniuse-lite/data/features/asmjs.js | 1 - .../data/features/async-clipboard.js | 1 - .../data/features/async-functions.js | 1 - .../caniuse-lite/data/features/atob-btoa.js | 1 - .../caniuse-lite/data/features/audio-api.js | 1 - .../caniuse-lite/data/features/audio.js | 1 - .../caniuse-lite/data/features/audiotracks.js | 1 - .../caniuse-lite/data/features/autofocus.js | 1 - .../caniuse-lite/data/features/auxclick.js | 1 - .../caniuse-lite/data/features/av1.js | 1 - .../caniuse-lite/data/features/avif.js | 1 - .../data/features/background-attachment.js | 1 - .../data/features/background-clip-text.js | 1 - .../data/features/background-img-opts.js | 1 - .../data/features/background-position-x-y.js | 1 - .../features/background-repeat-round-space.js | 1 - .../data/features/background-sync.js | 1 - .../data/features/battery-status.js | 1 - .../caniuse-lite/data/features/beacon.js | 1 - .../data/features/beforeafterprint.js | 1 - .../caniuse-lite/data/features/bigint.js | 1 - .../caniuse-lite/data/features/blobbuilder.js | 1 - .../caniuse-lite/data/features/bloburls.js | 1 - .../data/features/border-image.js | 1 - .../data/features/border-radius.js | 1 - .../data/features/broadcastchannel.js | 1 - .../caniuse-lite/data/features/brotli.js | 1 - .../caniuse-lite/data/features/calc.js | 1 - .../data/features/canvas-blending.js | 1 - .../caniuse-lite/data/features/canvas-text.js | 1 - .../caniuse-lite/data/features/canvas.js | 1 - .../caniuse-lite/data/features/ch-unit.js | 1 - .../data/features/chacha20-poly1305.js | 1 - .../data/features/channel-messaging.js | 1 - .../data/features/childnode-remove.js | 1 - .../caniuse-lite/data/features/classlist.js | 1 - .../client-hints-dpr-width-viewport.js | 1 - .../caniuse-lite/data/features/clipboard.js | 1 - .../caniuse-lite/data/features/colr-v1.js | 1 - .../caniuse-lite/data/features/colr.js | 1 - .../data/features/comparedocumentposition.js | 1 - .../data/features/console-basic.js | 1 - .../data/features/console-time.js | 1 - .../caniuse-lite/data/features/const.js | 1 - .../data/features/constraint-validation.js | 1 - .../data/features/contenteditable.js | 1 - .../data/features/contentsecuritypolicy.js | 1 - .../data/features/contentsecuritypolicy2.js | 1 - .../data/features/cookie-store-api.js | 1 - .../caniuse-lite/data/features/cors.js | 1 - .../data/features/createimagebitmap.js | 1 - .../data/features/credential-management.js | 1 - .../data/features/cryptography.js | 1 - .../caniuse-lite/data/features/css-all.js | 1 - .../data/features/css-animation.js | 1 - .../data/features/css-any-link.js | 1 - .../data/features/css-appearance.js | 1 - .../data/features/css-at-counter-style.js | 1 - .../data/features/css-autofill.js | 1 - .../data/features/css-backdrop-filter.js | 1 - .../data/features/css-background-offsets.js | 1 - .../data/features/css-backgroundblendmode.js | 1 - .../data/features/css-boxdecorationbreak.js | 1 - .../data/features/css-boxshadow.js | 1 - .../caniuse-lite/data/features/css-canvas.js | 1 - .../data/features/css-caret-color.js | 1 - .../data/features/css-cascade-layers.js | 1 - .../data/features/css-case-insensitive.js | 1 - .../data/features/css-clip-path.js | 1 - .../data/features/css-color-adjust.js | 1 - .../data/features/css-color-function.js | 1 - .../data/features/css-conic-gradients.js | 1 - .../data/features/css-container-queries.js | 1 - .../data/features/css-containment.js | 1 - .../data/features/css-content-visibility.js | 1 - .../data/features/css-counters.js | 1 - .../data/features/css-crisp-edges.js | 1 - .../data/features/css-cross-fade.js | 1 - .../data/features/css-default-pseudo.js | 1 - .../data/features/css-descendant-gtgt.js | 1 - .../data/features/css-deviceadaptation.js | 1 - .../data/features/css-dir-pseudo.js | 1 - .../data/features/css-display-contents.js | 1 - .../data/features/css-element-function.js | 1 - .../data/features/css-env-function.js | 1 - .../data/features/css-exclusions.js | 1 - .../data/features/css-featurequeries.js | 1 - .../data/features/css-file-selector-button.js | 1 - .../data/features/css-filter-function.js | 1 - .../caniuse-lite/data/features/css-filters.js | 1 - .../data/features/css-first-letter.js | 1 - .../data/features/css-first-line.js | 1 - .../caniuse-lite/data/features/css-fixed.js | 1 - .../data/features/css-focus-visible.js | 1 - .../data/features/css-focus-within.js | 1 - .../features/css-font-rendering-controls.js | 1 - .../data/features/css-font-stretch.js | 1 - .../data/features/css-gencontent.js | 1 - .../data/features/css-gradients.js | 1 - .../caniuse-lite/data/features/css-grid.js | 1 - .../data/features/css-hanging-punctuation.js | 1 - .../caniuse-lite/data/features/css-has.js | 1 - .../data/features/css-hyphenate.js | 1 - .../caniuse-lite/data/features/css-hyphens.js | 1 - .../data/features/css-image-orientation.js | 1 - .../data/features/css-image-set.js | 1 - .../data/features/css-in-out-of-range.js | 1 - .../data/features/css-indeterminate-pseudo.js | 1 - .../data/features/css-initial-letter.js | 1 - .../data/features/css-initial-value.js | 1 - .../caniuse-lite/data/features/css-lch-lab.js | 1 - .../data/features/css-letter-spacing.js | 1 - .../data/features/css-line-clamp.js | 1 - .../data/features/css-logical-props.js | 1 - .../data/features/css-marker-pseudo.js | 1 - .../caniuse-lite/data/features/css-masks.js | 1 - .../data/features/css-matches-pseudo.js | 1 - .../data/features/css-math-functions.js | 1 - .../data/features/css-media-interaction.js | 1 - .../data/features/css-media-resolution.js | 1 - .../data/features/css-media-scripting.js | 1 - .../data/features/css-mediaqueries.js | 1 - .../data/features/css-mixblendmode.js | 1 - .../data/features/css-motion-paths.js | 1 - .../data/features/css-namespaces.js | 1 - .../caniuse-lite/data/features/css-nesting.js | 1 - .../data/features/css-not-sel-list.js | 1 - .../data/features/css-nth-child-of.js | 1 - .../caniuse-lite/data/features/css-opacity.js | 1 - .../data/features/css-optional-pseudo.js | 1 - .../data/features/css-overflow-anchor.js | 1 - .../data/features/css-overflow-overlay.js | 1 - .../data/features/css-overflow.js | 1 - .../data/features/css-overscroll-behavior.js | 1 - .../data/features/css-page-break.js | 1 - .../data/features/css-paged-media.js | 1 - .../data/features/css-paint-api.js | 1 - .../data/features/css-placeholder-shown.js | 1 - .../data/features/css-placeholder.js | 1 - .../data/features/css-read-only-write.js | 1 - .../data/features/css-rebeccapurple.js | 1 - .../data/features/css-reflections.js | 1 - .../caniuse-lite/data/features/css-regions.js | 1 - .../data/features/css-repeating-gradients.js | 1 - .../caniuse-lite/data/features/css-resize.js | 1 - .../data/features/css-revert-value.js | 1 - .../data/features/css-rrggbbaa.js | 1 - .../data/features/css-scroll-behavior.js | 1 - .../data/features/css-scroll-timeline.js | 1 - .../data/features/css-scrollbar.js | 1 - .../caniuse-lite/data/features/css-sel2.js | 1 - .../caniuse-lite/data/features/css-sel3.js | 1 - .../data/features/css-selection.js | 1 - .../caniuse-lite/data/features/css-shapes.js | 1 - .../data/features/css-snappoints.js | 1 - .../caniuse-lite/data/features/css-sticky.js | 1 - .../caniuse-lite/data/features/css-subgrid.js | 1 - .../data/features/css-supports-api.js | 1 - .../caniuse-lite/data/features/css-table.js | 1 - .../data/features/css-text-align-last.js | 1 - .../data/features/css-text-indent.js | 1 - .../data/features/css-text-justify.js | 1 - .../data/features/css-text-orientation.js | 1 - .../data/features/css-text-spacing.js | 1 - .../data/features/css-textshadow.js | 1 - .../data/features/css-touch-action-2.js | 1 - .../data/features/css-touch-action.js | 1 - .../data/features/css-transitions.js | 1 - .../data/features/css-unicode-bidi.js | 1 - .../data/features/css-unset-value.js | 1 - .../data/features/css-variables.js | 1 - .../data/features/css-when-else.js | 1 - .../data/features/css-widows-orphans.js | 1 - .../data/features/css-width-stretch.js | 1 - .../data/features/css-writing-mode.js | 1 - .../caniuse-lite/data/features/css-zoom.js | 1 - .../caniuse-lite/data/features/css3-attr.js | 1 - .../data/features/css3-boxsizing.js | 1 - .../caniuse-lite/data/features/css3-colors.js | 1 - .../data/features/css3-cursors-grab.js | 1 - .../data/features/css3-cursors-newer.js | 1 - .../data/features/css3-cursors.js | 1 - .../data/features/css3-tabsize.js | 1 - .../data/features/currentcolor.js | 1 - .../data/features/custom-elements.js | 1 - .../data/features/custom-elementsv1.js | 1 - .../caniuse-lite/data/features/customevent.js | 1 - .../caniuse-lite/data/features/datalist.js | 1 - .../caniuse-lite/data/features/dataset.js | 1 - .../caniuse-lite/data/features/datauri.js | 1 - .../data/features/date-tolocaledatestring.js | 1 - .../caniuse-lite/data/features/decorators.js | 1 - .../caniuse-lite/data/features/details.js | 1 - .../data/features/deviceorientation.js | 1 - .../data/features/devicepixelratio.js | 1 - .../caniuse-lite/data/features/dialog.js | 1 - .../data/features/dispatchevent.js | 1 - .../caniuse-lite/data/features/dnssec.js | 1 - .../data/features/do-not-track.js | 1 - .../data/features/document-currentscript.js | 1 - .../data/features/document-evaluate-xpath.js | 1 - .../data/features/document-execcommand.js | 1 - .../data/features/document-policy.js | 1 - .../features/document-scrollingelement.js | 1 - .../data/features/documenthead.js | 1 - .../data/features/dom-manip-convenience.js | 1 - .../caniuse-lite/data/features/dom-range.js | 1 - .../data/features/domcontentloaded.js | 1 - .../features/domfocusin-domfocusout-events.js | 1 - .../caniuse-lite/data/features/dommatrix.js | 1 - .../caniuse-lite/data/features/download.js | 1 - .../caniuse-lite/data/features/dragndrop.js | 1 - .../data/features/element-closest.js | 1 - .../data/features/element-from-point.js | 1 - .../data/features/element-scroll-methods.js | 1 - .../caniuse-lite/data/features/eme.js | 1 - .../caniuse-lite/data/features/eot.js | 1 - .../caniuse-lite/data/features/es5.js | 1 - .../caniuse-lite/data/features/es6-class.js | 1 - .../data/features/es6-generators.js | 1 - .../features/es6-module-dynamic-import.js | 1 - .../caniuse-lite/data/features/es6-module.js | 1 - .../caniuse-lite/data/features/es6-number.js | 1 - .../data/features/es6-string-includes.js | 1 - .../caniuse-lite/data/features/es6.js | 1 - .../caniuse-lite/data/features/eventsource.js | 1 - .../data/features/extended-system-fonts.js | 1 - .../data/features/feature-policy.js | 1 - .../caniuse-lite/data/features/fetch.js | 1 - .../data/features/fieldset-disabled.js | 1 - .../caniuse-lite/data/features/fileapi.js | 1 - .../caniuse-lite/data/features/filereader.js | 1 - .../data/features/filereadersync.js | 1 - .../caniuse-lite/data/features/filesystem.js | 1 - .../caniuse-lite/data/features/flac.js | 1 - .../caniuse-lite/data/features/flexbox-gap.js | 1 - .../caniuse-lite/data/features/flexbox.js | 1 - .../caniuse-lite/data/features/flow-root.js | 1 - .../data/features/focusin-focusout-events.js | 1 - .../features/focusoptions-preventscroll.js | 1 - .../data/features/font-family-system-ui.js | 1 - .../data/features/font-feature.js | 1 - .../data/features/font-kerning.js | 1 - .../data/features/font-loading.js | 1 - .../data/features/font-metrics-overrides.js | 1 - .../data/features/font-size-adjust.js | 1 - .../caniuse-lite/data/features/font-smooth.js | 1 - .../data/features/font-unicode-range.js | 1 - .../data/features/font-variant-alternates.js | 1 - .../data/features/font-variant-east-asian.js | 1 - .../data/features/font-variant-numeric.js | 1 - .../caniuse-lite/data/features/fontface.js | 1 - .../data/features/form-attribute.js | 1 - .../data/features/form-submit-attributes.js | 1 - .../data/features/form-validation.js | 1 - .../caniuse-lite/data/features/forms.js | 1 - .../caniuse-lite/data/features/fullscreen.js | 1 - .../caniuse-lite/data/features/gamepad.js | 1 - .../caniuse-lite/data/features/geolocation.js | 1 - .../data/features/getboundingclientrect.js | 1 - .../data/features/getcomputedstyle.js | 1 - .../data/features/getelementsbyclassname.js | 1 - .../data/features/getrandomvalues.js | 1 - .../caniuse-lite/data/features/gyroscope.js | 1 - .../data/features/hardwareconcurrency.js | 1 - .../caniuse-lite/data/features/hashchange.js | 1 - .../caniuse-lite/data/features/heif.js | 1 - .../caniuse-lite/data/features/hevc.js | 1 - .../caniuse-lite/data/features/hidden.js | 1 - .../data/features/high-resolution-time.js | 1 - .../caniuse-lite/data/features/history.js | 1 - .../data/features/html-media-capture.js | 1 - .../data/features/html5semantic.js | 1 - .../data/features/http-live-streaming.js | 1 - .../caniuse-lite/data/features/http2.js | 1 - .../caniuse-lite/data/features/http3.js | 1 - .../data/features/iframe-sandbox.js | 1 - .../data/features/iframe-seamless.js | 1 - .../data/features/iframe-srcdoc.js | 1 - .../data/features/imagecapture.js | 1 - .../caniuse-lite/data/features/ime.js | 1 - .../img-naturalwidth-naturalheight.js | 1 - .../caniuse-lite/data/features/import-maps.js | 1 - .../caniuse-lite/data/features/imports.js | 1 - .../data/features/indeterminate-checkbox.js | 1 - .../caniuse-lite/data/features/indexeddb.js | 1 - .../caniuse-lite/data/features/indexeddb2.js | 1 - .../data/features/inline-block.js | 1 - .../caniuse-lite/data/features/innertext.js | 1 - .../data/features/input-autocomplete-onoff.js | 1 - .../caniuse-lite/data/features/input-color.js | 1 - .../data/features/input-datetime.js | 1 - .../data/features/input-email-tel-url.js | 1 - .../caniuse-lite/data/features/input-event.js | 1 - .../data/features/input-file-accept.js | 1 - .../data/features/input-file-directory.js | 1 - .../data/features/input-file-multiple.js | 1 - .../data/features/input-inputmode.js | 1 - .../data/features/input-minlength.js | 1 - .../data/features/input-number.js | 1 - .../data/features/input-pattern.js | 1 - .../data/features/input-placeholder.js | 1 - .../caniuse-lite/data/features/input-range.js | 1 - .../data/features/input-search.js | 1 - .../data/features/input-selection.js | 1 - .../data/features/insert-adjacent.js | 1 - .../data/features/insertadjacenthtml.js | 1 - .../data/features/internationalization.js | 1 - .../data/features/intersectionobserver-v2.js | 1 - .../data/features/intersectionobserver.js | 1 - .../data/features/intl-pluralrules.js | 1 - .../data/features/intrinsic-width.js | 1 - .../caniuse-lite/data/features/jpeg2000.js | 1 - .../caniuse-lite/data/features/jpegxl.js | 1 - .../caniuse-lite/data/features/jpegxr.js | 1 - .../data/features/js-regexp-lookbehind.js | 1 - .../caniuse-lite/data/features/json.js | 1 - .../features/justify-content-space-evenly.js | 1 - .../data/features/kerning-pairs-ligatures.js | 1 - .../data/features/keyboardevent-charcode.js | 1 - .../data/features/keyboardevent-code.js | 1 - .../keyboardevent-getmodifierstate.js | 1 - .../data/features/keyboardevent-key.js | 1 - .../data/features/keyboardevent-location.js | 1 - .../data/features/keyboardevent-which.js | 1 - .../caniuse-lite/data/features/lazyload.js | 1 - .../caniuse-lite/data/features/let.js | 1 - .../data/features/link-icon-png.js | 1 - .../data/features/link-icon-svg.js | 1 - .../data/features/link-rel-dns-prefetch.js | 1 - .../data/features/link-rel-modulepreload.js | 1 - .../data/features/link-rel-preconnect.js | 1 - .../data/features/link-rel-prefetch.js | 1 - .../data/features/link-rel-preload.js | 1 - .../data/features/link-rel-prerender.js | 1 - .../data/features/loading-lazy-attr.js | 1 - .../data/features/localecompare.js | 1 - .../data/features/magnetometer.js | 1 - .../data/features/matchesselector.js | 1 - .../caniuse-lite/data/features/matchmedia.js | 1 - .../caniuse-lite/data/features/mathml.js | 1 - .../caniuse-lite/data/features/maxlength.js | 1 - .../data/features/media-attribute.js | 1 - .../data/features/media-fragments.js | 1 - .../data/features/media-session-api.js | 1 - .../data/features/mediacapture-fromelement.js | 1 - .../data/features/mediarecorder.js | 1 - .../caniuse-lite/data/features/mediasource.js | 1 - .../caniuse-lite/data/features/menu.js | 1 - .../data/features/meta-theme-color.js | 1 - .../caniuse-lite/data/features/meter.js | 1 - .../caniuse-lite/data/features/midi.js | 1 - .../caniuse-lite/data/features/minmaxwh.js | 1 - .../caniuse-lite/data/features/mp3.js | 1 - .../caniuse-lite/data/features/mpeg-dash.js | 1 - .../caniuse-lite/data/features/mpeg4.js | 1 - .../data/features/multibackgrounds.js | 1 - .../caniuse-lite/data/features/multicolumn.js | 1 - .../data/features/mutation-events.js | 1 - .../data/features/mutationobserver.js | 1 - .../data/features/namevalue-storage.js | 1 - .../data/features/native-filesystem-api.js | 1 - .../caniuse-lite/data/features/nav-timing.js | 1 - .../data/features/navigator-language.js | 1 - .../caniuse-lite/data/features/netinfo.js | 1 - .../data/features/notifications.js | 1 - .../data/features/object-entries.js | 1 - .../caniuse-lite/data/features/object-fit.js | 1 - .../data/features/object-observe.js | 1 - .../data/features/object-values.js | 1 - .../caniuse-lite/data/features/objectrtc.js | 1 - .../data/features/offline-apps.js | 1 - .../data/features/offscreencanvas.js | 1 - .../caniuse-lite/data/features/ogg-vorbis.js | 1 - .../caniuse-lite/data/features/ogv.js | 1 - .../caniuse-lite/data/features/ol-reversed.js | 1 - .../data/features/once-event-listener.js | 1 - .../data/features/online-status.js | 1 - .../caniuse-lite/data/features/opus.js | 1 - .../data/features/orientation-sensor.js | 1 - .../caniuse-lite/data/features/outline.js | 1 - .../data/features/pad-start-end.js | 1 - .../data/features/page-transition-events.js | 1 - .../data/features/pagevisibility.js | 1 - .../data/features/passive-event-listener.js | 1 - .../data/features/passwordrules.js | 1 - .../caniuse-lite/data/features/path2d.js | 1 - .../data/features/payment-request.js | 1 - .../caniuse-lite/data/features/pdf-viewer.js | 1 - .../data/features/permissions-api.js | 1 - .../data/features/permissions-policy.js | 1 - .../data/features/picture-in-picture.js | 1 - .../caniuse-lite/data/features/picture.js | 1 - .../caniuse-lite/data/features/ping.js | 1 - .../caniuse-lite/data/features/png-alpha.js | 1 - .../data/features/pointer-events.js | 1 - .../caniuse-lite/data/features/pointer.js | 1 - .../caniuse-lite/data/features/pointerlock.js | 1 - .../caniuse-lite/data/features/portals.js | 1 - .../data/features/prefers-color-scheme.js | 1 - .../data/features/prefers-reduced-motion.js | 1 - .../data/features/private-class-fields.js | 1 - .../features/private-methods-and-accessors.js | 1 - .../caniuse-lite/data/features/progress.js | 1 - .../data/features/promise-finally.js | 1 - .../caniuse-lite/data/features/promises.js | 1 - .../caniuse-lite/data/features/proximity.js | 1 - .../caniuse-lite/data/features/proxy.js | 1 - .../data/features/public-class-fields.js | 1 - .../data/features/publickeypinning.js | 1 - .../caniuse-lite/data/features/push-api.js | 1 - .../data/features/queryselector.js | 1 - .../data/features/readonly-attr.js | 1 - .../data/features/referrer-policy.js | 1 - .../data/features/registerprotocolhandler.js | 1 - .../data/features/rel-noopener.js | 1 - .../data/features/rel-noreferrer.js | 1 - .../caniuse-lite/data/features/rellist.js | 1 - .../caniuse-lite/data/features/rem.js | 1 - .../data/features/requestanimationframe.js | 1 - .../data/features/requestidlecallback.js | 1 - .../data/features/resizeobserver.js | 1 - .../data/features/resource-timing.js | 1 - .../data/features/rest-parameters.js | 1 - .../data/features/rtcpeerconnection.js | 1 - .../caniuse-lite/data/features/ruby.js | 1 - .../caniuse-lite/data/features/run-in.js | 1 - .../features/same-site-cookie-attribute.js | 1 - .../data/features/screen-orientation.js | 1 - .../data/features/script-async.js | 1 - .../data/features/script-defer.js | 1 - .../data/features/scrollintoview.js | 1 - .../data/features/scrollintoviewifneeded.js | 1 - .../caniuse-lite/data/features/sdch.js | 1 - .../data/features/selection-api.js | 1 - .../data/features/server-timing.js | 1 - .../data/features/serviceworkers.js | 1 - .../data/features/setimmediate.js | 1 - .../caniuse-lite/data/features/sha-2.js | 1 - .../caniuse-lite/data/features/shadowdom.js | 1 - .../caniuse-lite/data/features/shadowdomv1.js | 1 - .../data/features/sharedarraybuffer.js | 1 - .../data/features/sharedworkers.js | 1 - .../caniuse-lite/data/features/sni.js | 1 - .../caniuse-lite/data/features/spdy.js | 1 - .../data/features/speech-recognition.js | 1 - .../data/features/speech-synthesis.js | 1 - .../data/features/spellcheck-attribute.js | 1 - .../caniuse-lite/data/features/sql-storage.js | 1 - .../caniuse-lite/data/features/srcset.js | 1 - .../caniuse-lite/data/features/stream.js | 1 - .../caniuse-lite/data/features/streams.js | 1 - .../data/features/stricttransportsecurity.js | 1 - .../data/features/style-scoped.js | 1 - .../data/features/subresource-integrity.js | 1 - .../caniuse-lite/data/features/svg-css.js | 1 - .../caniuse-lite/data/features/svg-filters.js | 1 - .../caniuse-lite/data/features/svg-fonts.js | 1 - .../data/features/svg-fragment.js | 1 - .../caniuse-lite/data/features/svg-html.js | 1 - .../caniuse-lite/data/features/svg-html5.js | 1 - .../caniuse-lite/data/features/svg-img.js | 1 - .../caniuse-lite/data/features/svg-smil.js | 1 - .../caniuse-lite/data/features/svg.js | 1 - .../caniuse-lite/data/features/sxg.js | 1 - .../data/features/tabindex-attr.js | 1 - .../data/features/template-literals.js | 1 - .../caniuse-lite/data/features/template.js | 1 - .../caniuse-lite/data/features/temporal.js | 1 - .../caniuse-lite/data/features/testfeat.js | 1 - .../data/features/text-decoration.js | 1 - .../data/features/text-emphasis.js | 1 - .../data/features/text-overflow.js | 1 - .../data/features/text-size-adjust.js | 1 - .../caniuse-lite/data/features/text-stroke.js | 1 - .../data/features/text-underline-offset.js | 1 - .../caniuse-lite/data/features/textcontent.js | 1 - .../caniuse-lite/data/features/textencoder.js | 1 - .../caniuse-lite/data/features/tls1-1.js | 1 - .../caniuse-lite/data/features/tls1-2.js | 1 - .../caniuse-lite/data/features/tls1-3.js | 1 - .../data/features/token-binding.js | 1 - .../caniuse-lite/data/features/touch.js | 1 - .../data/features/transforms2d.js | 1 - .../data/features/transforms3d.js | 1 - .../data/features/trusted-types.js | 1 - .../caniuse-lite/data/features/ttf.js | 1 - .../caniuse-lite/data/features/typedarrays.js | 1 - .../caniuse-lite/data/features/u2f.js | 1 - .../data/features/unhandledrejection.js | 1 - .../data/features/upgradeinsecurerequests.js | 1 - .../features/url-scroll-to-text-fragment.js | 1 - .../caniuse-lite/data/features/url.js | 1 - .../data/features/urlsearchparams.js | 1 - .../caniuse-lite/data/features/use-strict.js | 1 - .../data/features/user-select-none.js | 1 - .../caniuse-lite/data/features/user-timing.js | 1 - .../data/features/variable-fonts.js | 1 - .../data/features/vector-effect.js | 1 - .../caniuse-lite/data/features/vibration.js | 1 - .../caniuse-lite/data/features/video.js | 1 - .../caniuse-lite/data/features/videotracks.js | 1 - .../data/features/viewport-unit-variants.js | 1 - .../data/features/viewport-units.js | 1 - .../caniuse-lite/data/features/wai-aria.js | 1 - .../caniuse-lite/data/features/wake-lock.js | 1 - .../caniuse-lite/data/features/wasm.js | 1 - .../caniuse-lite/data/features/wav.js | 1 - .../caniuse-lite/data/features/wbr-element.js | 1 - .../data/features/web-animation.js | 1 - .../data/features/web-app-manifest.js | 1 - .../data/features/web-bluetooth.js | 1 - .../caniuse-lite/data/features/web-serial.js | 1 - .../caniuse-lite/data/features/web-share.js | 1 - .../caniuse-lite/data/features/webauthn.js | 1 - .../caniuse-lite/data/features/webgl.js | 1 - .../caniuse-lite/data/features/webgl2.js | 1 - .../caniuse-lite/data/features/webgpu.js | 1 - .../caniuse-lite/data/features/webhid.js | 1 - .../data/features/webkit-user-drag.js | 1 - .../caniuse-lite/data/features/webm.js | 1 - .../caniuse-lite/data/features/webnfc.js | 1 - .../caniuse-lite/data/features/webp.js | 1 - .../caniuse-lite/data/features/websockets.js | 1 - .../caniuse-lite/data/features/webusb.js | 1 - .../caniuse-lite/data/features/webvr.js | 1 - .../caniuse-lite/data/features/webvtt.js | 1 - .../caniuse-lite/data/features/webworkers.js | 1 - .../caniuse-lite/data/features/webxr.js | 1 - .../caniuse-lite/data/features/will-change.js | 1 - .../caniuse-lite/data/features/woff.js | 1 - .../caniuse-lite/data/features/woff2.js | 1 - .../caniuse-lite/data/features/word-break.js | 1 - .../caniuse-lite/data/features/wordwrap.js | 1 - .../data/features/x-doc-messaging.js | 1 - .../data/features/x-frame-options.js | 1 - .../caniuse-lite/data/features/xhr2.js | 1 - .../caniuse-lite/data/features/xhtml.js | 1 - .../caniuse-lite/data/features/xhtmlsmil.js | 1 - .../data/features/xml-serializer.js | 1 - node_modules/caniuse-lite/data/regions/AD.js | 1 - node_modules/caniuse-lite/data/regions/AE.js | 1 - node_modules/caniuse-lite/data/regions/AF.js | 1 - node_modules/caniuse-lite/data/regions/AG.js | 1 - node_modules/caniuse-lite/data/regions/AI.js | 1 - node_modules/caniuse-lite/data/regions/AL.js | 1 - node_modules/caniuse-lite/data/regions/AM.js | 1 - node_modules/caniuse-lite/data/regions/AO.js | 1 - node_modules/caniuse-lite/data/regions/AR.js | 1 - node_modules/caniuse-lite/data/regions/AS.js | 1 - node_modules/caniuse-lite/data/regions/AT.js | 1 - node_modules/caniuse-lite/data/regions/AU.js | 1 - node_modules/caniuse-lite/data/regions/AW.js | 1 - node_modules/caniuse-lite/data/regions/AX.js | 1 - node_modules/caniuse-lite/data/regions/AZ.js | 1 - node_modules/caniuse-lite/data/regions/BA.js | 1 - node_modules/caniuse-lite/data/regions/BB.js | 1 - node_modules/caniuse-lite/data/regions/BD.js | 1 - node_modules/caniuse-lite/data/regions/BE.js | 1 - node_modules/caniuse-lite/data/regions/BF.js | 1 - node_modules/caniuse-lite/data/regions/BG.js | 1 - node_modules/caniuse-lite/data/regions/BH.js | 1 - node_modules/caniuse-lite/data/regions/BI.js | 1 - node_modules/caniuse-lite/data/regions/BJ.js | 1 - node_modules/caniuse-lite/data/regions/BM.js | 1 - node_modules/caniuse-lite/data/regions/BN.js | 1 - node_modules/caniuse-lite/data/regions/BO.js | 1 - node_modules/caniuse-lite/data/regions/BR.js | 1 - node_modules/caniuse-lite/data/regions/BS.js | 1 - node_modules/caniuse-lite/data/regions/BT.js | 1 - node_modules/caniuse-lite/data/regions/BW.js | 1 - node_modules/caniuse-lite/data/regions/BY.js | 1 - node_modules/caniuse-lite/data/regions/BZ.js | 1 - node_modules/caniuse-lite/data/regions/CA.js | 1 - node_modules/caniuse-lite/data/regions/CD.js | 1 - node_modules/caniuse-lite/data/regions/CF.js | 1 - node_modules/caniuse-lite/data/regions/CG.js | 1 - node_modules/caniuse-lite/data/regions/CH.js | 1 - node_modules/caniuse-lite/data/regions/CI.js | 1 - node_modules/caniuse-lite/data/regions/CK.js | 1 - node_modules/caniuse-lite/data/regions/CL.js | 1 - node_modules/caniuse-lite/data/regions/CM.js | 1 - node_modules/caniuse-lite/data/regions/CN.js | 1 - node_modules/caniuse-lite/data/regions/CO.js | 1 - node_modules/caniuse-lite/data/regions/CR.js | 1 - node_modules/caniuse-lite/data/regions/CU.js | 1 - node_modules/caniuse-lite/data/regions/CV.js | 1 - node_modules/caniuse-lite/data/regions/CX.js | 1 - node_modules/caniuse-lite/data/regions/CY.js | 1 - node_modules/caniuse-lite/data/regions/CZ.js | 1 - node_modules/caniuse-lite/data/regions/DE.js | 1 - node_modules/caniuse-lite/data/regions/DJ.js | 1 - node_modules/caniuse-lite/data/regions/DK.js | 1 - node_modules/caniuse-lite/data/regions/DM.js | 1 - node_modules/caniuse-lite/data/regions/DO.js | 1 - node_modules/caniuse-lite/data/regions/DZ.js | 1 - node_modules/caniuse-lite/data/regions/EC.js | 1 - node_modules/caniuse-lite/data/regions/EE.js | 1 - node_modules/caniuse-lite/data/regions/EG.js | 1 - node_modules/caniuse-lite/data/regions/ER.js | 1 - node_modules/caniuse-lite/data/regions/ES.js | 1 - node_modules/caniuse-lite/data/regions/ET.js | 1 - node_modules/caniuse-lite/data/regions/FI.js | 1 - node_modules/caniuse-lite/data/regions/FJ.js | 1 - node_modules/caniuse-lite/data/regions/FK.js | 1 - node_modules/caniuse-lite/data/regions/FM.js | 1 - node_modules/caniuse-lite/data/regions/FO.js | 1 - node_modules/caniuse-lite/data/regions/FR.js | 1 - node_modules/caniuse-lite/data/regions/GA.js | 1 - node_modules/caniuse-lite/data/regions/GB.js | 1 - node_modules/caniuse-lite/data/regions/GD.js | 1 - node_modules/caniuse-lite/data/regions/GE.js | 1 - node_modules/caniuse-lite/data/regions/GF.js | 1 - node_modules/caniuse-lite/data/regions/GG.js | 1 - node_modules/caniuse-lite/data/regions/GH.js | 1 - node_modules/caniuse-lite/data/regions/GI.js | 1 - node_modules/caniuse-lite/data/regions/GL.js | 1 - node_modules/caniuse-lite/data/regions/GM.js | 1 - node_modules/caniuse-lite/data/regions/GN.js | 1 - node_modules/caniuse-lite/data/regions/GP.js | 1 - node_modules/caniuse-lite/data/regions/GQ.js | 1 - node_modules/caniuse-lite/data/regions/GR.js | 1 - node_modules/caniuse-lite/data/regions/GT.js | 1 - node_modules/caniuse-lite/data/regions/GU.js | 1 - node_modules/caniuse-lite/data/regions/GW.js | 1 - node_modules/caniuse-lite/data/regions/GY.js | 1 - node_modules/caniuse-lite/data/regions/HK.js | 1 - node_modules/caniuse-lite/data/regions/HN.js | 1 - node_modules/caniuse-lite/data/regions/HR.js | 1 - node_modules/caniuse-lite/data/regions/HT.js | 1 - node_modules/caniuse-lite/data/regions/HU.js | 1 - node_modules/caniuse-lite/data/regions/ID.js | 1 - node_modules/caniuse-lite/data/regions/IE.js | 1 - node_modules/caniuse-lite/data/regions/IL.js | 1 - node_modules/caniuse-lite/data/regions/IM.js | 1 - node_modules/caniuse-lite/data/regions/IN.js | 1 - node_modules/caniuse-lite/data/regions/IQ.js | 1 - node_modules/caniuse-lite/data/regions/IR.js | 1 - node_modules/caniuse-lite/data/regions/IS.js | 1 - node_modules/caniuse-lite/data/regions/IT.js | 1 - node_modules/caniuse-lite/data/regions/JE.js | 1 - node_modules/caniuse-lite/data/regions/JM.js | 1 - node_modules/caniuse-lite/data/regions/JO.js | 1 - node_modules/caniuse-lite/data/regions/JP.js | 1 - node_modules/caniuse-lite/data/regions/KE.js | 1 - node_modules/caniuse-lite/data/regions/KG.js | 1 - node_modules/caniuse-lite/data/regions/KH.js | 1 - node_modules/caniuse-lite/data/regions/KI.js | 1 - node_modules/caniuse-lite/data/regions/KM.js | 1 - node_modules/caniuse-lite/data/regions/KN.js | 1 - node_modules/caniuse-lite/data/regions/KP.js | 1 - node_modules/caniuse-lite/data/regions/KR.js | 1 - node_modules/caniuse-lite/data/regions/KW.js | 1 - node_modules/caniuse-lite/data/regions/KY.js | 1 - node_modules/caniuse-lite/data/regions/KZ.js | 1 - node_modules/caniuse-lite/data/regions/LA.js | 1 - node_modules/caniuse-lite/data/regions/LB.js | 1 - node_modules/caniuse-lite/data/regions/LC.js | 1 - node_modules/caniuse-lite/data/regions/LI.js | 1 - node_modules/caniuse-lite/data/regions/LK.js | 1 - node_modules/caniuse-lite/data/regions/LR.js | 1 - node_modules/caniuse-lite/data/regions/LS.js | 1 - node_modules/caniuse-lite/data/regions/LT.js | 1 - node_modules/caniuse-lite/data/regions/LU.js | 1 - node_modules/caniuse-lite/data/regions/LV.js | 1 - node_modules/caniuse-lite/data/regions/LY.js | 1 - node_modules/caniuse-lite/data/regions/MA.js | 1 - node_modules/caniuse-lite/data/regions/MC.js | 1 - node_modules/caniuse-lite/data/regions/MD.js | 1 - node_modules/caniuse-lite/data/regions/ME.js | 1 - node_modules/caniuse-lite/data/regions/MG.js | 1 - node_modules/caniuse-lite/data/regions/MH.js | 1 - node_modules/caniuse-lite/data/regions/MK.js | 1 - node_modules/caniuse-lite/data/regions/ML.js | 1 - node_modules/caniuse-lite/data/regions/MM.js | 1 - node_modules/caniuse-lite/data/regions/MN.js | 1 - node_modules/caniuse-lite/data/regions/MO.js | 1 - node_modules/caniuse-lite/data/regions/MP.js | 1 - node_modules/caniuse-lite/data/regions/MQ.js | 1 - node_modules/caniuse-lite/data/regions/MR.js | 1 - node_modules/caniuse-lite/data/regions/MS.js | 1 - node_modules/caniuse-lite/data/regions/MT.js | 1 - node_modules/caniuse-lite/data/regions/MU.js | 1 - node_modules/caniuse-lite/data/regions/MV.js | 1 - node_modules/caniuse-lite/data/regions/MW.js | 1 - node_modules/caniuse-lite/data/regions/MX.js | 1 - node_modules/caniuse-lite/data/regions/MY.js | 1 - node_modules/caniuse-lite/data/regions/MZ.js | 1 - node_modules/caniuse-lite/data/regions/NA.js | 1 - node_modules/caniuse-lite/data/regions/NC.js | 1 - node_modules/caniuse-lite/data/regions/NE.js | 1 - node_modules/caniuse-lite/data/regions/NF.js | 1 - node_modules/caniuse-lite/data/regions/NG.js | 1 - node_modules/caniuse-lite/data/regions/NI.js | 1 - node_modules/caniuse-lite/data/regions/NL.js | 1 - node_modules/caniuse-lite/data/regions/NO.js | 1 - node_modules/caniuse-lite/data/regions/NP.js | 1 - node_modules/caniuse-lite/data/regions/NR.js | 1 - node_modules/caniuse-lite/data/regions/NU.js | 1 - node_modules/caniuse-lite/data/regions/NZ.js | 1 - node_modules/caniuse-lite/data/regions/OM.js | 1 - node_modules/caniuse-lite/data/regions/PA.js | 1 - node_modules/caniuse-lite/data/regions/PE.js | 1 - node_modules/caniuse-lite/data/regions/PF.js | 1 - node_modules/caniuse-lite/data/regions/PG.js | 1 - node_modules/caniuse-lite/data/regions/PH.js | 1 - node_modules/caniuse-lite/data/regions/PK.js | 1 - node_modules/caniuse-lite/data/regions/PL.js | 1 - node_modules/caniuse-lite/data/regions/PM.js | 1 - node_modules/caniuse-lite/data/regions/PN.js | 1 - node_modules/caniuse-lite/data/regions/PR.js | 1 - node_modules/caniuse-lite/data/regions/PS.js | 1 - node_modules/caniuse-lite/data/regions/PT.js | 1 - node_modules/caniuse-lite/data/regions/PW.js | 1 - node_modules/caniuse-lite/data/regions/PY.js | 1 - node_modules/caniuse-lite/data/regions/QA.js | 1 - node_modules/caniuse-lite/data/regions/RE.js | 1 - node_modules/caniuse-lite/data/regions/RO.js | 1 - node_modules/caniuse-lite/data/regions/RS.js | 1 - node_modules/caniuse-lite/data/regions/RU.js | 1 - node_modules/caniuse-lite/data/regions/RW.js | 1 - node_modules/caniuse-lite/data/regions/SA.js | 1 - node_modules/caniuse-lite/data/regions/SB.js | 1 - node_modules/caniuse-lite/data/regions/SC.js | 1 - node_modules/caniuse-lite/data/regions/SD.js | 1 - node_modules/caniuse-lite/data/regions/SE.js | 1 - node_modules/caniuse-lite/data/regions/SG.js | 1 - node_modules/caniuse-lite/data/regions/SH.js | 1 - node_modules/caniuse-lite/data/regions/SI.js | 1 - node_modules/caniuse-lite/data/regions/SK.js | 1 - node_modules/caniuse-lite/data/regions/SL.js | 1 - node_modules/caniuse-lite/data/regions/SM.js | 1 - node_modules/caniuse-lite/data/regions/SN.js | 1 - node_modules/caniuse-lite/data/regions/SO.js | 1 - node_modules/caniuse-lite/data/regions/SR.js | 1 - node_modules/caniuse-lite/data/regions/ST.js | 1 - node_modules/caniuse-lite/data/regions/SV.js | 1 - node_modules/caniuse-lite/data/regions/SY.js | 1 - node_modules/caniuse-lite/data/regions/SZ.js | 1 - node_modules/caniuse-lite/data/regions/TC.js | 1 - node_modules/caniuse-lite/data/regions/TD.js | 1 - node_modules/caniuse-lite/data/regions/TG.js | 1 - node_modules/caniuse-lite/data/regions/TH.js | 1 - node_modules/caniuse-lite/data/regions/TJ.js | 1 - node_modules/caniuse-lite/data/regions/TK.js | 1 - node_modules/caniuse-lite/data/regions/TL.js | 1 - node_modules/caniuse-lite/data/regions/TM.js | 1 - node_modules/caniuse-lite/data/regions/TN.js | 1 - node_modules/caniuse-lite/data/regions/TO.js | 1 - node_modules/caniuse-lite/data/regions/TR.js | 1 - node_modules/caniuse-lite/data/regions/TT.js | 1 - node_modules/caniuse-lite/data/regions/TV.js | 1 - node_modules/caniuse-lite/data/regions/TW.js | 1 - node_modules/caniuse-lite/data/regions/TZ.js | 1 - node_modules/caniuse-lite/data/regions/UA.js | 1 - node_modules/caniuse-lite/data/regions/UG.js | 1 - node_modules/caniuse-lite/data/regions/US.js | 1 - node_modules/caniuse-lite/data/regions/UY.js | 1 - node_modules/caniuse-lite/data/regions/UZ.js | 1 - node_modules/caniuse-lite/data/regions/VA.js | 1 - node_modules/caniuse-lite/data/regions/VC.js | 1 - node_modules/caniuse-lite/data/regions/VE.js | 1 - node_modules/caniuse-lite/data/regions/VG.js | 1 - node_modules/caniuse-lite/data/regions/VI.js | 1 - node_modules/caniuse-lite/data/regions/VN.js | 1 - node_modules/caniuse-lite/data/regions/VU.js | 1 - node_modules/caniuse-lite/data/regions/WF.js | 1 - node_modules/caniuse-lite/data/regions/WS.js | 1 - node_modules/caniuse-lite/data/regions/YE.js | 1 - node_modules/caniuse-lite/data/regions/YT.js | 1 - node_modules/caniuse-lite/data/regions/ZA.js | 1 - node_modules/caniuse-lite/data/regions/ZM.js | 1 - node_modules/caniuse-lite/data/regions/ZW.js | 1 - .../caniuse-lite/data/regions/alt-af.js | 1 - .../caniuse-lite/data/regions/alt-an.js | 1 - .../caniuse-lite/data/regions/alt-as.js | 1 - .../caniuse-lite/data/regions/alt-eu.js | 1 - .../caniuse-lite/data/regions/alt-na.js | 1 - .../caniuse-lite/data/regions/alt-oc.js | 1 - .../caniuse-lite/data/regions/alt-sa.js | 1 - .../caniuse-lite/data/regions/alt-ww.js | 1 - .../caniuse-lite/dist/lib/statuses.js | 9 - .../caniuse-lite/dist/lib/supported.js | 9 - .../caniuse-lite/dist/unpacker/agents.js | 47 - .../dist/unpacker/browserVersions.js | 1 - .../caniuse-lite/dist/unpacker/browsers.js | 1 - .../caniuse-lite/dist/unpacker/feature.js | 48 - .../caniuse-lite/dist/unpacker/features.js | 6 - .../caniuse-lite/dist/unpacker/index.js | 4 - .../caniuse-lite/dist/unpacker/region.js | 22 - node_modules/caniuse-lite/package.json | 28 - node_modules/chalk/index.d.ts | 415 - node_modules/chalk/license | 9 - node_modules/chalk/package.json | 68 - node_modules/chalk/readme.md | 341 - node_modules/chalk/source/index.js | 229 - node_modules/chalk/source/templates.js | 134 - node_modules/chalk/source/util.js | 39 - node_modules/char-regex/LICENSE | 21 - node_modules/char-regex/README.md | 27 - node_modules/char-regex/index.d.ts | 13 - node_modules/char-regex/index.js | 39 - node_modules/char-regex/package.json | 44 - node_modules/ci-info/CHANGELOG.md | 122 - node_modules/ci-info/LICENSE | 21 - node_modules/ci-info/README.md | 118 - node_modules/ci-info/index.d.ts | 62 - node_modules/ci-info/index.js | 66 - node_modules/ci-info/package.json | 36 - node_modules/ci-info/vendors.json | 210 - node_modules/cjs-module-lexer/CHANGELOG.md | 40 - node_modules/cjs-module-lexer/LICENSE | 10 - node_modules/cjs-module-lexer/README.md | 453 - node_modules/cjs-module-lexer/dist/lexer.js | 1 - node_modules/cjs-module-lexer/dist/lexer.mjs | 2 - node_modules/cjs-module-lexer/lexer.d.ts | 7 - node_modules/cjs-module-lexer/lexer.js | 1438 - node_modules/cjs-module-lexer/package.json | 43 - node_modules/cliui/CHANGELOG.md | 121 - node_modules/cliui/LICENSE.txt | 14 - node_modules/cliui/README.md | 141 - node_modules/cliui/build/index.cjs | 302 - node_modules/cliui/build/lib/index.js | 287 - node_modules/cliui/build/lib/string-utils.js | 27 - node_modules/cliui/index.mjs | 13 - node_modules/cliui/package.json | 83 - node_modules/co/History.md | 172 - node_modules/co/LICENSE | 22 - node_modules/co/Readme.md | 212 - node_modules/co/index.js | 237 - node_modules/co/package.json | 34 - node_modules/collect-v8-coverage/CHANGELOG.md | 11 - node_modules/collect-v8-coverage/LICENSE | 22 - node_modules/collect-v8-coverage/README.md | 15 - node_modules/collect-v8-coverage/index.d.ts | 7 - node_modules/collect-v8-coverage/index.js | 37 - node_modules/collect-v8-coverage/package.json | 54 - node_modules/color-convert/CHANGELOG.md | 54 - node_modules/color-convert/LICENSE | 21 - node_modules/color-convert/README.md | 68 - node_modules/color-convert/conversions.js | 839 - node_modules/color-convert/index.js | 81 - node_modules/color-convert/package.json | 48 - node_modules/color-convert/route.js | 97 - node_modules/color-name/LICENSE | 8 - node_modules/color-name/README.md | 11 - node_modules/color-name/index.js | 152 - node_modules/color-name/package.json | 28 - node_modules/combined-stream/License | 19 - node_modules/combined-stream/Readme.md | 138 - .../combined-stream/lib/combined_stream.js | 208 - node_modules/combined-stream/package.json | 25 - node_modules/combined-stream/yarn.lock | 17 - node_modules/concat-map/.travis.yml | 4 - node_modules/concat-map/LICENSE | 18 - node_modules/concat-map/README.markdown | 62 - node_modules/concat-map/example/map.js | 6 - node_modules/concat-map/index.js | 13 - node_modules/concat-map/package.json | 43 - node_modules/concat-map/test/map.js | 39 - node_modules/convert-source-map/LICENSE | 23 - node_modules/convert-source-map/README.md | 120 - node_modules/convert-source-map/index.js | 136 - node_modules/convert-source-map/package.json | 44 - node_modules/cross-spawn/CHANGELOG.md | 130 - node_modules/cross-spawn/LICENSE | 21 - node_modules/cross-spawn/README.md | 96 - node_modules/cross-spawn/index.js | 39 - node_modules/cross-spawn/lib/enoent.js | 59 - node_modules/cross-spawn/lib/parse.js | 91 - node_modules/cross-spawn/lib/util/escape.js | 45 - .../cross-spawn/lib/util/readShebang.js | 23 - .../cross-spawn/lib/util/resolveCommand.js | 52 - .../cross-spawn/node_modules/.bin/node-which | 1 - node_modules/cross-spawn/package.json | 73 - node_modules/cssom/LICENSE.txt | 20 - node_modules/cssom/README.mdown | 67 - node_modules/cssom/lib/CSSDocumentRule.js | 39 - node_modules/cssom/lib/CSSFontFaceRule.js | 36 - node_modules/cssom/lib/CSSHostRule.js | 37 - node_modules/cssom/lib/CSSImportRule.js | 132 - node_modules/cssom/lib/CSSKeyframeRule.js | 37 - node_modules/cssom/lib/CSSKeyframesRule.js | 39 - node_modules/cssom/lib/CSSMediaRule.js | 41 - node_modules/cssom/lib/CSSOM.js | 3 - node_modules/cssom/lib/CSSRule.js | 43 - node_modules/cssom/lib/CSSStyleDeclaration.js | 148 - node_modules/cssom/lib/CSSStyleRule.js | 190 - node_modules/cssom/lib/CSSStyleSheet.js | 88 - node_modules/cssom/lib/CSSSupportsRule.js | 36 - node_modules/cssom/lib/CSSValue.js | 43 - node_modules/cssom/lib/CSSValueExpression.js | 344 - node_modules/cssom/lib/MatcherList.js | 62 - node_modules/cssom/lib/MediaList.js | 61 - node_modules/cssom/lib/StyleSheet.js | 17 - node_modules/cssom/lib/clone.js | 71 - node_modules/cssom/lib/index.js | 21 - node_modules/cssom/lib/parse.js | 463 - node_modules/cssom/package.json | 18 - node_modules/cssstyle/LICENSE | 20 - node_modules/cssstyle/README.md | 15 - .../cssstyle/lib/CSSStyleDeclaration.js | 260 - .../cssstyle/lib/CSSStyleDeclaration.test.js | 556 - .../cssstyle/lib/allExtraProperties.js | 67 - node_modules/cssstyle/lib/allProperties.js | 462 - .../cssstyle/lib/allWebkitProperties.js | 194 - node_modules/cssstyle/lib/constants.js | 6 - .../cssstyle/lib/implementedProperties.js | 90 - node_modules/cssstyle/lib/named_colors.json | 152 - node_modules/cssstyle/lib/parsers.js | 722 - node_modules/cssstyle/lib/parsers.test.js | 139 - node_modules/cssstyle/lib/properties.js | 1833 - .../cssstyle/lib/properties/azimuth.js | 67 - .../cssstyle/lib/properties/background.js | 19 - .../lib/properties/backgroundAttachment.js | 24 - .../lib/properties/backgroundColor.js | 36 - .../lib/properties/backgroundImage.js | 32 - .../lib/properties/backgroundPosition.js | 58 - .../lib/properties/backgroundRepeat.js | 32 - .../cssstyle/lib/properties/border.js | 33 - .../cssstyle/lib/properties/borderBottom.js | 17 - .../lib/properties/borderBottomColor.js | 16 - .../lib/properties/borderBottomStyle.js | 21 - .../lib/properties/borderBottomWidth.js | 16 - .../cssstyle/lib/properties/borderCollapse.js | 26 - .../cssstyle/lib/properties/borderColor.js | 30 - .../cssstyle/lib/properties/borderLeft.js | 17 - .../lib/properties/borderLeftColor.js | 16 - .../lib/properties/borderLeftStyle.js | 21 - .../lib/properties/borderLeftWidth.js | 16 - .../cssstyle/lib/properties/borderRight.js | 17 - .../lib/properties/borderRightColor.js | 16 - .../lib/properties/borderRightStyle.js | 21 - .../lib/properties/borderRightWidth.js | 16 - .../cssstyle/lib/properties/borderSpacing.js | 41 - .../cssstyle/lib/properties/borderStyle.js | 38 - .../cssstyle/lib/properties/borderTop.js | 17 - .../cssstyle/lib/properties/borderTopColor.js | 16 - .../cssstyle/lib/properties/borderTopStyle.js | 21 - .../cssstyle/lib/properties/borderTopWidth.js | 17 - .../cssstyle/lib/properties/borderWidth.js | 46 - .../cssstyle/lib/properties/bottom.js | 14 - node_modules/cssstyle/lib/properties/clear.js | 16 - node_modules/cssstyle/lib/properties/clip.js | 47 - node_modules/cssstyle/lib/properties/color.js | 14 - .../cssstyle/lib/properties/cssFloat.js | 12 - node_modules/cssstyle/lib/properties/flex.js | 45 - .../cssstyle/lib/properties/flexBasis.js | 28 - .../cssstyle/lib/properties/flexGrow.js | 19 - .../cssstyle/lib/properties/flexShrink.js | 19 - node_modules/cssstyle/lib/properties/float.js | 12 - .../cssstyle/lib/properties/floodColor.js | 14 - node_modules/cssstyle/lib/properties/font.js | 43 - .../cssstyle/lib/properties/fontFamily.js | 33 - .../cssstyle/lib/properties/fontSize.js | 38 - .../cssstyle/lib/properties/fontStyle.js | 18 - .../cssstyle/lib/properties/fontVariant.js | 18 - .../cssstyle/lib/properties/fontWeight.js | 33 - .../cssstyle/lib/properties/height.js | 24 - node_modules/cssstyle/lib/properties/left.js | 14 - .../cssstyle/lib/properties/lightingColor.js | 14 - .../cssstyle/lib/properties/lineHeight.js | 26 - .../cssstyle/lib/properties/margin.js | 68 - .../cssstyle/lib/properties/marginBottom.js | 13 - .../cssstyle/lib/properties/marginLeft.js | 13 - .../cssstyle/lib/properties/marginRight.js | 13 - .../cssstyle/lib/properties/marginTop.js | 13 - .../cssstyle/lib/properties/opacity.js | 14 - .../cssstyle/lib/properties/outlineColor.js | 14 - .../cssstyle/lib/properties/padding.js | 61 - .../cssstyle/lib/properties/paddingBottom.js | 13 - .../cssstyle/lib/properties/paddingLeft.js | 13 - .../cssstyle/lib/properties/paddingRight.js | 13 - .../cssstyle/lib/properties/paddingTop.js | 13 - node_modules/cssstyle/lib/properties/right.js | 14 - .../cssstyle/lib/properties/stopColor.js | 14 - .../lib/properties/textLineThroughColor.js | 14 - .../lib/properties/textOverlineColor.js | 14 - .../lib/properties/textUnderlineColor.js | 14 - node_modules/cssstyle/lib/properties/top.js | 14 - .../lib/properties/webkitBorderAfterColor.js | 14 - .../lib/properties/webkitBorderBeforeColor.js | 14 - .../lib/properties/webkitBorderEndColor.js | 14 - .../lib/properties/webkitBorderStartColor.js | 14 - .../lib/properties/webkitColumnRuleColor.js | 14 - .../webkitMatchNearestMailBlockquoteColor.js | 14 - .../lib/properties/webkitTapHighlightColor.js | 14 - .../lib/properties/webkitTextEmphasisColor.js | 14 - .../lib/properties/webkitTextFillColor.js | 14 - .../lib/properties/webkitTextStrokeColor.js | 14 - node_modules/cssstyle/lib/properties/width.js | 24 - node_modules/cssstyle/lib/utils/colorSpace.js | 21 - .../lib/utils/getBasicPropertyDescriptor.js | 14 - .../cssstyle/node_modules/cssom/LICENSE.txt | 20 - .../cssstyle/node_modules/cssom/README.mdown | 67 - .../node_modules/cssom/lib/CSSDocumentRule.js | 39 - .../node_modules/cssom/lib/CSSFontFaceRule.js | 36 - .../node_modules/cssom/lib/CSSHostRule.js | 37 - .../node_modules/cssom/lib/CSSImportRule.js | 132 - .../node_modules/cssom/lib/CSSKeyframeRule.js | 37 - .../cssom/lib/CSSKeyframesRule.js | 39 - .../node_modules/cssom/lib/CSSMediaRule.js | 41 - .../cssstyle/node_modules/cssom/lib/CSSOM.js | 3 - .../node_modules/cssom/lib/CSSRule.js | 43 - .../cssom/lib/CSSStyleDeclaration.js | 148 - .../node_modules/cssom/lib/CSSStyleRule.js | 190 - .../node_modules/cssom/lib/CSSStyleSheet.js | 88 - .../node_modules/cssom/lib/CSSSupportsRule.js | 36 - .../node_modules/cssom/lib/CSSValue.js | 43 - .../cssom/lib/CSSValueExpression.js | 344 - .../node_modules/cssom/lib/MatcherList.js | 62 - .../node_modules/cssom/lib/MediaList.js | 61 - .../node_modules/cssom/lib/StyleSheet.js | 17 - .../cssstyle/node_modules/cssom/lib/clone.js | 82 - .../cssstyle/node_modules/cssom/lib/index.js | 21 - .../cssstyle/node_modules/cssom/lib/parse.js | 464 - .../cssstyle/node_modules/cssom/package.json | 18 - node_modules/cssstyle/package.json | 72 - node_modules/data-urls/LICENSE.txt | 7 - node_modules/data-urls/README.md | 64 - node_modules/data-urls/lib/parser.js | 74 - node_modules/data-urls/lib/utils.js | 23 - node_modules/data-urls/package.json | 53 - node_modules/debug/LICENSE | 20 - node_modules/debug/README.md | 478 - node_modules/debug/package.json | 59 - node_modules/debug/src/browser.js | 269 - node_modules/debug/src/common.js | 274 - node_modules/debug/src/index.js | 10 - node_modules/debug/src/node.js | 263 - node_modules/decimal.js/CHANGELOG.md | 231 - node_modules/decimal.js/LICENCE.md | 23 - node_modules/decimal.js/README.md | 246 - node_modules/decimal.js/decimal.d.ts | 300 - node_modules/decimal.js/decimal.js | 4934 --- node_modules/decimal.js/decimal.mjs | 4898 --- node_modules/decimal.js/package.json | 40 - node_modules/dedent/LICENSE | 21 - node_modules/dedent/README.md | 59 - node_modules/dedent/dist/dedent.js | 59 - node_modules/dedent/package.json | 43 - node_modules/deep-is/.travis.yml | 5 - node_modules/deep-is/LICENSE | 22 - node_modules/deep-is/README.markdown | 70 - node_modules/deep-is/example/cmp.js | 11 - node_modules/deep-is/index.js | 102 - node_modules/deep-is/package.json | 58 - node_modules/deep-is/test/NaN.js | 16 - node_modules/deep-is/test/cmp.js | 23 - node_modules/deep-is/test/neg-vs-pos-0.js | 15 - node_modules/deepmerge/changelog.md | 159 - node_modules/deepmerge/dist/cjs.js | 133 - node_modules/deepmerge/dist/umd.js | 139 - node_modules/deepmerge/index.d.ts | 16 - node_modules/deepmerge/index.js | 106 - node_modules/deepmerge/license.txt | 21 - node_modules/deepmerge/package.json | 43 - node_modules/deepmerge/readme.md | 264 - node_modules/deepmerge/rollup.config.js | 22 - node_modules/delayed-stream/.npmignore | 1 - node_modules/delayed-stream/License | 19 - node_modules/delayed-stream/Makefile | 7 - node_modules/delayed-stream/Readme.md | 141 - .../delayed-stream/lib/delayed_stream.js | 107 - node_modules/delayed-stream/package.json | 27 - node_modules/deprecation/LICENSE | 15 - node_modules/deprecation/README.md | 77 - node_modules/deprecation/dist-node/index.js | 20 - node_modules/deprecation/dist-src/index.js | 14 - .../deprecation/dist-types/index.d.ts | 3 - node_modules/deprecation/dist-web/index.js | 16 - node_modules/deprecation/package.json | 34 - node_modules/detect-newline/index.d.ts | 26 - node_modules/detect-newline/index.js | 21 - node_modules/detect-newline/license | 9 - node_modules/detect-newline/package.json | 39 - node_modules/detect-newline/readme.md | 42 - node_modules/diff-sequences/LICENSE | 21 - node_modules/diff-sequences/README.md | 404 - node_modules/diff-sequences/build/index.d.ts | 18 - node_modules/diff-sequences/build/index.js | 816 - node_modules/diff-sequences/package.json | 42 - node_modules/diff-sequences/perf/example.md | 48 - node_modules/diff-sequences/perf/index.js | 170 - node_modules/domexception/LICENSE.txt | 21 - node_modules/domexception/README.md | 31 - node_modules/domexception/index.js | 7 - .../domexception/lib/DOMException-impl.js | 22 - node_modules/domexception/lib/DOMException.js | 205 - .../domexception/lib/legacy-error-codes.json | 27 - node_modules/domexception/lib/utils.js | 115 - .../webidl-conversions/LICENSE.md | 12 - .../node_modules/webidl-conversions/README.md | 79 - .../webidl-conversions/lib/index.js | 361 - .../webidl-conversions/package.json | 30 - node_modules/domexception/package.json | 42 - .../domexception/webidl2js-wrapper.js | 15 - .../electron-to-chromium/CHANGELOG.md | 14 - node_modules/electron-to-chromium/LICENSE | 5 - node_modules/electron-to-chromium/README.md | 186 - .../electron-to-chromium/chromium-versions.js | 44 - .../chromium-versions.json | 1 - .../full-chromium-versions.js | 1782 - .../full-chromium-versions.json | 1 - .../electron-to-chromium/full-versions.js | 1308 - .../electron-to-chromium/full-versions.json | 1 - node_modules/electron-to-chromium/index.js | 36 - .../electron-to-chromium/package.json | 42 - node_modules/electron-to-chromium/versions.js | 85 - .../electron-to-chromium/versions.json | 1 - node_modules/emittery/index.d.ts | 432 - node_modules/emittery/index.js | 408 - node_modules/emittery/license | 9 - node_modules/emittery/package.json | 66 - node_modules/emittery/readme.md | 409 - node_modules/emoji-regex/LICENSE-MIT.txt | 20 - node_modules/emoji-regex/README.md | 73 - node_modules/emoji-regex/es2015/index.js | 6 - node_modules/emoji-regex/es2015/text.js | 6 - node_modules/emoji-regex/index.d.ts | 23 - node_modules/emoji-regex/index.js | 6 - node_modules/emoji-regex/package.json | 50 - node_modules/emoji-regex/text.js | 6 - node_modules/error-ex/LICENSE | 21 - node_modules/error-ex/README.md | 144 - node_modules/error-ex/index.js | 141 - node_modules/error-ex/package.json | 46 - node_modules/escalade/dist/index.js | 22 - node_modules/escalade/dist/index.mjs | 22 - node_modules/escalade/index.d.ts | 3 - node_modules/escalade/license | 9 - node_modules/escalade/package.json | 61 - node_modules/escalade/readme.md | 211 - node_modules/escalade/sync/index.d.ts | 2 - node_modules/escalade/sync/index.js | 18 - node_modules/escalade/sync/index.mjs | 18 - node_modules/escape-string-regexp/index.d.ts | 18 - node_modules/escape-string-regexp/index.js | 11 - node_modules/escape-string-regexp/license | 9 - .../escape-string-regexp/package.json | 43 - node_modules/escape-string-regexp/readme.md | 29 - node_modules/escodegen/LICENSE.BSD | 21 - node_modules/escodegen/README.md | 84 - node_modules/escodegen/bin/escodegen.js | 77 - node_modules/escodegen/bin/esgenerate.js | 64 - node_modules/escodegen/escodegen.js | 2647 -- .../escodegen/node_modules/.bin/esparse | 1 - .../escodegen/node_modules/.bin/esvalidate | 1 - node_modules/escodegen/package.json | 62 - node_modules/esprima/ChangeLog | 235 - node_modules/esprima/LICENSE.BSD | 21 - node_modules/esprima/README.md | 46 - node_modules/esprima/bin/esparse.js | 139 - node_modules/esprima/bin/esvalidate.js | 236 - node_modules/esprima/dist/esprima.js | 6709 --- node_modules/esprima/package.json | 112 - node_modules/estraverse/.jshintrc | 16 - node_modules/estraverse/LICENSE.BSD | 19 - node_modules/estraverse/README.md | 153 - node_modules/estraverse/estraverse.js | 805 - node_modules/estraverse/gulpfile.js | 70 - node_modules/estraverse/package.json | 40 - node_modules/esutils/LICENSE.BSD | 19 - node_modules/esutils/README.md | 174 - node_modules/esutils/lib/ast.js | 144 - node_modules/esutils/lib/code.js | 135 - node_modules/esutils/lib/keyword.js | 165 - node_modules/esutils/lib/utils.js | 33 - node_modules/esutils/package.json | 44 - node_modules/execa/index.d.ts | 564 - node_modules/execa/index.js | 268 - node_modules/execa/lib/command.js | 52 - node_modules/execa/lib/error.js | 88 - node_modules/execa/lib/kill.js | 115 - node_modules/execa/lib/promise.js | 46 - node_modules/execa/lib/stdio.js | 52 - node_modules/execa/lib/stream.js | 97 - node_modules/execa/license | 9 - node_modules/execa/package.json | 74 - node_modules/execa/readme.md | 663 - node_modules/exit/.jshintrc | 14 - node_modules/exit/.npmignore | 0 node_modules/exit/.travis.yml | 6 - node_modules/exit/Gruntfile.js | 48 - node_modules/exit/LICENSE-MIT | 22 - node_modules/exit/README.md | 75 - node_modules/exit/lib/exit.js | 41 - node_modules/exit/package.json | 47 - node_modules/exit/test/exit_test.js | 121 - node_modules/exit/test/fixtures/10-stderr.txt | 10 - .../exit/test/fixtures/10-stdout-stderr.txt | 20 - node_modules/exit/test/fixtures/10-stdout.txt | 10 - .../exit/test/fixtures/100-stderr.txt | 100 - .../exit/test/fixtures/100-stdout-stderr.txt | 200 - .../exit/test/fixtures/100-stdout.txt | 100 - .../exit/test/fixtures/1000-stderr.txt | 1000 - .../exit/test/fixtures/1000-stdout-stderr.txt | 2000 - .../exit/test/fixtures/1000-stdout.txt | 1000 - .../exit/test/fixtures/create-files.sh | 8 - node_modules/exit/test/fixtures/log-broken.js | 23 - node_modules/exit/test/fixtures/log.js | 25 - node_modules/expect/LICENSE | 21 - node_modules/expect/README.md | 3 - .../expect/build/asymmetricMatchers.d.ts | 75 - .../expect/build/asymmetricMatchers.js | 432 - .../extractExpectedAssertionsErrors.d.ts | 10 - .../build/extractExpectedAssertionsErrors.js | 90 - node_modules/expect/build/index.d.ts | 15 - node_modules/expect/build/index.js | 485 - node_modules/expect/build/jasmineUtils.d.ts | 8 - node_modules/expect/build/jasmineUtils.js | 279 - .../expect/build/jestMatchersObject.d.ts | 13 - .../expect/build/jestMatchersObject.js | 120 - node_modules/expect/build/matchers.d.ts | 10 - node_modules/expect/build/matchers.js | 1370 - node_modules/expect/build/print.d.ts | 15 - node_modules/expect/build/print.js | 141 - node_modules/expect/build/spyMatchers.d.ts | 9 - node_modules/expect/build/spyMatchers.js | 1339 - .../expect/build/toThrowMatchers.d.ts | 11 - node_modules/expect/build/toThrowMatchers.js | 464 - node_modules/expect/build/types.d.ts | 327 - node_modules/expect/build/types.js | 3 - node_modules/expect/build/utils.d.ts | 26 - node_modules/expect/build/utils.js | 458 - node_modules/expect/package.json | 42 - .../fast-json-stable-stringify/.eslintrc.yml | 26 - .../.github/FUNDING.yml | 1 - .../fast-json-stable-stringify/.travis.yml | 8 - .../fast-json-stable-stringify/LICENSE | 21 - .../fast-json-stable-stringify/README.md | 131 - .../benchmark/index.js | 31 - .../benchmark/test.json | 137 - .../example/key_cmp.js | 7 - .../example/nested.js | 3 - .../fast-json-stable-stringify/example/str.js | 3 - .../example/value_cmp.js | 7 - .../fast-json-stable-stringify/index.d.ts | 4 - .../fast-json-stable-stringify/index.js | 59 - .../fast-json-stable-stringify/package.json | 52 - .../fast-json-stable-stringify/test/cmp.js | 13 - .../fast-json-stable-stringify/test/nested.js | 44 - .../fast-json-stable-stringify/test/str.js | 46 - .../test/to-json.js | 22 - node_modules/fast-levenshtein/LICENSE.md | 25 - node_modules/fast-levenshtein/README.md | 104 - node_modules/fast-levenshtein/levenshtein.js | 136 - node_modules/fast-levenshtein/package.json | 39 - node_modules/fb-watchman/README.md | 34 - node_modules/fb-watchman/index.js | 322 - node_modules/fb-watchman/package.json | 35 - node_modules/fill-range/LICENSE | 21 - node_modules/fill-range/README.md | 237 - node_modules/fill-range/index.js | 249 - node_modules/fill-range/package.json | 69 - node_modules/find-up/index.d.ts | 137 - node_modules/find-up/index.js | 89 - node_modules/find-up/license | 9 - node_modules/find-up/package.json | 53 - node_modules/find-up/readme.md | 156 - node_modules/form-data/License | 19 - node_modules/form-data/README.md.bak | 356 - node_modules/form-data/Readme.md | 356 - node_modules/form-data/index.d.ts | 62 - node_modules/form-data/lib/browser.js | 2 - node_modules/form-data/lib/form_data.js | 498 - node_modules/form-data/lib/populate.js | 10 - node_modules/form-data/package.json | 68 - node_modules/fs.realpath/LICENSE | 43 - node_modules/fs.realpath/README.md | 33 - node_modules/fs.realpath/index.js | 66 - node_modules/fs.realpath/old.js | 303 - node_modules/fs.realpath/package.json | 26 - node_modules/function-bind/.editorconfig | 20 - node_modules/function-bind/.eslintrc | 15 - node_modules/function-bind/.jscs.json | 176 - node_modules/function-bind/.npmignore | 22 - node_modules/function-bind/.travis.yml | 168 - node_modules/function-bind/LICENSE | 20 - node_modules/function-bind/README.md | 48 - node_modules/function-bind/implementation.js | 52 - node_modules/function-bind/index.js | 5 - node_modules/function-bind/package.json | 63 - node_modules/function-bind/test/.eslintrc | 9 - node_modules/function-bind/test/index.js | 252 - node_modules/gensync/LICENSE | 7 - node_modules/gensync/README.md | 196 - node_modules/gensync/index.js | 373 - node_modules/gensync/index.js.flow | 32 - node_modules/gensync/package.json | 37 - node_modules/gensync/test/.babelrc | 5 - node_modules/gensync/test/index.test.js | 489 - node_modules/get-caller-file/LICENSE.md | 6 - node_modules/get-caller-file/README.md | 41 - node_modules/get-caller-file/index.d.ts | 2 - node_modules/get-caller-file/index.js | 22 - node_modules/get-caller-file/index.js.map | 1 - node_modules/get-caller-file/package.json | 42 - node_modules/get-package-type/CHANGELOG.md | 10 - node_modules/get-package-type/LICENSE | 21 - node_modules/get-package-type/README.md | 32 - node_modules/get-package-type/async.cjs | 52 - node_modules/get-package-type/cache.cjs | 3 - node_modules/get-package-type/index.cjs | 7 - .../get-package-type/is-node-modules.cjs | 15 - node_modules/get-package-type/package.json | 35 - node_modules/get-package-type/sync.cjs | 42 - node_modules/get-stream/buffer-stream.js | 52 - node_modules/get-stream/index.d.ts | 105 - node_modules/get-stream/index.js | 61 - node_modules/get-stream/license | 9 - node_modules/get-stream/package.json | 47 - node_modules/get-stream/readme.md | 124 - node_modules/glob/LICENSE | 21 - node_modules/glob/README.md | 378 - node_modules/glob/common.js | 236 - node_modules/glob/glob.js | 787 - node_modules/glob/package.json | 52 - node_modules/glob/sync.js | 483 - node_modules/globals/globals.json | 1563 - node_modules/globals/index.js | 2 - node_modules/globals/license | 9 - node_modules/globals/package.json | 41 - node_modules/globals/readme.md | 41 - node_modules/graceful-fs/LICENSE | 15 - node_modules/graceful-fs/README.md | 143 - node_modules/graceful-fs/clone.js | 23 - node_modules/graceful-fs/graceful-fs.js | 429 - node_modules/graceful-fs/legacy-streams.js | 118 - node_modules/graceful-fs/package.json | 50 - node_modules/graceful-fs/polyfills.js | 348 - node_modules/has-flag/index.d.ts | 39 - node_modules/has-flag/index.js | 8 - node_modules/has-flag/license | 9 - node_modules/has-flag/package.json | 46 - node_modules/has-flag/readme.md | 89 - node_modules/has/LICENSE-MIT | 22 - node_modules/has/README.md | 18 - node_modules/has/package.json | 48 - node_modules/has/src/index.js | 5 - node_modules/has/test/index.js | 10 - .../html-encoding-sniffer/LICENSE.txt | 7 - node_modules/html-encoding-sniffer/README.md | 38 - .../lib/html-encoding-sniffer.js | 295 - .../html-encoding-sniffer/package.json | 30 - node_modules/html-escaper/LICENSE.txt | 19 - node_modules/html-escaper/README.md | 97 - node_modules/html-escaper/cjs/index.js | 65 - node_modules/html-escaper/cjs/package.json | 1 - node_modules/html-escaper/esm/index.js | 62 - node_modules/html-escaper/index.js | 70 - node_modules/html-escaper/min.js | 1 - node_modules/html-escaper/package.json | 42 - node_modules/html-escaper/test/index.js | 23 - node_modules/html-escaper/test/package.json | 1 - node_modules/http-proxy-agent/README.md | 74 - node_modules/http-proxy-agent/dist/agent.d.ts | 32 - node_modules/http-proxy-agent/dist/agent.js | 145 - .../http-proxy-agent/dist/agent.js.map | 1 - node_modules/http-proxy-agent/dist/index.d.ts | 21 - node_modules/http-proxy-agent/dist/index.js | 14 - .../http-proxy-agent/dist/index.js.map | 1 - node_modules/http-proxy-agent/package.json | 57 - node_modules/https-proxy-agent/README.md | 137 - .../https-proxy-agent/dist/agent.d.ts | 30 - node_modules/https-proxy-agent/dist/agent.js | 180 - .../https-proxy-agent/dist/agent.js.map | 1 - .../https-proxy-agent/dist/index.d.ts | 23 - node_modules/https-proxy-agent/dist/index.js | 14 - .../https-proxy-agent/dist/index.js.map | 1 - .../dist/parse-proxy-response.d.ts | 7 - .../dist/parse-proxy-response.js | 66 - .../dist/parse-proxy-response.js.map | 1 - node_modules/https-proxy-agent/package.json | 56 - node_modules/human-signals/CHANGELOG.md | 11 - node_modules/human-signals/LICENSE | 201 - node_modules/human-signals/README.md | 165 - node_modules/human-signals/build/src/core.js | 273 - .../human-signals/build/src/core.js.map | 1 - .../human-signals/build/src/main.d.ts | 52 - node_modules/human-signals/build/src/main.js | 71 - .../human-signals/build/src/main.js.map | 1 - .../human-signals/build/src/realtime.js | 19 - .../human-signals/build/src/realtime.js.map | 1 - .../human-signals/build/src/signals.js | 35 - .../human-signals/build/src/signals.js.map | 1 - node_modules/human-signals/package.json | 64 - node_modules/iconv-lite/Changelog.md | 162 - node_modules/iconv-lite/LICENSE | 21 - node_modules/iconv-lite/README.md | 156 - .../iconv-lite/encodings/dbcs-codec.js | 555 - .../iconv-lite/encodings/dbcs-data.js | 176 - node_modules/iconv-lite/encodings/index.js | 22 - node_modules/iconv-lite/encodings/internal.js | 188 - .../iconv-lite/encodings/sbcs-codec.js | 72 - .../encodings/sbcs-data-generated.js | 451 - .../iconv-lite/encodings/sbcs-data.js | 174 - .../encodings/tables/big5-added.json | 122 - .../iconv-lite/encodings/tables/cp936.json | 264 - .../iconv-lite/encodings/tables/cp949.json | 273 - .../iconv-lite/encodings/tables/cp950.json | 177 - .../iconv-lite/encodings/tables/eucjp.json | 182 - .../encodings/tables/gb18030-ranges.json | 1 - .../encodings/tables/gbk-added.json | 55 - .../iconv-lite/encodings/tables/shiftjis.json | 125 - node_modules/iconv-lite/encodings/utf16.js | 177 - node_modules/iconv-lite/encodings/utf7.js | 290 - node_modules/iconv-lite/lib/bom-handling.js | 52 - node_modules/iconv-lite/lib/extend-node.js | 217 - node_modules/iconv-lite/lib/index.d.ts | 24 - node_modules/iconv-lite/lib/index.js | 153 - node_modules/iconv-lite/lib/streams.js | 121 - node_modules/iconv-lite/package.json | 46 - node_modules/import-local/fixtures/cli.js | 7 - node_modules/import-local/index.js | 24 - node_modules/import-local/license | 9 - node_modules/import-local/package.json | 52 - node_modules/import-local/readme.md | 37 - node_modules/imurmurhash/README.md | 122 - node_modules/imurmurhash/imurmurhash.js | 138 - node_modules/imurmurhash/imurmurhash.min.js | 12 - node_modules/imurmurhash/package.json | 40 - node_modules/inflight/LICENSE | 15 - node_modules/inflight/README.md | 37 - node_modules/inflight/inflight.js | 54 - node_modules/inflight/package.json | 29 - node_modules/inherits/LICENSE | 16 - node_modules/inherits/README.md | 42 - node_modules/inherits/inherits.js | 9 - node_modules/inherits/inherits_browser.js | 27 - node_modules/inherits/package.json | 29 - node_modules/is-arrayish/.editorconfig | 18 - node_modules/is-arrayish/.istanbul.yml | 4 - node_modules/is-arrayish/.npmignore | 5 - node_modules/is-arrayish/.travis.yml | 17 - node_modules/is-arrayish/LICENSE | 21 - node_modules/is-arrayish/README.md | 16 - node_modules/is-arrayish/index.js | 10 - node_modules/is-arrayish/package.json | 34 - node_modules/is-core-module/.eslintrc | 17 - node_modules/is-core-module/.nycrc | 9 - node_modules/is-core-module/CHANGELOG.md | 127 - node_modules/is-core-module/LICENSE | 20 - node_modules/is-core-module/README.md | 40 - node_modules/is-core-module/core.json | 152 - node_modules/is-core-module/index.js | 69 - node_modules/is-core-module/package.json | 69 - node_modules/is-core-module/test/index.js | 130 - .../is-fullwidth-code-point/index.d.ts | 17 - node_modules/is-fullwidth-code-point/index.js | 50 - node_modules/is-fullwidth-code-point/license | 9 - .../is-fullwidth-code-point/package.json | 42 - .../is-fullwidth-code-point/readme.md | 39 - node_modules/is-generator-fn/index.d.ts | 24 - node_modules/is-generator-fn/index.js | 14 - node_modules/is-generator-fn/license | 9 - node_modules/is-generator-fn/package.json | 38 - node_modules/is-generator-fn/readme.md | 33 - node_modules/is-number/LICENSE | 21 - node_modules/is-number/README.md | 187 - node_modules/is-number/index.js | 18 - node_modules/is-number/package.json | 82 - node_modules/is-plain-object/LICENSE | 21 - node_modules/is-plain-object/README.md | 125 - .../is-plain-object/dist/is-plain-object.js | 38 - .../is-plain-object/dist/is-plain-object.mjs | 34 - .../is-plain-object/is-plain-object.d.ts | 1 - node_modules/is-plain-object/package.json | 85 - .../LICENSE-MIT.txt | 20 - .../README.md | 40 - .../is-potential-custom-element-name/index.js | 9 - .../package.json | 35 - node_modules/is-stream/index.d.ts | 79 - node_modules/is-stream/index.js | 28 - node_modules/is-stream/license | 9 - node_modules/is-stream/package.json | 42 - node_modules/is-stream/readme.md | 60 - node_modules/is-typedarray/LICENSE.md | 18 - node_modules/is-typedarray/README.md | 16 - node_modules/is-typedarray/index.js | 41 - node_modules/is-typedarray/package.json | 30 - node_modules/is-typedarray/test.js | 34 - node_modules/isexe/.npmignore | 2 - node_modules/isexe/LICENSE | 15 - node_modules/isexe/README.md | 51 - node_modules/isexe/index.js | 57 - node_modules/isexe/mode.js | 41 - node_modules/isexe/package.json | 31 - node_modules/isexe/test/basic.js | 221 - node_modules/isexe/windows.js | 42 - .../istanbul-lib-coverage/CHANGELOG.md | 193 - node_modules/istanbul-lib-coverage/LICENSE | 24 - node_modules/istanbul-lib-coverage/README.md | 29 - node_modules/istanbul-lib-coverage/index.js | 64 - .../istanbul-lib-coverage/lib/coverage-map.js | 134 - .../lib/coverage-summary.js | 112 - .../lib/data-properties.js | 12 - .../lib/file-coverage.js | 345 - .../istanbul-lib-coverage/lib/percent.js | 15 - .../istanbul-lib-coverage/package.json | 47 - .../istanbul-lib-instrument/CHANGELOG.md | 617 - node_modules/istanbul-lib-instrument/LICENSE | 24 - .../istanbul-lib-instrument/README.md | 22 - .../node_modules/.bin/parser | 1 - .../node_modules/.bin/semver | 1 - .../istanbul-lib-instrument/package.json | 50 - .../istanbul-lib-instrument/src/constants.js | 14 - .../istanbul-lib-instrument/src/index.js | 21 - .../src/instrumenter.js | 160 - .../src/read-coverage.js | 77 - .../src/source-coverage.js | 135 - .../istanbul-lib-instrument/src/visitor.js | 746 - node_modules/istanbul-lib-report/CHANGELOG.md | 185 - node_modules/istanbul-lib-report/LICENSE | 24 - node_modules/istanbul-lib-report/README.md | 43 - node_modules/istanbul-lib-report/index.js | 40 - .../istanbul-lib-report/lib/context.js | 132 - .../istanbul-lib-report/lib/file-writer.js | 189 - node_modules/istanbul-lib-report/lib/path.js | 169 - .../istanbul-lib-report/lib/report-base.js | 16 - .../lib/summarizer-factory.js | 284 - node_modules/istanbul-lib-report/lib/tree.js | 137 - .../istanbul-lib-report/lib/watermarks.js | 15 - .../istanbul-lib-report/lib/xml-writer.js | 90 - node_modules/istanbul-lib-report/package.json | 45 - .../istanbul-lib-source-maps/CHANGELOG.md | 295 - node_modules/istanbul-lib-source-maps/LICENSE | 24 - .../istanbul-lib-source-maps/README.md | 11 - .../istanbul-lib-source-maps/index.js | 15 - .../lib/get-mapping.js | 182 - .../istanbul-lib-source-maps/lib/map-store.js | 226 - .../istanbul-lib-source-maps/lib/mapped.js | 113 - .../istanbul-lib-source-maps/lib/pathutils.js | 21 - .../lib/transform-utils.js | 21 - .../lib/transformer.js | 147 - .../istanbul-lib-source-maps/package.json | 45 - node_modules/istanbul-reports/CHANGELOG.md | 442 - node_modules/istanbul-reports/LICENSE | 24 - node_modules/istanbul-reports/README.md | 13 - node_modules/istanbul-reports/index.js | 24 - .../istanbul-reports/lib/clover/index.js | 164 - .../istanbul-reports/lib/cobertura/index.js | 151 - .../istanbul-reports/lib/html-spa/.babelrc | 3 - .../lib/html-spa/assets/bundle.js | 30 - .../lib/html-spa/assets/sort-arrow-sprite.png | Bin 209 -> 0 bytes .../lib/html-spa/assets/spa.css | 298 - .../istanbul-reports/lib/html-spa/index.js | 176 - .../lib/html-spa/src/fileBreadcrumbs.js | 31 - .../lib/html-spa/src/filterToggle.js | 50 - .../lib/html-spa/src/flattenToggle.js | 25 - .../lib/html-spa/src/getChildData.js | 155 - .../lib/html-spa/src/index.js | 160 - .../lib/html-spa/src/routing.js | 52 - .../lib/html-spa/src/summaryHeader.js | 63 - .../lib/html-spa/src/summaryTableHeader.js | 130 - .../lib/html-spa/src/summaryTableLine.js | 159 - .../lib/html-spa/webpack.config.js | 22 - .../istanbul-reports/lib/html/annotator.js | 288 - .../istanbul-reports/lib/html/assets/base.css | 224 - .../lib/html/assets/block-navigation.js | 86 - .../lib/html/assets/favicon.png | Bin 540 -> 0 bytes .../lib/html/assets/sort-arrow-sprite.png | Bin 209 -> 0 bytes .../lib/html/assets/sorter.js | 195 - .../lib/html/assets/vendor/prettify.css | 1 - .../lib/html/assets/vendor/prettify.js | 1 - .../istanbul-reports/lib/html/index.js | 421 - .../lib/html/insertion-text.js | 114 - .../lib/json-summary/index.js | 56 - .../istanbul-reports/lib/json/index.js | 44 - .../istanbul-reports/lib/lcov/index.js | 33 - .../istanbul-reports/lib/lcovonly/index.js | 77 - .../istanbul-reports/lib/none/index.js | 10 - .../istanbul-reports/lib/teamcity/index.js | 67 - .../istanbul-reports/lib/text-lcov/index.js | 17 - .../lib/text-summary/index.js | 62 - .../istanbul-reports/lib/text/index.js | 298 - node_modules/istanbul-reports/package.json | 60 - node_modules/jest-changed-files/LICENSE | 21 - node_modules/jest-changed-files/README.md | 63 - .../jest-changed-files/build/git.d.ts | 10 - node_modules/jest-changed-files/build/git.js | 179 - node_modules/jest-changed-files/build/hg.d.ts | 10 - node_modules/jest-changed-files/build/hg.js | 133 - .../jest-changed-files/build/index.d.ts | 12 - .../jest-changed-files/build/index.js | 86 - .../jest-changed-files/build/types.d.ts | 28 - .../jest-changed-files/build/types.js | 1 - node_modules/jest-changed-files/package.json | 31 - node_modules/jest-circus/LICENSE | 21 - node_modules/jest-circus/README.md | 65 - .../jest-circus/build/eventHandler.d.ts | 9 - .../jest-circus/build/eventHandler.js | 338 - .../build/formatNodeAssertErrors.d.ts | 9 - .../build/formatNodeAssertErrors.js | 204 - .../build/globalErrorHandlers.d.ts | 9 - .../jest-circus/build/globalErrorHandlers.js | 51 - node_modules/jest-circus/build/index.d.ts | 52 - node_modules/jest-circus/build/index.js | 226 - .../legacy-code-todo-rewrite/jestAdapter.d.ts | 12 - .../legacy-code-todo-rewrite/jestAdapter.js | 123 - .../jestAdapterInit.d.ts | 36 - .../jestAdapterInit.js | 299 - .../legacy-code-todo-rewrite/jestExpect.d.ts | 10 - .../legacy-code-todo-rewrite/jestExpect.js | 37 - node_modules/jest-circus/build/run.d.ts | 9 - node_modules/jest-circus/build/run.js | 236 - node_modules/jest-circus/build/state.d.ts | 14 - node_modules/jest-circus/build/state.js | 93 - .../build/testCaseReportHandler.d.ts | 10 - .../build/testCaseReportHandler.js | 28 - node_modules/jest-circus/build/types.d.ts | 21 - node_modules/jest-circus/build/types.js | 35 - node_modules/jest-circus/build/utils.d.ts | 33 - node_modules/jest-circus/build/utils.js | 637 - node_modules/jest-circus/package.json | 58 - node_modules/jest-circus/runner.js | 10 - node_modules/jest-cli/LICENSE | 21 - node_modules/jest-cli/README.md | 11 - node_modules/jest-cli/bin/jest.js | 17 - node_modules/jest-cli/build/cli/args.d.ts | 448 - node_modules/jest-cli/build/cli/args.js | 710 - node_modules/jest-cli/build/cli/index.d.ts | 9 - node_modules/jest-cli/build/cli/index.js | 265 - node_modules/jest-cli/build/index.d.ts | 7 - node_modules/jest-cli/build/index.js | 13 - node_modules/jest-cli/build/init/errors.d.ts | 12 - node_modules/jest-cli/build/init/errors.js | 35 - .../build/init/generateConfigFile.d.ts | 8 - .../jest-cli/build/init/generateConfigFile.js | 104 - node_modules/jest-cli/build/init/index.d.ts | 7 - node_modules/jest-cli/build/init/index.js | 246 - .../build/init/modifyPackageJson.d.ts | 12 - .../jest-cli/build/init/modifyPackageJson.js | 28 - .../jest-cli/build/init/questions.d.ts | 10 - node_modules/jest-cli/build/init/questions.js | 76 - node_modules/jest-cli/build/init/types.d.ts | 12 - node_modules/jest-cli/build/init/types.js | 1 - .../node_modules/.bin/import-local-fixture | 1 - node_modules/jest-cli/package.json | 89 - node_modules/jest-config/LICENSE | 21 - node_modules/jest-config/build/Defaults.d.ts | 9 - node_modules/jest-config/build/Defaults.js | 125 - .../jest-config/build/Deprecated.d.ts | 9 - node_modules/jest-config/build/Deprecated.js | 98 - .../jest-config/build/Descriptions.d.ts | 11 - .../jest-config/build/Descriptions.js | 107 - .../build/ReporterValidationErrors.d.ts | 19 - .../build/ReporterValidationErrors.js | 138 - .../jest-config/build/ValidConfig.d.ts | 9 - node_modules/jest-config/build/ValidConfig.js | 199 - node_modules/jest-config/build/color.d.ts | 10 - node_modules/jest-config/build/color.js | 37 - node_modules/jest-config/build/constants.d.ts | 17 - node_modules/jest-config/build/constants.js | 104 - .../jest-config/build/getCacheDirectory.d.ts | 9 - .../jest-config/build/getCacheDirectory.js | 104 - .../jest-config/build/getMaxWorkers.d.ts | 8 - .../jest-config/build/getMaxWorkers.js | 65 - node_modules/jest-config/build/index.d.ts | 28 - node_modules/jest-config/build/index.js | 495 - node_modules/jest-config/build/normalize.d.ts | 13 - node_modules/jest-config/build/normalize.js | 1372 - .../build/readConfigFileAndSetRootDir.d.ts | 8 - .../build/readConfigFileAndSetRootDir.js | 204 - .../jest-config/build/resolveConfigPath.d.ts | 8 - .../jest-config/build/resolveConfigPath.js | 247 - .../jest-config/build/setFromArgv.d.ts | 8 - node_modules/jest-config/build/setFromArgv.js | 68 - node_modules/jest-config/build/utils.d.ts | 27 - node_modules/jest-config/build/utils.js | 209 - .../jest-config/build/validatePattern.d.ts | 7 - .../jest-config/build/validatePattern.js | 25 - node_modules/jest-config/package.json | 68 - node_modules/jest-diff/LICENSE | 21 - node_modules/jest-diff/README.md | 671 - .../jest-diff/build/cleanupSemantic.d.ts | 57 - .../jest-diff/build/cleanupSemantic.js | 655 - node_modules/jest-diff/build/constants.d.ts | 8 - node_modules/jest-diff/build/constants.js | 19 - node_modules/jest-diff/build/diffLines.d.ts | 12 - node_modules/jest-diff/build/diffLines.js | 220 - node_modules/jest-diff/build/diffStrings.d.ts | 9 - node_modules/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 | 15 - node_modules/jest-diff/build/index.js | 267 - .../jest-diff/build/joinAlignedDiffs.d.ts | 10 - .../jest-diff/build/joinAlignedDiffs.js | 303 - .../jest-diff/build/normalizeDiffOptions.d.ts | 9 - .../jest-diff/build/normalizeDiffOptions.js | 64 - node_modules/jest-diff/build/printDiffs.d.ts | 10 - node_modules/jest-diff/build/printDiffs.js | 85 - node_modules/jest-diff/build/types.d.ts | 48 - node_modules/jest-diff/build/types.js | 1 - node_modules/jest-diff/package.json | 36 - node_modules/jest-docblock/LICENSE | 21 - node_modules/jest-docblock/README.md | 108 - node_modules/jest-docblock/build/index.d.ts | 19 - node_modules/jest-docblock/build/index.js | 153 - node_modules/jest-docblock/package.json | 32 - node_modules/jest-each/LICENSE | 21 - node_modules/jest-each/README.md | 548 - node_modules/jest-each/build/bind.d.ts | 15 - node_modules/jest-each/build/bind.js | 79 - node_modules/jest-each/build/index.d.ts | 79 - node_modules/jest-each/build/index.js | 97 - node_modules/jest-each/build/table/array.d.ts | 10 - node_modules/jest-each/build/table/array.js | 151 - .../jest-each/build/table/interpolation.d.ts | 17 - .../jest-each/build/table/interpolation.js | 69 - .../jest-each/build/table/template.d.ts | 11 - .../jest-each/build/table/template.js | 45 - node_modules/jest-each/build/validation.d.ts | 11 - node_modules/jest-each/build/validation.js | 133 - node_modules/jest-each/package.json | 41 - node_modules/jest-environment-jsdom/LICENSE | 21 - .../jest-environment-jsdom/build/index.d.ts | 30 - .../jest-environment-jsdom/build/index.js | 195 - .../jest-environment-jsdom/package.json | 39 - node_modules/jest-environment-node/LICENSE | 21 - .../jest-environment-node/build/index.d.ts | 29 - .../jest-environment-node/build/index.js | 184 - .../jest-environment-node/package.json | 37 - node_modules/jest-get-type/LICENSE | 21 - node_modules/jest-get-type/build/index.d.ts | 10 - node_modules/jest-get-type/build/index.js | 57 - node_modules/jest-get-type/package.json | 27 - node_modules/jest-haste-map/LICENSE | 21 - .../jest-haste-map/build/HasteFS.d.ts | 27 - node_modules/jest-haste-map/build/HasteFS.js | 179 - .../jest-haste-map/build/ModuleMap.d.ts | 41 - .../jest-haste-map/build/ModuleMap.js | 305 - .../jest-haste-map/build/blacklist.d.ts | 8 - .../jest-haste-map/build/blacklist.js | 59 - .../jest-haste-map/build/constants.d.ts | 9 - .../jest-haste-map/build/constants.js | 52 - .../jest-haste-map/build/crawlers/node.d.ts | 12 - .../jest-haste-map/build/crawlers/node.js | 309 - .../build/crawlers/watchman.d.ts | 13 - .../jest-haste-map/build/crawlers/watchman.js | 385 - .../jest-haste-map/build/getMockName.d.ts | 8 - .../jest-haste-map/build/getMockName.js | 76 - node_modules/jest-haste-map/build/index.d.ts | 184 - node_modules/jest-haste-map/build/index.js | 1266 - .../build/lib/dependencyExtractor.d.ts | 7 - .../build/lib/dependencyExtractor.js | 99 - .../jest-haste-map/build/lib/fast_path.d.ts | 8 - .../jest-haste-map/build/lib/fast_path.js | 81 - .../build/lib/getPlatformExtension.d.ts | 7 - .../build/lib/getPlatformExtension.js | 31 - .../build/lib/isRegExpSupported.d.ts | 7 - .../build/lib/isRegExpSupported.js | 22 - .../build/lib/normalizePathSep.d.ts | 8 - .../build/lib/normalizePathSep.js | 75 - node_modules/jest-haste-map/build/types.d.ts | 126 - node_modules/jest-haste-map/build/types.js | 1 - .../build/watchers/FSEventsWatcher.d.ts | 44 - .../build/watchers/FSEventsWatcher.js | 294 - .../build/watchers/NodeWatcher.js | 375 - .../build/watchers/RecrawlWarning.js | 57 - .../build/watchers/WatchmanWatcher.js | 418 - .../jest-haste-map/build/watchers/common.js | 114 - node_modules/jest-haste-map/build/worker.d.ts | 9 - node_modules/jest-haste-map/build/worker.js | 197 - node_modules/jest-haste-map/package.json | 49 - node_modules/jest-jasmine2/LICENSE | 21 - .../build/ExpectationFailed.d.ts | 8 - .../jest-jasmine2/build/ExpectationFailed.js | 16 - .../jest-jasmine2/build/PCancelable.d.ts | 17 - .../jest-jasmine2/build/PCancelable.js | 139 - .../build/assertionErrorMessage.d.ts | 10 - .../build/assertionErrorMessage.js | 156 - node_modules/jest-jasmine2/build/each.d.ts | 8 - node_modules/jest-jasmine2/build/each.js | 44 - .../jest-jasmine2/build/errorOnPrivate.d.ts | 8 - .../jest-jasmine2/build/errorOnPrivate.js | 66 - .../build/expectationResultFactory.d.ts | 16 - .../build/expectationResultFactory.js | 93 - node_modules/jest-jasmine2/build/index.d.ts | 12 - node_modules/jest-jasmine2/build/index.js | 247 - node_modules/jest-jasmine2/build/isError.d.ts | 10 - node_modules/jest-jasmine2/build/isError.js | 32 - .../build/jasmine/CallTracker.d.ts | 25 - .../build/jasmine/CallTracker.js | 121 - .../jest-jasmine2/build/jasmine/Env.d.ts | 43 - .../jest-jasmine2/build/jasmine/Env.js | 716 - .../build/jasmine/JsApiReporter.d.ts | 31 - .../build/jasmine/JsApiReporter.js | 173 - .../build/jasmine/ReportDispatcher.d.ts | 22 - .../build/jasmine/ReportDispatcher.js | 127 - .../jest-jasmine2/build/jasmine/Spec.d.ts | 81 - .../jest-jasmine2/build/jasmine/Spec.js | 298 - .../build/jasmine/SpyStrategy.d.ts | 22 - .../build/jasmine/SpyStrategy.js | 143 - .../jest-jasmine2/build/jasmine/Suite.d.ts | 61 - .../jest-jasmine2/build/jasmine/Suite.js | 235 - .../jest-jasmine2/build/jasmine/Timer.d.ts | 14 - .../jest-jasmine2/build/jasmine/Timer.js | 79 - .../build/jasmine/createSpy.d.ts | 13 - .../jest-jasmine2/build/jasmine/createSpy.js | 88 - .../build/jasmine/jasmineLight.d.ts | 27 - .../build/jasmine/jasmineLight.js | 171 - .../build/jasmine/spyRegistry.d.ts | 18 - .../build/jasmine/spyRegistry.js | 222 - .../build/jasmineAsyncInstall.d.ts | 8 - .../build/jasmineAsyncInstall.js | 259 - .../jest-jasmine2/build/jestExpect.d.ts | 9 - .../jest-jasmine2/build/jestExpect.js | 69 - .../jest-jasmine2/build/pTimeout.d.ts | 7 - node_modules/jest-jasmine2/build/pTimeout.js | 78 - .../jest-jasmine2/build/queueRunner.d.ts | 29 - .../jest-jasmine2/build/queueRunner.js | 127 - .../jest-jasmine2/build/reporter.d.ts | 31 - node_modules/jest-jasmine2/build/reporter.js | 250 - .../build/setup_jest_globals.d.ts | 16 - .../jest-jasmine2/build/setup_jest_globals.js | 121 - .../jest-jasmine2/build/treeProcessor.d.ts | 26 - .../jest-jasmine2/build/treeProcessor.js | 82 - node_modules/jest-jasmine2/build/types.d.ts | 82 - node_modules/jest-jasmine2/build/types.js | 7 - node_modules/jest-jasmine2/package.json | 48 - node_modules/jest-leak-detector/LICENSE | 21 - node_modules/jest-leak-detector/README.md | 27 - .../jest-leak-detector/build/index.d.ts | 12 - .../jest-leak-detector/build/index.js | 135 - node_modules/jest-leak-detector/package.json | 34 - node_modules/jest-matcher-utils/LICENSE | 21 - node_modules/jest-matcher-utils/README.md | 24 - .../jest-matcher-utils/build/Replaceable.d.ts | 17 - .../jest-matcher-utils/build/Replaceable.js | 82 - .../build/deepCyclicCopyReplaceable.d.ts | 7 - .../build/deepCyclicCopyReplaceable.js | 110 - .../jest-matcher-utils/build/index.d.ts | 53 - .../jest-matcher-utils/build/index.js | 590 - node_modules/jest-matcher-utils/package.json | 37 - node_modules/jest-message-util/LICENSE | 21 - .../jest-message-util/build/index.d.ts | 23 - node_modules/jest-message-util/build/index.js | 501 - .../jest-message-util/build/types.d.ts | 10 - node_modules/jest-message-util/build/types.js | 1 - node_modules/jest-message-util/package.json | 42 - node_modules/jest-mock/LICENSE | 21 - node_modules/jest-mock/README.md | 92 - node_modules/jest-mock/build/index.d.ts | 185 - node_modules/jest-mock/build/index.js | 964 - node_modules/jest-mock/package.json | 30 - node_modules/jest-pnp-resolver/README.md | 34 - .../jest-pnp-resolver/createRequire.js | 25 - .../jest-pnp-resolver/getDefaultResolver.js | 13 - node_modules/jest-pnp-resolver/index.d.ts | 10 - node_modules/jest-pnp-resolver/index.js | 49 - node_modules/jest-pnp-resolver/package.json | 31 - node_modules/jest-regex-util/LICENSE | 21 - node_modules/jest-regex-util/build/index.d.ts | 10 - node_modules/jest-regex-util/build/index.js | 48 - node_modules/jest-regex-util/package.json | 29 - .../jest-resolve-dependencies/LICENSE | 21 - .../build/index.d.ts | 27 - .../jest-resolve-dependencies/build/index.js | 238 - .../jest-resolve-dependencies/package.json | 37 - node_modules/jest-resolve/LICENSE | 21 - .../build/ModuleNotFoundError.d.ts | 18 - .../jest-resolve/build/ModuleNotFoundError.js | 146 - .../jest-resolve/build/defaultResolver.d.ts | 29 - .../jest-resolve/build/defaultResolver.js | 123 - .../jest-resolve/build/fileWalkers.d.ts | 14 - .../jest-resolve/build/fileWalkers.js | 214 - node_modules/jest-resolve/build/index.d.ts | 10 - node_modules/jest-resolve/build/index.js | 36 - .../jest-resolve/build/isBuiltinModule.d.ts | 7 - .../jest-resolve/build/isBuiltinModule.js | 36 - .../jest-resolve/build/nodeModulesPaths.d.ts | 15 - .../jest-resolve/build/nodeModulesPaths.js | 128 - node_modules/jest-resolve/build/resolver.d.ts | 58 - node_modules/jest-resolve/build/resolver.js | 595 - .../jest-resolve/build/shouldLoadAsEsm.d.ts | 9 - .../jest-resolve/build/shouldLoadAsEsm.js | 112 - node_modules/jest-resolve/build/types.d.ts | 23 - node_modules/jest-resolve/build/types.js | 1 - node_modules/jest-resolve/build/utils.d.ts | 51 - node_modules/jest-resolve/build/utils.js | 269 - .../jest-resolve/node_modules/.bin/resolve | 1 - node_modules/jest-resolve/package.json | 42 - node_modules/jest-runner/LICENSE | 21 - node_modules/jest-runner/build/index.d.ts | 24 - node_modules/jest-runner/build/index.js | 300 - node_modules/jest-runner/build/runTest.d.ts | 12 - node_modules/jest-runner/build/runTest.js | 494 - .../jest-runner/build/testWorker.d.ts | 26 - node_modules/jest-runner/build/testWorker.js | 150 - node_modules/jest-runner/build/types.d.ts | 41 - node_modules/jest-runner/build/types.js | 15 - node_modules/jest-runner/package.json | 55 - node_modules/jest-runtime/LICENSE | 21 - node_modules/jest-runtime/build/helpers.d.ts | 10 - node_modules/jest-runtime/build/helpers.js | 157 - node_modules/jest-runtime/build/index.d.ts | 142 - node_modules/jest-runtime/build/index.js | 2454 -- node_modules/jest-runtime/build/types.d.ts | 15 - node_modules/jest-runtime/build/types.js | 1 - node_modules/jest-runtime/package.json | 57 - node_modules/jest-serializer/LICENSE | 21 - node_modules/jest-serializer/README.md | 47 - node_modules/jest-serializer/build/index.d.ts | 20 - node_modules/jest-serializer/build/index.js | 109 - node_modules/jest-serializer/package.json | 33 - node_modules/jest-serializer/v8.d.ts | 11 - node_modules/jest-snapshot/LICENSE | 21 - .../jest-snapshot/build/InlineSnapshots.d.ts | 15 - .../jest-snapshot/build/InlineSnapshots.js | 503 - .../jest-snapshot/build/SnapshotResolver.d.ts | 18 - .../jest-snapshot/build/SnapshotResolver.js | 179 - node_modules/jest-snapshot/build/State.d.ts | 62 - node_modules/jest-snapshot/build/State.js | 389 - node_modules/jest-snapshot/build/colors.d.ts | 15 - node_modules/jest-snapshot/build/colors.js | 38 - .../jest-snapshot/build/dedentLines.d.ts | 7 - .../jest-snapshot/build/dedentLines.js | 149 - node_modules/jest-snapshot/build/index.d.ts | 34 - node_modules/jest-snapshot/build/index.js | 645 - .../jest-snapshot/build/mockSerializer.d.ts | 11 - .../jest-snapshot/build/mockSerializer.js | 52 - node_modules/jest-snapshot/build/plugins.d.ts | 9 - node_modules/jest-snapshot/build/plugins.js | 48 - .../jest-snapshot/build/printSnapshot.d.ts | 24 - .../jest-snapshot/build/printSnapshot.js | 407 - node_modules/jest-snapshot/build/types.d.ts | 25 - node_modules/jest-snapshot/build/types.js | 1 - node_modules/jest-snapshot/build/utils.d.ts | 28 - node_modules/jest-snapshot/build/utils.js | 460 - .../jest-snapshot/node_modules/.bin/semver | 1 - .../node_modules/semver/CHANGELOG.md | 111 - .../jest-snapshot/node_modules/semver/LICENSE | 15 - .../node_modules/semver/README.md | 566 - .../node_modules/semver/bin/semver.js | 173 - .../node_modules/semver/classes/comparator.js | 135 - .../node_modules/semver/classes/index.js | 5 - .../node_modules/semver/classes/range.js | 510 - .../node_modules/semver/classes/semver.js | 287 - .../node_modules/semver/functions/clean.js | 6 - .../node_modules/semver/functions/cmp.js | 48 - .../node_modules/semver/functions/coerce.js | 51 - .../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 | 15 - .../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 - .../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 - .../node_modules/semver/package.json | 41 - .../node_modules/semver/preload.js | 2 - .../node_modules/semver/range.bnf | 16 - .../node_modules/semver/ranges/gtr.js | 4 - .../node_modules/semver/ranges/intersects.js | 7 - .../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 | 60 - .../node_modules/semver/ranges/outside.js | 80 - .../node_modules/semver/ranges/simplify.js | 44 - .../node_modules/semver/ranges/subset.js | 222 - .../semver/ranges/to-comparators.js | 8 - .../node_modules/semver/ranges/valid.js | 11 - node_modules/jest-snapshot/package.json | 61 - node_modules/jest-util/LICENSE | 21 - .../jest-util/build/ErrorWithStack.d.ts | 9 - .../jest-util/build/ErrorWithStack.js | 33 - node_modules/jest-util/build/clearLine.d.ts | 8 - node_modules/jest-util/build/clearLine.js | 18 - .../build/convertDescriptorToString.d.ts | 7 - .../build/convertDescriptorToString.js | 41 - .../jest-util/build/createDirectory.d.ts | 8 - .../jest-util/build/createDirectory.js | 76 - .../jest-util/build/createProcessObject.d.ts | 8 - .../jest-util/build/createProcessObject.js | 126 - .../jest-util/build/deepCyclicCopy.d.ts | 11 - .../jest-util/build/deepCyclicCopy.js | 84 - node_modules/jest-util/build/formatTime.d.ts | 7 - node_modules/jest-util/build/formatTime.js | 24 - .../jest-util/build/globsToMatcher.d.ts | 27 - .../jest-util/build/globsToMatcher.js | 108 - node_modules/jest-util/build/index.d.ts | 25 - node_modules/jest-util/build/index.js | 209 - .../jest-util/build/installCommonGlobals.d.ts | 8 - .../jest-util/build/installCommonGlobals.js | 123 - .../build/interopRequireDefault.d.ts | 7 - .../jest-util/build/interopRequireDefault.js | 22 - .../jest-util/build/isInteractive.d.ts | 8 - node_modules/jest-util/build/isInteractive.js | 27 - node_modules/jest-util/build/isPromise.d.ts | 8 - node_modules/jest-util/build/isPromise.js | 20 - node_modules/jest-util/build/pluralize.d.ts | 7 - node_modules/jest-util/build/pluralize.js | 16 - .../jest-util/build/preRunMessage.d.ts | 9 - node_modules/jest-util/build/preRunMessage.js | 48 - .../build/replacePathSepForGlob.d.ts | 8 - .../jest-util/build/replacePathSepForGlob.js | 16 - .../build/requireOrImportModule.d.ts | 8 - .../jest-util/build/requireOrImportModule.js | 91 - node_modules/jest-util/build/setGlobal.d.ts | 7 - node_modules/jest-util/build/setGlobal.js | 17 - .../jest-util/build/specialChars.d.ts | 14 - node_modules/jest-util/build/specialChars.js | 25 - .../build/testPathPatternToRegExp.d.ts | 8 - .../build/testPathPatternToRegExp.js | 19 - node_modules/jest-util/build/tryRealpath.d.ts | 8 - node_modules/jest-util/build/tryRealpath.js | 34 - node_modules/jest-util/package.json | 39 - node_modules/jest-validate/LICENSE | 21 - node_modules/jest-validate/README.md | 196 - .../jest-validate/build/condition.d.ts | 9 - node_modules/jest-validate/build/condition.js | 48 - .../jest-validate/build/defaultConfig.d.ts | 9 - .../jest-validate/build/defaultConfig.js | 42 - .../jest-validate/build/deprecated.d.ts | 8 - .../jest-validate/build/deprecated.js | 32 - node_modules/jest-validate/build/errors.d.ts | 8 - node_modules/jest-validate/build/errors.js | 75 - .../jest-validate/build/exampleConfig.d.ts | 9 - .../jest-validate/build/exampleConfig.js | 36 - node_modules/jest-validate/build/index.d.ts | 11 - node_modules/jest-validate/build/index.js | 61 - node_modules/jest-validate/build/types.d.ts | 26 - node_modules/jest-validate/build/types.js | 1 - node_modules/jest-validate/build/utils.d.ts | 18 - node_modules/jest-validate/build/utils.js | 129 - .../jest-validate/build/validate.d.ts | 13 - node_modules/jest-validate/build/validate.js | 131 - .../build/validateCLIOptions.d.ts | 14 - .../jest-validate/build/validateCLIOptions.js | 141 - .../jest-validate/build/warnings.d.ts | 8 - node_modules/jest-validate/build/warnings.js | 48 - node_modules/jest-validate/package.json | 37 - node_modules/jest-watcher/LICENSE | 21 - .../jest-watcher/build/BaseWatchPlugin.d.ts | 22 - .../jest-watcher/build/BaseWatchPlugin.js | 52 - .../jest-watcher/build/JestHooks.d.ts | 18 - node_modules/jest-watcher/build/JestHooks.js | 91 - .../jest-watcher/build/PatternPrompt.d.ts | 20 - .../jest-watcher/build/PatternPrompt.js | 113 - .../jest-watcher/build/constants.d.ts | 18 - node_modules/jest-watcher/build/constants.js | 27 - node_modules/jest-watcher/build/index.d.ts | 13 - node_modules/jest-watcher/build/index.js | 75 - .../jest-watcher/build/lib/Prompt.d.ts | 25 - node_modules/jest-watcher/build/lib/Prompt.js | 158 - .../jest-watcher/build/lib/colorize.d.ts | 7 - .../jest-watcher/build/lib/colorize.js | 34 - .../build/lib/formatTestNameByPattern.d.ts | 7 - .../build/lib/formatTestNameByPattern.js | 81 - .../build/lib/patternModeHelpers.d.ts | 9 - .../build/lib/patternModeHelpers.js | 68 - .../jest-watcher/build/lib/scroll.d.ts | 12 - node_modules/jest-watcher/build/lib/scroll.js | 34 - node_modules/jest-watcher/build/types.d.ts | 60 - node_modules/jest-watcher/build/types.js | 1 - node_modules/jest-watcher/package.json | 40 - node_modules/jest-worker/LICENSE | 21 - node_modules/jest-worker/README.md | 247 - node_modules/jest-worker/build/Farm.d.ts | 29 - node_modules/jest-worker/build/Farm.js | 206 - node_modules/jest-worker/build/FifoQueue.d.ts | 18 - node_modules/jest-worker/build/FifoQueue.js | 171 - .../jest-worker/build/PriorityQueue.d.ts | 41 - .../jest-worker/build/PriorityQueue.js | 188 - .../jest-worker/build/WorkerPool.d.ts | 13 - node_modules/jest-worker/build/WorkerPool.js | 49 - .../build/base/BaseWorkerPool.d.ts | 21 - .../jest-worker/build/base/BaseWorkerPool.js | 201 - node_modules/jest-worker/build/index.d.ts | 49 - node_modules/jest-worker/build/index.js | 223 - node_modules/jest-worker/build/types.d.ts | 143 - node_modules/jest-worker/build/types.js | 39 - .../build/workers/ChildProcessWorker.d.ts | 51 - .../build/workers/ChildProcessWorker.js | 333 - .../build/workers/NodeThreadsWorker.d.ts | 34 - .../build/workers/NodeThreadsWorker.js | 344 - .../build/workers/messageParent.d.ts | 8 - .../build/workers/messageParent.js | 38 - .../build/workers/processChild.d.ts | 7 - .../jest-worker/build/workers/processChild.js | 148 - .../build/workers/threadChild.d.ts | 7 - .../jest-worker/build/workers/threadChild.js | 159 - .../node_modules/supports-color/browser.js | 24 - .../node_modules/supports-color/index.js | 152 - .../node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 58 - .../node_modules/supports-color/readme.md | 77 - node_modules/jest-worker/package.json | 38 - node_modules/jest/LICENSE | 21 - node_modules/jest/README.md | 11 - node_modules/jest/bin/jest.js | 13 - node_modules/jest/build/jest.d.ts | 8 - node_modules/jest/build/jest.js | 61 - .../node_modules/.bin/import-local-fixture | 1 - node_modules/jest/node_modules/.bin/jest | 1 - node_modules/jest/package.json | 68 - node_modules/js-tokens/CHANGELOG.md | 151 - node_modules/js-tokens/LICENSE | 21 - node_modules/js-tokens/README.md | 240 - node_modules/js-tokens/index.js | 23 - node_modules/js-tokens/package.json | 30 - node_modules/js-yaml/CHANGELOG.md | 616 - node_modules/js-yaml/LICENSE | 21 - node_modules/js-yaml/README.md | 246 - node_modules/js-yaml/bin/js-yaml.js | 126 - node_modules/js-yaml/dist/js-yaml.js | 3874 -- node_modules/js-yaml/dist/js-yaml.min.js | 2 - node_modules/js-yaml/dist/js-yaml.mjs | 3851 -- node_modules/js-yaml/index.js | 47 - node_modules/js-yaml/lib/common.js | 59 - node_modules/js-yaml/lib/dumper.js | 965 - node_modules/js-yaml/lib/exception.js | 55 - node_modules/js-yaml/lib/loader.js | 1727 - node_modules/js-yaml/lib/schema.js | 121 - node_modules/js-yaml/lib/schema/core.js | 11 - node_modules/js-yaml/lib/schema/default.js | 22 - node_modules/js-yaml/lib/schema/failsafe.js | 17 - node_modules/js-yaml/lib/schema/json.js | 19 - node_modules/js-yaml/lib/snippet.js | 101 - node_modules/js-yaml/lib/type.js | 66 - node_modules/js-yaml/lib/type/binary.js | 125 - node_modules/js-yaml/lib/type/bool.js | 35 - node_modules/js-yaml/lib/type/float.js | 97 - node_modules/js-yaml/lib/type/int.js | 156 - node_modules/js-yaml/lib/type/map.js | 8 - node_modules/js-yaml/lib/type/merge.js | 12 - node_modules/js-yaml/lib/type/null.js | 35 - node_modules/js-yaml/lib/type/omap.js | 44 - node_modules/js-yaml/lib/type/pairs.js | 53 - node_modules/js-yaml/lib/type/seq.js | 8 - node_modules/js-yaml/lib/type/set.js | 29 - node_modules/js-yaml/lib/type/str.js | 8 - node_modules/js-yaml/lib/type/timestamp.js | 88 - node_modules/js-yaml/package.json | 66 - node_modules/jsdom/LICENSE.txt | 22 - node_modules/jsdom/README.md | 522 - node_modules/jsdom/lib/api.js | 333 - .../jsdom/lib/jsdom/browser/Window.js | 933 - .../lib/jsdom/browser/default-stylesheet.js | 789 - .../jsdom/lib/jsdom/browser/js-globals.json | 307 - .../lib/jsdom/browser/not-implemented.js | 13 - .../jsdom/lib/jsdom/browser/parser/html.js | 223 - .../jsdom/lib/jsdom/browser/parser/index.js | 37 - .../jsdom/lib/jsdom/browser/parser/xml.js | 202 - .../browser/resources/async-resource-queue.js | 114 - .../resources/no-op-resource-loader.js | 8 - .../resources/per-document-resource-loader.js | 95 - .../browser/resources/request-manager.js | 33 - .../browser/resources/resource-loader.js | 142 - .../jsdom/browser/resources/resource-queue.js | 142 - node_modules/jsdom/lib/jsdom/level2/style.js | 57 - node_modules/jsdom/lib/jsdom/level3/xpath.js | 1874 - .../living/aborting/AbortController-impl.js | 17 - .../jsdom/living/aborting/AbortSignal-impl.js | 55 - .../jsdom/lib/jsdom/living/attributes.js | 312 - .../lib/jsdom/living/attributes/Attr-impl.js | 60 - .../living/attributes/NamedNodeMap-impl.js | 78 - .../DefaultConstraintValidation-impl.js | 75 - .../ValidityState-impl.js | 66 - .../jsdom/living/cssom/StyleSheetList-impl.js | 38 - .../CustomElementRegistry-impl.js | 265 - .../jsdom/lib/jsdom/living/documents.js | 15 - .../jsdom/living/domparsing/DOMParser-impl.js | 58 - .../jsdom/living/domparsing/InnerHTML-impl.js | 29 - .../living/domparsing/XMLSerializer-impl.js | 18 - .../parse5-adapter-serialization.js | 63 - .../jsdom/living/domparsing/serialization.js | 45 - .../jsdom/living/events/CloseEvent-impl.js | 10 - .../living/events/CompositionEvent-impl.js | 20 - .../jsdom/living/events/CustomEvent-impl.js | 21 - .../jsdom/living/events/ErrorEvent-impl.js | 14 - .../lib/jsdom/living/events/Event-impl.js | 197 - .../living/events/EventModifierMixin-impl.js | 18 - .../jsdom/living/events/EventTarget-impl.js | 403 - .../jsdom/living/events/FocusEvent-impl.js | 9 - .../living/events/HashChangeEvent-impl.js | 14 - .../jsdom/living/events/InputEvent-impl.js | 11 - .../jsdom/living/events/KeyboardEvent-impl.js | 29 - .../jsdom/living/events/MessageEvent-impl.js | 25 - .../jsdom/living/events/MouseEvent-impl.js | 49 - .../living/events/PageTransitionEvent-impl.js | 20 - .../jsdom/living/events/PopStateEvent-impl.js | 9 - .../jsdom/living/events/ProgressEvent-impl.js | 14 - .../jsdom/living/events/StorageEvent-impl.js | 26 - .../jsdom/living/events/TouchEvent-impl.js | 14 - .../lib/jsdom/living/events/UIEvent-impl.js | 59 - .../jsdom/living/events/WheelEvent-impl.js | 12 - .../lib/jsdom/living/fetch/Headers-impl.js | 165 - .../lib/jsdom/living/fetch/header-list.js | 54 - .../lib/jsdom/living/fetch/header-types.js | 103 - .../lib/jsdom/living/file-api/Blob-impl.js | 93 - .../lib/jsdom/living/file-api/File-impl.js | 12 - .../jsdom/living/file-api/FileList-impl.js | 15 - .../jsdom/living/file-api/FileReader-impl.js | 130 - .../jsdom/living/generated/AbortController.js | 130 - .../lib/jsdom/living/generated/AbortSignal.js | 159 - .../jsdom/living/generated/AbstractRange.js | 162 - .../generated/AddEventListenerOptions.js | 44 - .../living/generated/AssignedNodesOptions.js | 28 - .../jsdom/lib/jsdom/living/generated/Attr.js | 215 - .../lib/jsdom/living/generated/BarProp.js | 118 - .../lib/jsdom/living/generated/BinaryType.js | 12 - .../jsdom/lib/jsdom/living/generated/Blob.js | 198 - .../jsdom/living/generated/BlobCallback.js | 34 - .../jsdom/living/generated/BlobPropertyBag.js | 42 - .../jsdom/living/generated/CDATASection.js | 114 - .../living/generated/CanPlayTypeResult.js | 12 - .../jsdom/living/generated/CharacterData.js | 436 - .../lib/jsdom/living/generated/CloseEvent.js | 164 - .../jsdom/living/generated/CloseEventInit.js | 56 - .../lib/jsdom/living/generated/Comment.js | 122 - .../living/generated/CompositionEvent.js | 217 - .../living/generated/CompositionEventInit.js | 32 - .../generated/CustomElementConstructor.js | 38 - .../living/generated/CustomElementRegistry.js | 242 - .../lib/jsdom/living/generated/CustomEvent.js | 200 - .../jsdom/living/generated/CustomEventInit.js | 32 - .../living/generated/DOMImplementation.js | 232 - .../lib/jsdom/living/generated/DOMParser.js | 140 - .../jsdom/living/generated/DOMStringMap.js | 322 - .../jsdom/living/generated/DOMTokenList.js | 531 - .../lib/jsdom/living/generated/Document.js | 3322 -- .../living/generated/DocumentFragment.js | 325 - .../living/generated/DocumentReadyState.js | 12 - .../jsdom/living/generated/DocumentType.js | 246 - .../lib/jsdom/living/generated/Element.js | 1609 - .../generated/ElementCreationOptions.js | 26 - .../generated/ElementDefinitionOptions.js | 26 - .../lib/jsdom/living/generated/EndingType.js | 12 - .../lib/jsdom/living/generated/ErrorEvent.js | 186 - .../jsdom/living/generated/ErrorEventInit.js | 80 - .../jsdom/lib/jsdom/living/generated/Event.js | 390 - .../living/generated/EventHandlerNonNull.js | 40 - .../lib/jsdom/living/generated/EventInit.js | 52 - .../jsdom/living/generated/EventListener.js | 35 - .../living/generated/EventListenerOptions.js | 28 - .../living/generated/EventModifierInit.js | 188 - .../lib/jsdom/living/generated/EventTarget.js | 252 - .../lib/jsdom/living/generated/External.js | 129 - .../jsdom/lib/jsdom/living/generated/File.js | 176 - .../lib/jsdom/living/generated/FileList.js | 305 - .../jsdom/living/generated/FilePropertyBag.js | 30 - .../lib/jsdom/living/generated/FileReader.js | 440 - .../lib/jsdom/living/generated/FocusEvent.js | 142 - .../jsdom/living/generated/FocusEventInit.js | 36 - .../lib/jsdom/living/generated/FormData.js | 421 - .../lib/jsdom/living/generated/Function.js | 46 - .../living/generated/GetRootNodeOptions.js | 28 - .../living/generated/HTMLAnchorElement.js | 915 - .../jsdom/living/generated/HTMLAreaElement.js | 739 - .../living/generated/HTMLAudioElement.js | 115 - .../jsdom/living/generated/HTMLBRElement.js | 153 - .../jsdom/living/generated/HTMLBaseElement.js | 188 - .../jsdom/living/generated/HTMLBodyElement.js | 808 - .../living/generated/HTMLButtonElement.js | 487 - .../living/generated/HTMLCanvasElement.js | 291 - .../jsdom/living/generated/HTMLCollection.js | 358 - .../living/generated/HTMLDListElement.js | 156 - .../jsdom/living/generated/HTMLDataElement.js | 153 - .../living/generated/HTMLDataListElement.js | 128 - .../living/generated/HTMLDetailsElement.js | 156 - .../living/generated/HTMLDialogElement.js | 156 - .../living/generated/HTMLDirectoryElement.js | 156 - .../jsdom/living/generated/HTMLDivElement.js | 153 - .../lib/jsdom/living/generated/HTMLElement.js | 2269 -- .../living/generated/HTMLEmbedElement.js | 346 - .../living/generated/HTMLFieldSetElement.js | 315 - .../jsdom/living/generated/HTMLFontElement.js | 226 - .../jsdom/living/generated/HTMLFormElement.js | 457 - .../living/generated/HTMLFrameElement.js | 459 - .../living/generated/HTMLFrameSetElement.js | 683 - .../jsdom/living/generated/HTMLHRElement.js | 300 - .../jsdom/living/generated/HTMLHeadElement.js | 115 - .../living/generated/HTMLHeadingElement.js | 153 - .../jsdom/living/generated/HTMLHtmlElement.js | 153 - .../living/generated/HTMLIFrameElement.js | 621 - .../living/generated/HTMLImageElement.js | 789 - .../living/generated/HTMLInputElement.js | 1696 - .../jsdom/living/generated/HTMLLIElement.js | 194 - .../living/generated/HTMLLabelElement.js | 175 - .../living/generated/HTMLLegendElement.js | 164 - .../jsdom/living/generated/HTMLLinkElement.js | 496 - .../jsdom/living/generated/HTMLMapElement.js | 166 - .../living/generated/HTMLMarqueeElement.js | 509 - .../living/generated/HTMLMediaElement.js | 802 - .../jsdom/living/generated/HTMLMenuElement.js | 156 - .../jsdom/living/generated/HTMLMetaElement.js | 261 - .../living/generated/HTMLMeterElement.js | 338 - .../jsdom/living/generated/HTMLModElement.js | 202 - .../living/generated/HTMLOListElement.js | 266 - .../living/generated/HTMLObjectElement.js | 839 - .../living/generated/HTMLOptGroupElement.js | 192 - .../living/generated/HTMLOptionElement.js | 351 - .../living/generated/HTMLOptionsCollection.js | 533 - .../living/generated/HTMLOutputElement.js | 371 - .../living/generated/HTMLParagraphElement.js | 153 - .../living/generated/HTMLParamElement.js | 261 - .../living/generated/HTMLPictureElement.js | 115 - .../jsdom/living/generated/HTMLPreElement.js | 158 - .../living/generated/HTMLProgressElement.js | 209 - .../living/generated/HTMLQuoteElement.js | 166 - .../living/generated/HTMLScriptElement.js | 424 - .../living/generated/HTMLSelectElement.js | 957 - .../jsdom/living/generated/HTMLSlotElement.js | 188 - .../living/generated/HTMLSourceElement.js | 310 - .../jsdom/living/generated/HTMLSpanElement.js | 115 - .../living/generated/HTMLStyleElement.js | 200 - .../generated/HTMLTableCaptionElement.js | 153 - .../living/generated/HTMLTableCellElement.js | 635 - .../living/generated/HTMLTableColElement.js | 339 - .../living/generated/HTMLTableElement.js | 725 - .../living/generated/HTMLTableRowElement.js | 386 - .../generated/HTMLTableSectionElement.js | 329 - .../living/generated/HTMLTemplateElement.js | 126 - .../living/generated/HTMLTextAreaElement.js | 1088 - .../jsdom/living/generated/HTMLTimeElement.js | 153 - .../living/generated/HTMLTitleElement.js | 152 - .../living/generated/HTMLTrackElement.js | 334 - .../living/generated/HTMLUListElement.js | 192 - .../living/generated/HTMLUnknownElement.js | 114 - .../living/generated/HTMLVideoElement.js | 310 - .../jsdom/living/generated/HashChangeEvent.js | 153 - .../living/generated/HashChangeEventInit.js | 44 - .../lib/jsdom/living/generated/Headers.js | 379 - .../lib/jsdom/living/generated/History.js | 256 - .../lib/jsdom/living/generated/InputEvent.js | 164 - .../jsdom/living/generated/InputEventInit.js | 59 - .../jsdom/living/generated/KeyboardEvent.js | 413 - .../living/generated/KeyboardEventInit.js | 104 - .../lib/jsdom/living/generated/Location.js | 370 - .../jsdom/living/generated/MessageEvent.js | 301 - .../living/generated/MessageEventInit.js | 94 - .../lib/jsdom/living/generated/MimeType.js | 151 - .../jsdom/living/generated/MimeTypeArray.js | 330 - .../lib/jsdom/living/generated/MouseEvent.js | 463 - .../jsdom/living/generated/MouseEventInit.js | 108 - .../living/generated/MutationCallback.js | 38 - .../living/generated/MutationObserver.js | 171 - .../living/generated/MutationObserverInit.js | 103 - .../jsdom/living/generated/MutationRecord.js | 216 - .../jsdom/living/generated/NamedNodeMap.js | 522 - .../lib/jsdom/living/generated/Navigator.js | 297 - .../jsdom/lib/jsdom/living/generated/Node.js | 736 - .../lib/jsdom/living/generated/NodeFilter.js | 74 - .../jsdom/living/generated/NodeIterator.js | 196 - .../lib/jsdom/living/generated/NodeList.js | 309 - .../OnBeforeUnloadEventHandlerNonNull.js | 46 - .../generated/OnErrorEventHandlerNonNull.js | 60 - .../living/generated/PageTransitionEvent.js | 146 - .../generated/PageTransitionEventInit.js | 32 - .../lib/jsdom/living/generated/Performance.js | 145 - .../lib/jsdom/living/generated/Plugin.js | 361 - .../lib/jsdom/living/generated/PluginArray.js | 340 - .../jsdom/living/generated/PopStateEvent.js | 142 - .../living/generated/PopStateEventInit.js | 32 - .../living/generated/ProcessingInstruction.js | 125 - .../jsdom/living/generated/ProgressEvent.js | 166 - .../living/generated/ProgressEventInit.js | 56 - .../jsdom/lib/jsdom/living/generated/Range.js | 619 - .../living/generated/SVGAnimatedString.js | 143 - .../living/generated/SVGBoundingBoxOptions.js | 64 - .../lib/jsdom/living/generated/SVGElement.js | 1986 - .../living/generated/SVGGraphicsElement.js | 144 - .../lib/jsdom/living/generated/SVGNumber.js | 130 - .../jsdom/living/generated/SVGSVGElement.js | 681 - .../jsdom/living/generated/SVGStringList.js | 504 - .../jsdom/living/generated/SVGTitleElement.js | 114 - .../lib/jsdom/living/generated/Screen.js | 173 - .../jsdom/living/generated/ScrollBehavior.js | 12 - .../living/generated/ScrollIntoViewOptions.js | 45 - .../living/generated/ScrollLogicalPosition.js | 12 - .../jsdom/living/generated/ScrollOptions.js | 30 - .../living/generated/ScrollRestoration.js | 12 - .../lib/jsdom/living/generated/Selection.js | 527 - .../jsdom/living/generated/SelectionMode.js | 12 - .../lib/jsdom/living/generated/ShadowRoot.js | 185 - .../jsdom/living/generated/ShadowRootInit.js | 30 - .../jsdom/living/generated/ShadowRootMode.js | 12 - .../lib/jsdom/living/generated/StaticRange.js | 126 - .../jsdom/living/generated/StaticRangeInit.js | 66 - .../lib/jsdom/living/generated/Storage.js | 389 - .../jsdom/living/generated/StorageEvent.js | 305 - .../living/generated/StorageEventInit.js | 93 - .../jsdom/living/generated/StyleSheetList.js | 307 - .../jsdom/living/generated/SupportedType.js | 18 - .../jsdom/lib/jsdom/living/generated/Text.js | 169 - .../jsdom/living/generated/TextTrackKind.js | 12 - .../lib/jsdom/living/generated/TouchEvent.js | 208 - .../jsdom/living/generated/TouchEventInit.js | 89 - .../lib/jsdom/living/generated/TreeWalker.js | 236 - .../lib/jsdom/living/generated/UIEvent.js | 235 - .../lib/jsdom/living/generated/UIEventInit.js | 59 - .../jsdom/living/generated/ValidityState.js | 228 - .../jsdom/living/generated/VisibilityState.js | 12 - .../jsdom/living/generated/VoidFunction.js | 30 - .../lib/jsdom/living/generated/WebSocket.js | 444 - .../lib/jsdom/living/generated/WheelEvent.js | 183 - .../jsdom/living/generated/WheelEventInit.js | 68 - .../lib/jsdom/living/generated/XMLDocument.js | 114 - .../jsdom/living/generated/XMLHttpRequest.js | 617 - .../generated/XMLHttpRequestEventTarget.js | 341 - .../generated/XMLHttpRequestResponseType.js | 12 - .../living/generated/XMLHttpRequestUpload.js | 114 - .../jsdom/living/generated/XMLSerializer.js | 133 - .../jsdom/lib/jsdom/living/generated/utils.js | 141 - .../lib/jsdom/living/helpers/agent-factory.js | 15 - .../lib/jsdom/living/helpers/binary-data.js | 9 - .../jsdom/living/helpers/create-element.js | 320 - .../living/helpers/create-event-accessor.js | 188 - .../jsdom/living/helpers/custom-elements.js | 270 - .../jsdom/living/helpers/dates-and-times.js | 270 - .../jsdom/lib/jsdom/living/helpers/details.js | 15 - .../jsdom/living/helpers/document-base-url.js | 54 - .../jsdom/lib/jsdom/living/helpers/events.js | 24 - .../lib/jsdom/living/helpers/focusing.js | 104 - .../lib/jsdom/living/helpers/form-controls.js | 306 - .../jsdom/living/helpers/html-constructor.js | 78 - .../lib/jsdom/living/helpers/http-request.js | 254 - .../living/helpers/internal-constants.js | 12 - .../jsdom/living/helpers/iterable-weak-set.js | 48 - .../jsdom/lib/jsdom/living/helpers/json.js | 12 - .../living/helpers/mutation-observers.js | 198 - .../lib/jsdom/living/helpers/namespaces.js | 15 - .../jsdom/lib/jsdom/living/helpers/node.js | 68 - .../living/helpers/number-and-date-inputs.js | 195 - .../lib/jsdom/living/helpers/ordered-set.js | 104 - .../living/helpers/runtime-script-errors.js | 76 - .../lib/jsdom/living/helpers/selectors.js | 47 - .../lib/jsdom/living/helpers/shadow-dom.js | 285 - .../jsdom/lib/jsdom/living/helpers/strings.js | 148 - .../lib/jsdom/living/helpers/style-rules.js | 114 - .../lib/jsdom/living/helpers/stylesheets.js | 113 - .../jsdom/living/helpers/svg/basic-types.js | 41 - .../lib/jsdom/living/helpers/svg/render.js | 46 - .../jsdom/lib/jsdom/living/helpers/text.js | 19 - .../lib/jsdom/living/helpers/traversal.js | 72 - .../jsdom/living/helpers/validate-names.js | 75 - .../jsdom/living/hr-time/Performance-impl.js | 25 - .../jsdom/lib/jsdom/living/interfaces.js | 217 - .../MutationObserver-impl.js | 95 - .../mutation-observer/MutationRecord-impl.js | 37 - .../jsdom/living/named-properties-window.js | 141 - .../jsdom/living/navigator/MimeType-impl.js | 3 - .../living/navigator/MimeTypeArray-impl.js | 21 - .../jsdom/living/navigator/Navigator-impl.js | 29 - .../NavigatorConcurrentHardware-impl.js | 8 - .../living/navigator/NavigatorCookies-impl.js | 7 - .../living/navigator/NavigatorID-impl.js | 37 - .../navigator/NavigatorLanguage-impl.js | 9 - .../living/navigator/NavigatorOnLine-impl.js | 7 - .../living/navigator/NavigatorPlugins-impl.js | 8 - .../lib/jsdom/living/navigator/Plugin-impl.js | 3 - .../living/navigator/PluginArray-impl.js | 23 - .../jsdom/living/node-document-position.js | 10 - .../jsdom/lib/jsdom/living/node-type.js | 16 - node_modules/jsdom/lib/jsdom/living/node.js | 331 - .../jsdom/living/nodes/CDATASection-impl.js | 16 - .../jsdom/living/nodes/CharacterData-impl.js | 118 - .../lib/jsdom/living/nodes/ChildNode-impl.js | 80 - .../lib/jsdom/living/nodes/Comment-impl.js | 20 - .../living/nodes/DOMImplementation-impl.js | 120 - .../jsdom/living/nodes/DOMStringMap-impl.js | 64 - .../jsdom/living/nodes/DOMTokenList-impl.js | 171 - .../lib/jsdom/living/nodes/Document-impl.js | 946 - .../living/nodes/DocumentFragment-impl.js | 44 - .../living/nodes/DocumentOrShadowRoot-impl.js | 28 - .../jsdom/living/nodes/DocumentType-impl.js | 24 - .../lib/jsdom/living/nodes/Element-impl.js | 578 - .../nodes/ElementCSSInlineStyle-impl.js | 25 - .../nodes/ElementContentEditable-impl.js | 7 - .../living/nodes/GlobalEventHandlers-impl.js | 95 - .../living/nodes/HTMLAnchorElement-impl.js | 50 - .../living/nodes/HTMLAreaElement-impl.js | 43 - .../living/nodes/HTMLAudioElement-impl.js | 9 - .../jsdom/living/nodes/HTMLBRElement-impl.js | 9 - .../living/nodes/HTMLBaseElement-impl.js | 27 - .../living/nodes/HTMLBodyElement-impl.js | 17 - .../living/nodes/HTMLButtonElement-impl.js | 79 - .../living/nodes/HTMLCanvasElement-impl.js | 130 - .../jsdom/living/nodes/HTMLCollection-impl.js | 96 - .../living/nodes/HTMLDListElement-impl.js | 9 - .../living/nodes/HTMLDataElement-impl.js | 9 - .../living/nodes/HTMLDataListElement-impl.js | 20 - .../living/nodes/HTMLDetailsElement-impl.js | 35 - .../living/nodes/HTMLDialogElement-impl.js | 9 - .../living/nodes/HTMLDirectoryElement-impl.js | 9 - .../jsdom/living/nodes/HTMLDivElement-impl.js | 9 - .../jsdom/living/nodes/HTMLElement-impl.js | 160 - .../living/nodes/HTMLEmbedElement-impl.js | 8 - .../living/nodes/HTMLFieldSetElement-impl.js | 43 - .../living/nodes/HTMLFontElement-impl.js | 9 - .../living/nodes/HTMLFormElement-impl.js | 226 - .../living/nodes/HTMLFrameElement-impl.js | 261 - .../living/nodes/HTMLFrameSetElement-impl.js | 17 - .../jsdom/living/nodes/HTMLHRElement-impl.js | 9 - .../living/nodes/HTMLHeadElement-impl.js | 9 - .../living/nodes/HTMLHeadingElement-impl.js | 9 - .../living/nodes/HTMLHtmlElement-impl.js | 9 - .../nodes/HTMLHyperlinkElementUtils-impl.js | 371 - .../living/nodes/HTMLIFrameElement-impl.js | 9 - .../living/nodes/HTMLImageElement-impl.js | 132 - .../living/nodes/HTMLInputElement-impl.js | 1128 - .../jsdom/living/nodes/HTMLLIElement-impl.js | 9 - .../living/nodes/HTMLLabelElement-impl.js | 94 - .../living/nodes/HTMLLegendElement-impl.js | 18 - .../living/nodes/HTMLLinkElement-impl.js | 101 - .../jsdom/living/nodes/HTMLMapElement-impl.js | 13 - .../living/nodes/HTMLMarqueeElement-impl.js | 9 - .../living/nodes/HTMLMediaElement-impl.js | 138 - .../living/nodes/HTMLMenuElement-impl.js | 9 - .../living/nodes/HTMLMetaElement-impl.js | 9 - .../living/nodes/HTMLMeterElement-impl.js | 180 - .../jsdom/living/nodes/HTMLModElement-impl.js | 9 - .../living/nodes/HTMLOListElement-impl.js | 22 - .../living/nodes/HTMLObjectElement-impl.js | 26 - .../living/nodes/HTMLOptGroupElement-impl.js | 9 - .../living/nodes/HTMLOptionElement-impl.js | 146 - .../nodes/HTMLOptionsCollection-impl.js | 110 - .../living/nodes/HTMLOrSVGElement-impl.js | 85 - .../living/nodes/HTMLOutputElement-impl.js | 88 - .../living/nodes/HTMLParagraphElement-impl.js | 9 - .../living/nodes/HTMLParamElement-impl.js | 9 - .../living/nodes/HTMLPictureElement-impl.js | 9 - .../jsdom/living/nodes/HTMLPreElement-impl.js | 9 - .../living/nodes/HTMLProgressElement-impl.js | 74 - .../living/nodes/HTMLQuoteElement-impl.js | 9 - .../living/nodes/HTMLScriptElement-impl.js | 265 - .../living/nodes/HTMLSelectElement-impl.js | 283 - .../living/nodes/HTMLSlotElement-impl.js | 59 - .../living/nodes/HTMLSourceElement-impl.js | 8 - .../living/nodes/HTMLSpanElement-impl.js | 9 - .../living/nodes/HTMLStyleElement-impl.js | 74 - .../nodes/HTMLTableCaptionElement-impl.js | 9 - .../living/nodes/HTMLTableCellElement-impl.js | 73 - .../living/nodes/HTMLTableColElement-impl.js | 9 - .../living/nodes/HTMLTableElement-impl.js | 236 - .../living/nodes/HTMLTableRowElement-impl.js | 88 - .../nodes/HTMLTableSectionElement-impl.js | 61 - .../living/nodes/HTMLTemplateElement-impl.js | 67 - .../living/nodes/HTMLTextAreaElement-impl.js | 272 - .../living/nodes/HTMLTimeElement-impl.js | 9 - .../living/nodes/HTMLTitleElement-impl.js | 18 - .../living/nodes/HTMLTrackElement-impl.js | 13 - .../living/nodes/HTMLUListElement-impl.js | 9 - .../living/nodes/HTMLUnknownElement-impl.js | 9 - .../living/nodes/HTMLVideoElement-impl.js | 17 - .../lib/jsdom/living/nodes/LinkStyle-impl.js | 2 - .../jsdom/lib/jsdom/living/nodes/Node-impl.js | 1165 - .../lib/jsdom/living/nodes/NodeList-impl.js | 43 - .../nodes/NonDocumentTypeChildNode-impl.js | 28 - .../living/nodes/NonElementParentNode-impl.js | 11 - .../lib/jsdom/living/nodes/ParentNode-impl.js | 91 - .../nodes/ProcessingInstruction-impl.js | 22 - .../lib/jsdom/living/nodes/SVGElement-impl.js | 64 - .../living/nodes/SVGGraphicsElement-impl.js | 16 - .../jsdom/living/nodes/SVGSVGElement-impl.js | 42 - .../lib/jsdom/living/nodes/SVGTests-impl.js | 42 - .../living/nodes/SVGTitleElement-impl.js | 9 - .../lib/jsdom/living/nodes/ShadowRoot-impl.js | 40 - .../lib/jsdom/living/nodes/Slotable-impl.js | 48 - .../jsdom/lib/jsdom/living/nodes/Text-impl.js | 96 - .../living/nodes/WindowEventHandlers-impl.js | 52 - .../jsdom/living/nodes/XMLDocument-impl.js | 4 - .../jsdom/lib/jsdom/living/post-message.js | 39 - .../jsdom/living/range/AbstractRange-impl.js | 43 - .../lib/jsdom/living/range/Range-impl.js | 889 - .../jsdom/living/range/StaticRange-impl.js | 39 - .../lib/jsdom/living/range/boundary-point.js | 47 - .../jsdom/living/selection/Selection-impl.js | 342 - .../living/svg/SVGAnimatedString-impl.js | 38 - .../jsdom/lib/jsdom/living/svg/SVGListBase.js | 195 - .../lib/jsdom/living/svg/SVGNumber-impl.js | 48 - .../jsdom/living/svg/SVGStringList-impl.js | 16 - .../living/traversal/NodeIterator-impl.js | 127 - .../jsdom/living/traversal/TreeWalker-impl.js | 217 - .../lib/jsdom/living/traversal/helpers.js | 44 - .../websockets/WebSocket-impl-browser.js | 175 - .../jsdom/living/websockets/WebSocket-impl.js | 328 - .../jsdom/living/webstorage/Storage-impl.js | 102 - .../lib/jsdom/living/window/BarProp-impl.js | 10 - .../lib/jsdom/living/window/External-impl.js | 9 - .../lib/jsdom/living/window/History-impl.js | 134 - .../lib/jsdom/living/window/Location-impl.js | 238 - .../lib/jsdom/living/window/Screen-impl.js | 13 - .../lib/jsdom/living/window/SessionHistory.js | 163 - .../lib/jsdom/living/window/navigation.js | 84 - .../lib/jsdom/living/xhr/FormData-impl.js | 171 - .../jsdom/living/xhr/XMLHttpRequest-impl.js | 1023 - .../xhr/XMLHttpRequestEventTarget-impl.js | 17 - .../living/xhr/XMLHttpRequestUpload-impl.js | 4 - .../lib/jsdom/living/xhr/xhr-sync-worker.js | 60 - .../jsdom/lib/jsdom/living/xhr/xhr-utils.js | 438 - .../lib/jsdom/named-properties-tracker.js | 158 - node_modules/jsdom/lib/jsdom/utils.js | 165 - .../jsdom/lib/jsdom/virtual-console.js | 34 - node_modules/jsdom/lib/jsdom/vm-shim.js | 106 - node_modules/jsdom/node_modules/.bin/acorn | 1 - .../jsdom/node_modules/.bin/escodegen | 1 - .../jsdom/node_modules/.bin/esgenerate | 1 - node_modules/jsdom/package.json | 116 - node_modules/jsesc/LICENSE-MIT.txt | 20 - node_modules/jsesc/README.md | 421 - node_modules/jsesc/bin/jsesc | 148 - node_modules/jsesc/jsesc.js | 329 - node_modules/jsesc/man/jsesc.1 | 94 - node_modules/jsesc/package.json | 54 - .../CHANGELOG.md | 50 - .../json-parse-even-better-errors/LICENSE.md | 25 - .../json-parse-even-better-errors/README.md | 96 - .../json-parse-even-better-errors/index.js | 121 - .../package.json | 33 - node_modules/json5/CHANGELOG.md | 362 - node_modules/json5/LICENSE.md | 23 - node_modules/json5/README.md | 234 - node_modules/json5/dist/index.js | 1710 - node_modules/json5/dist/index.min.js | 1 - node_modules/json5/dist/index.min.mjs | 1 - node_modules/json5/dist/index.mjs | 1399 - node_modules/json5/lib/cli.js | 112 - node_modules/json5/lib/index.d.ts | 4 - node_modules/json5/lib/index.js | 9 - node_modules/json5/lib/parse.d.ts | 15 - node_modules/json5/lib/parse.js | 1087 - node_modules/json5/lib/register.js | 13 - node_modules/json5/lib/require.js | 4 - node_modules/json5/lib/stringify.d.ts | 89 - node_modules/json5/lib/stringify.js | 261 - node_modules/json5/lib/unicode.d.ts | 3 - node_modules/json5/lib/unicode.js | 4 - node_modules/json5/lib/util.d.ts | 5 - node_modules/json5/lib/util.js | 35 - node_modules/json5/package.json | 72 - node_modules/kleur/index.js | 104 - node_modules/kleur/kleur.d.ts | 45 - node_modules/kleur/license | 21 - node_modules/kleur/package.json | 35 - node_modules/kleur/readme.md | 172 - node_modules/leven/index.d.ts | 21 - node_modules/leven/index.js | 77 - node_modules/leven/license | 9 - node_modules/leven/package.json | 57 - node_modules/leven/readme.md | 50 - node_modules/levn/LICENSE | 22 - node_modules/levn/README.md | 196 - node_modules/levn/lib/cast.js | 298 - node_modules/levn/lib/coerce.js | 285 - node_modules/levn/lib/index.js | 22 - node_modules/levn/lib/parse-string.js | 113 - node_modules/levn/lib/parse.js | 102 - node_modules/levn/package.json | 47 - node_modules/lines-and-columns/LICENSE | 21 - node_modules/lines-and-columns/README.md | 33 - .../lines-and-columns/build/index.d.ts | 13 - node_modules/lines-and-columns/build/index.js | 62 - node_modules/lines-and-columns/package.json | 49 - node_modules/locate-path/index.d.ts | 83 - node_modules/locate-path/index.js | 65 - node_modules/locate-path/license | 9 - node_modules/locate-path/package.json | 45 - node_modules/locate-path/readme.md | 122 - node_modules/lodash/LICENSE | 47 - node_modules/lodash/README.md | 39 - node_modules/lodash/_DataView.js | 7 - node_modules/lodash/_Hash.js | 32 - node_modules/lodash/_LazyWrapper.js | 28 - node_modules/lodash/_ListCache.js | 32 - node_modules/lodash/_LodashWrapper.js | 22 - node_modules/lodash/_Map.js | 7 - node_modules/lodash/_MapCache.js | 32 - node_modules/lodash/_Promise.js | 7 - node_modules/lodash/_Set.js | 7 - node_modules/lodash/_SetCache.js | 27 - node_modules/lodash/_Stack.js | 27 - node_modules/lodash/_Symbol.js | 6 - node_modules/lodash/_Uint8Array.js | 6 - node_modules/lodash/_WeakMap.js | 7 - node_modules/lodash/_apply.js | 21 - node_modules/lodash/_arrayAggregator.js | 22 - node_modules/lodash/_arrayEach.js | 22 - node_modules/lodash/_arrayEachRight.js | 21 - node_modules/lodash/_arrayEvery.js | 23 - node_modules/lodash/_arrayFilter.js | 25 - node_modules/lodash/_arrayIncludes.js | 17 - node_modules/lodash/_arrayIncludesWith.js | 22 - node_modules/lodash/_arrayLikeKeys.js | 49 - node_modules/lodash/_arrayMap.js | 21 - node_modules/lodash/_arrayPush.js | 20 - node_modules/lodash/_arrayReduce.js | 26 - node_modules/lodash/_arrayReduceRight.js | 24 - node_modules/lodash/_arraySample.js | 15 - node_modules/lodash/_arraySampleSize.js | 17 - node_modules/lodash/_arrayShuffle.js | 15 - node_modules/lodash/_arraySome.js | 23 - node_modules/lodash/_asciiSize.js | 12 - node_modules/lodash/_asciiToArray.js | 12 - node_modules/lodash/_asciiWords.js | 15 - node_modules/lodash/_assignMergeValue.js | 20 - node_modules/lodash/_assignValue.js | 28 - node_modules/lodash/_assocIndexOf.js | 21 - node_modules/lodash/_baseAggregator.js | 21 - node_modules/lodash/_baseAssign.js | 17 - node_modules/lodash/_baseAssignIn.js | 17 - node_modules/lodash/_baseAssignValue.js | 25 - node_modules/lodash/_baseAt.js | 23 - node_modules/lodash/_baseClamp.js | 22 - node_modules/lodash/_baseClone.js | 166 - node_modules/lodash/_baseConforms.js | 18 - node_modules/lodash/_baseConformsTo.js | 27 - node_modules/lodash/_baseCreate.js | 30 - node_modules/lodash/_baseDelay.js | 21 - node_modules/lodash/_baseDifference.js | 67 - node_modules/lodash/_baseEach.js | 14 - node_modules/lodash/_baseEachRight.js | 14 - node_modules/lodash/_baseEvery.js | 21 - node_modules/lodash/_baseExtremum.js | 32 - node_modules/lodash/_baseFill.js | 32 - node_modules/lodash/_baseFilter.js | 21 - node_modules/lodash/_baseFindIndex.js | 24 - node_modules/lodash/_baseFindKey.js | 23 - node_modules/lodash/_baseFlatten.js | 38 - node_modules/lodash/_baseFor.js | 16 - node_modules/lodash/_baseForOwn.js | 16 - node_modules/lodash/_baseForOwnRight.js | 16 - node_modules/lodash/_baseForRight.js | 15 - node_modules/lodash/_baseFunctions.js | 19 - node_modules/lodash/_baseGet.js | 24 - node_modules/lodash/_baseGetAllKeys.js | 20 - node_modules/lodash/_baseGetTag.js | 28 - node_modules/lodash/_baseGt.js | 14 - node_modules/lodash/_baseHas.js | 19 - node_modules/lodash/_baseHasIn.js | 13 - node_modules/lodash/_baseInRange.js | 18 - node_modules/lodash/_baseIndexOf.js | 20 - node_modules/lodash/_baseIndexOfWith.js | 23 - node_modules/lodash/_baseIntersection.js | 74 - node_modules/lodash/_baseInverter.js | 21 - node_modules/lodash/_baseInvoke.js | 24 - node_modules/lodash/_baseIsArguments.js | 18 - node_modules/lodash/_baseIsArrayBuffer.js | 17 - node_modules/lodash/_baseIsDate.js | 18 - node_modules/lodash/_baseIsEqual.js | 28 - node_modules/lodash/_baseIsEqualDeep.js | 83 - node_modules/lodash/_baseIsMap.js | 18 - node_modules/lodash/_baseIsMatch.js | 62 - node_modules/lodash/_baseIsNaN.js | 12 - node_modules/lodash/_baseIsNative.js | 47 - node_modules/lodash/_baseIsRegExp.js | 18 - node_modules/lodash/_baseIsSet.js | 18 - node_modules/lodash/_baseIsTypedArray.js | 60 - node_modules/lodash/_baseIteratee.js | 31 - node_modules/lodash/_baseKeys.js | 30 - node_modules/lodash/_baseKeysIn.js | 33 - node_modules/lodash/_baseLodash.js | 10 - node_modules/lodash/_baseLt.js | 14 - node_modules/lodash/_baseMap.js | 22 - node_modules/lodash/_baseMatches.js | 22 - node_modules/lodash/_baseMatchesProperty.js | 33 - node_modules/lodash/_baseMean.js | 20 - node_modules/lodash/_baseMerge.js | 42 - node_modules/lodash/_baseMergeDeep.js | 94 - node_modules/lodash/_baseNth.js | 20 - node_modules/lodash/_baseOrderBy.js | 49 - node_modules/lodash/_basePick.js | 19 - node_modules/lodash/_basePickBy.js | 30 - node_modules/lodash/_baseProperty.js | 14 - node_modules/lodash/_basePropertyDeep.js | 16 - node_modules/lodash/_basePropertyOf.js | 14 - node_modules/lodash/_basePullAll.js | 51 - node_modules/lodash/_basePullAt.js | 37 - node_modules/lodash/_baseRandom.js | 18 - node_modules/lodash/_baseRange.js | 28 - node_modules/lodash/_baseReduce.js | 23 - node_modules/lodash/_baseRepeat.js | 35 - node_modules/lodash/_baseRest.js | 17 - node_modules/lodash/_baseSample.js | 15 - node_modules/lodash/_baseSampleSize.js | 18 - node_modules/lodash/_baseSet.js | 51 - node_modules/lodash/_baseSetData.js | 17 - node_modules/lodash/_baseSetToString.js | 22 - node_modules/lodash/_baseShuffle.js | 15 - node_modules/lodash/_baseSlice.js | 31 - node_modules/lodash/_baseSome.js | 22 - node_modules/lodash/_baseSortBy.js | 21 - node_modules/lodash/_baseSortedIndex.js | 42 - node_modules/lodash/_baseSortedIndexBy.js | 67 - node_modules/lodash/_baseSortedUniq.js | 30 - node_modules/lodash/_baseSum.js | 24 - node_modules/lodash/_baseTimes.js | 20 - node_modules/lodash/_baseToNumber.js | 24 - node_modules/lodash/_baseToPairs.js | 18 - node_modules/lodash/_baseToString.js | 37 - node_modules/lodash/_baseTrim.js | 19 - node_modules/lodash/_baseUnary.js | 14 - node_modules/lodash/_baseUniq.js | 72 - node_modules/lodash/_baseUnset.js | 20 - node_modules/lodash/_baseUpdate.js | 18 - node_modules/lodash/_baseValues.js | 19 - node_modules/lodash/_baseWhile.js | 26 - node_modules/lodash/_baseWrapperValue.js | 25 - node_modules/lodash/_baseXor.js | 36 - node_modules/lodash/_baseZipObject.js | 23 - node_modules/lodash/_cacheHas.js | 13 - node_modules/lodash/_castArrayLikeObject.js | 14 - node_modules/lodash/_castFunction.js | 14 - node_modules/lodash/_castPath.js | 21 - node_modules/lodash/_castRest.js | 14 - node_modules/lodash/_castSlice.js | 18 - node_modules/lodash/_charsEndIndex.js | 19 - node_modules/lodash/_charsStartIndex.js | 20 - node_modules/lodash/_cloneArrayBuffer.js | 16 - node_modules/lodash/_cloneBuffer.js | 35 - node_modules/lodash/_cloneDataView.js | 16 - node_modules/lodash/_cloneRegExp.js | 17 - node_modules/lodash/_cloneSymbol.js | 18 - node_modules/lodash/_cloneTypedArray.js | 16 - node_modules/lodash/_compareAscending.js | 41 - node_modules/lodash/_compareMultiple.js | 44 - node_modules/lodash/_composeArgs.js | 39 - node_modules/lodash/_composeArgsRight.js | 41 - node_modules/lodash/_copyArray.js | 20 - node_modules/lodash/_copyObject.js | 40 - node_modules/lodash/_copySymbols.js | 16 - node_modules/lodash/_copySymbolsIn.js | 16 - node_modules/lodash/_coreJsData.js | 6 - node_modules/lodash/_countHolders.js | 21 - node_modules/lodash/_createAggregator.js | 23 - node_modules/lodash/_createAssigner.js | 37 - node_modules/lodash/_createBaseEach.js | 32 - node_modules/lodash/_createBaseFor.js | 25 - node_modules/lodash/_createBind.js | 28 - node_modules/lodash/_createCaseFirst.js | 33 - node_modules/lodash/_createCompounder.js | 24 - node_modules/lodash/_createCtor.js | 37 - node_modules/lodash/_createCurry.js | 46 - node_modules/lodash/_createFind.js | 25 - node_modules/lodash/_createFlow.js | 78 - node_modules/lodash/_createHybrid.js | 92 - node_modules/lodash/_createInverter.js | 17 - node_modules/lodash/_createMathOperation.js | 38 - node_modules/lodash/_createOver.js | 27 - node_modules/lodash/_createPadding.js | 33 - node_modules/lodash/_createPartial.js | 43 - node_modules/lodash/_createRange.js | 30 - node_modules/lodash/_createRecurry.js | 56 - .../lodash/_createRelationalOperation.js | 20 - node_modules/lodash/_createRound.js | 35 - node_modules/lodash/_createSet.js | 19 - node_modules/lodash/_createToPairs.js | 30 - node_modules/lodash/_createWrap.js | 106 - .../lodash/_customDefaultsAssignIn.js | 29 - node_modules/lodash/_customDefaultsMerge.js | 28 - node_modules/lodash/_customOmitClone.js | 16 - node_modules/lodash/_deburrLetter.js | 71 - node_modules/lodash/_defineProperty.js | 11 - node_modules/lodash/_equalArrays.js | 84 - node_modules/lodash/_equalByTag.js | 112 - node_modules/lodash/_equalObjects.js | 90 - node_modules/lodash/_escapeHtmlChar.js | 21 - node_modules/lodash/_escapeStringChar.js | 22 - node_modules/lodash/_flatRest.js | 16 - node_modules/lodash/_freeGlobal.js | 4 - node_modules/lodash/_getAllKeys.js | 16 - node_modules/lodash/_getAllKeysIn.js | 17 - node_modules/lodash/_getData.js | 15 - node_modules/lodash/_getFuncName.js | 31 - node_modules/lodash/_getHolder.js | 13 - node_modules/lodash/_getMapData.js | 18 - node_modules/lodash/_getMatchData.js | 24 - node_modules/lodash/_getNative.js | 17 - node_modules/lodash/_getPrototype.js | 6 - node_modules/lodash/_getRawTag.js | 46 - node_modules/lodash/_getSymbols.js | 30 - node_modules/lodash/_getSymbolsIn.js | 25 - node_modules/lodash/_getTag.js | 58 - node_modules/lodash/_getValue.js | 13 - node_modules/lodash/_getView.js | 33 - node_modules/lodash/_getWrapDetails.js | 17 - node_modules/lodash/_hasPath.js | 39 - node_modules/lodash/_hasUnicode.js | 26 - node_modules/lodash/_hasUnicodeWord.js | 15 - node_modules/lodash/_hashClear.js | 15 - node_modules/lodash/_hashDelete.js | 17 - node_modules/lodash/_hashGet.js | 30 - node_modules/lodash/_hashHas.js | 23 - node_modules/lodash/_hashSet.js | 23 - node_modules/lodash/_initCloneArray.js | 26 - node_modules/lodash/_initCloneByTag.js | 77 - node_modules/lodash/_initCloneObject.js | 18 - node_modules/lodash/_insertWrapDetails.js | 23 - node_modules/lodash/_isFlattenable.js | 20 - node_modules/lodash/_isIndex.js | 25 - node_modules/lodash/_isIterateeCall.js | 30 - node_modules/lodash/_isKey.js | 29 - node_modules/lodash/_isKeyable.js | 15 - node_modules/lodash/_isLaziable.js | 28 - node_modules/lodash/_isMaskable.js | 14 - node_modules/lodash/_isMasked.js | 20 - node_modules/lodash/_isPrototype.js | 18 - node_modules/lodash/_isStrictComparable.js | 15 - node_modules/lodash/_iteratorToArray.js | 18 - node_modules/lodash/_lazyClone.js | 23 - node_modules/lodash/_lazyReverse.js | 23 - node_modules/lodash/_lazyValue.js | 69 - node_modules/lodash/_listCacheClear.js | 13 - node_modules/lodash/_listCacheDelete.js | 35 - node_modules/lodash/_listCacheGet.js | 19 - node_modules/lodash/_listCacheHas.js | 16 - node_modules/lodash/_listCacheSet.js | 26 - node_modules/lodash/_mapCacheClear.js | 21 - node_modules/lodash/_mapCacheDelete.js | 18 - node_modules/lodash/_mapCacheGet.js | 16 - node_modules/lodash/_mapCacheHas.js | 16 - node_modules/lodash/_mapCacheSet.js | 22 - node_modules/lodash/_mapToArray.js | 18 - .../lodash/_matchesStrictComparable.js | 20 - node_modules/lodash/_memoizeCapped.js | 26 - node_modules/lodash/_mergeData.js | 90 - node_modules/lodash/_metaMap.js | 6 - node_modules/lodash/_nativeCreate.js | 6 - node_modules/lodash/_nativeKeys.js | 6 - node_modules/lodash/_nativeKeysIn.js | 20 - node_modules/lodash/_nodeUtil.js | 30 - node_modules/lodash/_objectToString.js | 22 - node_modules/lodash/_overArg.js | 15 - node_modules/lodash/_overRest.js | 36 - node_modules/lodash/_parent.js | 16 - node_modules/lodash/_reEscape.js | 4 - node_modules/lodash/_reEvaluate.js | 4 - node_modules/lodash/_reInterpolate.js | 4 - node_modules/lodash/_realNames.js | 4 - node_modules/lodash/_reorder.js | 29 - node_modules/lodash/_replaceHolders.js | 29 - node_modules/lodash/_root.js | 9 - node_modules/lodash/_safeGet.js | 21 - node_modules/lodash/_setCacheAdd.js | 19 - node_modules/lodash/_setCacheHas.js | 14 - node_modules/lodash/_setData.js | 20 - node_modules/lodash/_setToArray.js | 18 - node_modules/lodash/_setToPairs.js | 18 - node_modules/lodash/_setToString.js | 14 - node_modules/lodash/_setWrapToString.js | 21 - node_modules/lodash/_shortOut.js | 37 - node_modules/lodash/_shuffleSelf.js | 28 - node_modules/lodash/_stackClear.js | 15 - node_modules/lodash/_stackDelete.js | 18 - node_modules/lodash/_stackGet.js | 14 - node_modules/lodash/_stackHas.js | 14 - node_modules/lodash/_stackSet.js | 34 - node_modules/lodash/_strictIndexOf.js | 23 - node_modules/lodash/_strictLastIndexOf.js | 21 - node_modules/lodash/_stringSize.js | 18 - node_modules/lodash/_stringToArray.js | 18 - node_modules/lodash/_stringToPath.js | 27 - node_modules/lodash/_toKey.js | 21 - node_modules/lodash/_toSource.js | 26 - node_modules/lodash/_trimmedEndIndex.js | 19 - node_modules/lodash/_unescapeHtmlChar.js | 21 - node_modules/lodash/_unicodeSize.js | 44 - node_modules/lodash/_unicodeToArray.js | 40 - node_modules/lodash/_unicodeWords.js | 69 - node_modules/lodash/_updateWrapDetails.js | 46 - node_modules/lodash/_wrapperClone.js | 23 - node_modules/lodash/add.js | 22 - node_modules/lodash/after.js | 42 - node_modules/lodash/array.js | 67 - node_modules/lodash/ary.js | 29 - node_modules/lodash/assign.js | 58 - node_modules/lodash/assignIn.js | 40 - node_modules/lodash/assignInWith.js | 38 - node_modules/lodash/assignWith.js | 37 - node_modules/lodash/at.js | 23 - node_modules/lodash/attempt.js | 35 - node_modules/lodash/before.js | 40 - node_modules/lodash/bind.js | 57 - node_modules/lodash/bindAll.js | 41 - node_modules/lodash/bindKey.js | 68 - node_modules/lodash/camelCase.js | 29 - node_modules/lodash/capitalize.js | 23 - node_modules/lodash/castArray.js | 44 - node_modules/lodash/ceil.js | 26 - node_modules/lodash/chain.js | 38 - node_modules/lodash/chunk.js | 50 - node_modules/lodash/clamp.js | 39 - node_modules/lodash/clone.js | 36 - node_modules/lodash/cloneDeep.js | 29 - node_modules/lodash/cloneDeepWith.js | 40 - node_modules/lodash/cloneWith.js | 42 - node_modules/lodash/collection.js | 30 - node_modules/lodash/commit.js | 33 - node_modules/lodash/compact.js | 31 - node_modules/lodash/concat.js | 43 - node_modules/lodash/cond.js | 60 - node_modules/lodash/conforms.js | 35 - node_modules/lodash/conformsTo.js | 32 - node_modules/lodash/constant.js | 26 - node_modules/lodash/core.js | 3877 -- node_modules/lodash/core.min.js | 29 - node_modules/lodash/countBy.js | 40 - node_modules/lodash/create.js | 43 - node_modules/lodash/curry.js | 57 - node_modules/lodash/curryRight.js | 54 - node_modules/lodash/date.js | 3 - node_modules/lodash/debounce.js | 191 - node_modules/lodash/deburr.js | 45 - node_modules/lodash/defaultTo.js | 25 - node_modules/lodash/defaults.js | 64 - node_modules/lodash/defaultsDeep.js | 30 - node_modules/lodash/defer.js | 26 - node_modules/lodash/delay.js | 28 - node_modules/lodash/difference.js | 33 - node_modules/lodash/differenceBy.js | 44 - node_modules/lodash/differenceWith.js | 40 - node_modules/lodash/divide.js | 22 - node_modules/lodash/drop.js | 38 - node_modules/lodash/dropRight.js | 39 - node_modules/lodash/dropRightWhile.js | 45 - node_modules/lodash/dropWhile.js | 45 - node_modules/lodash/each.js | 1 - node_modules/lodash/eachRight.js | 1 - node_modules/lodash/endsWith.js | 43 - node_modules/lodash/entries.js | 1 - node_modules/lodash/entriesIn.js | 1 - node_modules/lodash/eq.js | 37 - node_modules/lodash/escape.js | 43 - node_modules/lodash/escapeRegExp.js | 32 - node_modules/lodash/every.js | 56 - node_modules/lodash/extend.js | 1 - node_modules/lodash/extendWith.js | 1 - node_modules/lodash/fill.js | 45 - node_modules/lodash/filter.js | 52 - node_modules/lodash/find.js | 42 - node_modules/lodash/findIndex.js | 55 - node_modules/lodash/findKey.js | 44 - node_modules/lodash/findLast.js | 25 - node_modules/lodash/findLastIndex.js | 59 - node_modules/lodash/findLastKey.js | 44 - node_modules/lodash/first.js | 1 - node_modules/lodash/flake.lock | 40 - node_modules/lodash/flake.nix | 20 - node_modules/lodash/flatMap.js | 29 - node_modules/lodash/flatMapDeep.js | 31 - node_modules/lodash/flatMapDepth.js | 31 - node_modules/lodash/flatten.js | 22 - node_modules/lodash/flattenDeep.js | 25 - node_modules/lodash/flattenDepth.js | 33 - node_modules/lodash/flip.js | 28 - node_modules/lodash/floor.js | 26 - node_modules/lodash/flow.js | 27 - node_modules/lodash/flowRight.js | 26 - node_modules/lodash/forEach.js | 41 - node_modules/lodash/forEachRight.js | 31 - node_modules/lodash/forIn.js | 39 - node_modules/lodash/forInRight.js | 37 - node_modules/lodash/forOwn.js | 36 - node_modules/lodash/forOwnRight.js | 34 - node_modules/lodash/fp.js | 2 - node_modules/lodash/fp/F.js | 1 - node_modules/lodash/fp/T.js | 1 - node_modules/lodash/fp/__.js | 1 - node_modules/lodash/fp/_baseConvert.js | 569 - node_modules/lodash/fp/_convertBrowser.js | 18 - node_modules/lodash/fp/_falseOptions.js | 7 - node_modules/lodash/fp/_mapping.js | 358 - node_modules/lodash/fp/_util.js | 16 - node_modules/lodash/fp/add.js | 5 - node_modules/lodash/fp/after.js | 5 - node_modules/lodash/fp/all.js | 1 - node_modules/lodash/fp/allPass.js | 1 - node_modules/lodash/fp/always.js | 1 - node_modules/lodash/fp/any.js | 1 - node_modules/lodash/fp/anyPass.js | 1 - node_modules/lodash/fp/apply.js | 1 - node_modules/lodash/fp/array.js | 2 - node_modules/lodash/fp/ary.js | 5 - node_modules/lodash/fp/assign.js | 5 - node_modules/lodash/fp/assignAll.js | 5 - node_modules/lodash/fp/assignAllWith.js | 5 - node_modules/lodash/fp/assignIn.js | 5 - node_modules/lodash/fp/assignInAll.js | 5 - node_modules/lodash/fp/assignInAllWith.js | 5 - node_modules/lodash/fp/assignInWith.js | 5 - node_modules/lodash/fp/assignWith.js | 5 - node_modules/lodash/fp/assoc.js | 1 - node_modules/lodash/fp/assocPath.js | 1 - node_modules/lodash/fp/at.js | 5 - node_modules/lodash/fp/attempt.js | 5 - node_modules/lodash/fp/before.js | 5 - node_modules/lodash/fp/bind.js | 5 - node_modules/lodash/fp/bindAll.js | 5 - node_modules/lodash/fp/bindKey.js | 5 - node_modules/lodash/fp/camelCase.js | 5 - node_modules/lodash/fp/capitalize.js | 5 - node_modules/lodash/fp/castArray.js | 5 - node_modules/lodash/fp/ceil.js | 5 - node_modules/lodash/fp/chain.js | 5 - node_modules/lodash/fp/chunk.js | 5 - node_modules/lodash/fp/clamp.js | 5 - node_modules/lodash/fp/clone.js | 5 - node_modules/lodash/fp/cloneDeep.js | 5 - node_modules/lodash/fp/cloneDeepWith.js | 5 - node_modules/lodash/fp/cloneWith.js | 5 - node_modules/lodash/fp/collection.js | 2 - node_modules/lodash/fp/commit.js | 5 - node_modules/lodash/fp/compact.js | 5 - node_modules/lodash/fp/complement.js | 1 - node_modules/lodash/fp/compose.js | 1 - node_modules/lodash/fp/concat.js | 5 - node_modules/lodash/fp/cond.js | 5 - node_modules/lodash/fp/conforms.js | 1 - node_modules/lodash/fp/conformsTo.js | 5 - node_modules/lodash/fp/constant.js | 5 - node_modules/lodash/fp/contains.js | 1 - node_modules/lodash/fp/convert.js | 18 - node_modules/lodash/fp/countBy.js | 5 - node_modules/lodash/fp/create.js | 5 - node_modules/lodash/fp/curry.js | 5 - node_modules/lodash/fp/curryN.js | 5 - node_modules/lodash/fp/curryRight.js | 5 - node_modules/lodash/fp/curryRightN.js | 5 - node_modules/lodash/fp/date.js | 2 - node_modules/lodash/fp/debounce.js | 5 - node_modules/lodash/fp/deburr.js | 5 - node_modules/lodash/fp/defaultTo.js | 5 - node_modules/lodash/fp/defaults.js | 5 - node_modules/lodash/fp/defaultsAll.js | 5 - node_modules/lodash/fp/defaultsDeep.js | 5 - node_modules/lodash/fp/defaultsDeepAll.js | 5 - node_modules/lodash/fp/defer.js | 5 - node_modules/lodash/fp/delay.js | 5 - node_modules/lodash/fp/difference.js | 5 - node_modules/lodash/fp/differenceBy.js | 5 - node_modules/lodash/fp/differenceWith.js | 5 - node_modules/lodash/fp/dissoc.js | 1 - node_modules/lodash/fp/dissocPath.js | 1 - node_modules/lodash/fp/divide.js | 5 - node_modules/lodash/fp/drop.js | 5 - node_modules/lodash/fp/dropLast.js | 1 - node_modules/lodash/fp/dropLastWhile.js | 1 - node_modules/lodash/fp/dropRight.js | 5 - node_modules/lodash/fp/dropRightWhile.js | 5 - node_modules/lodash/fp/dropWhile.js | 5 - node_modules/lodash/fp/each.js | 1 - node_modules/lodash/fp/eachRight.js | 1 - node_modules/lodash/fp/endsWith.js | 5 - node_modules/lodash/fp/entries.js | 1 - node_modules/lodash/fp/entriesIn.js | 1 - node_modules/lodash/fp/eq.js | 5 - node_modules/lodash/fp/equals.js | 1 - node_modules/lodash/fp/escape.js | 5 - node_modules/lodash/fp/escapeRegExp.js | 5 - node_modules/lodash/fp/every.js | 5 - node_modules/lodash/fp/extend.js | 1 - node_modules/lodash/fp/extendAll.js | 1 - node_modules/lodash/fp/extendAllWith.js | 1 - node_modules/lodash/fp/extendWith.js | 1 - node_modules/lodash/fp/fill.js | 5 - node_modules/lodash/fp/filter.js | 5 - node_modules/lodash/fp/find.js | 5 - node_modules/lodash/fp/findFrom.js | 5 - node_modules/lodash/fp/findIndex.js | 5 - node_modules/lodash/fp/findIndexFrom.js | 5 - node_modules/lodash/fp/findKey.js | 5 - node_modules/lodash/fp/findLast.js | 5 - node_modules/lodash/fp/findLastFrom.js | 5 - node_modules/lodash/fp/findLastIndex.js | 5 - node_modules/lodash/fp/findLastIndexFrom.js | 5 - node_modules/lodash/fp/findLastKey.js | 5 - node_modules/lodash/fp/first.js | 1 - node_modules/lodash/fp/flatMap.js | 5 - node_modules/lodash/fp/flatMapDeep.js | 5 - node_modules/lodash/fp/flatMapDepth.js | 5 - node_modules/lodash/fp/flatten.js | 5 - node_modules/lodash/fp/flattenDeep.js | 5 - node_modules/lodash/fp/flattenDepth.js | 5 - node_modules/lodash/fp/flip.js | 5 - node_modules/lodash/fp/floor.js | 5 - node_modules/lodash/fp/flow.js | 5 - node_modules/lodash/fp/flowRight.js | 5 - node_modules/lodash/fp/forEach.js | 5 - node_modules/lodash/fp/forEachRight.js | 5 - node_modules/lodash/fp/forIn.js | 5 - node_modules/lodash/fp/forInRight.js | 5 - node_modules/lodash/fp/forOwn.js | 5 - node_modules/lodash/fp/forOwnRight.js | 5 - node_modules/lodash/fp/fromPairs.js | 5 - node_modules/lodash/fp/function.js | 2 - node_modules/lodash/fp/functions.js | 5 - node_modules/lodash/fp/functionsIn.js | 5 - node_modules/lodash/fp/get.js | 5 - node_modules/lodash/fp/getOr.js | 5 - node_modules/lodash/fp/groupBy.js | 5 - node_modules/lodash/fp/gt.js | 5 - node_modules/lodash/fp/gte.js | 5 - node_modules/lodash/fp/has.js | 5 - node_modules/lodash/fp/hasIn.js | 5 - node_modules/lodash/fp/head.js | 5 - node_modules/lodash/fp/identical.js | 1 - node_modules/lodash/fp/identity.js | 5 - node_modules/lodash/fp/inRange.js | 5 - node_modules/lodash/fp/includes.js | 5 - node_modules/lodash/fp/includesFrom.js | 5 - node_modules/lodash/fp/indexBy.js | 1 - node_modules/lodash/fp/indexOf.js | 5 - node_modules/lodash/fp/indexOfFrom.js | 5 - node_modules/lodash/fp/init.js | 1 - node_modules/lodash/fp/initial.js | 5 - node_modules/lodash/fp/intersection.js | 5 - node_modules/lodash/fp/intersectionBy.js | 5 - node_modules/lodash/fp/intersectionWith.js | 5 - node_modules/lodash/fp/invert.js | 5 - node_modules/lodash/fp/invertBy.js | 5 - node_modules/lodash/fp/invertObj.js | 1 - node_modules/lodash/fp/invoke.js | 5 - node_modules/lodash/fp/invokeArgs.js | 5 - node_modules/lodash/fp/invokeArgsMap.js | 5 - node_modules/lodash/fp/invokeMap.js | 5 - node_modules/lodash/fp/isArguments.js | 5 - node_modules/lodash/fp/isArray.js | 5 - node_modules/lodash/fp/isArrayBuffer.js | 5 - node_modules/lodash/fp/isArrayLike.js | 5 - node_modules/lodash/fp/isArrayLikeObject.js | 5 - node_modules/lodash/fp/isBoolean.js | 5 - node_modules/lodash/fp/isBuffer.js | 5 - node_modules/lodash/fp/isDate.js | 5 - node_modules/lodash/fp/isElement.js | 5 - node_modules/lodash/fp/isEmpty.js | 5 - node_modules/lodash/fp/isEqual.js | 5 - node_modules/lodash/fp/isEqualWith.js | 5 - node_modules/lodash/fp/isError.js | 5 - node_modules/lodash/fp/isFinite.js | 5 - node_modules/lodash/fp/isFunction.js | 5 - node_modules/lodash/fp/isInteger.js | 5 - node_modules/lodash/fp/isLength.js | 5 - node_modules/lodash/fp/isMap.js | 5 - node_modules/lodash/fp/isMatch.js | 5 - node_modules/lodash/fp/isMatchWith.js | 5 - node_modules/lodash/fp/isNaN.js | 5 - node_modules/lodash/fp/isNative.js | 5 - node_modules/lodash/fp/isNil.js | 5 - node_modules/lodash/fp/isNull.js | 5 - node_modules/lodash/fp/isNumber.js | 5 - node_modules/lodash/fp/isObject.js | 5 - node_modules/lodash/fp/isObjectLike.js | 5 - node_modules/lodash/fp/isPlainObject.js | 5 - node_modules/lodash/fp/isRegExp.js | 5 - node_modules/lodash/fp/isSafeInteger.js | 5 - node_modules/lodash/fp/isSet.js | 5 - node_modules/lodash/fp/isString.js | 5 - node_modules/lodash/fp/isSymbol.js | 5 - node_modules/lodash/fp/isTypedArray.js | 5 - node_modules/lodash/fp/isUndefined.js | 5 - node_modules/lodash/fp/isWeakMap.js | 5 - node_modules/lodash/fp/isWeakSet.js | 5 - node_modules/lodash/fp/iteratee.js | 5 - node_modules/lodash/fp/join.js | 5 - node_modules/lodash/fp/juxt.js | 1 - node_modules/lodash/fp/kebabCase.js | 5 - node_modules/lodash/fp/keyBy.js | 5 - node_modules/lodash/fp/keys.js | 5 - node_modules/lodash/fp/keysIn.js | 5 - node_modules/lodash/fp/lang.js | 2 - node_modules/lodash/fp/last.js | 5 - node_modules/lodash/fp/lastIndexOf.js | 5 - node_modules/lodash/fp/lastIndexOfFrom.js | 5 - node_modules/lodash/fp/lowerCase.js | 5 - node_modules/lodash/fp/lowerFirst.js | 5 - node_modules/lodash/fp/lt.js | 5 - node_modules/lodash/fp/lte.js | 5 - node_modules/lodash/fp/map.js | 5 - node_modules/lodash/fp/mapKeys.js | 5 - node_modules/lodash/fp/mapValues.js | 5 - node_modules/lodash/fp/matches.js | 1 - node_modules/lodash/fp/matchesProperty.js | 5 - node_modules/lodash/fp/math.js | 2 - node_modules/lodash/fp/max.js | 5 - node_modules/lodash/fp/maxBy.js | 5 - node_modules/lodash/fp/mean.js | 5 - node_modules/lodash/fp/meanBy.js | 5 - node_modules/lodash/fp/memoize.js | 5 - node_modules/lodash/fp/merge.js | 5 - node_modules/lodash/fp/mergeAll.js | 5 - node_modules/lodash/fp/mergeAllWith.js | 5 - node_modules/lodash/fp/mergeWith.js | 5 - node_modules/lodash/fp/method.js | 5 - node_modules/lodash/fp/methodOf.js | 5 - node_modules/lodash/fp/min.js | 5 - node_modules/lodash/fp/minBy.js | 5 - node_modules/lodash/fp/mixin.js | 5 - node_modules/lodash/fp/multiply.js | 5 - node_modules/lodash/fp/nAry.js | 1 - node_modules/lodash/fp/negate.js | 5 - node_modules/lodash/fp/next.js | 5 - node_modules/lodash/fp/noop.js | 5 - node_modules/lodash/fp/now.js | 5 - node_modules/lodash/fp/nth.js | 5 - node_modules/lodash/fp/nthArg.js | 5 - node_modules/lodash/fp/number.js | 2 - node_modules/lodash/fp/object.js | 2 - node_modules/lodash/fp/omit.js | 5 - node_modules/lodash/fp/omitAll.js | 1 - node_modules/lodash/fp/omitBy.js | 5 - node_modules/lodash/fp/once.js | 5 - node_modules/lodash/fp/orderBy.js | 5 - node_modules/lodash/fp/over.js | 5 - node_modules/lodash/fp/overArgs.js | 5 - node_modules/lodash/fp/overEvery.js | 5 - node_modules/lodash/fp/overSome.js | 5 - node_modules/lodash/fp/pad.js | 5 - node_modules/lodash/fp/padChars.js | 5 - node_modules/lodash/fp/padCharsEnd.js | 5 - node_modules/lodash/fp/padCharsStart.js | 5 - node_modules/lodash/fp/padEnd.js | 5 - node_modules/lodash/fp/padStart.js | 5 - node_modules/lodash/fp/parseInt.js | 5 - node_modules/lodash/fp/partial.js | 5 - node_modules/lodash/fp/partialRight.js | 5 - node_modules/lodash/fp/partition.js | 5 - node_modules/lodash/fp/path.js | 1 - node_modules/lodash/fp/pathEq.js | 1 - node_modules/lodash/fp/pathOr.js | 1 - node_modules/lodash/fp/paths.js | 1 - node_modules/lodash/fp/pick.js | 5 - node_modules/lodash/fp/pickAll.js | 1 - node_modules/lodash/fp/pickBy.js | 5 - node_modules/lodash/fp/pipe.js | 1 - node_modules/lodash/fp/placeholder.js | 6 - node_modules/lodash/fp/plant.js | 5 - node_modules/lodash/fp/pluck.js | 1 - node_modules/lodash/fp/prop.js | 1 - node_modules/lodash/fp/propEq.js | 1 - node_modules/lodash/fp/propOr.js | 1 - node_modules/lodash/fp/property.js | 1 - node_modules/lodash/fp/propertyOf.js | 5 - node_modules/lodash/fp/props.js | 1 - node_modules/lodash/fp/pull.js | 5 - node_modules/lodash/fp/pullAll.js | 5 - node_modules/lodash/fp/pullAllBy.js | 5 - node_modules/lodash/fp/pullAllWith.js | 5 - node_modules/lodash/fp/pullAt.js | 5 - node_modules/lodash/fp/random.js | 5 - node_modules/lodash/fp/range.js | 5 - node_modules/lodash/fp/rangeRight.js | 5 - node_modules/lodash/fp/rangeStep.js | 5 - node_modules/lodash/fp/rangeStepRight.js | 5 - node_modules/lodash/fp/rearg.js | 5 - node_modules/lodash/fp/reduce.js | 5 - node_modules/lodash/fp/reduceRight.js | 5 - node_modules/lodash/fp/reject.js | 5 - node_modules/lodash/fp/remove.js | 5 - node_modules/lodash/fp/repeat.js | 5 - node_modules/lodash/fp/replace.js | 5 - node_modules/lodash/fp/rest.js | 5 - node_modules/lodash/fp/restFrom.js | 5 - node_modules/lodash/fp/result.js | 5 - node_modules/lodash/fp/reverse.js | 5 - node_modules/lodash/fp/round.js | 5 - node_modules/lodash/fp/sample.js | 5 - node_modules/lodash/fp/sampleSize.js | 5 - node_modules/lodash/fp/seq.js | 2 - node_modules/lodash/fp/set.js | 5 - node_modules/lodash/fp/setWith.js | 5 - node_modules/lodash/fp/shuffle.js | 5 - node_modules/lodash/fp/size.js | 5 - node_modules/lodash/fp/slice.js | 5 - node_modules/lodash/fp/snakeCase.js | 5 - node_modules/lodash/fp/some.js | 5 - node_modules/lodash/fp/sortBy.js | 5 - node_modules/lodash/fp/sortedIndex.js | 5 - node_modules/lodash/fp/sortedIndexBy.js | 5 - node_modules/lodash/fp/sortedIndexOf.js | 5 - node_modules/lodash/fp/sortedLastIndex.js | 5 - node_modules/lodash/fp/sortedLastIndexBy.js | 5 - node_modules/lodash/fp/sortedLastIndexOf.js | 5 - node_modules/lodash/fp/sortedUniq.js | 5 - node_modules/lodash/fp/sortedUniqBy.js | 5 - node_modules/lodash/fp/split.js | 5 - node_modules/lodash/fp/spread.js | 5 - node_modules/lodash/fp/spreadFrom.js | 5 - node_modules/lodash/fp/startCase.js | 5 - node_modules/lodash/fp/startsWith.js | 5 - node_modules/lodash/fp/string.js | 2 - node_modules/lodash/fp/stubArray.js | 5 - node_modules/lodash/fp/stubFalse.js | 5 - node_modules/lodash/fp/stubObject.js | 5 - node_modules/lodash/fp/stubString.js | 5 - node_modules/lodash/fp/stubTrue.js | 5 - node_modules/lodash/fp/subtract.js | 5 - node_modules/lodash/fp/sum.js | 5 - node_modules/lodash/fp/sumBy.js | 5 - node_modules/lodash/fp/symmetricDifference.js | 1 - .../lodash/fp/symmetricDifferenceBy.js | 1 - .../lodash/fp/symmetricDifferenceWith.js | 1 - node_modules/lodash/fp/tail.js | 5 - node_modules/lodash/fp/take.js | 5 - node_modules/lodash/fp/takeLast.js | 1 - node_modules/lodash/fp/takeLastWhile.js | 1 - node_modules/lodash/fp/takeRight.js | 5 - node_modules/lodash/fp/takeRightWhile.js | 5 - node_modules/lodash/fp/takeWhile.js | 5 - node_modules/lodash/fp/tap.js | 5 - node_modules/lodash/fp/template.js | 5 - node_modules/lodash/fp/templateSettings.js | 5 - node_modules/lodash/fp/throttle.js | 5 - node_modules/lodash/fp/thru.js | 5 - node_modules/lodash/fp/times.js | 5 - node_modules/lodash/fp/toArray.js | 5 - node_modules/lodash/fp/toFinite.js | 5 - node_modules/lodash/fp/toInteger.js | 5 - node_modules/lodash/fp/toIterator.js | 5 - node_modules/lodash/fp/toJSON.js | 5 - node_modules/lodash/fp/toLength.js | 5 - node_modules/lodash/fp/toLower.js | 5 - node_modules/lodash/fp/toNumber.js | 5 - node_modules/lodash/fp/toPairs.js | 5 - node_modules/lodash/fp/toPairsIn.js | 5 - node_modules/lodash/fp/toPath.js | 5 - node_modules/lodash/fp/toPlainObject.js | 5 - node_modules/lodash/fp/toSafeInteger.js | 5 - node_modules/lodash/fp/toString.js | 5 - node_modules/lodash/fp/toUpper.js | 5 - node_modules/lodash/fp/transform.js | 5 - node_modules/lodash/fp/trim.js | 5 - node_modules/lodash/fp/trimChars.js | 5 - node_modules/lodash/fp/trimCharsEnd.js | 5 - node_modules/lodash/fp/trimCharsStart.js | 5 - node_modules/lodash/fp/trimEnd.js | 5 - node_modules/lodash/fp/trimStart.js | 5 - node_modules/lodash/fp/truncate.js | 5 - node_modules/lodash/fp/unapply.js | 1 - node_modules/lodash/fp/unary.js | 5 - node_modules/lodash/fp/unescape.js | 5 - node_modules/lodash/fp/union.js | 5 - node_modules/lodash/fp/unionBy.js | 5 - node_modules/lodash/fp/unionWith.js | 5 - node_modules/lodash/fp/uniq.js | 5 - node_modules/lodash/fp/uniqBy.js | 5 - node_modules/lodash/fp/uniqWith.js | 5 - node_modules/lodash/fp/uniqueId.js | 5 - node_modules/lodash/fp/unnest.js | 1 - node_modules/lodash/fp/unset.js | 5 - node_modules/lodash/fp/unzip.js | 5 - node_modules/lodash/fp/unzipWith.js | 5 - node_modules/lodash/fp/update.js | 5 - node_modules/lodash/fp/updateWith.js | 5 - node_modules/lodash/fp/upperCase.js | 5 - node_modules/lodash/fp/upperFirst.js | 5 - node_modules/lodash/fp/useWith.js | 1 - node_modules/lodash/fp/util.js | 2 - node_modules/lodash/fp/value.js | 5 - node_modules/lodash/fp/valueOf.js | 5 - node_modules/lodash/fp/values.js | 5 - node_modules/lodash/fp/valuesIn.js | 5 - node_modules/lodash/fp/where.js | 1 - node_modules/lodash/fp/whereEq.js | 1 - node_modules/lodash/fp/without.js | 5 - node_modules/lodash/fp/words.js | 5 - node_modules/lodash/fp/wrap.js | 5 - node_modules/lodash/fp/wrapperAt.js | 5 - node_modules/lodash/fp/wrapperChain.js | 5 - node_modules/lodash/fp/wrapperLodash.js | 5 - node_modules/lodash/fp/wrapperReverse.js | 5 - node_modules/lodash/fp/wrapperValue.js | 5 - node_modules/lodash/fp/xor.js | 5 - node_modules/lodash/fp/xorBy.js | 5 - node_modules/lodash/fp/xorWith.js | 5 - node_modules/lodash/fp/zip.js | 5 - node_modules/lodash/fp/zipAll.js | 5 - node_modules/lodash/fp/zipObj.js | 1 - node_modules/lodash/fp/zipObject.js | 5 - node_modules/lodash/fp/zipObjectDeep.js | 5 - node_modules/lodash/fp/zipWith.js | 5 - node_modules/lodash/fromPairs.js | 28 - node_modules/lodash/function.js | 25 - node_modules/lodash/functions.js | 31 - node_modules/lodash/functionsIn.js | 31 - node_modules/lodash/get.js | 33 - node_modules/lodash/groupBy.js | 41 - node_modules/lodash/gt.js | 29 - node_modules/lodash/gte.js | 30 - node_modules/lodash/has.js | 35 - node_modules/lodash/hasIn.js | 34 - node_modules/lodash/head.js | 23 - node_modules/lodash/identity.js | 21 - node_modules/lodash/inRange.js | 55 - node_modules/lodash/includes.js | 53 - node_modules/lodash/index.js | 1 - node_modules/lodash/indexOf.js | 42 - node_modules/lodash/initial.js | 22 - node_modules/lodash/intersection.js | 30 - node_modules/lodash/intersectionBy.js | 45 - node_modules/lodash/intersectionWith.js | 41 - node_modules/lodash/invert.js | 42 - node_modules/lodash/invertBy.js | 56 - node_modules/lodash/invoke.js | 24 - node_modules/lodash/invokeMap.js | 41 - node_modules/lodash/isArguments.js | 36 - node_modules/lodash/isArray.js | 26 - node_modules/lodash/isArrayBuffer.js | 27 - node_modules/lodash/isArrayLike.js | 33 - node_modules/lodash/isArrayLikeObject.js | 33 - node_modules/lodash/isBoolean.js | 29 - node_modules/lodash/isBuffer.js | 38 - node_modules/lodash/isDate.js | 27 - node_modules/lodash/isElement.js | 25 - node_modules/lodash/isEmpty.js | 77 - node_modules/lodash/isEqual.js | 35 - node_modules/lodash/isEqualWith.js | 41 - node_modules/lodash/isError.js | 36 - node_modules/lodash/isFinite.js | 36 - node_modules/lodash/isFunction.js | 37 - node_modules/lodash/isInteger.js | 33 - node_modules/lodash/isLength.js | 35 - node_modules/lodash/isMap.js | 27 - node_modules/lodash/isMatch.js | 36 - node_modules/lodash/isMatchWith.js | 41 - node_modules/lodash/isNaN.js | 38 - node_modules/lodash/isNative.js | 40 - node_modules/lodash/isNil.js | 25 - node_modules/lodash/isNull.js | 22 - node_modules/lodash/isNumber.js | 38 - node_modules/lodash/isObject.js | 31 - node_modules/lodash/isObjectLike.js | 29 - node_modules/lodash/isPlainObject.js | 62 - node_modules/lodash/isRegExp.js | 27 - node_modules/lodash/isSafeInteger.js | 37 - node_modules/lodash/isSet.js | 27 - node_modules/lodash/isString.js | 30 - node_modules/lodash/isSymbol.js | 29 - node_modules/lodash/isTypedArray.js | 27 - node_modules/lodash/isUndefined.js | 22 - node_modules/lodash/isWeakMap.js | 28 - node_modules/lodash/isWeakSet.js | 28 - node_modules/lodash/iteratee.js | 53 - node_modules/lodash/join.js | 26 - node_modules/lodash/kebabCase.js | 28 - node_modules/lodash/keyBy.js | 36 - node_modules/lodash/keys.js | 37 - node_modules/lodash/keysIn.js | 32 - node_modules/lodash/lang.js | 58 - node_modules/lodash/last.js | 20 - node_modules/lodash/lastIndexOf.js | 46 - node_modules/lodash/lodash.js | 17209 -------- node_modules/lodash/lodash.min.js | 140 - node_modules/lodash/lowerCase.js | 27 - node_modules/lodash/lowerFirst.js | 22 - node_modules/lodash/lt.js | 29 - node_modules/lodash/lte.js | 30 - node_modules/lodash/map.js | 53 - node_modules/lodash/mapKeys.js | 36 - node_modules/lodash/mapValues.js | 43 - node_modules/lodash/matches.js | 46 - node_modules/lodash/matchesProperty.js | 44 - node_modules/lodash/math.js | 17 - node_modules/lodash/max.js | 29 - node_modules/lodash/maxBy.js | 34 - node_modules/lodash/mean.js | 22 - node_modules/lodash/meanBy.js | 31 - node_modules/lodash/memoize.js | 73 - node_modules/lodash/merge.js | 39 - node_modules/lodash/mergeWith.js | 39 - node_modules/lodash/method.js | 34 - node_modules/lodash/methodOf.js | 33 - node_modules/lodash/min.js | 29 - node_modules/lodash/minBy.js | 34 - node_modules/lodash/mixin.js | 74 - node_modules/lodash/multiply.js | 22 - node_modules/lodash/negate.js | 40 - node_modules/lodash/next.js | 35 - node_modules/lodash/noop.js | 17 - node_modules/lodash/now.js | 23 - node_modules/lodash/nth.js | 29 - node_modules/lodash/nthArg.js | 32 - node_modules/lodash/number.js | 5 - node_modules/lodash/object.js | 49 - node_modules/lodash/omit.js | 57 - node_modules/lodash/omitBy.js | 29 - node_modules/lodash/once.js | 25 - node_modules/lodash/orderBy.js | 47 - node_modules/lodash/over.js | 24 - node_modules/lodash/overArgs.js | 61 - node_modules/lodash/overEvery.js | 34 - node_modules/lodash/overSome.js | 37 - node_modules/lodash/package.json | 17 - node_modules/lodash/pad.js | 49 - node_modules/lodash/padEnd.js | 39 - node_modules/lodash/padStart.js | 39 - node_modules/lodash/parseInt.js | 43 - node_modules/lodash/partial.js | 50 - node_modules/lodash/partialRight.js | 49 - node_modules/lodash/partition.js | 43 - node_modules/lodash/pick.js | 25 - node_modules/lodash/pickBy.js | 37 - node_modules/lodash/plant.js | 48 - node_modules/lodash/property.js | 32 - node_modules/lodash/propertyOf.js | 30 - node_modules/lodash/pull.js | 29 - node_modules/lodash/pullAll.js | 29 - node_modules/lodash/pullAllBy.js | 33 - node_modules/lodash/pullAllWith.js | 32 - node_modules/lodash/pullAt.js | 43 - node_modules/lodash/random.js | 82 - node_modules/lodash/range.js | 46 - node_modules/lodash/rangeRight.js | 41 - node_modules/lodash/rearg.js | 33 - node_modules/lodash/reduce.js | 51 - node_modules/lodash/reduceRight.js | 36 - node_modules/lodash/reject.js | 46 - node_modules/lodash/release.md | 48 - node_modules/lodash/remove.js | 53 - node_modules/lodash/repeat.js | 37 - node_modules/lodash/replace.js | 29 - node_modules/lodash/rest.js | 40 - node_modules/lodash/result.js | 56 - node_modules/lodash/reverse.js | 34 - node_modules/lodash/round.js | 26 - node_modules/lodash/sample.js | 24 - node_modules/lodash/sampleSize.js | 37 - node_modules/lodash/seq.js | 16 - node_modules/lodash/set.js | 35 - node_modules/lodash/setWith.js | 32 - node_modules/lodash/shuffle.js | 25 - node_modules/lodash/size.js | 46 - node_modules/lodash/slice.js | 37 - node_modules/lodash/snakeCase.js | 28 - node_modules/lodash/some.js | 51 - node_modules/lodash/sortBy.js | 48 - node_modules/lodash/sortedIndex.js | 24 - node_modules/lodash/sortedIndexBy.js | 33 - node_modules/lodash/sortedIndexOf.js | 31 - node_modules/lodash/sortedLastIndex.js | 25 - node_modules/lodash/sortedLastIndexBy.js | 33 - node_modules/lodash/sortedLastIndexOf.js | 31 - node_modules/lodash/sortedUniq.js | 24 - node_modules/lodash/sortedUniqBy.js | 26 - node_modules/lodash/split.js | 52 - node_modules/lodash/spread.js | 63 - node_modules/lodash/startCase.js | 29 - node_modules/lodash/startsWith.js | 39 - node_modules/lodash/string.js | 33 - node_modules/lodash/stubArray.js | 23 - node_modules/lodash/stubFalse.js | 18 - node_modules/lodash/stubObject.js | 23 - node_modules/lodash/stubString.js | 18 - node_modules/lodash/stubTrue.js | 18 - node_modules/lodash/subtract.js | 22 - node_modules/lodash/sum.js | 24 - node_modules/lodash/sumBy.js | 33 - node_modules/lodash/tail.js | 22 - node_modules/lodash/take.js | 37 - node_modules/lodash/takeRight.js | 39 - node_modules/lodash/takeRightWhile.js | 45 - node_modules/lodash/takeWhile.js | 45 - node_modules/lodash/tap.js | 29 - node_modules/lodash/template.js | 272 - node_modules/lodash/templateSettings.js | 67 - node_modules/lodash/throttle.js | 69 - node_modules/lodash/thru.js | 28 - node_modules/lodash/times.js | 51 - node_modules/lodash/toArray.js | 58 - node_modules/lodash/toFinite.js | 42 - node_modules/lodash/toInteger.js | 36 - node_modules/lodash/toIterator.js | 23 - node_modules/lodash/toJSON.js | 1 - node_modules/lodash/toLength.js | 38 - node_modules/lodash/toLower.js | 28 - node_modules/lodash/toNumber.js | 64 - node_modules/lodash/toPairs.js | 30 - node_modules/lodash/toPairsIn.js | 30 - node_modules/lodash/toPath.js | 33 - node_modules/lodash/toPlainObject.js | 32 - node_modules/lodash/toSafeInteger.js | 37 - node_modules/lodash/toString.js | 28 - node_modules/lodash/toUpper.js | 28 - node_modules/lodash/transform.js | 65 - node_modules/lodash/trim.js | 47 - node_modules/lodash/trimEnd.js | 41 - node_modules/lodash/trimStart.js | 43 - node_modules/lodash/truncate.js | 111 - node_modules/lodash/unary.js | 22 - node_modules/lodash/unescape.js | 34 - node_modules/lodash/union.js | 26 - node_modules/lodash/unionBy.js | 39 - node_modules/lodash/unionWith.js | 34 - node_modules/lodash/uniq.js | 25 - node_modules/lodash/uniqBy.js | 31 - node_modules/lodash/uniqWith.js | 28 - node_modules/lodash/uniqueId.js | 28 - node_modules/lodash/unset.js | 34 - node_modules/lodash/unzip.js | 45 - node_modules/lodash/unzipWith.js | 39 - node_modules/lodash/update.js | 35 - node_modules/lodash/updateWith.js | 33 - node_modules/lodash/upperCase.js | 27 - node_modules/lodash/upperFirst.js | 22 - node_modules/lodash/util.js | 34 - node_modules/lodash/value.js | 1 - node_modules/lodash/valueOf.js | 1 - node_modules/lodash/values.js | 34 - node_modules/lodash/valuesIn.js | 32 - node_modules/lodash/without.js | 31 - node_modules/lodash/words.js | 35 - node_modules/lodash/wrap.js | 30 - node_modules/lodash/wrapperAt.js | 48 - node_modules/lodash/wrapperChain.js | 34 - node_modules/lodash/wrapperLodash.js | 147 - node_modules/lodash/wrapperReverse.js | 44 - node_modules/lodash/wrapperValue.js | 21 - node_modules/lodash/xor.js | 28 - node_modules/lodash/xorBy.js | 39 - node_modules/lodash/xorWith.js | 34 - node_modules/lodash/zip.js | 22 - node_modules/lodash/zipObject.js | 24 - node_modules/lodash/zipObjectDeep.js | 23 - node_modules/lodash/zipWith.js | 32 - node_modules/lru-cache/LICENSE | 15 - node_modules/lru-cache/README.md | 166 - node_modules/lru-cache/index.js | 334 - node_modules/lru-cache/package.json | 34 - node_modules/make-dir/index.d.ts | 66 - node_modules/make-dir/index.js | 156 - node_modules/make-dir/license | 9 - .../make-dir/node_modules/.bin/semver | 1 - node_modules/make-dir/package.json | 59 - node_modules/make-dir/readme.md | 125 - node_modules/makeerror/.travis.yml | 3 - node_modules/makeerror/lib/makeerror.js | 87 - node_modules/makeerror/license | 28 - node_modules/makeerror/package.json | 21 - node_modules/makeerror/readme.md | 77 - node_modules/merge-stream/LICENSE | 21 - node_modules/merge-stream/README.md | 78 - node_modules/merge-stream/index.js | 41 - node_modules/merge-stream/package.json | 19 - node_modules/micromatch/CHANGELOG.md | 109 - node_modules/micromatch/LICENSE | 21 - node_modules/micromatch/README.md | 1008 - node_modules/micromatch/index.js | 467 - node_modules/micromatch/package.json | 119 - node_modules/mime-db/HISTORY.md | 499 - node_modules/mime-db/LICENSE | 22 - node_modules/mime-db/README.md | 100 - node_modules/mime-db/db.json | 8471 ---- node_modules/mime-db/index.js | 11 - node_modules/mime-db/package.json | 59 - node_modules/mime-types/HISTORY.md | 388 - node_modules/mime-types/LICENSE | 23 - node_modules/mime-types/README.md | 113 - node_modules/mime-types/index.js | 188 - node_modules/mime-types/package.json | 44 - node_modules/mimic-fn/index.d.ts | 54 - node_modules/mimic-fn/index.js | 13 - node_modules/mimic-fn/license | 9 - node_modules/mimic-fn/package.json | 42 - node_modules/mimic-fn/readme.md | 69 - node_modules/minimatch/LICENSE | 15 - node_modules/minimatch/README.md | 209 - node_modules/minimatch/minimatch.js | 952 - node_modules/minimatch/package.json | 30 - node_modules/minimist/.travis.yml | 8 - node_modules/minimist/LICENSE | 18 - node_modules/minimist/example/parse.js | 2 - node_modules/minimist/index.js | 245 - node_modules/minimist/package.json | 45 - node_modules/minimist/readme.markdown | 95 - node_modules/minimist/test/all_bool.js | 32 - node_modules/minimist/test/bool.js | 178 - node_modules/minimist/test/dash.js | 31 - node_modules/minimist/test/default_bool.js | 35 - node_modules/minimist/test/dotted.js | 22 - node_modules/minimist/test/kv_short.js | 16 - node_modules/minimist/test/long.js | 31 - node_modules/minimist/test/num.js | 36 - node_modules/minimist/test/parse.js | 197 - node_modules/minimist/test/parse_modified.js | 9 - node_modules/minimist/test/proto.js | 44 - node_modules/minimist/test/short.js | 67 - node_modules/minimist/test/stop_early.js | 15 - node_modules/minimist/test/unknown.js | 102 - node_modules/minimist/test/whitespace.js | 8 - node_modules/ms/index.js | 162 - node_modules/ms/license.md | 21 - node_modules/ms/package.json | 37 - node_modules/ms/readme.md | 60 - node_modules/natural-compare/README.md | 125 - node_modules/natural-compare/index.js | 57 - node_modules/natural-compare/package.json | 42 - node_modules/node-fetch/LICENSE.md | 22 - node_modules/node-fetch/README.md | 590 - node_modules/node-fetch/browser.js | 25 - node_modules/node-fetch/lib/index.es.js | 1688 - node_modules/node-fetch/lib/index.js | 1697 - node_modules/node-fetch/lib/index.mjs | 1686 - .../node-fetch/node_modules/tr46/.npmignore | 4 - .../node-fetch/node_modules/tr46/index.js | 193 - .../node-fetch/node_modules/tr46/lib/.gitkeep | 0 .../node_modules/tr46/lib/mappingTable.json | 1 - .../node-fetch/node_modules/tr46/package.json | 31 - .../webidl-conversions/LICENSE.md | 12 - .../node_modules/webidl-conversions/README.md | 53 - .../webidl-conversions/lib/index.js | 189 - .../webidl-conversions/package.json | 23 - .../node_modules/whatwg-url/LICENSE.txt | 21 - .../node_modules/whatwg-url/README.md | 67 - .../node_modules/whatwg-url/lib/URL-impl.js | 200 - .../node_modules/whatwg-url/lib/URL.js | 196 - .../node_modules/whatwg-url/lib/public-api.js | 11 - .../whatwg-url/lib/url-state-machine.js | 1297 - .../node_modules/whatwg-url/lib/utils.js | 20 - .../node_modules/whatwg-url/package.json | 32 - node_modules/node-fetch/package.json | 76 - node_modules/node-int64/.npmignore | 3 - node_modules/node-int64/Int64.js | 268 - node_modules/node-int64/LICENSE | 19 - node_modules/node-int64/README.md | 78 - node_modules/node-int64/package.json | 27 - node_modules/node-int64/test.js | 120 - node_modules/node-releases/LICENSE | 21 - node_modules/node-releases/README.md | 31 - .../node-releases/data/processed/envs.json | 1 - .../release-schedule/release-schedule.json | 1 - node_modules/node-releases/package.json | 18 - node_modules/normalize-path/LICENSE | 21 - node_modules/normalize-path/README.md | 127 - node_modules/normalize-path/index.js | 35 - node_modules/normalize-path/package.json | 77 - node_modules/npm-run-path/index.d.ts | 89 - node_modules/npm-run-path/index.js | 47 - node_modules/npm-run-path/license | 9 - node_modules/npm-run-path/package.json | 44 - node_modules/npm-run-path/readme.md | 115 - node_modules/nwsapi/LICENSE | 22 - node_modules/nwsapi/README.md | 132 - node_modules/nwsapi/dist/lint.log | 0 node_modules/nwsapi/package.json | 38 - .../nwsapi/src/modules/nwsapi-jquery.js | 135 - .../nwsapi/src/modules/nwsapi-traversal.js | 90 - node_modules/nwsapi/src/nwsapi.js | 1800 - node_modules/once/LICENSE | 15 - node_modules/once/README.md | 79 - node_modules/once/once.js | 42 - node_modules/once/package.json | 33 - node_modules/onetime/index.d.ts | 64 - node_modules/onetime/index.js | 44 - node_modules/onetime/license | 9 - node_modules/onetime/package.json | 43 - node_modules/onetime/readme.md | 94 - node_modules/optionator/CHANGELOG.md | 56 - node_modules/optionator/LICENSE | 22 - node_modules/optionator/README.md | 238 - node_modules/optionator/lib/help.js | 260 - node_modules/optionator/lib/index.js | 465 - node_modules/optionator/lib/util.js | 54 - node_modules/optionator/package.json | 44 - node_modules/p-limit/index.d.ts | 38 - node_modules/p-limit/index.js | 57 - node_modules/p-limit/license | 9 - node_modules/p-limit/package.json | 52 - node_modules/p-limit/readme.md | 101 - node_modules/p-locate/index.d.ts | 64 - node_modules/p-locate/index.js | 52 - node_modules/p-locate/license | 9 - node_modules/p-locate/package.json | 53 - node_modules/p-locate/readme.md | 90 - node_modules/p-try/index.d.ts | 39 - node_modules/p-try/index.js | 9 - node_modules/p-try/license | 9 - node_modules/p-try/package.json | 42 - node_modules/p-try/readme.md | 58 - node_modules/parse-json/index.js | 54 - node_modules/parse-json/license | 9 - node_modules/parse-json/package.json | 45 - node_modules/parse-json/readme.md | 119 - node_modules/parse5/LICENSE | 19 - node_modules/parse5/README.md | 38 - node_modules/parse5/lib/common/doctype.js | 162 - node_modules/parse5/lib/common/error-codes.js | 65 - .../parse5/lib/common/foreign-content.js | 265 - node_modules/parse5/lib/common/html.js | 272 - node_modules/parse5/lib/common/unicode.js | 109 - .../extensions/error-reporting/mixin-base.js | 43 - .../error-reporting/parser-mixin.js | 52 - .../error-reporting/preprocessor-mixin.js | 24 - .../error-reporting/tokenizer-mixin.js | 17 - .../location-info/open-element-stack-mixin.js | 35 - .../extensions/location-info/parser-mixin.js | 223 - .../location-info/tokenizer-mixin.js | 146 - .../position-tracking/preprocessor-mixin.js | 64 - node_modules/parse5/lib/index.js | 29 - .../lib/parser/formatting-element-list.js | 181 - node_modules/parse5/lib/parser/index.js | 2956 -- .../parse5/lib/parser/open-element-stack.js | 482 - node_modules/parse5/lib/serializer/index.js | 176 - node_modules/parse5/lib/tokenizer/index.js | 2196 - .../parse5/lib/tokenizer/named-entity-data.js | 5 - .../parse5/lib/tokenizer/preprocessor.js | 159 - .../parse5/lib/tree-adapters/default.js | 221 - .../parse5/lib/utils/merge-options.js | 13 - node_modules/parse5/lib/utils/mixin.js | 39 - node_modules/parse5/package.json | 35 - node_modules/path-exists/index.d.ts | 28 - node_modules/path-exists/index.js | 23 - node_modules/path-exists/license | 9 - node_modules/path-exists/package.json | 39 - node_modules/path-exists/readme.md | 52 - node_modules/path-is-absolute/index.js | 20 - node_modules/path-is-absolute/license | 21 - node_modules/path-is-absolute/package.json | 43 - node_modules/path-is-absolute/readme.md | 59 - node_modules/path-key/index.d.ts | 40 - node_modules/path-key/index.js | 16 - node_modules/path-key/license | 9 - node_modules/path-key/package.json | 39 - node_modules/path-key/readme.md | 61 - node_modules/path-parse/LICENSE | 21 - node_modules/path-parse/README.md | 42 - node_modules/path-parse/index.js | 75 - node_modules/path-parse/package.json | 33 - node_modules/picocolors/LICENSE | 15 - node_modules/picocolors/README.md | 21 - node_modules/picocolors/package.json | 25 - node_modules/picocolors/picocolors.browser.js | 4 - node_modules/picocolors/picocolors.d.ts | 5 - node_modules/picocolors/picocolors.js | 58 - node_modules/picocolors/types.ts | 30 - node_modules/picomatch/CHANGELOG.md | 136 - node_modules/picomatch/LICENSE | 21 - node_modules/picomatch/README.md | 708 - node_modules/picomatch/index.js | 3 - node_modules/picomatch/lib/constants.js | 179 - node_modules/picomatch/lib/parse.js | 1091 - node_modules/picomatch/lib/picomatch.js | 342 - node_modules/picomatch/lib/scan.js | 391 - node_modules/picomatch/lib/utils.js | 64 - node_modules/picomatch/package.json | 81 - node_modules/pirates/LICENSE | 21 - node_modules/pirates/README.md | 69 - node_modules/pirates/index.d.ts | 82 - node_modules/pirates/lib/index.js | 159 - node_modules/pirates/package.json | 74 - node_modules/pkg-dir/index.d.ts | 44 - node_modules/pkg-dir/index.js | 17 - node_modules/pkg-dir/license | 9 - node_modules/pkg-dir/package.json | 56 - node_modules/pkg-dir/readme.md | 66 - node_modules/prelude-ls/CHANGELOG.md | 99 - node_modules/prelude-ls/LICENSE | 22 - node_modules/prelude-ls/README.md | 15 - node_modules/prelude-ls/lib/Func.js | 65 - node_modules/prelude-ls/lib/List.js | 686 - node_modules/prelude-ls/lib/Num.js | 130 - node_modules/prelude-ls/lib/Obj.js | 154 - node_modules/prelude-ls/lib/Str.js | 92 - node_modules/prelude-ls/lib/index.js | 178 - node_modules/prelude-ls/package.json | 52 - node_modules/pretty-format/LICENSE | 21 - node_modules/pretty-format/README.md | 458 - .../pretty-format/build/collections.d.ts | 32 - .../pretty-format/build/collections.js | 187 - node_modules/pretty-format/build/index.d.ts | 25 - node_modules/pretty-format/build/index.js | 597 - .../build/plugins/AsymmetricMatcher.d.ts | 11 - .../build/plugins/AsymmetricMatcher.js | 117 - .../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 | 128 - .../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 | 79 - .../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 | 153 - node_modules/pretty-format/build/types.d.ts | 108 - node_modules/pretty-format/build/types.js | 1 - .../node_modules/ansi-styles/index.d.ts | 167 - .../node_modules/ansi-styles/index.js | 164 - .../node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 52 - .../node_modules/ansi-styles/readme.md | 144 - node_modules/pretty-format/package.json | 44 - .../prompts/dist/dateparts/datepart.js | 39 - node_modules/prompts/dist/dateparts/day.js | 35 - node_modules/prompts/dist/dateparts/hours.js | 30 - node_modules/prompts/dist/dateparts/index.js | 13 - .../prompts/dist/dateparts/meridiem.js | 25 - .../prompts/dist/dateparts/milliseconds.js | 28 - .../prompts/dist/dateparts/minutes.js | 29 - node_modules/prompts/dist/dateparts/month.js | 31 - .../prompts/dist/dateparts/seconds.js | 29 - node_modules/prompts/dist/dateparts/year.js | 29 - .../prompts/dist/elements/autocomplete.js | 285 - .../dist/elements/autocompleteMultiselect.js | 201 - node_modules/prompts/dist/elements/confirm.js | 93 - node_modules/prompts/dist/elements/date.js | 250 - node_modules/prompts/dist/elements/index.js | 13 - .../prompts/dist/elements/multiselect.js | 289 - node_modules/prompts/dist/elements/number.js | 250 - node_modules/prompts/dist/elements/prompt.js | 82 - node_modules/prompts/dist/elements/select.js | 190 - node_modules/prompts/dist/elements/text.js | 245 - node_modules/prompts/dist/elements/toggle.js | 124 - node_modules/prompts/dist/index.js | 154 - node_modules/prompts/dist/prompts.js | 222 - node_modules/prompts/dist/util/action.js | 38 - node_modules/prompts/dist/util/clear.js | 42 - .../prompts/dist/util/entriesToDisplay.js | 21 - node_modules/prompts/dist/util/figures.js | 32 - node_modules/prompts/dist/util/index.js | 12 - node_modules/prompts/dist/util/lines.js | 14 - node_modules/prompts/dist/util/strip.js | 7 - node_modules/prompts/dist/util/style.js | 51 - node_modules/prompts/dist/util/wrap.js | 16 - node_modules/prompts/index.js | 14 - .../prompts/lib/dateparts/datepart.js | 35 - node_modules/prompts/lib/dateparts/day.js | 42 - node_modules/prompts/lib/dateparts/hours.js | 30 - node_modules/prompts/lib/dateparts/index.js | 13 - .../prompts/lib/dateparts/meridiem.js | 24 - .../prompts/lib/dateparts/milliseconds.js | 28 - node_modules/prompts/lib/dateparts/minutes.js | 28 - node_modules/prompts/lib/dateparts/month.js | 33 - node_modules/prompts/lib/dateparts/seconds.js | 28 - node_modules/prompts/lib/dateparts/year.js | 28 - .../prompts/lib/elements/autocomplete.js | 264 - .../lib/elements/autocompleteMultiselect.js | 194 - node_modules/prompts/lib/elements/confirm.js | 89 - node_modules/prompts/lib/elements/date.js | 209 - node_modules/prompts/lib/elements/index.js | 13 - .../prompts/lib/elements/multiselect.js | 271 - node_modules/prompts/lib/elements/number.js | 213 - node_modules/prompts/lib/elements/prompt.js | 68 - node_modules/prompts/lib/elements/select.js | 175 - node_modules/prompts/lib/elements/text.js | 208 - node_modules/prompts/lib/elements/toggle.js | 118 - node_modules/prompts/lib/index.js | 98 - node_modules/prompts/lib/prompts.js | 206 - node_modules/prompts/lib/util/action.js | 39 - node_modules/prompts/lib/util/clear.js | 22 - .../prompts/lib/util/entriesToDisplay.js | 21 - node_modules/prompts/lib/util/figures.js | 33 - node_modules/prompts/lib/util/index.js | 12 - node_modules/prompts/lib/util/lines.js | 15 - node_modules/prompts/lib/util/strip.js | 11 - node_modules/prompts/lib/util/style.js | 40 - node_modules/prompts/lib/util/wrap.js | 27 - node_modules/prompts/license | 21 - node_modules/prompts/package.json | 53 - node_modules/prompts/readme.md | 882 - node_modules/psl/LICENSE | 9 - node_modules/psl/README.md | 215 - node_modules/psl/browserstack-logo.svg | 90 - node_modules/psl/data/rules.json | 8834 ---- node_modules/psl/dist/psl.js | 9645 ----- node_modules/psl/dist/psl.min.js | 1 - node_modules/psl/index.js | 269 - node_modules/psl/package.json | 44 - node_modules/punycode/LICENSE-MIT.txt | 20 - node_modules/punycode/README.md | 122 - node_modules/punycode/package.json | 58 - node_modules/punycode/punycode.es6.js | 441 - node_modules/punycode/punycode.js | 440 - 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/require-directory/.jshintrc | 67 - node_modules/require-directory/.npmignore | 1 - node_modules/require-directory/.travis.yml | 3 - node_modules/require-directory/LICENSE | 22 - .../require-directory/README.markdown | 184 - node_modules/require-directory/index.js | 86 - node_modules/require-directory/package.json | 40 - node_modules/resolve-cwd/index.d.ts | 48 - node_modules/resolve-cwd/index.js | 5 - node_modules/resolve-cwd/license | 9 - node_modules/resolve-cwd/package.json | 43 - node_modules/resolve-cwd/readme.md | 58 - node_modules/resolve-from/index.d.ts | 31 - node_modules/resolve-from/index.js | 47 - node_modules/resolve-from/license | 9 - node_modules/resolve-from/package.json | 36 - node_modules/resolve-from/readme.md | 72 - node_modules/resolve.exports/dist/index.js | 149 - node_modules/resolve.exports/dist/index.mjs | 146 - node_modules/resolve.exports/index.d.ts | 21 - node_modules/resolve.exports/license | 21 - node_modules/resolve.exports/package.json | 47 - node_modules/resolve.exports/readme.md | 320 - node_modules/resolve/.editorconfig | 37 - node_modules/resolve/.eslintrc | 65 - node_modules/resolve/.github/FUNDING.yml | 12 - node_modules/resolve/LICENSE | 21 - node_modules/resolve/SECURITY.md | 3 - node_modules/resolve/appveyor.yml | 76 - node_modules/resolve/async.js | 3 - node_modules/resolve/bin/resolve | 50 - node_modules/resolve/example/async.js | 5 - node_modules/resolve/example/sync.js | 3 - node_modules/resolve/index.js | 6 - node_modules/resolve/lib/async.js | 329 - node_modules/resolve/lib/caller.js | 8 - node_modules/resolve/lib/core.js | 52 - node_modules/resolve/lib/core.json | 152 - node_modules/resolve/lib/homedir.js | 24 - node_modules/resolve/lib/is-core.js | 5 - .../resolve/lib/node-modules-paths.js | 42 - node_modules/resolve/lib/normalize-options.js | 10 - node_modules/resolve/lib/sync.js | 208 - node_modules/resolve/package.json | 62 - node_modules/resolve/readme.markdown | 301 - node_modules/resolve/sync.js | 3 - node_modules/resolve/test/core.js | 81 - node_modules/resolve/test/dotdot.js | 29 - node_modules/resolve/test/dotdot/abc/index.js | 2 - node_modules/resolve/test/dotdot/index.js | 1 - node_modules/resolve/test/faulty_basedir.js | 29 - node_modules/resolve/test/filter.js | 34 - node_modules/resolve/test/filter_sync.js | 33 - node_modules/resolve/test/home_paths.js | 127 - node_modules/resolve/test/home_paths_sync.js | 114 - node_modules/resolve/test/mock.js | 315 - node_modules/resolve/test/mock_sync.js | 214 - node_modules/resolve/test/module_dir.js | 56 - .../test/module_dir/xmodules/aaa/index.js | 1 - .../test/module_dir/ymodules/aaa/index.js | 1 - .../test/module_dir/zmodules/bbb/main.js | 1 - .../test/module_dir/zmodules/bbb/package.json | 3 - .../resolve/test/node-modules-paths.js | 143 - node_modules/resolve/test/node_path.js | 70 - .../resolve/test/node_path/x/aaa/index.js | 1 - .../resolve/test/node_path/x/ccc/index.js | 1 - .../resolve/test/node_path/y/bbb/index.js | 1 - .../resolve/test/node_path/y/ccc/index.js | 1 - node_modules/resolve/test/nonstring.js | 9 - node_modules/resolve/test/pathfilter.js | 75 - .../resolve/test/pathfilter/deep_ref/main.js | 0 node_modules/resolve/test/precedence.js | 23 - node_modules/resolve/test/precedence/aaa.js | 1 - .../resolve/test/precedence/aaa/index.js | 1 - .../resolve/test/precedence/aaa/main.js | 1 - node_modules/resolve/test/precedence/bbb.js | 1 - .../resolve/test/precedence/bbb/main.js | 1 - node_modules/resolve/test/resolver.js | 546 - .../resolve/test/resolver/baz/doom.js | 0 .../resolve/test/resolver/baz/package.json | 4 - .../resolve/test/resolver/baz/quux.js | 1 - .../resolve/test/resolver/browser_field/a.js | 0 .../resolve/test/resolver/browser_field/b.js | 0 .../test/resolver/browser_field/package.json | 5 - node_modules/resolve/test/resolver/cup.coffee | 1 - .../resolve/test/resolver/dot_main/index.js | 1 - .../test/resolver/dot_main/package.json | 3 - .../test/resolver/dot_slash_main/index.js | 1 - .../test/resolver/dot_slash_main/package.json | 3 - node_modules/resolve/test/resolver/foo.js | 1 - .../test/resolver/incorrect_main/index.js | 2 - .../test/resolver/incorrect_main/package.json | 3 - .../test/resolver/invalid_main/package.json | 7 - .../resolver/malformed_package_json/index.js | 0 .../malformed_package_json/package.json | 1 - node_modules/resolve/test/resolver/mug.coffee | 0 node_modules/resolve/test/resolver/mug.js | 0 .../test/resolver/multirepo/lerna.json | 6 - .../test/resolver/multirepo/package.json | 20 - .../multirepo/packages/package-a/index.js | 35 - .../multirepo/packages/package-a/package.json | 14 - .../multirepo/packages/package-b/index.js | 0 .../multirepo/packages/package-b/package.json | 14 - .../resolver/nested_symlinks/mylib/async.js | 26 - .../nested_symlinks/mylib/package.json | 15 - .../resolver/nested_symlinks/mylib/sync.js | 12 - .../test/resolver/other_path/lib/other-lib.js | 0 .../resolve/test/resolver/other_path/root.js | 0 .../resolve/test/resolver/quux/foo/index.js | 1 - .../resolve/test/resolver/same_names/foo.js | 1 - .../test/resolver/same_names/foo/index.js | 1 - .../resolver/symlinked/_/node_modules/foo.js | 0 .../symlinked/_/symlink_target/.gitkeep | 0 .../test/resolver/symlinked/package/bar.js | 1 - .../resolver/symlinked/package/package.json | 3 - .../test/resolver/without_basedir/main.js | 5 - node_modules/resolve/test/resolver_sync.js | 645 - node_modules/resolve/test/shadowed_core.js | 54 - .../shadowed_core/node_modules/util/index.js | 0 node_modules/resolve/test/subdirs.js | 13 - node_modules/resolve/test/symlinks.js | 176 - node_modules/rimraf/CHANGELOG.md | 65 - node_modules/rimraf/LICENSE | 15 - node_modules/rimraf/README.md | 101 - node_modules/rimraf/bin.js | 68 - node_modules/rimraf/package.json | 32 - node_modules/rimraf/rimraf.js | 360 - node_modules/safe-buffer/LICENSE | 21 - node_modules/safe-buffer/README.md | 584 - node_modules/safe-buffer/index.d.ts | 187 - node_modules/safe-buffer/index.js | 62 - node_modules/safe-buffer/package.json | 37 - node_modules/safer-buffer/LICENSE | 21 - node_modules/safer-buffer/Porting-Buffer.md | 268 - node_modules/safer-buffer/Readme.md | 156 - node_modules/safer-buffer/dangerous.js | 58 - node_modules/safer-buffer/package.json | 34 - node_modules/safer-buffer/safer.js | 77 - node_modules/safer-buffer/tests.js | 406 - node_modules/saxes/README.md | 323 - node_modules/saxes/package.json | 70 - node_modules/saxes/saxes.d.ts | 635 - node_modules/saxes/saxes.js | 2064 - node_modules/saxes/saxes.js.map | 1 - node_modules/semver/CHANGELOG.md | 70 - node_modules/semver/LICENSE | 15 - node_modules/semver/README.md | 443 - node_modules/semver/bin/semver.js | 174 - node_modules/semver/package.json | 28 - node_modules/semver/range.bnf | 16 - node_modules/semver/semver.js | 1596 - node_modules/shebang-command/index.js | 19 - node_modules/shebang-command/license | 9 - node_modules/shebang-command/package.json | 34 - node_modules/shebang-command/readme.md | 34 - node_modules/shebang-regex/index.d.ts | 22 - node_modules/shebang-regex/index.js | 2 - node_modules/shebang-regex/license | 9 - node_modules/shebang-regex/package.json | 35 - node_modules/shebang-regex/readme.md | 33 - node_modules/signal-exit/LICENSE.txt | 16 - node_modules/signal-exit/README.md | 39 - node_modules/signal-exit/index.js | 202 - node_modules/signal-exit/package.json | 38 - node_modules/signal-exit/signals.js | 53 - node_modules/sisteransi/license | 21 - node_modules/sisteransi/package.json | 34 - node_modules/sisteransi/readme.md | 113 - node_modules/sisteransi/src/index.js | 58 - node_modules/sisteransi/src/sisteransi.d.ts | 35 - node_modules/slash/index.d.ts | 25 - node_modules/slash/index.js | 11 - node_modules/slash/license | 9 - node_modules/slash/package.json | 35 - node_modules/slash/readme.md | 44 - node_modules/source-map-support/LICENSE.md | 21 - node_modules/source-map-support/README.md | 284 - .../browser-source-map-support.js | 114 - node_modules/source-map-support/package.json | 31 - .../register-hook-require.js | 1 - node_modules/source-map-support/register.js | 1 - .../source-map-support/source-map-support.js | 625 - node_modules/source-map/CHANGELOG.md | 301 - node_modules/source-map/LICENSE | 28 - node_modules/source-map/README.md | 742 - .../source-map/dist/source-map.debug.js | 3234 -- node_modules/source-map/dist/source-map.js | 3233 -- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - node_modules/source-map/lib/array-set.js | 121 - node_modules/source-map/lib/base64-vlq.js | 140 - node_modules/source-map/lib/base64.js | 67 - node_modules/source-map/lib/binary-search.js | 111 - node_modules/source-map/lib/mapping-list.js | 79 - node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1145 - .../source-map/lib/source-map-generator.js | 425 - node_modules/source-map/lib/source-node.js | 413 - node_modules/source-map/lib/util.js | 488 - node_modules/source-map/package.json | 73 - node_modules/source-map/source-map.d.ts | 98 - node_modules/source-map/source-map.js | 8 - node_modules/sprintf-js/.npmignore | 1 - node_modules/sprintf-js/LICENSE | 24 - node_modules/sprintf-js/README.md | 88 - node_modules/sprintf-js/bower.json | 14 - node_modules/sprintf-js/demo/angular.html | 20 - .../sprintf-js/dist/angular-sprintf.min.js | 4 - .../dist/angular-sprintf.min.js.map | 1 - .../sprintf-js/dist/angular-sprintf.min.map | 1 - node_modules/sprintf-js/dist/sprintf.min.js | 4 - .../sprintf-js/dist/sprintf.min.js.map | 1 - node_modules/sprintf-js/dist/sprintf.min.map | 1 - node_modules/sprintf-js/gruntfile.js | 36 - node_modules/sprintf-js/package.json | 22 - .../sprintf-js/src/angular-sprintf.js | 18 - node_modules/sprintf-js/src/sprintf.js | 208 - node_modules/sprintf-js/test/test.js | 82 - node_modules/stack-utils/index.js | 338 - node_modules/stack-utils/license | 21 - node_modules/stack-utils/package.json | 39 - node_modules/stack-utils/readme.md | 143 - node_modules/string-length/index.d.ts | 22 - node_modules/string-length/index.js | 19 - node_modules/string-length/license | 9 - node_modules/string-length/package.json | 45 - node_modules/string-length/readme.md | 43 - node_modules/string-width/index.d.ts | 29 - node_modules/string-width/index.js | 47 - node_modules/string-width/license | 9 - node_modules/string-width/package.json | 56 - node_modules/string-width/readme.md | 50 - node_modules/strip-ansi/index.d.ts | 17 - node_modules/strip-ansi/index.js | 4 - node_modules/strip-ansi/license | 9 - node_modules/strip-ansi/package.json | 54 - node_modules/strip-ansi/readme.md | 46 - node_modules/strip-bom/index.d.ts | 14 - node_modules/strip-bom/index.js | 15 - node_modules/strip-bom/license | 9 - node_modules/strip-bom/package.json | 42 - node_modules/strip-bom/readme.md | 54 - node_modules/strip-final-newline/index.js | 16 - node_modules/strip-final-newline/license | 9 - node_modules/strip-final-newline/package.json | 40 - node_modules/strip-final-newline/readme.md | 30 - node_modules/strip-json-comments/index.d.ts | 36 - node_modules/strip-json-comments/index.js | 77 - node_modules/strip-json-comments/license | 9 - node_modules/strip-json-comments/package.json | 47 - node_modules/strip-json-comments/readme.md | 78 - node_modules/supports-color/browser.js | 5 - node_modules/supports-color/index.js | 135 - node_modules/supports-color/license | 9 - node_modules/supports-color/package.json | 53 - node_modules/supports-color/readme.md | 76 - node_modules/supports-hyperlinks/browser.js | 8 - node_modules/supports-hyperlinks/index.js | 95 - node_modules/supports-hyperlinks/license | 9 - node_modules/supports-hyperlinks/package.json | 48 - node_modules/supports-hyperlinks/readme.md | 48 - .../supports-preserve-symlinks-flag/.eslintrc | 14 - .../.github/FUNDING.yml | 12 - .../supports-preserve-symlinks-flag/.nycrc | 9 - .../CHANGELOG.md | 22 - .../supports-preserve-symlinks-flag/LICENSE | 21 - .../supports-preserve-symlinks-flag/README.md | 42 - .../browser.js | 3 - .../supports-preserve-symlinks-flag/index.js | 9 - .../package.json | 70 - .../test/index.js | 29 - node_modules/symbol-tree/LICENSE | 21 - node_modules/symbol-tree/README.md | 545 - node_modules/symbol-tree/lib/SymbolTree.js | 838 - .../symbol-tree/lib/SymbolTreeNode.js | 54 - node_modules/symbol-tree/lib/TreeIterator.js | 69 - node_modules/symbol-tree/lib/TreePosition.js | 11 - node_modules/symbol-tree/package.json | 47 - node_modules/terminal-link/index.d.ts | 69 - node_modules/terminal-link/index.js | 23 - node_modules/terminal-link/license | 9 - node_modules/terminal-link/package.json | 44 - node_modules/terminal-link/readme.md | 82 - node_modules/test-exclude/CHANGELOG.md | 352 - node_modules/test-exclude/LICENSE.txt | 14 - node_modules/test-exclude/README.md | 96 - node_modules/test-exclude/index.js | 161 - .../test-exclude/is-outside-dir-posix.js | 7 - .../test-exclude/is-outside-dir-win32.js | 10 - node_modules/test-exclude/is-outside-dir.js | 7 - node_modules/test-exclude/package.json | 45 - node_modules/throat/LICENSE | 19 - node_modules/throat/README.md | 55 - node_modules/throat/index.d.ts | 32 - node_modules/throat/index.js | 145 - node_modules/throat/index.js.flow | 7 - node_modules/throat/package.json | 47 - node_modules/tmpl/lib/tmpl.js | 17 - node_modules/tmpl/license | 28 - node_modules/tmpl/package.json | 19 - node_modules/tmpl/readme.md | 10 - node_modules/to-fast-properties/index.js | 27 - node_modules/to-fast-properties/license | 10 - node_modules/to-fast-properties/package.json | 35 - node_modules/to-fast-properties/readme.md | 37 - node_modules/to-regex-range/LICENSE | 21 - node_modules/to-regex-range/README.md | 305 - node_modules/to-regex-range/index.js | 288 - node_modules/to-regex-range/package.json | 88 - node_modules/tough-cookie/LICENSE | 12 - node_modules/tough-cookie/README.md | 582 - node_modules/tough-cookie/lib/cookie.js | 1671 - node_modules/tough-cookie/lib/memstore.js | 190 - node_modules/tough-cookie/lib/pathMatch.js | 61 - .../tough-cookie/lib/permuteDomain.js | 70 - .../tough-cookie/lib/pubsuffix-psl.js | 38 - node_modules/tough-cookie/lib/store.js | 76 - node_modules/tough-cookie/lib/version.js | 2 - node_modules/tough-cookie/package.json | 109 - node_modules/tr46/LICENSE.md | 21 - node_modules/tr46/README.md | 72 - node_modules/tr46/index.js | 297 - node_modules/tr46/lib/mappingTable.json | 1 - node_modules/tr46/lib/regexes.js | 29 - node_modules/tr46/lib/statusMapping.js | 11 - node_modules/tr46/package.json | 46 - node_modules/tunnel/.idea/encodings.xml | 6 - node_modules/tunnel/.idea/modules.xml | 8 - node_modules/tunnel/.idea/node-tunnel.iml | 12 - node_modules/tunnel/.idea/vcs.xml | 6 - node_modules/tunnel/.idea/workspace.xml | 797 - node_modules/tunnel/.travis.yml | 6 - node_modules/tunnel/CHANGELOG.md | 22 - node_modules/tunnel/LICENSE | 21 - node_modules/tunnel/README.md | 185 - node_modules/tunnel/index.js | 1 - node_modules/tunnel/lib/tunnel.js | 264 - node_modules/tunnel/package.json | 34 - node_modules/type-check/LICENSE | 22 - node_modules/type-check/README.md | 210 - node_modules/type-check/lib/check.js | 126 - node_modules/type-check/lib/index.js | 16 - node_modules/type-check/lib/parse-type.js | 196 - node_modules/type-check/package.json | 40 - node_modules/type-detect/LICENSE | 19 - node_modules/type-detect/README.md | 228 - node_modules/type-detect/index.js | 378 - node_modules/type-detect/package.json | 1 - node_modules/type-detect/type-detect.js | 388 - node_modules/type-fest/base.d.ts | 39 - node_modules/type-fest/index.d.ts | 2 - node_modules/type-fest/license | 9 - node_modules/type-fest/package.json | 58 - node_modules/type-fest/readme.md | 760 - .../type-fest/source/async-return-type.d.ts | 23 - node_modules/type-fest/source/asyncify.d.ts | 31 - node_modules/type-fest/source/basic.d.ts | 51 - .../type-fest/source/conditional-except.d.ts | 43 - .../type-fest/source/conditional-keys.d.ts | 43 - .../type-fest/source/conditional-pick.d.ts | 42 - node_modules/type-fest/source/entries.d.ts | 57 - node_modules/type-fest/source/entry.d.ts | 60 - node_modules/type-fest/source/except.d.ts | 22 - .../type-fest/source/fixed-length-array.d.ts | 38 - .../type-fest/source/iterable-element.d.ts | 46 - .../type-fest/source/literal-union.d.ts | 33 - .../type-fest/source/merge-exclusive.d.ts | 39 - node_modules/type-fest/source/merge.d.ts | 25 - node_modules/type-fest/source/mutable.d.ts | 38 - node_modules/type-fest/source/opaque.d.ts | 65 - .../type-fest/source/package-json.d.ts | 611 - .../type-fest/source/partial-deep.d.ts | 72 - node_modules/type-fest/source/promisable.d.ts | 23 - .../type-fest/source/promise-value.d.ts | 27 - .../type-fest/source/readonly-deep.d.ts | 59 - .../source/require-at-least-one.d.ts | 33 - .../type-fest/source/require-exactly-one.d.ts | 35 - .../type-fest/source/set-optional.d.ts | 33 - .../type-fest/source/set-required.d.ts | 33 - .../type-fest/source/set-return-type.d.ts | 29 - node_modules/type-fest/source/simplify.d.ts | 4 - .../type-fest/source/stringified.d.ts | 21 - .../type-fest/source/tsconfig-json.d.ts | 870 - .../type-fest/source/typed-array.d.ts | 15 - .../source/union-to-intersection.d.ts | 58 - node_modules/type-fest/source/utilities.d.ts | 5 - node_modules/type-fest/source/value-of.d.ts | 40 - node_modules/type-fest/ts41/camel-case.d.ts | 64 - .../type-fest/ts41/delimiter-case.d.ts | 85 - node_modules/type-fest/ts41/get.d.ts | 131 - node_modules/type-fest/ts41/index.d.ts | 10 - node_modules/type-fest/ts41/kebab-case.d.ts | 36 - node_modules/type-fest/ts41/pascal-case.d.ts | 36 - node_modules/type-fest/ts41/snake-case.d.ts | 35 - node_modules/type-fest/ts41/utilities.d.ts | 8 - node_modules/typedarray-to-buffer/.airtap.yml | 15 - node_modules/typedarray-to-buffer/.travis.yml | 11 - node_modules/typedarray-to-buffer/LICENSE | 21 - node_modules/typedarray-to-buffer/README.md | 85 - node_modules/typedarray-to-buffer/index.js | 25 - .../typedarray-to-buffer/package.json | 50 - .../typedarray-to-buffer/test/basic.js | 50 - node_modules/universal-user-agent/LICENSE.md | 7 - node_modules/universal-user-agent/README.md | 25 - .../universal-user-agent/dist-node/index.js | 18 - .../dist-node/index.js.map | 1 - .../universal-user-agent/dist-src/index.js | 9 - .../dist-types/index.d.ts | 1 - .../universal-user-agent/dist-web/index.js | 12 - .../dist-web/index.js.map | 1 - .../universal-user-agent/package.json | 31 - node_modules/universalify/LICENSE | 20 - node_modules/universalify/README.md | 76 - node_modules/universalify/index.js | 25 - node_modules/universalify/package.json | 34 - node_modules/v8-to-istanbul/CHANGELOG.md | 380 - node_modules/v8-to-istanbul/LICENSE.txt | 14 - node_modules/v8-to-istanbul/README.md | 90 - node_modules/v8-to-istanbul/index.d.ts | 25 - node_modules/v8-to-istanbul/index.js | 5 - node_modules/v8-to-istanbul/lib/branch.js | 28 - node_modules/v8-to-istanbul/lib/function.js | 29 - node_modules/v8-to-istanbul/lib/line.js | 34 - node_modules/v8-to-istanbul/lib/range.js | 33 - node_modules/v8-to-istanbul/lib/source.js | 245 - .../v8-to-istanbul/lib/v8-to-istanbul.js | 318 - .../node_modules/source-map/CHANGELOG.md | 344 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 822 - .../source-map/dist/source-map.js | 3351 -- .../node_modules/source-map/lib/array-set.js | 100 - .../node_modules/source-map/lib/base64-vlq.js | 111 - .../node_modules/source-map/lib/base64.js | 18 - .../source-map/lib/binary-search.js | 107 - .../source-map/lib/mapping-list.js | 80 - .../node_modules/source-map/lib/mappings.wasm | Bin 48693 -> 0 bytes .../node_modules/source-map/lib/read-wasm.js | 40 - .../source-map/lib/source-map-consumer.js | 1254 - .../source-map/lib/source-map-generator.js | 413 - .../source-map/lib/source-node.js | 404 - .../node_modules/source-map/lib/util.js | 546 - .../node_modules/source-map/lib/wasm.js | 107 - .../node_modules/source-map/package.json | 90 - .../node_modules/source-map/source-map.d.ts | 369 - .../node_modules/source-map/source-map.js | 8 - node_modules/v8-to-istanbul/package.json | 48 - node_modules/w3c-hr-time/CHANGELOG.md | 19 - node_modules/w3c-hr-time/LICENSE.md | 21 - node_modules/w3c-hr-time/README.md | 130 - node_modules/w3c-hr-time/index.js | 11 - .../w3c-hr-time/lib/calculate-clock-offset.js | 39 - .../w3c-hr-time/lib/clock-is-accurate.js | 61 - .../w3c-hr-time/lib/global-monotonic-clock.js | 10 - node_modules/w3c-hr-time/lib/performance.js | 53 - node_modules/w3c-hr-time/lib/utils.js | 11 - node_modules/w3c-hr-time/package.json | 26 - node_modules/w3c-xmlserializer/LICENSE.md | 25 - node_modules/w3c-xmlserializer/README.md | 41 - .../w3c-xmlserializer/lib/attributes.js | 128 - .../w3c-xmlserializer/lib/constants.js | 44 - .../w3c-xmlserializer/lib/serialize.js | 371 - node_modules/w3c-xmlserializer/package.json | 32 - node_modules/walker/.travis.yml | 3 - node_modules/walker/LICENSE | 13 - node_modules/walker/lib/walker.js | 111 - node_modules/walker/package.json | 27 - node_modules/walker/readme.md | 52 - node_modules/webidl-conversions/LICENSE.md | 12 - node_modules/webidl-conversions/README.md | 101 - node_modules/webidl-conversions/lib/index.js | 489 - node_modules/webidl-conversions/package.json | 30 - node_modules/whatwg-encoding/LICENSE.txt | 7 - node_modules/whatwg-encoding/README.md | 50 - .../whatwg-encoding/lib/labels-to-names.json | 207 - .../whatwg-encoding/lib/supported-names.json | 37 - .../whatwg-encoding/lib/whatwg-encoding.js | 47 - node_modules/whatwg-encoding/package.json | 29 - node_modules/whatwg-mimetype/LICENSE.txt | 7 - node_modules/whatwg-mimetype/README.md | 101 - node_modules/whatwg-mimetype/lib/mime-type.js | 191 - node_modules/whatwg-mimetype/lib/parser.js | 124 - .../whatwg-mimetype/lib/serializer.js | 25 - node_modules/whatwg-mimetype/lib/utils.js | 25 - node_modules/whatwg-mimetype/package.json | 43 - node_modules/whatwg-url/LICENSE.txt | 21 - node_modules/whatwg-url/README.md | 104 - node_modules/whatwg-url/dist/Function.js | 46 - node_modules/whatwg-url/dist/URL-impl.js | 217 - node_modules/whatwg-url/dist/URL.js | 417 - .../whatwg-url/dist/URLSearchParams-impl.js | 122 - .../whatwg-url/dist/URLSearchParams.js | 457 - node_modules/whatwg-url/dist/VoidFunction.js | 30 - node_modules/whatwg-url/dist/encoding.js | 26 - node_modules/whatwg-url/dist/infra.js | 26 - .../whatwg-url/dist/percent-encoding.js | 141 - .../whatwg-url/dist/url-state-machine.js | 1210 - node_modules/whatwg-url/dist/urlencoded.js | 102 - node_modules/whatwg-url/dist/utils.js | 141 - node_modules/whatwg-url/index.js | 24 - node_modules/whatwg-url/package.json | 60 - node_modules/whatwg-url/webidl2js-wrapper.js | 7 - node_modules/which/CHANGELOG.md | 166 - node_modules/which/LICENSE | 15 - node_modules/which/README.md | 54 - node_modules/which/bin/node-which | 52 - node_modules/which/package.json | 43 - node_modules/which/which.js | 125 - node_modules/word-wrap/LICENSE | 21 - node_modules/word-wrap/README.md | 182 - node_modules/word-wrap/index.d.ts | 50 - node_modules/word-wrap/index.js | 46 - node_modules/word-wrap/package.json | 77 - node_modules/wrap-ansi/index.js | 216 - node_modules/wrap-ansi/license | 9 - node_modules/wrap-ansi/package.json | 62 - node_modules/wrap-ansi/readme.md | 91 - node_modules/wrappy/LICENSE | 15 - node_modules/wrappy/README.md | 36 - node_modules/wrappy/package.json | 29 - node_modules/wrappy/wrappy.js | 33 - node_modules/write-file-atomic/CHANGELOG.md | 32 - node_modules/write-file-atomic/LICENSE | 6 - node_modules/write-file-atomic/README.md | 72 - node_modules/write-file-atomic/index.js | 259 - node_modules/write-file-atomic/package.json | 48 - node_modules/ws/LICENSE | 21 - node_modules/ws/README.md | 495 - node_modules/ws/browser.js | 8 - node_modules/ws/index.js | 10 - node_modules/ws/lib/buffer-util.js | 129 - node_modules/ws/lib/constants.js | 10 - node_modules/ws/lib/event-target.js | 184 - node_modules/ws/lib/extension.js | 223 - node_modules/ws/lib/limiter.js | 55 - node_modules/ws/lib/permessage-deflate.js | 518 - node_modules/ws/lib/receiver.js | 607 - node_modules/ws/lib/sender.js | 409 - node_modules/ws/lib/stream.js | 180 - node_modules/ws/lib/validation.js | 104 - node_modules/ws/lib/websocket-server.js | 447 - node_modules/ws/lib/websocket.js | 1174 - node_modules/ws/package.json | 56 - node_modules/xml-name-validator/LICENSE.txt | 176 - node_modules/xml-name-validator/README.md | 36 - .../lib/generated-parser.js | 504 - .../xml-name-validator/lib/grammar.pegjs | 35 - .../lib/xml-name-validator.js | 17 - node_modules/xml-name-validator/package.json | 28 - node_modules/xmlchars/LICENSE | 18 - node_modules/xmlchars/README.md | 33 - node_modules/xmlchars/package.json | 51 - node_modules/xmlchars/xml/1.0/ed4.d.ts | 31 - node_modules/xmlchars/xml/1.0/ed4.js | 44 - node_modules/xmlchars/xml/1.0/ed4.js.map | 1 - node_modules/xmlchars/xml/1.0/ed5.d.ts | 51 - node_modules/xmlchars/xml/1.0/ed5.js | 105 - node_modules/xmlchars/xml/1.0/ed5.js.map | 1 - node_modules/xmlchars/xml/1.1/ed2.d.ts | 73 - node_modules/xmlchars/xml/1.1/ed2.js | 145 - node_modules/xmlchars/xml/1.1/ed2.js.map | 1 - node_modules/xmlchars/xmlchars.d.ts | 170 - node_modules/xmlchars/xmlchars.js | 191 - node_modules/xmlchars/xmlchars.js.map | 1 - node_modules/xmlchars/xmlns/1.0/ed3.d.ts | 28 - node_modules/xmlchars/xmlns/1.0/ed3.js | 65 - node_modules/xmlchars/xmlns/1.0/ed3.js.map | 1 - node_modules/y18n/CHANGELOG.md | 100 - node_modules/y18n/LICENSE | 13 - node_modules/y18n/README.md | 127 - node_modules/y18n/build/index.cjs | 203 - node_modules/y18n/build/lib/cjs.js | 6 - node_modules/y18n/build/lib/index.js | 174 - .../y18n/build/lib/platform-shims/node.js | 19 - node_modules/y18n/index.mjs | 8 - node_modules/y18n/package.json | 70 - node_modules/yallist/LICENSE | 15 - node_modules/yallist/README.md | 204 - node_modules/yallist/iterator.js | 8 - node_modules/yallist/package.json | 29 - node_modules/yallist/yallist.js | 426 - 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 - node_modules/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/yargs/CHANGELOG.md | 88 - node_modules/yargs/LICENSE | 21 - node_modules/yargs/README.md | 202 - node_modules/yargs/browser.mjs | 7 - node_modules/yargs/build/index.cjs | 2920 -- node_modules/yargs/build/lib/argsert.js | 62 - node_modules/yargs/build/lib/command.js | 382 - .../yargs/build/lib/completion-templates.js | 47 - node_modules/yargs/build/lib/completion.js | 128 - node_modules/yargs/build/lib/middleware.js | 53 - node_modules/yargs/build/lib/parse-command.js | 32 - .../yargs/build/lib/typings/common-types.js | 9 - .../build/lib/typings/yargs-parser-types.js | 1 - node_modules/yargs/build/lib/usage.js | 548 - .../yargs/build/lib/utils/apply-extends.js | 59 - .../yargs/build/lib/utils/is-promise.js | 5 - .../yargs/build/lib/utils/levenshtein.js | 26 - .../yargs/build/lib/utils/obj-filter.js | 10 - .../yargs/build/lib/utils/process-argv.js | 17 - .../yargs/build/lib/utils/set-blocking.js | 12 - .../yargs/build/lib/utils/which-module.js | 10 - node_modules/yargs/build/lib/validation.js | 308 - node_modules/yargs/build/lib/yargs-factory.js | 1143 - node_modules/yargs/build/lib/yerror.js | 7 - node_modules/yargs/helpers/helpers.mjs | 10 - node_modules/yargs/helpers/index.js | 14 - node_modules/yargs/helpers/package.json | 3 - node_modules/yargs/index.cjs | 39 - node_modules/yargs/index.mjs | 8 - .../yargs/lib/platform-shims/browser.mjs | 92 - node_modules/yargs/lib/platform-shims/esm.mjs | 67 - node_modules/yargs/locales/be.json | 46 - node_modules/yargs/locales/de.json | 46 - node_modules/yargs/locales/en.json | 51 - node_modules/yargs/locales/es.json | 46 - node_modules/yargs/locales/fi.json | 49 - node_modules/yargs/locales/fr.json | 53 - node_modules/yargs/locales/hi.json | 49 - node_modules/yargs/locales/hu.json | 46 - node_modules/yargs/locales/id.json | 50 - node_modules/yargs/locales/it.json | 46 - node_modules/yargs/locales/ja.json | 51 - node_modules/yargs/locales/ko.json | 49 - node_modules/yargs/locales/nb.json | 44 - node_modules/yargs/locales/nl.json | 49 - node_modules/yargs/locales/nn.json | 44 - node_modules/yargs/locales/pirate.json | 13 - node_modules/yargs/locales/pl.json | 49 - node_modules/yargs/locales/pt.json | 45 - node_modules/yargs/locales/pt_BR.json | 48 - node_modules/yargs/locales/ru.json | 46 - node_modules/yargs/locales/th.json | 46 - node_modules/yargs/locales/tr.json | 48 - node_modules/yargs/locales/zh_CN.json | 48 - node_modules/yargs/locales/zh_TW.json | 47 - node_modules/yargs/package.json | 122 - node_modules/yargs/yargs | 9 - 6278 files changed, 7 insertions(+), 740423 deletions(-) delete mode 120000 node_modules/.bin/acorn delete mode 120000 node_modules/.bin/browserslist delete mode 120000 node_modules/.bin/escodegen delete mode 120000 node_modules/.bin/esgenerate delete mode 120000 node_modules/.bin/esparse delete mode 120000 node_modules/.bin/esvalidate delete mode 120000 node_modules/.bin/import-local-fixture delete mode 120000 node_modules/.bin/jest delete mode 120000 node_modules/.bin/js-yaml delete mode 120000 node_modules/.bin/jsesc delete mode 120000 node_modules/.bin/json5 delete mode 120000 node_modules/.bin/node-which delete mode 120000 node_modules/.bin/parser delete mode 120000 node_modules/.bin/resolve delete mode 120000 node_modules/.bin/rimraf delete mode 120000 node_modules/.bin/semver delete mode 100644 node_modules/.yarn-integrity delete mode 100644 node_modules/@actions/core/LICENSE.md delete mode 100644 node_modules/@actions/core/README.md delete mode 100644 node_modules/@actions/core/lib/command.d.ts delete mode 100644 node_modules/@actions/core/lib/command.js delete mode 100644 node_modules/@actions/core/lib/command.js.map delete mode 100644 node_modules/@actions/core/lib/core.d.ts delete mode 100644 node_modules/@actions/core/lib/core.js delete mode 100644 node_modules/@actions/core/lib/core.js.map delete mode 100644 node_modules/@actions/core/lib/file-command.d.ts delete mode 100644 node_modules/@actions/core/lib/file-command.js delete mode 100644 node_modules/@actions/core/lib/file-command.js.map delete mode 100644 node_modules/@actions/core/lib/oidc-utils.d.ts delete mode 100644 node_modules/@actions/core/lib/oidc-utils.js delete mode 100644 node_modules/@actions/core/lib/oidc-utils.js.map delete mode 100644 node_modules/@actions/core/lib/utils.d.ts delete mode 100644 node_modules/@actions/core/lib/utils.js delete mode 100644 node_modules/@actions/core/lib/utils.js.map delete mode 100644 node_modules/@actions/core/package.json delete mode 100644 node_modules/@actions/github/LICENSE.md delete mode 100644 node_modules/@actions/github/README.md delete mode 100644 node_modules/@actions/github/lib/context.d.ts delete mode 100644 node_modules/@actions/github/lib/context.js delete mode 100644 node_modules/@actions/github/lib/context.js.map delete mode 100644 node_modules/@actions/github/lib/github.d.ts delete mode 100644 node_modules/@actions/github/lib/github.js delete mode 100644 node_modules/@actions/github/lib/github.js.map delete mode 100644 node_modules/@actions/github/lib/interfaces.d.ts delete mode 100644 node_modules/@actions/github/lib/interfaces.js delete mode 100644 node_modules/@actions/github/lib/interfaces.js.map delete mode 100644 node_modules/@actions/github/lib/internal/utils.d.ts delete mode 100644 node_modules/@actions/github/lib/internal/utils.js delete mode 100644 node_modules/@actions/github/lib/internal/utils.js.map delete mode 100644 node_modules/@actions/github/lib/utils.d.ts delete mode 100644 node_modules/@actions/github/lib/utils.js delete mode 100644 node_modules/@actions/github/lib/utils.js.map delete mode 100644 node_modules/@actions/github/package.json delete mode 100644 node_modules/@actions/http-client/LICENSE delete mode 100644 node_modules/@actions/http-client/README.md delete mode 100644 node_modules/@actions/http-client/RELEASES.md delete mode 100644 node_modules/@actions/http-client/actions.png delete mode 100644 node_modules/@actions/http-client/auth.d.ts delete mode 100644 node_modules/@actions/http-client/auth.js delete mode 100644 node_modules/@actions/http-client/index.d.ts delete mode 100644 node_modules/@actions/http-client/index.js delete mode 100644 node_modules/@actions/http-client/interfaces.d.ts delete mode 100644 node_modules/@actions/http-client/interfaces.js delete mode 100644 node_modules/@actions/http-client/package.json delete mode 100644 node_modules/@actions/http-client/proxy.d.ts delete mode 100644 node_modules/@actions/http-client/proxy.js delete mode 100644 node_modules/@ampproject/remapping/LICENSE delete mode 100644 node_modules/@ampproject/remapping/README.md delete mode 100644 node_modules/@ampproject/remapping/dist/remapping.mjs delete mode 100644 node_modules/@ampproject/remapping/dist/remapping.mjs.map delete mode 100644 node_modules/@ampproject/remapping/dist/remapping.umd.js delete mode 100644 node_modules/@ampproject/remapping/dist/remapping.umd.js.map delete mode 100644 node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts delete mode 100644 node_modules/@ampproject/remapping/dist/types/fast-string-array.d.ts delete mode 100644 node_modules/@ampproject/remapping/dist/types/original-source.d.ts delete mode 100644 node_modules/@ampproject/remapping/dist/types/remapping.d.ts delete mode 100644 node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts delete mode 100644 node_modules/@ampproject/remapping/dist/types/source-map.d.ts delete mode 100644 node_modules/@ampproject/remapping/dist/types/types.d.ts delete mode 100644 node_modules/@ampproject/remapping/package.json delete mode 100644 node_modules/@babel/code-frame/LICENSE delete mode 100644 node_modules/@babel/code-frame/README.md delete mode 100644 node_modules/@babel/code-frame/lib/index.js delete mode 100644 node_modules/@babel/code-frame/package.json delete mode 100644 node_modules/@babel/compat-data/LICENSE delete mode 100644 node_modules/@babel/compat-data/README.md delete mode 100644 node_modules/@babel/compat-data/corejs2-built-ins.js delete mode 100644 node_modules/@babel/compat-data/corejs3-shipped-proposals.js delete mode 100644 node_modules/@babel/compat-data/data/corejs2-built-ins.json delete mode 100644 node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json delete mode 100644 node_modules/@babel/compat-data/data/native-modules.json delete mode 100644 node_modules/@babel/compat-data/data/overlapping-plugins.json delete mode 100644 node_modules/@babel/compat-data/data/plugin-bugfixes.json delete mode 100644 node_modules/@babel/compat-data/data/plugins.json delete mode 100644 node_modules/@babel/compat-data/native-modules.js delete mode 100644 node_modules/@babel/compat-data/overlapping-plugins.js delete mode 100644 node_modules/@babel/compat-data/package.json delete mode 100644 node_modules/@babel/compat-data/plugin-bugfixes.js delete mode 100644 node_modules/@babel/compat-data/plugins.js delete mode 100644 node_modules/@babel/core/LICENSE delete mode 100644 node_modules/@babel/core/README.md delete mode 100644 node_modules/@babel/core/lib/config/cache-contexts.js delete mode 100644 node_modules/@babel/core/lib/config/caching.js delete mode 100644 node_modules/@babel/core/lib/config/config-chain.js delete mode 100644 node_modules/@babel/core/lib/config/config-descriptors.js delete mode 100644 node_modules/@babel/core/lib/config/files/configuration.js delete mode 100644 node_modules/@babel/core/lib/config/files/import-meta-resolve.js delete mode 100644 node_modules/@babel/core/lib/config/files/import.js delete mode 100644 node_modules/@babel/core/lib/config/files/index-browser.js delete mode 100644 node_modules/@babel/core/lib/config/files/index.js delete mode 100644 node_modules/@babel/core/lib/config/files/module-types.js delete mode 100644 node_modules/@babel/core/lib/config/files/package.js delete mode 100644 node_modules/@babel/core/lib/config/files/plugins.js delete mode 100644 node_modules/@babel/core/lib/config/files/types.js delete mode 100644 node_modules/@babel/core/lib/config/files/utils.js delete mode 100644 node_modules/@babel/core/lib/config/full.js delete mode 100644 node_modules/@babel/core/lib/config/helpers/config-api.js delete mode 100644 node_modules/@babel/core/lib/config/helpers/deep-array.js delete mode 100644 node_modules/@babel/core/lib/config/helpers/environment.js delete mode 100644 node_modules/@babel/core/lib/config/index.js delete mode 100644 node_modules/@babel/core/lib/config/item.js delete mode 100644 node_modules/@babel/core/lib/config/partial.js delete mode 100644 node_modules/@babel/core/lib/config/pattern-to-regex.js delete mode 100644 node_modules/@babel/core/lib/config/plugin.js delete mode 100644 node_modules/@babel/core/lib/config/printer.js delete mode 100644 node_modules/@babel/core/lib/config/resolve-targets-browser.js delete mode 100644 node_modules/@babel/core/lib/config/resolve-targets.js delete mode 100644 node_modules/@babel/core/lib/config/util.js delete mode 100644 node_modules/@babel/core/lib/config/validation/option-assertions.js delete mode 100644 node_modules/@babel/core/lib/config/validation/options.js delete mode 100644 node_modules/@babel/core/lib/config/validation/plugins.js delete mode 100644 node_modules/@babel/core/lib/config/validation/removed.js delete mode 100644 node_modules/@babel/core/lib/gensync-utils/async.js delete mode 100644 node_modules/@babel/core/lib/gensync-utils/fs.js delete mode 100644 node_modules/@babel/core/lib/index.js delete mode 100644 node_modules/@babel/core/lib/parse.js delete mode 100644 node_modules/@babel/core/lib/parser/index.js delete mode 100644 node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js delete mode 100644 node_modules/@babel/core/lib/tools/build-external-helpers.js delete mode 100644 node_modules/@babel/core/lib/transform-ast.js delete mode 100644 node_modules/@babel/core/lib/transform-file-browser.js delete mode 100644 node_modules/@babel/core/lib/transform-file.js delete mode 100644 node_modules/@babel/core/lib/transform.js delete mode 100644 node_modules/@babel/core/lib/transformation/block-hoist-plugin.js delete mode 100644 node_modules/@babel/core/lib/transformation/file/file.js delete mode 100644 node_modules/@babel/core/lib/transformation/file/generate.js delete mode 100644 node_modules/@babel/core/lib/transformation/file/merge-map.js delete mode 100644 node_modules/@babel/core/lib/transformation/index.js delete mode 100644 node_modules/@babel/core/lib/transformation/normalize-file.js delete mode 100644 node_modules/@babel/core/lib/transformation/normalize-opts.js delete mode 100644 node_modules/@babel/core/lib/transformation/plugin-pass.js delete mode 100644 node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js delete mode 100644 node_modules/@babel/core/lib/transformation/util/clone-deep.js delete mode 100644 node_modules/@babel/core/lib/vendor/import-meta-resolve.js delete mode 120000 node_modules/@babel/core/node_modules/.bin/json5 delete mode 120000 node_modules/@babel/core/node_modules/.bin/parser delete mode 120000 node_modules/@babel/core/node_modules/.bin/semver delete mode 100644 node_modules/@babel/core/package.json delete mode 100644 node_modules/@babel/core/src/config/files/index-browser.ts delete mode 100644 node_modules/@babel/core/src/config/files/index.ts delete mode 100644 node_modules/@babel/core/src/config/resolve-targets-browser.ts delete mode 100644 node_modules/@babel/core/src/config/resolve-targets.ts delete mode 100644 node_modules/@babel/core/src/transform-file-browser.ts delete mode 100644 node_modules/@babel/core/src/transform-file.ts delete mode 100644 node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts delete mode 100644 node_modules/@babel/core/src/transformation/util/clone-deep.ts delete mode 100644 node_modules/@babel/generator/LICENSE delete mode 100644 node_modules/@babel/generator/README.md delete mode 100644 node_modules/@babel/generator/lib/buffer.js delete mode 100644 node_modules/@babel/generator/lib/generators/base.js delete mode 100644 node_modules/@babel/generator/lib/generators/classes.js delete mode 100644 node_modules/@babel/generator/lib/generators/expressions.js delete mode 100644 node_modules/@babel/generator/lib/generators/flow.js delete mode 100644 node_modules/@babel/generator/lib/generators/index.js delete mode 100644 node_modules/@babel/generator/lib/generators/jsx.js delete mode 100644 node_modules/@babel/generator/lib/generators/methods.js delete mode 100644 node_modules/@babel/generator/lib/generators/modules.js delete mode 100644 node_modules/@babel/generator/lib/generators/statements.js delete mode 100644 node_modules/@babel/generator/lib/generators/template-literals.js delete mode 100644 node_modules/@babel/generator/lib/generators/types.js delete mode 100644 node_modules/@babel/generator/lib/generators/typescript.js delete mode 100644 node_modules/@babel/generator/lib/index.js delete mode 100644 node_modules/@babel/generator/lib/node/index.js delete mode 100644 node_modules/@babel/generator/lib/node/parentheses.js delete mode 100644 node_modules/@babel/generator/lib/node/whitespace.js delete mode 100644 node_modules/@babel/generator/lib/printer.js delete mode 100644 node_modules/@babel/generator/lib/source-map.js delete mode 120000 node_modules/@babel/generator/node_modules/.bin/jsesc delete mode 100644 node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/@babel/generator/node_modules/source-map/LICENSE delete mode 100644 node_modules/@babel/generator/node_modules/source-map/README.md delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/lib/util.js delete mode 100644 node_modules/@babel/generator/node_modules/source-map/package.json delete mode 100644 node_modules/@babel/generator/node_modules/source-map/source-map.js delete mode 100644 node_modules/@babel/generator/package.json delete mode 100644 node_modules/@babel/helper-compilation-targets/LICENSE delete mode 100644 node_modules/@babel/helper-compilation-targets/README.md delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/debug.js delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/filter-items.js delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/index.js delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/options.js delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/pretty.js delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/targets.js delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/types.js delete mode 100644 node_modules/@babel/helper-compilation-targets/lib/utils.js delete mode 120000 node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist delete mode 120000 node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver delete mode 100644 node_modules/@babel/helper-compilation-targets/package.json delete mode 100644 node_modules/@babel/helper-environment-visitor/LICENSE delete mode 100644 node_modules/@babel/helper-environment-visitor/README.md delete mode 100644 node_modules/@babel/helper-environment-visitor/lib/index.js delete mode 100644 node_modules/@babel/helper-environment-visitor/package.json delete mode 100644 node_modules/@babel/helper-function-name/LICENSE delete mode 100644 node_modules/@babel/helper-function-name/README.md delete mode 100644 node_modules/@babel/helper-function-name/lib/index.js delete mode 100644 node_modules/@babel/helper-function-name/package.json delete mode 100644 node_modules/@babel/helper-get-function-arity/LICENSE delete mode 100644 node_modules/@babel/helper-get-function-arity/README.md delete mode 100644 node_modules/@babel/helper-get-function-arity/lib/index.js delete mode 100644 node_modules/@babel/helper-get-function-arity/package.json delete mode 100644 node_modules/@babel/helper-hoist-variables/LICENSE delete mode 100644 node_modules/@babel/helper-hoist-variables/README.md delete mode 100644 node_modules/@babel/helper-hoist-variables/lib/index.js delete mode 100644 node_modules/@babel/helper-hoist-variables/package.json delete mode 100644 node_modules/@babel/helper-module-imports/LICENSE delete mode 100644 node_modules/@babel/helper-module-imports/README.md delete mode 100644 node_modules/@babel/helper-module-imports/lib/import-builder.js delete mode 100644 node_modules/@babel/helper-module-imports/lib/import-injector.js delete mode 100644 node_modules/@babel/helper-module-imports/lib/index.js delete mode 100644 node_modules/@babel/helper-module-imports/lib/is-module.js delete mode 100644 node_modules/@babel/helper-module-imports/package.json delete mode 100644 node_modules/@babel/helper-module-transforms/LICENSE delete mode 100644 node_modules/@babel/helper-module-transforms/README.md delete mode 100644 node_modules/@babel/helper-module-transforms/lib/get-module-name.js delete mode 100644 node_modules/@babel/helper-module-transforms/lib/index.js delete mode 100644 node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js delete mode 100644 node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js delete mode 100644 node_modules/@babel/helper-module-transforms/lib/rewrite-this.js delete mode 100644 node_modules/@babel/helper-module-transforms/package.json delete mode 100644 node_modules/@babel/helper-plugin-utils/LICENSE delete mode 100644 node_modules/@babel/helper-plugin-utils/README.md delete mode 100644 node_modules/@babel/helper-plugin-utils/lib/index.js delete mode 100644 node_modules/@babel/helper-plugin-utils/package.json delete mode 100644 node_modules/@babel/helper-simple-access/LICENSE delete mode 100644 node_modules/@babel/helper-simple-access/README.md delete mode 100644 node_modules/@babel/helper-simple-access/lib/index.js delete mode 100644 node_modules/@babel/helper-simple-access/package.json delete mode 100644 node_modules/@babel/helper-split-export-declaration/LICENSE delete mode 100644 node_modules/@babel/helper-split-export-declaration/README.md delete mode 100644 node_modules/@babel/helper-split-export-declaration/lib/index.js delete mode 100644 node_modules/@babel/helper-split-export-declaration/package.json delete mode 100644 node_modules/@babel/helper-validator-identifier/LICENSE delete mode 100644 node_modules/@babel/helper-validator-identifier/README.md delete mode 100644 node_modules/@babel/helper-validator-identifier/lib/identifier.js delete mode 100644 node_modules/@babel/helper-validator-identifier/lib/index.js delete mode 100644 node_modules/@babel/helper-validator-identifier/lib/keyword.js delete mode 100644 node_modules/@babel/helper-validator-identifier/package.json delete mode 100644 node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js delete mode 100644 node_modules/@babel/helper-validator-option/LICENSE delete mode 100644 node_modules/@babel/helper-validator-option/README.md delete mode 100644 node_modules/@babel/helper-validator-option/lib/find-suggestion.js delete mode 100644 node_modules/@babel/helper-validator-option/lib/index.js delete mode 100644 node_modules/@babel/helper-validator-option/lib/validator.js delete mode 100644 node_modules/@babel/helper-validator-option/package.json delete mode 100644 node_modules/@babel/helpers/LICENSE delete mode 100644 node_modules/@babel/helpers/README.md delete mode 100644 node_modules/@babel/helpers/lib/helpers-generated.js delete mode 100644 node_modules/@babel/helpers/lib/helpers.js delete mode 100644 node_modules/@babel/helpers/lib/helpers/applyDecs.js delete mode 100644 node_modules/@babel/helpers/lib/helpers/asyncIterator.js delete mode 100644 node_modules/@babel/helpers/lib/helpers/jsx.js delete mode 100644 node_modules/@babel/helpers/lib/helpers/objectSpread2.js delete mode 100644 node_modules/@babel/helpers/lib/helpers/typeof.js delete mode 100644 node_modules/@babel/helpers/lib/helpers/wrapRegExp.js delete mode 100644 node_modules/@babel/helpers/lib/index.js delete mode 100644 node_modules/@babel/helpers/package.json delete mode 100644 node_modules/@babel/helpers/scripts/generate-helpers.js delete mode 100644 node_modules/@babel/helpers/scripts/package.json delete mode 100644 node_modules/@babel/highlight/LICENSE delete mode 100644 node_modules/@babel/highlight/README.md delete mode 100644 node_modules/@babel/highlight/lib/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/ansi-styles/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/ansi-styles/license delete mode 100644 node_modules/@babel/highlight/node_modules/ansi-styles/package.json delete mode 100644 node_modules/@babel/highlight/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/@babel/highlight/node_modules/chalk/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/chalk/index.js.flow delete mode 100644 node_modules/@babel/highlight/node_modules/chalk/license delete mode 100644 node_modules/@babel/highlight/node_modules/chalk/package.json delete mode 100644 node_modules/@babel/highlight/node_modules/chalk/readme.md delete mode 100644 node_modules/@babel/highlight/node_modules/chalk/templates.js delete mode 100644 node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts delete mode 100644 node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/@babel/highlight/node_modules/color-convert/LICENSE delete mode 100644 node_modules/@babel/highlight/node_modules/color-convert/README.md delete mode 100644 node_modules/@babel/highlight/node_modules/color-convert/conversions.js delete mode 100644 node_modules/@babel/highlight/node_modules/color-convert/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/color-convert/package.json delete mode 100644 node_modules/@babel/highlight/node_modules/color-convert/route.js delete mode 100644 node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json delete mode 100644 node_modules/@babel/highlight/node_modules/color-name/.npmignore delete mode 100644 node_modules/@babel/highlight/node_modules/color-name/LICENSE delete mode 100644 node_modules/@babel/highlight/node_modules/color-name/README.md delete mode 100644 node_modules/@babel/highlight/node_modules/color-name/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/color-name/package.json delete mode 100644 node_modules/@babel/highlight/node_modules/color-name/test.js delete mode 100644 node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/escape-string-regexp/license delete mode 100644 node_modules/@babel/highlight/node_modules/escape-string-regexp/package.json delete mode 100644 node_modules/@babel/highlight/node_modules/escape-string-regexp/readme.md delete mode 100644 node_modules/@babel/highlight/node_modules/has-flag/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/has-flag/license delete mode 100644 node_modules/@babel/highlight/node_modules/has-flag/package.json delete mode 100644 node_modules/@babel/highlight/node_modules/has-flag/readme.md delete mode 100644 node_modules/@babel/highlight/node_modules/supports-color/browser.js delete mode 100644 node_modules/@babel/highlight/node_modules/supports-color/index.js delete mode 100644 node_modules/@babel/highlight/node_modules/supports-color/license delete mode 100644 node_modules/@babel/highlight/node_modules/supports-color/package.json delete mode 100644 node_modules/@babel/highlight/node_modules/supports-color/readme.md delete mode 100644 node_modules/@babel/highlight/package.json delete mode 100644 node_modules/@babel/parser/CHANGELOG.md delete mode 100644 node_modules/@babel/parser/LICENSE delete mode 100644 node_modules/@babel/parser/README.md delete mode 100755 node_modules/@babel/parser/bin/babel-parser.js delete mode 100644 node_modules/@babel/parser/lib/index.js delete mode 100644 node_modules/@babel/parser/lib/index.js.map delete mode 100644 node_modules/@babel/parser/package.json delete mode 100644 node_modules/@babel/parser/typings/babel-parser.d.ts delete mode 100644 node_modules/@babel/plugin-syntax-async-generators/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-async-generators/README.md delete mode 100644 node_modules/@babel/plugin-syntax-async-generators/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-async-generators/package.json delete mode 100644 node_modules/@babel/plugin-syntax-bigint/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-bigint/README.md delete mode 100644 node_modules/@babel/plugin-syntax-bigint/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-bigint/package.json delete mode 100644 node_modules/@babel/plugin-syntax-class-properties/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-class-properties/README.md delete mode 100644 node_modules/@babel/plugin-syntax-class-properties/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-class-properties/package.json delete mode 100644 node_modules/@babel/plugin-syntax-import-meta/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-import-meta/README.md delete mode 100644 node_modules/@babel/plugin-syntax-import-meta/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-import-meta/package.json delete mode 100644 node_modules/@babel/plugin-syntax-json-strings/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-json-strings/README.md delete mode 100644 node_modules/@babel/plugin-syntax-json-strings/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-json-strings/package.json delete mode 100644 node_modules/@babel/plugin-syntax-logical-assignment-operators/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-logical-assignment-operators/README.md delete mode 100644 node_modules/@babel/plugin-syntax-logical-assignment-operators/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-logical-assignment-operators/package.json delete mode 100644 node_modules/@babel/plugin-syntax-nullish-coalescing-operator/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-nullish-coalescing-operator/README.md delete mode 100644 node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json delete mode 100644 node_modules/@babel/plugin-syntax-numeric-separator/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-numeric-separator/README.md delete mode 100644 node_modules/@babel/plugin-syntax-numeric-separator/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-numeric-separator/package.json delete mode 100644 node_modules/@babel/plugin-syntax-object-rest-spread/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-object-rest-spread/README.md delete mode 100644 node_modules/@babel/plugin-syntax-object-rest-spread/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-object-rest-spread/package.json delete mode 100644 node_modules/@babel/plugin-syntax-optional-catch-binding/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-optional-catch-binding/README.md delete mode 100644 node_modules/@babel/plugin-syntax-optional-catch-binding/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-optional-catch-binding/package.json delete mode 100644 node_modules/@babel/plugin-syntax-optional-chaining/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-optional-chaining/README.md delete mode 100644 node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-optional-chaining/package.json delete mode 100644 node_modules/@babel/plugin-syntax-top-level-await/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-top-level-await/README.md delete mode 100644 node_modules/@babel/plugin-syntax-top-level-await/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-top-level-await/package.json delete mode 100644 node_modules/@babel/plugin-syntax-typescript/LICENSE delete mode 100644 node_modules/@babel/plugin-syntax-typescript/README.md delete mode 100644 node_modules/@babel/plugin-syntax-typescript/lib/index.js delete mode 100644 node_modules/@babel/plugin-syntax-typescript/package.json delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/fixtures/disallow-jsx-ambiguity/options.json delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/fixtures/disallow-jsx-ambiguity/type-assertion/input.ts delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/fixtures/disallow-jsx-ambiguity/type-assertion/options.json delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/fixtures/disallow-jsx-ambiguity/type-parameter-unambiguous/input.ts delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/fixtures/disallow-jsx-ambiguity/type-parameter-unambiguous/output.js delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/fixtures/disallow-jsx-ambiguity/type-parameter/input.ts delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/fixtures/disallow-jsx-ambiguity/type-parameter/options.json delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/index.js delete mode 100644 node_modules/@babel/plugin-syntax-typescript/test/package.json delete mode 100644 node_modules/@babel/template/LICENSE delete mode 100644 node_modules/@babel/template/README.md delete mode 100644 node_modules/@babel/template/lib/builder.js delete mode 100644 node_modules/@babel/template/lib/formatters.js delete mode 100644 node_modules/@babel/template/lib/index.js delete mode 100644 node_modules/@babel/template/lib/literal.js delete mode 100644 node_modules/@babel/template/lib/options.js delete mode 100644 node_modules/@babel/template/lib/parse.js delete mode 100644 node_modules/@babel/template/lib/populate.js delete mode 100644 node_modules/@babel/template/lib/string.js delete mode 120000 node_modules/@babel/template/node_modules/.bin/parser delete mode 100644 node_modules/@babel/template/package.json delete mode 100644 node_modules/@babel/traverse/LICENSE delete mode 100644 node_modules/@babel/traverse/README.md delete mode 100644 node_modules/@babel/traverse/lib/cache.js delete mode 100644 node_modules/@babel/traverse/lib/context.js delete mode 100644 node_modules/@babel/traverse/lib/hub.js delete mode 100644 node_modules/@babel/traverse/lib/index.js delete mode 100644 node_modules/@babel/traverse/lib/path/ancestry.js delete mode 100644 node_modules/@babel/traverse/lib/path/comments.js delete mode 100644 node_modules/@babel/traverse/lib/path/context.js delete mode 100644 node_modules/@babel/traverse/lib/path/conversion.js delete mode 100644 node_modules/@babel/traverse/lib/path/evaluation.js delete mode 100644 node_modules/@babel/traverse/lib/path/family.js delete mode 100644 node_modules/@babel/traverse/lib/path/generated/asserts.js delete mode 100644 node_modules/@babel/traverse/lib/path/generated/validators.js delete mode 100644 node_modules/@babel/traverse/lib/path/generated/virtual-types.js delete mode 100644 node_modules/@babel/traverse/lib/path/index.js delete mode 100644 node_modules/@babel/traverse/lib/path/inference/index.js delete mode 100644 node_modules/@babel/traverse/lib/path/inference/inferer-reference.js delete mode 100644 node_modules/@babel/traverse/lib/path/inference/inferers.js delete mode 100644 node_modules/@babel/traverse/lib/path/introspection.js delete mode 100644 node_modules/@babel/traverse/lib/path/lib/hoister.js delete mode 100644 node_modules/@babel/traverse/lib/path/lib/removal-hooks.js delete mode 100644 node_modules/@babel/traverse/lib/path/lib/virtual-types.js delete mode 100644 node_modules/@babel/traverse/lib/path/modification.js delete mode 100644 node_modules/@babel/traverse/lib/path/removal.js delete mode 100644 node_modules/@babel/traverse/lib/path/replacement.js delete mode 100644 node_modules/@babel/traverse/lib/scope/binding.js delete mode 100644 node_modules/@babel/traverse/lib/scope/index.js delete mode 100644 node_modules/@babel/traverse/lib/scope/lib/renamer.js delete mode 100644 node_modules/@babel/traverse/lib/traverse-node.js delete mode 100644 node_modules/@babel/traverse/lib/types.js delete mode 100644 node_modules/@babel/traverse/lib/visitors.js delete mode 120000 node_modules/@babel/traverse/node_modules/.bin/parser delete mode 100644 node_modules/@babel/traverse/package.json delete mode 100644 node_modules/@babel/traverse/scripts/generators/asserts.js delete mode 100644 node_modules/@babel/traverse/scripts/generators/validators.js delete mode 100644 node_modules/@babel/traverse/scripts/generators/virtual-types.js delete mode 100644 node_modules/@babel/traverse/scripts/package.json delete mode 100644 node_modules/@babel/types/LICENSE delete mode 100644 node_modules/@babel/types/README.md delete mode 100644 node_modules/@babel/types/lib/asserts/assertNode.js delete mode 100644 node_modules/@babel/types/lib/asserts/generated/index.js delete mode 100644 node_modules/@babel/types/lib/ast-types/generated/index.js delete mode 100644 node_modules/@babel/types/lib/builders/builder.js delete mode 100644 node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js delete mode 100644 node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js delete mode 100644 node_modules/@babel/types/lib/builders/generated/index.js delete mode 100644 node_modules/@babel/types/lib/builders/generated/uppercase.js delete mode 100644 node_modules/@babel/types/lib/builders/react/buildChildren.js delete mode 100644 node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js delete mode 100644 node_modules/@babel/types/lib/clone/clone.js delete mode 100644 node_modules/@babel/types/lib/clone/cloneDeep.js delete mode 100644 node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js delete mode 100644 node_modules/@babel/types/lib/clone/cloneNode.js delete mode 100644 node_modules/@babel/types/lib/clone/cloneWithoutLoc.js delete mode 100644 node_modules/@babel/types/lib/comments/addComment.js delete mode 100644 node_modules/@babel/types/lib/comments/addComments.js delete mode 100644 node_modules/@babel/types/lib/comments/inheritInnerComments.js delete mode 100644 node_modules/@babel/types/lib/comments/inheritLeadingComments.js delete mode 100644 node_modules/@babel/types/lib/comments/inheritTrailingComments.js delete mode 100644 node_modules/@babel/types/lib/comments/inheritsComments.js delete mode 100644 node_modules/@babel/types/lib/comments/removeComments.js delete mode 100644 node_modules/@babel/types/lib/constants/generated/index.js delete mode 100644 node_modules/@babel/types/lib/constants/index.js delete mode 100644 node_modules/@babel/types/lib/converters/Scope.js delete mode 100644 node_modules/@babel/types/lib/converters/ensureBlock.js delete mode 100644 node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js delete mode 100644 node_modules/@babel/types/lib/converters/toBindingIdentifierName.js delete mode 100644 node_modules/@babel/types/lib/converters/toBlock.js delete mode 100644 node_modules/@babel/types/lib/converters/toComputedKey.js delete mode 100644 node_modules/@babel/types/lib/converters/toExpression.js delete mode 100644 node_modules/@babel/types/lib/converters/toIdentifier.js delete mode 100644 node_modules/@babel/types/lib/converters/toKeyAlias.js delete mode 100644 node_modules/@babel/types/lib/converters/toSequenceExpression.js delete mode 100644 node_modules/@babel/types/lib/converters/toStatement.js delete mode 100644 node_modules/@babel/types/lib/converters/valueToNode.js delete mode 100644 node_modules/@babel/types/lib/definitions/core.js delete mode 100644 node_modules/@babel/types/lib/definitions/experimental.js delete mode 100644 node_modules/@babel/types/lib/definitions/flow.js delete mode 100644 node_modules/@babel/types/lib/definitions/index.js delete mode 100644 node_modules/@babel/types/lib/definitions/jsx.js delete mode 100644 node_modules/@babel/types/lib/definitions/misc.js delete mode 100644 node_modules/@babel/types/lib/definitions/placeholders.js delete mode 100644 node_modules/@babel/types/lib/definitions/typescript.js delete mode 100644 node_modules/@babel/types/lib/definitions/utils.js delete mode 100644 node_modules/@babel/types/lib/index-legacy.d.ts delete mode 100644 node_modules/@babel/types/lib/index.d.ts delete mode 100644 node_modules/@babel/types/lib/index.js delete mode 100644 node_modules/@babel/types/lib/index.js.flow delete mode 100644 node_modules/@babel/types/lib/modifications/appendToMemberExpression.js delete mode 100644 node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js delete mode 100644 node_modules/@babel/types/lib/modifications/inherits.js delete mode 100644 node_modules/@babel/types/lib/modifications/prependToMemberExpression.js delete mode 100644 node_modules/@babel/types/lib/modifications/removeProperties.js delete mode 100644 node_modules/@babel/types/lib/modifications/removePropertiesDeep.js delete mode 100644 node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js delete mode 100644 node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js delete mode 100644 node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js delete mode 100644 node_modules/@babel/types/lib/traverse/traverse.js delete mode 100644 node_modules/@babel/types/lib/traverse/traverseFast.js delete mode 100644 node_modules/@babel/types/lib/utils/inherit.js delete mode 100644 node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js delete mode 100644 node_modules/@babel/types/lib/utils/shallowEqual.js delete mode 100644 node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js delete mode 100644 node_modules/@babel/types/lib/validators/generated/index.js delete mode 100644 node_modules/@babel/types/lib/validators/is.js delete mode 100644 node_modules/@babel/types/lib/validators/isBinding.js delete mode 100644 node_modules/@babel/types/lib/validators/isBlockScoped.js delete mode 100644 node_modules/@babel/types/lib/validators/isImmutable.js delete mode 100644 node_modules/@babel/types/lib/validators/isLet.js delete mode 100644 node_modules/@babel/types/lib/validators/isNode.js delete mode 100644 node_modules/@babel/types/lib/validators/isNodesEquivalent.js delete mode 100644 node_modules/@babel/types/lib/validators/isPlaceholderType.js delete mode 100644 node_modules/@babel/types/lib/validators/isReferenced.js delete mode 100644 node_modules/@babel/types/lib/validators/isScope.js delete mode 100644 node_modules/@babel/types/lib/validators/isSpecifierDefault.js delete mode 100644 node_modules/@babel/types/lib/validators/isType.js delete mode 100644 node_modules/@babel/types/lib/validators/isValidES3Identifier.js delete mode 100644 node_modules/@babel/types/lib/validators/isValidIdentifier.js delete mode 100644 node_modules/@babel/types/lib/validators/isVar.js delete mode 100644 node_modules/@babel/types/lib/validators/matchesPattern.js delete mode 100644 node_modules/@babel/types/lib/validators/react/isCompatTag.js delete mode 100644 node_modules/@babel/types/lib/validators/react/isReactComponent.js delete mode 100644 node_modules/@babel/types/lib/validators/validate.js delete mode 100644 node_modules/@babel/types/package.json delete mode 100644 node_modules/@babel/types/scripts/generators/asserts.js delete mode 100644 node_modules/@babel/types/scripts/generators/ast-types.js delete mode 100644 node_modules/@babel/types/scripts/generators/builders.js delete mode 100644 node_modules/@babel/types/scripts/generators/constants.js delete mode 100644 node_modules/@babel/types/scripts/generators/docs.js delete mode 100644 node_modules/@babel/types/scripts/generators/flow.js delete mode 100644 node_modules/@babel/types/scripts/generators/typescript-legacy.js delete mode 100644 node_modules/@babel/types/scripts/generators/validators.js delete mode 100644 node_modules/@babel/types/scripts/package.json delete mode 100644 node_modules/@babel/types/scripts/utils/formatBuilderName.js delete mode 100644 node_modules/@babel/types/scripts/utils/lowerFirst.js delete mode 100644 node_modules/@babel/types/scripts/utils/stringifyValidator.js delete mode 100644 node_modules/@babel/types/scripts/utils/toFunctionName.js delete mode 100644 node_modules/@bcoe/v8-coverage/.editorconfig delete mode 100644 node_modules/@bcoe/v8-coverage/.gitattributes delete mode 100644 node_modules/@bcoe/v8-coverage/CHANGELOG.md delete mode 100644 node_modules/@bcoe/v8-coverage/LICENSE.md delete mode 100644 node_modules/@bcoe/v8-coverage/LICENSE.txt delete mode 100644 node_modules/@bcoe/v8-coverage/README.md delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/CHANGELOG.md delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/LICENSE.md delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/README.md delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/ascii.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/clone.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/compare.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/index.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/merge.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/normalize.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/range-tree.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/_src/types.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/ascii.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/ascii.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/clone.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/clone.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/compare.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/compare.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/compare.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/index.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/index.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/index.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/merge.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/merge.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/merge.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/normalize.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/normalize.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/normalize.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/package.json delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/range-tree.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/range-tree.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/range-tree.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/tsconfig.json delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/types.d.ts delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/types.js delete mode 100644 node_modules/@bcoe/v8-coverage/dist/lib/types.mjs delete mode 100644 node_modules/@bcoe/v8-coverage/gulpfile.ts delete mode 100644 node_modules/@bcoe/v8-coverage/package.json delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/ascii.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/clone.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/compare.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/index.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/merge.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/normalize.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/range-tree.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/lib/types.ts delete mode 100644 node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts delete mode 100644 node_modules/@bcoe/v8-coverage/tsconfig.json delete mode 100644 node_modules/@istanbuljs/load-nyc-config/CHANGELOG.md delete mode 100644 node_modules/@istanbuljs/load-nyc-config/LICENSE delete mode 100644 node_modules/@istanbuljs/load-nyc-config/README.md delete mode 100644 node_modules/@istanbuljs/load-nyc-config/index.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/load-esm.js delete mode 120000 node_modules/@istanbuljs/load-nyc-config/node_modules/.bin/js-yaml delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/CHANGELOG.md delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/LICENSE delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/README.md delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/index.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/append.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/append/constant.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/count.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/help.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/store.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/store/constant.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/store/false.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/store/true.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/subparsers.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action/version.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/action_container.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/argparse.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/argument/error.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/argument/exclusive.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/argument/group.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/argument_parser.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/const.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/help/added_formatters.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/help/formatter.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/namespace.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/utils.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/package.json delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase/index.d.ts delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase/index.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase/license delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase/package.json delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/camelcase/readme.md delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/CHANGELOG.md delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/LICENSE delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/README.md delete mode 100755 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/bin/js-yaml.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/dist/js-yaml.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/dist/js-yaml.min.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/index.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/common.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/dumper.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/exception.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/loader.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/mark.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/schema.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/schema/core.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/schema/default_full.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/schema/json.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/binary.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/bool.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/float.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/int.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/js/function.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/map.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/merge.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/null.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/omap.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/pairs.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/seq.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/set.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/str.js delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/type/timestamp.js delete mode 120000 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/node_modules/.bin/esparse delete mode 120000 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/node_modules/.bin/esvalidate delete mode 100644 node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/package.json delete mode 100644 node_modules/@istanbuljs/load-nyc-config/package.json delete mode 100644 node_modules/@istanbuljs/schema/CHANGELOG.md delete mode 100644 node_modules/@istanbuljs/schema/LICENSE delete mode 100644 node_modules/@istanbuljs/schema/README.md delete mode 100644 node_modules/@istanbuljs/schema/default-exclude.js delete mode 100644 node_modules/@istanbuljs/schema/default-extension.js delete mode 100644 node_modules/@istanbuljs/schema/index.js delete mode 100644 node_modules/@istanbuljs/schema/package.json delete mode 100644 node_modules/@jest/console/LICENSE delete mode 100644 node_modules/@jest/console/build/BufferedConsole.d.ts delete mode 100644 node_modules/@jest/console/build/BufferedConsole.js delete mode 100644 node_modules/@jest/console/build/CustomConsole.d.ts delete mode 100644 node_modules/@jest/console/build/CustomConsole.js delete mode 100644 node_modules/@jest/console/build/NullConsole.d.ts delete mode 100644 node_modules/@jest/console/build/NullConsole.js delete mode 100644 node_modules/@jest/console/build/getConsoleOutput.d.ts delete mode 100644 node_modules/@jest/console/build/getConsoleOutput.js delete mode 100644 node_modules/@jest/console/build/index.d.ts delete mode 100644 node_modules/@jest/console/build/index.js delete mode 100644 node_modules/@jest/console/build/types.d.ts delete mode 100644 node_modules/@jest/console/build/types.js delete mode 100644 node_modules/@jest/console/package.json delete mode 100644 node_modules/@jest/core/LICENSE delete mode 100644 node_modules/@jest/core/README.md delete mode 100644 node_modules/@jest/core/build/FailedTestsCache.d.ts delete mode 100644 node_modules/@jest/core/build/FailedTestsCache.js delete mode 100644 node_modules/@jest/core/build/FailedTestsInteractiveMode.d.ts delete mode 100644 node_modules/@jest/core/build/FailedTestsInteractiveMode.js delete mode 100644 node_modules/@jest/core/build/ReporterDispatcher.d.ts delete mode 100644 node_modules/@jest/core/build/ReporterDispatcher.js delete mode 100644 node_modules/@jest/core/build/SearchSource.d.ts delete mode 100644 node_modules/@jest/core/build/SearchSource.js delete mode 100644 node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts delete mode 100644 node_modules/@jest/core/build/SnapshotInteractiveMode.js delete mode 100644 node_modules/@jest/core/build/TestNamePatternPrompt.d.ts delete mode 100644 node_modules/@jest/core/build/TestNamePatternPrompt.js delete mode 100644 node_modules/@jest/core/build/TestPathPatternPrompt.d.ts delete mode 100644 node_modules/@jest/core/build/TestPathPatternPrompt.js delete mode 100644 node_modules/@jest/core/build/TestScheduler.d.ts delete mode 100644 node_modules/@jest/core/build/TestScheduler.js delete mode 100644 node_modules/@jest/core/build/TestWatcher.d.ts delete mode 100644 node_modules/@jest/core/build/TestWatcher.js delete mode 100644 node_modules/@jest/core/build/assets/jest_logo.png delete mode 100644 node_modules/@jest/core/build/cli/index.d.ts delete mode 100644 node_modules/@jest/core/build/cli/index.js delete mode 100644 node_modules/@jest/core/build/collectHandles.d.ts delete mode 100644 node_modules/@jest/core/build/collectHandles.js delete mode 100644 node_modules/@jest/core/build/getChangedFilesPromise.d.ts delete mode 100644 node_modules/@jest/core/build/getChangedFilesPromise.js delete mode 100644 node_modules/@jest/core/build/getConfigsOfProjectsToRun.d.ts delete mode 100644 node_modules/@jest/core/build/getConfigsOfProjectsToRun.js delete mode 100644 node_modules/@jest/core/build/getNoTestFound.d.ts delete mode 100644 node_modules/@jest/core/build/getNoTestFound.js delete mode 100644 node_modules/@jest/core/build/getNoTestFoundFailed.d.ts delete mode 100644 node_modules/@jest/core/build/getNoTestFoundFailed.js delete mode 100644 node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts delete mode 100644 node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js delete mode 100644 node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts delete mode 100644 node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js delete mode 100644 node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts delete mode 100644 node_modules/@jest/core/build/getNoTestFoundVerbose.js delete mode 100644 node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts delete mode 100644 node_modules/@jest/core/build/getNoTestsFoundMessage.js delete mode 100644 node_modules/@jest/core/build/getProjectDisplayName.d.ts delete mode 100644 node_modules/@jest/core/build/getProjectDisplayName.js delete mode 100644 node_modules/@jest/core/build/getProjectNamesMissingWarning.d.ts delete mode 100644 node_modules/@jest/core/build/getProjectNamesMissingWarning.js delete mode 100644 node_modules/@jest/core/build/getSelectProjectsMessage.d.ts delete mode 100644 node_modules/@jest/core/build/getSelectProjectsMessage.js delete mode 100644 node_modules/@jest/core/build/jest.d.ts delete mode 100644 node_modules/@jest/core/build/jest.js delete mode 100644 node_modules/@jest/core/build/lib/activeFiltersMessage.d.ts delete mode 100644 node_modules/@jest/core/build/lib/activeFiltersMessage.js delete mode 100644 node_modules/@jest/core/build/lib/createContext.d.ts delete mode 100644 node_modules/@jest/core/build/lib/createContext.js delete mode 100644 node_modules/@jest/core/build/lib/handleDeprecationWarnings.d.ts delete mode 100644 node_modules/@jest/core/build/lib/handleDeprecationWarnings.js delete mode 100644 node_modules/@jest/core/build/lib/isValidPath.d.ts delete mode 100644 node_modules/@jest/core/build/lib/isValidPath.js delete mode 100644 node_modules/@jest/core/build/lib/logDebugMessages.d.ts delete mode 100644 node_modules/@jest/core/build/lib/logDebugMessages.js delete mode 100644 node_modules/@jest/core/build/lib/updateGlobalConfig.d.ts delete mode 100644 node_modules/@jest/core/build/lib/updateGlobalConfig.js delete mode 100644 node_modules/@jest/core/build/lib/watchPluginsHelpers.d.ts delete mode 100644 node_modules/@jest/core/build/lib/watchPluginsHelpers.js delete mode 100644 node_modules/@jest/core/build/plugins/FailedTestsInteractive.d.ts delete mode 100644 node_modules/@jest/core/build/plugins/FailedTestsInteractive.js delete mode 100644 node_modules/@jest/core/build/plugins/Quit.d.ts delete mode 100644 node_modules/@jest/core/build/plugins/Quit.js delete mode 100644 node_modules/@jest/core/build/plugins/TestNamePattern.d.ts delete mode 100644 node_modules/@jest/core/build/plugins/TestNamePattern.js delete mode 100644 node_modules/@jest/core/build/plugins/TestPathPattern.d.ts delete mode 100644 node_modules/@jest/core/build/plugins/TestPathPattern.js delete mode 100644 node_modules/@jest/core/build/plugins/UpdateSnapshots.d.ts delete mode 100644 node_modules/@jest/core/build/plugins/UpdateSnapshots.js delete mode 100644 node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts delete mode 100644 node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js delete mode 100644 node_modules/@jest/core/build/pluralize.d.ts delete mode 100644 node_modules/@jest/core/build/pluralize.js delete mode 100644 node_modules/@jest/core/build/runGlobalHook.d.ts delete mode 100644 node_modules/@jest/core/build/runGlobalHook.js delete mode 100644 node_modules/@jest/core/build/runJest.d.ts delete mode 100644 node_modules/@jest/core/build/runJest.js delete mode 100644 node_modules/@jest/core/build/testSchedulerHelper.d.ts delete mode 100644 node_modules/@jest/core/build/testSchedulerHelper.js delete mode 100644 node_modules/@jest/core/build/types.d.ts delete mode 100644 node_modules/@jest/core/build/types.js delete mode 100644 node_modules/@jest/core/build/version.d.ts delete mode 100644 node_modules/@jest/core/build/version.js delete mode 100644 node_modules/@jest/core/build/watch.d.ts delete mode 100644 node_modules/@jest/core/build/watch.js delete mode 120000 node_modules/@jest/core/node_modules/.bin/rimraf delete mode 100644 node_modules/@jest/core/package.json delete mode 100644 node_modules/@jest/environment/LICENSE delete mode 100644 node_modules/@jest/environment/build/index.d.ts delete mode 100644 node_modules/@jest/environment/build/index.js delete mode 100644 node_modules/@jest/environment/package.json delete mode 100644 node_modules/@jest/fake-timers/LICENSE delete mode 100644 node_modules/@jest/fake-timers/build/index.d.ts delete mode 100644 node_modules/@jest/fake-timers/build/index.js delete mode 100644 node_modules/@jest/fake-timers/build/legacyFakeTimers.d.ts delete mode 100644 node_modules/@jest/fake-timers/build/legacyFakeTimers.js delete mode 100644 node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts delete mode 100644 node_modules/@jest/fake-timers/build/modernFakeTimers.js delete mode 100644 node_modules/@jest/fake-timers/package.json delete mode 100644 node_modules/@jest/globals/LICENSE delete mode 100644 node_modules/@jest/globals/build/index.d.ts delete mode 100644 node_modules/@jest/globals/build/index.js delete mode 100644 node_modules/@jest/globals/package.json delete mode 100644 node_modules/@jest/reporters/LICENSE delete mode 100644 node_modules/@jest/reporters/build/BaseReporter.d.ts delete mode 100644 node_modules/@jest/reporters/build/BaseReporter.js delete mode 100644 node_modules/@jest/reporters/build/CoverageReporter.d.ts delete mode 100644 node_modules/@jest/reporters/build/CoverageReporter.js delete mode 100644 node_modules/@jest/reporters/build/CoverageWorker.d.ts delete mode 100644 node_modules/@jest/reporters/build/CoverageWorker.js delete mode 100644 node_modules/@jest/reporters/build/DefaultReporter.d.ts delete mode 100644 node_modules/@jest/reporters/build/DefaultReporter.js delete mode 100644 node_modules/@jest/reporters/build/NotifyReporter.d.ts delete mode 100644 node_modules/@jest/reporters/build/NotifyReporter.js delete mode 100644 node_modules/@jest/reporters/build/Status.d.ts delete mode 100644 node_modules/@jest/reporters/build/Status.js delete mode 100644 node_modules/@jest/reporters/build/SummaryReporter.d.ts delete mode 100644 node_modules/@jest/reporters/build/SummaryReporter.js delete mode 100644 node_modules/@jest/reporters/build/VerboseReporter.d.ts delete mode 100644 node_modules/@jest/reporters/build/VerboseReporter.js delete mode 100644 node_modules/@jest/reporters/build/generateEmptyCoverage.d.ts delete mode 100644 node_modules/@jest/reporters/build/generateEmptyCoverage.js delete mode 100644 node_modules/@jest/reporters/build/getResultHeader.d.ts delete mode 100644 node_modules/@jest/reporters/build/getResultHeader.js delete mode 100644 node_modules/@jest/reporters/build/getSnapshotStatus.d.ts delete mode 100644 node_modules/@jest/reporters/build/getSnapshotStatus.js delete mode 100644 node_modules/@jest/reporters/build/getSnapshotSummary.d.ts delete mode 100644 node_modules/@jest/reporters/build/getSnapshotSummary.js delete mode 100644 node_modules/@jest/reporters/build/getWatermarks.d.ts delete mode 100644 node_modules/@jest/reporters/build/getWatermarks.js delete mode 100644 node_modules/@jest/reporters/build/index.d.ts delete mode 100644 node_modules/@jest/reporters/build/index.js delete mode 100644 node_modules/@jest/reporters/build/types.d.ts delete mode 100644 node_modules/@jest/reporters/build/types.js delete mode 100644 node_modules/@jest/reporters/build/utils.d.ts delete mode 100644 node_modules/@jest/reporters/build/utils.js delete mode 100644 node_modules/@jest/reporters/package.json delete mode 100644 node_modules/@jest/source-map/LICENSE delete mode 100644 node_modules/@jest/source-map/build/getCallsite.d.ts delete mode 100644 node_modules/@jest/source-map/build/getCallsite.js delete mode 100644 node_modules/@jest/source-map/build/index.d.ts delete mode 100644 node_modules/@jest/source-map/build/index.js delete mode 100644 node_modules/@jest/source-map/build/types.d.ts delete mode 100644 node_modules/@jest/source-map/build/types.js delete mode 100644 node_modules/@jest/source-map/package.json delete mode 100644 node_modules/@jest/test-result/LICENSE delete mode 100644 node_modules/@jest/test-result/build/formatTestResults.d.ts delete mode 100644 node_modules/@jest/test-result/build/formatTestResults.js delete mode 100644 node_modules/@jest/test-result/build/helpers.d.ts delete mode 100644 node_modules/@jest/test-result/build/helpers.js delete mode 100644 node_modules/@jest/test-result/build/index.d.ts delete mode 100644 node_modules/@jest/test-result/build/index.js delete mode 100644 node_modules/@jest/test-result/build/types.d.ts delete mode 100644 node_modules/@jest/test-result/build/types.js delete mode 100644 node_modules/@jest/test-result/package.json delete mode 100644 node_modules/@jest/test-sequencer/LICENSE delete mode 100644 node_modules/@jest/test-sequencer/build/index.d.ts delete mode 100644 node_modules/@jest/test-sequencer/build/index.js delete mode 100644 node_modules/@jest/test-sequencer/package.json delete mode 100644 node_modules/@jest/transform/LICENSE delete mode 100644 node_modules/@jest/transform/build/ScriptTransformer.d.ts delete mode 100644 node_modules/@jest/transform/build/ScriptTransformer.js delete mode 100644 node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.d.ts delete mode 100644 node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js delete mode 100644 node_modules/@jest/transform/build/index.d.ts delete mode 100644 node_modules/@jest/transform/build/index.js delete mode 100644 node_modules/@jest/transform/build/runtimeErrorsAndWarnings.d.ts delete mode 100644 node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js delete mode 100644 node_modules/@jest/transform/build/shouldInstrument.d.ts delete mode 100644 node_modules/@jest/transform/build/shouldInstrument.js delete mode 100644 node_modules/@jest/transform/build/types.d.ts delete mode 100644 node_modules/@jest/transform/build/types.js delete mode 100644 node_modules/@jest/transform/package.json delete mode 100644 node_modules/@jest/types/LICENSE delete mode 100644 node_modules/@jest/types/build/Circus.d.ts delete mode 100644 node_modules/@jest/types/build/Circus.js delete mode 100644 node_modules/@jest/types/build/Config.d.ts delete mode 100644 node_modules/@jest/types/build/Config.js delete mode 100644 node_modules/@jest/types/build/Global.d.ts delete mode 100644 node_modules/@jest/types/build/Global.js delete mode 100644 node_modules/@jest/types/build/TestResult.d.ts delete mode 100644 node_modules/@jest/types/build/TestResult.js delete mode 100644 node_modules/@jest/types/build/Transform.d.ts delete mode 100644 node_modules/@jest/types/build/Transform.js delete mode 100644 node_modules/@jest/types/build/index.d.ts delete mode 100644 node_modules/@jest/types/build/index.js delete mode 100644 node_modules/@jest/types/package.json delete mode 100644 node_modules/@jridgewell/resolve-uri/LICENSE delete mode 100644 node_modules/@jridgewell/resolve-uri/README.md delete mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs delete mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map delete mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js delete mode 100644 node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map delete mode 100644 node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts delete mode 100644 node_modules/@jridgewell/resolve-uri/package.json delete mode 100644 node_modules/@jridgewell/sourcemap-codec/LICENSE delete mode 100644 node_modules/@jridgewell/sourcemap-codec/README.md delete mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs delete mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map delete mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js delete mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map delete mode 100644 node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts delete mode 100644 node_modules/@jridgewell/sourcemap-codec/package.json delete mode 100644 node_modules/@jridgewell/trace-mapping/LICENSE delete mode 100644 node_modules/@jridgewell/trace-mapping/README.md delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts delete mode 100644 node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts delete mode 100644 node_modules/@jridgewell/trace-mapping/package.json delete mode 100644 node_modules/@octokit/auth-token/LICENSE delete mode 100644 node_modules/@octokit/auth-token/README.md delete mode 100644 node_modules/@octokit/auth-token/dist-node/index.js delete mode 100644 node_modules/@octokit/auth-token/dist-node/index.js.map delete mode 100644 node_modules/@octokit/auth-token/dist-src/auth.js delete mode 100644 node_modules/@octokit/auth-token/dist-src/hook.js delete mode 100644 node_modules/@octokit/auth-token/dist-src/index.js delete mode 100644 node_modules/@octokit/auth-token/dist-src/types.js delete mode 100644 node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js delete mode 100644 node_modules/@octokit/auth-token/dist-types/auth.d.ts delete mode 100644 node_modules/@octokit/auth-token/dist-types/hook.d.ts delete mode 100644 node_modules/@octokit/auth-token/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/auth-token/dist-types/types.d.ts delete mode 100644 node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts delete mode 100644 node_modules/@octokit/auth-token/dist-web/index.js delete mode 100644 node_modules/@octokit/auth-token/dist-web/index.js.map delete mode 100644 node_modules/@octokit/auth-token/package.json delete mode 100644 node_modules/@octokit/core/LICENSE delete mode 100644 node_modules/@octokit/core/README.md delete mode 100644 node_modules/@octokit/core/dist-node/index.js delete mode 100644 node_modules/@octokit/core/dist-node/index.js.map delete mode 100644 node_modules/@octokit/core/dist-src/index.js delete mode 100644 node_modules/@octokit/core/dist-src/types.js delete mode 100644 node_modules/@octokit/core/dist-src/version.js delete mode 100644 node_modules/@octokit/core/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/core/dist-types/types.d.ts delete mode 100644 node_modules/@octokit/core/dist-types/version.d.ts delete mode 100644 node_modules/@octokit/core/dist-web/index.js delete mode 100644 node_modules/@octokit/core/dist-web/index.js.map delete mode 100644 node_modules/@octokit/core/package.json delete mode 100644 node_modules/@octokit/endpoint/LICENSE delete mode 100644 node_modules/@octokit/endpoint/README.md delete mode 100644 node_modules/@octokit/endpoint/dist-node/index.js delete mode 100644 node_modules/@octokit/endpoint/dist-node/index.js.map delete mode 100644 node_modules/@octokit/endpoint/dist-src/defaults.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/index.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/merge.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/parse.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/util/merge-deep.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/util/omit.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/util/url-template.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/version.js delete mode 100644 node_modules/@octokit/endpoint/dist-src/with-defaults.js delete mode 100644 node_modules/@octokit/endpoint/dist-types/defaults.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/merge.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/parse.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/util/omit.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/version.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts delete mode 100644 node_modules/@octokit/endpoint/dist-web/index.js delete mode 100644 node_modules/@octokit/endpoint/dist-web/index.js.map delete mode 100644 node_modules/@octokit/endpoint/package.json delete mode 100644 node_modules/@octokit/graphql/LICENSE delete mode 100644 node_modules/@octokit/graphql/README.md delete mode 100644 node_modules/@octokit/graphql/dist-node/index.js delete mode 100644 node_modules/@octokit/graphql/dist-node/index.js.map delete mode 100644 node_modules/@octokit/graphql/dist-src/error.js delete mode 100644 node_modules/@octokit/graphql/dist-src/graphql.js delete mode 100644 node_modules/@octokit/graphql/dist-src/index.js delete mode 100644 node_modules/@octokit/graphql/dist-src/types.js delete mode 100644 node_modules/@octokit/graphql/dist-src/version.js delete mode 100644 node_modules/@octokit/graphql/dist-src/with-defaults.js delete mode 100644 node_modules/@octokit/graphql/dist-types/error.d.ts delete mode 100644 node_modules/@octokit/graphql/dist-types/graphql.d.ts delete mode 100644 node_modules/@octokit/graphql/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/graphql/dist-types/types.d.ts delete mode 100644 node_modules/@octokit/graphql/dist-types/version.d.ts delete mode 100644 node_modules/@octokit/graphql/dist-types/with-defaults.d.ts delete mode 100644 node_modules/@octokit/graphql/dist-web/index.js delete mode 100644 node_modules/@octokit/graphql/dist-web/index.js.map delete mode 100644 node_modules/@octokit/graphql/package.json delete mode 100644 node_modules/@octokit/openapi-types/LICENSE delete mode 100644 node_modules/@octokit/openapi-types/README.md delete mode 100644 node_modules/@octokit/openapi-types/package.json delete mode 100644 node_modules/@octokit/openapi-types/types.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/LICENSE delete mode 100644 node_modules/@octokit/plugin-paginate-rest/README.md delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-node/index.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/index.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/types.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-src/version.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-web/index.js delete mode 100644 node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map delete mode 100644 node_modules/@octokit/plugin-paginate-rest/package.json delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/LICENSE delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/README.md delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map delete mode 100644 node_modules/@octokit/plugin-rest-endpoint-methods/package.json delete mode 100644 node_modules/@octokit/request-error/LICENSE delete mode 100644 node_modules/@octokit/request-error/README.md delete mode 100644 node_modules/@octokit/request-error/dist-node/index.js delete mode 100644 node_modules/@octokit/request-error/dist-node/index.js.map delete mode 100644 node_modules/@octokit/request-error/dist-src/index.js delete mode 100644 node_modules/@octokit/request-error/dist-src/types.js delete mode 100644 node_modules/@octokit/request-error/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/request-error/dist-types/types.d.ts delete mode 100644 node_modules/@octokit/request-error/dist-web/index.js delete mode 100644 node_modules/@octokit/request-error/dist-web/index.js.map delete mode 100644 node_modules/@octokit/request-error/package.json delete mode 100644 node_modules/@octokit/request/LICENSE delete mode 100644 node_modules/@octokit/request/README.md delete mode 100644 node_modules/@octokit/request/dist-node/index.js delete mode 100644 node_modules/@octokit/request/dist-node/index.js.map delete mode 100644 node_modules/@octokit/request/dist-src/fetch-wrapper.js delete mode 100644 node_modules/@octokit/request/dist-src/get-buffer-response.js delete mode 100644 node_modules/@octokit/request/dist-src/index.js delete mode 100644 node_modules/@octokit/request/dist-src/version.js delete mode 100644 node_modules/@octokit/request/dist-src/with-defaults.js delete mode 100644 node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts delete mode 100644 node_modules/@octokit/request/dist-types/get-buffer-response.d.ts delete mode 100644 node_modules/@octokit/request/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/request/dist-types/version.d.ts delete mode 100644 node_modules/@octokit/request/dist-types/with-defaults.d.ts delete mode 100644 node_modules/@octokit/request/dist-web/index.js delete mode 100644 node_modules/@octokit/request/dist-web/index.js.map delete mode 100644 node_modules/@octokit/request/package.json delete mode 100644 node_modules/@octokit/types/LICENSE delete mode 100644 node_modules/@octokit/types/README.md delete mode 100644 node_modules/@octokit/types/dist-node/index.js delete mode 100644 node_modules/@octokit/types/dist-node/index.js.map delete mode 100644 node_modules/@octokit/types/dist-src/AuthInterface.js delete mode 100644 node_modules/@octokit/types/dist-src/EndpointDefaults.js delete mode 100644 node_modules/@octokit/types/dist-src/EndpointInterface.js delete mode 100644 node_modules/@octokit/types/dist-src/EndpointOptions.js delete mode 100644 node_modules/@octokit/types/dist-src/Fetch.js delete mode 100644 node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js delete mode 100644 node_modules/@octokit/types/dist-src/OctokitResponse.js delete mode 100644 node_modules/@octokit/types/dist-src/RequestError.js delete mode 100644 node_modules/@octokit/types/dist-src/RequestHeaders.js delete mode 100644 node_modules/@octokit/types/dist-src/RequestInterface.js delete mode 100644 node_modules/@octokit/types/dist-src/RequestMethod.js delete mode 100644 node_modules/@octokit/types/dist-src/RequestOptions.js delete mode 100644 node_modules/@octokit/types/dist-src/RequestParameters.js delete mode 100644 node_modules/@octokit/types/dist-src/RequestRequestOptions.js delete mode 100644 node_modules/@octokit/types/dist-src/ResponseHeaders.js delete mode 100644 node_modules/@octokit/types/dist-src/Route.js delete mode 100644 node_modules/@octokit/types/dist-src/Signal.js delete mode 100644 node_modules/@octokit/types/dist-src/StrategyInterface.js delete mode 100644 node_modules/@octokit/types/dist-src/Url.js delete mode 100644 node_modules/@octokit/types/dist-src/VERSION.js delete mode 100644 node_modules/@octokit/types/dist-src/generated/Endpoints.js delete mode 100644 node_modules/@octokit/types/dist-src/index.js delete mode 100644 node_modules/@octokit/types/dist-types/AuthInterface.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/EndpointInterface.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/EndpointOptions.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/Fetch.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/OctokitResponse.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/RequestError.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/RequestHeaders.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/RequestInterface.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/RequestMethod.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/RequestOptions.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/RequestParameters.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/Route.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/Signal.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/StrategyInterface.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/Url.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/VERSION.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts delete mode 100644 node_modules/@octokit/types/dist-types/index.d.ts delete mode 100644 node_modules/@octokit/types/dist-web/index.js delete mode 100644 node_modules/@octokit/types/dist-web/index.js.map delete mode 100644 node_modules/@octokit/types/package.json delete mode 100644 node_modules/@sinonjs/commons/CHANGES.md delete mode 100644 node_modules/@sinonjs/commons/LICENSE delete mode 100644 node_modules/@sinonjs/commons/README.md delete mode 100644 node_modules/@sinonjs/commons/lib/called-in-order.js delete mode 100644 node_modules/@sinonjs/commons/lib/called-in-order.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/class-name.js delete mode 100644 node_modules/@sinonjs/commons/lib/class-name.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/deprecated.js delete mode 100644 node_modules/@sinonjs/commons/lib/deprecated.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/every.js delete mode 100644 node_modules/@sinonjs/commons/lib/every.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/function-name.js delete mode 100644 node_modules/@sinonjs/commons/lib/function-name.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/global.js delete mode 100644 node_modules/@sinonjs/commons/lib/global.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/index.js delete mode 100644 node_modules/@sinonjs/commons/lib/index.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/order-by-first-call.js delete mode 100644 node_modules/@sinonjs/commons/lib/order-by-first-call.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/README.md delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/array.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/function.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/index.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/index.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/map.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/object.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/set.js delete mode 100644 node_modules/@sinonjs/commons/lib/prototypes/string.js delete mode 100644 node_modules/@sinonjs/commons/lib/type-of.js delete mode 100644 node_modules/@sinonjs/commons/lib/type-of.test.js delete mode 100644 node_modules/@sinonjs/commons/lib/value-to-string.js delete mode 100644 node_modules/@sinonjs/commons/lib/value-to-string.test.js delete mode 100644 node_modules/@sinonjs/commons/package.json delete mode 100644 node_modules/@sinonjs/commons/types/called-in-order.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/class-name.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/deprecated.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/every.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/function-name.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/global.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/index.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/order-by-first-call.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/array.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/copy-prototype.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/function.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/index.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/map.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/object.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/set.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/prototypes/string.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/type-of.d.ts delete mode 100644 node_modules/@sinonjs/commons/types/value-to-string.d.ts delete mode 100644 node_modules/@sinonjs/fake-timers/CHANGELOG.md delete mode 100644 node_modules/@sinonjs/fake-timers/LICENSE delete mode 100644 node_modules/@sinonjs/fake-timers/README.md delete mode 100644 node_modules/@sinonjs/fake-timers/package.json delete mode 100644 node_modules/@sinonjs/fake-timers/src/fake-timers-src.js delete mode 100644 node_modules/@tootallnate/once/dist/index.d.ts delete mode 100644 node_modules/@tootallnate/once/dist/index.js delete mode 100644 node_modules/@tootallnate/once/dist/index.js.map delete mode 100644 node_modules/@tootallnate/once/package.json delete mode 100755 node_modules/@types/babel__core/LICENSE delete mode 100755 node_modules/@types/babel__core/README.md delete mode 100755 node_modules/@types/babel__core/index.d.ts delete mode 120000 node_modules/@types/babel__core/node_modules/.bin/parser delete mode 100755 node_modules/@types/babel__core/package.json delete mode 100755 node_modules/@types/babel__generator/LICENSE delete mode 100755 node_modules/@types/babel__generator/README.md delete mode 100755 node_modules/@types/babel__generator/index.d.ts delete mode 100755 node_modules/@types/babel__generator/package.json delete mode 100755 node_modules/@types/babel__template/LICENSE delete mode 100755 node_modules/@types/babel__template/README.md delete mode 100755 node_modules/@types/babel__template/index.d.ts delete mode 120000 node_modules/@types/babel__template/node_modules/.bin/parser delete mode 100755 node_modules/@types/babel__template/package.json delete mode 100755 node_modules/@types/babel__traverse/LICENSE delete mode 100755 node_modules/@types/babel__traverse/README.md delete mode 100755 node_modules/@types/babel__traverse/index.d.ts delete mode 100755 node_modules/@types/babel__traverse/package.json delete mode 100755 node_modules/@types/babel__traverse/ts4.1/index.d.ts delete mode 100644 node_modules/@types/graceful-fs/LICENSE delete mode 100644 node_modules/@types/graceful-fs/README.md delete mode 100644 node_modules/@types/graceful-fs/index.d.ts delete mode 100644 node_modules/@types/graceful-fs/package.json delete mode 100755 node_modules/@types/istanbul-lib-coverage/LICENSE delete mode 100755 node_modules/@types/istanbul-lib-coverage/README.md delete mode 100755 node_modules/@types/istanbul-lib-coverage/index.d.ts delete mode 100755 node_modules/@types/istanbul-lib-coverage/package.json delete mode 100644 node_modules/@types/istanbul-lib-report/LICENSE delete mode 100644 node_modules/@types/istanbul-lib-report/README.md delete mode 100644 node_modules/@types/istanbul-lib-report/index.d.ts delete mode 100644 node_modules/@types/istanbul-lib-report/package.json delete mode 100755 node_modules/@types/istanbul-reports/LICENSE delete mode 100755 node_modules/@types/istanbul-reports/README.md delete mode 100755 node_modules/@types/istanbul-reports/index.d.ts delete mode 100755 node_modules/@types/istanbul-reports/package.json delete mode 100755 node_modules/@types/node/LICENSE delete mode 100755 node_modules/@types/node/README.md delete mode 100755 node_modules/@types/node/assert.d.ts delete mode 100755 node_modules/@types/node/assert/strict.d.ts delete mode 100755 node_modules/@types/node/async_hooks.d.ts delete mode 100755 node_modules/@types/node/buffer.d.ts delete mode 100755 node_modules/@types/node/child_process.d.ts delete mode 100755 node_modules/@types/node/cluster.d.ts delete mode 100755 node_modules/@types/node/console.d.ts delete mode 100755 node_modules/@types/node/constants.d.ts delete mode 100755 node_modules/@types/node/crypto.d.ts delete mode 100755 node_modules/@types/node/dgram.d.ts delete mode 100755 node_modules/@types/node/diagnostics_channel.d.ts delete mode 100755 node_modules/@types/node/dns.d.ts delete mode 100755 node_modules/@types/node/dns/promises.d.ts delete mode 100755 node_modules/@types/node/domain.d.ts delete mode 100755 node_modules/@types/node/events.d.ts delete mode 100755 node_modules/@types/node/fs.d.ts delete mode 100755 node_modules/@types/node/fs/promises.d.ts delete mode 100755 node_modules/@types/node/globals.d.ts delete mode 100755 node_modules/@types/node/globals.global.d.ts delete mode 100755 node_modules/@types/node/http.d.ts delete mode 100755 node_modules/@types/node/http2.d.ts delete mode 100755 node_modules/@types/node/https.d.ts delete mode 100755 node_modules/@types/node/index.d.ts delete mode 100755 node_modules/@types/node/inspector.d.ts delete mode 100755 node_modules/@types/node/module.d.ts delete mode 100755 node_modules/@types/node/net.d.ts delete mode 100755 node_modules/@types/node/os.d.ts delete mode 100755 node_modules/@types/node/package.json delete mode 100755 node_modules/@types/node/path.d.ts delete mode 100755 node_modules/@types/node/perf_hooks.d.ts delete mode 100755 node_modules/@types/node/process.d.ts delete mode 100755 node_modules/@types/node/punycode.d.ts delete mode 100755 node_modules/@types/node/querystring.d.ts delete mode 100755 node_modules/@types/node/readline.d.ts delete mode 100755 node_modules/@types/node/repl.d.ts delete mode 100755 node_modules/@types/node/stream.d.ts delete mode 100755 node_modules/@types/node/stream/consumers.d.ts delete mode 100755 node_modules/@types/node/stream/promises.d.ts delete mode 100755 node_modules/@types/node/stream/web.d.ts delete mode 100755 node_modules/@types/node/string_decoder.d.ts delete mode 100755 node_modules/@types/node/timers.d.ts delete mode 100755 node_modules/@types/node/timers/promises.d.ts delete mode 100755 node_modules/@types/node/tls.d.ts delete mode 100755 node_modules/@types/node/trace_events.d.ts delete mode 100755 node_modules/@types/node/tty.d.ts delete mode 100755 node_modules/@types/node/url.d.ts delete mode 100755 node_modules/@types/node/util.d.ts delete mode 100755 node_modules/@types/node/v8.d.ts delete mode 100755 node_modules/@types/node/vm.d.ts delete mode 100755 node_modules/@types/node/wasi.d.ts delete mode 100755 node_modules/@types/node/worker_threads.d.ts delete mode 100755 node_modules/@types/node/zlib.d.ts delete mode 100755 node_modules/@types/prettier/LICENSE delete mode 100755 node_modules/@types/prettier/README.md delete mode 100755 node_modules/@types/prettier/doc.d.ts delete mode 100755 node_modules/@types/prettier/index.d.ts delete mode 100755 node_modules/@types/prettier/package.json delete mode 100755 node_modules/@types/prettier/parser-angular.d.ts delete mode 100755 node_modules/@types/prettier/parser-babel.d.ts delete mode 100755 node_modules/@types/prettier/parser-espree.d.ts delete mode 100755 node_modules/@types/prettier/parser-flow.d.ts delete mode 100755 node_modules/@types/prettier/parser-glimmer.d.ts delete mode 100755 node_modules/@types/prettier/parser-graphql.d.ts delete mode 100755 node_modules/@types/prettier/parser-html.d.ts delete mode 100755 node_modules/@types/prettier/parser-markdown.d.ts delete mode 100755 node_modules/@types/prettier/parser-meriyah.d.ts delete mode 100755 node_modules/@types/prettier/parser-postcss.d.ts delete mode 100755 node_modules/@types/prettier/parser-typescript.d.ts delete mode 100755 node_modules/@types/prettier/parser-yaml.d.ts delete mode 100755 node_modules/@types/prettier/standalone.d.ts delete mode 100755 node_modules/@types/stack-utils/LICENSE delete mode 100755 node_modules/@types/stack-utils/README.md delete mode 100755 node_modules/@types/stack-utils/index.d.ts delete mode 100755 node_modules/@types/stack-utils/package.json delete mode 100755 node_modules/@types/yargs-parser/LICENSE delete mode 100755 node_modules/@types/yargs-parser/README.md delete mode 100755 node_modules/@types/yargs-parser/index.d.ts delete mode 100755 node_modules/@types/yargs-parser/package.json delete mode 100755 node_modules/@types/yargs/LICENSE delete mode 100755 node_modules/@types/yargs/README.md delete mode 100755 node_modules/@types/yargs/helpers.d.ts delete mode 100755 node_modules/@types/yargs/index.d.ts delete mode 100755 node_modules/@types/yargs/package.json delete mode 100755 node_modules/@types/yargs/yargs.d.ts delete mode 100644 node_modules/abab/CHANGELOG.md delete mode 100644 node_modules/abab/LICENSE.md delete mode 100644 node_modules/abab/README.md delete mode 100644 node_modules/abab/index.d.ts delete mode 100644 node_modules/abab/index.js delete mode 100644 node_modules/abab/lib/atob.js delete mode 100644 node_modules/abab/lib/btoa.js delete mode 100644 node_modules/abab/package.json delete mode 100644 node_modules/acorn-globals/LICENSE delete mode 100644 node_modules/acorn-globals/README.md delete mode 100644 node_modules/acorn-globals/index.js delete mode 120000 node_modules/acorn-globals/node_modules/.bin/acorn delete mode 100644 node_modules/acorn-globals/node_modules/acorn/CHANGELOG.md delete mode 100644 node_modules/acorn-globals/node_modules/acorn/LICENSE delete mode 100644 node_modules/acorn-globals/node_modules/acorn/README.md delete mode 100755 node_modules/acorn-globals/node_modules/acorn/bin/acorn delete mode 100644 node_modules/acorn-globals/node_modules/acorn/dist/acorn.d.ts delete mode 100644 node_modules/acorn-globals/node_modules/acorn/dist/acorn.js delete mode 100644 node_modules/acorn-globals/node_modules/acorn/dist/acorn.js.map delete mode 100644 node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs delete mode 100644 node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.d.ts delete mode 100644 node_modules/acorn-globals/node_modules/acorn/dist/acorn.mjs.map delete mode 100644 node_modules/acorn-globals/node_modules/acorn/dist/bin.js delete mode 100644 node_modules/acorn-globals/node_modules/acorn/package.json delete mode 100644 node_modules/acorn-globals/package.json delete mode 100644 node_modules/acorn-walk/CHANGELOG.md delete mode 100644 node_modules/acorn-walk/LICENSE delete mode 100644 node_modules/acorn-walk/README.md delete mode 100644 node_modules/acorn-walk/dist/walk.d.ts delete mode 100644 node_modules/acorn-walk/dist/walk.js delete mode 100644 node_modules/acorn-walk/dist/walk.js.map delete mode 100644 node_modules/acorn-walk/dist/walk.mjs delete mode 100644 node_modules/acorn-walk/dist/walk.mjs.map delete mode 100644 node_modules/acorn-walk/package.json delete mode 100644 node_modules/acorn/CHANGELOG.md delete mode 100644 node_modules/acorn/LICENSE delete mode 100644 node_modules/acorn/README.md delete mode 100755 node_modules/acorn/bin/acorn delete mode 100644 node_modules/acorn/dist/acorn.d.ts delete mode 100644 node_modules/acorn/dist/acorn.js delete mode 100644 node_modules/acorn/dist/acorn.mjs delete mode 100644 node_modules/acorn/dist/acorn.mjs.d.ts delete mode 100644 node_modules/acorn/dist/bin.js delete mode 100644 node_modules/acorn/package.json delete mode 100644 node_modules/agent-base/README.md delete mode 100644 node_modules/agent-base/dist/src/index.d.ts delete mode 100644 node_modules/agent-base/dist/src/index.js delete mode 100644 node_modules/agent-base/dist/src/index.js.map delete mode 100644 node_modules/agent-base/dist/src/promisify.d.ts delete mode 100644 node_modules/agent-base/dist/src/promisify.js delete mode 100644 node_modules/agent-base/dist/src/promisify.js.map delete mode 100644 node_modules/agent-base/package.json delete mode 100644 node_modules/agent-base/src/index.ts delete mode 100644 node_modules/agent-base/src/promisify.ts delete mode 100644 node_modules/ansi-escapes/index.d.ts delete mode 100644 node_modules/ansi-escapes/index.js delete mode 100644 node_modules/ansi-escapes/license delete mode 100644 node_modules/ansi-escapes/package.json delete mode 100644 node_modules/ansi-escapes/readme.md delete mode 100644 node_modules/ansi-regex/index.d.ts delete mode 100644 node_modules/ansi-regex/index.js delete mode 100644 node_modules/ansi-regex/license delete mode 100644 node_modules/ansi-regex/package.json delete mode 100644 node_modules/ansi-regex/readme.md delete mode 100644 node_modules/ansi-styles/index.d.ts delete mode 100644 node_modules/ansi-styles/index.js delete mode 100644 node_modules/ansi-styles/license delete mode 100644 node_modules/ansi-styles/package.json delete mode 100644 node_modules/ansi-styles/readme.md delete mode 100644 node_modules/anymatch/LICENSE delete mode 100644 node_modules/anymatch/README.md delete mode 100644 node_modules/anymatch/index.d.ts delete mode 100644 node_modules/anymatch/index.js delete mode 100644 node_modules/anymatch/package.json delete mode 100644 node_modules/argparse/CHANGELOG.md delete mode 100644 node_modules/argparse/LICENSE delete mode 100644 node_modules/argparse/README.md delete mode 100644 node_modules/argparse/argparse.js delete mode 100644 node_modules/argparse/lib/sub.js delete mode 100644 node_modules/argparse/lib/textwrap.js delete mode 100644 node_modules/argparse/package.json delete mode 100644 node_modules/asynckit/LICENSE delete mode 100644 node_modules/asynckit/README.md delete mode 100644 node_modules/asynckit/bench.js delete mode 100644 node_modules/asynckit/index.js delete mode 100644 node_modules/asynckit/lib/abort.js delete mode 100644 node_modules/asynckit/lib/async.js delete mode 100644 node_modules/asynckit/lib/defer.js delete mode 100644 node_modules/asynckit/lib/iterate.js delete mode 100644 node_modules/asynckit/lib/readable_asynckit.js delete mode 100644 node_modules/asynckit/lib/readable_parallel.js delete mode 100644 node_modules/asynckit/lib/readable_serial.js delete mode 100644 node_modules/asynckit/lib/readable_serial_ordered.js delete mode 100644 node_modules/asynckit/lib/state.js delete mode 100644 node_modules/asynckit/lib/streamify.js delete mode 100644 node_modules/asynckit/lib/terminator.js delete mode 100644 node_modules/asynckit/package.json delete mode 100644 node_modules/asynckit/parallel.js delete mode 100644 node_modules/asynckit/serial.js delete mode 100644 node_modules/asynckit/serialOrdered.js delete mode 100644 node_modules/asynckit/stream.js delete mode 100644 node_modules/babel-jest/LICENSE delete mode 100644 node_modules/babel-jest/README.md delete mode 100644 node_modules/babel-jest/build/index.d.ts delete mode 100644 node_modules/babel-jest/build/index.js delete mode 100644 node_modules/babel-jest/build/loadBabelConfig.d.ts delete mode 100644 node_modules/babel-jest/build/loadBabelConfig.js delete mode 100644 node_modules/babel-jest/package.json delete mode 100644 node_modules/babel-plugin-istanbul/CHANGELOG.md delete mode 100644 node_modules/babel-plugin-istanbul/LICENSE delete mode 100644 node_modules/babel-plugin-istanbul/README.md delete mode 100644 node_modules/babel-plugin-istanbul/lib/index.js delete mode 100644 node_modules/babel-plugin-istanbul/lib/load-nyc-config-sync.js delete mode 100644 node_modules/babel-plugin-istanbul/package.json delete mode 100644 node_modules/babel-plugin-jest-hoist/LICENSE delete mode 100644 node_modules/babel-plugin-jest-hoist/README.md delete mode 100644 node_modules/babel-plugin-jest-hoist/build/index.d.ts delete mode 100644 node_modules/babel-plugin-jest-hoist/build/index.js delete mode 100644 node_modules/babel-plugin-jest-hoist/package.json delete mode 100644 node_modules/babel-preset-current-node-syntax/LICENSE delete mode 100644 node_modules/babel-preset-current-node-syntax/README.md delete mode 100644 node_modules/babel-preset-current-node-syntax/package.json delete mode 100644 node_modules/babel-preset-current-node-syntax/scripts/check-yarn-bug.sh delete mode 100644 node_modules/babel-preset-current-node-syntax/src/index.js delete mode 100644 node_modules/babel-preset-jest/LICENSE delete mode 100644 node_modules/babel-preset-jest/README.md delete mode 100644 node_modules/babel-preset-jest/index.js delete mode 100644 node_modules/babel-preset-jest/package.json delete mode 100644 node_modules/balanced-match/.github/FUNDING.yml delete mode 100644 node_modules/balanced-match/LICENSE.md delete mode 100644 node_modules/balanced-match/README.md delete mode 100644 node_modules/balanced-match/index.js delete mode 100644 node_modules/balanced-match/package.json delete mode 100644 node_modules/before-after-hook/LICENSE delete mode 100644 node_modules/before-after-hook/README.md delete mode 100644 node_modules/before-after-hook/index.d.ts delete mode 100644 node_modules/before-after-hook/index.js delete mode 100644 node_modules/before-after-hook/lib/add.js delete mode 100644 node_modules/before-after-hook/lib/register.js delete mode 100644 node_modules/before-after-hook/lib/remove.js delete mode 100644 node_modules/before-after-hook/package.json delete mode 100644 node_modules/brace-expansion/LICENSE delete mode 100644 node_modules/brace-expansion/README.md delete mode 100644 node_modules/brace-expansion/index.js delete mode 100644 node_modules/brace-expansion/package.json delete mode 100644 node_modules/braces/CHANGELOG.md delete mode 100644 node_modules/braces/LICENSE delete mode 100644 node_modules/braces/README.md delete mode 100644 node_modules/braces/index.js delete mode 100644 node_modules/braces/lib/compile.js delete mode 100644 node_modules/braces/lib/constants.js delete mode 100644 node_modules/braces/lib/expand.js delete mode 100644 node_modules/braces/lib/parse.js delete mode 100644 node_modules/braces/lib/stringify.js delete mode 100644 node_modules/braces/lib/utils.js delete mode 100644 node_modules/braces/package.json delete mode 100644 node_modules/browser-process-hrtime/LICENSE delete mode 100644 node_modules/browser-process-hrtime/README.md delete mode 100644 node_modules/browser-process-hrtime/index.d.ts delete mode 100644 node_modules/browser-process-hrtime/index.js delete mode 100644 node_modules/browser-process-hrtime/package.json delete mode 100644 node_modules/browserslist/LICENSE delete mode 100644 node_modules/browserslist/README.md delete mode 100644 node_modules/browserslist/browser.js delete mode 100755 node_modules/browserslist/cli.js delete mode 100644 node_modules/browserslist/error.d.ts delete mode 100644 node_modules/browserslist/error.js delete mode 100644 node_modules/browserslist/index.d.ts delete mode 100644 node_modules/browserslist/index.js delete mode 100644 node_modules/browserslist/node.js delete mode 100644 node_modules/browserslist/package.json delete mode 100644 node_modules/browserslist/update-db.js delete mode 100644 node_modules/bser/README.md delete mode 100644 node_modules/bser/index.js delete mode 100644 node_modules/bser/package.json delete mode 100644 node_modules/buffer-from/LICENSE delete mode 100644 node_modules/buffer-from/index.js delete mode 100644 node_modules/buffer-from/package.json delete mode 100644 node_modules/buffer-from/readme.md delete mode 100644 node_modules/callsites/index.d.ts delete mode 100644 node_modules/callsites/index.js delete mode 100644 node_modules/callsites/license delete mode 100644 node_modules/callsites/package.json delete mode 100644 node_modules/callsites/readme.md delete mode 100644 node_modules/camelcase/index.d.ts delete mode 100644 node_modules/camelcase/index.js delete mode 100644 node_modules/camelcase/license delete mode 100644 node_modules/camelcase/package.json delete mode 100644 node_modules/camelcase/readme.md delete mode 100644 node_modules/caniuse-lite/LICENSE delete mode 100644 node_modules/caniuse-lite/README.md delete mode 100644 node_modules/caniuse-lite/data/agents.js delete mode 100644 node_modules/caniuse-lite/data/browserVersions.js delete mode 100644 node_modules/caniuse-lite/data/browsers.js delete mode 100644 node_modules/caniuse-lite/data/features.js delete mode 100644 node_modules/caniuse-lite/data/features/aac.js delete mode 100644 node_modules/caniuse-lite/data/features/abortcontroller.js delete mode 100644 node_modules/caniuse-lite/data/features/ac3-ec3.js delete mode 100644 node_modules/caniuse-lite/data/features/accelerometer.js delete mode 100644 node_modules/caniuse-lite/data/features/addeventlistener.js delete mode 100644 node_modules/caniuse-lite/data/features/alternate-stylesheet.js delete mode 100644 node_modules/caniuse-lite/data/features/ambient-light.js delete mode 100644 node_modules/caniuse-lite/data/features/apng.js delete mode 100644 node_modules/caniuse-lite/data/features/array-find-index.js delete mode 100644 node_modules/caniuse-lite/data/features/array-find.js delete mode 100644 node_modules/caniuse-lite/data/features/array-flat.js delete mode 100644 node_modules/caniuse-lite/data/features/array-includes.js delete mode 100644 node_modules/caniuse-lite/data/features/arrow-functions.js delete mode 100644 node_modules/caniuse-lite/data/features/asmjs.js delete mode 100644 node_modules/caniuse-lite/data/features/async-clipboard.js delete mode 100644 node_modules/caniuse-lite/data/features/async-functions.js delete mode 100644 node_modules/caniuse-lite/data/features/atob-btoa.js delete mode 100644 node_modules/caniuse-lite/data/features/audio-api.js delete mode 100644 node_modules/caniuse-lite/data/features/audio.js delete mode 100644 node_modules/caniuse-lite/data/features/audiotracks.js delete mode 100644 node_modules/caniuse-lite/data/features/autofocus.js delete mode 100644 node_modules/caniuse-lite/data/features/auxclick.js delete mode 100644 node_modules/caniuse-lite/data/features/av1.js delete mode 100644 node_modules/caniuse-lite/data/features/avif.js delete mode 100644 node_modules/caniuse-lite/data/features/background-attachment.js delete mode 100644 node_modules/caniuse-lite/data/features/background-clip-text.js delete mode 100644 node_modules/caniuse-lite/data/features/background-img-opts.js delete mode 100644 node_modules/caniuse-lite/data/features/background-position-x-y.js delete mode 100644 node_modules/caniuse-lite/data/features/background-repeat-round-space.js delete mode 100644 node_modules/caniuse-lite/data/features/background-sync.js delete mode 100644 node_modules/caniuse-lite/data/features/battery-status.js delete mode 100644 node_modules/caniuse-lite/data/features/beacon.js delete mode 100644 node_modules/caniuse-lite/data/features/beforeafterprint.js delete mode 100644 node_modules/caniuse-lite/data/features/bigint.js delete mode 100644 node_modules/caniuse-lite/data/features/blobbuilder.js delete mode 100644 node_modules/caniuse-lite/data/features/bloburls.js delete mode 100644 node_modules/caniuse-lite/data/features/border-image.js delete mode 100644 node_modules/caniuse-lite/data/features/border-radius.js delete mode 100644 node_modules/caniuse-lite/data/features/broadcastchannel.js delete mode 100644 node_modules/caniuse-lite/data/features/brotli.js delete mode 100644 node_modules/caniuse-lite/data/features/calc.js delete mode 100644 node_modules/caniuse-lite/data/features/canvas-blending.js delete mode 100644 node_modules/caniuse-lite/data/features/canvas-text.js delete mode 100644 node_modules/caniuse-lite/data/features/canvas.js delete mode 100644 node_modules/caniuse-lite/data/features/ch-unit.js delete mode 100644 node_modules/caniuse-lite/data/features/chacha20-poly1305.js delete mode 100644 node_modules/caniuse-lite/data/features/channel-messaging.js delete mode 100644 node_modules/caniuse-lite/data/features/childnode-remove.js delete mode 100644 node_modules/caniuse-lite/data/features/classlist.js delete mode 100644 node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js delete mode 100644 node_modules/caniuse-lite/data/features/clipboard.js delete mode 100644 node_modules/caniuse-lite/data/features/colr-v1.js delete mode 100644 node_modules/caniuse-lite/data/features/colr.js delete mode 100644 node_modules/caniuse-lite/data/features/comparedocumentposition.js delete mode 100644 node_modules/caniuse-lite/data/features/console-basic.js delete mode 100644 node_modules/caniuse-lite/data/features/console-time.js delete mode 100644 node_modules/caniuse-lite/data/features/const.js delete mode 100644 node_modules/caniuse-lite/data/features/constraint-validation.js delete mode 100644 node_modules/caniuse-lite/data/features/contenteditable.js delete mode 100644 node_modules/caniuse-lite/data/features/contentsecuritypolicy.js delete mode 100644 node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js delete mode 100644 node_modules/caniuse-lite/data/features/cookie-store-api.js delete mode 100644 node_modules/caniuse-lite/data/features/cors.js delete mode 100644 node_modules/caniuse-lite/data/features/createimagebitmap.js delete mode 100644 node_modules/caniuse-lite/data/features/credential-management.js delete mode 100644 node_modules/caniuse-lite/data/features/cryptography.js delete mode 100644 node_modules/caniuse-lite/data/features/css-all.js delete mode 100644 node_modules/caniuse-lite/data/features/css-animation.js delete mode 100644 node_modules/caniuse-lite/data/features/css-any-link.js delete mode 100644 node_modules/caniuse-lite/data/features/css-appearance.js delete mode 100644 node_modules/caniuse-lite/data/features/css-at-counter-style.js delete mode 100644 node_modules/caniuse-lite/data/features/css-autofill.js delete mode 100644 node_modules/caniuse-lite/data/features/css-backdrop-filter.js delete mode 100644 node_modules/caniuse-lite/data/features/css-background-offsets.js delete mode 100644 node_modules/caniuse-lite/data/features/css-backgroundblendmode.js delete mode 100644 node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js delete mode 100644 node_modules/caniuse-lite/data/features/css-boxshadow.js delete mode 100644 node_modules/caniuse-lite/data/features/css-canvas.js delete mode 100644 node_modules/caniuse-lite/data/features/css-caret-color.js delete mode 100644 node_modules/caniuse-lite/data/features/css-cascade-layers.js delete mode 100644 node_modules/caniuse-lite/data/features/css-case-insensitive.js delete mode 100644 node_modules/caniuse-lite/data/features/css-clip-path.js delete mode 100644 node_modules/caniuse-lite/data/features/css-color-adjust.js delete mode 100644 node_modules/caniuse-lite/data/features/css-color-function.js delete mode 100644 node_modules/caniuse-lite/data/features/css-conic-gradients.js delete mode 100644 node_modules/caniuse-lite/data/features/css-container-queries.js delete mode 100644 node_modules/caniuse-lite/data/features/css-containment.js delete mode 100644 node_modules/caniuse-lite/data/features/css-content-visibility.js delete mode 100644 node_modules/caniuse-lite/data/features/css-counters.js delete mode 100644 node_modules/caniuse-lite/data/features/css-crisp-edges.js delete mode 100644 node_modules/caniuse-lite/data/features/css-cross-fade.js delete mode 100644 node_modules/caniuse-lite/data/features/css-default-pseudo.js delete mode 100644 node_modules/caniuse-lite/data/features/css-descendant-gtgt.js delete mode 100644 node_modules/caniuse-lite/data/features/css-deviceadaptation.js delete mode 100644 node_modules/caniuse-lite/data/features/css-dir-pseudo.js delete mode 100644 node_modules/caniuse-lite/data/features/css-display-contents.js delete mode 100644 node_modules/caniuse-lite/data/features/css-element-function.js delete mode 100644 node_modules/caniuse-lite/data/features/css-env-function.js delete mode 100644 node_modules/caniuse-lite/data/features/css-exclusions.js delete mode 100644 node_modules/caniuse-lite/data/features/css-featurequeries.js delete mode 100644 node_modules/caniuse-lite/data/features/css-file-selector-button.js delete mode 100644 node_modules/caniuse-lite/data/features/css-filter-function.js delete mode 100644 node_modules/caniuse-lite/data/features/css-filters.js delete mode 100644 node_modules/caniuse-lite/data/features/css-first-letter.js delete mode 100644 node_modules/caniuse-lite/data/features/css-first-line.js delete mode 100644 node_modules/caniuse-lite/data/features/css-fixed.js delete mode 100644 node_modules/caniuse-lite/data/features/css-focus-visible.js delete mode 100644 node_modules/caniuse-lite/data/features/css-focus-within.js delete mode 100644 node_modules/caniuse-lite/data/features/css-font-rendering-controls.js delete mode 100644 node_modules/caniuse-lite/data/features/css-font-stretch.js delete mode 100644 node_modules/caniuse-lite/data/features/css-gencontent.js delete mode 100644 node_modules/caniuse-lite/data/features/css-gradients.js delete mode 100644 node_modules/caniuse-lite/data/features/css-grid.js delete mode 100644 node_modules/caniuse-lite/data/features/css-hanging-punctuation.js delete mode 100644 node_modules/caniuse-lite/data/features/css-has.js delete mode 100644 node_modules/caniuse-lite/data/features/css-hyphenate.js delete mode 100644 node_modules/caniuse-lite/data/features/css-hyphens.js delete mode 100644 node_modules/caniuse-lite/data/features/css-image-orientation.js delete mode 100644 node_modules/caniuse-lite/data/features/css-image-set.js delete mode 100644 node_modules/caniuse-lite/data/features/css-in-out-of-range.js delete mode 100644 node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js delete mode 100644 node_modules/caniuse-lite/data/features/css-initial-letter.js delete mode 100644 node_modules/caniuse-lite/data/features/css-initial-value.js delete mode 100644 node_modules/caniuse-lite/data/features/css-lch-lab.js delete mode 100644 node_modules/caniuse-lite/data/features/css-letter-spacing.js delete mode 100644 node_modules/caniuse-lite/data/features/css-line-clamp.js delete mode 100644 node_modules/caniuse-lite/data/features/css-logical-props.js delete mode 100644 node_modules/caniuse-lite/data/features/css-marker-pseudo.js delete mode 100644 node_modules/caniuse-lite/data/features/css-masks.js delete mode 100644 node_modules/caniuse-lite/data/features/css-matches-pseudo.js delete mode 100644 node_modules/caniuse-lite/data/features/css-math-functions.js delete mode 100644 node_modules/caniuse-lite/data/features/css-media-interaction.js delete mode 100644 node_modules/caniuse-lite/data/features/css-media-resolution.js delete mode 100644 node_modules/caniuse-lite/data/features/css-media-scripting.js delete mode 100644 node_modules/caniuse-lite/data/features/css-mediaqueries.js delete mode 100644 node_modules/caniuse-lite/data/features/css-mixblendmode.js delete mode 100644 node_modules/caniuse-lite/data/features/css-motion-paths.js delete mode 100644 node_modules/caniuse-lite/data/features/css-namespaces.js delete mode 100644 node_modules/caniuse-lite/data/features/css-nesting.js delete mode 100644 node_modules/caniuse-lite/data/features/css-not-sel-list.js delete mode 100644 node_modules/caniuse-lite/data/features/css-nth-child-of.js delete mode 100644 node_modules/caniuse-lite/data/features/css-opacity.js delete mode 100644 node_modules/caniuse-lite/data/features/css-optional-pseudo.js delete mode 100644 node_modules/caniuse-lite/data/features/css-overflow-anchor.js delete mode 100644 node_modules/caniuse-lite/data/features/css-overflow-overlay.js delete mode 100644 node_modules/caniuse-lite/data/features/css-overflow.js delete mode 100644 node_modules/caniuse-lite/data/features/css-overscroll-behavior.js delete mode 100644 node_modules/caniuse-lite/data/features/css-page-break.js delete mode 100644 node_modules/caniuse-lite/data/features/css-paged-media.js delete mode 100644 node_modules/caniuse-lite/data/features/css-paint-api.js delete mode 100644 node_modules/caniuse-lite/data/features/css-placeholder-shown.js delete mode 100644 node_modules/caniuse-lite/data/features/css-placeholder.js delete mode 100644 node_modules/caniuse-lite/data/features/css-read-only-write.js delete mode 100644 node_modules/caniuse-lite/data/features/css-rebeccapurple.js delete mode 100644 node_modules/caniuse-lite/data/features/css-reflections.js delete mode 100644 node_modules/caniuse-lite/data/features/css-regions.js delete mode 100644 node_modules/caniuse-lite/data/features/css-repeating-gradients.js delete mode 100644 node_modules/caniuse-lite/data/features/css-resize.js delete mode 100644 node_modules/caniuse-lite/data/features/css-revert-value.js delete mode 100644 node_modules/caniuse-lite/data/features/css-rrggbbaa.js delete mode 100644 node_modules/caniuse-lite/data/features/css-scroll-behavior.js delete mode 100644 node_modules/caniuse-lite/data/features/css-scroll-timeline.js delete mode 100644 node_modules/caniuse-lite/data/features/css-scrollbar.js delete mode 100644 node_modules/caniuse-lite/data/features/css-sel2.js delete mode 100644 node_modules/caniuse-lite/data/features/css-sel3.js delete mode 100644 node_modules/caniuse-lite/data/features/css-selection.js delete mode 100644 node_modules/caniuse-lite/data/features/css-shapes.js delete mode 100644 node_modules/caniuse-lite/data/features/css-snappoints.js delete mode 100644 node_modules/caniuse-lite/data/features/css-sticky.js delete mode 100644 node_modules/caniuse-lite/data/features/css-subgrid.js delete mode 100644 node_modules/caniuse-lite/data/features/css-supports-api.js delete mode 100644 node_modules/caniuse-lite/data/features/css-table.js delete mode 100644 node_modules/caniuse-lite/data/features/css-text-align-last.js delete mode 100644 node_modules/caniuse-lite/data/features/css-text-indent.js delete mode 100644 node_modules/caniuse-lite/data/features/css-text-justify.js delete mode 100644 node_modules/caniuse-lite/data/features/css-text-orientation.js delete mode 100644 node_modules/caniuse-lite/data/features/css-text-spacing.js delete mode 100644 node_modules/caniuse-lite/data/features/css-textshadow.js delete mode 100644 node_modules/caniuse-lite/data/features/css-touch-action-2.js delete mode 100644 node_modules/caniuse-lite/data/features/css-touch-action.js delete mode 100644 node_modules/caniuse-lite/data/features/css-transitions.js delete mode 100644 node_modules/caniuse-lite/data/features/css-unicode-bidi.js delete mode 100644 node_modules/caniuse-lite/data/features/css-unset-value.js delete mode 100644 node_modules/caniuse-lite/data/features/css-variables.js delete mode 100644 node_modules/caniuse-lite/data/features/css-when-else.js delete mode 100644 node_modules/caniuse-lite/data/features/css-widows-orphans.js delete mode 100644 node_modules/caniuse-lite/data/features/css-width-stretch.js delete mode 100644 node_modules/caniuse-lite/data/features/css-writing-mode.js delete mode 100644 node_modules/caniuse-lite/data/features/css-zoom.js delete mode 100644 node_modules/caniuse-lite/data/features/css3-attr.js delete mode 100644 node_modules/caniuse-lite/data/features/css3-boxsizing.js delete mode 100644 node_modules/caniuse-lite/data/features/css3-colors.js delete mode 100644 node_modules/caniuse-lite/data/features/css3-cursors-grab.js delete mode 100644 node_modules/caniuse-lite/data/features/css3-cursors-newer.js delete mode 100644 node_modules/caniuse-lite/data/features/css3-cursors.js delete mode 100644 node_modules/caniuse-lite/data/features/css3-tabsize.js delete mode 100644 node_modules/caniuse-lite/data/features/currentcolor.js delete mode 100644 node_modules/caniuse-lite/data/features/custom-elements.js delete mode 100644 node_modules/caniuse-lite/data/features/custom-elementsv1.js delete mode 100644 node_modules/caniuse-lite/data/features/customevent.js delete mode 100644 node_modules/caniuse-lite/data/features/datalist.js delete mode 100644 node_modules/caniuse-lite/data/features/dataset.js delete mode 100644 node_modules/caniuse-lite/data/features/datauri.js delete mode 100644 node_modules/caniuse-lite/data/features/date-tolocaledatestring.js delete mode 100644 node_modules/caniuse-lite/data/features/decorators.js delete mode 100644 node_modules/caniuse-lite/data/features/details.js delete mode 100644 node_modules/caniuse-lite/data/features/deviceorientation.js delete mode 100644 node_modules/caniuse-lite/data/features/devicepixelratio.js delete mode 100644 node_modules/caniuse-lite/data/features/dialog.js delete mode 100644 node_modules/caniuse-lite/data/features/dispatchevent.js delete mode 100644 node_modules/caniuse-lite/data/features/dnssec.js delete mode 100644 node_modules/caniuse-lite/data/features/do-not-track.js delete mode 100644 node_modules/caniuse-lite/data/features/document-currentscript.js delete mode 100644 node_modules/caniuse-lite/data/features/document-evaluate-xpath.js delete mode 100644 node_modules/caniuse-lite/data/features/document-execcommand.js delete mode 100644 node_modules/caniuse-lite/data/features/document-policy.js delete mode 100644 node_modules/caniuse-lite/data/features/document-scrollingelement.js delete mode 100644 node_modules/caniuse-lite/data/features/documenthead.js delete mode 100644 node_modules/caniuse-lite/data/features/dom-manip-convenience.js delete mode 100644 node_modules/caniuse-lite/data/features/dom-range.js delete mode 100644 node_modules/caniuse-lite/data/features/domcontentloaded.js delete mode 100644 node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js delete mode 100644 node_modules/caniuse-lite/data/features/dommatrix.js delete mode 100644 node_modules/caniuse-lite/data/features/download.js delete mode 100644 node_modules/caniuse-lite/data/features/dragndrop.js delete mode 100644 node_modules/caniuse-lite/data/features/element-closest.js delete mode 100644 node_modules/caniuse-lite/data/features/element-from-point.js delete mode 100644 node_modules/caniuse-lite/data/features/element-scroll-methods.js delete mode 100644 node_modules/caniuse-lite/data/features/eme.js delete mode 100644 node_modules/caniuse-lite/data/features/eot.js delete mode 100644 node_modules/caniuse-lite/data/features/es5.js delete mode 100644 node_modules/caniuse-lite/data/features/es6-class.js delete mode 100644 node_modules/caniuse-lite/data/features/es6-generators.js delete mode 100644 node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js delete mode 100644 node_modules/caniuse-lite/data/features/es6-module.js delete mode 100644 node_modules/caniuse-lite/data/features/es6-number.js delete mode 100644 node_modules/caniuse-lite/data/features/es6-string-includes.js delete mode 100644 node_modules/caniuse-lite/data/features/es6.js delete mode 100644 node_modules/caniuse-lite/data/features/eventsource.js delete mode 100644 node_modules/caniuse-lite/data/features/extended-system-fonts.js delete mode 100644 node_modules/caniuse-lite/data/features/feature-policy.js delete mode 100644 node_modules/caniuse-lite/data/features/fetch.js delete mode 100644 node_modules/caniuse-lite/data/features/fieldset-disabled.js delete mode 100644 node_modules/caniuse-lite/data/features/fileapi.js delete mode 100644 node_modules/caniuse-lite/data/features/filereader.js delete mode 100644 node_modules/caniuse-lite/data/features/filereadersync.js delete mode 100644 node_modules/caniuse-lite/data/features/filesystem.js delete mode 100644 node_modules/caniuse-lite/data/features/flac.js delete mode 100644 node_modules/caniuse-lite/data/features/flexbox-gap.js delete mode 100644 node_modules/caniuse-lite/data/features/flexbox.js delete mode 100644 node_modules/caniuse-lite/data/features/flow-root.js delete mode 100644 node_modules/caniuse-lite/data/features/focusin-focusout-events.js delete mode 100644 node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js delete mode 100644 node_modules/caniuse-lite/data/features/font-family-system-ui.js delete mode 100644 node_modules/caniuse-lite/data/features/font-feature.js delete mode 100644 node_modules/caniuse-lite/data/features/font-kerning.js delete mode 100644 node_modules/caniuse-lite/data/features/font-loading.js delete mode 100644 node_modules/caniuse-lite/data/features/font-metrics-overrides.js delete mode 100644 node_modules/caniuse-lite/data/features/font-size-adjust.js delete mode 100644 node_modules/caniuse-lite/data/features/font-smooth.js delete mode 100644 node_modules/caniuse-lite/data/features/font-unicode-range.js delete mode 100644 node_modules/caniuse-lite/data/features/font-variant-alternates.js delete mode 100644 node_modules/caniuse-lite/data/features/font-variant-east-asian.js delete mode 100644 node_modules/caniuse-lite/data/features/font-variant-numeric.js delete mode 100644 node_modules/caniuse-lite/data/features/fontface.js delete mode 100644 node_modules/caniuse-lite/data/features/form-attribute.js delete mode 100644 node_modules/caniuse-lite/data/features/form-submit-attributes.js delete mode 100644 node_modules/caniuse-lite/data/features/form-validation.js delete mode 100644 node_modules/caniuse-lite/data/features/forms.js delete mode 100644 node_modules/caniuse-lite/data/features/fullscreen.js delete mode 100644 node_modules/caniuse-lite/data/features/gamepad.js delete mode 100644 node_modules/caniuse-lite/data/features/geolocation.js delete mode 100644 node_modules/caniuse-lite/data/features/getboundingclientrect.js delete mode 100644 node_modules/caniuse-lite/data/features/getcomputedstyle.js delete mode 100644 node_modules/caniuse-lite/data/features/getelementsbyclassname.js delete mode 100644 node_modules/caniuse-lite/data/features/getrandomvalues.js delete mode 100644 node_modules/caniuse-lite/data/features/gyroscope.js delete mode 100644 node_modules/caniuse-lite/data/features/hardwareconcurrency.js delete mode 100644 node_modules/caniuse-lite/data/features/hashchange.js delete mode 100644 node_modules/caniuse-lite/data/features/heif.js delete mode 100644 node_modules/caniuse-lite/data/features/hevc.js delete mode 100644 node_modules/caniuse-lite/data/features/hidden.js delete mode 100644 node_modules/caniuse-lite/data/features/high-resolution-time.js delete mode 100644 node_modules/caniuse-lite/data/features/history.js delete mode 100644 node_modules/caniuse-lite/data/features/html-media-capture.js delete mode 100644 node_modules/caniuse-lite/data/features/html5semantic.js delete mode 100644 node_modules/caniuse-lite/data/features/http-live-streaming.js delete mode 100644 node_modules/caniuse-lite/data/features/http2.js delete mode 100644 node_modules/caniuse-lite/data/features/http3.js delete mode 100644 node_modules/caniuse-lite/data/features/iframe-sandbox.js delete mode 100644 node_modules/caniuse-lite/data/features/iframe-seamless.js delete mode 100644 node_modules/caniuse-lite/data/features/iframe-srcdoc.js delete mode 100644 node_modules/caniuse-lite/data/features/imagecapture.js delete mode 100644 node_modules/caniuse-lite/data/features/ime.js delete mode 100644 node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js delete mode 100644 node_modules/caniuse-lite/data/features/import-maps.js delete mode 100644 node_modules/caniuse-lite/data/features/imports.js delete mode 100644 node_modules/caniuse-lite/data/features/indeterminate-checkbox.js delete mode 100644 node_modules/caniuse-lite/data/features/indexeddb.js delete mode 100644 node_modules/caniuse-lite/data/features/indexeddb2.js delete mode 100644 node_modules/caniuse-lite/data/features/inline-block.js delete mode 100644 node_modules/caniuse-lite/data/features/innertext.js delete mode 100644 node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js delete mode 100644 node_modules/caniuse-lite/data/features/input-color.js delete mode 100644 node_modules/caniuse-lite/data/features/input-datetime.js delete mode 100644 node_modules/caniuse-lite/data/features/input-email-tel-url.js delete mode 100644 node_modules/caniuse-lite/data/features/input-event.js delete mode 100644 node_modules/caniuse-lite/data/features/input-file-accept.js delete mode 100644 node_modules/caniuse-lite/data/features/input-file-directory.js delete mode 100644 node_modules/caniuse-lite/data/features/input-file-multiple.js delete mode 100644 node_modules/caniuse-lite/data/features/input-inputmode.js delete mode 100644 node_modules/caniuse-lite/data/features/input-minlength.js delete mode 100644 node_modules/caniuse-lite/data/features/input-number.js delete mode 100644 node_modules/caniuse-lite/data/features/input-pattern.js delete mode 100644 node_modules/caniuse-lite/data/features/input-placeholder.js delete mode 100644 node_modules/caniuse-lite/data/features/input-range.js delete mode 100644 node_modules/caniuse-lite/data/features/input-search.js delete mode 100644 node_modules/caniuse-lite/data/features/input-selection.js delete mode 100644 node_modules/caniuse-lite/data/features/insert-adjacent.js delete mode 100644 node_modules/caniuse-lite/data/features/insertadjacenthtml.js delete mode 100644 node_modules/caniuse-lite/data/features/internationalization.js delete mode 100644 node_modules/caniuse-lite/data/features/intersectionobserver-v2.js delete mode 100644 node_modules/caniuse-lite/data/features/intersectionobserver.js delete mode 100644 node_modules/caniuse-lite/data/features/intl-pluralrules.js delete mode 100644 node_modules/caniuse-lite/data/features/intrinsic-width.js delete mode 100644 node_modules/caniuse-lite/data/features/jpeg2000.js delete mode 100644 node_modules/caniuse-lite/data/features/jpegxl.js delete mode 100644 node_modules/caniuse-lite/data/features/jpegxr.js delete mode 100644 node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js delete mode 100644 node_modules/caniuse-lite/data/features/json.js delete mode 100644 node_modules/caniuse-lite/data/features/justify-content-space-evenly.js delete mode 100644 node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js delete mode 100644 node_modules/caniuse-lite/data/features/keyboardevent-charcode.js delete mode 100644 node_modules/caniuse-lite/data/features/keyboardevent-code.js delete mode 100644 node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js delete mode 100644 node_modules/caniuse-lite/data/features/keyboardevent-key.js delete mode 100644 node_modules/caniuse-lite/data/features/keyboardevent-location.js delete mode 100644 node_modules/caniuse-lite/data/features/keyboardevent-which.js delete mode 100644 node_modules/caniuse-lite/data/features/lazyload.js delete mode 100644 node_modules/caniuse-lite/data/features/let.js delete mode 100644 node_modules/caniuse-lite/data/features/link-icon-png.js delete mode 100644 node_modules/caniuse-lite/data/features/link-icon-svg.js delete mode 100644 node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js delete mode 100644 node_modules/caniuse-lite/data/features/link-rel-modulepreload.js delete mode 100644 node_modules/caniuse-lite/data/features/link-rel-preconnect.js delete mode 100644 node_modules/caniuse-lite/data/features/link-rel-prefetch.js delete mode 100644 node_modules/caniuse-lite/data/features/link-rel-preload.js delete mode 100644 node_modules/caniuse-lite/data/features/link-rel-prerender.js delete mode 100644 node_modules/caniuse-lite/data/features/loading-lazy-attr.js delete mode 100644 node_modules/caniuse-lite/data/features/localecompare.js delete mode 100644 node_modules/caniuse-lite/data/features/magnetometer.js delete mode 100644 node_modules/caniuse-lite/data/features/matchesselector.js delete mode 100644 node_modules/caniuse-lite/data/features/matchmedia.js delete mode 100644 node_modules/caniuse-lite/data/features/mathml.js delete mode 100644 node_modules/caniuse-lite/data/features/maxlength.js delete mode 100644 node_modules/caniuse-lite/data/features/media-attribute.js delete mode 100644 node_modules/caniuse-lite/data/features/media-fragments.js delete mode 100644 node_modules/caniuse-lite/data/features/media-session-api.js delete mode 100644 node_modules/caniuse-lite/data/features/mediacapture-fromelement.js delete mode 100644 node_modules/caniuse-lite/data/features/mediarecorder.js delete mode 100644 node_modules/caniuse-lite/data/features/mediasource.js delete mode 100644 node_modules/caniuse-lite/data/features/menu.js delete mode 100644 node_modules/caniuse-lite/data/features/meta-theme-color.js delete mode 100644 node_modules/caniuse-lite/data/features/meter.js delete mode 100644 node_modules/caniuse-lite/data/features/midi.js delete mode 100644 node_modules/caniuse-lite/data/features/minmaxwh.js delete mode 100644 node_modules/caniuse-lite/data/features/mp3.js delete mode 100644 node_modules/caniuse-lite/data/features/mpeg-dash.js delete mode 100644 node_modules/caniuse-lite/data/features/mpeg4.js delete mode 100644 node_modules/caniuse-lite/data/features/multibackgrounds.js delete mode 100644 node_modules/caniuse-lite/data/features/multicolumn.js delete mode 100644 node_modules/caniuse-lite/data/features/mutation-events.js delete mode 100644 node_modules/caniuse-lite/data/features/mutationobserver.js delete mode 100644 node_modules/caniuse-lite/data/features/namevalue-storage.js delete mode 100644 node_modules/caniuse-lite/data/features/native-filesystem-api.js delete mode 100644 node_modules/caniuse-lite/data/features/nav-timing.js delete mode 100644 node_modules/caniuse-lite/data/features/navigator-language.js delete mode 100644 node_modules/caniuse-lite/data/features/netinfo.js delete mode 100644 node_modules/caniuse-lite/data/features/notifications.js delete mode 100644 node_modules/caniuse-lite/data/features/object-entries.js delete mode 100644 node_modules/caniuse-lite/data/features/object-fit.js delete mode 100644 node_modules/caniuse-lite/data/features/object-observe.js delete mode 100644 node_modules/caniuse-lite/data/features/object-values.js delete mode 100644 node_modules/caniuse-lite/data/features/objectrtc.js delete mode 100644 node_modules/caniuse-lite/data/features/offline-apps.js delete mode 100644 node_modules/caniuse-lite/data/features/offscreencanvas.js delete mode 100644 node_modules/caniuse-lite/data/features/ogg-vorbis.js delete mode 100644 node_modules/caniuse-lite/data/features/ogv.js delete mode 100644 node_modules/caniuse-lite/data/features/ol-reversed.js delete mode 100644 node_modules/caniuse-lite/data/features/once-event-listener.js delete mode 100644 node_modules/caniuse-lite/data/features/online-status.js delete mode 100644 node_modules/caniuse-lite/data/features/opus.js delete mode 100644 node_modules/caniuse-lite/data/features/orientation-sensor.js delete mode 100644 node_modules/caniuse-lite/data/features/outline.js delete mode 100644 node_modules/caniuse-lite/data/features/pad-start-end.js delete mode 100644 node_modules/caniuse-lite/data/features/page-transition-events.js delete mode 100644 node_modules/caniuse-lite/data/features/pagevisibility.js delete mode 100644 node_modules/caniuse-lite/data/features/passive-event-listener.js delete mode 100644 node_modules/caniuse-lite/data/features/passwordrules.js delete mode 100644 node_modules/caniuse-lite/data/features/path2d.js delete mode 100644 node_modules/caniuse-lite/data/features/payment-request.js delete mode 100644 node_modules/caniuse-lite/data/features/pdf-viewer.js delete mode 100644 node_modules/caniuse-lite/data/features/permissions-api.js delete mode 100644 node_modules/caniuse-lite/data/features/permissions-policy.js delete mode 100644 node_modules/caniuse-lite/data/features/picture-in-picture.js delete mode 100644 node_modules/caniuse-lite/data/features/picture.js delete mode 100644 node_modules/caniuse-lite/data/features/ping.js delete mode 100644 node_modules/caniuse-lite/data/features/png-alpha.js delete mode 100644 node_modules/caniuse-lite/data/features/pointer-events.js delete mode 100644 node_modules/caniuse-lite/data/features/pointer.js delete mode 100644 node_modules/caniuse-lite/data/features/pointerlock.js delete mode 100644 node_modules/caniuse-lite/data/features/portals.js delete mode 100644 node_modules/caniuse-lite/data/features/prefers-color-scheme.js delete mode 100644 node_modules/caniuse-lite/data/features/prefers-reduced-motion.js delete mode 100644 node_modules/caniuse-lite/data/features/private-class-fields.js delete mode 100644 node_modules/caniuse-lite/data/features/private-methods-and-accessors.js delete mode 100644 node_modules/caniuse-lite/data/features/progress.js delete mode 100644 node_modules/caniuse-lite/data/features/promise-finally.js delete mode 100644 node_modules/caniuse-lite/data/features/promises.js delete mode 100644 node_modules/caniuse-lite/data/features/proximity.js delete mode 100644 node_modules/caniuse-lite/data/features/proxy.js delete mode 100644 node_modules/caniuse-lite/data/features/public-class-fields.js delete mode 100644 node_modules/caniuse-lite/data/features/publickeypinning.js delete mode 100644 node_modules/caniuse-lite/data/features/push-api.js delete mode 100644 node_modules/caniuse-lite/data/features/queryselector.js delete mode 100644 node_modules/caniuse-lite/data/features/readonly-attr.js delete mode 100644 node_modules/caniuse-lite/data/features/referrer-policy.js delete mode 100644 node_modules/caniuse-lite/data/features/registerprotocolhandler.js delete mode 100644 node_modules/caniuse-lite/data/features/rel-noopener.js delete mode 100644 node_modules/caniuse-lite/data/features/rel-noreferrer.js delete mode 100644 node_modules/caniuse-lite/data/features/rellist.js delete mode 100644 node_modules/caniuse-lite/data/features/rem.js delete mode 100644 node_modules/caniuse-lite/data/features/requestanimationframe.js delete mode 100644 node_modules/caniuse-lite/data/features/requestidlecallback.js delete mode 100644 node_modules/caniuse-lite/data/features/resizeobserver.js delete mode 100644 node_modules/caniuse-lite/data/features/resource-timing.js delete mode 100644 node_modules/caniuse-lite/data/features/rest-parameters.js delete mode 100644 node_modules/caniuse-lite/data/features/rtcpeerconnection.js delete mode 100644 node_modules/caniuse-lite/data/features/ruby.js delete mode 100644 node_modules/caniuse-lite/data/features/run-in.js delete mode 100644 node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js delete mode 100644 node_modules/caniuse-lite/data/features/screen-orientation.js delete mode 100644 node_modules/caniuse-lite/data/features/script-async.js delete mode 100644 node_modules/caniuse-lite/data/features/script-defer.js delete mode 100644 node_modules/caniuse-lite/data/features/scrollintoview.js delete mode 100644 node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js delete mode 100644 node_modules/caniuse-lite/data/features/sdch.js delete mode 100644 node_modules/caniuse-lite/data/features/selection-api.js delete mode 100644 node_modules/caniuse-lite/data/features/server-timing.js delete mode 100644 node_modules/caniuse-lite/data/features/serviceworkers.js delete mode 100644 node_modules/caniuse-lite/data/features/setimmediate.js delete mode 100644 node_modules/caniuse-lite/data/features/sha-2.js delete mode 100644 node_modules/caniuse-lite/data/features/shadowdom.js delete mode 100644 node_modules/caniuse-lite/data/features/shadowdomv1.js delete mode 100644 node_modules/caniuse-lite/data/features/sharedarraybuffer.js delete mode 100644 node_modules/caniuse-lite/data/features/sharedworkers.js delete mode 100644 node_modules/caniuse-lite/data/features/sni.js delete mode 100644 node_modules/caniuse-lite/data/features/spdy.js delete mode 100644 node_modules/caniuse-lite/data/features/speech-recognition.js delete mode 100644 node_modules/caniuse-lite/data/features/speech-synthesis.js delete mode 100644 node_modules/caniuse-lite/data/features/spellcheck-attribute.js delete mode 100644 node_modules/caniuse-lite/data/features/sql-storage.js delete mode 100644 node_modules/caniuse-lite/data/features/srcset.js delete mode 100644 node_modules/caniuse-lite/data/features/stream.js delete mode 100644 node_modules/caniuse-lite/data/features/streams.js delete mode 100644 node_modules/caniuse-lite/data/features/stricttransportsecurity.js delete mode 100644 node_modules/caniuse-lite/data/features/style-scoped.js delete mode 100644 node_modules/caniuse-lite/data/features/subresource-integrity.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-css.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-filters.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-fonts.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-fragment.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-html.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-html5.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-img.js delete mode 100644 node_modules/caniuse-lite/data/features/svg-smil.js delete mode 100644 node_modules/caniuse-lite/data/features/svg.js delete mode 100644 node_modules/caniuse-lite/data/features/sxg.js delete mode 100644 node_modules/caniuse-lite/data/features/tabindex-attr.js delete mode 100644 node_modules/caniuse-lite/data/features/template-literals.js delete mode 100644 node_modules/caniuse-lite/data/features/template.js delete mode 100644 node_modules/caniuse-lite/data/features/temporal.js delete mode 100644 node_modules/caniuse-lite/data/features/testfeat.js delete mode 100644 node_modules/caniuse-lite/data/features/text-decoration.js delete mode 100644 node_modules/caniuse-lite/data/features/text-emphasis.js delete mode 100644 node_modules/caniuse-lite/data/features/text-overflow.js delete mode 100644 node_modules/caniuse-lite/data/features/text-size-adjust.js delete mode 100644 node_modules/caniuse-lite/data/features/text-stroke.js delete mode 100644 node_modules/caniuse-lite/data/features/text-underline-offset.js delete mode 100644 node_modules/caniuse-lite/data/features/textcontent.js delete mode 100644 node_modules/caniuse-lite/data/features/textencoder.js delete mode 100644 node_modules/caniuse-lite/data/features/tls1-1.js delete mode 100644 node_modules/caniuse-lite/data/features/tls1-2.js delete mode 100644 node_modules/caniuse-lite/data/features/tls1-3.js delete mode 100644 node_modules/caniuse-lite/data/features/token-binding.js delete mode 100644 node_modules/caniuse-lite/data/features/touch.js delete mode 100644 node_modules/caniuse-lite/data/features/transforms2d.js delete mode 100644 node_modules/caniuse-lite/data/features/transforms3d.js delete mode 100644 node_modules/caniuse-lite/data/features/trusted-types.js delete mode 100644 node_modules/caniuse-lite/data/features/ttf.js delete mode 100644 node_modules/caniuse-lite/data/features/typedarrays.js delete mode 100644 node_modules/caniuse-lite/data/features/u2f.js delete mode 100644 node_modules/caniuse-lite/data/features/unhandledrejection.js delete mode 100644 node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js delete mode 100644 node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js delete mode 100644 node_modules/caniuse-lite/data/features/url.js delete mode 100644 node_modules/caniuse-lite/data/features/urlsearchparams.js delete mode 100644 node_modules/caniuse-lite/data/features/use-strict.js delete mode 100644 node_modules/caniuse-lite/data/features/user-select-none.js delete mode 100644 node_modules/caniuse-lite/data/features/user-timing.js delete mode 100644 node_modules/caniuse-lite/data/features/variable-fonts.js delete mode 100644 node_modules/caniuse-lite/data/features/vector-effect.js delete mode 100644 node_modules/caniuse-lite/data/features/vibration.js delete mode 100644 node_modules/caniuse-lite/data/features/video.js delete mode 100644 node_modules/caniuse-lite/data/features/videotracks.js delete mode 100644 node_modules/caniuse-lite/data/features/viewport-unit-variants.js delete mode 100644 node_modules/caniuse-lite/data/features/viewport-units.js delete mode 100644 node_modules/caniuse-lite/data/features/wai-aria.js delete mode 100644 node_modules/caniuse-lite/data/features/wake-lock.js delete mode 100644 node_modules/caniuse-lite/data/features/wasm.js delete mode 100644 node_modules/caniuse-lite/data/features/wav.js delete mode 100644 node_modules/caniuse-lite/data/features/wbr-element.js delete mode 100644 node_modules/caniuse-lite/data/features/web-animation.js delete mode 100644 node_modules/caniuse-lite/data/features/web-app-manifest.js delete mode 100644 node_modules/caniuse-lite/data/features/web-bluetooth.js delete mode 100644 node_modules/caniuse-lite/data/features/web-serial.js delete mode 100644 node_modules/caniuse-lite/data/features/web-share.js delete mode 100644 node_modules/caniuse-lite/data/features/webauthn.js delete mode 100644 node_modules/caniuse-lite/data/features/webgl.js delete mode 100644 node_modules/caniuse-lite/data/features/webgl2.js delete mode 100644 node_modules/caniuse-lite/data/features/webgpu.js delete mode 100644 node_modules/caniuse-lite/data/features/webhid.js delete mode 100644 node_modules/caniuse-lite/data/features/webkit-user-drag.js delete mode 100644 node_modules/caniuse-lite/data/features/webm.js delete mode 100644 node_modules/caniuse-lite/data/features/webnfc.js delete mode 100644 node_modules/caniuse-lite/data/features/webp.js delete mode 100644 node_modules/caniuse-lite/data/features/websockets.js delete mode 100644 node_modules/caniuse-lite/data/features/webusb.js delete mode 100644 node_modules/caniuse-lite/data/features/webvr.js delete mode 100644 node_modules/caniuse-lite/data/features/webvtt.js delete mode 100644 node_modules/caniuse-lite/data/features/webworkers.js delete mode 100644 node_modules/caniuse-lite/data/features/webxr.js delete mode 100644 node_modules/caniuse-lite/data/features/will-change.js delete mode 100644 node_modules/caniuse-lite/data/features/woff.js delete mode 100644 node_modules/caniuse-lite/data/features/woff2.js delete mode 100644 node_modules/caniuse-lite/data/features/word-break.js delete mode 100644 node_modules/caniuse-lite/data/features/wordwrap.js delete mode 100644 node_modules/caniuse-lite/data/features/x-doc-messaging.js delete mode 100644 node_modules/caniuse-lite/data/features/x-frame-options.js delete mode 100644 node_modules/caniuse-lite/data/features/xhr2.js delete mode 100644 node_modules/caniuse-lite/data/features/xhtml.js delete mode 100644 node_modules/caniuse-lite/data/features/xhtmlsmil.js delete mode 100644 node_modules/caniuse-lite/data/features/xml-serializer.js delete mode 100644 node_modules/caniuse-lite/data/regions/AD.js delete mode 100644 node_modules/caniuse-lite/data/regions/AE.js delete mode 100644 node_modules/caniuse-lite/data/regions/AF.js delete mode 100644 node_modules/caniuse-lite/data/regions/AG.js delete mode 100644 node_modules/caniuse-lite/data/regions/AI.js delete mode 100644 node_modules/caniuse-lite/data/regions/AL.js delete mode 100644 node_modules/caniuse-lite/data/regions/AM.js delete mode 100644 node_modules/caniuse-lite/data/regions/AO.js delete mode 100644 node_modules/caniuse-lite/data/regions/AR.js delete mode 100644 node_modules/caniuse-lite/data/regions/AS.js delete mode 100644 node_modules/caniuse-lite/data/regions/AT.js delete mode 100644 node_modules/caniuse-lite/data/regions/AU.js delete mode 100644 node_modules/caniuse-lite/data/regions/AW.js delete mode 100644 node_modules/caniuse-lite/data/regions/AX.js delete mode 100644 node_modules/caniuse-lite/data/regions/AZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/BA.js delete mode 100644 node_modules/caniuse-lite/data/regions/BB.js delete mode 100644 node_modules/caniuse-lite/data/regions/BD.js delete mode 100644 node_modules/caniuse-lite/data/regions/BE.js delete mode 100644 node_modules/caniuse-lite/data/regions/BF.js delete mode 100644 node_modules/caniuse-lite/data/regions/BG.js delete mode 100644 node_modules/caniuse-lite/data/regions/BH.js delete mode 100644 node_modules/caniuse-lite/data/regions/BI.js delete mode 100644 node_modules/caniuse-lite/data/regions/BJ.js delete mode 100644 node_modules/caniuse-lite/data/regions/BM.js delete mode 100644 node_modules/caniuse-lite/data/regions/BN.js delete mode 100644 node_modules/caniuse-lite/data/regions/BO.js delete mode 100644 node_modules/caniuse-lite/data/regions/BR.js delete mode 100644 node_modules/caniuse-lite/data/regions/BS.js delete mode 100644 node_modules/caniuse-lite/data/regions/BT.js delete mode 100644 node_modules/caniuse-lite/data/regions/BW.js delete mode 100644 node_modules/caniuse-lite/data/regions/BY.js delete mode 100644 node_modules/caniuse-lite/data/regions/BZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/CA.js delete mode 100644 node_modules/caniuse-lite/data/regions/CD.js delete mode 100644 node_modules/caniuse-lite/data/regions/CF.js delete mode 100644 node_modules/caniuse-lite/data/regions/CG.js delete mode 100644 node_modules/caniuse-lite/data/regions/CH.js delete mode 100644 node_modules/caniuse-lite/data/regions/CI.js delete mode 100644 node_modules/caniuse-lite/data/regions/CK.js delete mode 100644 node_modules/caniuse-lite/data/regions/CL.js delete mode 100644 node_modules/caniuse-lite/data/regions/CM.js delete mode 100644 node_modules/caniuse-lite/data/regions/CN.js delete mode 100644 node_modules/caniuse-lite/data/regions/CO.js delete mode 100644 node_modules/caniuse-lite/data/regions/CR.js delete mode 100644 node_modules/caniuse-lite/data/regions/CU.js delete mode 100644 node_modules/caniuse-lite/data/regions/CV.js delete mode 100644 node_modules/caniuse-lite/data/regions/CX.js delete mode 100644 node_modules/caniuse-lite/data/regions/CY.js delete mode 100644 node_modules/caniuse-lite/data/regions/CZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/DE.js delete mode 100644 node_modules/caniuse-lite/data/regions/DJ.js delete mode 100644 node_modules/caniuse-lite/data/regions/DK.js delete mode 100644 node_modules/caniuse-lite/data/regions/DM.js delete mode 100644 node_modules/caniuse-lite/data/regions/DO.js delete mode 100644 node_modules/caniuse-lite/data/regions/DZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/EC.js delete mode 100644 node_modules/caniuse-lite/data/regions/EE.js delete mode 100644 node_modules/caniuse-lite/data/regions/EG.js delete mode 100644 node_modules/caniuse-lite/data/regions/ER.js delete mode 100644 node_modules/caniuse-lite/data/regions/ES.js delete mode 100644 node_modules/caniuse-lite/data/regions/ET.js delete mode 100644 node_modules/caniuse-lite/data/regions/FI.js delete mode 100644 node_modules/caniuse-lite/data/regions/FJ.js delete mode 100644 node_modules/caniuse-lite/data/regions/FK.js delete mode 100644 node_modules/caniuse-lite/data/regions/FM.js delete mode 100644 node_modules/caniuse-lite/data/regions/FO.js delete mode 100644 node_modules/caniuse-lite/data/regions/FR.js delete mode 100644 node_modules/caniuse-lite/data/regions/GA.js delete mode 100644 node_modules/caniuse-lite/data/regions/GB.js delete mode 100644 node_modules/caniuse-lite/data/regions/GD.js delete mode 100644 node_modules/caniuse-lite/data/regions/GE.js delete mode 100644 node_modules/caniuse-lite/data/regions/GF.js delete mode 100644 node_modules/caniuse-lite/data/regions/GG.js delete mode 100644 node_modules/caniuse-lite/data/regions/GH.js delete mode 100644 node_modules/caniuse-lite/data/regions/GI.js delete mode 100644 node_modules/caniuse-lite/data/regions/GL.js delete mode 100644 node_modules/caniuse-lite/data/regions/GM.js delete mode 100644 node_modules/caniuse-lite/data/regions/GN.js delete mode 100644 node_modules/caniuse-lite/data/regions/GP.js delete mode 100644 node_modules/caniuse-lite/data/regions/GQ.js delete mode 100644 node_modules/caniuse-lite/data/regions/GR.js delete mode 100644 node_modules/caniuse-lite/data/regions/GT.js delete mode 100644 node_modules/caniuse-lite/data/regions/GU.js delete mode 100644 node_modules/caniuse-lite/data/regions/GW.js delete mode 100644 node_modules/caniuse-lite/data/regions/GY.js delete mode 100644 node_modules/caniuse-lite/data/regions/HK.js delete mode 100644 node_modules/caniuse-lite/data/regions/HN.js delete mode 100644 node_modules/caniuse-lite/data/regions/HR.js delete mode 100644 node_modules/caniuse-lite/data/regions/HT.js delete mode 100644 node_modules/caniuse-lite/data/regions/HU.js delete mode 100644 node_modules/caniuse-lite/data/regions/ID.js delete mode 100644 node_modules/caniuse-lite/data/regions/IE.js delete mode 100644 node_modules/caniuse-lite/data/regions/IL.js delete mode 100644 node_modules/caniuse-lite/data/regions/IM.js delete mode 100644 node_modules/caniuse-lite/data/regions/IN.js delete mode 100644 node_modules/caniuse-lite/data/regions/IQ.js delete mode 100644 node_modules/caniuse-lite/data/regions/IR.js delete mode 100644 node_modules/caniuse-lite/data/regions/IS.js delete mode 100644 node_modules/caniuse-lite/data/regions/IT.js delete mode 100644 node_modules/caniuse-lite/data/regions/JE.js delete mode 100644 node_modules/caniuse-lite/data/regions/JM.js delete mode 100644 node_modules/caniuse-lite/data/regions/JO.js delete mode 100644 node_modules/caniuse-lite/data/regions/JP.js delete mode 100644 node_modules/caniuse-lite/data/regions/KE.js delete mode 100644 node_modules/caniuse-lite/data/regions/KG.js delete mode 100644 node_modules/caniuse-lite/data/regions/KH.js delete mode 100644 node_modules/caniuse-lite/data/regions/KI.js delete mode 100644 node_modules/caniuse-lite/data/regions/KM.js delete mode 100644 node_modules/caniuse-lite/data/regions/KN.js delete mode 100644 node_modules/caniuse-lite/data/regions/KP.js delete mode 100644 node_modules/caniuse-lite/data/regions/KR.js delete mode 100644 node_modules/caniuse-lite/data/regions/KW.js delete mode 100644 node_modules/caniuse-lite/data/regions/KY.js delete mode 100644 node_modules/caniuse-lite/data/regions/KZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/LA.js delete mode 100644 node_modules/caniuse-lite/data/regions/LB.js delete mode 100644 node_modules/caniuse-lite/data/regions/LC.js delete mode 100644 node_modules/caniuse-lite/data/regions/LI.js delete mode 100644 node_modules/caniuse-lite/data/regions/LK.js delete mode 100644 node_modules/caniuse-lite/data/regions/LR.js delete mode 100644 node_modules/caniuse-lite/data/regions/LS.js delete mode 100644 node_modules/caniuse-lite/data/regions/LT.js delete mode 100644 node_modules/caniuse-lite/data/regions/LU.js delete mode 100644 node_modules/caniuse-lite/data/regions/LV.js delete mode 100644 node_modules/caniuse-lite/data/regions/LY.js delete mode 100644 node_modules/caniuse-lite/data/regions/MA.js delete mode 100644 node_modules/caniuse-lite/data/regions/MC.js delete mode 100644 node_modules/caniuse-lite/data/regions/MD.js delete mode 100644 node_modules/caniuse-lite/data/regions/ME.js delete mode 100644 node_modules/caniuse-lite/data/regions/MG.js delete mode 100644 node_modules/caniuse-lite/data/regions/MH.js delete mode 100644 node_modules/caniuse-lite/data/regions/MK.js delete mode 100644 node_modules/caniuse-lite/data/regions/ML.js delete mode 100644 node_modules/caniuse-lite/data/regions/MM.js delete mode 100644 node_modules/caniuse-lite/data/regions/MN.js delete mode 100644 node_modules/caniuse-lite/data/regions/MO.js delete mode 100644 node_modules/caniuse-lite/data/regions/MP.js delete mode 100644 node_modules/caniuse-lite/data/regions/MQ.js delete mode 100644 node_modules/caniuse-lite/data/regions/MR.js delete mode 100644 node_modules/caniuse-lite/data/regions/MS.js delete mode 100644 node_modules/caniuse-lite/data/regions/MT.js delete mode 100644 node_modules/caniuse-lite/data/regions/MU.js delete mode 100644 node_modules/caniuse-lite/data/regions/MV.js delete mode 100644 node_modules/caniuse-lite/data/regions/MW.js delete mode 100644 node_modules/caniuse-lite/data/regions/MX.js delete mode 100644 node_modules/caniuse-lite/data/regions/MY.js delete mode 100644 node_modules/caniuse-lite/data/regions/MZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/NA.js delete mode 100644 node_modules/caniuse-lite/data/regions/NC.js delete mode 100644 node_modules/caniuse-lite/data/regions/NE.js delete mode 100644 node_modules/caniuse-lite/data/regions/NF.js delete mode 100644 node_modules/caniuse-lite/data/regions/NG.js delete mode 100644 node_modules/caniuse-lite/data/regions/NI.js delete mode 100644 node_modules/caniuse-lite/data/regions/NL.js delete mode 100644 node_modules/caniuse-lite/data/regions/NO.js delete mode 100644 node_modules/caniuse-lite/data/regions/NP.js delete mode 100644 node_modules/caniuse-lite/data/regions/NR.js delete mode 100644 node_modules/caniuse-lite/data/regions/NU.js delete mode 100644 node_modules/caniuse-lite/data/regions/NZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/OM.js delete mode 100644 node_modules/caniuse-lite/data/regions/PA.js delete mode 100644 node_modules/caniuse-lite/data/regions/PE.js delete mode 100644 node_modules/caniuse-lite/data/regions/PF.js delete mode 100644 node_modules/caniuse-lite/data/regions/PG.js delete mode 100644 node_modules/caniuse-lite/data/regions/PH.js delete mode 100644 node_modules/caniuse-lite/data/regions/PK.js delete mode 100644 node_modules/caniuse-lite/data/regions/PL.js delete mode 100644 node_modules/caniuse-lite/data/regions/PM.js delete mode 100644 node_modules/caniuse-lite/data/regions/PN.js delete mode 100644 node_modules/caniuse-lite/data/regions/PR.js delete mode 100644 node_modules/caniuse-lite/data/regions/PS.js delete mode 100644 node_modules/caniuse-lite/data/regions/PT.js delete mode 100644 node_modules/caniuse-lite/data/regions/PW.js delete mode 100644 node_modules/caniuse-lite/data/regions/PY.js delete mode 100644 node_modules/caniuse-lite/data/regions/QA.js delete mode 100644 node_modules/caniuse-lite/data/regions/RE.js delete mode 100644 node_modules/caniuse-lite/data/regions/RO.js delete mode 100644 node_modules/caniuse-lite/data/regions/RS.js delete mode 100644 node_modules/caniuse-lite/data/regions/RU.js delete mode 100644 node_modules/caniuse-lite/data/regions/RW.js delete mode 100644 node_modules/caniuse-lite/data/regions/SA.js delete mode 100644 node_modules/caniuse-lite/data/regions/SB.js delete mode 100644 node_modules/caniuse-lite/data/regions/SC.js delete mode 100644 node_modules/caniuse-lite/data/regions/SD.js delete mode 100644 node_modules/caniuse-lite/data/regions/SE.js delete mode 100644 node_modules/caniuse-lite/data/regions/SG.js delete mode 100644 node_modules/caniuse-lite/data/regions/SH.js delete mode 100644 node_modules/caniuse-lite/data/regions/SI.js delete mode 100644 node_modules/caniuse-lite/data/regions/SK.js delete mode 100644 node_modules/caniuse-lite/data/regions/SL.js delete mode 100644 node_modules/caniuse-lite/data/regions/SM.js delete mode 100644 node_modules/caniuse-lite/data/regions/SN.js delete mode 100644 node_modules/caniuse-lite/data/regions/SO.js delete mode 100644 node_modules/caniuse-lite/data/regions/SR.js delete mode 100644 node_modules/caniuse-lite/data/regions/ST.js delete mode 100644 node_modules/caniuse-lite/data/regions/SV.js delete mode 100644 node_modules/caniuse-lite/data/regions/SY.js delete mode 100644 node_modules/caniuse-lite/data/regions/SZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/TC.js delete mode 100644 node_modules/caniuse-lite/data/regions/TD.js delete mode 100644 node_modules/caniuse-lite/data/regions/TG.js delete mode 100644 node_modules/caniuse-lite/data/regions/TH.js delete mode 100644 node_modules/caniuse-lite/data/regions/TJ.js delete mode 100644 node_modules/caniuse-lite/data/regions/TK.js delete mode 100644 node_modules/caniuse-lite/data/regions/TL.js delete mode 100644 node_modules/caniuse-lite/data/regions/TM.js delete mode 100644 node_modules/caniuse-lite/data/regions/TN.js delete mode 100644 node_modules/caniuse-lite/data/regions/TO.js delete mode 100644 node_modules/caniuse-lite/data/regions/TR.js delete mode 100644 node_modules/caniuse-lite/data/regions/TT.js delete mode 100644 node_modules/caniuse-lite/data/regions/TV.js delete mode 100644 node_modules/caniuse-lite/data/regions/TW.js delete mode 100644 node_modules/caniuse-lite/data/regions/TZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/UA.js delete mode 100644 node_modules/caniuse-lite/data/regions/UG.js delete mode 100644 node_modules/caniuse-lite/data/regions/US.js delete mode 100644 node_modules/caniuse-lite/data/regions/UY.js delete mode 100644 node_modules/caniuse-lite/data/regions/UZ.js delete mode 100644 node_modules/caniuse-lite/data/regions/VA.js delete mode 100644 node_modules/caniuse-lite/data/regions/VC.js delete mode 100644 node_modules/caniuse-lite/data/regions/VE.js delete mode 100644 node_modules/caniuse-lite/data/regions/VG.js delete mode 100644 node_modules/caniuse-lite/data/regions/VI.js delete mode 100644 node_modules/caniuse-lite/data/regions/VN.js delete mode 100644 node_modules/caniuse-lite/data/regions/VU.js delete mode 100644 node_modules/caniuse-lite/data/regions/WF.js delete mode 100644 node_modules/caniuse-lite/data/regions/WS.js delete mode 100644 node_modules/caniuse-lite/data/regions/YE.js delete mode 100644 node_modules/caniuse-lite/data/regions/YT.js delete mode 100644 node_modules/caniuse-lite/data/regions/ZA.js delete mode 100644 node_modules/caniuse-lite/data/regions/ZM.js delete mode 100644 node_modules/caniuse-lite/data/regions/ZW.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-af.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-an.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-as.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-eu.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-na.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-oc.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-sa.js delete mode 100644 node_modules/caniuse-lite/data/regions/alt-ww.js delete mode 100644 node_modules/caniuse-lite/dist/lib/statuses.js delete mode 100644 node_modules/caniuse-lite/dist/lib/supported.js delete mode 100644 node_modules/caniuse-lite/dist/unpacker/agents.js delete mode 100644 node_modules/caniuse-lite/dist/unpacker/browserVersions.js delete mode 100644 node_modules/caniuse-lite/dist/unpacker/browsers.js delete mode 100644 node_modules/caniuse-lite/dist/unpacker/feature.js delete mode 100644 node_modules/caniuse-lite/dist/unpacker/features.js delete mode 100644 node_modules/caniuse-lite/dist/unpacker/index.js delete mode 100644 node_modules/caniuse-lite/dist/unpacker/region.js delete mode 100644 node_modules/caniuse-lite/package.json delete mode 100644 node_modules/chalk/index.d.ts delete mode 100644 node_modules/chalk/license delete mode 100644 node_modules/chalk/package.json delete mode 100644 node_modules/chalk/readme.md delete mode 100644 node_modules/chalk/source/index.js delete mode 100644 node_modules/chalk/source/templates.js delete mode 100644 node_modules/chalk/source/util.js delete mode 100644 node_modules/char-regex/LICENSE delete mode 100644 node_modules/char-regex/README.md delete mode 100644 node_modules/char-regex/index.d.ts delete mode 100644 node_modules/char-regex/index.js delete mode 100644 node_modules/char-regex/package.json delete mode 100644 node_modules/ci-info/CHANGELOG.md delete mode 100644 node_modules/ci-info/LICENSE delete mode 100644 node_modules/ci-info/README.md delete mode 100644 node_modules/ci-info/index.d.ts delete mode 100644 node_modules/ci-info/index.js delete mode 100644 node_modules/ci-info/package.json delete mode 100644 node_modules/ci-info/vendors.json delete mode 100644 node_modules/cjs-module-lexer/CHANGELOG.md delete mode 100755 node_modules/cjs-module-lexer/LICENSE delete mode 100755 node_modules/cjs-module-lexer/README.md delete mode 100644 node_modules/cjs-module-lexer/dist/lexer.js delete mode 100644 node_modules/cjs-module-lexer/dist/lexer.mjs delete mode 100755 node_modules/cjs-module-lexer/lexer.d.ts delete mode 100755 node_modules/cjs-module-lexer/lexer.js delete mode 100755 node_modules/cjs-module-lexer/package.json delete mode 100644 node_modules/cliui/CHANGELOG.md delete mode 100644 node_modules/cliui/LICENSE.txt delete mode 100644 node_modules/cliui/README.md delete mode 100644 node_modules/cliui/build/index.cjs delete mode 100644 node_modules/cliui/build/lib/index.js delete mode 100644 node_modules/cliui/build/lib/string-utils.js delete mode 100644 node_modules/cliui/index.mjs delete mode 100644 node_modules/cliui/package.json delete mode 100644 node_modules/co/History.md delete mode 100644 node_modules/co/LICENSE delete mode 100644 node_modules/co/Readme.md delete mode 100644 node_modules/co/index.js delete mode 100644 node_modules/co/package.json delete mode 100644 node_modules/collect-v8-coverage/CHANGELOG.md delete mode 100644 node_modules/collect-v8-coverage/LICENSE delete mode 100644 node_modules/collect-v8-coverage/README.md delete mode 100644 node_modules/collect-v8-coverage/index.d.ts delete mode 100644 node_modules/collect-v8-coverage/index.js delete mode 100644 node_modules/collect-v8-coverage/package.json delete mode 100644 node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/color-convert/LICENSE delete mode 100644 node_modules/color-convert/README.md delete mode 100644 node_modules/color-convert/conversions.js delete mode 100644 node_modules/color-convert/index.js delete mode 100644 node_modules/color-convert/package.json delete mode 100644 node_modules/color-convert/route.js delete mode 100644 node_modules/color-name/LICENSE delete mode 100644 node_modules/color-name/README.md delete mode 100644 node_modules/color-name/index.js delete mode 100644 node_modules/color-name/package.json delete mode 100644 node_modules/combined-stream/License delete mode 100644 node_modules/combined-stream/Readme.md delete mode 100644 node_modules/combined-stream/lib/combined_stream.js delete mode 100644 node_modules/combined-stream/package.json delete mode 100644 node_modules/combined-stream/yarn.lock delete mode 100644 node_modules/concat-map/.travis.yml delete mode 100644 node_modules/concat-map/LICENSE delete mode 100644 node_modules/concat-map/README.markdown delete mode 100644 node_modules/concat-map/example/map.js delete mode 100644 node_modules/concat-map/index.js delete mode 100644 node_modules/concat-map/package.json delete mode 100644 node_modules/concat-map/test/map.js delete mode 100644 node_modules/convert-source-map/LICENSE delete mode 100644 node_modules/convert-source-map/README.md delete mode 100644 node_modules/convert-source-map/index.js delete mode 100644 node_modules/convert-source-map/package.json delete mode 100644 node_modules/cross-spawn/CHANGELOG.md delete mode 100644 node_modules/cross-spawn/LICENSE delete mode 100644 node_modules/cross-spawn/README.md delete mode 100644 node_modules/cross-spawn/index.js delete mode 100644 node_modules/cross-spawn/lib/enoent.js delete mode 100644 node_modules/cross-spawn/lib/parse.js delete mode 100644 node_modules/cross-spawn/lib/util/escape.js delete mode 100644 node_modules/cross-spawn/lib/util/readShebang.js delete mode 100644 node_modules/cross-spawn/lib/util/resolveCommand.js delete mode 120000 node_modules/cross-spawn/node_modules/.bin/node-which delete mode 100644 node_modules/cross-spawn/package.json delete mode 100644 node_modules/cssom/LICENSE.txt delete mode 100644 node_modules/cssom/README.mdown delete mode 100644 node_modules/cssom/lib/CSSDocumentRule.js delete mode 100644 node_modules/cssom/lib/CSSFontFaceRule.js delete mode 100644 node_modules/cssom/lib/CSSHostRule.js delete mode 100644 node_modules/cssom/lib/CSSImportRule.js delete mode 100644 node_modules/cssom/lib/CSSKeyframeRule.js delete mode 100644 node_modules/cssom/lib/CSSKeyframesRule.js delete mode 100644 node_modules/cssom/lib/CSSMediaRule.js delete mode 100644 node_modules/cssom/lib/CSSOM.js delete mode 100644 node_modules/cssom/lib/CSSRule.js delete mode 100644 node_modules/cssom/lib/CSSStyleDeclaration.js delete mode 100644 node_modules/cssom/lib/CSSStyleRule.js delete mode 100644 node_modules/cssom/lib/CSSStyleSheet.js delete mode 100644 node_modules/cssom/lib/CSSSupportsRule.js delete mode 100644 node_modules/cssom/lib/CSSValue.js delete mode 100644 node_modules/cssom/lib/CSSValueExpression.js delete mode 100644 node_modules/cssom/lib/MatcherList.js delete mode 100644 node_modules/cssom/lib/MediaList.js delete mode 100644 node_modules/cssom/lib/StyleSheet.js delete mode 100644 node_modules/cssom/lib/clone.js delete mode 100644 node_modules/cssom/lib/index.js delete mode 100644 node_modules/cssom/lib/parse.js delete mode 100644 node_modules/cssom/package.json delete mode 100644 node_modules/cssstyle/LICENSE delete mode 100644 node_modules/cssstyle/README.md delete mode 100644 node_modules/cssstyle/lib/CSSStyleDeclaration.js delete mode 100644 node_modules/cssstyle/lib/CSSStyleDeclaration.test.js delete mode 100644 node_modules/cssstyle/lib/allExtraProperties.js delete mode 100644 node_modules/cssstyle/lib/allProperties.js delete mode 100644 node_modules/cssstyle/lib/allWebkitProperties.js delete mode 100644 node_modules/cssstyle/lib/constants.js delete mode 100644 node_modules/cssstyle/lib/implementedProperties.js delete mode 100644 node_modules/cssstyle/lib/named_colors.json delete mode 100644 node_modules/cssstyle/lib/parsers.js delete mode 100644 node_modules/cssstyle/lib/parsers.test.js delete mode 100644 node_modules/cssstyle/lib/properties.js delete mode 100644 node_modules/cssstyle/lib/properties/azimuth.js delete mode 100644 node_modules/cssstyle/lib/properties/background.js delete mode 100644 node_modules/cssstyle/lib/properties/backgroundAttachment.js delete mode 100644 node_modules/cssstyle/lib/properties/backgroundColor.js delete mode 100644 node_modules/cssstyle/lib/properties/backgroundImage.js delete mode 100644 node_modules/cssstyle/lib/properties/backgroundPosition.js delete mode 100644 node_modules/cssstyle/lib/properties/backgroundRepeat.js delete mode 100644 node_modules/cssstyle/lib/properties/border.js delete mode 100644 node_modules/cssstyle/lib/properties/borderBottom.js delete mode 100644 node_modules/cssstyle/lib/properties/borderBottomColor.js delete mode 100644 node_modules/cssstyle/lib/properties/borderBottomStyle.js delete mode 100644 node_modules/cssstyle/lib/properties/borderBottomWidth.js delete mode 100644 node_modules/cssstyle/lib/properties/borderCollapse.js delete mode 100644 node_modules/cssstyle/lib/properties/borderColor.js delete mode 100644 node_modules/cssstyle/lib/properties/borderLeft.js delete mode 100644 node_modules/cssstyle/lib/properties/borderLeftColor.js delete mode 100644 node_modules/cssstyle/lib/properties/borderLeftStyle.js delete mode 100644 node_modules/cssstyle/lib/properties/borderLeftWidth.js delete mode 100644 node_modules/cssstyle/lib/properties/borderRight.js delete mode 100644 node_modules/cssstyle/lib/properties/borderRightColor.js delete mode 100644 node_modules/cssstyle/lib/properties/borderRightStyle.js delete mode 100644 node_modules/cssstyle/lib/properties/borderRightWidth.js delete mode 100644 node_modules/cssstyle/lib/properties/borderSpacing.js delete mode 100644 node_modules/cssstyle/lib/properties/borderStyle.js delete mode 100644 node_modules/cssstyle/lib/properties/borderTop.js delete mode 100644 node_modules/cssstyle/lib/properties/borderTopColor.js delete mode 100644 node_modules/cssstyle/lib/properties/borderTopStyle.js delete mode 100644 node_modules/cssstyle/lib/properties/borderTopWidth.js delete mode 100644 node_modules/cssstyle/lib/properties/borderWidth.js delete mode 100644 node_modules/cssstyle/lib/properties/bottom.js delete mode 100644 node_modules/cssstyle/lib/properties/clear.js delete mode 100644 node_modules/cssstyle/lib/properties/clip.js delete mode 100644 node_modules/cssstyle/lib/properties/color.js delete mode 100644 node_modules/cssstyle/lib/properties/cssFloat.js delete mode 100644 node_modules/cssstyle/lib/properties/flex.js delete mode 100644 node_modules/cssstyle/lib/properties/flexBasis.js delete mode 100644 node_modules/cssstyle/lib/properties/flexGrow.js delete mode 100644 node_modules/cssstyle/lib/properties/flexShrink.js delete mode 100644 node_modules/cssstyle/lib/properties/float.js delete mode 100644 node_modules/cssstyle/lib/properties/floodColor.js delete mode 100644 node_modules/cssstyle/lib/properties/font.js delete mode 100644 node_modules/cssstyle/lib/properties/fontFamily.js delete mode 100644 node_modules/cssstyle/lib/properties/fontSize.js delete mode 100644 node_modules/cssstyle/lib/properties/fontStyle.js delete mode 100644 node_modules/cssstyle/lib/properties/fontVariant.js delete mode 100644 node_modules/cssstyle/lib/properties/fontWeight.js delete mode 100644 node_modules/cssstyle/lib/properties/height.js delete mode 100644 node_modules/cssstyle/lib/properties/left.js delete mode 100644 node_modules/cssstyle/lib/properties/lightingColor.js delete mode 100644 node_modules/cssstyle/lib/properties/lineHeight.js delete mode 100644 node_modules/cssstyle/lib/properties/margin.js delete mode 100644 node_modules/cssstyle/lib/properties/marginBottom.js delete mode 100644 node_modules/cssstyle/lib/properties/marginLeft.js delete mode 100644 node_modules/cssstyle/lib/properties/marginRight.js delete mode 100644 node_modules/cssstyle/lib/properties/marginTop.js delete mode 100644 node_modules/cssstyle/lib/properties/opacity.js delete mode 100644 node_modules/cssstyle/lib/properties/outlineColor.js delete mode 100644 node_modules/cssstyle/lib/properties/padding.js delete mode 100644 node_modules/cssstyle/lib/properties/paddingBottom.js delete mode 100644 node_modules/cssstyle/lib/properties/paddingLeft.js delete mode 100644 node_modules/cssstyle/lib/properties/paddingRight.js delete mode 100644 node_modules/cssstyle/lib/properties/paddingTop.js delete mode 100644 node_modules/cssstyle/lib/properties/right.js delete mode 100644 node_modules/cssstyle/lib/properties/stopColor.js delete mode 100644 node_modules/cssstyle/lib/properties/textLineThroughColor.js delete mode 100644 node_modules/cssstyle/lib/properties/textOverlineColor.js delete mode 100644 node_modules/cssstyle/lib/properties/textUnderlineColor.js delete mode 100644 node_modules/cssstyle/lib/properties/top.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitBorderEndColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitBorderStartColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitTextFillColor.js delete mode 100644 node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js delete mode 100644 node_modules/cssstyle/lib/properties/width.js delete mode 100644 node_modules/cssstyle/lib/utils/colorSpace.js delete mode 100644 node_modules/cssstyle/lib/utils/getBasicPropertyDescriptor.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/LICENSE.txt delete mode 100644 node_modules/cssstyle/node_modules/cssom/README.mdown delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSDocumentRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSFontFaceRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSHostRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSImportRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframeRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSKeyframesRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSMediaRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSOM.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSStyleDeclaration.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSStyleRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSStyleSheet.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSSupportsRule.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSValue.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/CSSValueExpression.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/MatcherList.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/MediaList.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/StyleSheet.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/clone.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/index.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/lib/parse.js delete mode 100644 node_modules/cssstyle/node_modules/cssom/package.json delete mode 100644 node_modules/cssstyle/package.json delete mode 100644 node_modules/data-urls/LICENSE.txt delete mode 100644 node_modules/data-urls/README.md delete mode 100644 node_modules/data-urls/lib/parser.js delete mode 100644 node_modules/data-urls/lib/utils.js delete mode 100644 node_modules/data-urls/package.json delete mode 100644 node_modules/debug/LICENSE delete mode 100644 node_modules/debug/README.md delete mode 100644 node_modules/debug/package.json delete mode 100644 node_modules/debug/src/browser.js delete mode 100644 node_modules/debug/src/common.js delete mode 100644 node_modules/debug/src/index.js delete mode 100644 node_modules/debug/src/node.js delete mode 100644 node_modules/decimal.js/CHANGELOG.md delete mode 100644 node_modules/decimal.js/LICENCE.md delete mode 100644 node_modules/decimal.js/README.md delete mode 100644 node_modules/decimal.js/decimal.d.ts delete mode 100644 node_modules/decimal.js/decimal.js delete mode 100644 node_modules/decimal.js/decimal.mjs delete mode 100644 node_modules/decimal.js/package.json delete mode 100644 node_modules/dedent/LICENSE delete mode 100644 node_modules/dedent/README.md delete mode 100644 node_modules/dedent/dist/dedent.js delete mode 100644 node_modules/dedent/package.json delete mode 100644 node_modules/deep-is/.travis.yml delete mode 100644 node_modules/deep-is/LICENSE delete mode 100644 node_modules/deep-is/README.markdown delete mode 100644 node_modules/deep-is/example/cmp.js delete mode 100644 node_modules/deep-is/index.js delete mode 100644 node_modules/deep-is/package.json delete mode 100644 node_modules/deep-is/test/NaN.js delete mode 100644 node_modules/deep-is/test/cmp.js delete mode 100644 node_modules/deep-is/test/neg-vs-pos-0.js delete mode 100644 node_modules/deepmerge/changelog.md delete mode 100644 node_modules/deepmerge/dist/cjs.js delete mode 100644 node_modules/deepmerge/dist/umd.js delete mode 100644 node_modules/deepmerge/index.d.ts delete mode 100644 node_modules/deepmerge/index.js delete mode 100644 node_modules/deepmerge/license.txt delete mode 100644 node_modules/deepmerge/package.json delete mode 100644 node_modules/deepmerge/readme.md delete mode 100644 node_modules/deepmerge/rollup.config.js delete mode 100644 node_modules/delayed-stream/.npmignore delete mode 100644 node_modules/delayed-stream/License delete mode 100644 node_modules/delayed-stream/Makefile delete mode 100644 node_modules/delayed-stream/Readme.md delete mode 100644 node_modules/delayed-stream/lib/delayed_stream.js delete mode 100644 node_modules/delayed-stream/package.json delete mode 100644 node_modules/deprecation/LICENSE delete mode 100644 node_modules/deprecation/README.md delete mode 100644 node_modules/deprecation/dist-node/index.js delete mode 100644 node_modules/deprecation/dist-src/index.js delete mode 100644 node_modules/deprecation/dist-types/index.d.ts delete mode 100644 node_modules/deprecation/dist-web/index.js delete mode 100644 node_modules/deprecation/package.json delete mode 100644 node_modules/detect-newline/index.d.ts delete mode 100644 node_modules/detect-newline/index.js delete mode 100644 node_modules/detect-newline/license delete mode 100644 node_modules/detect-newline/package.json delete mode 100644 node_modules/detect-newline/readme.md delete mode 100644 node_modules/diff-sequences/LICENSE delete mode 100644 node_modules/diff-sequences/README.md delete mode 100644 node_modules/diff-sequences/build/index.d.ts delete mode 100644 node_modules/diff-sequences/build/index.js delete mode 100644 node_modules/diff-sequences/package.json delete mode 100644 node_modules/diff-sequences/perf/example.md delete mode 100644 node_modules/diff-sequences/perf/index.js delete mode 100644 node_modules/domexception/LICENSE.txt delete mode 100644 node_modules/domexception/README.md delete mode 100644 node_modules/domexception/index.js delete mode 100644 node_modules/domexception/lib/DOMException-impl.js delete mode 100644 node_modules/domexception/lib/DOMException.js delete mode 100644 node_modules/domexception/lib/legacy-error-codes.json delete mode 100644 node_modules/domexception/lib/utils.js delete mode 100644 node_modules/domexception/node_modules/webidl-conversions/LICENSE.md delete mode 100644 node_modules/domexception/node_modules/webidl-conversions/README.md delete mode 100644 node_modules/domexception/node_modules/webidl-conversions/lib/index.js delete mode 100644 node_modules/domexception/node_modules/webidl-conversions/package.json delete mode 100644 node_modules/domexception/package.json delete mode 100644 node_modules/domexception/webidl2js-wrapper.js delete mode 100644 node_modules/electron-to-chromium/CHANGELOG.md delete mode 100644 node_modules/electron-to-chromium/LICENSE delete mode 100644 node_modules/electron-to-chromium/README.md delete mode 100644 node_modules/electron-to-chromium/chromium-versions.js delete mode 100644 node_modules/electron-to-chromium/chromium-versions.json delete mode 100644 node_modules/electron-to-chromium/full-chromium-versions.js delete mode 100644 node_modules/electron-to-chromium/full-chromium-versions.json delete mode 100644 node_modules/electron-to-chromium/full-versions.js delete mode 100644 node_modules/electron-to-chromium/full-versions.json delete mode 100644 node_modules/electron-to-chromium/index.js delete mode 100644 node_modules/electron-to-chromium/package.json delete mode 100644 node_modules/electron-to-chromium/versions.js delete mode 100644 node_modules/electron-to-chromium/versions.json delete mode 100644 node_modules/emittery/index.d.ts delete mode 100644 node_modules/emittery/index.js delete mode 100644 node_modules/emittery/license delete mode 100644 node_modules/emittery/package.json delete mode 100644 node_modules/emittery/readme.md delete mode 100644 node_modules/emoji-regex/LICENSE-MIT.txt delete mode 100644 node_modules/emoji-regex/README.md delete mode 100644 node_modules/emoji-regex/es2015/index.js delete mode 100644 node_modules/emoji-regex/es2015/text.js delete mode 100644 node_modules/emoji-regex/index.d.ts delete mode 100644 node_modules/emoji-regex/index.js delete mode 100644 node_modules/emoji-regex/package.json delete mode 100644 node_modules/emoji-regex/text.js delete mode 100644 node_modules/error-ex/LICENSE delete mode 100644 node_modules/error-ex/README.md delete mode 100644 node_modules/error-ex/index.js delete mode 100644 node_modules/error-ex/package.json delete mode 100644 node_modules/escalade/dist/index.js delete mode 100644 node_modules/escalade/dist/index.mjs delete mode 100644 node_modules/escalade/index.d.ts delete mode 100644 node_modules/escalade/license delete mode 100644 node_modules/escalade/package.json delete mode 100644 node_modules/escalade/readme.md delete mode 100644 node_modules/escalade/sync/index.d.ts delete mode 100644 node_modules/escalade/sync/index.js delete mode 100644 node_modules/escalade/sync/index.mjs delete mode 100644 node_modules/escape-string-regexp/index.d.ts delete mode 100644 node_modules/escape-string-regexp/index.js delete mode 100644 node_modules/escape-string-regexp/license delete mode 100644 node_modules/escape-string-regexp/package.json delete mode 100644 node_modules/escape-string-regexp/readme.md delete mode 100644 node_modules/escodegen/LICENSE.BSD delete mode 100644 node_modules/escodegen/README.md delete mode 100755 node_modules/escodegen/bin/escodegen.js delete mode 100755 node_modules/escodegen/bin/esgenerate.js delete mode 100644 node_modules/escodegen/escodegen.js delete mode 120000 node_modules/escodegen/node_modules/.bin/esparse delete mode 120000 node_modules/escodegen/node_modules/.bin/esvalidate delete mode 100644 node_modules/escodegen/package.json delete mode 100644 node_modules/esprima/ChangeLog delete mode 100644 node_modules/esprima/LICENSE.BSD delete mode 100644 node_modules/esprima/README.md delete mode 100755 node_modules/esprima/bin/esparse.js delete mode 100755 node_modules/esprima/bin/esvalidate.js delete mode 100644 node_modules/esprima/dist/esprima.js delete mode 100644 node_modules/esprima/package.json delete mode 100644 node_modules/estraverse/.jshintrc delete mode 100644 node_modules/estraverse/LICENSE.BSD delete mode 100644 node_modules/estraverse/README.md delete mode 100644 node_modules/estraverse/estraverse.js delete mode 100644 node_modules/estraverse/gulpfile.js delete mode 100644 node_modules/estraverse/package.json delete mode 100644 node_modules/esutils/LICENSE.BSD delete mode 100644 node_modules/esutils/README.md delete mode 100644 node_modules/esutils/lib/ast.js delete mode 100644 node_modules/esutils/lib/code.js delete mode 100644 node_modules/esutils/lib/keyword.js delete mode 100644 node_modules/esutils/lib/utils.js delete mode 100644 node_modules/esutils/package.json delete mode 100644 node_modules/execa/index.d.ts delete mode 100644 node_modules/execa/index.js delete mode 100644 node_modules/execa/lib/command.js delete mode 100644 node_modules/execa/lib/error.js delete mode 100644 node_modules/execa/lib/kill.js delete mode 100644 node_modules/execa/lib/promise.js delete mode 100644 node_modules/execa/lib/stdio.js delete mode 100644 node_modules/execa/lib/stream.js delete mode 100644 node_modules/execa/license delete mode 100644 node_modules/execa/package.json delete mode 100644 node_modules/execa/readme.md delete mode 100644 node_modules/exit/.jshintrc delete mode 100644 node_modules/exit/.npmignore delete mode 100644 node_modules/exit/.travis.yml delete mode 100644 node_modules/exit/Gruntfile.js delete mode 100644 node_modules/exit/LICENSE-MIT delete mode 100644 node_modules/exit/README.md delete mode 100644 node_modules/exit/lib/exit.js delete mode 100644 node_modules/exit/package.json delete mode 100644 node_modules/exit/test/exit_test.js delete mode 100644 node_modules/exit/test/fixtures/10-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/10-stdout-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/10-stdout.txt delete mode 100644 node_modules/exit/test/fixtures/100-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/100-stdout-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/100-stdout.txt delete mode 100644 node_modules/exit/test/fixtures/1000-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/1000-stdout-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/1000-stdout.txt delete mode 100755 node_modules/exit/test/fixtures/create-files.sh delete mode 100644 node_modules/exit/test/fixtures/log-broken.js delete mode 100644 node_modules/exit/test/fixtures/log.js delete mode 100644 node_modules/expect/LICENSE delete mode 100644 node_modules/expect/README.md delete mode 100644 node_modules/expect/build/asymmetricMatchers.d.ts delete mode 100644 node_modules/expect/build/asymmetricMatchers.js delete mode 100644 node_modules/expect/build/extractExpectedAssertionsErrors.d.ts delete mode 100644 node_modules/expect/build/extractExpectedAssertionsErrors.js delete mode 100644 node_modules/expect/build/index.d.ts delete mode 100644 node_modules/expect/build/index.js delete mode 100644 node_modules/expect/build/jasmineUtils.d.ts delete mode 100644 node_modules/expect/build/jasmineUtils.js delete mode 100644 node_modules/expect/build/jestMatchersObject.d.ts delete mode 100644 node_modules/expect/build/jestMatchersObject.js delete mode 100644 node_modules/expect/build/matchers.d.ts delete mode 100644 node_modules/expect/build/matchers.js delete mode 100644 node_modules/expect/build/print.d.ts delete mode 100644 node_modules/expect/build/print.js delete mode 100644 node_modules/expect/build/spyMatchers.d.ts delete mode 100644 node_modules/expect/build/spyMatchers.js delete mode 100644 node_modules/expect/build/toThrowMatchers.d.ts delete mode 100644 node_modules/expect/build/toThrowMatchers.js delete mode 100644 node_modules/expect/build/types.d.ts delete mode 100644 node_modules/expect/build/types.js delete mode 100644 node_modules/expect/build/utils.d.ts delete mode 100644 node_modules/expect/build/utils.js delete mode 100644 node_modules/expect/package.json delete mode 100644 node_modules/fast-json-stable-stringify/.eslintrc.yml delete mode 100644 node_modules/fast-json-stable-stringify/.github/FUNDING.yml delete mode 100644 node_modules/fast-json-stable-stringify/.travis.yml delete mode 100644 node_modules/fast-json-stable-stringify/LICENSE delete mode 100644 node_modules/fast-json-stable-stringify/README.md delete mode 100644 node_modules/fast-json-stable-stringify/benchmark/index.js delete mode 100644 node_modules/fast-json-stable-stringify/benchmark/test.json delete mode 100644 node_modules/fast-json-stable-stringify/example/key_cmp.js delete mode 100644 node_modules/fast-json-stable-stringify/example/nested.js delete mode 100644 node_modules/fast-json-stable-stringify/example/str.js delete mode 100644 node_modules/fast-json-stable-stringify/example/value_cmp.js delete mode 100644 node_modules/fast-json-stable-stringify/index.d.ts delete mode 100644 node_modules/fast-json-stable-stringify/index.js delete mode 100644 node_modules/fast-json-stable-stringify/package.json delete mode 100644 node_modules/fast-json-stable-stringify/test/cmp.js delete mode 100644 node_modules/fast-json-stable-stringify/test/nested.js delete mode 100644 node_modules/fast-json-stable-stringify/test/str.js delete mode 100644 node_modules/fast-json-stable-stringify/test/to-json.js delete mode 100644 node_modules/fast-levenshtein/LICENSE.md delete mode 100644 node_modules/fast-levenshtein/README.md delete mode 100644 node_modules/fast-levenshtein/levenshtein.js delete mode 100644 node_modules/fast-levenshtein/package.json delete mode 100644 node_modules/fb-watchman/README.md delete mode 100644 node_modules/fb-watchman/index.js delete mode 100644 node_modules/fb-watchman/package.json delete mode 100644 node_modules/fill-range/LICENSE delete mode 100644 node_modules/fill-range/README.md delete mode 100644 node_modules/fill-range/index.js delete mode 100644 node_modules/fill-range/package.json delete mode 100644 node_modules/find-up/index.d.ts delete mode 100644 node_modules/find-up/index.js delete mode 100644 node_modules/find-up/license delete mode 100644 node_modules/find-up/package.json delete mode 100644 node_modules/find-up/readme.md delete mode 100644 node_modules/form-data/License delete mode 100644 node_modules/form-data/README.md.bak delete mode 100644 node_modules/form-data/Readme.md delete mode 100644 node_modules/form-data/index.d.ts delete mode 100644 node_modules/form-data/lib/browser.js delete mode 100644 node_modules/form-data/lib/form_data.js delete mode 100644 node_modules/form-data/lib/populate.js delete mode 100644 node_modules/form-data/package.json delete mode 100644 node_modules/fs.realpath/LICENSE delete mode 100644 node_modules/fs.realpath/README.md delete mode 100644 node_modules/fs.realpath/index.js delete mode 100644 node_modules/fs.realpath/old.js delete mode 100644 node_modules/fs.realpath/package.json delete mode 100644 node_modules/function-bind/.editorconfig delete mode 100644 node_modules/function-bind/.eslintrc delete mode 100644 node_modules/function-bind/.jscs.json delete mode 100644 node_modules/function-bind/.npmignore delete mode 100644 node_modules/function-bind/.travis.yml delete mode 100644 node_modules/function-bind/LICENSE delete mode 100644 node_modules/function-bind/README.md delete mode 100644 node_modules/function-bind/implementation.js delete mode 100644 node_modules/function-bind/index.js delete mode 100644 node_modules/function-bind/package.json delete mode 100644 node_modules/function-bind/test/.eslintrc delete mode 100644 node_modules/function-bind/test/index.js delete mode 100644 node_modules/gensync/LICENSE delete mode 100644 node_modules/gensync/README.md delete mode 100644 node_modules/gensync/index.js delete mode 100644 node_modules/gensync/index.js.flow delete mode 100644 node_modules/gensync/package.json delete mode 100644 node_modules/gensync/test/.babelrc delete mode 100644 node_modules/gensync/test/index.test.js delete mode 100644 node_modules/get-caller-file/LICENSE.md delete mode 100644 node_modules/get-caller-file/README.md delete mode 100644 node_modules/get-caller-file/index.d.ts delete mode 100644 node_modules/get-caller-file/index.js delete mode 100644 node_modules/get-caller-file/index.js.map delete mode 100644 node_modules/get-caller-file/package.json delete mode 100644 node_modules/get-package-type/CHANGELOG.md delete mode 100644 node_modules/get-package-type/LICENSE delete mode 100644 node_modules/get-package-type/README.md delete mode 100644 node_modules/get-package-type/async.cjs delete mode 100644 node_modules/get-package-type/cache.cjs delete mode 100644 node_modules/get-package-type/index.cjs delete mode 100644 node_modules/get-package-type/is-node-modules.cjs delete mode 100644 node_modules/get-package-type/package.json delete mode 100644 node_modules/get-package-type/sync.cjs delete mode 100644 node_modules/get-stream/buffer-stream.js delete mode 100644 node_modules/get-stream/index.d.ts delete mode 100644 node_modules/get-stream/index.js delete mode 100644 node_modules/get-stream/license delete mode 100644 node_modules/get-stream/package.json delete mode 100644 node_modules/get-stream/readme.md delete mode 100644 node_modules/glob/LICENSE delete mode 100644 node_modules/glob/README.md delete mode 100644 node_modules/glob/common.js delete mode 100644 node_modules/glob/glob.js delete mode 100644 node_modules/glob/package.json delete mode 100644 node_modules/glob/sync.js delete mode 100644 node_modules/globals/globals.json delete mode 100644 node_modules/globals/index.js delete mode 100644 node_modules/globals/license delete mode 100644 node_modules/globals/package.json delete mode 100644 node_modules/globals/readme.md delete mode 100644 node_modules/graceful-fs/LICENSE delete mode 100644 node_modules/graceful-fs/README.md delete mode 100644 node_modules/graceful-fs/clone.js delete mode 100644 node_modules/graceful-fs/graceful-fs.js delete mode 100644 node_modules/graceful-fs/legacy-streams.js delete mode 100644 node_modules/graceful-fs/package.json delete mode 100644 node_modules/graceful-fs/polyfills.js delete mode 100644 node_modules/has-flag/index.d.ts delete mode 100644 node_modules/has-flag/index.js delete mode 100644 node_modules/has-flag/license delete mode 100644 node_modules/has-flag/package.json delete mode 100644 node_modules/has-flag/readme.md delete mode 100644 node_modules/has/LICENSE-MIT delete mode 100644 node_modules/has/README.md delete mode 100644 node_modules/has/package.json delete mode 100644 node_modules/has/src/index.js delete mode 100644 node_modules/has/test/index.js delete mode 100644 node_modules/html-encoding-sniffer/LICENSE.txt delete mode 100644 node_modules/html-encoding-sniffer/README.md delete mode 100644 node_modules/html-encoding-sniffer/lib/html-encoding-sniffer.js delete mode 100644 node_modules/html-encoding-sniffer/package.json delete mode 100644 node_modules/html-escaper/LICENSE.txt delete mode 100644 node_modules/html-escaper/README.md delete mode 100644 node_modules/html-escaper/cjs/index.js delete mode 100644 node_modules/html-escaper/cjs/package.json delete mode 100644 node_modules/html-escaper/esm/index.js delete mode 100644 node_modules/html-escaper/index.js delete mode 100644 node_modules/html-escaper/min.js delete mode 100644 node_modules/html-escaper/package.json delete mode 100644 node_modules/html-escaper/test/index.js delete mode 100644 node_modules/html-escaper/test/package.json delete mode 100644 node_modules/http-proxy-agent/README.md delete mode 100644 node_modules/http-proxy-agent/dist/agent.d.ts delete mode 100644 node_modules/http-proxy-agent/dist/agent.js delete mode 100644 node_modules/http-proxy-agent/dist/agent.js.map delete mode 100644 node_modules/http-proxy-agent/dist/index.d.ts delete mode 100644 node_modules/http-proxy-agent/dist/index.js delete mode 100644 node_modules/http-proxy-agent/dist/index.js.map delete mode 100644 node_modules/http-proxy-agent/package.json delete mode 100644 node_modules/https-proxy-agent/README.md delete mode 100644 node_modules/https-proxy-agent/dist/agent.d.ts delete mode 100644 node_modules/https-proxy-agent/dist/agent.js delete mode 100644 node_modules/https-proxy-agent/dist/agent.js.map delete mode 100644 node_modules/https-proxy-agent/dist/index.d.ts delete mode 100644 node_modules/https-proxy-agent/dist/index.js delete mode 100644 node_modules/https-proxy-agent/dist/index.js.map delete mode 100644 node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts delete mode 100644 node_modules/https-proxy-agent/dist/parse-proxy-response.js delete mode 100644 node_modules/https-proxy-agent/dist/parse-proxy-response.js.map delete mode 100644 node_modules/https-proxy-agent/package.json delete mode 100644 node_modules/human-signals/CHANGELOG.md delete mode 100644 node_modules/human-signals/LICENSE delete mode 100644 node_modules/human-signals/README.md delete mode 100644 node_modules/human-signals/build/src/core.js delete mode 100644 node_modules/human-signals/build/src/core.js.map delete mode 100644 node_modules/human-signals/build/src/main.d.ts delete mode 100644 node_modules/human-signals/build/src/main.js delete mode 100644 node_modules/human-signals/build/src/main.js.map delete mode 100644 node_modules/human-signals/build/src/realtime.js delete mode 100644 node_modules/human-signals/build/src/realtime.js.map delete mode 100644 node_modules/human-signals/build/src/signals.js delete mode 100644 node_modules/human-signals/build/src/signals.js.map delete mode 100644 node_modules/human-signals/package.json delete mode 100644 node_modules/iconv-lite/Changelog.md delete mode 100644 node_modules/iconv-lite/LICENSE delete mode 100644 node_modules/iconv-lite/README.md delete mode 100644 node_modules/iconv-lite/encodings/dbcs-codec.js delete mode 100644 node_modules/iconv-lite/encodings/dbcs-data.js delete mode 100644 node_modules/iconv-lite/encodings/index.js delete mode 100644 node_modules/iconv-lite/encodings/internal.js delete mode 100644 node_modules/iconv-lite/encodings/sbcs-codec.js delete mode 100644 node_modules/iconv-lite/encodings/sbcs-data-generated.js delete mode 100644 node_modules/iconv-lite/encodings/sbcs-data.js delete mode 100644 node_modules/iconv-lite/encodings/tables/big5-added.json delete mode 100644 node_modules/iconv-lite/encodings/tables/cp936.json delete mode 100644 node_modules/iconv-lite/encodings/tables/cp949.json delete mode 100644 node_modules/iconv-lite/encodings/tables/cp950.json delete mode 100644 node_modules/iconv-lite/encodings/tables/eucjp.json delete mode 100644 node_modules/iconv-lite/encodings/tables/gb18030-ranges.json delete mode 100644 node_modules/iconv-lite/encodings/tables/gbk-added.json delete mode 100644 node_modules/iconv-lite/encodings/tables/shiftjis.json delete mode 100644 node_modules/iconv-lite/encodings/utf16.js delete mode 100644 node_modules/iconv-lite/encodings/utf7.js delete mode 100644 node_modules/iconv-lite/lib/bom-handling.js delete mode 100644 node_modules/iconv-lite/lib/extend-node.js delete mode 100644 node_modules/iconv-lite/lib/index.d.ts delete mode 100644 node_modules/iconv-lite/lib/index.js delete mode 100644 node_modules/iconv-lite/lib/streams.js delete mode 100644 node_modules/iconv-lite/package.json delete mode 100755 node_modules/import-local/fixtures/cli.js delete mode 100644 node_modules/import-local/index.js delete mode 100644 node_modules/import-local/license delete mode 100644 node_modules/import-local/package.json delete mode 100644 node_modules/import-local/readme.md delete mode 100644 node_modules/imurmurhash/README.md delete mode 100644 node_modules/imurmurhash/imurmurhash.js delete mode 100644 node_modules/imurmurhash/imurmurhash.min.js delete mode 100644 node_modules/imurmurhash/package.json delete mode 100644 node_modules/inflight/LICENSE delete mode 100644 node_modules/inflight/README.md delete mode 100644 node_modules/inflight/inflight.js delete mode 100644 node_modules/inflight/package.json delete mode 100644 node_modules/inherits/LICENSE delete mode 100644 node_modules/inherits/README.md delete mode 100644 node_modules/inherits/inherits.js delete mode 100644 node_modules/inherits/inherits_browser.js delete mode 100644 node_modules/inherits/package.json delete mode 100644 node_modules/is-arrayish/.editorconfig delete mode 100644 node_modules/is-arrayish/.istanbul.yml delete mode 100644 node_modules/is-arrayish/.npmignore delete mode 100644 node_modules/is-arrayish/.travis.yml delete mode 100644 node_modules/is-arrayish/LICENSE delete mode 100644 node_modules/is-arrayish/README.md delete mode 100644 node_modules/is-arrayish/index.js delete mode 100644 node_modules/is-arrayish/package.json delete mode 100644 node_modules/is-core-module/.eslintrc delete mode 100644 node_modules/is-core-module/.nycrc delete mode 100644 node_modules/is-core-module/CHANGELOG.md delete mode 100644 node_modules/is-core-module/LICENSE delete mode 100644 node_modules/is-core-module/README.md delete mode 100644 node_modules/is-core-module/core.json delete mode 100644 node_modules/is-core-module/index.js delete mode 100644 node_modules/is-core-module/package.json delete mode 100644 node_modules/is-core-module/test/index.js delete mode 100644 node_modules/is-fullwidth-code-point/index.d.ts delete mode 100644 node_modules/is-fullwidth-code-point/index.js delete mode 100644 node_modules/is-fullwidth-code-point/license delete mode 100644 node_modules/is-fullwidth-code-point/package.json delete mode 100644 node_modules/is-fullwidth-code-point/readme.md delete mode 100644 node_modules/is-generator-fn/index.d.ts delete mode 100644 node_modules/is-generator-fn/index.js delete mode 100644 node_modules/is-generator-fn/license delete mode 100644 node_modules/is-generator-fn/package.json delete mode 100644 node_modules/is-generator-fn/readme.md delete mode 100644 node_modules/is-number/LICENSE delete mode 100644 node_modules/is-number/README.md delete mode 100644 node_modules/is-number/index.js delete mode 100644 node_modules/is-number/package.json delete mode 100644 node_modules/is-plain-object/LICENSE delete mode 100644 node_modules/is-plain-object/README.md delete mode 100644 node_modules/is-plain-object/dist/is-plain-object.js delete mode 100644 node_modules/is-plain-object/dist/is-plain-object.mjs delete mode 100644 node_modules/is-plain-object/is-plain-object.d.ts delete mode 100644 node_modules/is-plain-object/package.json delete mode 100644 node_modules/is-potential-custom-element-name/LICENSE-MIT.txt delete mode 100644 node_modules/is-potential-custom-element-name/README.md delete mode 100755 node_modules/is-potential-custom-element-name/index.js delete mode 100644 node_modules/is-potential-custom-element-name/package.json delete mode 100644 node_modules/is-stream/index.d.ts delete mode 100644 node_modules/is-stream/index.js delete mode 100644 node_modules/is-stream/license delete mode 100644 node_modules/is-stream/package.json delete mode 100644 node_modules/is-stream/readme.md delete mode 100644 node_modules/is-typedarray/LICENSE.md delete mode 100644 node_modules/is-typedarray/README.md delete mode 100644 node_modules/is-typedarray/index.js delete mode 100644 node_modules/is-typedarray/package.json delete mode 100644 node_modules/is-typedarray/test.js delete mode 100644 node_modules/isexe/.npmignore delete mode 100644 node_modules/isexe/LICENSE delete mode 100644 node_modules/isexe/README.md delete mode 100644 node_modules/isexe/index.js delete mode 100644 node_modules/isexe/mode.js delete mode 100644 node_modules/isexe/package.json delete mode 100644 node_modules/isexe/test/basic.js delete mode 100644 node_modules/isexe/windows.js delete mode 100644 node_modules/istanbul-lib-coverage/CHANGELOG.md delete mode 100644 node_modules/istanbul-lib-coverage/LICENSE delete mode 100644 node_modules/istanbul-lib-coverage/README.md delete mode 100644 node_modules/istanbul-lib-coverage/index.js delete mode 100644 node_modules/istanbul-lib-coverage/lib/coverage-map.js delete mode 100644 node_modules/istanbul-lib-coverage/lib/coverage-summary.js delete mode 100644 node_modules/istanbul-lib-coverage/lib/data-properties.js delete mode 100644 node_modules/istanbul-lib-coverage/lib/file-coverage.js delete mode 100644 node_modules/istanbul-lib-coverage/lib/percent.js delete mode 100644 node_modules/istanbul-lib-coverage/package.json delete mode 100644 node_modules/istanbul-lib-instrument/CHANGELOG.md delete mode 100644 node_modules/istanbul-lib-instrument/LICENSE delete mode 100644 node_modules/istanbul-lib-instrument/README.md delete mode 120000 node_modules/istanbul-lib-instrument/node_modules/.bin/parser delete mode 120000 node_modules/istanbul-lib-instrument/node_modules/.bin/semver delete mode 100644 node_modules/istanbul-lib-instrument/package.json delete mode 100644 node_modules/istanbul-lib-instrument/src/constants.js delete mode 100644 node_modules/istanbul-lib-instrument/src/index.js delete mode 100644 node_modules/istanbul-lib-instrument/src/instrumenter.js delete mode 100644 node_modules/istanbul-lib-instrument/src/read-coverage.js delete mode 100644 node_modules/istanbul-lib-instrument/src/source-coverage.js delete mode 100644 node_modules/istanbul-lib-instrument/src/visitor.js delete mode 100644 node_modules/istanbul-lib-report/CHANGELOG.md delete mode 100644 node_modules/istanbul-lib-report/LICENSE delete mode 100644 node_modules/istanbul-lib-report/README.md delete mode 100644 node_modules/istanbul-lib-report/index.js delete mode 100644 node_modules/istanbul-lib-report/lib/context.js delete mode 100644 node_modules/istanbul-lib-report/lib/file-writer.js delete mode 100644 node_modules/istanbul-lib-report/lib/path.js delete mode 100644 node_modules/istanbul-lib-report/lib/report-base.js delete mode 100644 node_modules/istanbul-lib-report/lib/summarizer-factory.js delete mode 100644 node_modules/istanbul-lib-report/lib/tree.js delete mode 100644 node_modules/istanbul-lib-report/lib/watermarks.js delete mode 100644 node_modules/istanbul-lib-report/lib/xml-writer.js delete mode 100644 node_modules/istanbul-lib-report/package.json delete mode 100644 node_modules/istanbul-lib-source-maps/CHANGELOG.md delete mode 100644 node_modules/istanbul-lib-source-maps/LICENSE delete mode 100644 node_modules/istanbul-lib-source-maps/README.md delete mode 100644 node_modules/istanbul-lib-source-maps/index.js delete mode 100644 node_modules/istanbul-lib-source-maps/lib/get-mapping.js delete mode 100644 node_modules/istanbul-lib-source-maps/lib/map-store.js delete mode 100644 node_modules/istanbul-lib-source-maps/lib/mapped.js delete mode 100644 node_modules/istanbul-lib-source-maps/lib/pathutils.js delete mode 100644 node_modules/istanbul-lib-source-maps/lib/transform-utils.js delete mode 100644 node_modules/istanbul-lib-source-maps/lib/transformer.js delete mode 100644 node_modules/istanbul-lib-source-maps/package.json delete mode 100644 node_modules/istanbul-reports/CHANGELOG.md delete mode 100644 node_modules/istanbul-reports/LICENSE delete mode 100644 node_modules/istanbul-reports/README.md delete mode 100644 node_modules/istanbul-reports/index.js delete mode 100644 node_modules/istanbul-reports/lib/clover/index.js delete mode 100644 node_modules/istanbul-reports/lib/cobertura/index.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/.babelrc delete mode 100644 node_modules/istanbul-reports/lib/html-spa/assets/bundle.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/assets/sort-arrow-sprite.png delete mode 100644 node_modules/istanbul-reports/lib/html-spa/assets/spa.css delete mode 100644 node_modules/istanbul-reports/lib/html-spa/index.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/fileBreadcrumbs.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/filterToggle.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/flattenToggle.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/getChildData.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/index.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/routing.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/summaryHeader.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/summaryTableHeader.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/src/summaryTableLine.js delete mode 100644 node_modules/istanbul-reports/lib/html-spa/webpack.config.js delete mode 100644 node_modules/istanbul-reports/lib/html/annotator.js delete mode 100644 node_modules/istanbul-reports/lib/html/assets/base.css delete mode 100644 node_modules/istanbul-reports/lib/html/assets/block-navigation.js delete mode 100644 node_modules/istanbul-reports/lib/html/assets/favicon.png delete mode 100644 node_modules/istanbul-reports/lib/html/assets/sort-arrow-sprite.png delete mode 100644 node_modules/istanbul-reports/lib/html/assets/sorter.js delete mode 100644 node_modules/istanbul-reports/lib/html/assets/vendor/prettify.css delete mode 100644 node_modules/istanbul-reports/lib/html/assets/vendor/prettify.js delete mode 100644 node_modules/istanbul-reports/lib/html/index.js delete mode 100644 node_modules/istanbul-reports/lib/html/insertion-text.js delete mode 100644 node_modules/istanbul-reports/lib/json-summary/index.js delete mode 100644 node_modules/istanbul-reports/lib/json/index.js delete mode 100644 node_modules/istanbul-reports/lib/lcov/index.js delete mode 100644 node_modules/istanbul-reports/lib/lcovonly/index.js delete mode 100644 node_modules/istanbul-reports/lib/none/index.js delete mode 100644 node_modules/istanbul-reports/lib/teamcity/index.js delete mode 100644 node_modules/istanbul-reports/lib/text-lcov/index.js delete mode 100644 node_modules/istanbul-reports/lib/text-summary/index.js delete mode 100644 node_modules/istanbul-reports/lib/text/index.js delete mode 100644 node_modules/istanbul-reports/package.json delete mode 100644 node_modules/jest-changed-files/LICENSE delete mode 100644 node_modules/jest-changed-files/README.md delete mode 100644 node_modules/jest-changed-files/build/git.d.ts delete mode 100644 node_modules/jest-changed-files/build/git.js delete mode 100644 node_modules/jest-changed-files/build/hg.d.ts delete mode 100644 node_modules/jest-changed-files/build/hg.js delete mode 100644 node_modules/jest-changed-files/build/index.d.ts delete mode 100644 node_modules/jest-changed-files/build/index.js delete mode 100644 node_modules/jest-changed-files/build/types.d.ts delete mode 100644 node_modules/jest-changed-files/build/types.js delete mode 100644 node_modules/jest-changed-files/package.json delete mode 100644 node_modules/jest-circus/LICENSE delete mode 100644 node_modules/jest-circus/README.md delete mode 100644 node_modules/jest-circus/build/eventHandler.d.ts delete mode 100644 node_modules/jest-circus/build/eventHandler.js delete mode 100644 node_modules/jest-circus/build/formatNodeAssertErrors.d.ts delete mode 100644 node_modules/jest-circus/build/formatNodeAssertErrors.js delete mode 100644 node_modules/jest-circus/build/globalErrorHandlers.d.ts delete mode 100644 node_modules/jest-circus/build/globalErrorHandlers.js delete mode 100644 node_modules/jest-circus/build/index.d.ts delete mode 100644 node_modules/jest-circus/build/index.js delete mode 100644 node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.d.ts delete mode 100644 node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js delete mode 100644 node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts delete mode 100644 node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js delete mode 100644 node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.d.ts delete mode 100644 node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.js delete mode 100644 node_modules/jest-circus/build/run.d.ts delete mode 100644 node_modules/jest-circus/build/run.js delete mode 100644 node_modules/jest-circus/build/state.d.ts delete mode 100644 node_modules/jest-circus/build/state.js delete mode 100644 node_modules/jest-circus/build/testCaseReportHandler.d.ts delete mode 100644 node_modules/jest-circus/build/testCaseReportHandler.js delete mode 100644 node_modules/jest-circus/build/types.d.ts delete mode 100644 node_modules/jest-circus/build/types.js delete mode 100644 node_modules/jest-circus/build/utils.d.ts delete mode 100644 node_modules/jest-circus/build/utils.js delete mode 100644 node_modules/jest-circus/package.json delete mode 100644 node_modules/jest-circus/runner.js delete mode 100644 node_modules/jest-cli/LICENSE delete mode 100644 node_modules/jest-cli/README.md delete mode 100755 node_modules/jest-cli/bin/jest.js delete mode 100644 node_modules/jest-cli/build/cli/args.d.ts delete mode 100644 node_modules/jest-cli/build/cli/args.js delete mode 100644 node_modules/jest-cli/build/cli/index.d.ts delete mode 100644 node_modules/jest-cli/build/cli/index.js delete mode 100644 node_modules/jest-cli/build/index.d.ts delete mode 100644 node_modules/jest-cli/build/index.js delete mode 100644 node_modules/jest-cli/build/init/errors.d.ts delete mode 100644 node_modules/jest-cli/build/init/errors.js delete mode 100644 node_modules/jest-cli/build/init/generateConfigFile.d.ts delete mode 100644 node_modules/jest-cli/build/init/generateConfigFile.js delete mode 100644 node_modules/jest-cli/build/init/index.d.ts delete mode 100644 node_modules/jest-cli/build/init/index.js delete mode 100644 node_modules/jest-cli/build/init/modifyPackageJson.d.ts delete mode 100644 node_modules/jest-cli/build/init/modifyPackageJson.js delete mode 100644 node_modules/jest-cli/build/init/questions.d.ts delete mode 100644 node_modules/jest-cli/build/init/questions.js delete mode 100644 node_modules/jest-cli/build/init/types.d.ts delete mode 100644 node_modules/jest-cli/build/init/types.js delete mode 120000 node_modules/jest-cli/node_modules/.bin/import-local-fixture delete mode 100644 node_modules/jest-cli/package.json delete mode 100644 node_modules/jest-config/LICENSE delete mode 100644 node_modules/jest-config/build/Defaults.d.ts delete mode 100644 node_modules/jest-config/build/Defaults.js delete mode 100644 node_modules/jest-config/build/Deprecated.d.ts delete mode 100644 node_modules/jest-config/build/Deprecated.js delete mode 100644 node_modules/jest-config/build/Descriptions.d.ts delete mode 100644 node_modules/jest-config/build/Descriptions.js delete mode 100644 node_modules/jest-config/build/ReporterValidationErrors.d.ts delete mode 100644 node_modules/jest-config/build/ReporterValidationErrors.js delete mode 100644 node_modules/jest-config/build/ValidConfig.d.ts delete mode 100644 node_modules/jest-config/build/ValidConfig.js delete mode 100644 node_modules/jest-config/build/color.d.ts delete mode 100644 node_modules/jest-config/build/color.js delete mode 100644 node_modules/jest-config/build/constants.d.ts delete mode 100644 node_modules/jest-config/build/constants.js delete mode 100644 node_modules/jest-config/build/getCacheDirectory.d.ts delete mode 100644 node_modules/jest-config/build/getCacheDirectory.js delete mode 100644 node_modules/jest-config/build/getMaxWorkers.d.ts delete mode 100644 node_modules/jest-config/build/getMaxWorkers.js delete mode 100644 node_modules/jest-config/build/index.d.ts delete mode 100644 node_modules/jest-config/build/index.js delete mode 100644 node_modules/jest-config/build/normalize.d.ts delete mode 100644 node_modules/jest-config/build/normalize.js delete mode 100644 node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts delete mode 100644 node_modules/jest-config/build/readConfigFileAndSetRootDir.js delete mode 100644 node_modules/jest-config/build/resolveConfigPath.d.ts delete mode 100644 node_modules/jest-config/build/resolveConfigPath.js delete mode 100644 node_modules/jest-config/build/setFromArgv.d.ts delete mode 100644 node_modules/jest-config/build/setFromArgv.js delete mode 100644 node_modules/jest-config/build/utils.d.ts delete mode 100644 node_modules/jest-config/build/utils.js delete mode 100644 node_modules/jest-config/build/validatePattern.d.ts delete mode 100644 node_modules/jest-config/build/validatePattern.js delete mode 100644 node_modules/jest-config/package.json delete mode 100644 node_modules/jest-diff/LICENSE delete mode 100644 node_modules/jest-diff/README.md delete mode 100644 node_modules/jest-diff/build/cleanupSemantic.d.ts delete mode 100644 node_modules/jest-diff/build/cleanupSemantic.js delete mode 100644 node_modules/jest-diff/build/constants.d.ts delete mode 100644 node_modules/jest-diff/build/constants.js delete mode 100644 node_modules/jest-diff/build/diffLines.d.ts delete mode 100644 node_modules/jest-diff/build/diffLines.js delete mode 100644 node_modules/jest-diff/build/diffStrings.d.ts delete mode 100644 node_modules/jest-diff/build/diffStrings.js delete mode 100644 node_modules/jest-diff/build/getAlignedDiffs.d.ts delete mode 100644 node_modules/jest-diff/build/getAlignedDiffs.js delete mode 100644 node_modules/jest-diff/build/index.d.ts delete mode 100644 node_modules/jest-diff/build/index.js delete mode 100644 node_modules/jest-diff/build/joinAlignedDiffs.d.ts delete mode 100644 node_modules/jest-diff/build/joinAlignedDiffs.js delete mode 100644 node_modules/jest-diff/build/normalizeDiffOptions.d.ts delete mode 100644 node_modules/jest-diff/build/normalizeDiffOptions.js delete mode 100644 node_modules/jest-diff/build/printDiffs.d.ts delete mode 100644 node_modules/jest-diff/build/printDiffs.js delete mode 100644 node_modules/jest-diff/build/types.d.ts delete mode 100644 node_modules/jest-diff/build/types.js delete mode 100644 node_modules/jest-diff/package.json delete mode 100644 node_modules/jest-docblock/LICENSE delete mode 100644 node_modules/jest-docblock/README.md delete mode 100644 node_modules/jest-docblock/build/index.d.ts delete mode 100644 node_modules/jest-docblock/build/index.js delete mode 100644 node_modules/jest-docblock/package.json delete mode 100644 node_modules/jest-each/LICENSE delete mode 100644 node_modules/jest-each/README.md delete mode 100644 node_modules/jest-each/build/bind.d.ts delete mode 100644 node_modules/jest-each/build/bind.js delete mode 100644 node_modules/jest-each/build/index.d.ts delete mode 100644 node_modules/jest-each/build/index.js delete mode 100644 node_modules/jest-each/build/table/array.d.ts delete mode 100644 node_modules/jest-each/build/table/array.js delete mode 100644 node_modules/jest-each/build/table/interpolation.d.ts delete mode 100644 node_modules/jest-each/build/table/interpolation.js delete mode 100644 node_modules/jest-each/build/table/template.d.ts delete mode 100644 node_modules/jest-each/build/table/template.js delete mode 100644 node_modules/jest-each/build/validation.d.ts delete mode 100644 node_modules/jest-each/build/validation.js delete mode 100644 node_modules/jest-each/package.json delete mode 100644 node_modules/jest-environment-jsdom/LICENSE delete mode 100644 node_modules/jest-environment-jsdom/build/index.d.ts delete mode 100644 node_modules/jest-environment-jsdom/build/index.js delete mode 100644 node_modules/jest-environment-jsdom/package.json delete mode 100644 node_modules/jest-environment-node/LICENSE delete mode 100644 node_modules/jest-environment-node/build/index.d.ts delete mode 100644 node_modules/jest-environment-node/build/index.js delete mode 100644 node_modules/jest-environment-node/package.json delete mode 100644 node_modules/jest-get-type/LICENSE delete mode 100644 node_modules/jest-get-type/build/index.d.ts delete mode 100644 node_modules/jest-get-type/build/index.js delete mode 100644 node_modules/jest-get-type/package.json delete mode 100644 node_modules/jest-haste-map/LICENSE delete mode 100644 node_modules/jest-haste-map/build/HasteFS.d.ts delete mode 100644 node_modules/jest-haste-map/build/HasteFS.js delete mode 100644 node_modules/jest-haste-map/build/ModuleMap.d.ts delete mode 100644 node_modules/jest-haste-map/build/ModuleMap.js delete mode 100644 node_modules/jest-haste-map/build/blacklist.d.ts delete mode 100644 node_modules/jest-haste-map/build/blacklist.js delete mode 100644 node_modules/jest-haste-map/build/constants.d.ts delete mode 100644 node_modules/jest-haste-map/build/constants.js delete mode 100644 node_modules/jest-haste-map/build/crawlers/node.d.ts delete mode 100644 node_modules/jest-haste-map/build/crawlers/node.js delete mode 100644 node_modules/jest-haste-map/build/crawlers/watchman.d.ts delete mode 100644 node_modules/jest-haste-map/build/crawlers/watchman.js delete mode 100644 node_modules/jest-haste-map/build/getMockName.d.ts delete mode 100644 node_modules/jest-haste-map/build/getMockName.js delete mode 100644 node_modules/jest-haste-map/build/index.d.ts delete mode 100644 node_modules/jest-haste-map/build/index.js delete mode 100644 node_modules/jest-haste-map/build/lib/dependencyExtractor.d.ts delete mode 100644 node_modules/jest-haste-map/build/lib/dependencyExtractor.js delete mode 100644 node_modules/jest-haste-map/build/lib/fast_path.d.ts delete mode 100644 node_modules/jest-haste-map/build/lib/fast_path.js delete mode 100644 node_modules/jest-haste-map/build/lib/getPlatformExtension.d.ts delete mode 100644 node_modules/jest-haste-map/build/lib/getPlatformExtension.js delete mode 100644 node_modules/jest-haste-map/build/lib/isRegExpSupported.d.ts delete mode 100644 node_modules/jest-haste-map/build/lib/isRegExpSupported.js delete mode 100644 node_modules/jest-haste-map/build/lib/normalizePathSep.d.ts delete mode 100644 node_modules/jest-haste-map/build/lib/normalizePathSep.js delete mode 100644 node_modules/jest-haste-map/build/types.d.ts delete mode 100644 node_modules/jest-haste-map/build/types.js delete mode 100644 node_modules/jest-haste-map/build/watchers/FSEventsWatcher.d.ts delete mode 100644 node_modules/jest-haste-map/build/watchers/FSEventsWatcher.js delete mode 100644 node_modules/jest-haste-map/build/watchers/NodeWatcher.js delete mode 100644 node_modules/jest-haste-map/build/watchers/RecrawlWarning.js delete mode 100644 node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js delete mode 100644 node_modules/jest-haste-map/build/watchers/common.js delete mode 100644 node_modules/jest-haste-map/build/worker.d.ts delete mode 100644 node_modules/jest-haste-map/build/worker.js delete mode 100644 node_modules/jest-haste-map/package.json delete mode 100644 node_modules/jest-jasmine2/LICENSE delete mode 100644 node_modules/jest-jasmine2/build/ExpectationFailed.d.ts delete mode 100644 node_modules/jest-jasmine2/build/ExpectationFailed.js delete mode 100644 node_modules/jest-jasmine2/build/PCancelable.d.ts delete mode 100644 node_modules/jest-jasmine2/build/PCancelable.js delete mode 100644 node_modules/jest-jasmine2/build/assertionErrorMessage.d.ts delete mode 100644 node_modules/jest-jasmine2/build/assertionErrorMessage.js delete mode 100644 node_modules/jest-jasmine2/build/each.d.ts delete mode 100644 node_modules/jest-jasmine2/build/each.js delete mode 100644 node_modules/jest-jasmine2/build/errorOnPrivate.d.ts delete mode 100644 node_modules/jest-jasmine2/build/errorOnPrivate.js delete mode 100644 node_modules/jest-jasmine2/build/expectationResultFactory.d.ts delete mode 100644 node_modules/jest-jasmine2/build/expectationResultFactory.js delete mode 100644 node_modules/jest-jasmine2/build/index.d.ts delete mode 100644 node_modules/jest-jasmine2/build/index.js delete mode 100644 node_modules/jest-jasmine2/build/isError.d.ts delete mode 100644 node_modules/jest-jasmine2/build/isError.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/CallTracker.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/CallTracker.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Env.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Env.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/JsApiReporter.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Spec.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Spec.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/SpyStrategy.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/SpyStrategy.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Suite.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Suite.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Timer.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/Timer.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/createSpy.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/createSpy.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/jasmineLight.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/jasmineLight.js delete mode 100644 node_modules/jest-jasmine2/build/jasmine/spyRegistry.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmine/spyRegistry.js delete mode 100644 node_modules/jest-jasmine2/build/jasmineAsyncInstall.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jasmineAsyncInstall.js delete mode 100644 node_modules/jest-jasmine2/build/jestExpect.d.ts delete mode 100644 node_modules/jest-jasmine2/build/jestExpect.js delete mode 100644 node_modules/jest-jasmine2/build/pTimeout.d.ts delete mode 100644 node_modules/jest-jasmine2/build/pTimeout.js delete mode 100644 node_modules/jest-jasmine2/build/queueRunner.d.ts delete mode 100644 node_modules/jest-jasmine2/build/queueRunner.js delete mode 100644 node_modules/jest-jasmine2/build/reporter.d.ts delete mode 100644 node_modules/jest-jasmine2/build/reporter.js delete mode 100644 node_modules/jest-jasmine2/build/setup_jest_globals.d.ts delete mode 100644 node_modules/jest-jasmine2/build/setup_jest_globals.js delete mode 100644 node_modules/jest-jasmine2/build/treeProcessor.d.ts delete mode 100644 node_modules/jest-jasmine2/build/treeProcessor.js delete mode 100644 node_modules/jest-jasmine2/build/types.d.ts delete mode 100644 node_modules/jest-jasmine2/build/types.js delete mode 100644 node_modules/jest-jasmine2/package.json delete mode 100644 node_modules/jest-leak-detector/LICENSE delete mode 100644 node_modules/jest-leak-detector/README.md delete mode 100644 node_modules/jest-leak-detector/build/index.d.ts delete mode 100644 node_modules/jest-leak-detector/build/index.js delete mode 100644 node_modules/jest-leak-detector/package.json delete mode 100644 node_modules/jest-matcher-utils/LICENSE delete mode 100644 node_modules/jest-matcher-utils/README.md delete mode 100644 node_modules/jest-matcher-utils/build/Replaceable.d.ts delete mode 100644 node_modules/jest-matcher-utils/build/Replaceable.js delete mode 100644 node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.d.ts delete mode 100644 node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js delete mode 100644 node_modules/jest-matcher-utils/build/index.d.ts delete mode 100644 node_modules/jest-matcher-utils/build/index.js delete mode 100644 node_modules/jest-matcher-utils/package.json delete mode 100644 node_modules/jest-message-util/LICENSE delete mode 100644 node_modules/jest-message-util/build/index.d.ts delete mode 100644 node_modules/jest-message-util/build/index.js delete mode 100644 node_modules/jest-message-util/build/types.d.ts delete mode 100644 node_modules/jest-message-util/build/types.js delete mode 100644 node_modules/jest-message-util/package.json delete mode 100644 node_modules/jest-mock/LICENSE delete mode 100644 node_modules/jest-mock/README.md delete mode 100644 node_modules/jest-mock/build/index.d.ts delete mode 100644 node_modules/jest-mock/build/index.js delete mode 100644 node_modules/jest-mock/package.json delete mode 100644 node_modules/jest-pnp-resolver/README.md delete mode 100644 node_modules/jest-pnp-resolver/createRequire.js delete mode 100644 node_modules/jest-pnp-resolver/getDefaultResolver.js delete mode 100644 node_modules/jest-pnp-resolver/index.d.ts delete mode 100644 node_modules/jest-pnp-resolver/index.js delete mode 100644 node_modules/jest-pnp-resolver/package.json delete mode 100644 node_modules/jest-regex-util/LICENSE delete mode 100644 node_modules/jest-regex-util/build/index.d.ts delete mode 100644 node_modules/jest-regex-util/build/index.js delete mode 100644 node_modules/jest-regex-util/package.json delete mode 100644 node_modules/jest-resolve-dependencies/LICENSE delete mode 100644 node_modules/jest-resolve-dependencies/build/index.d.ts delete mode 100644 node_modules/jest-resolve-dependencies/build/index.js delete mode 100644 node_modules/jest-resolve-dependencies/package.json delete mode 100644 node_modules/jest-resolve/LICENSE delete mode 100644 node_modules/jest-resolve/build/ModuleNotFoundError.d.ts delete mode 100644 node_modules/jest-resolve/build/ModuleNotFoundError.js delete mode 100644 node_modules/jest-resolve/build/defaultResolver.d.ts delete mode 100644 node_modules/jest-resolve/build/defaultResolver.js delete mode 100644 node_modules/jest-resolve/build/fileWalkers.d.ts delete mode 100644 node_modules/jest-resolve/build/fileWalkers.js delete mode 100644 node_modules/jest-resolve/build/index.d.ts delete mode 100644 node_modules/jest-resolve/build/index.js delete mode 100644 node_modules/jest-resolve/build/isBuiltinModule.d.ts delete mode 100644 node_modules/jest-resolve/build/isBuiltinModule.js delete mode 100644 node_modules/jest-resolve/build/nodeModulesPaths.d.ts delete mode 100644 node_modules/jest-resolve/build/nodeModulesPaths.js delete mode 100644 node_modules/jest-resolve/build/resolver.d.ts delete mode 100644 node_modules/jest-resolve/build/resolver.js delete mode 100644 node_modules/jest-resolve/build/shouldLoadAsEsm.d.ts delete mode 100644 node_modules/jest-resolve/build/shouldLoadAsEsm.js delete mode 100644 node_modules/jest-resolve/build/types.d.ts delete mode 100644 node_modules/jest-resolve/build/types.js delete mode 100644 node_modules/jest-resolve/build/utils.d.ts delete mode 100644 node_modules/jest-resolve/build/utils.js delete mode 120000 node_modules/jest-resolve/node_modules/.bin/resolve delete mode 100644 node_modules/jest-resolve/package.json delete mode 100644 node_modules/jest-runner/LICENSE delete mode 100644 node_modules/jest-runner/build/index.d.ts delete mode 100644 node_modules/jest-runner/build/index.js delete mode 100644 node_modules/jest-runner/build/runTest.d.ts delete mode 100644 node_modules/jest-runner/build/runTest.js delete mode 100644 node_modules/jest-runner/build/testWorker.d.ts delete mode 100644 node_modules/jest-runner/build/testWorker.js delete mode 100644 node_modules/jest-runner/build/types.d.ts delete mode 100644 node_modules/jest-runner/build/types.js delete mode 100644 node_modules/jest-runner/package.json delete mode 100644 node_modules/jest-runtime/LICENSE delete mode 100644 node_modules/jest-runtime/build/helpers.d.ts delete mode 100644 node_modules/jest-runtime/build/helpers.js delete mode 100644 node_modules/jest-runtime/build/index.d.ts delete mode 100644 node_modules/jest-runtime/build/index.js delete mode 100644 node_modules/jest-runtime/build/types.d.ts delete mode 100644 node_modules/jest-runtime/build/types.js delete mode 100644 node_modules/jest-runtime/package.json delete mode 100644 node_modules/jest-serializer/LICENSE delete mode 100644 node_modules/jest-serializer/README.md delete mode 100644 node_modules/jest-serializer/build/index.d.ts delete mode 100644 node_modules/jest-serializer/build/index.js delete mode 100644 node_modules/jest-serializer/package.json delete mode 100644 node_modules/jest-serializer/v8.d.ts delete mode 100644 node_modules/jest-snapshot/LICENSE delete mode 100644 node_modules/jest-snapshot/build/InlineSnapshots.d.ts delete mode 100644 node_modules/jest-snapshot/build/InlineSnapshots.js delete mode 100644 node_modules/jest-snapshot/build/SnapshotResolver.d.ts delete mode 100644 node_modules/jest-snapshot/build/SnapshotResolver.js delete mode 100644 node_modules/jest-snapshot/build/State.d.ts delete mode 100644 node_modules/jest-snapshot/build/State.js delete mode 100644 node_modules/jest-snapshot/build/colors.d.ts delete mode 100644 node_modules/jest-snapshot/build/colors.js delete mode 100644 node_modules/jest-snapshot/build/dedentLines.d.ts delete mode 100644 node_modules/jest-snapshot/build/dedentLines.js delete mode 100644 node_modules/jest-snapshot/build/index.d.ts delete mode 100644 node_modules/jest-snapshot/build/index.js delete mode 100644 node_modules/jest-snapshot/build/mockSerializer.d.ts delete mode 100644 node_modules/jest-snapshot/build/mockSerializer.js delete mode 100644 node_modules/jest-snapshot/build/plugins.d.ts delete mode 100644 node_modules/jest-snapshot/build/plugins.js delete mode 100644 node_modules/jest-snapshot/build/printSnapshot.d.ts delete mode 100644 node_modules/jest-snapshot/build/printSnapshot.js delete mode 100644 node_modules/jest-snapshot/build/types.d.ts delete mode 100644 node_modules/jest-snapshot/build/types.js delete mode 100644 node_modules/jest-snapshot/build/utils.d.ts delete mode 100644 node_modules/jest-snapshot/build/utils.js delete mode 120000 node_modules/jest-snapshot/node_modules/.bin/semver delete mode 100644 node_modules/jest-snapshot/node_modules/semver/CHANGELOG.md delete mode 100644 node_modules/jest-snapshot/node_modules/semver/LICENSE delete mode 100644 node_modules/jest-snapshot/node_modules/semver/README.md delete mode 100755 node_modules/jest-snapshot/node_modules/semver/bin/semver.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/classes/comparator.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/classes/index.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/classes/range.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/classes/semver.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/clean.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/cmp.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/coerce.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/compare-build.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/compare-loose.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/compare.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/diff.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/eq.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/gt.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/gte.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/inc.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/lt.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/lte.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/major.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/minor.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/neq.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/parse.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/patch.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/prerelease.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/rcompare.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/rsort.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/satisfies.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/sort.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/functions/valid.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/index.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/internal/constants.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/internal/debug.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/internal/identifiers.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/internal/parse-options.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/internal/re.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/package.json delete mode 100644 node_modules/jest-snapshot/node_modules/semver/preload.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/range.bnf delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/gtr.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/intersects.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/ltr.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/max-satisfying.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/min-satisfying.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/min-version.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/outside.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/simplify.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/subset.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/to-comparators.js delete mode 100644 node_modules/jest-snapshot/node_modules/semver/ranges/valid.js delete mode 100644 node_modules/jest-snapshot/package.json delete mode 100644 node_modules/jest-util/LICENSE delete mode 100644 node_modules/jest-util/build/ErrorWithStack.d.ts delete mode 100644 node_modules/jest-util/build/ErrorWithStack.js delete mode 100644 node_modules/jest-util/build/clearLine.d.ts delete mode 100644 node_modules/jest-util/build/clearLine.js delete mode 100644 node_modules/jest-util/build/convertDescriptorToString.d.ts delete mode 100644 node_modules/jest-util/build/convertDescriptorToString.js delete mode 100644 node_modules/jest-util/build/createDirectory.d.ts delete mode 100644 node_modules/jest-util/build/createDirectory.js delete mode 100644 node_modules/jest-util/build/createProcessObject.d.ts delete mode 100644 node_modules/jest-util/build/createProcessObject.js delete mode 100644 node_modules/jest-util/build/deepCyclicCopy.d.ts delete mode 100644 node_modules/jest-util/build/deepCyclicCopy.js delete mode 100644 node_modules/jest-util/build/formatTime.d.ts delete mode 100644 node_modules/jest-util/build/formatTime.js delete mode 100644 node_modules/jest-util/build/globsToMatcher.d.ts delete mode 100644 node_modules/jest-util/build/globsToMatcher.js delete mode 100644 node_modules/jest-util/build/index.d.ts delete mode 100644 node_modules/jest-util/build/index.js delete mode 100644 node_modules/jest-util/build/installCommonGlobals.d.ts delete mode 100644 node_modules/jest-util/build/installCommonGlobals.js delete mode 100644 node_modules/jest-util/build/interopRequireDefault.d.ts delete mode 100644 node_modules/jest-util/build/interopRequireDefault.js delete mode 100644 node_modules/jest-util/build/isInteractive.d.ts delete mode 100644 node_modules/jest-util/build/isInteractive.js delete mode 100644 node_modules/jest-util/build/isPromise.d.ts delete mode 100644 node_modules/jest-util/build/isPromise.js delete mode 100644 node_modules/jest-util/build/pluralize.d.ts delete mode 100644 node_modules/jest-util/build/pluralize.js delete mode 100644 node_modules/jest-util/build/preRunMessage.d.ts delete mode 100644 node_modules/jest-util/build/preRunMessage.js delete mode 100644 node_modules/jest-util/build/replacePathSepForGlob.d.ts delete mode 100644 node_modules/jest-util/build/replacePathSepForGlob.js delete mode 100644 node_modules/jest-util/build/requireOrImportModule.d.ts delete mode 100644 node_modules/jest-util/build/requireOrImportModule.js delete mode 100644 node_modules/jest-util/build/setGlobal.d.ts delete mode 100644 node_modules/jest-util/build/setGlobal.js delete mode 100644 node_modules/jest-util/build/specialChars.d.ts delete mode 100644 node_modules/jest-util/build/specialChars.js delete mode 100644 node_modules/jest-util/build/testPathPatternToRegExp.d.ts delete mode 100644 node_modules/jest-util/build/testPathPatternToRegExp.js delete mode 100644 node_modules/jest-util/build/tryRealpath.d.ts delete mode 100644 node_modules/jest-util/build/tryRealpath.js delete mode 100644 node_modules/jest-util/package.json delete mode 100644 node_modules/jest-validate/LICENSE delete mode 100644 node_modules/jest-validate/README.md delete mode 100644 node_modules/jest-validate/build/condition.d.ts delete mode 100644 node_modules/jest-validate/build/condition.js delete mode 100644 node_modules/jest-validate/build/defaultConfig.d.ts delete mode 100644 node_modules/jest-validate/build/defaultConfig.js delete mode 100644 node_modules/jest-validate/build/deprecated.d.ts delete mode 100644 node_modules/jest-validate/build/deprecated.js delete mode 100644 node_modules/jest-validate/build/errors.d.ts delete mode 100644 node_modules/jest-validate/build/errors.js delete mode 100644 node_modules/jest-validate/build/exampleConfig.d.ts delete mode 100644 node_modules/jest-validate/build/exampleConfig.js delete mode 100644 node_modules/jest-validate/build/index.d.ts delete mode 100644 node_modules/jest-validate/build/index.js delete mode 100644 node_modules/jest-validate/build/types.d.ts delete mode 100644 node_modules/jest-validate/build/types.js delete mode 100644 node_modules/jest-validate/build/utils.d.ts delete mode 100644 node_modules/jest-validate/build/utils.js delete mode 100644 node_modules/jest-validate/build/validate.d.ts delete mode 100644 node_modules/jest-validate/build/validate.js delete mode 100644 node_modules/jest-validate/build/validateCLIOptions.d.ts delete mode 100644 node_modules/jest-validate/build/validateCLIOptions.js delete mode 100644 node_modules/jest-validate/build/warnings.d.ts delete mode 100644 node_modules/jest-validate/build/warnings.js delete mode 100644 node_modules/jest-validate/package.json delete mode 100644 node_modules/jest-watcher/LICENSE delete mode 100644 node_modules/jest-watcher/build/BaseWatchPlugin.d.ts delete mode 100644 node_modules/jest-watcher/build/BaseWatchPlugin.js delete mode 100644 node_modules/jest-watcher/build/JestHooks.d.ts delete mode 100644 node_modules/jest-watcher/build/JestHooks.js delete mode 100644 node_modules/jest-watcher/build/PatternPrompt.d.ts delete mode 100644 node_modules/jest-watcher/build/PatternPrompt.js delete mode 100644 node_modules/jest-watcher/build/constants.d.ts delete mode 100644 node_modules/jest-watcher/build/constants.js delete mode 100644 node_modules/jest-watcher/build/index.d.ts delete mode 100644 node_modules/jest-watcher/build/index.js delete mode 100644 node_modules/jest-watcher/build/lib/Prompt.d.ts delete mode 100644 node_modules/jest-watcher/build/lib/Prompt.js delete mode 100644 node_modules/jest-watcher/build/lib/colorize.d.ts delete mode 100644 node_modules/jest-watcher/build/lib/colorize.js delete mode 100644 node_modules/jest-watcher/build/lib/formatTestNameByPattern.d.ts delete mode 100644 node_modules/jest-watcher/build/lib/formatTestNameByPattern.js delete mode 100644 node_modules/jest-watcher/build/lib/patternModeHelpers.d.ts delete mode 100644 node_modules/jest-watcher/build/lib/patternModeHelpers.js delete mode 100644 node_modules/jest-watcher/build/lib/scroll.d.ts delete mode 100644 node_modules/jest-watcher/build/lib/scroll.js delete mode 100644 node_modules/jest-watcher/build/types.d.ts delete mode 100644 node_modules/jest-watcher/build/types.js delete mode 100644 node_modules/jest-watcher/package.json delete mode 100644 node_modules/jest-worker/LICENSE delete mode 100644 node_modules/jest-worker/README.md delete mode 100644 node_modules/jest-worker/build/Farm.d.ts delete mode 100644 node_modules/jest-worker/build/Farm.js delete mode 100644 node_modules/jest-worker/build/FifoQueue.d.ts delete mode 100644 node_modules/jest-worker/build/FifoQueue.js delete mode 100644 node_modules/jest-worker/build/PriorityQueue.d.ts delete mode 100644 node_modules/jest-worker/build/PriorityQueue.js delete mode 100644 node_modules/jest-worker/build/WorkerPool.d.ts delete mode 100644 node_modules/jest-worker/build/WorkerPool.js delete mode 100644 node_modules/jest-worker/build/base/BaseWorkerPool.d.ts delete mode 100644 node_modules/jest-worker/build/base/BaseWorkerPool.js delete mode 100644 node_modules/jest-worker/build/index.d.ts delete mode 100644 node_modules/jest-worker/build/index.js delete mode 100644 node_modules/jest-worker/build/types.d.ts delete mode 100644 node_modules/jest-worker/build/types.js delete mode 100644 node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts delete mode 100644 node_modules/jest-worker/build/workers/ChildProcessWorker.js delete mode 100644 node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts delete mode 100644 node_modules/jest-worker/build/workers/NodeThreadsWorker.js delete mode 100644 node_modules/jest-worker/build/workers/messageParent.d.ts delete mode 100644 node_modules/jest-worker/build/workers/messageParent.js delete mode 100644 node_modules/jest-worker/build/workers/processChild.d.ts delete mode 100644 node_modules/jest-worker/build/workers/processChild.js delete mode 100644 node_modules/jest-worker/build/workers/threadChild.d.ts delete mode 100644 node_modules/jest-worker/build/workers/threadChild.js delete mode 100644 node_modules/jest-worker/node_modules/supports-color/browser.js delete mode 100644 node_modules/jest-worker/node_modules/supports-color/index.js delete mode 100644 node_modules/jest-worker/node_modules/supports-color/license delete mode 100644 node_modules/jest-worker/node_modules/supports-color/package.json delete mode 100644 node_modules/jest-worker/node_modules/supports-color/readme.md delete mode 100644 node_modules/jest-worker/package.json delete mode 100644 node_modules/jest/LICENSE delete mode 100644 node_modules/jest/README.md delete mode 100755 node_modules/jest/bin/jest.js delete mode 100644 node_modules/jest/build/jest.d.ts delete mode 100644 node_modules/jest/build/jest.js delete mode 120000 node_modules/jest/node_modules/.bin/import-local-fixture delete mode 120000 node_modules/jest/node_modules/.bin/jest delete mode 100644 node_modules/jest/package.json delete mode 100644 node_modules/js-tokens/CHANGELOG.md delete mode 100644 node_modules/js-tokens/LICENSE delete mode 100644 node_modules/js-tokens/README.md delete mode 100644 node_modules/js-tokens/index.js delete mode 100644 node_modules/js-tokens/package.json delete mode 100644 node_modules/js-yaml/CHANGELOG.md delete mode 100644 node_modules/js-yaml/LICENSE delete mode 100644 node_modules/js-yaml/README.md delete mode 100755 node_modules/js-yaml/bin/js-yaml.js delete mode 100644 node_modules/js-yaml/dist/js-yaml.js delete mode 100644 node_modules/js-yaml/dist/js-yaml.min.js delete mode 100644 node_modules/js-yaml/dist/js-yaml.mjs delete mode 100644 node_modules/js-yaml/index.js delete mode 100644 node_modules/js-yaml/lib/common.js delete mode 100644 node_modules/js-yaml/lib/dumper.js delete mode 100644 node_modules/js-yaml/lib/exception.js delete mode 100644 node_modules/js-yaml/lib/loader.js delete mode 100644 node_modules/js-yaml/lib/schema.js delete mode 100644 node_modules/js-yaml/lib/schema/core.js delete mode 100644 node_modules/js-yaml/lib/schema/default.js delete mode 100644 node_modules/js-yaml/lib/schema/failsafe.js delete mode 100644 node_modules/js-yaml/lib/schema/json.js delete mode 100644 node_modules/js-yaml/lib/snippet.js delete mode 100644 node_modules/js-yaml/lib/type.js delete mode 100644 node_modules/js-yaml/lib/type/binary.js delete mode 100644 node_modules/js-yaml/lib/type/bool.js delete mode 100644 node_modules/js-yaml/lib/type/float.js delete mode 100644 node_modules/js-yaml/lib/type/int.js delete mode 100644 node_modules/js-yaml/lib/type/map.js delete mode 100644 node_modules/js-yaml/lib/type/merge.js delete mode 100644 node_modules/js-yaml/lib/type/null.js delete mode 100644 node_modules/js-yaml/lib/type/omap.js delete mode 100644 node_modules/js-yaml/lib/type/pairs.js delete mode 100644 node_modules/js-yaml/lib/type/seq.js delete mode 100644 node_modules/js-yaml/lib/type/set.js delete mode 100644 node_modules/js-yaml/lib/type/str.js delete mode 100644 node_modules/js-yaml/lib/type/timestamp.js delete mode 100644 node_modules/js-yaml/package.json delete mode 100644 node_modules/jsdom/LICENSE.txt delete mode 100644 node_modules/jsdom/README.md delete mode 100644 node_modules/jsdom/lib/api.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/Window.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/js-globals.json delete mode 100644 node_modules/jsdom/lib/jsdom/browser/not-implemented.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/parser/html.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/parser/index.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/parser/xml.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js delete mode 100644 node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js delete mode 100644 node_modules/jsdom/lib/jsdom/level2/style.js delete mode 100644 node_modules/jsdom/lib/jsdom/level3/xpath.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/attributes.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/documents.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/Event-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/fetch/header-list.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/fetch/header-types.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/AbortController.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Attr.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/BarProp.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Blob.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Comment.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Document.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Element.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/EndingType.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Event.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/EventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/EventListener.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/External.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/File.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/FileList.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/FileReader.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/FormData.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Function.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Headers.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/History.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Location.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MimeType.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Navigator.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Node.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/NodeList.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Performance.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Plugin.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Range.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Screen.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Selection.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Storage.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/Text.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/generated/utils.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/create-element.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/details.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/document-base-url.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/events.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/focusing.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/http-request.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/json.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/node.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/selectors.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/strings.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/text.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/traversal.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/interfaces.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/named-properties-window.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/node-document-position.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/node-type.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/node.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/post-message.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/range/Range-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/range/boundary-point.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/traversal/helpers.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/window/External-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/window/History-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/window/Location-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/window/navigation.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js delete mode 100644 node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js delete mode 100644 node_modules/jsdom/lib/jsdom/named-properties-tracker.js delete mode 100644 node_modules/jsdom/lib/jsdom/utils.js delete mode 100644 node_modules/jsdom/lib/jsdom/virtual-console.js delete mode 100644 node_modules/jsdom/lib/jsdom/vm-shim.js delete mode 120000 node_modules/jsdom/node_modules/.bin/acorn delete mode 120000 node_modules/jsdom/node_modules/.bin/escodegen delete mode 120000 node_modules/jsdom/node_modules/.bin/esgenerate delete mode 100644 node_modules/jsdom/package.json delete mode 100644 node_modules/jsesc/LICENSE-MIT.txt delete mode 100644 node_modules/jsesc/README.md delete mode 100755 node_modules/jsesc/bin/jsesc delete mode 100644 node_modules/jsesc/jsesc.js delete mode 100644 node_modules/jsesc/man/jsesc.1 delete mode 100644 node_modules/jsesc/package.json delete mode 100644 node_modules/json-parse-even-better-errors/CHANGELOG.md delete mode 100644 node_modules/json-parse-even-better-errors/LICENSE.md delete mode 100644 node_modules/json-parse-even-better-errors/README.md delete mode 100644 node_modules/json-parse-even-better-errors/index.js delete mode 100644 node_modules/json-parse-even-better-errors/package.json delete mode 100644 node_modules/json5/CHANGELOG.md delete mode 100644 node_modules/json5/LICENSE.md delete mode 100644 node_modules/json5/README.md delete mode 100644 node_modules/json5/dist/index.js delete mode 100644 node_modules/json5/dist/index.min.js delete mode 100644 node_modules/json5/dist/index.min.mjs delete mode 100644 node_modules/json5/dist/index.mjs delete mode 100755 node_modules/json5/lib/cli.js delete mode 100644 node_modules/json5/lib/index.d.ts delete mode 100644 node_modules/json5/lib/index.js delete mode 100644 node_modules/json5/lib/parse.d.ts delete mode 100644 node_modules/json5/lib/parse.js delete mode 100644 node_modules/json5/lib/register.js delete mode 100644 node_modules/json5/lib/require.js delete mode 100644 node_modules/json5/lib/stringify.d.ts delete mode 100644 node_modules/json5/lib/stringify.js delete mode 100644 node_modules/json5/lib/unicode.d.ts delete mode 100644 node_modules/json5/lib/unicode.js delete mode 100644 node_modules/json5/lib/util.d.ts delete mode 100644 node_modules/json5/lib/util.js delete mode 100644 node_modules/json5/package.json delete mode 100644 node_modules/kleur/index.js delete mode 100644 node_modules/kleur/kleur.d.ts delete mode 100644 node_modules/kleur/license delete mode 100644 node_modules/kleur/package.json delete mode 100644 node_modules/kleur/readme.md delete mode 100644 node_modules/leven/index.d.ts delete mode 100644 node_modules/leven/index.js delete mode 100644 node_modules/leven/license delete mode 100644 node_modules/leven/package.json delete mode 100644 node_modules/leven/readme.md delete mode 100644 node_modules/levn/LICENSE delete mode 100644 node_modules/levn/README.md delete mode 100644 node_modules/levn/lib/cast.js delete mode 100644 node_modules/levn/lib/coerce.js delete mode 100644 node_modules/levn/lib/index.js delete mode 100644 node_modules/levn/lib/parse-string.js delete mode 100644 node_modules/levn/lib/parse.js delete mode 100644 node_modules/levn/package.json delete mode 100644 node_modules/lines-and-columns/LICENSE delete mode 100644 node_modules/lines-and-columns/README.md delete mode 100644 node_modules/lines-and-columns/build/index.d.ts delete mode 100644 node_modules/lines-and-columns/build/index.js delete mode 100644 node_modules/lines-and-columns/package.json delete mode 100644 node_modules/locate-path/index.d.ts delete mode 100644 node_modules/locate-path/index.js delete mode 100644 node_modules/locate-path/license delete mode 100644 node_modules/locate-path/package.json delete mode 100644 node_modules/locate-path/readme.md delete mode 100644 node_modules/lodash/LICENSE delete mode 100644 node_modules/lodash/README.md delete mode 100644 node_modules/lodash/_DataView.js delete mode 100644 node_modules/lodash/_Hash.js delete mode 100644 node_modules/lodash/_LazyWrapper.js delete mode 100644 node_modules/lodash/_ListCache.js delete mode 100644 node_modules/lodash/_LodashWrapper.js delete mode 100644 node_modules/lodash/_Map.js delete mode 100644 node_modules/lodash/_MapCache.js delete mode 100644 node_modules/lodash/_Promise.js delete mode 100644 node_modules/lodash/_Set.js delete mode 100644 node_modules/lodash/_SetCache.js delete mode 100644 node_modules/lodash/_Stack.js delete mode 100644 node_modules/lodash/_Symbol.js delete mode 100644 node_modules/lodash/_Uint8Array.js delete mode 100644 node_modules/lodash/_WeakMap.js delete mode 100644 node_modules/lodash/_apply.js delete mode 100644 node_modules/lodash/_arrayAggregator.js delete mode 100644 node_modules/lodash/_arrayEach.js delete mode 100644 node_modules/lodash/_arrayEachRight.js delete mode 100644 node_modules/lodash/_arrayEvery.js delete mode 100644 node_modules/lodash/_arrayFilter.js delete mode 100644 node_modules/lodash/_arrayIncludes.js delete mode 100644 node_modules/lodash/_arrayIncludesWith.js delete mode 100644 node_modules/lodash/_arrayLikeKeys.js delete mode 100644 node_modules/lodash/_arrayMap.js delete mode 100644 node_modules/lodash/_arrayPush.js delete mode 100644 node_modules/lodash/_arrayReduce.js delete mode 100644 node_modules/lodash/_arrayReduceRight.js delete mode 100644 node_modules/lodash/_arraySample.js delete mode 100644 node_modules/lodash/_arraySampleSize.js delete mode 100644 node_modules/lodash/_arrayShuffle.js delete mode 100644 node_modules/lodash/_arraySome.js delete mode 100644 node_modules/lodash/_asciiSize.js delete mode 100644 node_modules/lodash/_asciiToArray.js delete mode 100644 node_modules/lodash/_asciiWords.js delete mode 100644 node_modules/lodash/_assignMergeValue.js delete mode 100644 node_modules/lodash/_assignValue.js delete mode 100644 node_modules/lodash/_assocIndexOf.js delete mode 100644 node_modules/lodash/_baseAggregator.js delete mode 100644 node_modules/lodash/_baseAssign.js delete mode 100644 node_modules/lodash/_baseAssignIn.js delete mode 100644 node_modules/lodash/_baseAssignValue.js delete mode 100644 node_modules/lodash/_baseAt.js delete mode 100644 node_modules/lodash/_baseClamp.js delete mode 100644 node_modules/lodash/_baseClone.js delete mode 100644 node_modules/lodash/_baseConforms.js delete mode 100644 node_modules/lodash/_baseConformsTo.js delete mode 100644 node_modules/lodash/_baseCreate.js delete mode 100644 node_modules/lodash/_baseDelay.js delete mode 100644 node_modules/lodash/_baseDifference.js delete mode 100644 node_modules/lodash/_baseEach.js delete mode 100644 node_modules/lodash/_baseEachRight.js delete mode 100644 node_modules/lodash/_baseEvery.js delete mode 100644 node_modules/lodash/_baseExtremum.js delete mode 100644 node_modules/lodash/_baseFill.js delete mode 100644 node_modules/lodash/_baseFilter.js delete mode 100644 node_modules/lodash/_baseFindIndex.js delete mode 100644 node_modules/lodash/_baseFindKey.js delete mode 100644 node_modules/lodash/_baseFlatten.js delete mode 100644 node_modules/lodash/_baseFor.js delete mode 100644 node_modules/lodash/_baseForOwn.js delete mode 100644 node_modules/lodash/_baseForOwnRight.js delete mode 100644 node_modules/lodash/_baseForRight.js delete mode 100644 node_modules/lodash/_baseFunctions.js delete mode 100644 node_modules/lodash/_baseGet.js delete mode 100644 node_modules/lodash/_baseGetAllKeys.js delete mode 100644 node_modules/lodash/_baseGetTag.js delete mode 100644 node_modules/lodash/_baseGt.js delete mode 100644 node_modules/lodash/_baseHas.js delete mode 100644 node_modules/lodash/_baseHasIn.js delete mode 100644 node_modules/lodash/_baseInRange.js delete mode 100644 node_modules/lodash/_baseIndexOf.js delete mode 100644 node_modules/lodash/_baseIndexOfWith.js delete mode 100644 node_modules/lodash/_baseIntersection.js delete mode 100644 node_modules/lodash/_baseInverter.js delete mode 100644 node_modules/lodash/_baseInvoke.js delete mode 100644 node_modules/lodash/_baseIsArguments.js delete mode 100644 node_modules/lodash/_baseIsArrayBuffer.js delete mode 100644 node_modules/lodash/_baseIsDate.js delete mode 100644 node_modules/lodash/_baseIsEqual.js delete mode 100644 node_modules/lodash/_baseIsEqualDeep.js delete mode 100644 node_modules/lodash/_baseIsMap.js delete mode 100644 node_modules/lodash/_baseIsMatch.js delete mode 100644 node_modules/lodash/_baseIsNaN.js delete mode 100644 node_modules/lodash/_baseIsNative.js delete mode 100644 node_modules/lodash/_baseIsRegExp.js delete mode 100644 node_modules/lodash/_baseIsSet.js delete mode 100644 node_modules/lodash/_baseIsTypedArray.js delete mode 100644 node_modules/lodash/_baseIteratee.js delete mode 100644 node_modules/lodash/_baseKeys.js delete mode 100644 node_modules/lodash/_baseKeysIn.js delete mode 100644 node_modules/lodash/_baseLodash.js delete mode 100644 node_modules/lodash/_baseLt.js delete mode 100644 node_modules/lodash/_baseMap.js delete mode 100644 node_modules/lodash/_baseMatches.js delete mode 100644 node_modules/lodash/_baseMatchesProperty.js delete mode 100644 node_modules/lodash/_baseMean.js delete mode 100644 node_modules/lodash/_baseMerge.js delete mode 100644 node_modules/lodash/_baseMergeDeep.js delete mode 100644 node_modules/lodash/_baseNth.js delete mode 100644 node_modules/lodash/_baseOrderBy.js delete mode 100644 node_modules/lodash/_basePick.js delete mode 100644 node_modules/lodash/_basePickBy.js delete mode 100644 node_modules/lodash/_baseProperty.js delete mode 100644 node_modules/lodash/_basePropertyDeep.js delete mode 100644 node_modules/lodash/_basePropertyOf.js delete mode 100644 node_modules/lodash/_basePullAll.js delete mode 100644 node_modules/lodash/_basePullAt.js delete mode 100644 node_modules/lodash/_baseRandom.js delete mode 100644 node_modules/lodash/_baseRange.js delete mode 100644 node_modules/lodash/_baseReduce.js delete mode 100644 node_modules/lodash/_baseRepeat.js delete mode 100644 node_modules/lodash/_baseRest.js delete mode 100644 node_modules/lodash/_baseSample.js delete mode 100644 node_modules/lodash/_baseSampleSize.js delete mode 100644 node_modules/lodash/_baseSet.js delete mode 100644 node_modules/lodash/_baseSetData.js delete mode 100644 node_modules/lodash/_baseSetToString.js delete mode 100644 node_modules/lodash/_baseShuffle.js delete mode 100644 node_modules/lodash/_baseSlice.js delete mode 100644 node_modules/lodash/_baseSome.js delete mode 100644 node_modules/lodash/_baseSortBy.js delete mode 100644 node_modules/lodash/_baseSortedIndex.js delete mode 100644 node_modules/lodash/_baseSortedIndexBy.js delete mode 100644 node_modules/lodash/_baseSortedUniq.js delete mode 100644 node_modules/lodash/_baseSum.js delete mode 100644 node_modules/lodash/_baseTimes.js delete mode 100644 node_modules/lodash/_baseToNumber.js delete mode 100644 node_modules/lodash/_baseToPairs.js delete mode 100644 node_modules/lodash/_baseToString.js delete mode 100644 node_modules/lodash/_baseTrim.js delete mode 100644 node_modules/lodash/_baseUnary.js delete mode 100644 node_modules/lodash/_baseUniq.js delete mode 100644 node_modules/lodash/_baseUnset.js delete mode 100644 node_modules/lodash/_baseUpdate.js delete mode 100644 node_modules/lodash/_baseValues.js delete mode 100644 node_modules/lodash/_baseWhile.js delete mode 100644 node_modules/lodash/_baseWrapperValue.js delete mode 100644 node_modules/lodash/_baseXor.js delete mode 100644 node_modules/lodash/_baseZipObject.js delete mode 100644 node_modules/lodash/_cacheHas.js delete mode 100644 node_modules/lodash/_castArrayLikeObject.js delete mode 100644 node_modules/lodash/_castFunction.js delete mode 100644 node_modules/lodash/_castPath.js delete mode 100644 node_modules/lodash/_castRest.js delete mode 100644 node_modules/lodash/_castSlice.js delete mode 100644 node_modules/lodash/_charsEndIndex.js delete mode 100644 node_modules/lodash/_charsStartIndex.js delete mode 100644 node_modules/lodash/_cloneArrayBuffer.js delete mode 100644 node_modules/lodash/_cloneBuffer.js delete mode 100644 node_modules/lodash/_cloneDataView.js delete mode 100644 node_modules/lodash/_cloneRegExp.js delete mode 100644 node_modules/lodash/_cloneSymbol.js delete mode 100644 node_modules/lodash/_cloneTypedArray.js delete mode 100644 node_modules/lodash/_compareAscending.js delete mode 100644 node_modules/lodash/_compareMultiple.js delete mode 100644 node_modules/lodash/_composeArgs.js delete mode 100644 node_modules/lodash/_composeArgsRight.js delete mode 100644 node_modules/lodash/_copyArray.js delete mode 100644 node_modules/lodash/_copyObject.js delete mode 100644 node_modules/lodash/_copySymbols.js delete mode 100644 node_modules/lodash/_copySymbolsIn.js delete mode 100644 node_modules/lodash/_coreJsData.js delete mode 100644 node_modules/lodash/_countHolders.js delete mode 100644 node_modules/lodash/_createAggregator.js delete mode 100644 node_modules/lodash/_createAssigner.js delete mode 100644 node_modules/lodash/_createBaseEach.js delete mode 100644 node_modules/lodash/_createBaseFor.js delete mode 100644 node_modules/lodash/_createBind.js delete mode 100644 node_modules/lodash/_createCaseFirst.js delete mode 100644 node_modules/lodash/_createCompounder.js delete mode 100644 node_modules/lodash/_createCtor.js delete mode 100644 node_modules/lodash/_createCurry.js delete mode 100644 node_modules/lodash/_createFind.js delete mode 100644 node_modules/lodash/_createFlow.js delete mode 100644 node_modules/lodash/_createHybrid.js delete mode 100644 node_modules/lodash/_createInverter.js delete mode 100644 node_modules/lodash/_createMathOperation.js delete mode 100644 node_modules/lodash/_createOver.js delete mode 100644 node_modules/lodash/_createPadding.js delete mode 100644 node_modules/lodash/_createPartial.js delete mode 100644 node_modules/lodash/_createRange.js delete mode 100644 node_modules/lodash/_createRecurry.js delete mode 100644 node_modules/lodash/_createRelationalOperation.js delete mode 100644 node_modules/lodash/_createRound.js delete mode 100644 node_modules/lodash/_createSet.js delete mode 100644 node_modules/lodash/_createToPairs.js delete mode 100644 node_modules/lodash/_createWrap.js delete mode 100644 node_modules/lodash/_customDefaultsAssignIn.js delete mode 100644 node_modules/lodash/_customDefaultsMerge.js delete mode 100644 node_modules/lodash/_customOmitClone.js delete mode 100644 node_modules/lodash/_deburrLetter.js delete mode 100644 node_modules/lodash/_defineProperty.js delete mode 100644 node_modules/lodash/_equalArrays.js delete mode 100644 node_modules/lodash/_equalByTag.js delete mode 100644 node_modules/lodash/_equalObjects.js delete mode 100644 node_modules/lodash/_escapeHtmlChar.js delete mode 100644 node_modules/lodash/_escapeStringChar.js delete mode 100644 node_modules/lodash/_flatRest.js delete mode 100644 node_modules/lodash/_freeGlobal.js delete mode 100644 node_modules/lodash/_getAllKeys.js delete mode 100644 node_modules/lodash/_getAllKeysIn.js delete mode 100644 node_modules/lodash/_getData.js delete mode 100644 node_modules/lodash/_getFuncName.js delete mode 100644 node_modules/lodash/_getHolder.js delete mode 100644 node_modules/lodash/_getMapData.js delete mode 100644 node_modules/lodash/_getMatchData.js delete mode 100644 node_modules/lodash/_getNative.js delete mode 100644 node_modules/lodash/_getPrototype.js delete mode 100644 node_modules/lodash/_getRawTag.js delete mode 100644 node_modules/lodash/_getSymbols.js delete mode 100644 node_modules/lodash/_getSymbolsIn.js delete mode 100644 node_modules/lodash/_getTag.js delete mode 100644 node_modules/lodash/_getValue.js delete mode 100644 node_modules/lodash/_getView.js delete mode 100644 node_modules/lodash/_getWrapDetails.js delete mode 100644 node_modules/lodash/_hasPath.js delete mode 100644 node_modules/lodash/_hasUnicode.js delete mode 100644 node_modules/lodash/_hasUnicodeWord.js delete mode 100644 node_modules/lodash/_hashClear.js delete mode 100644 node_modules/lodash/_hashDelete.js delete mode 100644 node_modules/lodash/_hashGet.js delete mode 100644 node_modules/lodash/_hashHas.js delete mode 100644 node_modules/lodash/_hashSet.js delete mode 100644 node_modules/lodash/_initCloneArray.js delete mode 100644 node_modules/lodash/_initCloneByTag.js delete mode 100644 node_modules/lodash/_initCloneObject.js delete mode 100644 node_modules/lodash/_insertWrapDetails.js delete mode 100644 node_modules/lodash/_isFlattenable.js delete mode 100644 node_modules/lodash/_isIndex.js delete mode 100644 node_modules/lodash/_isIterateeCall.js delete mode 100644 node_modules/lodash/_isKey.js delete mode 100644 node_modules/lodash/_isKeyable.js delete mode 100644 node_modules/lodash/_isLaziable.js delete mode 100644 node_modules/lodash/_isMaskable.js delete mode 100644 node_modules/lodash/_isMasked.js delete mode 100644 node_modules/lodash/_isPrototype.js delete mode 100644 node_modules/lodash/_isStrictComparable.js delete mode 100644 node_modules/lodash/_iteratorToArray.js delete mode 100644 node_modules/lodash/_lazyClone.js delete mode 100644 node_modules/lodash/_lazyReverse.js delete mode 100644 node_modules/lodash/_lazyValue.js delete mode 100644 node_modules/lodash/_listCacheClear.js delete mode 100644 node_modules/lodash/_listCacheDelete.js delete mode 100644 node_modules/lodash/_listCacheGet.js delete mode 100644 node_modules/lodash/_listCacheHas.js delete mode 100644 node_modules/lodash/_listCacheSet.js delete mode 100644 node_modules/lodash/_mapCacheClear.js delete mode 100644 node_modules/lodash/_mapCacheDelete.js delete mode 100644 node_modules/lodash/_mapCacheGet.js delete mode 100644 node_modules/lodash/_mapCacheHas.js delete mode 100644 node_modules/lodash/_mapCacheSet.js delete mode 100644 node_modules/lodash/_mapToArray.js delete mode 100644 node_modules/lodash/_matchesStrictComparable.js delete mode 100644 node_modules/lodash/_memoizeCapped.js delete mode 100644 node_modules/lodash/_mergeData.js delete mode 100644 node_modules/lodash/_metaMap.js delete mode 100644 node_modules/lodash/_nativeCreate.js delete mode 100644 node_modules/lodash/_nativeKeys.js delete mode 100644 node_modules/lodash/_nativeKeysIn.js delete mode 100644 node_modules/lodash/_nodeUtil.js delete mode 100644 node_modules/lodash/_objectToString.js delete mode 100644 node_modules/lodash/_overArg.js delete mode 100644 node_modules/lodash/_overRest.js delete mode 100644 node_modules/lodash/_parent.js delete mode 100644 node_modules/lodash/_reEscape.js delete mode 100644 node_modules/lodash/_reEvaluate.js delete mode 100644 node_modules/lodash/_reInterpolate.js delete mode 100644 node_modules/lodash/_realNames.js delete mode 100644 node_modules/lodash/_reorder.js delete mode 100644 node_modules/lodash/_replaceHolders.js delete mode 100644 node_modules/lodash/_root.js delete mode 100644 node_modules/lodash/_safeGet.js delete mode 100644 node_modules/lodash/_setCacheAdd.js delete mode 100644 node_modules/lodash/_setCacheHas.js delete mode 100644 node_modules/lodash/_setData.js delete mode 100644 node_modules/lodash/_setToArray.js delete mode 100644 node_modules/lodash/_setToPairs.js delete mode 100644 node_modules/lodash/_setToString.js delete mode 100644 node_modules/lodash/_setWrapToString.js delete mode 100644 node_modules/lodash/_shortOut.js delete mode 100644 node_modules/lodash/_shuffleSelf.js delete mode 100644 node_modules/lodash/_stackClear.js delete mode 100644 node_modules/lodash/_stackDelete.js delete mode 100644 node_modules/lodash/_stackGet.js delete mode 100644 node_modules/lodash/_stackHas.js delete mode 100644 node_modules/lodash/_stackSet.js delete mode 100644 node_modules/lodash/_strictIndexOf.js delete mode 100644 node_modules/lodash/_strictLastIndexOf.js delete mode 100644 node_modules/lodash/_stringSize.js delete mode 100644 node_modules/lodash/_stringToArray.js delete mode 100644 node_modules/lodash/_stringToPath.js delete mode 100644 node_modules/lodash/_toKey.js delete mode 100644 node_modules/lodash/_toSource.js delete mode 100644 node_modules/lodash/_trimmedEndIndex.js delete mode 100644 node_modules/lodash/_unescapeHtmlChar.js delete mode 100644 node_modules/lodash/_unicodeSize.js delete mode 100644 node_modules/lodash/_unicodeToArray.js delete mode 100644 node_modules/lodash/_unicodeWords.js delete mode 100644 node_modules/lodash/_updateWrapDetails.js delete mode 100644 node_modules/lodash/_wrapperClone.js delete mode 100644 node_modules/lodash/add.js delete mode 100644 node_modules/lodash/after.js delete mode 100644 node_modules/lodash/array.js delete mode 100644 node_modules/lodash/ary.js delete mode 100644 node_modules/lodash/assign.js delete mode 100644 node_modules/lodash/assignIn.js delete mode 100644 node_modules/lodash/assignInWith.js delete mode 100644 node_modules/lodash/assignWith.js delete mode 100644 node_modules/lodash/at.js delete mode 100644 node_modules/lodash/attempt.js delete mode 100644 node_modules/lodash/before.js delete mode 100644 node_modules/lodash/bind.js delete mode 100644 node_modules/lodash/bindAll.js delete mode 100644 node_modules/lodash/bindKey.js delete mode 100644 node_modules/lodash/camelCase.js delete mode 100644 node_modules/lodash/capitalize.js delete mode 100644 node_modules/lodash/castArray.js delete mode 100644 node_modules/lodash/ceil.js delete mode 100644 node_modules/lodash/chain.js delete mode 100644 node_modules/lodash/chunk.js delete mode 100644 node_modules/lodash/clamp.js delete mode 100644 node_modules/lodash/clone.js delete mode 100644 node_modules/lodash/cloneDeep.js delete mode 100644 node_modules/lodash/cloneDeepWith.js delete mode 100644 node_modules/lodash/cloneWith.js delete mode 100644 node_modules/lodash/collection.js delete mode 100644 node_modules/lodash/commit.js delete mode 100644 node_modules/lodash/compact.js delete mode 100644 node_modules/lodash/concat.js delete mode 100644 node_modules/lodash/cond.js delete mode 100644 node_modules/lodash/conforms.js delete mode 100644 node_modules/lodash/conformsTo.js delete mode 100644 node_modules/lodash/constant.js delete mode 100644 node_modules/lodash/core.js delete mode 100644 node_modules/lodash/core.min.js delete mode 100644 node_modules/lodash/countBy.js delete mode 100644 node_modules/lodash/create.js delete mode 100644 node_modules/lodash/curry.js delete mode 100644 node_modules/lodash/curryRight.js delete mode 100644 node_modules/lodash/date.js delete mode 100644 node_modules/lodash/debounce.js delete mode 100644 node_modules/lodash/deburr.js delete mode 100644 node_modules/lodash/defaultTo.js delete mode 100644 node_modules/lodash/defaults.js delete mode 100644 node_modules/lodash/defaultsDeep.js delete mode 100644 node_modules/lodash/defer.js delete mode 100644 node_modules/lodash/delay.js delete mode 100644 node_modules/lodash/difference.js delete mode 100644 node_modules/lodash/differenceBy.js delete mode 100644 node_modules/lodash/differenceWith.js delete mode 100644 node_modules/lodash/divide.js delete mode 100644 node_modules/lodash/drop.js delete mode 100644 node_modules/lodash/dropRight.js delete mode 100644 node_modules/lodash/dropRightWhile.js delete mode 100644 node_modules/lodash/dropWhile.js delete mode 100644 node_modules/lodash/each.js delete mode 100644 node_modules/lodash/eachRight.js delete mode 100644 node_modules/lodash/endsWith.js delete mode 100644 node_modules/lodash/entries.js delete mode 100644 node_modules/lodash/entriesIn.js delete mode 100644 node_modules/lodash/eq.js delete mode 100644 node_modules/lodash/escape.js delete mode 100644 node_modules/lodash/escapeRegExp.js delete mode 100644 node_modules/lodash/every.js delete mode 100644 node_modules/lodash/extend.js delete mode 100644 node_modules/lodash/extendWith.js delete mode 100644 node_modules/lodash/fill.js delete mode 100644 node_modules/lodash/filter.js delete mode 100644 node_modules/lodash/find.js delete mode 100644 node_modules/lodash/findIndex.js delete mode 100644 node_modules/lodash/findKey.js delete mode 100644 node_modules/lodash/findLast.js delete mode 100644 node_modules/lodash/findLastIndex.js delete mode 100644 node_modules/lodash/findLastKey.js delete mode 100644 node_modules/lodash/first.js delete mode 100644 node_modules/lodash/flake.lock delete mode 100644 node_modules/lodash/flake.nix delete mode 100644 node_modules/lodash/flatMap.js delete mode 100644 node_modules/lodash/flatMapDeep.js delete mode 100644 node_modules/lodash/flatMapDepth.js delete mode 100644 node_modules/lodash/flatten.js delete mode 100644 node_modules/lodash/flattenDeep.js delete mode 100644 node_modules/lodash/flattenDepth.js delete mode 100644 node_modules/lodash/flip.js delete mode 100644 node_modules/lodash/floor.js delete mode 100644 node_modules/lodash/flow.js delete mode 100644 node_modules/lodash/flowRight.js delete mode 100644 node_modules/lodash/forEach.js delete mode 100644 node_modules/lodash/forEachRight.js delete mode 100644 node_modules/lodash/forIn.js delete mode 100644 node_modules/lodash/forInRight.js delete mode 100644 node_modules/lodash/forOwn.js delete mode 100644 node_modules/lodash/forOwnRight.js delete mode 100644 node_modules/lodash/fp.js delete mode 100644 node_modules/lodash/fp/F.js delete mode 100644 node_modules/lodash/fp/T.js delete mode 100644 node_modules/lodash/fp/__.js delete mode 100644 node_modules/lodash/fp/_baseConvert.js delete mode 100644 node_modules/lodash/fp/_convertBrowser.js delete mode 100644 node_modules/lodash/fp/_falseOptions.js delete mode 100644 node_modules/lodash/fp/_mapping.js delete mode 100644 node_modules/lodash/fp/_util.js delete mode 100644 node_modules/lodash/fp/add.js delete mode 100644 node_modules/lodash/fp/after.js delete mode 100644 node_modules/lodash/fp/all.js delete mode 100644 node_modules/lodash/fp/allPass.js delete mode 100644 node_modules/lodash/fp/always.js delete mode 100644 node_modules/lodash/fp/any.js delete mode 100644 node_modules/lodash/fp/anyPass.js delete mode 100644 node_modules/lodash/fp/apply.js delete mode 100644 node_modules/lodash/fp/array.js delete mode 100644 node_modules/lodash/fp/ary.js delete mode 100644 node_modules/lodash/fp/assign.js delete mode 100644 node_modules/lodash/fp/assignAll.js delete mode 100644 node_modules/lodash/fp/assignAllWith.js delete mode 100644 node_modules/lodash/fp/assignIn.js delete mode 100644 node_modules/lodash/fp/assignInAll.js delete mode 100644 node_modules/lodash/fp/assignInAllWith.js delete mode 100644 node_modules/lodash/fp/assignInWith.js delete mode 100644 node_modules/lodash/fp/assignWith.js delete mode 100644 node_modules/lodash/fp/assoc.js delete mode 100644 node_modules/lodash/fp/assocPath.js delete mode 100644 node_modules/lodash/fp/at.js delete mode 100644 node_modules/lodash/fp/attempt.js delete mode 100644 node_modules/lodash/fp/before.js delete mode 100644 node_modules/lodash/fp/bind.js delete mode 100644 node_modules/lodash/fp/bindAll.js delete mode 100644 node_modules/lodash/fp/bindKey.js delete mode 100644 node_modules/lodash/fp/camelCase.js delete mode 100644 node_modules/lodash/fp/capitalize.js delete mode 100644 node_modules/lodash/fp/castArray.js delete mode 100644 node_modules/lodash/fp/ceil.js delete mode 100644 node_modules/lodash/fp/chain.js delete mode 100644 node_modules/lodash/fp/chunk.js delete mode 100644 node_modules/lodash/fp/clamp.js delete mode 100644 node_modules/lodash/fp/clone.js delete mode 100644 node_modules/lodash/fp/cloneDeep.js delete mode 100644 node_modules/lodash/fp/cloneDeepWith.js delete mode 100644 node_modules/lodash/fp/cloneWith.js delete mode 100644 node_modules/lodash/fp/collection.js delete mode 100644 node_modules/lodash/fp/commit.js delete mode 100644 node_modules/lodash/fp/compact.js delete mode 100644 node_modules/lodash/fp/complement.js delete mode 100644 node_modules/lodash/fp/compose.js delete mode 100644 node_modules/lodash/fp/concat.js delete mode 100644 node_modules/lodash/fp/cond.js delete mode 100644 node_modules/lodash/fp/conforms.js delete mode 100644 node_modules/lodash/fp/conformsTo.js delete mode 100644 node_modules/lodash/fp/constant.js delete mode 100644 node_modules/lodash/fp/contains.js delete mode 100644 node_modules/lodash/fp/convert.js delete mode 100644 node_modules/lodash/fp/countBy.js delete mode 100644 node_modules/lodash/fp/create.js delete mode 100644 node_modules/lodash/fp/curry.js delete mode 100644 node_modules/lodash/fp/curryN.js delete mode 100644 node_modules/lodash/fp/curryRight.js delete mode 100644 node_modules/lodash/fp/curryRightN.js delete mode 100644 node_modules/lodash/fp/date.js delete mode 100644 node_modules/lodash/fp/debounce.js delete mode 100644 node_modules/lodash/fp/deburr.js delete mode 100644 node_modules/lodash/fp/defaultTo.js delete mode 100644 node_modules/lodash/fp/defaults.js delete mode 100644 node_modules/lodash/fp/defaultsAll.js delete mode 100644 node_modules/lodash/fp/defaultsDeep.js delete mode 100644 node_modules/lodash/fp/defaultsDeepAll.js delete mode 100644 node_modules/lodash/fp/defer.js delete mode 100644 node_modules/lodash/fp/delay.js delete mode 100644 node_modules/lodash/fp/difference.js delete mode 100644 node_modules/lodash/fp/differenceBy.js delete mode 100644 node_modules/lodash/fp/differenceWith.js delete mode 100644 node_modules/lodash/fp/dissoc.js delete mode 100644 node_modules/lodash/fp/dissocPath.js delete mode 100644 node_modules/lodash/fp/divide.js delete mode 100644 node_modules/lodash/fp/drop.js delete mode 100644 node_modules/lodash/fp/dropLast.js delete mode 100644 node_modules/lodash/fp/dropLastWhile.js delete mode 100644 node_modules/lodash/fp/dropRight.js delete mode 100644 node_modules/lodash/fp/dropRightWhile.js delete mode 100644 node_modules/lodash/fp/dropWhile.js delete mode 100644 node_modules/lodash/fp/each.js delete mode 100644 node_modules/lodash/fp/eachRight.js delete mode 100644 node_modules/lodash/fp/endsWith.js delete mode 100644 node_modules/lodash/fp/entries.js delete mode 100644 node_modules/lodash/fp/entriesIn.js delete mode 100644 node_modules/lodash/fp/eq.js delete mode 100644 node_modules/lodash/fp/equals.js delete mode 100644 node_modules/lodash/fp/escape.js delete mode 100644 node_modules/lodash/fp/escapeRegExp.js delete mode 100644 node_modules/lodash/fp/every.js delete mode 100644 node_modules/lodash/fp/extend.js delete mode 100644 node_modules/lodash/fp/extendAll.js delete mode 100644 node_modules/lodash/fp/extendAllWith.js delete mode 100644 node_modules/lodash/fp/extendWith.js delete mode 100644 node_modules/lodash/fp/fill.js delete mode 100644 node_modules/lodash/fp/filter.js delete mode 100644 node_modules/lodash/fp/find.js delete mode 100644 node_modules/lodash/fp/findFrom.js delete mode 100644 node_modules/lodash/fp/findIndex.js delete mode 100644 node_modules/lodash/fp/findIndexFrom.js delete mode 100644 node_modules/lodash/fp/findKey.js delete mode 100644 node_modules/lodash/fp/findLast.js delete mode 100644 node_modules/lodash/fp/findLastFrom.js delete mode 100644 node_modules/lodash/fp/findLastIndex.js delete mode 100644 node_modules/lodash/fp/findLastIndexFrom.js delete mode 100644 node_modules/lodash/fp/findLastKey.js delete mode 100644 node_modules/lodash/fp/first.js delete mode 100644 node_modules/lodash/fp/flatMap.js delete mode 100644 node_modules/lodash/fp/flatMapDeep.js delete mode 100644 node_modules/lodash/fp/flatMapDepth.js delete mode 100644 node_modules/lodash/fp/flatten.js delete mode 100644 node_modules/lodash/fp/flattenDeep.js delete mode 100644 node_modules/lodash/fp/flattenDepth.js delete mode 100644 node_modules/lodash/fp/flip.js delete mode 100644 node_modules/lodash/fp/floor.js delete mode 100644 node_modules/lodash/fp/flow.js delete mode 100644 node_modules/lodash/fp/flowRight.js delete mode 100644 node_modules/lodash/fp/forEach.js delete mode 100644 node_modules/lodash/fp/forEachRight.js delete mode 100644 node_modules/lodash/fp/forIn.js delete mode 100644 node_modules/lodash/fp/forInRight.js delete mode 100644 node_modules/lodash/fp/forOwn.js delete mode 100644 node_modules/lodash/fp/forOwnRight.js delete mode 100644 node_modules/lodash/fp/fromPairs.js delete mode 100644 node_modules/lodash/fp/function.js delete mode 100644 node_modules/lodash/fp/functions.js delete mode 100644 node_modules/lodash/fp/functionsIn.js delete mode 100644 node_modules/lodash/fp/get.js delete mode 100644 node_modules/lodash/fp/getOr.js delete mode 100644 node_modules/lodash/fp/groupBy.js delete mode 100644 node_modules/lodash/fp/gt.js delete mode 100644 node_modules/lodash/fp/gte.js delete mode 100644 node_modules/lodash/fp/has.js delete mode 100644 node_modules/lodash/fp/hasIn.js delete mode 100644 node_modules/lodash/fp/head.js delete mode 100644 node_modules/lodash/fp/identical.js delete mode 100644 node_modules/lodash/fp/identity.js delete mode 100644 node_modules/lodash/fp/inRange.js delete mode 100644 node_modules/lodash/fp/includes.js delete mode 100644 node_modules/lodash/fp/includesFrom.js delete mode 100644 node_modules/lodash/fp/indexBy.js delete mode 100644 node_modules/lodash/fp/indexOf.js delete mode 100644 node_modules/lodash/fp/indexOfFrom.js delete mode 100644 node_modules/lodash/fp/init.js delete mode 100644 node_modules/lodash/fp/initial.js delete mode 100644 node_modules/lodash/fp/intersection.js delete mode 100644 node_modules/lodash/fp/intersectionBy.js delete mode 100644 node_modules/lodash/fp/intersectionWith.js delete mode 100644 node_modules/lodash/fp/invert.js delete mode 100644 node_modules/lodash/fp/invertBy.js delete mode 100644 node_modules/lodash/fp/invertObj.js delete mode 100644 node_modules/lodash/fp/invoke.js delete mode 100644 node_modules/lodash/fp/invokeArgs.js delete mode 100644 node_modules/lodash/fp/invokeArgsMap.js delete mode 100644 node_modules/lodash/fp/invokeMap.js delete mode 100644 node_modules/lodash/fp/isArguments.js delete mode 100644 node_modules/lodash/fp/isArray.js delete mode 100644 node_modules/lodash/fp/isArrayBuffer.js delete mode 100644 node_modules/lodash/fp/isArrayLike.js delete mode 100644 node_modules/lodash/fp/isArrayLikeObject.js delete mode 100644 node_modules/lodash/fp/isBoolean.js delete mode 100644 node_modules/lodash/fp/isBuffer.js delete mode 100644 node_modules/lodash/fp/isDate.js delete mode 100644 node_modules/lodash/fp/isElement.js delete mode 100644 node_modules/lodash/fp/isEmpty.js delete mode 100644 node_modules/lodash/fp/isEqual.js delete mode 100644 node_modules/lodash/fp/isEqualWith.js delete mode 100644 node_modules/lodash/fp/isError.js delete mode 100644 node_modules/lodash/fp/isFinite.js delete mode 100644 node_modules/lodash/fp/isFunction.js delete mode 100644 node_modules/lodash/fp/isInteger.js delete mode 100644 node_modules/lodash/fp/isLength.js delete mode 100644 node_modules/lodash/fp/isMap.js delete mode 100644 node_modules/lodash/fp/isMatch.js delete mode 100644 node_modules/lodash/fp/isMatchWith.js delete mode 100644 node_modules/lodash/fp/isNaN.js delete mode 100644 node_modules/lodash/fp/isNative.js delete mode 100644 node_modules/lodash/fp/isNil.js delete mode 100644 node_modules/lodash/fp/isNull.js delete mode 100644 node_modules/lodash/fp/isNumber.js delete mode 100644 node_modules/lodash/fp/isObject.js delete mode 100644 node_modules/lodash/fp/isObjectLike.js delete mode 100644 node_modules/lodash/fp/isPlainObject.js delete mode 100644 node_modules/lodash/fp/isRegExp.js delete mode 100644 node_modules/lodash/fp/isSafeInteger.js delete mode 100644 node_modules/lodash/fp/isSet.js delete mode 100644 node_modules/lodash/fp/isString.js delete mode 100644 node_modules/lodash/fp/isSymbol.js delete mode 100644 node_modules/lodash/fp/isTypedArray.js delete mode 100644 node_modules/lodash/fp/isUndefined.js delete mode 100644 node_modules/lodash/fp/isWeakMap.js delete mode 100644 node_modules/lodash/fp/isWeakSet.js delete mode 100644 node_modules/lodash/fp/iteratee.js delete mode 100644 node_modules/lodash/fp/join.js delete mode 100644 node_modules/lodash/fp/juxt.js delete mode 100644 node_modules/lodash/fp/kebabCase.js delete mode 100644 node_modules/lodash/fp/keyBy.js delete mode 100644 node_modules/lodash/fp/keys.js delete mode 100644 node_modules/lodash/fp/keysIn.js delete mode 100644 node_modules/lodash/fp/lang.js delete mode 100644 node_modules/lodash/fp/last.js delete mode 100644 node_modules/lodash/fp/lastIndexOf.js delete mode 100644 node_modules/lodash/fp/lastIndexOfFrom.js delete mode 100644 node_modules/lodash/fp/lowerCase.js delete mode 100644 node_modules/lodash/fp/lowerFirst.js delete mode 100644 node_modules/lodash/fp/lt.js delete mode 100644 node_modules/lodash/fp/lte.js delete mode 100644 node_modules/lodash/fp/map.js delete mode 100644 node_modules/lodash/fp/mapKeys.js delete mode 100644 node_modules/lodash/fp/mapValues.js delete mode 100644 node_modules/lodash/fp/matches.js delete mode 100644 node_modules/lodash/fp/matchesProperty.js delete mode 100644 node_modules/lodash/fp/math.js delete mode 100644 node_modules/lodash/fp/max.js delete mode 100644 node_modules/lodash/fp/maxBy.js delete mode 100644 node_modules/lodash/fp/mean.js delete mode 100644 node_modules/lodash/fp/meanBy.js delete mode 100644 node_modules/lodash/fp/memoize.js delete mode 100644 node_modules/lodash/fp/merge.js delete mode 100644 node_modules/lodash/fp/mergeAll.js delete mode 100644 node_modules/lodash/fp/mergeAllWith.js delete mode 100644 node_modules/lodash/fp/mergeWith.js delete mode 100644 node_modules/lodash/fp/method.js delete mode 100644 node_modules/lodash/fp/methodOf.js delete mode 100644 node_modules/lodash/fp/min.js delete mode 100644 node_modules/lodash/fp/minBy.js delete mode 100644 node_modules/lodash/fp/mixin.js delete mode 100644 node_modules/lodash/fp/multiply.js delete mode 100644 node_modules/lodash/fp/nAry.js delete mode 100644 node_modules/lodash/fp/negate.js delete mode 100644 node_modules/lodash/fp/next.js delete mode 100644 node_modules/lodash/fp/noop.js delete mode 100644 node_modules/lodash/fp/now.js delete mode 100644 node_modules/lodash/fp/nth.js delete mode 100644 node_modules/lodash/fp/nthArg.js delete mode 100644 node_modules/lodash/fp/number.js delete mode 100644 node_modules/lodash/fp/object.js delete mode 100644 node_modules/lodash/fp/omit.js delete mode 100644 node_modules/lodash/fp/omitAll.js delete mode 100644 node_modules/lodash/fp/omitBy.js delete mode 100644 node_modules/lodash/fp/once.js delete mode 100644 node_modules/lodash/fp/orderBy.js delete mode 100644 node_modules/lodash/fp/over.js delete mode 100644 node_modules/lodash/fp/overArgs.js delete mode 100644 node_modules/lodash/fp/overEvery.js delete mode 100644 node_modules/lodash/fp/overSome.js delete mode 100644 node_modules/lodash/fp/pad.js delete mode 100644 node_modules/lodash/fp/padChars.js delete mode 100644 node_modules/lodash/fp/padCharsEnd.js delete mode 100644 node_modules/lodash/fp/padCharsStart.js delete mode 100644 node_modules/lodash/fp/padEnd.js delete mode 100644 node_modules/lodash/fp/padStart.js delete mode 100644 node_modules/lodash/fp/parseInt.js delete mode 100644 node_modules/lodash/fp/partial.js delete mode 100644 node_modules/lodash/fp/partialRight.js delete mode 100644 node_modules/lodash/fp/partition.js delete mode 100644 node_modules/lodash/fp/path.js delete mode 100644 node_modules/lodash/fp/pathEq.js delete mode 100644 node_modules/lodash/fp/pathOr.js delete mode 100644 node_modules/lodash/fp/paths.js delete mode 100644 node_modules/lodash/fp/pick.js delete mode 100644 node_modules/lodash/fp/pickAll.js delete mode 100644 node_modules/lodash/fp/pickBy.js delete mode 100644 node_modules/lodash/fp/pipe.js delete mode 100644 node_modules/lodash/fp/placeholder.js delete mode 100644 node_modules/lodash/fp/plant.js delete mode 100644 node_modules/lodash/fp/pluck.js delete mode 100644 node_modules/lodash/fp/prop.js delete mode 100644 node_modules/lodash/fp/propEq.js delete mode 100644 node_modules/lodash/fp/propOr.js delete mode 100644 node_modules/lodash/fp/property.js delete mode 100644 node_modules/lodash/fp/propertyOf.js delete mode 100644 node_modules/lodash/fp/props.js delete mode 100644 node_modules/lodash/fp/pull.js delete mode 100644 node_modules/lodash/fp/pullAll.js delete mode 100644 node_modules/lodash/fp/pullAllBy.js delete mode 100644 node_modules/lodash/fp/pullAllWith.js delete mode 100644 node_modules/lodash/fp/pullAt.js delete mode 100644 node_modules/lodash/fp/random.js delete mode 100644 node_modules/lodash/fp/range.js delete mode 100644 node_modules/lodash/fp/rangeRight.js delete mode 100644 node_modules/lodash/fp/rangeStep.js delete mode 100644 node_modules/lodash/fp/rangeStepRight.js delete mode 100644 node_modules/lodash/fp/rearg.js delete mode 100644 node_modules/lodash/fp/reduce.js delete mode 100644 node_modules/lodash/fp/reduceRight.js delete mode 100644 node_modules/lodash/fp/reject.js delete mode 100644 node_modules/lodash/fp/remove.js delete mode 100644 node_modules/lodash/fp/repeat.js delete mode 100644 node_modules/lodash/fp/replace.js delete mode 100644 node_modules/lodash/fp/rest.js delete mode 100644 node_modules/lodash/fp/restFrom.js delete mode 100644 node_modules/lodash/fp/result.js delete mode 100644 node_modules/lodash/fp/reverse.js delete mode 100644 node_modules/lodash/fp/round.js delete mode 100644 node_modules/lodash/fp/sample.js delete mode 100644 node_modules/lodash/fp/sampleSize.js delete mode 100644 node_modules/lodash/fp/seq.js delete mode 100644 node_modules/lodash/fp/set.js delete mode 100644 node_modules/lodash/fp/setWith.js delete mode 100644 node_modules/lodash/fp/shuffle.js delete mode 100644 node_modules/lodash/fp/size.js delete mode 100644 node_modules/lodash/fp/slice.js delete mode 100644 node_modules/lodash/fp/snakeCase.js delete mode 100644 node_modules/lodash/fp/some.js delete mode 100644 node_modules/lodash/fp/sortBy.js delete mode 100644 node_modules/lodash/fp/sortedIndex.js delete mode 100644 node_modules/lodash/fp/sortedIndexBy.js delete mode 100644 node_modules/lodash/fp/sortedIndexOf.js delete mode 100644 node_modules/lodash/fp/sortedLastIndex.js delete mode 100644 node_modules/lodash/fp/sortedLastIndexBy.js delete mode 100644 node_modules/lodash/fp/sortedLastIndexOf.js delete mode 100644 node_modules/lodash/fp/sortedUniq.js delete mode 100644 node_modules/lodash/fp/sortedUniqBy.js delete mode 100644 node_modules/lodash/fp/split.js delete mode 100644 node_modules/lodash/fp/spread.js delete mode 100644 node_modules/lodash/fp/spreadFrom.js delete mode 100644 node_modules/lodash/fp/startCase.js delete mode 100644 node_modules/lodash/fp/startsWith.js delete mode 100644 node_modules/lodash/fp/string.js delete mode 100644 node_modules/lodash/fp/stubArray.js delete mode 100644 node_modules/lodash/fp/stubFalse.js delete mode 100644 node_modules/lodash/fp/stubObject.js delete mode 100644 node_modules/lodash/fp/stubString.js delete mode 100644 node_modules/lodash/fp/stubTrue.js delete mode 100644 node_modules/lodash/fp/subtract.js delete mode 100644 node_modules/lodash/fp/sum.js delete mode 100644 node_modules/lodash/fp/sumBy.js delete mode 100644 node_modules/lodash/fp/symmetricDifference.js delete mode 100644 node_modules/lodash/fp/symmetricDifferenceBy.js delete mode 100644 node_modules/lodash/fp/symmetricDifferenceWith.js delete mode 100644 node_modules/lodash/fp/tail.js delete mode 100644 node_modules/lodash/fp/take.js delete mode 100644 node_modules/lodash/fp/takeLast.js delete mode 100644 node_modules/lodash/fp/takeLastWhile.js delete mode 100644 node_modules/lodash/fp/takeRight.js delete mode 100644 node_modules/lodash/fp/takeRightWhile.js delete mode 100644 node_modules/lodash/fp/takeWhile.js delete mode 100644 node_modules/lodash/fp/tap.js delete mode 100644 node_modules/lodash/fp/template.js delete mode 100644 node_modules/lodash/fp/templateSettings.js delete mode 100644 node_modules/lodash/fp/throttle.js delete mode 100644 node_modules/lodash/fp/thru.js delete mode 100644 node_modules/lodash/fp/times.js delete mode 100644 node_modules/lodash/fp/toArray.js delete mode 100644 node_modules/lodash/fp/toFinite.js delete mode 100644 node_modules/lodash/fp/toInteger.js delete mode 100644 node_modules/lodash/fp/toIterator.js delete mode 100644 node_modules/lodash/fp/toJSON.js delete mode 100644 node_modules/lodash/fp/toLength.js delete mode 100644 node_modules/lodash/fp/toLower.js delete mode 100644 node_modules/lodash/fp/toNumber.js delete mode 100644 node_modules/lodash/fp/toPairs.js delete mode 100644 node_modules/lodash/fp/toPairsIn.js delete mode 100644 node_modules/lodash/fp/toPath.js delete mode 100644 node_modules/lodash/fp/toPlainObject.js delete mode 100644 node_modules/lodash/fp/toSafeInteger.js delete mode 100644 node_modules/lodash/fp/toString.js delete mode 100644 node_modules/lodash/fp/toUpper.js delete mode 100644 node_modules/lodash/fp/transform.js delete mode 100644 node_modules/lodash/fp/trim.js delete mode 100644 node_modules/lodash/fp/trimChars.js delete mode 100644 node_modules/lodash/fp/trimCharsEnd.js delete mode 100644 node_modules/lodash/fp/trimCharsStart.js delete mode 100644 node_modules/lodash/fp/trimEnd.js delete mode 100644 node_modules/lodash/fp/trimStart.js delete mode 100644 node_modules/lodash/fp/truncate.js delete mode 100644 node_modules/lodash/fp/unapply.js delete mode 100644 node_modules/lodash/fp/unary.js delete mode 100644 node_modules/lodash/fp/unescape.js delete mode 100644 node_modules/lodash/fp/union.js delete mode 100644 node_modules/lodash/fp/unionBy.js delete mode 100644 node_modules/lodash/fp/unionWith.js delete mode 100644 node_modules/lodash/fp/uniq.js delete mode 100644 node_modules/lodash/fp/uniqBy.js delete mode 100644 node_modules/lodash/fp/uniqWith.js delete mode 100644 node_modules/lodash/fp/uniqueId.js delete mode 100644 node_modules/lodash/fp/unnest.js delete mode 100644 node_modules/lodash/fp/unset.js delete mode 100644 node_modules/lodash/fp/unzip.js delete mode 100644 node_modules/lodash/fp/unzipWith.js delete mode 100644 node_modules/lodash/fp/update.js delete mode 100644 node_modules/lodash/fp/updateWith.js delete mode 100644 node_modules/lodash/fp/upperCase.js delete mode 100644 node_modules/lodash/fp/upperFirst.js delete mode 100644 node_modules/lodash/fp/useWith.js delete mode 100644 node_modules/lodash/fp/util.js delete mode 100644 node_modules/lodash/fp/value.js delete mode 100644 node_modules/lodash/fp/valueOf.js delete mode 100644 node_modules/lodash/fp/values.js delete mode 100644 node_modules/lodash/fp/valuesIn.js delete mode 100644 node_modules/lodash/fp/where.js delete mode 100644 node_modules/lodash/fp/whereEq.js delete mode 100644 node_modules/lodash/fp/without.js delete mode 100644 node_modules/lodash/fp/words.js delete mode 100644 node_modules/lodash/fp/wrap.js delete mode 100644 node_modules/lodash/fp/wrapperAt.js delete mode 100644 node_modules/lodash/fp/wrapperChain.js delete mode 100644 node_modules/lodash/fp/wrapperLodash.js delete mode 100644 node_modules/lodash/fp/wrapperReverse.js delete mode 100644 node_modules/lodash/fp/wrapperValue.js delete mode 100644 node_modules/lodash/fp/xor.js delete mode 100644 node_modules/lodash/fp/xorBy.js delete mode 100644 node_modules/lodash/fp/xorWith.js delete mode 100644 node_modules/lodash/fp/zip.js delete mode 100644 node_modules/lodash/fp/zipAll.js delete mode 100644 node_modules/lodash/fp/zipObj.js delete mode 100644 node_modules/lodash/fp/zipObject.js delete mode 100644 node_modules/lodash/fp/zipObjectDeep.js delete mode 100644 node_modules/lodash/fp/zipWith.js delete mode 100644 node_modules/lodash/fromPairs.js delete mode 100644 node_modules/lodash/function.js delete mode 100644 node_modules/lodash/functions.js delete mode 100644 node_modules/lodash/functionsIn.js delete mode 100644 node_modules/lodash/get.js delete mode 100644 node_modules/lodash/groupBy.js delete mode 100644 node_modules/lodash/gt.js delete mode 100644 node_modules/lodash/gte.js delete mode 100644 node_modules/lodash/has.js delete mode 100644 node_modules/lodash/hasIn.js delete mode 100644 node_modules/lodash/head.js delete mode 100644 node_modules/lodash/identity.js delete mode 100644 node_modules/lodash/inRange.js delete mode 100644 node_modules/lodash/includes.js delete mode 100644 node_modules/lodash/index.js delete mode 100644 node_modules/lodash/indexOf.js delete mode 100644 node_modules/lodash/initial.js delete mode 100644 node_modules/lodash/intersection.js delete mode 100644 node_modules/lodash/intersectionBy.js delete mode 100644 node_modules/lodash/intersectionWith.js delete mode 100644 node_modules/lodash/invert.js delete mode 100644 node_modules/lodash/invertBy.js delete mode 100644 node_modules/lodash/invoke.js delete mode 100644 node_modules/lodash/invokeMap.js delete mode 100644 node_modules/lodash/isArguments.js delete mode 100644 node_modules/lodash/isArray.js delete mode 100644 node_modules/lodash/isArrayBuffer.js delete mode 100644 node_modules/lodash/isArrayLike.js delete mode 100644 node_modules/lodash/isArrayLikeObject.js delete mode 100644 node_modules/lodash/isBoolean.js delete mode 100644 node_modules/lodash/isBuffer.js delete mode 100644 node_modules/lodash/isDate.js delete mode 100644 node_modules/lodash/isElement.js delete mode 100644 node_modules/lodash/isEmpty.js delete mode 100644 node_modules/lodash/isEqual.js delete mode 100644 node_modules/lodash/isEqualWith.js delete mode 100644 node_modules/lodash/isError.js delete mode 100644 node_modules/lodash/isFinite.js delete mode 100644 node_modules/lodash/isFunction.js delete mode 100644 node_modules/lodash/isInteger.js delete mode 100644 node_modules/lodash/isLength.js delete mode 100644 node_modules/lodash/isMap.js delete mode 100644 node_modules/lodash/isMatch.js delete mode 100644 node_modules/lodash/isMatchWith.js delete mode 100644 node_modules/lodash/isNaN.js delete mode 100644 node_modules/lodash/isNative.js delete mode 100644 node_modules/lodash/isNil.js delete mode 100644 node_modules/lodash/isNull.js delete mode 100644 node_modules/lodash/isNumber.js delete mode 100644 node_modules/lodash/isObject.js delete mode 100644 node_modules/lodash/isObjectLike.js delete mode 100644 node_modules/lodash/isPlainObject.js delete mode 100644 node_modules/lodash/isRegExp.js delete mode 100644 node_modules/lodash/isSafeInteger.js delete mode 100644 node_modules/lodash/isSet.js delete mode 100644 node_modules/lodash/isString.js delete mode 100644 node_modules/lodash/isSymbol.js delete mode 100644 node_modules/lodash/isTypedArray.js delete mode 100644 node_modules/lodash/isUndefined.js delete mode 100644 node_modules/lodash/isWeakMap.js delete mode 100644 node_modules/lodash/isWeakSet.js delete mode 100644 node_modules/lodash/iteratee.js delete mode 100644 node_modules/lodash/join.js delete mode 100644 node_modules/lodash/kebabCase.js delete mode 100644 node_modules/lodash/keyBy.js delete mode 100644 node_modules/lodash/keys.js delete mode 100644 node_modules/lodash/keysIn.js delete mode 100644 node_modules/lodash/lang.js delete mode 100644 node_modules/lodash/last.js delete mode 100644 node_modules/lodash/lastIndexOf.js delete mode 100644 node_modules/lodash/lodash.js delete mode 100644 node_modules/lodash/lodash.min.js delete mode 100644 node_modules/lodash/lowerCase.js delete mode 100644 node_modules/lodash/lowerFirst.js delete mode 100644 node_modules/lodash/lt.js delete mode 100644 node_modules/lodash/lte.js delete mode 100644 node_modules/lodash/map.js delete mode 100644 node_modules/lodash/mapKeys.js delete mode 100644 node_modules/lodash/mapValues.js delete mode 100644 node_modules/lodash/matches.js delete mode 100644 node_modules/lodash/matchesProperty.js delete mode 100644 node_modules/lodash/math.js delete mode 100644 node_modules/lodash/max.js delete mode 100644 node_modules/lodash/maxBy.js delete mode 100644 node_modules/lodash/mean.js delete mode 100644 node_modules/lodash/meanBy.js delete mode 100644 node_modules/lodash/memoize.js delete mode 100644 node_modules/lodash/merge.js delete mode 100644 node_modules/lodash/mergeWith.js delete mode 100644 node_modules/lodash/method.js delete mode 100644 node_modules/lodash/methodOf.js delete mode 100644 node_modules/lodash/min.js delete mode 100644 node_modules/lodash/minBy.js delete mode 100644 node_modules/lodash/mixin.js delete mode 100644 node_modules/lodash/multiply.js delete mode 100644 node_modules/lodash/negate.js delete mode 100644 node_modules/lodash/next.js delete mode 100644 node_modules/lodash/noop.js delete mode 100644 node_modules/lodash/now.js delete mode 100644 node_modules/lodash/nth.js delete mode 100644 node_modules/lodash/nthArg.js delete mode 100644 node_modules/lodash/number.js delete mode 100644 node_modules/lodash/object.js delete mode 100644 node_modules/lodash/omit.js delete mode 100644 node_modules/lodash/omitBy.js delete mode 100644 node_modules/lodash/once.js delete mode 100644 node_modules/lodash/orderBy.js delete mode 100644 node_modules/lodash/over.js delete mode 100644 node_modules/lodash/overArgs.js delete mode 100644 node_modules/lodash/overEvery.js delete mode 100644 node_modules/lodash/overSome.js delete mode 100644 node_modules/lodash/package.json delete mode 100644 node_modules/lodash/pad.js delete mode 100644 node_modules/lodash/padEnd.js delete mode 100644 node_modules/lodash/padStart.js delete mode 100644 node_modules/lodash/parseInt.js delete mode 100644 node_modules/lodash/partial.js delete mode 100644 node_modules/lodash/partialRight.js delete mode 100644 node_modules/lodash/partition.js delete mode 100644 node_modules/lodash/pick.js delete mode 100644 node_modules/lodash/pickBy.js delete mode 100644 node_modules/lodash/plant.js delete mode 100644 node_modules/lodash/property.js delete mode 100644 node_modules/lodash/propertyOf.js delete mode 100644 node_modules/lodash/pull.js delete mode 100644 node_modules/lodash/pullAll.js delete mode 100644 node_modules/lodash/pullAllBy.js delete mode 100644 node_modules/lodash/pullAllWith.js delete mode 100644 node_modules/lodash/pullAt.js delete mode 100644 node_modules/lodash/random.js delete mode 100644 node_modules/lodash/range.js delete mode 100644 node_modules/lodash/rangeRight.js delete mode 100644 node_modules/lodash/rearg.js delete mode 100644 node_modules/lodash/reduce.js delete mode 100644 node_modules/lodash/reduceRight.js delete mode 100644 node_modules/lodash/reject.js delete mode 100644 node_modules/lodash/release.md delete mode 100644 node_modules/lodash/remove.js delete mode 100644 node_modules/lodash/repeat.js delete mode 100644 node_modules/lodash/replace.js delete mode 100644 node_modules/lodash/rest.js delete mode 100644 node_modules/lodash/result.js delete mode 100644 node_modules/lodash/reverse.js delete mode 100644 node_modules/lodash/round.js delete mode 100644 node_modules/lodash/sample.js delete mode 100644 node_modules/lodash/sampleSize.js delete mode 100644 node_modules/lodash/seq.js delete mode 100644 node_modules/lodash/set.js delete mode 100644 node_modules/lodash/setWith.js delete mode 100644 node_modules/lodash/shuffle.js delete mode 100644 node_modules/lodash/size.js delete mode 100644 node_modules/lodash/slice.js delete mode 100644 node_modules/lodash/snakeCase.js delete mode 100644 node_modules/lodash/some.js delete mode 100644 node_modules/lodash/sortBy.js delete mode 100644 node_modules/lodash/sortedIndex.js delete mode 100644 node_modules/lodash/sortedIndexBy.js delete mode 100644 node_modules/lodash/sortedIndexOf.js delete mode 100644 node_modules/lodash/sortedLastIndex.js delete mode 100644 node_modules/lodash/sortedLastIndexBy.js delete mode 100644 node_modules/lodash/sortedLastIndexOf.js delete mode 100644 node_modules/lodash/sortedUniq.js delete mode 100644 node_modules/lodash/sortedUniqBy.js delete mode 100644 node_modules/lodash/split.js delete mode 100644 node_modules/lodash/spread.js delete mode 100644 node_modules/lodash/startCase.js delete mode 100644 node_modules/lodash/startsWith.js delete mode 100644 node_modules/lodash/string.js delete mode 100644 node_modules/lodash/stubArray.js delete mode 100644 node_modules/lodash/stubFalse.js delete mode 100644 node_modules/lodash/stubObject.js delete mode 100644 node_modules/lodash/stubString.js delete mode 100644 node_modules/lodash/stubTrue.js delete mode 100644 node_modules/lodash/subtract.js delete mode 100644 node_modules/lodash/sum.js delete mode 100644 node_modules/lodash/sumBy.js delete mode 100644 node_modules/lodash/tail.js delete mode 100644 node_modules/lodash/take.js delete mode 100644 node_modules/lodash/takeRight.js delete mode 100644 node_modules/lodash/takeRightWhile.js delete mode 100644 node_modules/lodash/takeWhile.js delete mode 100644 node_modules/lodash/tap.js delete mode 100644 node_modules/lodash/template.js delete mode 100644 node_modules/lodash/templateSettings.js delete mode 100644 node_modules/lodash/throttle.js delete mode 100644 node_modules/lodash/thru.js delete mode 100644 node_modules/lodash/times.js delete mode 100644 node_modules/lodash/toArray.js delete mode 100644 node_modules/lodash/toFinite.js delete mode 100644 node_modules/lodash/toInteger.js delete mode 100644 node_modules/lodash/toIterator.js delete mode 100644 node_modules/lodash/toJSON.js delete mode 100644 node_modules/lodash/toLength.js delete mode 100644 node_modules/lodash/toLower.js delete mode 100644 node_modules/lodash/toNumber.js delete mode 100644 node_modules/lodash/toPairs.js delete mode 100644 node_modules/lodash/toPairsIn.js delete mode 100644 node_modules/lodash/toPath.js delete mode 100644 node_modules/lodash/toPlainObject.js delete mode 100644 node_modules/lodash/toSafeInteger.js delete mode 100644 node_modules/lodash/toString.js delete mode 100644 node_modules/lodash/toUpper.js delete mode 100644 node_modules/lodash/transform.js delete mode 100644 node_modules/lodash/trim.js delete mode 100644 node_modules/lodash/trimEnd.js delete mode 100644 node_modules/lodash/trimStart.js delete mode 100644 node_modules/lodash/truncate.js delete mode 100644 node_modules/lodash/unary.js delete mode 100644 node_modules/lodash/unescape.js delete mode 100644 node_modules/lodash/union.js delete mode 100644 node_modules/lodash/unionBy.js delete mode 100644 node_modules/lodash/unionWith.js delete mode 100644 node_modules/lodash/uniq.js delete mode 100644 node_modules/lodash/uniqBy.js delete mode 100644 node_modules/lodash/uniqWith.js delete mode 100644 node_modules/lodash/uniqueId.js delete mode 100644 node_modules/lodash/unset.js delete mode 100644 node_modules/lodash/unzip.js delete mode 100644 node_modules/lodash/unzipWith.js delete mode 100644 node_modules/lodash/update.js delete mode 100644 node_modules/lodash/updateWith.js delete mode 100644 node_modules/lodash/upperCase.js delete mode 100644 node_modules/lodash/upperFirst.js delete mode 100644 node_modules/lodash/util.js delete mode 100644 node_modules/lodash/value.js delete mode 100644 node_modules/lodash/valueOf.js delete mode 100644 node_modules/lodash/values.js delete mode 100644 node_modules/lodash/valuesIn.js delete mode 100644 node_modules/lodash/without.js delete mode 100644 node_modules/lodash/words.js delete mode 100644 node_modules/lodash/wrap.js delete mode 100644 node_modules/lodash/wrapperAt.js delete mode 100644 node_modules/lodash/wrapperChain.js delete mode 100644 node_modules/lodash/wrapperLodash.js delete mode 100644 node_modules/lodash/wrapperReverse.js delete mode 100644 node_modules/lodash/wrapperValue.js delete mode 100644 node_modules/lodash/xor.js delete mode 100644 node_modules/lodash/xorBy.js delete mode 100644 node_modules/lodash/xorWith.js delete mode 100644 node_modules/lodash/zip.js delete mode 100644 node_modules/lodash/zipObject.js delete mode 100644 node_modules/lodash/zipObjectDeep.js delete mode 100644 node_modules/lodash/zipWith.js delete mode 100644 node_modules/lru-cache/LICENSE delete mode 100644 node_modules/lru-cache/README.md delete mode 100644 node_modules/lru-cache/index.js delete mode 100644 node_modules/lru-cache/package.json delete mode 100644 node_modules/make-dir/index.d.ts delete mode 100644 node_modules/make-dir/index.js delete mode 100644 node_modules/make-dir/license delete mode 120000 node_modules/make-dir/node_modules/.bin/semver delete mode 100644 node_modules/make-dir/package.json delete mode 100644 node_modules/make-dir/readme.md delete mode 100644 node_modules/makeerror/.travis.yml delete mode 100644 node_modules/makeerror/lib/makeerror.js delete mode 100644 node_modules/makeerror/license delete mode 100644 node_modules/makeerror/package.json delete mode 100644 node_modules/makeerror/readme.md delete mode 100644 node_modules/merge-stream/LICENSE delete mode 100644 node_modules/merge-stream/README.md delete mode 100644 node_modules/merge-stream/index.js delete mode 100644 node_modules/merge-stream/package.json delete mode 100644 node_modules/micromatch/CHANGELOG.md delete mode 100755 node_modules/micromatch/LICENSE delete mode 100644 node_modules/micromatch/README.md delete mode 100644 node_modules/micromatch/index.js delete mode 100644 node_modules/micromatch/package.json delete mode 100644 node_modules/mime-db/HISTORY.md delete mode 100644 node_modules/mime-db/LICENSE delete mode 100644 node_modules/mime-db/README.md delete mode 100644 node_modules/mime-db/db.json delete mode 100644 node_modules/mime-db/index.js delete mode 100644 node_modules/mime-db/package.json delete mode 100644 node_modules/mime-types/HISTORY.md delete mode 100644 node_modules/mime-types/LICENSE delete mode 100644 node_modules/mime-types/README.md delete mode 100644 node_modules/mime-types/index.js delete mode 100644 node_modules/mime-types/package.json delete mode 100644 node_modules/mimic-fn/index.d.ts delete mode 100644 node_modules/mimic-fn/index.js delete mode 100644 node_modules/mimic-fn/license delete mode 100644 node_modules/mimic-fn/package.json delete mode 100644 node_modules/mimic-fn/readme.md delete mode 100644 node_modules/minimatch/LICENSE delete mode 100644 node_modules/minimatch/README.md delete mode 100644 node_modules/minimatch/minimatch.js delete mode 100644 node_modules/minimatch/package.json delete mode 100644 node_modules/minimist/.travis.yml delete mode 100644 node_modules/minimist/LICENSE delete mode 100644 node_modules/minimist/example/parse.js delete mode 100644 node_modules/minimist/index.js delete mode 100644 node_modules/minimist/package.json delete mode 100644 node_modules/minimist/readme.markdown delete mode 100644 node_modules/minimist/test/all_bool.js delete mode 100644 node_modules/minimist/test/bool.js delete mode 100644 node_modules/minimist/test/dash.js delete mode 100644 node_modules/minimist/test/default_bool.js delete mode 100644 node_modules/minimist/test/dotted.js delete mode 100644 node_modules/minimist/test/kv_short.js delete mode 100644 node_modules/minimist/test/long.js delete mode 100644 node_modules/minimist/test/num.js delete mode 100644 node_modules/minimist/test/parse.js delete mode 100644 node_modules/minimist/test/parse_modified.js delete mode 100644 node_modules/minimist/test/proto.js delete mode 100644 node_modules/minimist/test/short.js delete mode 100644 node_modules/minimist/test/stop_early.js delete mode 100644 node_modules/minimist/test/unknown.js delete mode 100644 node_modules/minimist/test/whitespace.js delete mode 100644 node_modules/ms/index.js delete mode 100644 node_modules/ms/license.md delete mode 100644 node_modules/ms/package.json delete mode 100644 node_modules/ms/readme.md delete mode 100644 node_modules/natural-compare/README.md delete mode 100644 node_modules/natural-compare/index.js delete mode 100644 node_modules/natural-compare/package.json delete mode 100644 node_modules/node-fetch/LICENSE.md delete mode 100644 node_modules/node-fetch/README.md delete mode 100644 node_modules/node-fetch/browser.js delete mode 100644 node_modules/node-fetch/lib/index.es.js delete mode 100644 node_modules/node-fetch/lib/index.js delete mode 100644 node_modules/node-fetch/lib/index.mjs delete mode 100644 node_modules/node-fetch/node_modules/tr46/.npmignore delete mode 100644 node_modules/node-fetch/node_modules/tr46/index.js delete mode 100644 node_modules/node-fetch/node_modules/tr46/lib/.gitkeep delete mode 100644 node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json delete mode 100644 node_modules/node-fetch/node_modules/tr46/package.json delete mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/LICENSE.md delete mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/README.md delete mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js delete mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/package.json delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/LICENSE.txt delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/README.md delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js delete mode 100644 node_modules/node-fetch/node_modules/whatwg-url/package.json delete mode 100644 node_modules/node-fetch/package.json delete mode 100644 node_modules/node-int64/.npmignore delete mode 100644 node_modules/node-int64/Int64.js delete mode 100644 node_modules/node-int64/LICENSE delete mode 100644 node_modules/node-int64/README.md delete mode 100644 node_modules/node-int64/package.json delete mode 100644 node_modules/node-int64/test.js delete mode 100644 node_modules/node-releases/LICENSE delete mode 100644 node_modules/node-releases/README.md delete mode 100644 node_modules/node-releases/data/processed/envs.json delete mode 100644 node_modules/node-releases/data/release-schedule/release-schedule.json delete mode 100644 node_modules/node-releases/package.json delete mode 100644 node_modules/normalize-path/LICENSE delete mode 100644 node_modules/normalize-path/README.md delete mode 100644 node_modules/normalize-path/index.js delete mode 100644 node_modules/normalize-path/package.json delete mode 100644 node_modules/npm-run-path/index.d.ts delete mode 100644 node_modules/npm-run-path/index.js delete mode 100644 node_modules/npm-run-path/license delete mode 100644 node_modules/npm-run-path/package.json delete mode 100644 node_modules/npm-run-path/readme.md delete mode 100644 node_modules/nwsapi/LICENSE delete mode 100644 node_modules/nwsapi/README.md delete mode 100644 node_modules/nwsapi/dist/lint.log delete mode 100644 node_modules/nwsapi/package.json delete mode 100644 node_modules/nwsapi/src/modules/nwsapi-jquery.js delete mode 100644 node_modules/nwsapi/src/modules/nwsapi-traversal.js delete mode 100644 node_modules/nwsapi/src/nwsapi.js delete mode 100644 node_modules/once/LICENSE delete mode 100644 node_modules/once/README.md delete mode 100644 node_modules/once/once.js delete mode 100644 node_modules/once/package.json delete mode 100644 node_modules/onetime/index.d.ts delete mode 100644 node_modules/onetime/index.js delete mode 100644 node_modules/onetime/license delete mode 100644 node_modules/onetime/package.json delete mode 100644 node_modules/onetime/readme.md delete mode 100644 node_modules/optionator/CHANGELOG.md delete mode 100644 node_modules/optionator/LICENSE delete mode 100644 node_modules/optionator/README.md delete mode 100644 node_modules/optionator/lib/help.js delete mode 100644 node_modules/optionator/lib/index.js delete mode 100644 node_modules/optionator/lib/util.js delete mode 100644 node_modules/optionator/package.json delete mode 100644 node_modules/p-limit/index.d.ts delete mode 100644 node_modules/p-limit/index.js delete mode 100644 node_modules/p-limit/license delete mode 100644 node_modules/p-limit/package.json delete mode 100644 node_modules/p-limit/readme.md delete mode 100644 node_modules/p-locate/index.d.ts delete mode 100644 node_modules/p-locate/index.js delete mode 100644 node_modules/p-locate/license delete mode 100644 node_modules/p-locate/package.json delete mode 100644 node_modules/p-locate/readme.md delete mode 100644 node_modules/p-try/index.d.ts delete mode 100644 node_modules/p-try/index.js delete mode 100644 node_modules/p-try/license delete mode 100644 node_modules/p-try/package.json delete mode 100644 node_modules/p-try/readme.md delete mode 100644 node_modules/parse-json/index.js delete mode 100644 node_modules/parse-json/license delete mode 100644 node_modules/parse-json/package.json delete mode 100644 node_modules/parse-json/readme.md delete mode 100644 node_modules/parse5/LICENSE delete mode 100644 node_modules/parse5/README.md delete mode 100644 node_modules/parse5/lib/common/doctype.js delete mode 100644 node_modules/parse5/lib/common/error-codes.js delete mode 100644 node_modules/parse5/lib/common/foreign-content.js delete mode 100644 node_modules/parse5/lib/common/html.js delete mode 100644 node_modules/parse5/lib/common/unicode.js delete mode 100644 node_modules/parse5/lib/extensions/error-reporting/mixin-base.js delete mode 100644 node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js delete mode 100644 node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js delete mode 100644 node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js delete mode 100644 node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js delete mode 100644 node_modules/parse5/lib/extensions/location-info/parser-mixin.js delete mode 100644 node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js delete mode 100644 node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js delete mode 100644 node_modules/parse5/lib/index.js delete mode 100644 node_modules/parse5/lib/parser/formatting-element-list.js delete mode 100644 node_modules/parse5/lib/parser/index.js delete mode 100644 node_modules/parse5/lib/parser/open-element-stack.js delete mode 100644 node_modules/parse5/lib/serializer/index.js delete mode 100644 node_modules/parse5/lib/tokenizer/index.js delete mode 100644 node_modules/parse5/lib/tokenizer/named-entity-data.js delete mode 100644 node_modules/parse5/lib/tokenizer/preprocessor.js delete mode 100644 node_modules/parse5/lib/tree-adapters/default.js delete mode 100644 node_modules/parse5/lib/utils/merge-options.js delete mode 100644 node_modules/parse5/lib/utils/mixin.js delete mode 100644 node_modules/parse5/package.json delete mode 100644 node_modules/path-exists/index.d.ts delete mode 100644 node_modules/path-exists/index.js delete mode 100644 node_modules/path-exists/license delete mode 100644 node_modules/path-exists/package.json delete mode 100644 node_modules/path-exists/readme.md delete mode 100644 node_modules/path-is-absolute/index.js delete mode 100644 node_modules/path-is-absolute/license delete mode 100644 node_modules/path-is-absolute/package.json delete mode 100644 node_modules/path-is-absolute/readme.md delete mode 100644 node_modules/path-key/index.d.ts delete mode 100644 node_modules/path-key/index.js delete mode 100644 node_modules/path-key/license delete mode 100644 node_modules/path-key/package.json delete mode 100644 node_modules/path-key/readme.md delete mode 100644 node_modules/path-parse/LICENSE delete mode 100644 node_modules/path-parse/README.md delete mode 100644 node_modules/path-parse/index.js delete mode 100644 node_modules/path-parse/package.json delete mode 100644 node_modules/picocolors/LICENSE delete mode 100644 node_modules/picocolors/README.md delete mode 100644 node_modules/picocolors/package.json delete mode 100644 node_modules/picocolors/picocolors.browser.js delete mode 100644 node_modules/picocolors/picocolors.d.ts delete mode 100644 node_modules/picocolors/picocolors.js delete mode 100644 node_modules/picocolors/types.ts delete mode 100644 node_modules/picomatch/CHANGELOG.md delete mode 100644 node_modules/picomatch/LICENSE delete mode 100644 node_modules/picomatch/README.md delete mode 100644 node_modules/picomatch/index.js delete mode 100644 node_modules/picomatch/lib/constants.js delete mode 100644 node_modules/picomatch/lib/parse.js delete mode 100644 node_modules/picomatch/lib/picomatch.js delete mode 100644 node_modules/picomatch/lib/scan.js delete mode 100644 node_modules/picomatch/lib/utils.js delete mode 100644 node_modules/picomatch/package.json delete mode 100644 node_modules/pirates/LICENSE delete mode 100644 node_modules/pirates/README.md delete mode 100644 node_modules/pirates/index.d.ts delete mode 100644 node_modules/pirates/lib/index.js delete mode 100644 node_modules/pirates/package.json delete mode 100644 node_modules/pkg-dir/index.d.ts delete mode 100644 node_modules/pkg-dir/index.js delete mode 100644 node_modules/pkg-dir/license delete mode 100644 node_modules/pkg-dir/package.json delete mode 100644 node_modules/pkg-dir/readme.md delete mode 100644 node_modules/prelude-ls/CHANGELOG.md delete mode 100644 node_modules/prelude-ls/LICENSE delete mode 100644 node_modules/prelude-ls/README.md delete mode 100644 node_modules/prelude-ls/lib/Func.js delete mode 100644 node_modules/prelude-ls/lib/List.js delete mode 100644 node_modules/prelude-ls/lib/Num.js delete mode 100644 node_modules/prelude-ls/lib/Obj.js delete mode 100644 node_modules/prelude-ls/lib/Str.js delete mode 100644 node_modules/prelude-ls/lib/index.js delete mode 100644 node_modules/prelude-ls/package.json delete mode 100644 node_modules/pretty-format/LICENSE delete mode 100755 node_modules/pretty-format/README.md delete mode 100644 node_modules/pretty-format/build/collections.d.ts delete mode 100644 node_modules/pretty-format/build/collections.js delete mode 100644 node_modules/pretty-format/build/index.d.ts delete mode 100644 node_modules/pretty-format/build/index.js delete mode 100644 node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/ConvertAnsi.js delete mode 100644 node_modules/pretty-format/build/plugins/DOMCollection.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 node_modules/pretty-format/build/plugins/DOMElement.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 node_modules/pretty-format/build/plugins/Immutable.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 node_modules/pretty-format/build/plugins/ReactElement.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 node_modules/pretty-format/build/plugins/lib/markup.d.ts delete mode 100644 node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 node_modules/pretty-format/build/types.d.ts delete mode 100644 node_modules/pretty-format/build/types.js delete mode 100644 node_modules/pretty-format/node_modules/ansi-styles/index.d.ts delete mode 100644 node_modules/pretty-format/node_modules/ansi-styles/index.js delete mode 100644 node_modules/pretty-format/node_modules/ansi-styles/license delete mode 100644 node_modules/pretty-format/node_modules/ansi-styles/package.json delete mode 100644 node_modules/pretty-format/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/pretty-format/package.json delete mode 100644 node_modules/prompts/dist/dateparts/datepart.js delete mode 100644 node_modules/prompts/dist/dateparts/day.js delete mode 100644 node_modules/prompts/dist/dateparts/hours.js delete mode 100644 node_modules/prompts/dist/dateparts/index.js delete mode 100644 node_modules/prompts/dist/dateparts/meridiem.js delete mode 100644 node_modules/prompts/dist/dateparts/milliseconds.js delete mode 100644 node_modules/prompts/dist/dateparts/minutes.js delete mode 100644 node_modules/prompts/dist/dateparts/month.js delete mode 100644 node_modules/prompts/dist/dateparts/seconds.js delete mode 100644 node_modules/prompts/dist/dateparts/year.js delete mode 100644 node_modules/prompts/dist/elements/autocomplete.js delete mode 100644 node_modules/prompts/dist/elements/autocompleteMultiselect.js delete mode 100644 node_modules/prompts/dist/elements/confirm.js delete mode 100644 node_modules/prompts/dist/elements/date.js delete mode 100644 node_modules/prompts/dist/elements/index.js delete mode 100644 node_modules/prompts/dist/elements/multiselect.js delete mode 100644 node_modules/prompts/dist/elements/number.js delete mode 100644 node_modules/prompts/dist/elements/prompt.js delete mode 100644 node_modules/prompts/dist/elements/select.js delete mode 100644 node_modules/prompts/dist/elements/text.js delete mode 100644 node_modules/prompts/dist/elements/toggle.js delete mode 100644 node_modules/prompts/dist/index.js delete mode 100644 node_modules/prompts/dist/prompts.js delete mode 100644 node_modules/prompts/dist/util/action.js delete mode 100644 node_modules/prompts/dist/util/clear.js delete mode 100644 node_modules/prompts/dist/util/entriesToDisplay.js delete mode 100644 node_modules/prompts/dist/util/figures.js delete mode 100644 node_modules/prompts/dist/util/index.js delete mode 100644 node_modules/prompts/dist/util/lines.js delete mode 100644 node_modules/prompts/dist/util/strip.js delete mode 100644 node_modules/prompts/dist/util/style.js delete mode 100644 node_modules/prompts/dist/util/wrap.js delete mode 100644 node_modules/prompts/index.js delete mode 100644 node_modules/prompts/lib/dateparts/datepart.js delete mode 100644 node_modules/prompts/lib/dateparts/day.js delete mode 100644 node_modules/prompts/lib/dateparts/hours.js delete mode 100644 node_modules/prompts/lib/dateparts/index.js delete mode 100644 node_modules/prompts/lib/dateparts/meridiem.js delete mode 100644 node_modules/prompts/lib/dateparts/milliseconds.js delete mode 100644 node_modules/prompts/lib/dateparts/minutes.js delete mode 100644 node_modules/prompts/lib/dateparts/month.js delete mode 100644 node_modules/prompts/lib/dateparts/seconds.js delete mode 100644 node_modules/prompts/lib/dateparts/year.js delete mode 100644 node_modules/prompts/lib/elements/autocomplete.js delete mode 100644 node_modules/prompts/lib/elements/autocompleteMultiselect.js delete mode 100644 node_modules/prompts/lib/elements/confirm.js delete mode 100644 node_modules/prompts/lib/elements/date.js delete mode 100644 node_modules/prompts/lib/elements/index.js delete mode 100644 node_modules/prompts/lib/elements/multiselect.js delete mode 100644 node_modules/prompts/lib/elements/number.js delete mode 100644 node_modules/prompts/lib/elements/prompt.js delete mode 100644 node_modules/prompts/lib/elements/select.js delete mode 100644 node_modules/prompts/lib/elements/text.js delete mode 100644 node_modules/prompts/lib/elements/toggle.js delete mode 100644 node_modules/prompts/lib/index.js delete mode 100644 node_modules/prompts/lib/prompts.js delete mode 100644 node_modules/prompts/lib/util/action.js delete mode 100644 node_modules/prompts/lib/util/clear.js delete mode 100644 node_modules/prompts/lib/util/entriesToDisplay.js delete mode 100644 node_modules/prompts/lib/util/figures.js delete mode 100644 node_modules/prompts/lib/util/index.js delete mode 100644 node_modules/prompts/lib/util/lines.js delete mode 100644 node_modules/prompts/lib/util/strip.js delete mode 100644 node_modules/prompts/lib/util/style.js delete mode 100644 node_modules/prompts/lib/util/wrap.js delete mode 100644 node_modules/prompts/license delete mode 100644 node_modules/prompts/package.json delete mode 100755 node_modules/prompts/readme.md delete mode 100644 node_modules/psl/LICENSE delete mode 100644 node_modules/psl/README.md delete mode 100644 node_modules/psl/browserstack-logo.svg delete mode 100644 node_modules/psl/data/rules.json delete mode 100644 node_modules/psl/dist/psl.js delete mode 100644 node_modules/psl/dist/psl.min.js delete mode 100644 node_modules/psl/index.js delete mode 100644 node_modules/psl/package.json delete mode 100644 node_modules/punycode/LICENSE-MIT.txt delete mode 100644 node_modules/punycode/README.md delete mode 100644 node_modules/punycode/package.json delete mode 100644 node_modules/punycode/punycode.es6.js delete mode 100644 node_modules/punycode/punycode.js delete mode 100644 node_modules/react-is/LICENSE delete mode 100644 node_modules/react-is/README.md delete mode 100644 node_modules/react-is/build-info.json delete mode 100644 node_modules/react-is/cjs/react-is.development.js delete mode 100644 node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 node_modules/react-is/index.js delete mode 100644 node_modules/react-is/package.json delete mode 100644 node_modules/react-is/umd/react-is.development.js delete mode 100644 node_modules/react-is/umd/react-is.production.min.js delete mode 100644 node_modules/require-directory/.jshintrc delete mode 100644 node_modules/require-directory/.npmignore delete mode 100644 node_modules/require-directory/.travis.yml delete mode 100644 node_modules/require-directory/LICENSE delete mode 100644 node_modules/require-directory/README.markdown delete mode 100644 node_modules/require-directory/index.js delete mode 100644 node_modules/require-directory/package.json delete mode 100644 node_modules/resolve-cwd/index.d.ts delete mode 100644 node_modules/resolve-cwd/index.js delete mode 100644 node_modules/resolve-cwd/license delete mode 100644 node_modules/resolve-cwd/package.json delete mode 100644 node_modules/resolve-cwd/readme.md delete mode 100644 node_modules/resolve-from/index.d.ts delete mode 100644 node_modules/resolve-from/index.js delete mode 100644 node_modules/resolve-from/license delete mode 100644 node_modules/resolve-from/package.json delete mode 100644 node_modules/resolve-from/readme.md delete mode 100644 node_modules/resolve.exports/dist/index.js delete mode 100644 node_modules/resolve.exports/dist/index.mjs delete mode 100644 node_modules/resolve.exports/index.d.ts delete mode 100644 node_modules/resolve.exports/license delete mode 100644 node_modules/resolve.exports/package.json delete mode 100644 node_modules/resolve.exports/readme.md delete mode 100644 node_modules/resolve/.editorconfig delete mode 100644 node_modules/resolve/.eslintrc delete mode 100644 node_modules/resolve/.github/FUNDING.yml delete mode 100644 node_modules/resolve/LICENSE delete mode 100644 node_modules/resolve/SECURITY.md delete mode 100644 node_modules/resolve/appveyor.yml delete mode 100644 node_modules/resolve/async.js delete mode 100755 node_modules/resolve/bin/resolve delete mode 100644 node_modules/resolve/example/async.js delete mode 100644 node_modules/resolve/example/sync.js delete mode 100644 node_modules/resolve/index.js delete mode 100644 node_modules/resolve/lib/async.js delete mode 100644 node_modules/resolve/lib/caller.js delete mode 100644 node_modules/resolve/lib/core.js delete mode 100644 node_modules/resolve/lib/core.json delete mode 100644 node_modules/resolve/lib/homedir.js delete mode 100644 node_modules/resolve/lib/is-core.js delete mode 100644 node_modules/resolve/lib/node-modules-paths.js delete mode 100644 node_modules/resolve/lib/normalize-options.js delete mode 100644 node_modules/resolve/lib/sync.js delete mode 100644 node_modules/resolve/package.json delete mode 100644 node_modules/resolve/readme.markdown delete mode 100644 node_modules/resolve/sync.js delete mode 100644 node_modules/resolve/test/core.js delete mode 100644 node_modules/resolve/test/dotdot.js delete mode 100644 node_modules/resolve/test/dotdot/abc/index.js delete mode 100644 node_modules/resolve/test/dotdot/index.js delete mode 100644 node_modules/resolve/test/faulty_basedir.js delete mode 100644 node_modules/resolve/test/filter.js delete mode 100644 node_modules/resolve/test/filter_sync.js delete mode 100644 node_modules/resolve/test/home_paths.js delete mode 100644 node_modules/resolve/test/home_paths_sync.js delete mode 100644 node_modules/resolve/test/mock.js delete mode 100644 node_modules/resolve/test/mock_sync.js delete mode 100644 node_modules/resolve/test/module_dir.js delete mode 100644 node_modules/resolve/test/module_dir/xmodules/aaa/index.js delete mode 100644 node_modules/resolve/test/module_dir/ymodules/aaa/index.js delete mode 100644 node_modules/resolve/test/module_dir/zmodules/bbb/main.js delete mode 100644 node_modules/resolve/test/module_dir/zmodules/bbb/package.json delete mode 100644 node_modules/resolve/test/node-modules-paths.js delete mode 100644 node_modules/resolve/test/node_path.js delete mode 100644 node_modules/resolve/test/node_path/x/aaa/index.js delete mode 100644 node_modules/resolve/test/node_path/x/ccc/index.js delete mode 100644 node_modules/resolve/test/node_path/y/bbb/index.js delete mode 100644 node_modules/resolve/test/node_path/y/ccc/index.js delete mode 100644 node_modules/resolve/test/nonstring.js delete mode 100644 node_modules/resolve/test/pathfilter.js delete mode 100644 node_modules/resolve/test/pathfilter/deep_ref/main.js delete mode 100644 node_modules/resolve/test/precedence.js delete mode 100644 node_modules/resolve/test/precedence/aaa.js delete mode 100644 node_modules/resolve/test/precedence/aaa/index.js delete mode 100644 node_modules/resolve/test/precedence/aaa/main.js delete mode 100644 node_modules/resolve/test/precedence/bbb.js delete mode 100644 node_modules/resolve/test/precedence/bbb/main.js delete mode 100644 node_modules/resolve/test/resolver.js delete mode 100644 node_modules/resolve/test/resolver/baz/doom.js delete mode 100644 node_modules/resolve/test/resolver/baz/package.json delete mode 100644 node_modules/resolve/test/resolver/baz/quux.js delete mode 100644 node_modules/resolve/test/resolver/browser_field/a.js delete mode 100644 node_modules/resolve/test/resolver/browser_field/b.js delete mode 100644 node_modules/resolve/test/resolver/browser_field/package.json delete mode 100644 node_modules/resolve/test/resolver/cup.coffee delete mode 100644 node_modules/resolve/test/resolver/dot_main/index.js delete mode 100644 node_modules/resolve/test/resolver/dot_main/package.json delete mode 100644 node_modules/resolve/test/resolver/dot_slash_main/index.js delete mode 100644 node_modules/resolve/test/resolver/dot_slash_main/package.json delete mode 100644 node_modules/resolve/test/resolver/foo.js delete mode 100644 node_modules/resolve/test/resolver/incorrect_main/index.js delete mode 100644 node_modules/resolve/test/resolver/incorrect_main/package.json delete mode 100644 node_modules/resolve/test/resolver/invalid_main/package.json delete mode 100644 node_modules/resolve/test/resolver/malformed_package_json/index.js delete mode 100644 node_modules/resolve/test/resolver/malformed_package_json/package.json delete mode 100644 node_modules/resolve/test/resolver/mug.coffee delete mode 100644 node_modules/resolve/test/resolver/mug.js delete mode 100644 node_modules/resolve/test/resolver/multirepo/lerna.json delete mode 100644 node_modules/resolve/test/resolver/multirepo/package.json delete mode 100644 node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js delete mode 100644 node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json delete mode 100644 node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js delete mode 100644 node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json delete mode 100644 node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js delete mode 100644 node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json delete mode 100644 node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js delete mode 100644 node_modules/resolve/test/resolver/other_path/lib/other-lib.js delete mode 100644 node_modules/resolve/test/resolver/other_path/root.js delete mode 100644 node_modules/resolve/test/resolver/quux/foo/index.js delete mode 100644 node_modules/resolve/test/resolver/same_names/foo.js delete mode 100644 node_modules/resolve/test/resolver/same_names/foo/index.js delete mode 100644 node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js delete mode 100644 node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep delete mode 100644 node_modules/resolve/test/resolver/symlinked/package/bar.js delete mode 100644 node_modules/resolve/test/resolver/symlinked/package/package.json delete mode 100644 node_modules/resolve/test/resolver/without_basedir/main.js delete mode 100644 node_modules/resolve/test/resolver_sync.js delete mode 100644 node_modules/resolve/test/shadowed_core.js delete mode 100644 node_modules/resolve/test/shadowed_core/node_modules/util/index.js delete mode 100644 node_modules/resolve/test/subdirs.js delete mode 100644 node_modules/resolve/test/symlinks.js delete mode 100644 node_modules/rimraf/CHANGELOG.md delete mode 100644 node_modules/rimraf/LICENSE delete mode 100644 node_modules/rimraf/README.md delete mode 100755 node_modules/rimraf/bin.js delete mode 100644 node_modules/rimraf/package.json delete mode 100644 node_modules/rimraf/rimraf.js delete mode 100644 node_modules/safe-buffer/LICENSE delete mode 100644 node_modules/safe-buffer/README.md delete mode 100644 node_modules/safe-buffer/index.d.ts delete mode 100644 node_modules/safe-buffer/index.js delete mode 100644 node_modules/safe-buffer/package.json delete mode 100644 node_modules/safer-buffer/LICENSE delete mode 100644 node_modules/safer-buffer/Porting-Buffer.md delete mode 100644 node_modules/safer-buffer/Readme.md delete mode 100644 node_modules/safer-buffer/dangerous.js delete mode 100644 node_modules/safer-buffer/package.json delete mode 100644 node_modules/safer-buffer/safer.js delete mode 100644 node_modules/safer-buffer/tests.js delete mode 100644 node_modules/saxes/README.md delete mode 100644 node_modules/saxes/package.json delete mode 100644 node_modules/saxes/saxes.d.ts delete mode 100644 node_modules/saxes/saxes.js delete mode 100644 node_modules/saxes/saxes.js.map delete mode 100644 node_modules/semver/CHANGELOG.md delete mode 100644 node_modules/semver/LICENSE delete mode 100644 node_modules/semver/README.md delete mode 100755 node_modules/semver/bin/semver.js delete mode 100644 node_modules/semver/package.json delete mode 100644 node_modules/semver/range.bnf delete mode 100644 node_modules/semver/semver.js delete mode 100644 node_modules/shebang-command/index.js delete mode 100644 node_modules/shebang-command/license delete mode 100644 node_modules/shebang-command/package.json delete mode 100644 node_modules/shebang-command/readme.md delete mode 100644 node_modules/shebang-regex/index.d.ts delete mode 100644 node_modules/shebang-regex/index.js delete mode 100644 node_modules/shebang-regex/license delete mode 100644 node_modules/shebang-regex/package.json delete mode 100644 node_modules/shebang-regex/readme.md delete mode 100644 node_modules/signal-exit/LICENSE.txt delete mode 100644 node_modules/signal-exit/README.md delete mode 100644 node_modules/signal-exit/index.js delete mode 100644 node_modules/signal-exit/package.json delete mode 100644 node_modules/signal-exit/signals.js delete mode 100644 node_modules/sisteransi/license delete mode 100755 node_modules/sisteransi/package.json delete mode 100755 node_modules/sisteransi/readme.md delete mode 100644 node_modules/sisteransi/src/index.js delete mode 100644 node_modules/sisteransi/src/sisteransi.d.ts delete mode 100644 node_modules/slash/index.d.ts delete mode 100644 node_modules/slash/index.js delete mode 100644 node_modules/slash/license delete mode 100644 node_modules/slash/package.json delete mode 100644 node_modules/slash/readme.md delete mode 100644 node_modules/source-map-support/LICENSE.md delete mode 100644 node_modules/source-map-support/README.md delete mode 100644 node_modules/source-map-support/browser-source-map-support.js delete mode 100644 node_modules/source-map-support/package.json delete mode 100644 node_modules/source-map-support/register-hook-require.js delete mode 100644 node_modules/source-map-support/register.js delete mode 100644 node_modules/source-map-support/source-map-support.js delete mode 100644 node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/source-map/LICENSE delete mode 100644 node_modules/source-map/README.md delete mode 100644 node_modules/source-map/dist/source-map.debug.js delete mode 100644 node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/source-map/dist/source-map.min.js delete mode 100644 node_modules/source-map/dist/source-map.min.js.map delete mode 100644 node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/source-map/lib/base64.js delete mode 100644 node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/source-map/lib/quick-sort.js delete mode 100644 node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/source-map/lib/util.js delete mode 100644 node_modules/source-map/package.json delete mode 100644 node_modules/source-map/source-map.d.ts delete mode 100644 node_modules/source-map/source-map.js delete mode 100644 node_modules/sprintf-js/.npmignore delete mode 100644 node_modules/sprintf-js/LICENSE delete mode 100644 node_modules/sprintf-js/README.md delete mode 100644 node_modules/sprintf-js/bower.json delete mode 100644 node_modules/sprintf-js/demo/angular.html delete mode 100644 node_modules/sprintf-js/dist/angular-sprintf.min.js delete mode 100644 node_modules/sprintf-js/dist/angular-sprintf.min.js.map delete mode 100644 node_modules/sprintf-js/dist/angular-sprintf.min.map delete mode 100644 node_modules/sprintf-js/dist/sprintf.min.js delete mode 100644 node_modules/sprintf-js/dist/sprintf.min.js.map delete mode 100644 node_modules/sprintf-js/dist/sprintf.min.map delete mode 100644 node_modules/sprintf-js/gruntfile.js delete mode 100644 node_modules/sprintf-js/package.json delete mode 100644 node_modules/sprintf-js/src/angular-sprintf.js delete mode 100644 node_modules/sprintf-js/src/sprintf.js delete mode 100644 node_modules/sprintf-js/test/test.js delete mode 100644 node_modules/stack-utils/index.js delete mode 100644 node_modules/stack-utils/license delete mode 100644 node_modules/stack-utils/package.json delete mode 100644 node_modules/stack-utils/readme.md delete mode 100644 node_modules/string-length/index.d.ts delete mode 100644 node_modules/string-length/index.js delete mode 100644 node_modules/string-length/license delete mode 100644 node_modules/string-length/package.json delete mode 100644 node_modules/string-length/readme.md delete mode 100644 node_modules/string-width/index.d.ts delete mode 100644 node_modules/string-width/index.js delete mode 100644 node_modules/string-width/license delete mode 100644 node_modules/string-width/package.json delete mode 100644 node_modules/string-width/readme.md delete mode 100644 node_modules/strip-ansi/index.d.ts delete mode 100644 node_modules/strip-ansi/index.js delete mode 100644 node_modules/strip-ansi/license delete mode 100644 node_modules/strip-ansi/package.json delete mode 100644 node_modules/strip-ansi/readme.md delete mode 100644 node_modules/strip-bom/index.d.ts delete mode 100644 node_modules/strip-bom/index.js delete mode 100644 node_modules/strip-bom/license delete mode 100644 node_modules/strip-bom/package.json delete mode 100644 node_modules/strip-bom/readme.md delete mode 100644 node_modules/strip-final-newline/index.js delete mode 100644 node_modules/strip-final-newline/license delete mode 100644 node_modules/strip-final-newline/package.json delete mode 100644 node_modules/strip-final-newline/readme.md delete mode 100644 node_modules/strip-json-comments/index.d.ts delete mode 100644 node_modules/strip-json-comments/index.js delete mode 100644 node_modules/strip-json-comments/license delete mode 100644 node_modules/strip-json-comments/package.json delete mode 100644 node_modules/strip-json-comments/readme.md delete mode 100644 node_modules/supports-color/browser.js delete mode 100644 node_modules/supports-color/index.js delete mode 100644 node_modules/supports-color/license delete mode 100644 node_modules/supports-color/package.json delete mode 100644 node_modules/supports-color/readme.md delete mode 100644 node_modules/supports-hyperlinks/browser.js delete mode 100644 node_modules/supports-hyperlinks/index.js delete mode 100644 node_modules/supports-hyperlinks/license delete mode 100644 node_modules/supports-hyperlinks/package.json delete mode 100644 node_modules/supports-hyperlinks/readme.md delete mode 100644 node_modules/supports-preserve-symlinks-flag/.eslintrc delete mode 100644 node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml delete mode 100644 node_modules/supports-preserve-symlinks-flag/.nycrc delete mode 100644 node_modules/supports-preserve-symlinks-flag/CHANGELOG.md delete mode 100644 node_modules/supports-preserve-symlinks-flag/LICENSE delete mode 100644 node_modules/supports-preserve-symlinks-flag/README.md delete mode 100644 node_modules/supports-preserve-symlinks-flag/browser.js delete mode 100644 node_modules/supports-preserve-symlinks-flag/index.js delete mode 100644 node_modules/supports-preserve-symlinks-flag/package.json delete mode 100644 node_modules/supports-preserve-symlinks-flag/test/index.js delete mode 100644 node_modules/symbol-tree/LICENSE delete mode 100644 node_modules/symbol-tree/README.md delete mode 100644 node_modules/symbol-tree/lib/SymbolTree.js delete mode 100644 node_modules/symbol-tree/lib/SymbolTreeNode.js delete mode 100644 node_modules/symbol-tree/lib/TreeIterator.js delete mode 100644 node_modules/symbol-tree/lib/TreePosition.js delete mode 100644 node_modules/symbol-tree/package.json delete mode 100644 node_modules/terminal-link/index.d.ts delete mode 100644 node_modules/terminal-link/index.js delete mode 100644 node_modules/terminal-link/license delete mode 100644 node_modules/terminal-link/package.json delete mode 100644 node_modules/terminal-link/readme.md delete mode 100644 node_modules/test-exclude/CHANGELOG.md delete mode 100644 node_modules/test-exclude/LICENSE.txt delete mode 100644 node_modules/test-exclude/README.md delete mode 100644 node_modules/test-exclude/index.js delete mode 100644 node_modules/test-exclude/is-outside-dir-posix.js delete mode 100644 node_modules/test-exclude/is-outside-dir-win32.js delete mode 100644 node_modules/test-exclude/is-outside-dir.js delete mode 100644 node_modules/test-exclude/package.json delete mode 100644 node_modules/throat/LICENSE delete mode 100644 node_modules/throat/README.md delete mode 100644 node_modules/throat/index.d.ts delete mode 100644 node_modules/throat/index.js delete mode 100644 node_modules/throat/index.js.flow delete mode 100644 node_modules/throat/package.json delete mode 100644 node_modules/tmpl/lib/tmpl.js delete mode 100644 node_modules/tmpl/license delete mode 100644 node_modules/tmpl/package.json delete mode 100644 node_modules/tmpl/readme.md delete mode 100644 node_modules/to-fast-properties/index.js delete mode 100644 node_modules/to-fast-properties/license delete mode 100644 node_modules/to-fast-properties/package.json delete mode 100644 node_modules/to-fast-properties/readme.md delete mode 100644 node_modules/to-regex-range/LICENSE delete mode 100644 node_modules/to-regex-range/README.md delete mode 100644 node_modules/to-regex-range/index.js delete mode 100644 node_modules/to-regex-range/package.json delete mode 100644 node_modules/tough-cookie/LICENSE delete mode 100644 node_modules/tough-cookie/README.md delete mode 100644 node_modules/tough-cookie/lib/cookie.js delete mode 100644 node_modules/tough-cookie/lib/memstore.js delete mode 100644 node_modules/tough-cookie/lib/pathMatch.js delete mode 100644 node_modules/tough-cookie/lib/permuteDomain.js delete mode 100644 node_modules/tough-cookie/lib/pubsuffix-psl.js delete mode 100644 node_modules/tough-cookie/lib/store.js delete mode 100644 node_modules/tough-cookie/lib/version.js delete mode 100644 node_modules/tough-cookie/package.json delete mode 100644 node_modules/tr46/LICENSE.md delete mode 100644 node_modules/tr46/README.md delete mode 100644 node_modules/tr46/index.js delete mode 100644 node_modules/tr46/lib/mappingTable.json delete mode 100644 node_modules/tr46/lib/regexes.js delete mode 100644 node_modules/tr46/lib/statusMapping.js delete mode 100644 node_modules/tr46/package.json delete mode 100644 node_modules/tunnel/.idea/encodings.xml delete mode 100644 node_modules/tunnel/.idea/modules.xml delete mode 100644 node_modules/tunnel/.idea/node-tunnel.iml delete mode 100644 node_modules/tunnel/.idea/vcs.xml delete mode 100644 node_modules/tunnel/.idea/workspace.xml delete mode 100644 node_modules/tunnel/.travis.yml delete mode 100644 node_modules/tunnel/CHANGELOG.md delete mode 100644 node_modules/tunnel/LICENSE delete mode 100644 node_modules/tunnel/README.md delete mode 100644 node_modules/tunnel/index.js delete mode 100644 node_modules/tunnel/lib/tunnel.js delete mode 100644 node_modules/tunnel/package.json delete mode 100644 node_modules/type-check/LICENSE delete mode 100644 node_modules/type-check/README.md delete mode 100644 node_modules/type-check/lib/check.js delete mode 100644 node_modules/type-check/lib/index.js delete mode 100644 node_modules/type-check/lib/parse-type.js delete mode 100644 node_modules/type-check/package.json delete mode 100644 node_modules/type-detect/LICENSE delete mode 100644 node_modules/type-detect/README.md delete mode 100644 node_modules/type-detect/index.js delete mode 100644 node_modules/type-detect/package.json delete mode 100644 node_modules/type-detect/type-detect.js delete mode 100644 node_modules/type-fest/base.d.ts delete mode 100644 node_modules/type-fest/index.d.ts delete mode 100644 node_modules/type-fest/license delete mode 100644 node_modules/type-fest/package.json delete mode 100644 node_modules/type-fest/readme.md delete mode 100644 node_modules/type-fest/source/async-return-type.d.ts delete mode 100644 node_modules/type-fest/source/asyncify.d.ts delete mode 100644 node_modules/type-fest/source/basic.d.ts delete mode 100644 node_modules/type-fest/source/conditional-except.d.ts delete mode 100644 node_modules/type-fest/source/conditional-keys.d.ts delete mode 100644 node_modules/type-fest/source/conditional-pick.d.ts delete mode 100644 node_modules/type-fest/source/entries.d.ts delete mode 100644 node_modules/type-fest/source/entry.d.ts delete mode 100644 node_modules/type-fest/source/except.d.ts delete mode 100644 node_modules/type-fest/source/fixed-length-array.d.ts delete mode 100644 node_modules/type-fest/source/iterable-element.d.ts delete mode 100644 node_modules/type-fest/source/literal-union.d.ts delete mode 100644 node_modules/type-fest/source/merge-exclusive.d.ts delete mode 100644 node_modules/type-fest/source/merge.d.ts delete mode 100644 node_modules/type-fest/source/mutable.d.ts delete mode 100644 node_modules/type-fest/source/opaque.d.ts delete mode 100644 node_modules/type-fest/source/package-json.d.ts delete mode 100644 node_modules/type-fest/source/partial-deep.d.ts delete mode 100644 node_modules/type-fest/source/promisable.d.ts delete mode 100644 node_modules/type-fest/source/promise-value.d.ts delete mode 100644 node_modules/type-fest/source/readonly-deep.d.ts delete mode 100644 node_modules/type-fest/source/require-at-least-one.d.ts delete mode 100644 node_modules/type-fest/source/require-exactly-one.d.ts delete mode 100644 node_modules/type-fest/source/set-optional.d.ts delete mode 100644 node_modules/type-fest/source/set-required.d.ts delete mode 100644 node_modules/type-fest/source/set-return-type.d.ts delete mode 100644 node_modules/type-fest/source/simplify.d.ts delete mode 100644 node_modules/type-fest/source/stringified.d.ts delete mode 100644 node_modules/type-fest/source/tsconfig-json.d.ts delete mode 100644 node_modules/type-fest/source/typed-array.d.ts delete mode 100644 node_modules/type-fest/source/union-to-intersection.d.ts delete mode 100644 node_modules/type-fest/source/utilities.d.ts delete mode 100644 node_modules/type-fest/source/value-of.d.ts delete mode 100644 node_modules/type-fest/ts41/camel-case.d.ts delete mode 100644 node_modules/type-fest/ts41/delimiter-case.d.ts delete mode 100644 node_modules/type-fest/ts41/get.d.ts delete mode 100644 node_modules/type-fest/ts41/index.d.ts delete mode 100644 node_modules/type-fest/ts41/kebab-case.d.ts delete mode 100644 node_modules/type-fest/ts41/pascal-case.d.ts delete mode 100644 node_modules/type-fest/ts41/snake-case.d.ts delete mode 100644 node_modules/type-fest/ts41/utilities.d.ts delete mode 100644 node_modules/typedarray-to-buffer/.airtap.yml delete mode 100644 node_modules/typedarray-to-buffer/.travis.yml delete mode 100644 node_modules/typedarray-to-buffer/LICENSE delete mode 100644 node_modules/typedarray-to-buffer/README.md delete mode 100644 node_modules/typedarray-to-buffer/index.js delete mode 100644 node_modules/typedarray-to-buffer/package.json delete mode 100644 node_modules/typedarray-to-buffer/test/basic.js delete mode 100644 node_modules/universal-user-agent/LICENSE.md delete mode 100644 node_modules/universal-user-agent/README.md delete mode 100644 node_modules/universal-user-agent/dist-node/index.js delete mode 100644 node_modules/universal-user-agent/dist-node/index.js.map delete mode 100644 node_modules/universal-user-agent/dist-src/index.js delete mode 100644 node_modules/universal-user-agent/dist-types/index.d.ts delete mode 100644 node_modules/universal-user-agent/dist-web/index.js delete mode 100644 node_modules/universal-user-agent/dist-web/index.js.map delete mode 100644 node_modules/universal-user-agent/package.json delete mode 100644 node_modules/universalify/LICENSE delete mode 100644 node_modules/universalify/README.md delete mode 100644 node_modules/universalify/index.js delete mode 100644 node_modules/universalify/package.json delete mode 100644 node_modules/v8-to-istanbul/CHANGELOG.md delete mode 100644 node_modules/v8-to-istanbul/LICENSE.txt delete mode 100644 node_modules/v8-to-istanbul/README.md delete mode 100644 node_modules/v8-to-istanbul/index.d.ts delete mode 100644 node_modules/v8-to-istanbul/index.js delete mode 100644 node_modules/v8-to-istanbul/lib/branch.js delete mode 100644 node_modules/v8-to-istanbul/lib/function.js delete mode 100644 node_modules/v8-to-istanbul/lib/line.js delete mode 100644 node_modules/v8-to-istanbul/lib/range.js delete mode 100644 node_modules/v8-to-istanbul/lib/source.js delete mode 100644 node_modules/v8-to-istanbul/lib/v8-to-istanbul.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/CHANGELOG.md delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/LICENSE delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/README.md delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/dist/source-map.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/array-set.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/base64-vlq.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/base64.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/binary-search.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/mapping-list.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/mappings.wasm delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/read-wasm.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-generator.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/source-node.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/util.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/lib/wasm.js delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/package.json delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/source-map.d.ts delete mode 100644 node_modules/v8-to-istanbul/node_modules/source-map/source-map.js delete mode 100644 node_modules/v8-to-istanbul/package.json delete mode 100644 node_modules/w3c-hr-time/CHANGELOG.md delete mode 100644 node_modules/w3c-hr-time/LICENSE.md delete mode 100644 node_modules/w3c-hr-time/README.md delete mode 100644 node_modules/w3c-hr-time/index.js delete mode 100644 node_modules/w3c-hr-time/lib/calculate-clock-offset.js delete mode 100644 node_modules/w3c-hr-time/lib/clock-is-accurate.js delete mode 100644 node_modules/w3c-hr-time/lib/global-monotonic-clock.js delete mode 100644 node_modules/w3c-hr-time/lib/performance.js delete mode 100644 node_modules/w3c-hr-time/lib/utils.js delete mode 100644 node_modules/w3c-hr-time/package.json delete mode 100644 node_modules/w3c-xmlserializer/LICENSE.md delete mode 100644 node_modules/w3c-xmlserializer/README.md delete mode 100644 node_modules/w3c-xmlserializer/lib/attributes.js delete mode 100644 node_modules/w3c-xmlserializer/lib/constants.js delete mode 100644 node_modules/w3c-xmlserializer/lib/serialize.js delete mode 100644 node_modules/w3c-xmlserializer/package.json delete mode 100644 node_modules/walker/.travis.yml delete mode 100644 node_modules/walker/LICENSE delete mode 100644 node_modules/walker/lib/walker.js delete mode 100644 node_modules/walker/package.json delete mode 100644 node_modules/walker/readme.md delete mode 100644 node_modules/webidl-conversions/LICENSE.md delete mode 100644 node_modules/webidl-conversions/README.md delete mode 100644 node_modules/webidl-conversions/lib/index.js delete mode 100644 node_modules/webidl-conversions/package.json delete mode 100644 node_modules/whatwg-encoding/LICENSE.txt delete mode 100644 node_modules/whatwg-encoding/README.md delete mode 100644 node_modules/whatwg-encoding/lib/labels-to-names.json delete mode 100644 node_modules/whatwg-encoding/lib/supported-names.json delete mode 100644 node_modules/whatwg-encoding/lib/whatwg-encoding.js delete mode 100644 node_modules/whatwg-encoding/package.json delete mode 100644 node_modules/whatwg-mimetype/LICENSE.txt delete mode 100644 node_modules/whatwg-mimetype/README.md delete mode 100644 node_modules/whatwg-mimetype/lib/mime-type.js delete mode 100644 node_modules/whatwg-mimetype/lib/parser.js delete mode 100644 node_modules/whatwg-mimetype/lib/serializer.js delete mode 100644 node_modules/whatwg-mimetype/lib/utils.js delete mode 100644 node_modules/whatwg-mimetype/package.json delete mode 100644 node_modules/whatwg-url/LICENSE.txt delete mode 100644 node_modules/whatwg-url/README.md delete mode 100644 node_modules/whatwg-url/dist/Function.js delete mode 100644 node_modules/whatwg-url/dist/URL-impl.js delete mode 100644 node_modules/whatwg-url/dist/URL.js delete mode 100644 node_modules/whatwg-url/dist/URLSearchParams-impl.js delete mode 100644 node_modules/whatwg-url/dist/URLSearchParams.js delete mode 100644 node_modules/whatwg-url/dist/VoidFunction.js delete mode 100644 node_modules/whatwg-url/dist/encoding.js delete mode 100644 node_modules/whatwg-url/dist/infra.js delete mode 100644 node_modules/whatwg-url/dist/percent-encoding.js delete mode 100644 node_modules/whatwg-url/dist/url-state-machine.js delete mode 100644 node_modules/whatwg-url/dist/urlencoded.js delete mode 100644 node_modules/whatwg-url/dist/utils.js delete mode 100644 node_modules/whatwg-url/index.js delete mode 100644 node_modules/whatwg-url/package.json delete mode 100644 node_modules/whatwg-url/webidl2js-wrapper.js delete mode 100644 node_modules/which/CHANGELOG.md delete mode 100644 node_modules/which/LICENSE delete mode 100644 node_modules/which/README.md delete mode 100755 node_modules/which/bin/node-which delete mode 100644 node_modules/which/package.json delete mode 100644 node_modules/which/which.js delete mode 100644 node_modules/word-wrap/LICENSE delete mode 100644 node_modules/word-wrap/README.md delete mode 100644 node_modules/word-wrap/index.d.ts delete mode 100644 node_modules/word-wrap/index.js delete mode 100644 node_modules/word-wrap/package.json delete mode 100755 node_modules/wrap-ansi/index.js delete mode 100644 node_modules/wrap-ansi/license delete mode 100644 node_modules/wrap-ansi/package.json delete mode 100644 node_modules/wrap-ansi/readme.md delete mode 100644 node_modules/wrappy/LICENSE delete mode 100644 node_modules/wrappy/README.md delete mode 100644 node_modules/wrappy/package.json delete mode 100644 node_modules/wrappy/wrappy.js delete mode 100644 node_modules/write-file-atomic/CHANGELOG.md delete mode 100644 node_modules/write-file-atomic/LICENSE delete mode 100644 node_modules/write-file-atomic/README.md delete mode 100644 node_modules/write-file-atomic/index.js delete mode 100644 node_modules/write-file-atomic/package.json delete mode 100644 node_modules/ws/LICENSE delete mode 100644 node_modules/ws/README.md delete mode 100644 node_modules/ws/browser.js delete mode 100644 node_modules/ws/index.js delete mode 100644 node_modules/ws/lib/buffer-util.js delete mode 100644 node_modules/ws/lib/constants.js delete mode 100644 node_modules/ws/lib/event-target.js delete mode 100644 node_modules/ws/lib/extension.js delete mode 100644 node_modules/ws/lib/limiter.js delete mode 100644 node_modules/ws/lib/permessage-deflate.js delete mode 100644 node_modules/ws/lib/receiver.js delete mode 100644 node_modules/ws/lib/sender.js delete mode 100644 node_modules/ws/lib/stream.js delete mode 100644 node_modules/ws/lib/validation.js delete mode 100644 node_modules/ws/lib/websocket-server.js delete mode 100644 node_modules/ws/lib/websocket.js delete mode 100644 node_modules/ws/package.json delete mode 100644 node_modules/xml-name-validator/LICENSE.txt delete mode 100644 node_modules/xml-name-validator/README.md delete mode 100644 node_modules/xml-name-validator/lib/generated-parser.js delete mode 100644 node_modules/xml-name-validator/lib/grammar.pegjs delete mode 100644 node_modules/xml-name-validator/lib/xml-name-validator.js delete mode 100644 node_modules/xml-name-validator/package.json delete mode 100644 node_modules/xmlchars/LICENSE delete mode 100644 node_modules/xmlchars/README.md delete mode 100644 node_modules/xmlchars/package.json delete mode 100644 node_modules/xmlchars/xml/1.0/ed4.d.ts delete mode 100644 node_modules/xmlchars/xml/1.0/ed4.js delete mode 100644 node_modules/xmlchars/xml/1.0/ed4.js.map delete mode 100644 node_modules/xmlchars/xml/1.0/ed5.d.ts delete mode 100644 node_modules/xmlchars/xml/1.0/ed5.js delete mode 100644 node_modules/xmlchars/xml/1.0/ed5.js.map delete mode 100644 node_modules/xmlchars/xml/1.1/ed2.d.ts delete mode 100644 node_modules/xmlchars/xml/1.1/ed2.js delete mode 100644 node_modules/xmlchars/xml/1.1/ed2.js.map delete mode 100644 node_modules/xmlchars/xmlchars.d.ts delete mode 100644 node_modules/xmlchars/xmlchars.js delete mode 100644 node_modules/xmlchars/xmlchars.js.map delete mode 100644 node_modules/xmlchars/xmlns/1.0/ed3.d.ts delete mode 100644 node_modules/xmlchars/xmlns/1.0/ed3.js delete mode 100644 node_modules/xmlchars/xmlns/1.0/ed3.js.map delete mode 100644 node_modules/y18n/CHANGELOG.md delete mode 100644 node_modules/y18n/LICENSE delete mode 100644 node_modules/y18n/README.md delete mode 100644 node_modules/y18n/build/index.cjs delete mode 100644 node_modules/y18n/build/lib/cjs.js delete mode 100644 node_modules/y18n/build/lib/index.js delete mode 100644 node_modules/y18n/build/lib/platform-shims/node.js delete mode 100644 node_modules/y18n/index.mjs delete mode 100644 node_modules/y18n/package.json delete mode 100644 node_modules/yallist/LICENSE delete mode 100644 node_modules/yallist/README.md delete mode 100644 node_modules/yallist/iterator.js delete mode 100644 node_modules/yallist/package.json delete mode 100644 node_modules/yallist/yallist.js delete mode 100644 node_modules/yargs-parser/CHANGELOG.md delete mode 100644 node_modules/yargs-parser/LICENSE.txt delete mode 100644 node_modules/yargs-parser/README.md delete mode 100644 node_modules/yargs-parser/browser.js delete mode 100644 node_modules/yargs-parser/build/index.cjs delete mode 100644 node_modules/yargs-parser/build/lib/index.js delete mode 100644 node_modules/yargs-parser/build/lib/string-utils.js delete mode 100644 node_modules/yargs-parser/build/lib/tokenize-arg-string.js delete mode 100644 node_modules/yargs-parser/build/lib/yargs-parser-types.js delete mode 100644 node_modules/yargs-parser/build/lib/yargs-parser.js delete mode 100644 node_modules/yargs-parser/package.json delete mode 100644 node_modules/yargs/CHANGELOG.md delete mode 100644 node_modules/yargs/LICENSE delete mode 100644 node_modules/yargs/README.md delete mode 100644 node_modules/yargs/browser.mjs delete mode 100644 node_modules/yargs/build/index.cjs delete mode 100644 node_modules/yargs/build/lib/argsert.js delete mode 100644 node_modules/yargs/build/lib/command.js delete mode 100644 node_modules/yargs/build/lib/completion-templates.js delete mode 100644 node_modules/yargs/build/lib/completion.js delete mode 100644 node_modules/yargs/build/lib/middleware.js delete mode 100644 node_modules/yargs/build/lib/parse-command.js delete mode 100644 node_modules/yargs/build/lib/typings/common-types.js delete mode 100644 node_modules/yargs/build/lib/typings/yargs-parser-types.js delete mode 100644 node_modules/yargs/build/lib/usage.js delete mode 100644 node_modules/yargs/build/lib/utils/apply-extends.js delete mode 100644 node_modules/yargs/build/lib/utils/is-promise.js delete mode 100644 node_modules/yargs/build/lib/utils/levenshtein.js delete mode 100644 node_modules/yargs/build/lib/utils/obj-filter.js delete mode 100644 node_modules/yargs/build/lib/utils/process-argv.js delete mode 100644 node_modules/yargs/build/lib/utils/set-blocking.js delete mode 100644 node_modules/yargs/build/lib/utils/which-module.js delete mode 100644 node_modules/yargs/build/lib/validation.js delete mode 100644 node_modules/yargs/build/lib/yargs-factory.js delete mode 100644 node_modules/yargs/build/lib/yerror.js delete mode 100644 node_modules/yargs/helpers/helpers.mjs delete mode 100644 node_modules/yargs/helpers/index.js delete mode 100644 node_modules/yargs/helpers/package.json delete mode 100644 node_modules/yargs/index.cjs delete mode 100644 node_modules/yargs/index.mjs delete mode 100644 node_modules/yargs/lib/platform-shims/browser.mjs delete mode 100644 node_modules/yargs/lib/platform-shims/esm.mjs delete mode 100644 node_modules/yargs/locales/be.json delete mode 100644 node_modules/yargs/locales/de.json delete mode 100644 node_modules/yargs/locales/en.json delete mode 100644 node_modules/yargs/locales/es.json delete mode 100644 node_modules/yargs/locales/fi.json delete mode 100644 node_modules/yargs/locales/fr.json delete mode 100644 node_modules/yargs/locales/hi.json delete mode 100644 node_modules/yargs/locales/hu.json delete mode 100644 node_modules/yargs/locales/id.json delete mode 100644 node_modules/yargs/locales/it.json delete mode 100644 node_modules/yargs/locales/ja.json delete mode 100644 node_modules/yargs/locales/ko.json delete mode 100644 node_modules/yargs/locales/nb.json delete mode 100644 node_modules/yargs/locales/nl.json delete mode 100644 node_modules/yargs/locales/nn.json delete mode 100644 node_modules/yargs/locales/pirate.json delete mode 100644 node_modules/yargs/locales/pl.json delete mode 100644 node_modules/yargs/locales/pt.json delete mode 100644 node_modules/yargs/locales/pt_BR.json delete mode 100644 node_modules/yargs/locales/ru.json delete mode 100644 node_modules/yargs/locales/th.json delete mode 100644 node_modules/yargs/locales/tr.json delete mode 100644 node_modules/yargs/locales/zh_CN.json delete mode 100644 node_modules/yargs/locales/zh_TW.json delete mode 100644 node_modules/yargs/package.json delete mode 100644 node_modules/yargs/yargs diff --git a/.gitignore b/.gitignore index e69de29..dbf0821 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/* \ No newline at end of file diff --git a/action.yml b/action.yml index 72693a9..4e62286 100644 --- a/action.yml +++ b/action.yml @@ -13,4 +13,4 @@ outputs: description: 'The time we greeted you' runs: using: 'node16' - main: 'index.js' \ No newline at end of file + main: 'dist/index.js' \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 0125b7d..7115056 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5786,17 +5786,19 @@ var __webpack_exports__ = {}; (() => { const core = __nccwpck_require__(241); const path = __nccwpck_require__(17); +const fs = __nccwpck_require__(147); const yaml = __nccwpck_require__(72); -const REPO_PATH = "/github/workspace/"; - try { const repoOwnersPath = core.getInput("owners-path"); const numberReviewers = core.getInput("n-random-reviewers"); console.log("OWNERS FILE", repoOwnersPath); - const absoluteOwensersPath = path.resolve(REPO_PATH, repoOwnersPath); + const absoluteOwensersPath = path.resolve( + process.env.GITHUB_WORKSPACE, + repoOwnersPath + ); const owners = yaml.load(fs.readFileSync(absoluteOwensersPath, "utf8")); diff --git a/node_modules/.bin/acorn b/node_modules/.bin/acorn deleted file mode 120000 index cf76760..0000000 --- a/node_modules/.bin/acorn +++ /dev/null @@ -1 +0,0 @@ -../acorn/bin/acorn \ No newline at end of file diff --git a/node_modules/.bin/browserslist b/node_modules/.bin/browserslist deleted file mode 120000 index 3cd991b..0000000 --- a/node_modules/.bin/browserslist +++ /dev/null @@ -1 +0,0 @@ -../browserslist/cli.js \ No newline at end of file diff --git a/node_modules/.bin/escodegen b/node_modules/.bin/escodegen deleted file mode 120000 index 01a7c32..0000000 --- a/node_modules/.bin/escodegen +++ /dev/null @@ -1 +0,0 @@ -../escodegen/bin/escodegen.js \ No newline at end of file diff --git a/node_modules/.bin/esgenerate b/node_modules/.bin/esgenerate deleted file mode 120000 index 7d0293e..0000000 --- a/node_modules/.bin/esgenerate +++ /dev/null @@ -1 +0,0 @@ -../escodegen/bin/esgenerate.js \ No newline at end of file diff --git a/node_modules/.bin/esparse b/node_modules/.bin/esparse deleted file mode 120000 index 7423b18..0000000 --- a/node_modules/.bin/esparse +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esparse.js \ No newline at end of file diff --git a/node_modules/.bin/esvalidate b/node_modules/.bin/esvalidate deleted file mode 120000 index 16069ef..0000000 --- a/node_modules/.bin/esvalidate +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esvalidate.js \ No newline at end of file diff --git a/node_modules/.bin/import-local-fixture b/node_modules/.bin/import-local-fixture deleted file mode 120000 index ff4b104..0000000 --- a/node_modules/.bin/import-local-fixture +++ /dev/null @@ -1 +0,0 @@ -../import-local/fixtures/cli.js \ No newline at end of file diff --git a/node_modules/.bin/jest b/node_modules/.bin/jest deleted file mode 120000 index 61c1861..0000000 --- a/node_modules/.bin/jest +++ /dev/null @@ -1 +0,0 @@ -../jest/bin/jest.js \ No newline at end of file diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml deleted file mode 120000 index 9dbd010..0000000 --- a/node_modules/.bin/js-yaml +++ /dev/null @@ -1 +0,0 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file diff --git a/node_modules/.bin/jsesc b/node_modules/.bin/jsesc deleted file mode 120000 index 7237604..0000000 --- a/node_modules/.bin/jsesc +++ /dev/null @@ -1 +0,0 @@ -../jsesc/bin/jsesc \ No newline at end of file diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 deleted file mode 120000 index 217f379..0000000 --- a/node_modules/.bin/json5 +++ /dev/null @@ -1 +0,0 @@ -../json5/lib/cli.js \ No newline at end of file diff --git a/node_modules/.bin/node-which b/node_modules/.bin/node-which deleted file mode 120000 index 6f8415e..0000000 --- a/node_modules/.bin/node-which +++ /dev/null @@ -1 +0,0 @@ -../which/bin/node-which \ No newline at end of file diff --git a/node_modules/.bin/parser b/node_modules/.bin/parser deleted file mode 120000 index ce7bf97..0000000 --- a/node_modules/.bin/parser +++ /dev/null @@ -1 +0,0 @@ -../@babel/parser/bin/babel-parser.js \ No newline at end of file diff --git a/node_modules/.bin/resolve b/node_modules/.bin/resolve deleted file mode 120000 index b6afda6..0000000 --- a/node_modules/.bin/resolve +++ /dev/null @@ -1 +0,0 @@ -../resolve/bin/resolve \ No newline at end of file diff --git a/node_modules/.bin/rimraf b/node_modules/.bin/rimraf deleted file mode 120000 index 4cd49a4..0000000 --- a/node_modules/.bin/rimraf +++ /dev/null @@ -1 +0,0 @@ -../rimraf/bin.js \ No newline at end of file diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver deleted file mode 120000 index f65f33d..0000000 --- a/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../jest-snapshot/node_modules/semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity deleted file mode 100644 index 47dfc39..0000000 --- a/node_modules/.yarn-integrity +++ /dev/null @@ -1,429 +0,0 @@ -{ - "systemParams": "linux-x64-93", - "modulesFolders": [ - "node_modules" - ], - "flags": [], - "linkedModules": [], - "topLevelPatterns": [ - "@actions/core@^1.6.0", - "@actions/github@^5.0.0", - "jest@^27.5.1", - "js-yaml@^4.1.0" - ], - "lockfileEntries": { - "@actions/core@^1.6.0": "https://registry.yarnpkg.com/@actions/core/-/core-1.6.0.tgz#0568e47039bfb6a9170393a73f3b7eb3b22462cb", - "@actions/github@^5.0.0": "https://registry.yarnpkg.com/@actions/github/-/github-5.0.0.tgz#1754127976c50bd88b2e905f10d204d76d1472f8", - "@actions/http-client@^1.0.11": "https://registry.yarnpkg.com/@actions/http-client/-/http-client-1.0.11.tgz#c58b12e9aa8b159ee39e7dd6cbd0e91d905633c0", - "@ampproject/remapping@^2.0.0": "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.0.tgz#72becdf17ee44b2d1ac5651fb12f1952c336fe23", - "@babel/code-frame@^7.0.0": "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789", - "@babel/code-frame@^7.12.13": "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789", - "@babel/code-frame@^7.16.7": "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789", - "@babel/compat-data@^7.16.4": "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.0.tgz#86850b8597ea6962089770952075dcaabb8dba34", - "@babel/core@^7.1.0": "https://registry.yarnpkg.com/@babel/core/-/core-7.17.2.tgz#2c77fc430e95139d816d39b113b31bf40fb22337", - "@babel/core@^7.12.3": "https://registry.yarnpkg.com/@babel/core/-/core-7.17.2.tgz#2c77fc430e95139d816d39b113b31bf40fb22337", - "@babel/core@^7.7.2": "https://registry.yarnpkg.com/@babel/core/-/core-7.17.2.tgz#2c77fc430e95139d816d39b113b31bf40fb22337", - "@babel/core@^7.8.0": "https://registry.yarnpkg.com/@babel/core/-/core-7.17.2.tgz#2c77fc430e95139d816d39b113b31bf40fb22337", - "@babel/generator@^7.17.0": "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.0.tgz#7bd890ba706cd86d3e2f727322346ffdbf98f65e", - "@babel/generator@^7.7.2": "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.0.tgz#7bd890ba706cd86d3e2f727322346ffdbf98f65e", - "@babel/helper-compilation-targets@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz#06e66c5f299601e6c7da350049315e83209d551b", - "@babel/helper-environment-visitor@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7", - "@babel/helper-function-name@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz#f1ec51551fb1c8956bc8dd95f38523b6cf375f8f", - "@babel/helper-get-function-arity@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz#ea08ac753117a669f1508ba06ebcc49156387419", - "@babel/helper-hoist-variables@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz#86bcb19a77a509c7b77d0e22323ef588fa58c246", - "@babel/helper-module-imports@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz#25612a8091a999704461c8a222d0efec5d091437", - "@babel/helper-module-transforms@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz#7665faeb721a01ca5327ddc6bba15a5cb34b6a41", - "@babel/helper-plugin-utils@^7.0.0": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5", - "@babel/helper-plugin-utils@^7.10.4": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5", - "@babel/helper-plugin-utils@^7.12.13": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5", - "@babel/helper-plugin-utils@^7.14.5": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5", - "@babel/helper-plugin-utils@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5", - "@babel/helper-plugin-utils@^7.8.0": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5", - "@babel/helper-simple-access@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz#d656654b9ea08dbb9659b69d61063ccd343ff0f7", - "@babel/helper-split-export-declaration@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b", - "@babel/helper-validator-identifier@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad", - "@babel/helper-validator-option@^7.16.7": "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23", - "@babel/helpers@^7.17.2": "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.2.tgz#23f0a0746c8e287773ccd27c14be428891f63417", - "@babel/highlight@^7.16.7": "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88", - "@babel/parser@^7.1.0": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.0.tgz#f0ac33eddbe214e4105363bb17c3341c5ffcc43c", - "@babel/parser@^7.14.7": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.0.tgz#f0ac33eddbe214e4105363bb17c3341c5ffcc43c", - "@babel/parser@^7.16.7": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.0.tgz#f0ac33eddbe214e4105363bb17c3341c5ffcc43c", - "@babel/parser@^7.17.0": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.0.tgz#f0ac33eddbe214e4105363bb17c3341c5ffcc43c", - "@babel/plugin-syntax-async-generators@^7.8.4": "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d", - "@babel/plugin-syntax-bigint@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea", - "@babel/plugin-syntax-class-properties@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10", - "@babel/plugin-syntax-import-meta@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51", - "@babel/plugin-syntax-json-strings@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a", - "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699", - "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9", - "@babel/plugin-syntax-numeric-separator@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97", - "@babel/plugin-syntax-object-rest-spread@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871", - "@babel/plugin-syntax-optional-catch-binding@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1", - "@babel/plugin-syntax-optional-chaining@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a", - "@babel/plugin-syntax-top-level-await@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c", - "@babel/plugin-syntax-typescript@^7.7.2": "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.16.7.tgz#39c9b55ee153151990fb038651d58d3fd03f98f8", - "@babel/template@^7.16.7": "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155", - "@babel/template@^7.3.3": "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155", - "@babel/traverse@^7.16.7": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.0.tgz#3143e5066796408ccc880a33ecd3184f3e75cd30", - "@babel/traverse@^7.17.0": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.0.tgz#3143e5066796408ccc880a33ecd3184f3e75cd30", - "@babel/traverse@^7.7.2": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.0.tgz#3143e5066796408ccc880a33ecd3184f3e75cd30", - "@babel/types@^7.0.0": "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b", - "@babel/types@^7.16.7": "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b", - "@babel/types@^7.17.0": "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b", - "@babel/types@^7.3.0": "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b", - "@babel/types@^7.3.3": "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b", - "@bcoe/v8-coverage@^0.2.3": "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39", - "@istanbuljs/load-nyc-config@^1.0.0": "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced", - "@istanbuljs/schema@^0.1.2": "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98", - "@jest/console@^27.5.1": "https://registry.yarnpkg.com/@jest/console/-/console-27.5.1.tgz#260fe7239602fe5130a94f1aa386eff54b014bba", - "@jest/core@^27.5.1": "https://registry.yarnpkg.com/@jest/core/-/core-27.5.1.tgz#267ac5f704e09dc52de2922cbf3af9edcd64b626", - "@jest/environment@^27.5.1": "https://registry.yarnpkg.com/@jest/environment/-/environment-27.5.1.tgz#d7425820511fe7158abbecc010140c3fd3be9c74", - "@jest/fake-timers@^27.5.1": "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.5.1.tgz#76979745ce0579c8a94a4678af7a748eda8ada74", - "@jest/globals@^27.5.1": "https://registry.yarnpkg.com/@jest/globals/-/globals-27.5.1.tgz#7ac06ce57ab966566c7963431cef458434601b2b", - "@jest/reporters@^27.5.1": "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.5.1.tgz#ceda7be96170b03c923c37987b64015812ffec04", - "@jest/source-map@^27.5.1": "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.5.1.tgz#6608391e465add4205eae073b55e7f279e04e8cf", - "@jest/test-result@^27.5.1": "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.5.1.tgz#56a6585fa80f7cdab72b8c5fc2e871d03832f5bb", - "@jest/test-sequencer@^27.5.1": "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz#4057e0e9cea4439e544c6353c6affe58d095745b", - "@jest/transform@^27.5.1": "https://registry.yarnpkg.com/@jest/transform/-/transform-27.5.1.tgz#6c3501dcc00c4c08915f292a600ece5ecfe1f409", - "@jest/types@^27.5.1": "https://registry.yarnpkg.com/@jest/types/-/types-27.5.1.tgz#3c79ec4a8ba61c170bf937bcf9e98a9df175ec80", - "@jridgewell/resolve-uri@^3.0.3": "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.4.tgz#b876e3feefb9c8d3aa84014da28b5e52a0640d72", - "@jridgewell/sourcemap-codec@^1.4.10": "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.10.tgz#baf57b4e2a690d4f38560171f91783656b7f8186", - "@jridgewell/trace-mapping@^0.3.0": "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz#f6a0832dffd5b8a6aaa633b7d9f8e8e94c83a0c3", - "@octokit/auth-token@^2.4.4": "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36", - "@octokit/core@^3.4.0": "https://registry.yarnpkg.com/@octokit/core/-/core-3.5.1.tgz#8601ceeb1ec0e1b1b8217b960a413ed8e947809b", - "@octokit/endpoint@^6.0.1": "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658", - "@octokit/graphql@^4.5.8": "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.8.0.tgz#664d9b11c0e12112cbf78e10f49a05959aa22cc3", - "@octokit/openapi-types@^11.2.0": "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-11.2.0.tgz#b38d7fc3736d52a1e96b230c1ccd4a58a2f400a6", - "@octokit/plugin-paginate-rest@^2.13.3": "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.17.0.tgz#32e9c7cab2a374421d3d0de239102287d791bce7", - "@octokit/plugin-rest-endpoint-methods@^5.1.1": "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.13.0.tgz#8c46109021a3412233f6f50d28786f8e552427ba", - "@octokit/request-error@^2.0.5": "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677", - "@octokit/request-error@^2.1.0": "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677", - "@octokit/request@^5.6.0": "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0", - "@octokit/types@^6.0.3": "https://registry.yarnpkg.com/@octokit/types/-/types-6.34.0.tgz#c6021333334d1ecfb5d370a8798162ddf1ae8218", - "@octokit/types@^6.16.1": "https://registry.yarnpkg.com/@octokit/types/-/types-6.34.0.tgz#c6021333334d1ecfb5d370a8798162ddf1ae8218", - "@octokit/types@^6.34.0": "https://registry.yarnpkg.com/@octokit/types/-/types-6.34.0.tgz#c6021333334d1ecfb5d370a8798162ddf1ae8218", - "@sinonjs/commons@^1.7.0": "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d", - "@sinonjs/fake-timers@^8.0.1": "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz#3fdc2b6cb58935b21bfb8d1625eb1300484316e7", - "@tootallnate/once@1": "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82", - "@types/babel__core@^7.0.0": "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.18.tgz#1a29abcc411a9c05e2094c98f9a1b7da6cdf49f8", - "@types/babel__core@^7.1.14": "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.18.tgz#1a29abcc411a9c05e2094c98f9a1b7da6cdf49f8", - "@types/babel__generator@*": "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7", - "@types/babel__template@*": "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969", - "@types/babel__traverse@*": "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.14.2.tgz#ffcd470bbb3f8bf30481678fb5502278ca833a43", - "@types/babel__traverse@^7.0.4": "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.14.2.tgz#ffcd470bbb3f8bf30481678fb5502278ca833a43", - "@types/babel__traverse@^7.0.6": "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.14.2.tgz#ffcd470bbb3f8bf30481678fb5502278ca833a43", - "@types/graceful-fs@^4.1.2": "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15", - "@types/istanbul-lib-coverage@*": "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44", - "@types/istanbul-lib-coverage@^2.0.0": "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44", - "@types/istanbul-lib-coverage@^2.0.1": "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44", - "@types/istanbul-lib-report@*": "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686", - "@types/istanbul-reports@^3.0.0": "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff", - "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-17.0.17.tgz#a8ddf6e0c2341718d74ee3dc413a13a042c45a0c", - "@types/prettier@^2.1.5": "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.4.4.tgz#5d9b63132df54d8909fce1c3f8ca260fdd693e17", - "@types/stack-utils@^2.0.0": "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c", - "@types/yargs-parser@*": "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-20.2.1.tgz#3b9ce2489919d9e4fea439b76916abc34b2df129", - "@types/yargs@^16.0.0": "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.4.tgz#26aad98dd2c2a38e421086ea9ad42b9e51642977", - "abab@^2.0.3": "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a", - "abab@^2.0.5": "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a", - "acorn-globals@^6.0.0": "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45", - "acorn-walk@^7.1.1": "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc", - "acorn@^7.1.1": "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa", - "acorn@^8.2.4": "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf", - "agent-base@6": "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77", - "ansi-escapes@^4.2.1": "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e", - "ansi-regex@^5.0.1": "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304", - "ansi-styles@^3.2.1": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d", - "ansi-styles@^4.0.0": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937", - "ansi-styles@^4.1.0": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937", - "ansi-styles@^5.0.0": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b", - "anymatch@^3.0.3": "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716", - "argparse@^1.0.7": "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911", - "argparse@^2.0.1": "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38", - "asynckit@^0.4.0": "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79", - "babel-jest@^27.5.1": "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.5.1.tgz#a1bf8d61928edfefd21da27eb86a695bfd691444", - "babel-plugin-istanbul@^6.1.1": "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73", - "babel-plugin-jest-hoist@^27.5.1": "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.5.1.tgz#9be98ecf28c331eb9f5df9c72d6f89deb8181c2e", - "babel-preset-current-node-syntax@^1.0.0": "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b", - "babel-preset-jest@^27.5.1": "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz#91f10f58034cb7989cb4f962b69fa6eef6a6bc81", - "balanced-match@^1.0.0": "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee", - "before-after-hook@^2.2.0": "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e", - "brace-expansion@^1.1.7": "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd", - "braces@^3.0.1": "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107", - "browser-process-hrtime@^1.0.0": "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626", - "browserslist@^4.17.5": "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.1.tgz#4ac0435b35ab655896c31d53018b6dd5e9e4c9a3", - "bser@2.1.1": "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05", - "buffer-from@^1.0.0": "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5", - "callsites@^3.0.0": "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73", - "camelcase@^5.3.1": "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320", - "camelcase@^6.2.0": "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a", - "caniuse-lite@^1.0.30001286": "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001311.tgz#682ef3f4e617f1a177ad943de59775ed3032e511", - "chalk@^2.0.0": "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424", - "chalk@^4.0.0": "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01", - "char-regex@^1.0.2": "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf", - "ci-info@^3.2.0": "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2", - "cjs-module-lexer@^1.0.0": "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40", - "cliui@^7.0.2": "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f", - "co@^4.6.0": "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184", - "collect-v8-coverage@^1.0.0": "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59", - "color-convert@^1.9.0": "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8", - "color-convert@^2.0.1": "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3", - "color-name@1.1.3": "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25", - "color-name@~1.1.4": "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2", - "combined-stream@^1.0.8": "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f", - "concat-map@0.0.1": "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b", - "convert-source-map@^1.4.0": "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369", - "convert-source-map@^1.6.0": "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369", - "convert-source-map@^1.7.0": "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369", - "cross-spawn@^7.0.3": "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6", - "cssom@^0.4.4": "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10", - "cssom@~0.3.6": "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a", - "cssstyle@^2.3.0": "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852", - "data-urls@^2.0.0": "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b", - "debug@4": "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664", - "debug@^4.1.0": "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664", - "debug@^4.1.1": "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664", - "decimal.js@^10.2.1": "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.3.1.tgz#d8c3a444a9c6774ba60ca6ad7261c3a94fd5e783", - "dedent@^0.7.0": "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c", - "deep-is@~0.1.3": "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831", - "deepmerge@^4.2.2": "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955", - "delayed-stream@~1.0.0": "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619", - "deprecation@^2.0.0": "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919", - "deprecation@^2.3.1": "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919", - "detect-newline@^3.0.0": "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651", - "diff-sequences@^27.5.1": "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327", - "domexception@^2.0.1": "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304", - "electron-to-chromium@^1.4.17": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.68.tgz#d79447b6bd1bec9183f166bb33d4bef0d5e4e568", - "emittery@^0.8.1": "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860", - "emoji-regex@^8.0.0": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37", - "error-ex@^1.3.1": "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf", - "escalade@^3.1.1": "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40", - "escape-string-regexp@^1.0.5": "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4", - "escape-string-regexp@^2.0.0": "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344", - "escodegen@^2.0.0": "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd", - "esprima@^4.0.0": "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71", - "esprima@^4.0.1": "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71", - "estraverse@^5.2.0": "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123", - "esutils@^2.0.2": "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64", - "execa@^5.0.0": "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd", - "exit@^0.1.2": "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c", - "expect@^27.5.1": "https://registry.yarnpkg.com/expect/-/expect-27.5.1.tgz#83ce59f1e5bdf5f9d2b94b61d2050db48f3fef74", - "fast-json-stable-stringify@^2.0.0": "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633", - "fast-levenshtein@~2.0.6": "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917", - "fb-watchman@^2.0.0": "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85", - "fill-range@^7.0.1": "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40", - "find-up@^4.0.0": "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19", - "find-up@^4.1.0": "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19", - "form-data@^3.0.0": "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f", - "fs.realpath@^1.0.0": "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f", - "fsevents@^2.3.2": "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a", - "function-bind@^1.1.1": "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d", - "gensync@^1.0.0-beta.2": "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0", - "get-caller-file@^2.0.5": "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e", - "get-package-type@^0.1.0": "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a", - "get-stream@^6.0.0": "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7", - "glob@^7.1.1": "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023", - "glob@^7.1.2": "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023", - "glob@^7.1.3": "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023", - "glob@^7.1.4": "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023", - "globals@^11.1.0": "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e", - "graceful-fs@^4.2.9": "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96", - "has-flag@^3.0.0": "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd", - "has-flag@^4.0.0": "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b", - "has@^1.0.3": "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796", - "html-encoding-sniffer@^2.0.1": "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3", - "html-escaper@^2.0.0": "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453", - "http-proxy-agent@^4.0.1": "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a", - "https-proxy-agent@^5.0.0": "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2", - "human-signals@^2.1.0": "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0", - "iconv-lite@0.4.24": "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b", - "import-local@^3.0.2": "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4", - "imurmurhash@^0.1.4": "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea", - "inflight@^1.0.4": "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9", - "inherits@2": "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c", - "is-arrayish@^0.2.1": "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d", - "is-core-module@^2.8.1": "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211", - "is-fullwidth-code-point@^3.0.0": "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d", - "is-generator-fn@^2.0.0": "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118", - "is-number@^7.0.0": "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b", - "is-plain-object@^5.0.0": "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344", - "is-potential-custom-element-name@^1.0.1": "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5", - "is-stream@^2.0.0": "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077", - "is-typedarray@^1.0.0": "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a", - "isexe@^2.0.0": "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10", - "istanbul-lib-coverage@^3.0.0": "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3", - "istanbul-lib-coverage@^3.2.0": "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3", - "istanbul-lib-instrument@^5.0.4": "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz#7b49198b657b27a730b8e9cb601f1e1bff24c59a", - "istanbul-lib-instrument@^5.1.0": "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz#7b49198b657b27a730b8e9cb601f1e1bff24c59a", - "istanbul-lib-report@^3.0.0": "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6", - "istanbul-lib-source-maps@^4.0.0": "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551", - "istanbul-reports@^3.1.3": "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.4.tgz#1b6f068ecbc6c331040aab5741991273e609e40c", - "jest-changed-files@^27.5.1": "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.5.1.tgz#a348aed00ec9bf671cc58a66fcbe7c3dfd6a68f5", - "jest-circus@^27.5.1": "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.5.1.tgz#37a5a4459b7bf4406e53d637b49d22c65d125ecc", - "jest-cli@^27.5.1": "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.5.1.tgz#278794a6e6458ea8029547e6c6cbf673bd30b145", - "jest-config@^27.5.1": "https://registry.yarnpkg.com/jest-config/-/jest-config-27.5.1.tgz#5c387de33dca3f99ad6357ddeccd91bf3a0e4a41", - "jest-diff@^27.5.1": "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def", - "jest-docblock@^27.5.1": "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.5.1.tgz#14092f364a42c6108d42c33c8cf30e058e25f6c0", - "jest-each@^27.5.1": "https://registry.yarnpkg.com/jest-each/-/jest-each-27.5.1.tgz#5bc87016f45ed9507fed6e4702a5b468a5b2c44e", - "jest-environment-jsdom@^27.5.1": "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz#ea9ccd1fc610209655a77898f86b2b559516a546", - "jest-environment-node@^27.5.1": "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.5.1.tgz#dedc2cfe52fab6b8f5714b4808aefa85357a365e", - "jest-get-type@^27.5.1": "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1", - "jest-haste-map@^27.5.1": "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.5.1.tgz#9fd8bd7e7b4fa502d9c6164c5640512b4e811e7f", - "jest-jasmine2@^27.5.1": "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz#a037b0034ef49a9f3d71c4375a796f3b230d1ac4", - "jest-leak-detector@^27.5.1": "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz#6ec9d54c3579dd6e3e66d70e3498adf80fde3fb8", - "jest-matcher-utils@^27.5.1": "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab", - "jest-message-util@^27.5.1": "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.5.1.tgz#bdda72806da10d9ed6425e12afff38cd1458b6cf", - "jest-mock@^27.5.1": "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.5.1.tgz#19948336d49ef4d9c52021d34ac7b5f36ff967d6", - "jest-pnp-resolver@^1.2.2": "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c", - "jest-regex-util@^27.5.1": "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.5.1.tgz#4da143f7e9fd1e542d4aa69617b38e4a78365b95", - "jest-resolve-dependencies@^27.5.1": "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz#d811ecc8305e731cc86dd79741ee98fed06f1da8", - "jest-resolve@^27.5.1": "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.5.1.tgz#a2f1c5a0796ec18fe9eb1536ac3814c23617b384", - "jest-runner@^27.5.1": "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.5.1.tgz#071b27c1fa30d90540805c5645a0ec167c7b62e5", - "jest-runtime@^27.5.1": "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.5.1.tgz#4896003d7a334f7e8e4a53ba93fb9bcd3db0a1af", - "jest-serializer@^27.5.1": "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.5.1.tgz#81438410a30ea66fd57ff730835123dea1fb1f64", - "jest-snapshot@^27.5.1": "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.5.1.tgz#b668d50d23d38054a51b42c4039cab59ae6eb6a1", - "jest-util@^27.5.1": "https://registry.yarnpkg.com/jest-util/-/jest-util-27.5.1.tgz#3ba9771e8e31a0b85da48fe0b0891fb86c01c2f9", - "jest-validate@^27.5.1": "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.5.1.tgz#9197d54dc0bdb52260b8db40b46ae668e04df067", - "jest-watcher@^27.5.1": "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.5.1.tgz#71bd85fb9bde3a2c2ec4dc353437971c43c642a2", - "jest-worker@^27.5.1": "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0", - "jest@^27.5.1": "https://registry.yarnpkg.com/jest/-/jest-27.5.1.tgz#dadf33ba70a779be7a6fc33015843b51494f63fc", - "js-tokens@^4.0.0": "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499", - "js-yaml@^3.13.1": "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537", - "js-yaml@^4.1.0": "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602", - "jsdom@^16.6.0": "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710", - "jsesc@^2.5.1": "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4", - "json-parse-even-better-errors@^2.3.0": "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d", - "json5@^2.1.2": "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3", - "kleur@^3.0.3": "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e", - "leven@^3.1.0": "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2", - "levn@~0.3.0": "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee", - "lines-and-columns@^1.1.6": "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632", - "locate-path@^5.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0", - "lodash@^4.7.0": "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c", - "lru-cache@^6.0.0": "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94", - "make-dir@^3.0.0": "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f", - "makeerror@1.0.12": "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a", - "merge-stream@^2.0.0": "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60", - "micromatch@^4.0.4": "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9", - "mime-db@1.51.0": "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c", - "mime-types@^2.1.12": "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24", - "mimic-fn@^2.1.0": "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b", - "minimatch@^3.0.4": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3", - "minimist@^1.2.5": "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602", - "ms@2.1.2": "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009", - "natural-compare@^1.4.0": "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7", - "node-fetch@^2.6.7": "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad", - "node-int64@^0.4.0": "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b", - "node-releases@^2.0.1": "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01", - "normalize-path@^3.0.0": "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65", - "npm-run-path@^4.0.1": "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea", - "nwsapi@^2.2.0": "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7", - "once@^1.3.0": "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1", - "once@^1.4.0": "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1", - "onetime@^5.1.2": "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e", - "optionator@^0.8.1": "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495", - "p-limit@^2.2.0": "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1", - "p-locate@^4.1.0": "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07", - "p-try@^2.0.0": "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6", - "parse-json@^5.2.0": "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd", - "parse5@6.0.1": "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b", - "path-exists@^4.0.0": "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3", - "path-is-absolute@^1.0.0": "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f", - "path-key@^3.0.0": "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375", - "path-key@^3.1.0": "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375", - "path-parse@^1.0.7": "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735", - "picocolors@^1.0.0": "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c", - "picomatch@^2.0.4": "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42", - "picomatch@^2.2.3": "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42", - "pirates@^4.0.4": "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b", - "pkg-dir@^4.2.0": "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3", - "prelude-ls@~1.1.2": "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54", - "pretty-format@^27.5.1": "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e", - "prompts@^2.0.1": "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069", - "psl@^1.1.33": "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24", - "punycode@^2.1.1": "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec", - "react-is@^17.0.1": "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0", - "require-directory@^2.1.1": "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42", - "resolve-cwd@^3.0.0": "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d", - "resolve-from@^5.0.0": "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69", - "resolve.exports@^1.1.0": "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9", - "resolve@^1.20.0": "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198", - "rimraf@^3.0.0": "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a", - "safe-buffer@~5.1.1": "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d", - "safer-buffer@>= 2.1.2 < 3": "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a", - "saxes@^5.0.1": "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d", - "semver@^6.0.0": "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d", - "semver@^6.3.0": "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d", - "semver@^7.3.2": "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7", - "shebang-command@^2.0.0": "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea", - "shebang-regex@^3.0.0": "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172", - "signal-exit@^3.0.2": "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9", - "signal-exit@^3.0.3": "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9", - "sisteransi@^1.0.5": "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed", - "slash@^3.0.0": "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634", - "source-map-support@^0.5.6": "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f", - "source-map@^0.5.0": "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc", - "source-map@^0.6.0": "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263", - "source-map@^0.6.1": "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263", - "source-map@^0.7.3": "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383", - "source-map@~0.6.1": "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263", - "sprintf-js@~1.0.2": "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c", - "stack-utils@^2.0.3": "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5", - "string-length@^4.0.1": "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a", - "string-width@^4.1.0": "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010", - "string-width@^4.2.0": "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010", - "strip-ansi@^6.0.0": "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9", - "strip-ansi@^6.0.1": "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9", - "strip-bom@^4.0.0": "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878", - "strip-final-newline@^2.0.0": "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad", - "strip-json-comments@^3.1.1": "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006", - "supports-color@^5.3.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f", - "supports-color@^7.0.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da", - "supports-color@^7.1.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da", - "supports-color@^8.0.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c", - "supports-hyperlinks@^2.0.0": "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz#4f77b42488765891774b70c79babd87f9bd594bb", - "supports-preserve-symlinks-flag@^1.0.0": "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09", - "symbol-tree@^3.2.4": "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2", - "terminal-link@^2.0.0": "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994", - "test-exclude@^6.0.0": "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e", - "throat@^6.0.1": "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375", - "tmpl@1.0.5": "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc", - "to-fast-properties@^2.0.0": "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e", - "to-regex-range@^5.0.1": "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4", - "tough-cookie@^4.0.0": "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.0.0.tgz#d822234eeca882f991f0f908824ad2622ddbece4", - "tr46@^2.1.0": "https://registry.yarnpkg.com/tr46/-/tr46-2.1.0.tgz#fa87aa81ca5d5941da8cbf1f9b749dc969a4e240", - "tr46@~0.0.3": "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a", - "tunnel@0.0.6": "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c", - "type-check@~0.3.2": "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72", - "type-detect@4.0.8": "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c", - "type-fest@^0.21.3": "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37", - "typedarray-to-buffer@^3.1.5": "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080", - "universal-user-agent@^6.0.0": "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee", - "universalify@^0.1.2": "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66", - "v8-to-istanbul@^8.1.0": "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz#77b752fd3975e31bbcef938f85e9bd1c7a8d60ed", - "w3c-hr-time@^1.0.2": "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd", - "w3c-xmlserializer@^2.0.0": "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a", - "walker@^1.0.7": "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f", - "webidl-conversions@^3.0.0": "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871", - "webidl-conversions@^5.0.0": "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff", - "webidl-conversions@^6.1.0": "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514", - "whatwg-encoding@^1.0.5": "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0", - "whatwg-mimetype@^2.3.0": "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf", - "whatwg-url@^5.0.0": "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d", - "whatwg-url@^8.0.0": "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77", - "whatwg-url@^8.5.0": "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77", - "which@^2.0.1": "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1", - "word-wrap@~1.2.3": "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c", - "wrap-ansi@^7.0.0": "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43", - "wrappy@1": "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f", - "write-file-atomic@^3.0.0": "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8", - "ws@^7.4.6": "https://registry.yarnpkg.com/ws/-/ws-7.5.7.tgz#9e0ac77ee50af70d58326ecff7e85eb3fa375e67", - "xml-name-validator@^3.0.0": "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a", - "xmlchars@^2.2.0": "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb", - "y18n@^5.0.5": "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55", - "yallist@^4.0.0": "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72", - "yargs-parser@^20.2.2": "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee", - "yargs@^16.2.0": "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - }, - "files": [], - "artifacts": {} -} \ No newline at end of file diff --git a/node_modules/@actions/core/LICENSE.md b/node_modules/@actions/core/LICENSE.md deleted file mode 100644 index dbae2ed..0000000 --- a/node_modules/@actions/core/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright 2019 GitHub - -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. \ No newline at end of file diff --git a/node_modules/@actions/core/README.md b/node_modules/@actions/core/README.md deleted file mode 100644 index 8f227a8..0000000 --- a/node_modules/@actions/core/README.md +++ /dev/null @@ -1,312 +0,0 @@ -# `@actions/core` - -> Core functions for setting results, logging, registering secrets and exporting variables across actions - -## Usage - -### Import the package - -```js -// javascript -const core = require('@actions/core'); - -// typescript -import * as core from '@actions/core'; -``` - -#### Inputs/Outputs - -Action inputs can be read with `getInput` which returns a `string` or `getBooleanInput` which parses a boolean based on the [yaml 1.2 specification](https://yaml.org/spec/1.2/spec.html#id2804923). If `required` set to be false, the input should have a default value in `action.yml`. - -Outputs can be set with `setOutput` which makes them available to be mapped into inputs of other actions to ensure they are decoupled. - -```js -const myInput = core.getInput('inputName', { required: true }); -const myBooleanInput = core.getBooleanInput('booleanInputName', { required: true }); -const myMultilineInput = core.getMultilineInput('multilineInputName', { required: true }); -core.setOutput('outputKey', 'outputVal'); -``` - -#### Exporting variables - -Since each step runs in a separate process, you can use `exportVariable` to add it to this step and future steps environment blocks. - -```js -core.exportVariable('envVar', 'Val'); -``` - -#### Setting a secret - -Setting a secret registers the secret with the runner to ensure it is masked in logs. - -```js -core.setSecret('myPassword'); -``` - -#### PATH Manipulation - -To make a tool's path available in the path for the remainder of the job (without altering the machine or containers state), use `addPath`. The runner will prepend the path given to the jobs PATH. - -```js -core.addPath('/path/to/mytool'); -``` - -#### Exit codes - -You should use this library to set the failing exit code for your action. If status is not set and the script runs to completion, that will lead to a success. - -```js -const core = require('@actions/core'); - -try { - // Do stuff -} -catch (err) { - // setFailed logs the message and sets a failing exit code - core.setFailed(`Action failed with error ${err}`); -} -``` - -Note that `setNeutral` is not yet implemented in actions V2 but equivalent functionality is being planned. - -#### Logging - -Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs). - -```js -const core = require('@actions/core'); - -const myInput = core.getInput('input'); -try { - core.debug('Inside try block'); - - if (!myInput) { - core.warning('myInput was not set'); - } - - if (core.isDebug()) { - // curl -v https://github.com - } else { - // curl https://github.com - } - - // Do stuff - core.info('Output to the actions build log') - - core.notice('This is a message that will also emit an annotation') -} -catch (err) { - core.error(`Error ${err}, action may still succeed though`); -} -``` - -This library can also wrap chunks of output in foldable groups. - -```js -const core = require('@actions/core') - -// Manually wrap output -core.startGroup('Do some function') -doSomeFunction() -core.endGroup() - -// Wrap an asynchronous function call -const result = await core.group('Do something async', async () => { - const response = await doSomeHTTPRequest() - return response -}) -``` - -#### Annotations - -This library has 3 methods that will produce [annotations](https://docs.github.com/en/rest/reference/checks#create-a-check-run). -```js -core.error('This is a bad error. This will also fail the build.') - -core.warning('Something went wrong, but it\'s not bad enough to fail the build.') - -core.notice('Something happened that you might want to know about.') -``` - -These will surface to the UI in the Actions page and on Pull Requests. They look something like this: - -![Annotations Image](../../docs/assets/annotations.png) - -These annotations can also be attached to particular lines and columns of your source files to show exactly where a problem is occuring. - -These options are: -```typescript -export interface AnnotationProperties { - /** - * A title for the annotation. - */ - title?: string - - /** - * The name of the file for which the annotation should be created. - */ - file?: string - - /** - * The start line for the annotation. - */ - startLine?: number - - /** - * The end line for the annotation. Defaults to `startLine` when `startLine` is provided. - */ - endLine?: number - - /** - * The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values. - */ - startColumn?: number - - /** - * The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values. - * Defaults to `startColumn` when `startColumn` is provided. - */ - endColumn?: number -} -``` - -#### Styling output - -Colored output is supported in the Action logs via standard [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code). 3/4 bit, 8 bit and 24 bit colors are all supported. - -Foreground colors: - -```js -// 3/4 bit -core.info('\u001b[35mThis foreground will be magenta') - -// 8 bit -core.info('\u001b[38;5;6mThis foreground will be cyan') - -// 24 bit -core.info('\u001b[38;2;255;0;0mThis foreground will be bright red') -``` - -Background colors: - -```js -// 3/4 bit -core.info('\u001b[43mThis background will be yellow'); - -// 8 bit -core.info('\u001b[48;5;6mThis background will be cyan') - -// 24 bit -core.info('\u001b[48;2;255;0;0mThis background will be bright red') -``` - -Special styles: - -```js -core.info('\u001b[1mBold text') -core.info('\u001b[3mItalic text') -core.info('\u001b[4mUnderlined text') -``` - -ANSI escape codes can be combined with one another: - -```js -core.info('\u001b[31;46mRed foreground with a cyan background and \u001b[1mbold text at the end'); -``` - -> Note: Escape codes reset at the start of each line - -```js -core.info('\u001b[35mThis foreground will be magenta') -core.info('This foreground will reset to the default') -``` - -Manually typing escape codes can be a little difficult, but you can use third party modules such as [ansi-styles](https://github.com/chalk/ansi-styles). - -```js -const style = require('ansi-styles'); -core.info(style.color.ansi16m.hex('#abcdef') + 'Hello world!') -``` - -#### Action state - -You can use this library to save state and get state for sharing information between a given wrapper action: - -**action.yml**: - -```yaml -name: 'Wrapper action sample' -inputs: - name: - default: 'GitHub' -runs: - using: 'node12' - main: 'main.js' - post: 'cleanup.js' -``` - -In action's `main.js`: - -```js -const core = require('@actions/core'); - -core.saveState("pidToKill", 12345); -``` - -In action's `cleanup.js`: - -```js -const core = require('@actions/core'); - -var pid = core.getState("pidToKill"); - -process.kill(pid); -``` - -#### OIDC Token - -You can use these methods to interact with the GitHub OIDC provider and get a JWT ID token which would help to get access token from third party cloud providers. - -**Method Name**: getIDToken() - -**Inputs** - -audience : optional - -**Outputs** - -A [JWT](https://jwt.io/) ID Token - -In action's `main.ts`: -```js -const core = require('@actions/core'); -async function getIDTokenAction(): Promise { - - const audience = core.getInput('audience', {required: false}) - - const id_token1 = await core.getIDToken() // ID Token with default audience - const id_token2 = await core.getIDToken(audience) // ID token with custom audience - - // this id_token can be used to get access token from third party cloud providers -} -getIDTokenAction() -``` - -In action's `actions.yml`: - -```yaml -name: 'GetIDToken' -description: 'Get ID token from Github OIDC provider' -inputs: - audience: - description: 'Audience for which the ID token is intended for' - required: false -outputs: - id_token1: - description: 'ID token obtained from OIDC provider' - id_token2: - description: 'ID token obtained from OIDC provider' -runs: - using: 'node12' - main: 'dist/index.js' -``` \ No newline at end of file diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts deleted file mode 100644 index 53f8f4b..0000000 --- a/node_modules/@actions/core/lib/command.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export interface CommandProperties { - [key: string]: any; -} -/** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value - */ -export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; -export declare function issue(name: string, message?: string): void; diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js deleted file mode 100644 index 0b28c66..0000000 --- a/node_modules/@actions/core/lib/command.js +++ /dev/null @@ -1,92 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.issue = exports.issueCommand = void 0; -const os = __importStar(require("os")); -const utils_1 = require("./utils"); -/** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value - */ -function issueCommand(command, properties, message) { - const cmd = new Command(command, properties, message); - process.stdout.write(cmd.toString() + os.EOL); -} -exports.issueCommand = issueCommand; -function issue(name, message = '') { - issueCommand(name, {}, message); -} -exports.issue = issue; -const CMD_STRING = '::'; -class Command { - constructor(command, properties, message) { - if (!command) { - command = 'missing.command'; - } - this.command = command; - this.properties = properties; - this.message = message; - } - toString() { - let cmdStr = CMD_STRING + this.command; - if (this.properties && Object.keys(this.properties).length > 0) { - cmdStr += ' '; - let first = true; - for (const key in this.properties) { - if (this.properties.hasOwnProperty(key)) { - const val = this.properties[key]; - if (val) { - if (first) { - first = false; - } - else { - cmdStr += ','; - } - cmdStr += `${key}=${escapeProperty(val)}`; - } - } - } - } - cmdStr += `${CMD_STRING}${escapeData(this.message)}`; - return cmdStr; - } -} -function escapeData(s) { - return utils_1.toCommandValue(s) - .replace(/%/g, '%25') - .replace(/\r/g, '%0D') - .replace(/\n/g, '%0A'); -} -function escapeProperty(s) { - return utils_1.toCommandValue(s) - .replace(/%/g, '%25') - .replace(/\r/g, '%0D') - .replace(/\n/g, '%0A') - .replace(/:/g, '%3A') - .replace(/,/g, '%2C'); -} -//# sourceMappingURL=command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/command.js.map b/node_modules/@actions/core/lib/command.js.map deleted file mode 100644 index 51c7c63..0000000 --- a/node_modules/@actions/core/lib/command.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,mCAAsC;AAWtC;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAY;IAEZ,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OA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F;QAED,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAA;QACpD,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAM;IACxB,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAM;IAC5B,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts deleted file mode 100644 index 356872e..0000000 --- a/node_modules/@actions/core/lib/core.d.ts +++ /dev/null @@ -1,186 +0,0 @@ -/** - * Interface for getInput options - */ -export interface InputOptions { - /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ - required?: boolean; - /** Optional. Whether leading/trailing whitespace will be trimmed for the input. Defaults to true */ - trimWhitespace?: boolean; -} -/** - * The code to exit an action - */ -export declare enum ExitCode { - /** - * A code indicating that the action was successful - */ - Success = 0, - /** - * A code indicating that the action was a failure - */ - Failure = 1 -} -/** - * Optional properties that can be sent with annotatation commands (notice, error, and warning) - * See: https://docs.github.com/en/rest/reference/checks#create-a-check-run for more information about annotations. - */ -export interface AnnotationProperties { - /** - * A title for the annotation. - */ - title?: string; - /** - * The path of the file for which the annotation should be created. - */ - file?: string; - /** - * The start line for the annotation. - */ - startLine?: number; - /** - * The end line for the annotation. Defaults to `startLine` when `startLine` is provided. - */ - endLine?: number; - /** - * The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values. - */ - startColumn?: number; - /** - * The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values. - * Defaults to `startColumn` when `startColumn` is provided. - */ - endColumn?: number; -} -/** - * Sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify - */ -export declare function exportVariable(name: string, val: any): void; -/** - * Registers a secret which will get masked from logs - * @param secret value of the secret - */ -export declare function setSecret(secret: string): void; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -export declare function addPath(inputPath: string): void; -/** - * Gets the value of an input. - * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. - * Returns an empty string if the value is not defined. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -export declare function getInput(name: string, options?: InputOptions): string; -/** - * Gets the values of an multiline input. Each value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string[] - * - */ -export declare function getMultilineInput(name: string, options?: InputOptions): string[]; -/** - * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. - * Support boolean input list: `true | True | TRUE | false | False | FALSE` . - * The return value is also in boolean type. - * ref: https://yaml.org/spec/1.2/spec.html#id2804923 - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns boolean - */ -export declare function getBooleanInput(name: string, options?: InputOptions): boolean; -/** - * Sets the value of an output. - * - * @param name name of the output to set - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -export declare function setOutput(name: string, value: any): void; -/** - * Enables or disables the echoing of commands into stdout for the rest of the step. - * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. - * - */ -export declare function setCommandEcho(enabled: boolean): void; -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -export declare function setFailed(message: string | Error): void; -/** - * Gets whether Actions Step Debug is on or not - */ -export declare function isDebug(): boolean; -/** - * Writes debug message to user log - * @param message debug message - */ -export declare function debug(message: string): void; -/** - * Adds an error issue - * @param message error issue message. Errors will be converted to string via toString() - * @param properties optional properties to add to the annotation. - */ -export declare function error(message: string | Error, properties?: AnnotationProperties): void; -/** - * Adds a warning issue - * @param message warning issue message. Errors will be converted to string via toString() - * @param properties optional properties to add to the annotation. - */ -export declare function warning(message: string | Error, properties?: AnnotationProperties): void; -/** - * Adds a notice issue - * @param message notice issue message. Errors will be converted to string via toString() - * @param properties optional properties to add to the annotation. - */ -export declare function notice(message: string | Error, properties?: AnnotationProperties): void; -/** - * Writes info to log with console.log. - * @param message info message - */ -export declare function info(message: string): void; -/** - * Begin an output group. - * - * Output until the next `groupEnd` will be foldable in this group - * - * @param name The name of the output group - */ -export declare function startGroup(name: string): void; -/** - * End an output group. - */ -export declare function endGroup(): void; -/** - * Wrap an asynchronous function call in a group. - * - * Returns the same type as the function itself. - * - * @param name The name of the group - * @param fn The function to wrap in the group - */ -export declare function group(name: string, fn: () => Promise): Promise; -/** - * Saves state for current action, the state can only be retrieved by this action's post job execution. - * - * @param name name of the state to store - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -export declare function saveState(name: string, value: any): void; -/** - * Gets the value of an state set by this action's main execution. - * - * @param name name of the state to get - * @returns string - */ -export declare function getState(name: string): string; -export declare function getIDToken(aud?: string): Promise; diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js deleted file mode 100644 index e0ceced..0000000 --- a/node_modules/@actions/core/lib/core.js +++ /dev/null @@ -1,312 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; -const command_1 = require("./command"); -const file_command_1 = require("./file-command"); -const utils_1 = require("./utils"); -const os = __importStar(require("os")); -const path = __importStar(require("path")); -const oidc_utils_1 = require("./oidc-utils"); -/** - * The code to exit an action - */ -var ExitCode; -(function (ExitCode) { - /** - * A code indicating that the action was successful - */ - ExitCode[ExitCode["Success"] = 0] = "Success"; - /** - * A code indicating that the action was a failure - */ - ExitCode[ExitCode["Failure"] = 1] = "Failure"; -})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); -//----------------------------------------------------------------------- -// Variables -//----------------------------------------------------------------------- -/** - * Sets env variable for this action and future actions in the job - * @param name the name of the variable to set - * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function exportVariable(name, val) { - const convertedVal = utils_1.toCommandValue(val); - process.env[name] = convertedVal; - const filePath = process.env['GITHUB_ENV'] || ''; - if (filePath) { - const delimiter = '_GitHubActionsFileCommandDelimeter_'; - const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`; - file_command_1.issueCommand('ENV', commandValue); - } - else { - command_1.issueCommand('set-env', { name }, convertedVal); - } -} -exports.exportVariable = exportVariable; -/** - * Registers a secret which will get masked from logs - * @param secret value of the secret - */ -function setSecret(secret) { - command_1.issueCommand('add-mask', {}, secret); -} -exports.setSecret = setSecret; -/** - * Prepends inputPath to the PATH (for this action and future actions) - * @param inputPath - */ -function addPath(inputPath) { - const filePath = process.env['GITHUB_PATH'] || ''; - if (filePath) { - file_command_1.issueCommand('PATH', inputPath); - } - else { - command_1.issueCommand('add-path', {}, inputPath); - } - process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; -} -exports.addPath = addPath; -/** - * Gets the value of an input. - * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. - * Returns an empty string if the value is not defined. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string - */ -function getInput(name, options) { - const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; - if (options && options.required && !val) { - throw new Error(`Input required and not supplied: ${name}`); - } - if (options && options.trimWhitespace === false) { - return val; - } - return val.trim(); -} -exports.getInput = getInput; -/** - * Gets the values of an multiline input. Each value is also trimmed. - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns string[] - * - */ -function getMultilineInput(name, options) { - const inputs = getInput(name, options) - .split('\n') - .filter(x => x !== ''); - return inputs; -} -exports.getMultilineInput = getMultilineInput; -/** - * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. - * Support boolean input list: `true | True | TRUE | false | False | FALSE` . - * The return value is also in boolean type. - * ref: https://yaml.org/spec/1.2/spec.html#id2804923 - * - * @param name name of the input to get - * @param options optional. See InputOptions. - * @returns boolean - */ -function getBooleanInput(name, options) { - const trueValue = ['true', 'True', 'TRUE']; - const falseValue = ['false', 'False', 'FALSE']; - const val = getInput(name, options); - if (trueValue.includes(val)) - return true; - if (falseValue.includes(val)) - return false; - throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + - `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); -} -exports.getBooleanInput = getBooleanInput; -/** - * Sets the value of an output. - * - * @param name name of the output to set - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function setOutput(name, value) { - process.stdout.write(os.EOL); - command_1.issueCommand('set-output', { name }, value); -} -exports.setOutput = setOutput; -/** - * Enables or disables the echoing of commands into stdout for the rest of the step. - * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. - * - */ -function setCommandEcho(enabled) { - command_1.issue('echo', enabled ? 'on' : 'off'); -} -exports.setCommandEcho = setCommandEcho; -//----------------------------------------------------------------------- -// Results -//----------------------------------------------------------------------- -/** - * Sets the action status to failed. - * When the action exits it will be with an exit code of 1 - * @param message add error issue message - */ -function setFailed(message) { - process.exitCode = ExitCode.Failure; - error(message); -} -exports.setFailed = setFailed; -//----------------------------------------------------------------------- -// Logging Commands -//----------------------------------------------------------------------- -/** - * Gets whether Actions Step Debug is on or not - */ -function isDebug() { - return process.env['RUNNER_DEBUG'] === '1'; -} -exports.isDebug = isDebug; -/** - * Writes debug message to user log - * @param message debug message - */ -function debug(message) { - command_1.issueCommand('debug', {}, message); -} -exports.debug = debug; -/** - * Adds an error issue - * @param message error issue message. Errors will be converted to string via toString() - * @param properties optional properties to add to the annotation. - */ -function error(message, properties = {}) { - command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); -} -exports.error = error; -/** - * Adds a warning issue - * @param message warning issue message. Errors will be converted to string via toString() - * @param properties optional properties to add to the annotation. - */ -function warning(message, properties = {}) { - command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); -} -exports.warning = warning; -/** - * Adds a notice issue - * @param message notice issue message. Errors will be converted to string via toString() - * @param properties optional properties to add to the annotation. - */ -function notice(message, properties = {}) { - command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); -} -exports.notice = notice; -/** - * Writes info to log with console.log. - * @param message info message - */ -function info(message) { - process.stdout.write(message + os.EOL); -} -exports.info = info; -/** - * Begin an output group. - * - * Output until the next `groupEnd` will be foldable in this group - * - * @param name The name of the output group - */ -function startGroup(name) { - command_1.issue('group', name); -} -exports.startGroup = startGroup; -/** - * End an output group. - */ -function endGroup() { - command_1.issue('endgroup'); -} -exports.endGroup = endGroup; -/** - * Wrap an asynchronous function call in a group. - * - * Returns the same type as the function itself. - * - * @param name The name of the group - * @param fn The function to wrap in the group - */ -function group(name, fn) { - return __awaiter(this, void 0, void 0, function* () { - startGroup(name); - let result; - try { - result = yield fn(); - } - finally { - endGroup(); - } - return result; - }); -} -exports.group = group; -//----------------------------------------------------------------------- -// Wrapper action state -//----------------------------------------------------------------------- -/** - * Saves state for current action, the state can only be retrieved by this action's post job execution. - * - * @param name name of the state to store - * @param value value to store. Non-string values will be converted to a string via JSON.stringify - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function saveState(name, value) { - command_1.issueCommand('save-state', { name }, value); -} -exports.saveState = saveState; -/** - * Gets the value of an state set by this action's main execution. - * - * @param name name of the state to get - * @returns string - */ -function getState(name) { - return process.env[`STATE_${name}`] || ''; -} -exports.getState = getState; -function getIDToken(aud) { - return __awaiter(this, void 0, void 0, function* () { - return yield oidc_utils_1.OidcClient.getIDToken(aud); - }); -} -exports.getIDToken = getIDToken; -//# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map deleted file mode 100644 index 087a91d..0000000 --- a/node_modules/@actions/core/lib/core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],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K,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC;AAED,SAAsB,UAAU,CAAC,GAAY;;QAC3C,OAAO,MAAM,uBAAU,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;CAAA;AAFD,gCAEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.d.ts b/node_modules/@actions/core/lib/file-command.d.ts deleted file mode 100644 index ed408eb..0000000 --- a/node_modules/@actions/core/lib/file-command.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function issueCommand(command: string, message: any): void; diff --git a/node_modules/@actions/core/lib/file-command.js b/node_modules/@actions/core/lib/file-command.js deleted file mode 100644 index 55e3e9f..0000000 --- a/node_modules/@actions/core/lib/file-command.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; -// For internal use, subject to change. -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.issueCommand = void 0; -// We use any as a valid input type -/* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(require("fs")); -const os = __importStar(require("os")); -const utils_1 = require("./utils"); -function issueCommand(command, message) { - const filePath = process.env[`GITHUB_${command}`]; - if (!filePath) { - throw new Error(`Unable to find environment variable for file command ${command}`); - } - if (!fs.existsSync(filePath)) { - throw new Error(`Missing file at path: ${filePath}`); - } - fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { - encoding: 'utf8' - }); -} -exports.issueCommand = issueCommand; -//# sourceMappingURL=file-command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.js.map b/node_modules/@actions/core/lib/file-command.js.map deleted file mode 100644 index ee35699..0000000 --- a/node_modules/@actions/core/lib/file-command.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;;;;;;;;;;;;;;AAEvC,mCAAmC;AACnC,uDAAuD;AAEvD,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,YAAY,CAAC,OAAe,EAAE,OAAY;IACxD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,EAAE,CAAC,CAAA;IACjD,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,IAAI,KAAK,CACb,wDAAwD,OAAO,EAAE,CAClE,CAAA;KACF;IACD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAA;KACrD;IAED,EAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,sBAAc,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAdD,oCAcC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/oidc-utils.d.ts b/node_modules/@actions/core/lib/oidc-utils.d.ts deleted file mode 100644 index 657c7f4..0000000 --- a/node_modules/@actions/core/lib/oidc-utils.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare class OidcClient { - private static createHttpClient; - private static getRequestToken; - private static getIDTokenUrl; - private static getCall; - static getIDToken(audience?: string): Promise; -} diff --git a/node_modules/@actions/core/lib/oidc-utils.js b/node_modules/@actions/core/lib/oidc-utils.js deleted file mode 100644 index 9ee10fa..0000000 --- a/node_modules/@actions/core/lib/oidc-utils.js +++ /dev/null @@ -1,77 +0,0 @@ -"use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.OidcClient = void 0; -const http_client_1 = require("@actions/http-client"); -const auth_1 = require("@actions/http-client/auth"); -const core_1 = require("./core"); -class OidcClient { - static createHttpClient(allowRetry = true, maxRetry = 10) { - const requestOptions = { - allowRetries: allowRetry, - maxRetries: maxRetry - }; - return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions); - } - static getRequestToken() { - const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']; - if (!token) { - throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable'); - } - return token; - } - static getIDTokenUrl() { - const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL']; - if (!runtimeUrl) { - throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable'); - } - return runtimeUrl; - } - static getCall(id_token_url) { - var _a; - return __awaiter(this, void 0, void 0, function* () { - const httpclient = OidcClient.createHttpClient(); - const res = yield httpclient - .getJson(id_token_url) - .catch(error => { - throw new Error(`Failed to get ID Token. \n - Error Code : ${error.statusCode}\n - Error Message: ${error.result.message}`); - }); - const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; - if (!id_token) { - throw new Error('Response json body do not have ID Token field'); - } - return id_token; - }); - } - static getIDToken(audience) { - return __awaiter(this, void 0, void 0, function* () { - try { - // New ID Token is requested from action service - let id_token_url = OidcClient.getIDTokenUrl(); - if (audience) { - const encodedAudience = encodeURIComponent(audience); - id_token_url = `${id_token_url}&audience=${encodedAudience}`; - } - core_1.debug(`ID token url is ${id_token_url}`); - const id_token = yield OidcClient.getCall(id_token_url); - core_1.setSecret(id_token); - return id_token; - } - catch (error) { - throw new Error(`Error message: ${error.message}`); - } - }); - } -} -exports.OidcClient = OidcClient; -//# sourceMappingURL=oidc-utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/oidc-utils.js.map b/node_modules/@actions/core/lib/oidc-utils.js.map deleted file mode 100644 index 0ddbca9..0000000 --- a/node_modules/@actions/core/lib/oidc-utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"oidc-utils.js","sourceRoot":"","sources":["../src/oidc-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,sDAA+C;AAC/C,oDAAiE;A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C,CAAC,CAAA;aACjE;YACD,OAAO,QAAQ,CAAA;;KAChB;IAED,MAAM,CAAO,UAAU,CAAC,QAAiB;;YACvC,IAAI;gBACF,gDAAgD;gBAChD,IAAI,YAAY,GAAW,UAAU,CAAC,aAAa,EAAE,CAAA;gBACrD,IAAI,QAAQ,EAAE;oBACZ,MAAM,eAAe,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;oBACpD,YAAY,GAAG,GAAG,YAAY,aAAa,eAAe,EAAE,CAAA;iBAC7D;gBAED,YAAK,CAAC,mBAAmB,YAAY,EAAE,CAAC,CAAA;gBAExC,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;gBACvD,gBAAS,CAAC,QAAQ,CAAC,CAAA;gBACnB,OAAO,QAAQ,CAAA;aAChB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,IAAI,KAAK,CAAC,kBAAkB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;aACnD;QACH,CAAC;KAAA;CACF;AAzED,gCAyEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.d.ts b/node_modules/@actions/core/lib/utils.d.ts deleted file mode 100644 index 3b9e28d..0000000 --- a/node_modules/@actions/core/lib/utils.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { AnnotationProperties } from './core'; -import { CommandProperties } from './command'; -/** - * Sanitizes an input into a string so it can be passed into issueCommand safely - * @param input input to sanitize into a string - */ -export declare function toCommandValue(input: any): string; -/** - * - * @param annotationProperties - * @returns The command properties to send with the actual annotation command - * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 - */ -export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; diff --git a/node_modules/@actions/core/lib/utils.js b/node_modules/@actions/core/lib/utils.js deleted file mode 100644 index 9b5ca44..0000000 --- a/node_modules/@actions/core/lib/utils.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -// We use any as a valid input type -/* eslint-disable @typescript-eslint/no-explicit-any */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.toCommandProperties = exports.toCommandValue = void 0; -/** - * Sanitizes an input into a string so it can be passed into issueCommand safely - * @param input input to sanitize into a string - */ -function toCommandValue(input) { - if (input === null || input === undefined) { - return ''; - } - else if (typeof input === 'string' || input instanceof String) { - return input; - } - return JSON.stringify(input); -} -exports.toCommandValue = toCommandValue; -/** - * - * @param annotationProperties - * @returns The command properties to send with the actual annotation command - * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 - */ -function toCommandProperties(annotationProperties) { - if (!Object.keys(annotationProperties).length) { - return {}; - } - return { - title: annotationProperties.title, - file: annotationProperties.file, - line: annotationProperties.startLine, - endLine: annotationProperties.endLine, - col: annotationProperties.startColumn, - endColumn: annotationProperties.endColumn - }; -} -exports.toCommandProperties = toCommandProperties; -//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.js.map b/node_modules/@actions/core/lib/utils.js.map deleted file mode 100644 index 8211bb7..0000000 --- a/node_modules/@actions/core/lib/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json deleted file mode 100644 index 8d7a399..0000000 --- a/node_modules/@actions/core/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "@actions/core", - "version": "1.6.0", - "description": "Actions core lib", - "keywords": [ - "github", - "actions", - "core" - ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", - "license": "MIT", - "main": "lib/core.js", - "types": "lib/core.d.ts", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib", - "!.DS_Store" - ], - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/toolkit.git", - "directory": "packages/core" - }, - "scripts": { - "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", - "test": "echo \"Error: run tests from root\" && exit 1", - "tsc": "tsc" - }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "dependencies": { - "@actions/http-client": "^1.0.11" - }, - "devDependencies": { - "@types/node": "^12.0.2" - } -} diff --git a/node_modules/@actions/github/LICENSE.md b/node_modules/@actions/github/LICENSE.md deleted file mode 100644 index dbae2ed..0000000 --- a/node_modules/@actions/github/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright 2019 GitHub - -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. \ No newline at end of file diff --git a/node_modules/@actions/github/README.md b/node_modules/@actions/github/README.md deleted file mode 100644 index 21daad3..0000000 --- a/node_modules/@actions/github/README.md +++ /dev/null @@ -1,97 +0,0 @@ -# `@actions/github` - -> A hydrated Octokit client. - -## Usage - -Returns an authenticated Octokit client that follows the machine [proxy settings](https://help.github.com/en/actions/hosting-your-own-runners/using-a-proxy-server-with-self-hosted-runners) and correctly sets GHES base urls. See https://octokit.github.io/rest.js for the API. - -```js -const github = require('@actions/github'); -const core = require('@actions/core'); - -async function run() { - // This should be a token with access to your repository scoped in as a secret. - // The YML workflow will need to set myToken with the GitHub Secret Token - // myToken: ${{ secrets.GITHUB_TOKEN }} - // https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#about-the-github_token-secret - const myToken = core.getInput('myToken'); - - const octokit = github.getOctokit(myToken) - - // You can also pass in additional options as a second parameter to getOctokit - // const octokit = github.getOctokit(myToken, {userAgent: "MyActionVersion1"}); - - const { data: pullRequest } = await octokit.rest.pulls.get({ - owner: 'octokit', - repo: 'rest.js', - pull_number: 123, - mediaType: { - format: 'diff' - } - }); - - console.log(pullRequest); -} - -run(); -``` - -You can also make GraphQL requests. See https://github.com/octokit/graphql.js for the API. - -```js -const result = await octokit.graphql(query, variables); -``` - -Finally, you can get the context of the current action: - -```js -const github = require('@actions/github'); - -const context = github.context; - -const newIssue = await octokit.rest.issues.create({ - ...context.repo, - title: 'New issue!', - body: 'Hello Universe!' -}); -``` - -## Webhook payload typescript definitions - -The npm module `@octokit/webhooks` provides type definitions for the response payloads. You can cast the payload to these types for better type information. - -First, install the npm module `npm install @octokit/webhooks` - -Then, assert the type based on the eventName -```ts -import * as core from '@actions/core' -import * as github from '@actions/github' -import * as Webhooks from '@octokit/webhooks' -if (github.context.eventName === 'push') { - const pushPayload = github.context.payload as Webhooks.WebhookPayloadPush - core.info(`The head commit is: ${pushPayload.head}`) -} -``` - -## Extending the Octokit instance -`@octokit/core` now supports the [plugin architecture](https://github.com/octokit/core.js#plugins). You can extend the GitHub instance using plugins. - -For example, using the `@octokit/plugin-enterprise-server` you can now access enterprise admin apis on GHES instances. - -```ts -import { GitHub, getOctokitOptions } from '@actions/github/lib/utils' -import { enterpriseServer220Admin } from '@octokit/plugin-enterprise-server' - -const octokit = GitHub.plugin(enterpriseServer220Admin) -// or override some of the default values as well -// const octokit = GitHub.plugin(enterpriseServer220Admin).defaults({userAgent: "MyNewUserAgent"}) - -const myToken = core.getInput('myToken'); -const myOctokit = new octokit(getOctokitOptions(token)) -// Create a new user -myOctokit.rest.enterpriseAdmin.createUser({ - login: "testuser", - email: "testuser@test.com", -}); -``` diff --git a/node_modules/@actions/github/lib/context.d.ts b/node_modules/@actions/github/lib/context.d.ts deleted file mode 100644 index 7d3a7de..0000000 --- a/node_modules/@actions/github/lib/context.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { WebhookPayload } from './interfaces'; -export declare class Context { - /** - * Webhook payload object that triggered the workflow - */ - payload: WebhookPayload; - eventName: string; - sha: string; - ref: string; - workflow: string; - action: string; - actor: string; - job: string; - runNumber: number; - runId: number; - apiUrl: string; - serverUrl: string; - graphqlUrl: string; - /** - * Hydrate the context from the environment - */ - constructor(); - get issue(): { - owner: string; - repo: string; - number: number; - }; - get repo(): { - owner: string; - repo: string; - }; -} diff --git a/node_modules/@actions/github/lib/context.js b/node_modules/@actions/github/lib/context.js deleted file mode 100644 index 767933c..0000000 --- a/node_modules/@actions/github/lib/context.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Context = void 0; -const fs_1 = require("fs"); -const os_1 = require("os"); -class Context { - /** - * Hydrate the context from the environment - */ - constructor() { - var _a, _b, _c; - this.payload = {}; - if (process.env.GITHUB_EVENT_PATH) { - if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) { - this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' })); - } - else { - const path = process.env.GITHUB_EVENT_PATH; - process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`); - } - } - this.eventName = process.env.GITHUB_EVENT_NAME; - this.sha = process.env.GITHUB_SHA; - this.ref = process.env.GITHUB_REF; - this.workflow = process.env.GITHUB_WORKFLOW; - this.action = process.env.GITHUB_ACTION; - this.actor = process.env.GITHUB_ACTOR; - this.job = process.env.GITHUB_JOB; - this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10); - this.runId = parseInt(process.env.GITHUB_RUN_ID, 10); - this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`; - this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`; - this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`; - } - get issue() { - const payload = this.payload; - return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number }); - } - get repo() { - if (process.env.GITHUB_REPOSITORY) { - const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/'); - return { owner, repo }; - } - if (this.payload.repository) { - return { - owner: this.payload.repository.owner.login, - repo: this.payload.repository.name - }; - } - throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'"); - } -} -exports.Context = Context; -//# sourceMappingURL=context.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/context.js.map b/node_modules/@actions/github/lib/context.js.map deleted file mode 100644 index 91fb9a9..0000000 --- a/node_modules/@actions/github/lib/context.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;AAEA,2BAA2C;AAC3C,2BAAsB;AAEtB,MAAa,OAAO;IAmBlB;;OAEG;IACH;;QACE,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;QACjB,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;YACjC,IAAI,eAAU,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE;gBAC7C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CACvB,iBAAY,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAChE,CAAA;aACF;iBAAM;gBACL,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAA;gBAC1C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,IAAI,kBAAkB,QAAG,EAAE,CAAC,CAAA;aACvE;SACF;QACD,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,iBAA2B,CAAA;QACxD,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,UAAoB,CAAA;QAC3C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,eAAyB,CAAA;QACrD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,GAAG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AO,CAAC,UAAU,CAAC,IAAI;aACnC,CAAA;SACF;QAED,MAAM,IAAI,KAAK,CACb,kFAAkF,CACnF,CAAA;IACH,CAAC;CACF;AA3ED,0BA2EC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/github.d.ts b/node_modules/@actions/github/lib/github.d.ts deleted file mode 100644 index 90c3b98..0000000 --- a/node_modules/@actions/github/lib/github.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import * as Context from './context'; -import { GitHub } from './utils'; -import { OctokitOptions } from '@octokit/core/dist-types/types'; -export declare const context: Context.Context; -/** - * Returns a hydrated octokit ready to use for GitHub Actions - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -export declare function getOctokit(token: string, options?: OctokitOptions): InstanceType; diff --git a/node_modules/@actions/github/lib/github.js b/node_modules/@actions/github/lib/github.js deleted file mode 100644 index f02c9fb..0000000 --- a/node_modules/@actions/github/lib/github.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getOctokit = exports.context = void 0; -const Context = __importStar(require("./context")); -const utils_1 = require("./utils"); -exports.context = new Context.Context(); -/** - * Returns a hydrated octokit ready to use for GitHub Actions - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -function getOctokit(token, options) { - return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); -} -exports.getOctokit = getOctokit; -//# sourceMappingURL=github.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/github.js.map b/node_modules/@actions/github/lib/github.js.map deleted file mode 100644 index 717d03e..0000000 --- a/node_modules/@actions/github/lib/github.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,mCAAiD;AAKpC,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,OAAwB;IAExB,OAAO,IAAI,cAAM,CAAC,yBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACtD,CAAC;AALD,gCAKC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/interfaces.d.ts b/node_modules/@actions/github/lib/interfaces.d.ts deleted file mode 100644 index f810333..0000000 --- a/node_modules/@actions/github/lib/interfaces.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -export interface PayloadRepository { - [key: string]: any; - full_name?: string; - name: string; - owner: { - [key: string]: any; - login: string; - name?: string; - }; - html_url?: string; -} -export interface WebhookPayload { - [key: string]: any; - repository?: PayloadRepository; - issue?: { - [key: string]: any; - number: number; - html_url?: string; - body?: string; - }; - pull_request?: { - [key: string]: any; - number: number; - html_url?: string; - body?: string; - }; - sender?: { - [key: string]: any; - type: string; - }; - action?: string; - installation?: { - id: number; - [key: string]: any; - }; - comment?: { - id: number; - [key: string]: any; - }; -} diff --git a/node_modules/@actions/github/lib/interfaces.js b/node_modules/@actions/github/lib/interfaces.js deleted file mode 100644 index a660b5e..0000000 --- a/node_modules/@actions/github/lib/interfaces.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -/* eslint-disable @typescript-eslint/no-explicit-any */ -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=interfaces.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/interfaces.js.map b/node_modules/@actions/github/lib/interfaces.js.map deleted file mode 100644 index dc2c960..0000000 --- a/node_modules/@actions/github/lib/interfaces.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/internal/utils.d.ts b/node_modules/@actions/github/lib/internal/utils.d.ts deleted file mode 100644 index 5790d91..0000000 --- a/node_modules/@actions/github/lib/internal/utils.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -import * as http from 'http'; -import { OctokitOptions } from '@octokit/core/dist-types/types'; -export declare function getAuthString(token: string, options: OctokitOptions): string | undefined; -export declare function getProxyAgent(destinationUrl: string): http.Agent; -export declare function getApiBaseUrl(): string; diff --git a/node_modules/@actions/github/lib/internal/utils.js b/node_modules/@actions/github/lib/internal/utils.js deleted file mode 100644 index 175a4da..0000000 --- a/node_modules/@actions/github/lib/internal/utils.js +++ /dev/null @@ -1,43 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(require("@actions/http-client")); -function getAuthString(token, options) { - if (!token && !options.auth) { - throw new Error('Parameter token or opts.auth is required'); - } - else if (token && options.auth) { - throw new Error('Parameters token and opts.auth may not both be specified'); - } - return typeof options.auth === 'string' ? options.auth : `token ${token}`; -} -exports.getAuthString = getAuthString; -function getProxyAgent(destinationUrl) { - const hc = new httpClient.HttpClient(); - return hc.getAgent(destinationUrl); -} -exports.getProxyAgent = getProxyAgent; -function getApiBaseUrl() { - return process.env['GITHUB_API_URL'] || 'https://api.github.com'; -} -exports.getApiBaseUrl = getApiBaseUrl; -//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/internal/utils.js.map b/node_modules/@actions/github/lib/internal/utils.js.map deleted file mode 100644 index f1f519d..0000000 --- a/node_modules/@actions/github/lib/internal/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/internal/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,iEAAkD;AAGlD,SAAgB,aAAa,CAC3B,KAAa,EACb,OAAuB;IAEvB,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QAC3B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;KAC5D;SAAM,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,EAAE;QAChC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;KAC5E;IAED,OAAO,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,KAAK,EAAE,CAAA;AAC3E,CAAC;AAXD,sCAWC;AAED,SAAgB,aAAa,CAAC,cAAsB;IAClD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;AACpC,CAAC;AAHD,sCAGC;AAED,SAAgB,aAAa;IAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,wBAAwB,CAAA;AAClE,CAAC;AAFD,sCAEC"} \ No newline at end of file diff --git a/node_modules/@actions/github/lib/utils.d.ts b/node_modules/@actions/github/lib/utils.d.ts deleted file mode 100644 index fe28cbd..0000000 --- a/node_modules/@actions/github/lib/utils.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import * as Context from './context'; -import { Octokit } from '@octokit/core'; -import { OctokitOptions } from '@octokit/core/dist-types/types'; -export declare const context: Context.Context; -export declare const GitHub: typeof Octokit & import("@octokit/core/dist-types/types").Constructor; -/** - * Convience function to correctly format Octokit Options to pass into the constructor. - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -export declare function getOctokitOptions(token: string, options?: OctokitOptions): OctokitOptions; diff --git a/node_modules/@actions/github/lib/utils.js b/node_modules/@actions/github/lib/utils.js deleted file mode 100644 index afb40e9..0000000 --- a/node_modules/@actions/github/lib/utils.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getOctokitOptions = exports.GitHub = exports.context = void 0; -const Context = __importStar(require("./context")); -const Utils = __importStar(require("./internal/utils")); -// octokit + plugins -const core_1 = require("@octokit/core"); -const plugin_rest_endpoint_methods_1 = require("@octokit/plugin-rest-endpoint-methods"); -const plugin_paginate_rest_1 = require("@octokit/plugin-paginate-rest"); -exports.context = new Context.Context(); -const baseUrl = Utils.getApiBaseUrl(); -const defaults = { - baseUrl, - request: { - agent: Utils.getProxyAgent(baseUrl) - } -}; -exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults); -/** - * Convience function to correctly format Octokit Options to pass into the constructor. - * - * @param token the repo PAT or GITHUB_TOKEN - * @param options other options to set - */ -function getOctokitOptions(token, options) { - const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller - // Auth - const auth = Utils.getAuthString(token, opts); - if (auth) { - opts.auth = auth; - } - return opts; -} -exports.getOctokitOptions = getOctokitOptions; -//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/github/lib/utils.js.map b/node_modules/@actions/github/lib/utils.js.map deleted file mode 100644 index 3a6f6b4..0000000 --- a/node_modules/@actions/github/lib/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,wDAAyC;AAEzC,oBAAoB;AACpB,wCAAqC;AAErC,wFAAyE;AACzE,wEAA0D;AAE7C,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAA;AACrC,MAAM,QAAQ,GAAG;IACf,OAAO;IACP,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;KACpC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,cAAO,CAAC,MAAM,CAClC,kDAAmB,EACnB,mCAAY,CACb,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAEpB;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,KAAa,EACb,OAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,IAAI,EAAE,CAAC,CAAA,CAAC,iEAAiE;IAE/G,OAAO;IACP,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC7C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;KACjB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAbD,8CAaC"} \ No newline at end of file diff --git a/node_modules/@actions/github/package.json b/node_modules/@actions/github/package.json deleted file mode 100644 index 091cebc..0000000 --- a/node_modules/@actions/github/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "@actions/github", - "version": "5.0.0", - "description": "Actions github lib", - "keywords": [ - "github", - "actions" - ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/github", - "license": "MIT", - "main": "lib/github.js", - "types": "lib/github.d.ts", - "directories": { - "lib": "lib", - "test": "__tests__" - }, - "files": [ - "lib", - "!.DS_Store" - ], - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/toolkit.git", - "directory": "packages/github" - }, - "scripts": { - "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", - "test": "jest", - "build": "tsc", - "format": "prettier --write **/*.ts", - "format-check": "prettier --check **/*.ts", - "tsc": "tsc" - }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "dependencies": { - "@actions/http-client": "^1.0.11", - "@octokit/core": "^3.4.0", - "@octokit/plugin-paginate-rest": "^2.13.3", - "@octokit/plugin-rest-endpoint-methods": "^5.1.1" - }, - "devDependencies": { - "jest": "^26.6.3", - "proxy": "^1.0.2" - } -} diff --git a/node_modules/@actions/http-client/LICENSE b/node_modules/@actions/http-client/LICENSE deleted file mode 100644 index 5823a51..0000000 --- a/node_modules/@actions/http-client/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -Actions Http Client for Node.js - -Copyright (c) GitHub, Inc. - -All rights reserved. - -MIT License - -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/@actions/http-client/README.md b/node_modules/@actions/http-client/README.md deleted file mode 100644 index be61eb3..0000000 --- a/node_modules/@actions/http-client/README.md +++ /dev/null @@ -1,79 +0,0 @@ - -

- -

- -# Actions Http-Client - -[![Http Status](https://github.com/actions/http-client/workflows/http-tests/badge.svg)](https://github.com/actions/http-client/actions) - -A lightweight HTTP client optimized for use with actions, TypeScript with generics and async await. - -## Features - - - HTTP client with TypeScript generics and async/await/Promises - - Typings included so no need to acquire separately (great for intellisense and no versioning drift) - - [Proxy support](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners#using-a-proxy-server-with-self-hosted-runners) just works with actions and the runner - - Targets ES2019 (runner runs actions with node 12+). Only supported on node 12+. - - Basic, Bearer and PAT Support out of the box. Extensible handlers for others. - - Redirects supported - -Features and releases [here](./RELEASES.md) - -## Install - -``` -npm install @actions/http-client --save -``` - -## Samples - -See the [HTTP](./__tests__) tests for detailed examples. - -## Errors - -### HTTP - -The HTTP client does not throw unless truly exceptional. - -* A request that successfully executes resulting in a 404, 500 etc... will return a response object with a status code and a body. -* Redirects (3xx) will be followed by default. - -See [HTTP tests](./__tests__) for detailed examples. - -## Debugging - -To enable detailed console logging of all HTTP requests and responses, set the NODE_DEBUG environment varible: - -``` -export NODE_DEBUG=http -``` - -## Node support - -The http-client is built using the latest LTS version of Node 12. It may work on previous node LTS versions but it's tested and officially supported on Node12+. - -## Support and Versioning - -We follow semver and will hold compatibility between major versions and increment the minor version with new features and capabilities (while holding compat). - -## Contributing - -We welcome PRs. Please create an issue and if applicable, a design before proceeding with code. - -once: - -```bash -$ npm install -``` - -To build: - -```bash -$ npm run build -``` - -To run all tests: -```bash -$ npm test -``` diff --git a/node_modules/@actions/http-client/RELEASES.md b/node_modules/@actions/http-client/RELEASES.md deleted file mode 100644 index 935178a..0000000 --- a/node_modules/@actions/http-client/RELEASES.md +++ /dev/null @@ -1,26 +0,0 @@ -## Releases - -## 1.0.10 - -Contains a bug fix where proxy is defined without a user and password. see [PR here](https://github.com/actions/http-client/pull/42) - -## 1.0.9 -Throw HttpClientError instead of a generic Error from the \Json() helper methods when the server responds with a non-successful status code. - -## 1.0.8 -Fixed security issue where a redirect (e.g. 302) to another domain would pass headers. The fix was to strip the authorization header if the hostname was different. More [details in PR #27](https://github.com/actions/http-client/pull/27) - -## 1.0.7 -Update NPM dependencies and add 429 to the list of HttpCodes - -## 1.0.6 -Automatically sends Content-Type and Accept application/json headers for \Json() helper methods if not set in the client or parameters. - -## 1.0.5 -Adds \Json() helper methods for json over http scenarios. - -## 1.0.4 -Started to add \Json() helper methods. Do not use this release for that. Use >= 1.0.5 since there was an issue with types. - -## 1.0.1 to 1.0.3 -Adds proxy support. diff --git a/node_modules/@actions/http-client/actions.png b/node_modules/@actions/http-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((!&p%M6obN)E6gUeoEeu9eu*^1&Vsl@>$6M83s% z9}ZRzA617#7b$|zv5dLo`Pt(hZlW`yzFNFo>`EAu!&6wY`-3&TBgl}u!?E0fa3w3% z1~|^yL#b49`s0xF26>9_%{rI$)7tFWbV8i9c%oF#x3!(Crc!&(tPCYxmIezbDZZ|+ zT*zT{Yq{0^vj6sicB%5!BkXd6smUBhqc8T8yoibItntJk|B4iXc*dP9uIh9a9Si7V zV*$&=6v6s{%j3Ci&4BgiU0}&>3bZHXV_1h8E}jg?AyGVCwb0R|=aqZEn`Gi&^NpZE z^f%;a1W7cn$Df_BdOuaArSe1(F+`u9M14g`Y4Be;{PvHV2Vis1Wm6fCDRs4LX@Mo> zdgp;{;>w;%qt1UCPr_et3Ve{!Y$yX7-ANF7WMm6jP$Ci)?)`)uVOf!pSFpeINJ&U^ zOps8J#vjK;J)UaRsqz5yQa$2bqkT3;+NC diff --git a/node_modules/@actions/http-client/auth.d.ts b/node_modules/@actions/http-client/auth.d.ts deleted file mode 100644 index 1094189..0000000 --- a/node_modules/@actions/http-client/auth.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import ifm = require('./interfaces'); -export declare class BasicCredentialHandler implements ifm.IRequestHandler { - username: string; - password: string; - constructor(username: string, password: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} -export declare class BearerCredentialHandler implements ifm.IRequestHandler { - token: string; - constructor(token: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} -export declare class PersonalAccessTokenCredentialHandler implements ifm.IRequestHandler { - token: string; - constructor(token: string); - prepareRequest(options: any): void; - canHandleAuthentication(response: ifm.IHttpClientResponse): boolean; - handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise; -} diff --git a/node_modules/@actions/http-client/auth.js b/node_modules/@actions/http-client/auth.js deleted file mode 100644 index 67a58aa..0000000 --- a/node_modules/@actions/http-client/auth.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -class BasicCredentialHandler { - constructor(username, password) { - this.username = username; - this.password = password; - } - prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + - Buffer.from(this.username + ':' + this.password).toString('base64'); - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.BasicCredentialHandler = BasicCredentialHandler; -class BearerCredentialHandler { - constructor(token) { - this.token = token; - } - // currently implements pre-authorization - // TODO: support preAuth = false where it hooks on 401 - prepareRequest(options) { - options.headers['Authorization'] = 'Bearer ' + this.token; - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.BearerCredentialHandler = BearerCredentialHandler; -class PersonalAccessTokenCredentialHandler { - constructor(token) { - this.token = token; - } - // currently implements pre-authorization - // TODO: support preAuth = false where it hooks on 401 - prepareRequest(options) { - options.headers['Authorization'] = - 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64'); - } - // This handler cannot handle 401 - canHandleAuthentication(response) { - return false; - } - handleAuthentication(httpClient, requestInfo, objs) { - return null; - } -} -exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; diff --git a/node_modules/@actions/http-client/index.d.ts b/node_modules/@actions/http-client/index.d.ts deleted file mode 100644 index 9583dc7..0000000 --- a/node_modules/@actions/http-client/index.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -/// -import http = require('http'); -import ifm = require('./interfaces'); -export declare enum HttpCodes { - OK = 200, - MultipleChoices = 300, - MovedPermanently = 301, - ResourceMoved = 302, - SeeOther = 303, - NotModified = 304, - UseProxy = 305, - SwitchProxy = 306, - TemporaryRedirect = 307, - PermanentRedirect = 308, - BadRequest = 400, - Unauthorized = 401, - PaymentRequired = 402, - Forbidden = 403, - NotFound = 404, - MethodNotAllowed = 405, - NotAcceptable = 406, - ProxyAuthenticationRequired = 407, - RequestTimeout = 408, - Conflict = 409, - Gone = 410, - TooManyRequests = 429, - InternalServerError = 500, - NotImplemented = 501, - BadGateway = 502, - ServiceUnavailable = 503, - GatewayTimeout = 504 -} -export declare enum Headers { - Accept = "accept", - ContentType = "content-type" -} -export declare enum MediaTypes { - ApplicationJson = "application/json" -} -/** - * Returns the proxy URL, depending upon the supplied url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ -export declare function getProxyUrl(serverUrl: string): string; -export declare class HttpClientError extends Error { - constructor(message: string, statusCode: number); - statusCode: number; - result?: any; -} -export declare class HttpClientResponse implements ifm.IHttpClientResponse { - constructor(message: http.IncomingMessage); - message: http.IncomingMessage; - readBody(): Promise; -} -export declare function isHttps(requestUrl: string): boolean; -export declare class HttpClient { - userAgent: string | undefined; - handlers: ifm.IRequestHandler[]; - requestOptions: ifm.IRequestOptions; - private _ignoreSslError; - private _socketTimeout; - private _allowRedirects; - private _allowRedirectDowngrade; - private _maxRedirects; - private _allowRetries; - private _maxRetries; - private _agent; - private _proxyAgent; - private _keepAlive; - private _disposed; - constructor(userAgent?: string, handlers?: ifm.IRequestHandler[], requestOptions?: ifm.IRequestOptions); - options(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - get(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - del(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - post(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - patch(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - put(requestUrl: string, data: string, additionalHeaders?: ifm.IHeaders): Promise; - head(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise; - sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: ifm.IHeaders): Promise; - /** - * Gets a typed object from an endpoint - * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise - */ - getJson(requestUrl: string, additionalHeaders?: ifm.IHeaders): Promise>; - postJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - putJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - patchJson(requestUrl: string, obj: any, additionalHeaders?: ifm.IHeaders): Promise>; - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: ifm.IHeaders): Promise; - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose(): void; - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info: ifm.IRequestInfo, data: string | NodeJS.ReadableStream): Promise; - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info: ifm.IRequestInfo, data: string | NodeJS.ReadableStream, onResult: (err: any, res: ifm.IHttpClientResponse) => void): void; - /** - * Gets an http agent. This function is useful when you need an http agent that handles - * routing through a proxy server - depending upon the url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ - getAgent(serverUrl: string): http.Agent; - private _prepareRequest; - private _mergeHeaders; - private _getExistingOrDefaultHeader; - private _getAgent; - private _performExponentialBackoff; - private static dateTimeDeserializer; - private _processResponse; -} diff --git a/node_modules/@actions/http-client/index.js b/node_modules/@actions/http-client/index.js deleted file mode 100644 index 43b2b10..0000000 --- a/node_modules/@actions/http-client/index.js +++ /dev/null @@ -1,537 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const http = require("http"); -const https = require("https"); -const pm = require("./proxy"); -let tunnel; -var HttpCodes; -(function (HttpCodes) { - HttpCodes[HttpCodes["OK"] = 200] = "OK"; - HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; - HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; - HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; - HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; - HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; - HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; - HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; - HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; - HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; - HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; - HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; - HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; - HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; - HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; - HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; - HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; - HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; - HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; - HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; - HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; - HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; - HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; - HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; - HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; - HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; - HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; -})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); -var Headers; -(function (Headers) { - Headers["Accept"] = "accept"; - Headers["ContentType"] = "content-type"; -})(Headers = exports.Headers || (exports.Headers = {})); -var MediaTypes; -(function (MediaTypes) { - MediaTypes["ApplicationJson"] = "application/json"; -})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); -/** - * Returns the proxy URL, depending upon the supplied url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ -function getProxyUrl(serverUrl) { - let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); - return proxyUrl ? proxyUrl.href : ''; -} -exports.getProxyUrl = getProxyUrl; -const HttpRedirectCodes = [ - HttpCodes.MovedPermanently, - HttpCodes.ResourceMoved, - HttpCodes.SeeOther, - HttpCodes.TemporaryRedirect, - HttpCodes.PermanentRedirect -]; -const HttpResponseRetryCodes = [ - HttpCodes.BadGateway, - HttpCodes.ServiceUnavailable, - HttpCodes.GatewayTimeout -]; -const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; -const ExponentialBackoffCeiling = 10; -const ExponentialBackoffTimeSlice = 5; -class HttpClientError extends Error { - constructor(message, statusCode) { - super(message); - this.name = 'HttpClientError'; - this.statusCode = statusCode; - Object.setPrototypeOf(this, HttpClientError.prototype); - } -} -exports.HttpClientError = HttpClientError; -class HttpClientResponse { - constructor(message) { - this.message = message; - } - readBody() { - return new Promise(async (resolve, reject) => { - let output = Buffer.alloc(0); - this.message.on('data', (chunk) => { - output = Buffer.concat([output, chunk]); - }); - this.message.on('end', () => { - resolve(output.toString()); - }); - }); - } -} -exports.HttpClientResponse = HttpClientResponse; -function isHttps(requestUrl) { - let parsedUrl = new URL(requestUrl); - return parsedUrl.protocol === 'https:'; -} -exports.isHttps = isHttps; -class HttpClient { - constructor(userAgent, handlers, requestOptions) { - this._ignoreSslError = false; - this._allowRedirects = true; - this._allowRedirectDowngrade = false; - this._maxRedirects = 50; - this._allowRetries = false; - this._maxRetries = 1; - this._keepAlive = false; - this._disposed = false; - this.userAgent = userAgent; - this.handlers = handlers || []; - this.requestOptions = requestOptions; - if (requestOptions) { - if (requestOptions.ignoreSslError != null) { - this._ignoreSslError = requestOptions.ignoreSslError; - } - this._socketTimeout = requestOptions.socketTimeout; - if (requestOptions.allowRedirects != null) { - this._allowRedirects = requestOptions.allowRedirects; - } - if (requestOptions.allowRedirectDowngrade != null) { - this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; - } - if (requestOptions.maxRedirects != null) { - this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); - } - if (requestOptions.keepAlive != null) { - this._keepAlive = requestOptions.keepAlive; - } - if (requestOptions.allowRetries != null) { - this._allowRetries = requestOptions.allowRetries; - } - if (requestOptions.maxRetries != null) { - this._maxRetries = requestOptions.maxRetries; - } - } - } - options(requestUrl, additionalHeaders) { - return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); - } - get(requestUrl, additionalHeaders) { - return this.request('GET', requestUrl, null, additionalHeaders || {}); - } - del(requestUrl, additionalHeaders) { - return this.request('DELETE', requestUrl, null, additionalHeaders || {}); - } - post(requestUrl, data, additionalHeaders) { - return this.request('POST', requestUrl, data, additionalHeaders || {}); - } - patch(requestUrl, data, additionalHeaders) { - return this.request('PATCH', requestUrl, data, additionalHeaders || {}); - } - put(requestUrl, data, additionalHeaders) { - return this.request('PUT', requestUrl, data, additionalHeaders || {}); - } - head(requestUrl, additionalHeaders) { - return this.request('HEAD', requestUrl, null, additionalHeaders || {}); - } - sendStream(verb, requestUrl, stream, additionalHeaders) { - return this.request(verb, requestUrl, stream, additionalHeaders); - } - /** - * Gets a typed object from an endpoint - * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise - */ - async getJson(requestUrl, additionalHeaders = {}) { - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - let res = await this.get(requestUrl, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async postJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.post(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async putJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.put(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - async patchJson(requestUrl, obj, additionalHeaders = {}) { - let data = JSON.stringify(obj, null, 2); - additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); - additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); - let res = await this.patch(requestUrl, data, additionalHeaders); - return this._processResponse(res, this.requestOptions); - } - /** - * Makes a raw http request. - * All other methods such as get, post, patch, and request ultimately call this. - * Prefer get, del, post and patch - */ - async request(verb, requestUrl, data, headers) { - if (this._disposed) { - throw new Error('Client has already been disposed.'); - } - let parsedUrl = new URL(requestUrl); - let info = this._prepareRequest(verb, parsedUrl, headers); - // Only perform retries on reads since writes may not be idempotent. - let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 - ? this._maxRetries + 1 - : 1; - let numTries = 0; - let response; - while (numTries < maxTries) { - response = await this.requestRaw(info, data); - // Check if it's an authentication challenge - if (response && - response.message && - response.message.statusCode === HttpCodes.Unauthorized) { - let authenticationHandler; - for (let i = 0; i < this.handlers.length; i++) { - if (this.handlers[i].canHandleAuthentication(response)) { - authenticationHandler = this.handlers[i]; - break; - } - } - if (authenticationHandler) { - return authenticationHandler.handleAuthentication(this, info, data); - } - else { - // We have received an unauthorized response but have no handlers to handle it. - // Let the response return to the caller. - return response; - } - } - let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && - this._allowRedirects && - redirectsRemaining > 0) { - const redirectUrl = response.message.headers['location']; - if (!redirectUrl) { - // if there's no location to redirect to, we won't - break; - } - let parsedRedirectUrl = new URL(redirectUrl); - if (parsedUrl.protocol == 'https:' && - parsedUrl.protocol != parsedRedirectUrl.protocol && - !this._allowRedirectDowngrade) { - throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); - } - // we need to finish reading the response before reassigning response - // which will leak the open socket. - await response.readBody(); - // strip authorization header if redirected to a different hostname - if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { - for (let header in headers) { - // header names are case insensitive - if (header.toLowerCase() === 'authorization') { - delete headers[header]; - } - } - } - // let's make the request with the new redirectUrl - info = this._prepareRequest(verb, parsedRedirectUrl, headers); - response = await this.requestRaw(info, data); - redirectsRemaining--; - } - if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { - // If not a retry code, return immediately instead of retrying - return response; - } - numTries += 1; - if (numTries < maxTries) { - await response.readBody(); - await this._performExponentialBackoff(numTries); - } - } - return response; - } - /** - * Needs to be called if keepAlive is set to true in request options. - */ - dispose() { - if (this._agent) { - this._agent.destroy(); - } - this._disposed = true; - } - /** - * Raw request. - * @param info - * @param data - */ - requestRaw(info, data) { - return new Promise((resolve, reject) => { - let callbackForResult = function (err, res) { - if (err) { - reject(err); - } - resolve(res); - }; - this.requestRawWithCallback(info, data, callbackForResult); - }); - } - /** - * Raw request with callback. - * @param info - * @param data - * @param onResult - */ - requestRawWithCallback(info, data, onResult) { - let socket; - if (typeof data === 'string') { - info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); - } - let callbackCalled = false; - let handleResult = (err, res) => { - if (!callbackCalled) { - callbackCalled = true; - onResult(err, res); - } - }; - let req = info.httpModule.request(info.options, (msg) => { - let res = new HttpClientResponse(msg); - handleResult(null, res); - }); - req.on('socket', sock => { - socket = sock; - }); - // If we ever get disconnected, we want the socket to timeout eventually - req.setTimeout(this._socketTimeout || 3 * 60000, () => { - if (socket) { - socket.end(); - } - handleResult(new Error('Request timeout: ' + info.options.path), null); - }); - req.on('error', function (err) { - // err has statusCode property - // res should have headers - handleResult(err, null); - }); - if (data && typeof data === 'string') { - req.write(data, 'utf8'); - } - if (data && typeof data !== 'string') { - data.on('close', function () { - req.end(); - }); - data.pipe(req); - } - else { - req.end(); - } - } - /** - * Gets an http agent. This function is useful when you need an http agent that handles - * routing through a proxy server - depending upon the url and proxy environment variables. - * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com - */ - getAgent(serverUrl) { - let parsedUrl = new URL(serverUrl); - return this._getAgent(parsedUrl); - } - _prepareRequest(method, requestUrl, headers) { - const info = {}; - info.parsedUrl = requestUrl; - const usingSsl = info.parsedUrl.protocol === 'https:'; - info.httpModule = usingSsl ? https : http; - const defaultPort = usingSsl ? 443 : 80; - info.options = {}; - info.options.host = info.parsedUrl.hostname; - info.options.port = info.parsedUrl.port - ? parseInt(info.parsedUrl.port) - : defaultPort; - info.options.path = - (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); - info.options.method = method; - info.options.headers = this._mergeHeaders(headers); - if (this.userAgent != null) { - info.options.headers['user-agent'] = this.userAgent; - } - info.options.agent = this._getAgent(info.parsedUrl); - // gives handlers an opportunity to participate - if (this.handlers) { - this.handlers.forEach(handler => { - handler.prepareRequest(info.options); - }); - } - return info; - } - _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - if (this.requestOptions && this.requestOptions.headers) { - return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); - } - return lowercaseKeys(headers || {}); - } - _getExistingOrDefaultHeader(additionalHeaders, header, _default) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); - let clientHeader; - if (this.requestOptions && this.requestOptions.headers) { - clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; - } - return additionalHeaders[header] || clientHeader || _default; - } - _getAgent(parsedUrl) { - let agent; - let proxyUrl = pm.getProxyUrl(parsedUrl); - let useProxy = proxyUrl && proxyUrl.hostname; - if (this._keepAlive && useProxy) { - agent = this._proxyAgent; - } - if (this._keepAlive && !useProxy) { - agent = this._agent; - } - // if agent is already assigned use that agent. - if (!!agent) { - return agent; - } - const usingSsl = parsedUrl.protocol === 'https:'; - let maxSockets = 100; - if (!!this.requestOptions) { - maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; - } - if (useProxy) { - // If using proxy, need tunnel - if (!tunnel) { - tunnel = require('tunnel'); - } - const agentOptions = { - maxSockets: maxSockets, - keepAlive: this._keepAlive, - proxy: { - ...((proxyUrl.username || proxyUrl.password) && { - proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` - }), - host: proxyUrl.hostname, - port: proxyUrl.port - } - }; - let tunnelAgent; - const overHttps = proxyUrl.protocol === 'https:'; - if (usingSsl) { - tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; - } - else { - tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; - } - agent = tunnelAgent(agentOptions); - this._proxyAgent = agent; - } - // if reusing agent across request and tunneling agent isn't assigned create a new agent - if (this._keepAlive && !agent) { - const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; - agent = usingSsl ? new https.Agent(options) : new http.Agent(options); - this._agent = agent; - } - // if not using private agent and tunnel agent isn't setup then use global agent - if (!agent) { - agent = usingSsl ? https.globalAgent : http.globalAgent; - } - if (usingSsl && this._ignoreSslError) { - // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process - // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options - // we have to cast it to any and change it directly - agent.options = Object.assign(agent.options || {}, { - rejectUnauthorized: false - }); - } - return agent; - } - _performExponentialBackoff(retryNumber) { - retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise(resolve => setTimeout(() => resolve(), ms)); - } - static dateTimeDeserializer(key, value) { - if (typeof value === 'string') { - let a = new Date(value); - if (!isNaN(a.valueOf())) { - return a; - } - } - return value; - } - async _processResponse(res, options) { - return new Promise(async (resolve, reject) => { - const statusCode = res.message.statusCode; - const response = { - statusCode: statusCode, - result: null, - headers: {} - }; - // not found leads to null obj returned - if (statusCode == HttpCodes.NotFound) { - resolve(response); - } - let obj; - let contents; - // get the result from the body - try { - contents = await res.readBody(); - if (contents && contents.length > 0) { - if (options && options.deserializeDates) { - obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); - } - else { - obj = JSON.parse(contents); - } - response.result = obj; - } - response.headers = res.message.headers; - } - catch (err) { - // Invalid resource (contents not json); leaving result obj null - } - // note that 3xx redirects are handled by the http layer. - if (statusCode > 299) { - let msg; - // if exception/error in body, attempt to get better error - if (obj && obj.message) { - msg = obj.message; - } - else if (contents && contents.length > 0) { - // it may be the case that the exception is in the body message as string - msg = contents; - } - else { - msg = 'Failed request: (' + statusCode + ')'; - } - let err = new HttpClientError(msg, statusCode); - err.result = response.result; - reject(err); - } - else { - resolve(response); - } - }); - } -} -exports.HttpClient = HttpClient; diff --git a/node_modules/@actions/http-client/interfaces.d.ts b/node_modules/@actions/http-client/interfaces.d.ts deleted file mode 100644 index 78bd85b..0000000 --- a/node_modules/@actions/http-client/interfaces.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/// -import http = require('http'); -export interface IHeaders { - [key: string]: any; -} -export interface IHttpClient { - options(requestUrl: string, additionalHeaders?: IHeaders): Promise; - get(requestUrl: string, additionalHeaders?: IHeaders): Promise; - del(requestUrl: string, additionalHeaders?: IHeaders): Promise; - post(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - patch(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - put(requestUrl: string, data: string, additionalHeaders?: IHeaders): Promise; - sendStream(verb: string, requestUrl: string, stream: NodeJS.ReadableStream, additionalHeaders?: IHeaders): Promise; - request(verb: string, requestUrl: string, data: string | NodeJS.ReadableStream, headers: IHeaders): Promise; - requestRaw(info: IRequestInfo, data: string | NodeJS.ReadableStream): Promise; - requestRawWithCallback(info: IRequestInfo, data: string | NodeJS.ReadableStream, onResult: (err: any, res: IHttpClientResponse) => void): void; -} -export interface IRequestHandler { - prepareRequest(options: http.RequestOptions): void; - canHandleAuthentication(response: IHttpClientResponse): boolean; - handleAuthentication(httpClient: IHttpClient, requestInfo: IRequestInfo, objs: any): Promise; -} -export interface IHttpClientResponse { - message: http.IncomingMessage; - readBody(): Promise; -} -export interface IRequestInfo { - options: http.RequestOptions; - parsedUrl: URL; - httpModule: any; -} -export interface IRequestOptions { - headers?: IHeaders; - socketTimeout?: number; - ignoreSslError?: boolean; - allowRedirects?: boolean; - allowRedirectDowngrade?: boolean; - maxRedirects?: number; - maxSockets?: number; - keepAlive?: boolean; - deserializeDates?: boolean; - allowRetries?: boolean; - maxRetries?: number; -} -export interface ITypedResponse { - statusCode: number; - result: T | null; - headers: Object; -} diff --git a/node_modules/@actions/http-client/interfaces.js b/node_modules/@actions/http-client/interfaces.js deleted file mode 100644 index c8ad2e5..0000000 --- a/node_modules/@actions/http-client/interfaces.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/node_modules/@actions/http-client/package.json b/node_modules/@actions/http-client/package.json deleted file mode 100644 index 0c99fd4..0000000 --- a/node_modules/@actions/http-client/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@actions/http-client", - "version": "1.0.11", - "description": "Actions Http Client", - "main": "index.js", - "scripts": { - "build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out", - "test": "jest", - "format": "prettier --write *.ts && prettier --write **/*.ts", - "format-check": "prettier --check *.ts && prettier --check **/*.ts", - "audit-check": "npm audit --audit-level=moderate" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/http-client.git" - }, - "keywords": [ - "Actions", - "Http" - ], - "author": "GitHub, Inc.", - "license": "MIT", - "bugs": { - "url": "https://github.com/actions/http-client/issues" - }, - "homepage": "https://github.com/actions/http-client#readme", - "devDependencies": { - "@types/jest": "^25.1.4", - "@types/node": "^12.12.31", - "jest": "^25.1.0", - "prettier": "^2.0.4", - "proxy": "^1.0.1", - "ts-jest": "^25.2.1", - "typescript": "^3.8.3" - }, - "dependencies": { - "tunnel": "0.0.6" - } -} diff --git a/node_modules/@actions/http-client/proxy.d.ts b/node_modules/@actions/http-client/proxy.d.ts deleted file mode 100644 index 4599865..0000000 --- a/node_modules/@actions/http-client/proxy.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare function getProxyUrl(reqUrl: URL): URL | undefined; -export declare function checkBypass(reqUrl: URL): boolean; diff --git a/node_modules/@actions/http-client/proxy.js b/node_modules/@actions/http-client/proxy.js deleted file mode 100644 index 88f00ec..0000000 --- a/node_modules/@actions/http-client/proxy.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === 'https:'; - let proxyUrl; - if (checkBypass(reqUrl)) { - return proxyUrl; - } - let proxyVar; - if (usingSsl) { - proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; - } - else { - proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; - } - if (proxyVar) { - proxyUrl = new URL(proxyVar); - } - return proxyUrl; -} -exports.getProxyUrl = getProxyUrl; -function checkBypass(reqUrl) { - if (!reqUrl.hostname) { - return false; - } - let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; - if (!noProxy) { - return false; - } - // Determine the request port - let reqPort; - if (reqUrl.port) { - reqPort = Number(reqUrl.port); - } - else if (reqUrl.protocol === 'http:') { - reqPort = 80; - } - else if (reqUrl.protocol === 'https:') { - reqPort = 443; - } - // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; - if (typeof reqPort === 'number') { - upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); - } - // Compare request host against noproxy - for (let upperNoProxyItem of noProxy - .split(',') - .map(x => x.trim().toUpperCase()) - .filter(x => x)) { - if (upperReqHosts.some(x => x === upperNoProxyItem)) { - return true; - } - } - return false; -} -exports.checkBypass = checkBypass; diff --git a/node_modules/@ampproject/remapping/LICENSE b/node_modules/@ampproject/remapping/LICENSE deleted file mode 100644 index f367dfb..0000000 --- a/node_modules/@ampproject/remapping/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Google LLC - - 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. diff --git a/node_modules/@ampproject/remapping/README.md b/node_modules/@ampproject/remapping/README.md deleted file mode 100644 index 07abb24..0000000 --- a/node_modules/@ampproject/remapping/README.md +++ /dev/null @@ -1,211 +0,0 @@ -# @ampproject/remapping - -> Remap sequential sourcemaps through transformations to point at the original source code - -Remapping allows you to take the sourcemaps generated through transforming your code and -"remap" them to the original source locations. Think "my minified code, transformed with babel and -bundled with webpack", all pointing to the correct location in your original source code. - -With remapping, none of your source code transformations need to be aware of the input's sourcemap, -they only need to generate an output sourcemap. This greatly simplifies building custom -transformations (think a find-and-replace). - -## Installation - -```sh -npm install @ampproject/remapping -``` - -## Usage - -```typescript -function remapping( - map: SourceMap | SourceMap[], - loader: (file: string, ctx: LoaderContext) => (SourceMap | null | undefined), - options?: { excludeContent: boolean, decodedMappings: boolean } -): SourceMap; - -// LoaderContext gives the loader the importing sourcemap, and the ability to override the "source" -// location (where nested sources are resolved relative to, and where an original source exists), -// and the ability to override the "content" of an original sourcemap for inclusion in the output -// sourcemap. -type LoaderContext = { - readonly importer: string; - source: string; - content: string | null | undefined; -} -``` - -`remapping` takes the final output sourcemap, and a `loader` function. For every source file pointer -in the sourcemap, the `loader` will be called with the resolved path. If the path itself represents -a transformed file (it has a sourcmap associated with it), then the `loader` should return that -sourcemap. If not, the path will be treated as an original, untransformed source code. - -```js -// Babel transformed "helloworld.js" into "transformed.js" -const transformedMap = JSON.stringify({ - file: 'transformed.js', - // 1st column of 2nd line of output file translates into the 1st source - // file, line 3, column 2 - mappings: ';CAEE', - sources: ['helloworld.js'], - version: 3, -}); - -// Uglify minified "transformed.js" into "transformed.min.js" -const minifiedTransformedMap = JSON.stringify({ - file: 'transformed.min.js', - // 0th column of 1st line of output file translates into the 1st source - // file, line 2, column 1. - mappings: 'AACC', - names: [], - sources: ['transformed.js'], - version: 3, -}); - -const remapped = remapping( - minifiedTransformedMap, - (file, ctx) => { - - // The "transformed.js" file is an transformed file. - if (file === 'transformed.js') { - // The root importer is empty. - console.assert(ctx.importer === ''); - - return transformedMap; - } - - // Loader will be called to load transformedMap's source file pointers as well. - console.assert(file === 'helloworld.js'); - // `transformed.js`'s sourcemap points into `helloworld.js`. - console.assert(ctx.importer === 'transformed.js'); - return null; - } -); - -console.log(remapped); -// { -// file: 'transpiled.min.js', -// mappings: 'AAEE', -// sources: ['helloworld.js'], -// version: 3, -// }; -``` - -In this example, `loader` will be called twice: - -1. `"transformed.js"`, the first source file pointer in the `minifiedTransformedMap`. We return the - associated sourcemap for it (its a transformed file, after all) so that sourcemap locations can - be traced through it into the source files it represents. -2. `"helloworld.js"`, our original, unmodified source code. This file does not have a sourcemap, so - we return `null`. - -The `remapped` sourcemap now points from `transformed.min.js` into locations in `helloworld.js`. If -you were to read the `mappings`, it says "0th column of the first line output line points to the 1st -column of the 2nd line of the file `helloworld.js`". - -### Multiple transformations of a file - -As a convenience, if you have multiple single-source transformations of a file, you may pass an -array of sourcemap files in the order of most-recent transformation sourcemap first. So our above -example could have been writen as: - -```js -const remapped = remapping( - [minifiedTransformedMap, transformedMap], - () => null -); - -console.log(remapped); -// { -// file: 'transpiled.min.js', -// mappings: 'AAEE', -// sources: ['helloworld.js'], -// version: 3, -// }; -``` - -### Advanced control of the loading graph - -#### `source` - -The `source` property can overridden to any value to change the location of the current load. Eg, -for an original source file, it allows us to change the filepath to the original source regardless -of what the sourcemap source entry says. And for transformed files, it allows us to change the -resolving location for nested sources files of the loaded sourcemap. - -```js -const remapped = remapping( - minifiedTransformedMap, - (file, ctx) => { - - if (file === 'transformed.js') { - // We pretend the transformed.js file actually exists in the 'src/' directory. When the nested - // source files are loaded, they will now be relative to `src/`. - ctx.source = 'src/transformed.js'; - return transformedMap; - } - - console.assert(file === 'src/helloworld.js'); - // We could futher change the source of this original file, eg, to be inside a nested directory - // itself. This will be reflected in the remapped sourcemap. - ctx.source = 'src/nested/transformed.js'; - return null; - } -); - -console.log(remapped); -// { -// …, -// sources: ['src/nested/helloworld.js'], -// }; -``` - - -#### `content` - -The `content` property can be overridden when we encounter an original source file. Eg, this allows -you to manually provide the source content of the file regardless of whether the `sourcesContent` -field is present in the parent sourcemap. Or, it can be set to `null` to remove the source content. - -```js -const remapped = remapping( - minifiedTransformedMap, - (file, ctx) => { - - if (file === 'transformed.js') { - // transformedMap does not include a `sourcesContent` field, so usually the remapped sourcemap - // would not include any `sourcesContent` values. - return transformedMap; - } - - console.assert(file === 'helloworld.js'); - // We can read the file to provide the source content. - ctx.content = fs.readFileSync(file, 'utf8'); - return null; - } -); - -console.log(remapped); -// { -// …, -// sourcesContent: [ -// 'console.log("Hello world!")', -// ], -// }; -``` - -### Options - -#### excludeContent - -By default, `excludeContent` is `false`. Passing `{ excludeContent: true }` -will exclude the `sourcesContent` field from the returned sourcemap. This is -mainly useful when you want to reduce the size out the sourcemap. - -#### decodedMappings - -By default, `decodedMappings` is `false`. Passing `{ decodedMappings: true }` -will leave the `mappings` field in a [decoded -state](https://github.com/rich-harris/sourcemap-codec) instead of encoding -into a VLQ string. diff --git a/node_modules/@ampproject/remapping/dist/remapping.mjs b/node_modules/@ampproject/remapping/dist/remapping.mjs deleted file mode 100644 index ff95fe6..0000000 --- a/node_modules/@ampproject/remapping/dist/remapping.mjs +++ /dev/null @@ -1,274 +0,0 @@ -import { traceSegment, decodedMappings, presortedDecodedMap, TraceMap, encodedMappings } from '@jridgewell/trace-mapping'; - -/** - * A "leaf" node in the sourcemap tree, representing an original, unmodified - * source file. Recursive segment tracing ends at the `OriginalSource`. - */ -class OriginalSource { - constructor(source, content) { - this.source = source; - this.content = content; - } - /** - * Tracing a `SourceMapSegment` ends when we get to an `OriginalSource`, - * meaning this line/column location originated from this source file. - */ - originalPositionFor(line, column, name) { - return { column, line, name, source: this.source, content: this.content }; - } -} - -/** - * Puts `key` into the backing array, if it is not already present. Returns - * the index of the `key` in the backing array. - */ -let put; -/** - * FastStringArray acts like a `Set` (allowing only one occurrence of a string - * `key`), but provides the index of the `key` in the backing array. - * - * This is designed to allow synchronizing a second array with the contents of - * the backing array, like how `sourcesContent[i]` is the source content - * associated with `source[i]`, and there are never duplicates. - */ -class FastStringArray { - constructor() { - this.indexes = Object.create(null); - this.array = []; - } -} -(() => { - put = (strarr, key) => { - const { array, indexes } = strarr; - // The key may or may not be present. If it is present, it's a number. - let index = indexes[key]; - // If it's not yet present, we need to insert it and track the index in the - // indexes. - if (index === undefined) { - index = indexes[key] = array.length; - array.push(key); - } - return index; - }; -})(); - -const INVALID_MAPPING = undefined; -const SOURCELESS_MAPPING = null; -/** - * traceMappings is only called on the root level SourceMapTree, and begins the process of - * resolving each mapping in terms of the original source files. - */ -let traceMappings; -/** - * SourceMapTree represents a single sourcemap, with the ability to trace - * mappings into its child nodes (which may themselves be SourceMapTrees). - */ -class SourceMapTree { - constructor(map, sources) { - this.map = map; - this.sources = sources; - } - /** - * originalPositionFor is only called on children SourceMapTrees. It recurses down - * into its own child SourceMapTrees, until we find the original source map. - */ - originalPositionFor(line, column, name) { - const segment = traceSegment(this.map, line, column); - // If we couldn't find a segment, then this doesn't exist in the sourcemap. - if (segment == null) - return INVALID_MAPPING; - // 1-length segments only move the current generated column, there's no source information - // to gather from it. - if (segment.length === 1) - return SOURCELESS_MAPPING; - const source = this.sources[segment[1]]; - return source.originalPositionFor(segment[2], segment[3], segment.length === 5 ? this.map.names[segment[4]] : name); - } -} -(() => { - traceMappings = (tree) => { - const mappings = []; - const names = new FastStringArray(); - const sources = new FastStringArray(); - const sourcesContent = []; - const { sources: rootSources, map } = tree; - const rootNames = map.names; - const rootMappings = decodedMappings(map); - let lastLineWithSegment = -1; - for (let i = 0; i < rootMappings.length; i++) { - const segments = rootMappings[i]; - const tracedSegments = []; - let lastSourcesIndex = -1; - let lastSourceLine = -1; - let lastSourceColumn = -1; - for (let j = 0; j < segments.length; j++) { - const segment = segments[j]; - let traced = SOURCELESS_MAPPING; - // 1-length segments only move the current generated column, there's no source information - // to gather from it. - if (segment.length !== 1) { - const source = rootSources[segment[1]]; - traced = source.originalPositionFor(segment[2], segment[3], segment.length === 5 ? rootNames[segment[4]] : ''); - // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a - // respective segment into an original source. - if (traced === INVALID_MAPPING) - continue; - } - const genCol = segment[0]; - if (traced === SOURCELESS_MAPPING) { - if (lastSourcesIndex === -1) { - // This is a consecutive source-less segment, which doesn't carry any new information. - continue; - } - lastSourcesIndex = lastSourceLine = lastSourceColumn = -1; - tracedSegments.push([genCol]); - continue; - } - // So we traced a segment down into its original source file. Now push a - // new segment pointing to this location. - const { column, line, name, content, source } = traced; - // Store the source location, and ensure we keep sourcesContent up to - // date with the sources array. - const sourcesIndex = put(sources, source); - sourcesContent[sourcesIndex] = content; - if (lastSourcesIndex === sourcesIndex && - lastSourceLine === line && - lastSourceColumn === column) { - // This is a duplicate mapping pointing at the exact same starting point in the source - // file. It doesn't carry any new information, and only bloats the sourcemap. - continue; - } - lastLineWithSegment = i; - lastSourcesIndex = sourcesIndex; - lastSourceLine = line; - lastSourceColumn = column; - // This looks like unnecessary duplication, but it noticeably increases performance. If we - // were to push the nameIndex onto length-4 array, v8 would internally allocate 22 slots! - // That's 68 wasted bytes! Array literals have the same capacity as their length, saving - // memory. - tracedSegments.push(name - ? [genCol, sourcesIndex, line, column, put(names, name)] - : [genCol, sourcesIndex, line, column]); - } - mappings.push(tracedSegments); - } - if (mappings.length > lastLineWithSegment + 1) { - mappings.length = lastLineWithSegment + 1; - } - return presortedDecodedMap(Object.assign({}, tree.map, { - mappings, - // TODO: Make all sources relative to the sourceRoot. - sourceRoot: undefined, - names: names.array, - sources: sources.array, - sourcesContent, - })); - }; -})(); - -function asArray(value) { - if (Array.isArray(value)) - return value; - return [value]; -} -/** - * Recursively builds a tree structure out of sourcemap files, with each node - * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of - * `OriginalSource`s and `SourceMapTree`s. - * - * Every sourcemap is composed of a collection of source files and mappings - * into locations of those source files. When we generate a `SourceMapTree` for - * the sourcemap, we attempt to load each source file's own sourcemap. If it - * does not have an associated sourcemap, it is considered an original, - * unmodified source file. - */ -function buildSourceMapTree(input, loader) { - const maps = asArray(input).map((m) => new TraceMap(m, '')); - const map = maps.pop(); - for (let i = 0; i < maps.length; i++) { - if (maps[i].sources.length > 1) { - throw new Error(`Transformation map ${i} must have exactly one source file.\n` + - 'Did you specify these with the most recent transformation maps first?'); - } - } - let tree = build(map, '', loader); - for (let i = maps.length - 1; i >= 0; i--) { - tree = new SourceMapTree(maps[i], [tree]); - } - return tree; -} -function build(map, importer, loader) { - const { resolvedSources, sourcesContent } = map; - const children = resolvedSources.map((sourceFile, i) => { - // The loading context gives the loader more information about why this file is being loaded - // (eg, from which importer). It also allows the loader to override the location of the loaded - // sourcemap/original source, or to override the content in the sourcesContent field if it's - // an unmodified source file. - const ctx = { - importer, - source: sourceFile || '', - content: undefined, - }; - // Use the provided loader callback to retrieve the file's sourcemap. - // TODO: We should eventually support async loading of sourcemap files. - const sourceMap = loader(ctx.source, ctx); - const { source, content } = ctx; - // If there is no sourcemap, then it is an unmodified source file. - if (!sourceMap) { - // The contents of this unmodified source file can be overridden via the loader context, - // allowing it to be explicitly null or a string. If it remains undefined, we fall back to - // the importing sourcemap's `sourcesContent` field. - const sourceContent = content !== undefined ? content : sourcesContent ? sourcesContent[i] : null; - return new OriginalSource(source, sourceContent); - } - // Else, it's a real sourcemap, and we need to recurse into it to load its - // source files. - return build(new TraceMap(sourceMap, source), source, loader); - }); - return new SourceMapTree(map, children); -} - -/** - * A SourceMap v3 compatible sourcemap, which only includes fields that were - * provided to it. - */ -class SourceMap { - constructor(map, options) { - this.version = 3; // SourceMap spec says this should be first. - this.file = map.file; - this.mappings = options.decodedMappings ? decodedMappings(map) : encodedMappings(map); - this.names = map.names; - this.sourceRoot = map.sourceRoot; - this.sources = map.sources; - if (!options.excludeContent && 'sourcesContent' in map) { - this.sourcesContent = map.sourcesContent; - } - } - toString() { - return JSON.stringify(this); - } -} - -/** - * Traces through all the mappings in the root sourcemap, through the sources - * (and their sourcemaps), all the way back to the original source location. - * - * `loader` will be called every time we encounter a source file. If it returns - * a sourcemap, we will recurse into that sourcemap to continue the trace. If - * it returns a falsey value, that source file is treated as an original, - * unmodified source file. - * - * Pass `excludeContent` to exclude any self-containing source file content - * from the output sourcemap. - * - * Pass `decodedMappings` to receive a SourceMap with decoded (instead of - * VLQ encoded) mappings. - */ -function remapping(input, loader, options) { - const opts = typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false }; - const tree = buildSourceMapTree(input, loader); - return new SourceMap(traceMappings(tree), opts); -} - -export { remapping as default }; -//# sourceMappingURL=remapping.mjs.map diff --git a/node_modules/@ampproject/remapping/dist/remapping.mjs.map b/node_modules/@ampproject/remapping/dist/remapping.mjs.map deleted file mode 100644 index 7105cc2..0000000 --- a/node_modules/@ampproject/remapping/dist/remapping.mjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"remapping.mjs","sources":["../../src/original-source.ts","../../src/fast-string-array.ts","../../src/source-map-tree.ts","../../src/build-source-map-tree.ts","../../src/source-map.ts","../../src/remapping.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":";;AAEA;;;;MAIqB,cAAc;IAIjC,YAAY,MAAc,EAAE,OAAsB;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;KACxB;;;;;IAMD,mBAAmB,CAAC,IAAY,EAAE,MAAc,EAAE,IAAY;QAC5D,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;KAC3E;;;ACrBH;;;;AAIO,IAAI,GAAqD,CAAC;AAEjE;;;;;;;;MAQa,eAAe;IAA5B;QACE,YAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAA8B,CAAC;QAC3D,UAAK,GAAG,EAA2B,CAAC;KAkBrC;CAAA;AAhBC;IACE,GAAG,GAAG,CAAC,MAAM,EAAE,GAAG;QAChB,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;;QAElC,IAAI,KAAK,GAAG,OAAO,CAAC,GAAG,CAAuB,CAAC;;;QAI/C,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC;YACnC,KAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SAC/B;QAED,OAAO,KAAK,CAAC;KACd,CA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AClBH;;;;;;;;;;;;;;;SAewB,SAAS,CAC/B,KAAwC,EACxC,MAAuB,EACvB,OAA2B;IAE3B,MAAM,IAAI,GACR,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,EAAE,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;IAChG,MAAM,IAAI,GAAG,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/C,OAAO,IAAI,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;AAClD;;;;"} \ No newline at end of file diff --git a/node_modules/@ampproject/remapping/dist/remapping.umd.js b/node_modules/@ampproject/remapping/dist/remapping.umd.js deleted file mode 100644 index 8a3347b..0000000 --- a/node_modules/@ampproject/remapping/dist/remapping.umd.js +++ /dev/null @@ -1,280 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@jridgewell/trace-mapping')) : - typeof define === 'function' && define.amd ? define(['@jridgewell/trace-mapping'], factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.remapping = factory(global.traceMapping)); -})(this, (function (traceMapping) { 'use strict'; - - /** - * A "leaf" node in the sourcemap tree, representing an original, unmodified - * source file. Recursive segment tracing ends at the `OriginalSource`. - */ - class OriginalSource { - constructor(source, content) { - this.source = source; - this.content = content; - } - /** - * Tracing a `SourceMapSegment` ends when we get to an `OriginalSource`, - * meaning this line/column location originated from this source file. - */ - originalPositionFor(line, column, name) { - return { column, line, name, source: this.source, content: this.content }; - } - } - - /** - * Puts `key` into the backing array, if it is not already present. Returns - * the index of the `key` in the backing array. - */ - let put; - /** - * FastStringArray acts like a `Set` (allowing only one occurrence of a string - * `key`), but provides the index of the `key` in the backing array. - * - * This is designed to allow synchronizing a second array with the contents of - * the backing array, like how `sourcesContent[i]` is the source content - * associated with `source[i]`, and there are never duplicates. - */ - class FastStringArray { - constructor() { - this.indexes = Object.create(null); - this.array = []; - } - } - (() => { - put = (strarr, key) => { - const { array, indexes } = strarr; - // The key may or may not be present. If it is present, it's a number. - let index = indexes[key]; - // If it's not yet present, we need to insert it and track the index in the - // indexes. - if (index === undefined) { - index = indexes[key] = array.length; - array.push(key); - } - return index; - }; - })(); - - const INVALID_MAPPING = undefined; - const SOURCELESS_MAPPING = null; - /** - * traceMappings is only called on the root level SourceMapTree, and begins the process of - * resolving each mapping in terms of the original source files. - */ - let traceMappings; - /** - * SourceMapTree represents a single sourcemap, with the ability to trace - * mappings into its child nodes (which may themselves be SourceMapTrees). - */ - class SourceMapTree { - constructor(map, sources) { - this.map = map; - this.sources = sources; - } - /** - * originalPositionFor is only called on children SourceMapTrees. It recurses down - * into its own child SourceMapTrees, until we find the original source map. - */ - originalPositionFor(line, column, name) { - const segment = traceMapping.traceSegment(this.map, line, column); - // If we couldn't find a segment, then this doesn't exist in the sourcemap. - if (segment == null) - return INVALID_MAPPING; - // 1-length segments only move the current generated column, there's no source information - // to gather from it. - if (segment.length === 1) - return SOURCELESS_MAPPING; - const source = this.sources[segment[1]]; - return source.originalPositionFor(segment[2], segment[3], segment.length === 5 ? this.map.names[segment[4]] : name); - } - } - (() => { - traceMappings = (tree) => { - const mappings = []; - const names = new FastStringArray(); - const sources = new FastStringArray(); - const sourcesContent = []; - const { sources: rootSources, map } = tree; - const rootNames = map.names; - const rootMappings = traceMapping.decodedMappings(map); - let lastLineWithSegment = -1; - for (let i = 0; i < rootMappings.length; i++) { - const segments = rootMappings[i]; - const tracedSegments = []; - let lastSourcesIndex = -1; - let lastSourceLine = -1; - let lastSourceColumn = -1; - for (let j = 0; j < segments.length; j++) { - const segment = segments[j]; - let traced = SOURCELESS_MAPPING; - // 1-length segments only move the current generated column, there's no source information - // to gather from it. - if (segment.length !== 1) { - const source = rootSources[segment[1]]; - traced = source.originalPositionFor(segment[2], segment[3], segment.length === 5 ? rootNames[segment[4]] : ''); - // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a - // respective segment into an original source. - if (traced === INVALID_MAPPING) - continue; - } - const genCol = segment[0]; - if (traced === SOURCELESS_MAPPING) { - if (lastSourcesIndex === -1) { - // This is a consecutive source-less segment, which doesn't carry any new information. - continue; - } - lastSourcesIndex = lastSourceLine = lastSourceColumn = -1; - tracedSegments.push([genCol]); - continue; - } - // So we traced a segment down into its original source file. Now push a - // new segment pointing to this location. - const { column, line, name, content, source } = traced; - // Store the source location, and ensure we keep sourcesContent up to - // date with the sources array. - const sourcesIndex = put(sources, source); - sourcesContent[sourcesIndex] = content; - if (lastSourcesIndex === sourcesIndex && - lastSourceLine === line && - lastSourceColumn === column) { - // This is a duplicate mapping pointing at the exact same starting point in the source - // file. It doesn't carry any new information, and only bloats the sourcemap. - continue; - } - lastLineWithSegment = i; - lastSourcesIndex = sourcesIndex; - lastSourceLine = line; - lastSourceColumn = column; - // This looks like unnecessary duplication, but it noticeably increases performance. If we - // were to push the nameIndex onto length-4 array, v8 would internally allocate 22 slots! - // That's 68 wasted bytes! Array literals have the same capacity as their length, saving - // memory. - tracedSegments.push(name - ? [genCol, sourcesIndex, line, column, put(names, name)] - : [genCol, sourcesIndex, line, column]); - } - mappings.push(tracedSegments); - } - if (mappings.length > lastLineWithSegment + 1) { - mappings.length = lastLineWithSegment + 1; - } - return traceMapping.presortedDecodedMap(Object.assign({}, tree.map, { - mappings, - // TODO: Make all sources relative to the sourceRoot. - sourceRoot: undefined, - names: names.array, - sources: sources.array, - sourcesContent, - })); - }; - })(); - - function asArray(value) { - if (Array.isArray(value)) - return value; - return [value]; - } - /** - * Recursively builds a tree structure out of sourcemap files, with each node - * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of - * `OriginalSource`s and `SourceMapTree`s. - * - * Every sourcemap is composed of a collection of source files and mappings - * into locations of those source files. When we generate a `SourceMapTree` for - * the sourcemap, we attempt to load each source file's own sourcemap. If it - * does not have an associated sourcemap, it is considered an original, - * unmodified source file. - */ - function buildSourceMapTree(input, loader) { - const maps = asArray(input).map((m) => new traceMapping.TraceMap(m, '')); - const map = maps.pop(); - for (let i = 0; i < maps.length; i++) { - if (maps[i].sources.length > 1) { - throw new Error(`Transformation map ${i} must have exactly one source file.\n` + - 'Did you specify these with the most recent transformation maps first?'); - } - } - let tree = build(map, '', loader); - for (let i = maps.length - 1; i >= 0; i--) { - tree = new SourceMapTree(maps[i], [tree]); - } - return tree; - } - function build(map, importer, loader) { - const { resolvedSources, sourcesContent } = map; - const children = resolvedSources.map((sourceFile, i) => { - // The loading context gives the loader more information about why this file is being loaded - // (eg, from which importer). It also allows the loader to override the location of the loaded - // sourcemap/original source, or to override the content in the sourcesContent field if it's - // an unmodified source file. - const ctx = { - importer, - source: sourceFile || '', - content: undefined, - }; - // Use the provided loader callback to retrieve the file's sourcemap. - // TODO: We should eventually support async loading of sourcemap files. - const sourceMap = loader(ctx.source, ctx); - const { source, content } = ctx; - // If there is no sourcemap, then it is an unmodified source file. - if (!sourceMap) { - // The contents of this unmodified source file can be overridden via the loader context, - // allowing it to be explicitly null or a string. If it remains undefined, we fall back to - // the importing sourcemap's `sourcesContent` field. - const sourceContent = content !== undefined ? content : sourcesContent ? sourcesContent[i] : null; - return new OriginalSource(source, sourceContent); - } - // Else, it's a real sourcemap, and we need to recurse into it to load its - // source files. - return build(new traceMapping.TraceMap(sourceMap, source), source, loader); - }); - return new SourceMapTree(map, children); - } - - /** - * A SourceMap v3 compatible sourcemap, which only includes fields that were - * provided to it. - */ - class SourceMap { - constructor(map, options) { - this.version = 3; // SourceMap spec says this should be first. - this.file = map.file; - this.mappings = options.decodedMappings ? traceMapping.decodedMappings(map) : traceMapping.encodedMappings(map); - this.names = map.names; - this.sourceRoot = map.sourceRoot; - this.sources = map.sources; - if (!options.excludeContent && 'sourcesContent' in map) { - this.sourcesContent = map.sourcesContent; - } - } - toString() { - return JSON.stringify(this); - } - } - - /** - * Traces through all the mappings in the root sourcemap, through the sources - * (and their sourcemaps), all the way back to the original source location. - * - * `loader` will be called every time we encounter a source file. If it returns - * a sourcemap, we will recurse into that sourcemap to continue the trace. If - * it returns a falsey value, that source file is treated as an original, - * unmodified source file. - * - * Pass `excludeContent` to exclude any self-containing source file content - * from the output sourcemap. - * - * Pass `decodedMappings` to receive a SourceMap with decoded (instead of - * VLQ encoded) mappings. - */ - function remapping(input, loader, options) { - const opts = typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false }; - const tree = buildSourceMapTree(input, loader); - return new SourceMap(traceMappings(tree), opts); - } - - return remapping; - -})); -//# sourceMappingURL=remapping.umd.js.map diff --git a/node_modules/@ampproject/remapping/dist/remapping.umd.js.map b/node_modules/@ampproject/remapping/dist/remapping.umd.js.map deleted file mode 100644 index fbba024..0000000 --- a/node_modules/@ampproject/remapping/dist/remapping.umd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"remapping.umd.js","sources":["../../src/original-source.ts","../../src/fast-string-array.ts","../../src/source-map-tree.ts","../../src/build-source-map-tree.ts","../../src/source-map.ts","../../src/remapping.ts"],"sourcesContent":[null,null,null,null,null,null],"names":["traceSegment","decodedMappings","presortedDecodedMap","TraceMap","encodedMappings"],"mappings":";;;;;;IAEA;;;;UAIqB,cAAc;QAIjC,YAAY,MAAc,EAAE,OAAsB;YAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;YACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SACxB;;;;;QAMD,mBAAmB,CAAC,IAAY,EAAE,MAAc,EAAE,IAAY;YAC5D,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;SAC3E;;;ICrBH;;;;IAIO,IAAI,GAAqD,CAAC;IAEjE;;;;;;;;UAQa,eAAe;QAA5B;YACE,YAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAA8B,CAAC;YAC3D,UAAK,GAAG,EAA2B,CAAC;SAkBrC;KAAA;I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4BAAe,CAAC,GAAG,CAAC,CAAC;YACtF,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;YAEvB,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC;YAEjC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;YAC3B,IAAI,CAAC,OAAO,CAAC,cAAc,IAAI,gBAAgB,IAAI,GAAG,EAAE;gBACtD,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;aAC1C;SACF;QAED,QAAQ;YACN,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;SAC7B;;;IClBH;;;;;;;;;;;;;;;aAewB,SAAS,CAC/B,KAAwC,EACxC,MAAuB,EACvB,OAA2B;QAE3B,MAAM,IAAI,GACR,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,EAAE,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;QAChG,MAAM,IAAI,GAAG,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAC/C,OAAO,IAAI,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAClD;;;;;;;;"} \ No newline at end of file diff --git a/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts b/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts deleted file mode 100644 index d276667..0000000 --- a/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { SourceMapTree } from './source-map-tree'; -import type { SourceMapInput, SourceMapLoader } from './types'; -/** - * Recursively builds a tree structure out of sourcemap files, with each node - * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of - * `OriginalSource`s and `SourceMapTree`s. - * - * Every sourcemap is composed of a collection of source files and mappings - * into locations of those source files. When we generate a `SourceMapTree` for - * the sourcemap, we attempt to load each source file's own sourcemap. If it - * does not have an associated sourcemap, it is considered an original, - * unmodified source file. - */ -export default function buildSourceMapTree(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader): SourceMapTree; diff --git a/node_modules/@ampproject/remapping/dist/types/fast-string-array.d.ts b/node_modules/@ampproject/remapping/dist/types/fast-string-array.d.ts deleted file mode 100644 index 760973a..0000000 --- a/node_modules/@ampproject/remapping/dist/types/fast-string-array.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Puts `key` into the backing array, if it is not already present. Returns - * the index of the `key` in the backing array. - */ -export declare let put: (strarr: FastStringArray, key: string) => number; -/** - * FastStringArray acts like a `Set` (allowing only one occurrence of a string - * `key`), but provides the index of the `key` in the backing array. - * - * This is designed to allow synchronizing a second array with the contents of - * the backing array, like how `sourcesContent[i]` is the source content - * associated with `source[i]`, and there are never duplicates. - */ -export declare class FastStringArray { - indexes: { - [key: string]: number; - }; - array: readonly string[]; -} diff --git a/node_modules/@ampproject/remapping/dist/types/original-source.d.ts b/node_modules/@ampproject/remapping/dist/types/original-source.d.ts deleted file mode 100644 index ce8f924..0000000 --- a/node_modules/@ampproject/remapping/dist/types/original-source.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { SourceMapSegmentObject } from './types'; -/** - * A "leaf" node in the sourcemap tree, representing an original, unmodified - * source file. Recursive segment tracing ends at the `OriginalSource`. - */ -export default class OriginalSource { - content: string | null; - source: string; - constructor(source: string, content: string | null); - /** - * Tracing a `SourceMapSegment` ends when we get to an `OriginalSource`, - * meaning this line/column location originated from this source file. - */ - originalPositionFor(line: number, column: number, name: string): SourceMapSegmentObject; -} diff --git a/node_modules/@ampproject/remapping/dist/types/remapping.d.ts b/node_modules/@ampproject/remapping/dist/types/remapping.d.ts deleted file mode 100644 index 20ccfa9..0000000 --- a/node_modules/@ampproject/remapping/dist/types/remapping.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import SourceMap from './source-map'; -import type { SourceMapInput, SourceMapLoader, Options } from './types'; -export type { SourceMapSegment, RawSourceMap, DecodedSourceMap, SourceMapInput, SourceMapLoader, Options, } from './types'; -/** - * Traces through all the mappings in the root sourcemap, through the sources - * (and their sourcemaps), all the way back to the original source location. - * - * `loader` will be called every time we encounter a source file. If it returns - * a sourcemap, we will recurse into that sourcemap to continue the trace. If - * it returns a falsey value, that source file is treated as an original, - * unmodified source file. - * - * Pass `excludeContent` to exclude any self-containing source file content - * from the output sourcemap. - * - * Pass `decodedMappings` to receive a SourceMap with decoded (instead of - * VLQ encoded) mappings. - */ -export default function remapping(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader, options?: boolean | Options): SourceMap; diff --git a/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts b/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts deleted file mode 100644 index c6a0a64..0000000 --- a/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { type TraceMap } from '@jridgewell/trace-mapping'; -import type OriginalSource from './original-source'; -import type { SourceMapSegmentObject } from './types'; -declare type Sources = OriginalSource | SourceMapTree; -declare const INVALID_MAPPING: undefined; -declare const SOURCELESS_MAPPING: null; -declare type MappingSource = SourceMapSegmentObject | typeof INVALID_MAPPING | typeof SOURCELESS_MAPPING; -/** - * traceMappings is only called on the root level SourceMapTree, and begins the process of - * resolving each mapping in terms of the original source files. - */ -export declare let traceMappings: (tree: SourceMapTree) => TraceMap; -/** - * SourceMapTree represents a single sourcemap, with the ability to trace - * mappings into its child nodes (which may themselves be SourceMapTrees). - */ -export declare class SourceMapTree { - map: TraceMap; - sources: Sources[]; - constructor(map: TraceMap, sources: Sources[]); - /** - * originalPositionFor is only called on children SourceMapTrees. It recurses down - * into its own child SourceMapTrees, until we find the original source map. - */ - originalPositionFor(line: number, column: number, name: string): MappingSource; -} -export {}; diff --git a/node_modules/@ampproject/remapping/dist/types/source-map.d.ts b/node_modules/@ampproject/remapping/dist/types/source-map.d.ts deleted file mode 100644 index 2109bef..0000000 --- a/node_modules/@ampproject/remapping/dist/types/source-map.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { type TraceMap } from '@jridgewell/trace-mapping'; -import type { DecodedSourceMap, RawSourceMap, Options } from './types'; -/** - * A SourceMap v3 compatible sourcemap, which only includes fields that were - * provided to it. - */ -export default class SourceMap { - file?: string | null; - mappings: RawSourceMap['mappings'] | DecodedSourceMap['mappings']; - sourceRoot?: string; - names: string[]; - sources: (string | null)[]; - sourcesContent?: (string | null)[]; - version: 3; - constructor(map: TraceMap, options: Options); - toString(): string; -} diff --git a/node_modules/@ampproject/remapping/dist/types/types.d.ts b/node_modules/@ampproject/remapping/dist/types/types.d.ts deleted file mode 100644 index 9c44ff4..0000000 --- a/node_modules/@ampproject/remapping/dist/types/types.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -interface SourceMapV3 { - file?: string | null; - names: string[]; - sourceRoot?: string; - sources: (string | null)[]; - sourcesContent?: (string | null)[]; - version: 3; -} -declare type Column = number; -declare type SourcesIndex = number; -declare type SourceLine = number; -declare type SourceColumn = number; -declare type NamesIndex = number; -export declare type SourceMapSegment = [Column] | [Column, SourcesIndex, SourceLine, SourceColumn] | [Column, SourcesIndex, SourceLine, SourceColumn, NamesIndex]; -export interface RawSourceMap extends SourceMapV3 { - mappings: string; -} -export interface DecodedSourceMap extends SourceMapV3 { - mappings: SourceMapSegment[][]; -} -export interface SourceMapSegmentObject { - column: number; - line: number; - name: string; - source: string; - content: string | null; -} -export declare type SourceMapInput = string | RawSourceMap | DecodedSourceMap; -export declare type LoaderContext = { - readonly importer: string; - source: string; - content: string | null | undefined; -}; -export declare type SourceMapLoader = (file: string, ctx: LoaderContext) => SourceMapInput | null | undefined; -export declare type Options = { - excludeContent?: boolean; - decodedMappings?: boolean; -}; -export {}; diff --git a/node_modules/@ampproject/remapping/package.json b/node_modules/@ampproject/remapping/package.json deleted file mode 100644 index ccc2033..0000000 --- a/node_modules/@ampproject/remapping/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "@ampproject/remapping", - "version": "2.1.0", - "description": "Remap sequential sourcemaps through transformations to point at the original source code", - "keywords": [ - "source", - "map", - "remap" - ], - "main": "dist/remapping.umd.js", - "module": "dist/remapping.mjs", - "typings": "dist/types/remapping.d.ts", - "files": [ - "dist" - ], - "author": "Justin Ridgewell ", - "repository": { - "type": "git", - "url": "git+https://github.com/ampproject/remapping.git" - }, - "license": "Apache-2.0", - "engines": { - "node": ">=6.0.0" - }, - "scripts": { - "build": "run-s -n build:*", - "build:rollup": "rollup -c rollup.config.js", - "build:ts": "tsc --project tsconfig.build.json", - "lint": "run-s -n lint:*", - "lint:prettier": "npm run test:lint:prettier -- --write", - "lint:ts": "npm run test:lint:ts -- --fix", - "prebuild": "rm -rf dist", - "prepublishOnly": "npm run preversion", - "preversion": "run-s test build", - "test": "run-s -n test:lint test:only", - "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand", - "test:lint": "run-s -n test:lint:*", - "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'", - "test:lint:ts": "eslint '{src,test}/**/*.ts'", - "test:only": "jest --coverage", - "test:watch": "jest --coverage --watch" - }, - "devDependencies": { - "@rollup/plugin-typescript": "8.3.0", - "@types/jest": "27.4.0", - "@typescript-eslint/eslint-plugin": "5.10.2", - "@typescript-eslint/parser": "5.10.2", - "eslint": "8.8.0", - "eslint-config-prettier": "8.3.0", - "jest": "27.4.7", - "jest-config": "27.4.7", - "npm-run-all": "4.1.5", - "prettier": "2.5.1", - "rollup": "2.67.0", - "ts-jest": "27.1.3", - "tslib": "2.3.1", - "typescript": "4.5.5" - }, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.0" - } -} diff --git a/node_modules/@babel/code-frame/LICENSE b/node_modules/@babel/code-frame/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/code-frame/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/code-frame/README.md b/node_modules/@babel/code-frame/README.md deleted file mode 100644 index 08cacb0..0000000 --- a/node_modules/@babel/code-frame/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/code-frame - -> Generate errors that contain a code frame that point to source locations. - -See our website [@babel/code-frame](https://babeljs.io/docs/en/babel-code-frame) for more information. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/code-frame -``` - -or using yarn: - -```sh -yarn add @babel/code-frame --dev -``` diff --git a/node_modules/@babel/code-frame/lib/index.js b/node_modules/@babel/code-frame/lib/index.js deleted file mode 100644 index cba3f83..0000000 --- a/node_modules/@babel/code-frame/lib/index.js +++ /dev/null @@ -1,163 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.codeFrameColumns = codeFrameColumns; -exports.default = _default; - -var _highlight = require("@babel/highlight"); - -let deprecationWarningShown = false; - -function getDefs(chalk) { - return { - gutter: chalk.grey, - marker: chalk.red.bold, - message: chalk.red.bold - }; -} - -const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; - -function getMarkerLines(loc, source, opts) { - const startLoc = Object.assign({ - column: 0, - line: -1 - }, loc.start); - const endLoc = Object.assign({}, startLoc, loc.end); - const { - linesAbove = 2, - linesBelow = 3 - } = opts || {}; - const startLine = startLoc.line; - const startColumn = startLoc.column; - const endLine = endLoc.line; - const endColumn = endLoc.column; - let start = Math.max(startLine - (linesAbove + 1), 0); - let end = Math.min(source.length, endLine + linesBelow); - - if (startLine === -1) { - start = 0; - } - - if (endLine === -1) { - end = source.length; - } - - const lineDiff = endLine - startLine; - const markerLines = {}; - - if (lineDiff) { - for (let i = 0; i <= lineDiff; i++) { - const lineNumber = i + startLine; - - if (!startColumn) { - markerLines[lineNumber] = true; - } else if (i === 0) { - const sourceLength = source[lineNumber - 1].length; - markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; - } else if (i === lineDiff) { - markerLines[lineNumber] = [0, endColumn]; - } else { - const sourceLength = source[lineNumber - i].length; - markerLines[lineNumber] = [0, sourceLength]; - } - } - } else { - if (startColumn === endColumn) { - if (startColumn) { - markerLines[startLine] = [startColumn, 0]; - } else { - markerLines[startLine] = true; - } - } else { - markerLines[startLine] = [startColumn, endColumn - startColumn]; - } - } - - return { - start, - end, - markerLines - }; -} - -function codeFrameColumns(rawLines, loc, opts = {}) { - const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts); - const chalk = (0, _highlight.getChalk)(opts); - const defs = getDefs(chalk); - - const maybeHighlight = (chalkFn, string) => { - return highlighted ? chalkFn(string) : string; - }; - - const lines = rawLines.split(NEWLINE); - const { - start, - end, - markerLines - } = getMarkerLines(loc, lines, opts); - const hasColumns = loc.start && typeof loc.start.column === "number"; - const numberMaxWidth = String(end).length; - const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines; - let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index) => { - const number = start + 1 + index; - const paddedNumber = ` ${number}`.slice(-numberMaxWidth); - const gutter = ` ${paddedNumber} |`; - const hasMarker = markerLines[number]; - const lastMarkerLine = !markerLines[number + 1]; - - if (hasMarker) { - let markerLine = ""; - - if (Array.isArray(hasMarker)) { - const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); - const numberOfMarkers = hasMarker[1] || 1; - markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), " ", markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join(""); - - if (lastMarkerLine && opts.message) { - markerLine += " " + maybeHighlight(defs.message, opts.message); - } - } - - return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line.length > 0 ? ` ${line}` : "", markerLine].join(""); - } else { - return ` ${maybeHighlight(defs.gutter, gutter)}${line.length > 0 ? ` ${line}` : ""}`; - } - }).join("\n"); - - if (opts.message && !hasColumns) { - frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`; - } - - if (highlighted) { - return chalk.reset(frame); - } else { - return frame; - } -} - -function _default(rawLines, lineNumber, colNumber, opts = {}) { - if (!deprecationWarningShown) { - deprecationWarningShown = true; - const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; - - if (process.emitWarning) { - process.emitWarning(message, "DeprecationWarning"); - } else { - const deprecationError = new Error(message); - deprecationError.name = "DeprecationWarning"; - console.warn(new Error(message)); - } - } - - colNumber = Math.max(colNumber, 0); - const location = { - start: { - column: colNumber, - line: lineNumber - } - }; - return codeFrameColumns(rawLines, location, opts); -} \ No newline at end of file diff --git a/node_modules/@babel/code-frame/package.json b/node_modules/@babel/code-frame/package.json deleted file mode 100644 index ee1b382..0000000 --- a/node_modules/@babel/code-frame/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "@babel/code-frame", - "version": "7.16.7", - "description": "Generate errors that contain a code frame that point to source locations.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-code-frame", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-code-frame" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/highlight": "^7.16.7" - }, - "devDependencies": { - "@types/chalk": "^2.0.0", - "chalk": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/compat-data/LICENSE b/node_modules/@babel/compat-data/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/compat-data/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/compat-data/README.md b/node_modules/@babel/compat-data/README.md deleted file mode 100644 index 9f3abde..0000000 --- a/node_modules/@babel/compat-data/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/compat-data - -> - -See our website [@babel/compat-data](https://babeljs.io/docs/en/babel-compat-data) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/compat-data -``` - -or using yarn: - -```sh -yarn add @babel/compat-data -``` diff --git a/node_modules/@babel/compat-data/corejs2-built-ins.js b/node_modules/@babel/compat-data/corejs2-built-ins.js deleted file mode 100644 index 68ce97f..0000000 --- a/node_modules/@babel/compat-data/corejs2-built-ins.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./data/corejs2-built-ins.json"); diff --git a/node_modules/@babel/compat-data/corejs3-shipped-proposals.js b/node_modules/@babel/compat-data/corejs3-shipped-proposals.js deleted file mode 100644 index 6a85b4d..0000000 --- a/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./data/corejs3-shipped-proposals.json"); diff --git a/node_modules/@babel/compat-data/data/corejs2-built-ins.json b/node_modules/@babel/compat-data/data/corejs2-built-ins.json deleted file mode 100644 index ab9d30b..0000000 --- a/node_modules/@babel/compat-data/data/corejs2-built-ins.json +++ /dev/null @@ -1,1789 +0,0 @@ -{ - "es6.array.copy-within": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "32", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "5", - "rhino": "1.7.13", - "electron": "0.31" - }, - "es6.array.every": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.fill": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "31", - "safari": "7.1", - "node": "4", - "ios": "8", - "samsung": "5", - "rhino": "1.7.13", - "electron": "0.31" - }, - "es6.array.filter": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.array.find": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "4", - "ios": "8", - "samsung": "5", - "rhino": "1.7.13", - "electron": "0.31" - }, - "es6.array.find-index": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "4", - "ios": "8", - "samsung": "5", - "rhino": "1.7.13", - "electron": "0.31" - }, - "es7.array.flat-map": { - "chrome": "69", - "opera": "56", - "edge": "79", - "firefox": "62", - "safari": "12", - "node": "11", - "ios": "12", - "samsung": "10", - "electron": "4.0" - }, - "es6.array.for-each": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.from": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "36", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es7.array.includes": { - "chrome": "47", - "opera": "34", - "edge": "14", - "firefox": "43", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.36" - }, - "es6.array.index-of": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.is-array": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "4", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.iterator": { - "chrome": "66", - "opera": "53", - "edge": "12", - "firefox": "60", - "safari": "9", - "node": "10", - "ios": "9", - "samsung": "9", - "rhino": "1.7.13", - "electron": "3.0" - }, - "es6.array.last-index-of": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.map": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.array.of": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "5", - "rhino": "1.7.13", - "electron": "0.31" - }, - "es6.array.reduce": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.reduce-right": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.slice": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.array.some": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.array.sort": { - "chrome": "63", - "opera": "50", - "edge": "12", - "firefox": "5", - "safari": "12", - "node": "10", - "ie": "9", - "ios": "12", - "samsung": "8", - "rhino": "1.7.13", - "electron": "3.0" - }, - "es6.array.species": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.date.now": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "2", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.date.to-iso-string": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3.5", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.date.to-json": { - "chrome": "5", - "opera": "12.10", - "edge": "12", - "firefox": "4", - "safari": "10", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "10", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.date.to-primitive": { - "chrome": "47", - "opera": "34", - "edge": "15", - "firefox": "44", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.36" - }, - "es6.date.to-string": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.10", - "ie": "10", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.function.bind": { - "chrome": "7", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "5.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.function.has-instance": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "50", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.function.name": { - "chrome": "5", - "opera": "10.50", - "edge": "14", - "firefox": "2", - "safari": "4", - "node": "0.10", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.map": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.math.acosh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.asinh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.atanh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.cbrt": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.clz32": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.cosh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.expm1": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.fround": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "26", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.hypot": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "27", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.imul": { - "chrome": "30", - "opera": "17", - "edge": "12", - "firefox": "23", - "safari": "7", - "node": "0.12", - "android": "4.4", - "ios": "7", - "samsung": "2", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.log1p": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.log10": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.log2": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.sign": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.sinh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.tanh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.math.trunc": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.number.constructor": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "36", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.number.epsilon": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "2", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.number.is-finite": { - "chrome": "19", - "opera": "15", - "edge": "12", - "firefox": "16", - "safari": "9", - "node": "0.12", - "android": "4.1", - "ios": "9", - "samsung": "1.5", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.number.is-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "16", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.number.is-nan": { - "chrome": "19", - "opera": "15", - "edge": "12", - "firefox": "15", - "safari": "9", - "node": "0.12", - "android": "4.1", - "ios": "9", - "samsung": "1.5", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.number.is-safe-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "32", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.number.max-safe-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.number.min-safe-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.number.parse-float": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "2", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.number.parse-int": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "2", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.object.assign": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "36", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.object.create": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es7.object.define-getter": { - "chrome": "62", - "opera": "49", - "edge": "16", - "firefox": "48", - "safari": "9", - "node": "8.10", - "ios": "9", - "samsung": "8", - "electron": "3.0" - }, - "es7.object.define-setter": { - "chrome": "62", - "opera": "49", - "edge": "16", - "firefox": "48", - "safari": "9", - "node": "8.10", - "ios": "9", - "samsung": "8", - "electron": "3.0" - }, - "es6.object.define-property": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "5.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.object.define-properties": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es7.object.entries": { - "chrome": "54", - "opera": "41", - "edge": "14", - "firefox": "47", - "safari": "10.1", - "node": "7", - "ios": "10.3", - "samsung": "6", - "rhino": "1.7.14", - "electron": "1.4" - }, - "es6.object.freeze": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es6.object.get-own-property-descriptor": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es7.object.get-own-property-descriptors": { - "chrome": "54", - "opera": "41", - "edge": "15", - "firefox": "50", - "safari": "10.1", - "node": "7", - "ios": "10.3", - "samsung": "6", - "electron": "1.4" - }, - "es6.object.get-own-property-names": { - "chrome": "40", - "opera": "27", - "edge": "12", - "firefox": "33", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.object.get-prototype-of": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es7.object.lookup-getter": { - "chrome": "62", - "opera": "49", - "edge": "79", - "firefox": "36", - "safari": "9", - "node": "8.10", - "ios": "9", - "samsung": "8", - "electron": "3.0" - }, - "es7.object.lookup-setter": { - "chrome": "62", - "opera": "49", - "edge": "79", - "firefox": "36", - "safari": "9", - "node": "8.10", - "ios": "9", - "samsung": "8", - "electron": "3.0" - }, - "es6.object.prevent-extensions": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es6.object.to-string": { - "chrome": "57", - "opera": "44", - "edge": "15", - "firefox": "51", - "safari": "10", - "node": "8", - "ios": "10", - "samsung": "7", - "electron": "1.7" - }, - "es6.object.is": { - "chrome": "19", - "opera": "15", - "edge": "12", - "firefox": "22", - "safari": "9", - "node": "0.12", - "android": "4.1", - "ios": "9", - "samsung": "1.5", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.object.is-frozen": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es6.object.is-sealed": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es6.object.is-extensible": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es6.object.keys": { - "chrome": "40", - "opera": "27", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.object.seal": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "electron": "0.30" - }, - "es6.object.set-prototype-of": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "ie": "11", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es7.object.values": { - "chrome": "54", - "opera": "41", - "edge": "14", - "firefox": "47", - "safari": "10.1", - "node": "7", - "ios": "10.3", - "samsung": "6", - "rhino": "1.7.14", - "electron": "1.4" - }, - "es6.promise": { - "chrome": "51", - "opera": "38", - "edge": "14", - "firefox": "45", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es7.promise.finally": { - "chrome": "63", - "opera": "50", - "edge": "18", - "firefox": "58", - "safari": "11.1", - "node": "10", - "ios": "11.3", - "samsung": "8", - "electron": "3.0" - }, - "es6.reflect.apply": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.construct": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "49", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.define-property": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.delete-property": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.get": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.get-own-property-descriptor": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.get-prototype-of": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.has": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.is-extensible": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.own-keys": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.prevent-extensions": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.set": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.reflect.set-prototype-of": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "es6.regexp.constructor": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "40", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "1.1" - }, - "es6.regexp.flags": { - "chrome": "49", - "opera": "36", - "edge": "79", - "firefox": "37", - "safari": "9", - "node": "6", - "ios": "9", - "samsung": "5", - "electron": "0.37" - }, - "es6.regexp.match": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "rhino": "1.7.13", - "electron": "1.1" - }, - "es6.regexp.replace": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "1.1" - }, - "es6.regexp.split": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "1.1" - }, - "es6.regexp.search": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "rhino": "1.7.13", - "electron": "1.1" - }, - "es6.regexp.to-string": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "39", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "1.1" - }, - "es6.set": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.symbol": { - "chrome": "51", - "opera": "38", - "edge": "79", - "firefox": "51", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es7.symbol.async-iterator": { - "chrome": "63", - "opera": "50", - "edge": "79", - "firefox": "57", - "safari": "12", - "node": "10", - "ios": "12", - "samsung": "8", - "electron": "3.0" - }, - "es6.string.anchor": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.big": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.blink": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.bold": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.code-point-at": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.string.ends-with": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.string.fixed": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.fontcolor": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.fontsize": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.from-code-point": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.string.includes": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "40", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.string.italics": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.iterator": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "36", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.string.link": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es7.string.pad-start": { - "chrome": "57", - "opera": "44", - "edge": "15", - "firefox": "48", - "safari": "10", - "node": "8", - "ios": "10", - "samsung": "7", - "rhino": "1.7.13", - "electron": "1.7" - }, - "es7.string.pad-end": { - "chrome": "57", - "opera": "44", - "edge": "15", - "firefox": "48", - "safari": "10", - "node": "8", - "ios": "10", - "samsung": "7", - "rhino": "1.7.13", - "electron": "1.7" - }, - "es6.string.raw": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "34", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.14", - "electron": "0.21" - }, - "es6.string.repeat": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "24", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.string.small": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.starts-with": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "electron": "0.21" - }, - "es6.string.strike": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.sub": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.sup": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.10", - "android": "4", - "ios": "7", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.14", - "electron": "0.20" - }, - "es6.string.trim": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3.5", - "safari": "4", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es7.string.trim-left": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "61", - "safari": "12", - "node": "10", - "ios": "12", - "samsung": "9", - "rhino": "1.7.13", - "electron": "3.0" - }, - "es7.string.trim-right": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "61", - "safari": "12", - "node": "10", - "ios": "12", - "samsung": "9", - "rhino": "1.7.13", - "electron": "3.0" - }, - "es6.typed.array-buffer": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.data-view": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "15", - "safari": "5.1", - "node": "0.10", - "ie": "10", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "es6.typed.int8-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.uint8-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.uint8-clamped-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.int16-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.uint16-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.int32-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.uint32-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.float32-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.typed.float64-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "es6.weak-map": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "9", - "node": "6.5", - "ios": "9", - "samsung": "5", - "electron": "1.2" - }, - "es6.weak-set": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "9", - "node": "6.5", - "ios": "9", - "samsung": "5", - "electron": "1.2" - } -} diff --git a/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json b/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json deleted file mode 100644 index 7ce01ed..0000000 --- a/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - "esnext.global-this", - "esnext.promise.all-settled", - "esnext.string.match-all" -] diff --git a/node_modules/@babel/compat-data/data/native-modules.json b/node_modules/@babel/compat-data/data/native-modules.json deleted file mode 100644 index bf63499..0000000 --- a/node_modules/@babel/compat-data/data/native-modules.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "es6.module": { - "chrome": "61", - "and_chr": "61", - "edge": "16", - "firefox": "60", - "and_ff": "60", - "node": "13.2.0", - "opera": "48", - "op_mob": "48", - "safari": "10.1", - "ios": "10.3", - "samsung": "8.2", - "android": "61", - "electron": "2.0", - "ios_saf": "10.3" - } -} diff --git a/node_modules/@babel/compat-data/data/overlapping-plugins.json b/node_modules/@babel/compat-data/data/overlapping-plugins.json deleted file mode 100644 index 6ad09e4..0000000 --- a/node_modules/@babel/compat-data/data/overlapping-plugins.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "transform-async-to-generator": [ - "bugfix/transform-async-arrows-in-class" - ], - "transform-parameters": [ - "bugfix/transform-edge-default-parameters", - "bugfix/transform-safari-id-destructuring-collision-in-function-expression" - ], - "transform-function-name": [ - "bugfix/transform-edge-function-name" - ], - "transform-block-scoping": [ - "bugfix/transform-safari-block-shadowing", - "bugfix/transform-safari-for-shadowing" - ], - "transform-template-literals": [ - "bugfix/transform-tagged-template-caching" - ], - "proposal-optional-chaining": [ - "bugfix/transform-v8-spread-parameters-in-optional-chaining" - ] -} diff --git a/node_modules/@babel/compat-data/data/plugin-bugfixes.json b/node_modules/@babel/compat-data/data/plugin-bugfixes.json deleted file mode 100644 index 7fb7f17..0000000 --- a/node_modules/@babel/compat-data/data/plugin-bugfixes.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "transform-async-to-generator": { - "chrome": "55", - "opera": "42", - "edge": "15", - "firefox": "52", - "safari": "10.1", - "node": "7.6", - "ios": "10.3", - "samsung": "6", - "electron": "1.6" - }, - "bugfix/transform-async-arrows-in-class": { - "chrome": "55", - "opera": "42", - "edge": "15", - "firefox": "52", - "safari": "11", - "node": "7.6", - "ios": "11", - "samsung": "6", - "electron": "1.6" - }, - "transform-parameters": { - "chrome": "49", - "opera": "36", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "bugfix/transform-edge-default-parameters": { - "chrome": "49", - "opera": "36", - "edge": "18", - "firefox": "52", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "transform-function-name": { - "chrome": "51", - "opera": "38", - "edge": "14", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "bugfix/transform-edge-function-name": { - "chrome": "51", - "opera": "38", - "edge": "79", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "transform-block-scoping": { - "chrome": "49", - "opera": "36", - "edge": "14", - "firefox": "51", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "bugfix/transform-safari-block-shadowing": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "44", - "safari": "11", - "node": "6", - "ie": "11", - "ios": "11", - "samsung": "5", - "electron": "0.37" - }, - "bugfix/transform-safari-for-shadowing": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "4", - "safari": "11", - "node": "6", - "ie": "11", - "ios": "11", - "samsung": "5", - "rhino": "1.7.13", - "electron": "0.37" - }, - "bugfix/transform-safari-id-destructuring-collision-in-function-expression": { - "chrome": "49", - "opera": "36", - "edge": "14", - "firefox": "2", - "node": "6", - "samsung": "5", - "electron": "0.37" - }, - "transform-template-literals": { - "chrome": "41", - "opera": "28", - "edge": "13", - "firefox": "34", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "electron": "0.21" - }, - "bugfix/transform-tagged-template-caching": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "34", - "safari": "13", - "node": "4", - "ios": "13", - "samsung": "3.4", - "rhino": "1.7.14", - "electron": "0.21" - }, - "proposal-optional-chaining": { - "chrome": "80", - "opera": "67", - "edge": "80", - "firefox": "74", - "safari": "13.1", - "node": "14", - "ios": "13.4", - "samsung": "13", - "electron": "8.0" - }, - "bugfix/transform-v8-spread-parameters-in-optional-chaining": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "74", - "safari": "13.1", - "node": "16.9", - "ios": "13.4", - "electron": "13.0" - } -} diff --git a/node_modules/@babel/compat-data/data/plugins.json b/node_modules/@babel/compat-data/data/plugins.json deleted file mode 100644 index b64714c..0000000 --- a/node_modules/@babel/compat-data/data/plugins.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "proposal-class-static-block": { - "chrome": "94", - "opera": "80", - "edge": "94", - "firefox": "93", - "node": "16.11" - }, - "proposal-private-property-in-object": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "90", - "safari": "15", - "node": "16.9", - "ios": "15", - "electron": "13.0" - }, - "proposal-class-properties": { - "chrome": "74", - "opera": "62", - "edge": "79", - "firefox": "90", - "safari": "14.1", - "node": "12", - "ios": "15", - "samsung": "11", - "electron": "6.0" - }, - "proposal-private-methods": { - "chrome": "84", - "opera": "70", - "edge": "84", - "firefox": "90", - "safari": "15", - "node": "14.6", - "ios": "15", - "samsung": "14", - "electron": "10.0" - }, - "proposal-numeric-separator": { - "chrome": "75", - "opera": "62", - "edge": "79", - "firefox": "70", - "safari": "13", - "node": "12.5", - "ios": "13", - "samsung": "11", - "rhino": "1.7.14", - "electron": "6.0" - }, - "proposal-logical-assignment-operators": { - "chrome": "85", - "opera": "71", - "edge": "85", - "firefox": "79", - "safari": "14", - "node": "15", - "ios": "14", - "samsung": "14", - "electron": "10.0" - }, - "proposal-nullish-coalescing-operator": { - "chrome": "80", - "opera": "67", - "edge": "80", - "firefox": "72", - "safari": "13.1", - "node": "14", - "ios": "13.4", - "samsung": "13", - "electron": "8.0" - }, - "proposal-optional-chaining": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "74", - "safari": "13.1", - "node": "16.9", - "ios": "13.4", - "electron": "13.0" - }, - "proposal-json-strings": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "62", - "safari": "12", - "node": "10", - "ios": "12", - "samsung": "9", - "rhino": "1.7.14", - "electron": "3.0" - }, - "proposal-optional-catch-binding": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "58", - "safari": "11.1", - "node": "10", - "ios": "11.3", - "samsung": "9", - "electron": "3.0" - }, - "transform-parameters": { - "chrome": "49", - "opera": "36", - "edge": "18", - "firefox": "53", - "node": "6", - "samsung": "5", - "electron": "0.37" - }, - "proposal-async-generator-functions": { - "chrome": "63", - "opera": "50", - "edge": "79", - "firefox": "57", - "safari": "12", - "node": "10", - "ios": "12", - "samsung": "8", - "electron": "3.0" - }, - "proposal-object-rest-spread": { - "chrome": "60", - "opera": "47", - "edge": "79", - "firefox": "55", - "safari": "11.1", - "node": "8.3", - "ios": "11.3", - "samsung": "8", - "electron": "2.0" - }, - "transform-dotall-regex": { - "chrome": "62", - "opera": "49", - "edge": "79", - "firefox": "78", - "safari": "11.1", - "node": "8.10", - "ios": "11.3", - "samsung": "8", - "electron": "3.0" - }, - "proposal-unicode-property-regex": { - "chrome": "64", - "opera": "51", - "edge": "79", - "firefox": "78", - "safari": "11.1", - "node": "10", - "ios": "11.3", - "samsung": "9", - "electron": "3.0" - }, - "transform-named-capturing-groups-regex": { - "chrome": "64", - "opera": "51", - "edge": "79", - "firefox": "78", - "safari": "11.1", - "node": "10", - "ios": "11.3", - "samsung": "9", - "electron": "3.0" - }, - "transform-async-to-generator": { - "chrome": "55", - "opera": "42", - "edge": "15", - "firefox": "52", - "safari": "11", - "node": "7.6", - "ios": "11", - "samsung": "6", - "electron": "1.6" - }, - "transform-exponentiation-operator": { - "chrome": "52", - "opera": "39", - "edge": "14", - "firefox": "52", - "safari": "10.1", - "node": "7", - "ios": "10.3", - "samsung": "6", - "rhino": "1.7.14", - "electron": "1.3" - }, - "transform-template-literals": { - "chrome": "41", - "opera": "28", - "edge": "13", - "firefox": "34", - "safari": "13", - "node": "4", - "ios": "13", - "samsung": "3.4", - "electron": "0.21" - }, - "transform-literals": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "53", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "electron": "0.30" - }, - "transform-function-name": { - "chrome": "51", - "opera": "38", - "edge": "79", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "transform-arrow-functions": { - "chrome": "47", - "opera": "34", - "edge": "13", - "firefox": "43", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "rhino": "1.7.13", - "electron": "0.36" - }, - "transform-block-scoped-functions": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "46", - "safari": "10", - "node": "4", - "ie": "11", - "ios": "10", - "samsung": "3.4", - "electron": "0.21" - }, - "transform-classes": { - "chrome": "46", - "opera": "33", - "edge": "13", - "firefox": "45", - "safari": "10", - "node": "5", - "ios": "10", - "samsung": "5", - "electron": "0.36" - }, - "transform-object-super": { - "chrome": "46", - "opera": "33", - "edge": "13", - "firefox": "45", - "safari": "10", - "node": "5", - "ios": "10", - "samsung": "5", - "electron": "0.36" - }, - "transform-shorthand-properties": { - "chrome": "43", - "opera": "30", - "edge": "12", - "firefox": "33", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "rhino": "1.7.14", - "electron": "0.27" - }, - "transform-duplicate-keys": { - "chrome": "42", - "opera": "29", - "edge": "12", - "firefox": "34", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "3.4", - "electron": "0.25" - }, - "transform-computed-properties": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "34", - "safari": "7.1", - "node": "4", - "ios": "8", - "samsung": "4", - "electron": "0.30" - }, - "transform-for-of": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "transform-sticky-regex": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "3", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "0.37" - }, - "transform-unicode-escapes": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "53", - "safari": "9", - "node": "4", - "ios": "9", - "samsung": "4", - "electron": "0.30" - }, - "transform-unicode-regex": { - "chrome": "50", - "opera": "37", - "edge": "13", - "firefox": "46", - "safari": "12", - "node": "6", - "ios": "12", - "samsung": "5", - "electron": "1.1" - }, - "transform-spread": { - "chrome": "46", - "opera": "33", - "edge": "13", - "firefox": "45", - "safari": "10", - "node": "5", - "ios": "10", - "samsung": "5", - "electron": "0.36" - }, - "transform-destructuring": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "ios": "10", - "samsung": "5", - "electron": "1.2" - }, - "transform-block-scoping": { - "chrome": "49", - "opera": "36", - "edge": "14", - "firefox": "51", - "safari": "11", - "node": "6", - "ios": "11", - "samsung": "5", - "electron": "0.37" - }, - "transform-typeof-symbol": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "36", - "safari": "9", - "node": "0.12", - "ios": "9", - "samsung": "3", - "rhino": "1.7.13", - "electron": "0.20" - }, - "transform-new-target": { - "chrome": "46", - "opera": "33", - "edge": "14", - "firefox": "41", - "safari": "10", - "node": "5", - "ios": "10", - "samsung": "5", - "electron": "0.36" - }, - "transform-regenerator": { - "chrome": "50", - "opera": "37", - "edge": "13", - "firefox": "53", - "safari": "10", - "node": "6", - "ios": "10", - "samsung": "5", - "electron": "1.1" - }, - "transform-member-expression-literals": { - "chrome": "7", - "opera": "12", - "edge": "12", - "firefox": "2", - "safari": "5.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "transform-property-literals": { - "chrome": "7", - "opera": "12", - "edge": "12", - "firefox": "2", - "safari": "5.1", - "node": "0.10", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "transform-reserved-words": { - "chrome": "13", - "opera": "10.50", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.10", - "ie": "9", - "android": "4.4", - "ios": "6", - "phantom": "2", - "samsung": "1", - "rhino": "1.7.13", - "electron": "0.20" - }, - "proposal-export-namespace-from": { - "chrome": "72", - "and_chr": "72", - "edge": "79", - "firefox": "80", - "and_ff": "80", - "node": "13.2", - "opera": "60", - "op_mob": "51", - "samsung": "11.0", - "android": "72", - "electron": "5.0" - } -} diff --git a/node_modules/@babel/compat-data/native-modules.js b/node_modules/@babel/compat-data/native-modules.js deleted file mode 100644 index 8e97da4..0000000 --- a/node_modules/@babel/compat-data/native-modules.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./data/native-modules.json"); diff --git a/node_modules/@babel/compat-data/overlapping-plugins.js b/node_modules/@babel/compat-data/overlapping-plugins.js deleted file mode 100644 index 88242e4..0000000 --- a/node_modules/@babel/compat-data/overlapping-plugins.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./data/overlapping-plugins.json"); diff --git a/node_modules/@babel/compat-data/package.json b/node_modules/@babel/compat-data/package.json deleted file mode 100644 index a0af97a..0000000 --- a/node_modules/@babel/compat-data/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@babel/compat-data", - "version": "7.17.0", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "description": "", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-compat-data" - }, - "publishConfig": { - "access": "public" - }, - "exports": { - "./plugins": "./plugins.js", - "./native-modules": "./native-modules.js", - "./corejs2-built-ins": "./corejs2-built-ins.js", - "./corejs3-shipped-proposals": "./corejs3-shipped-proposals.js", - "./overlapping-plugins": "./overlapping-plugins.js", - "./plugin-bugfixes": "./plugin-bugfixes.js" - }, - "scripts": { - "build-data": "./scripts/download-compat-table.sh && node ./scripts/build-data.js && node ./scripts/build-modules-support.js && node ./scripts/build-bugfixes-targets.js" - }, - "keywords": [ - "babel", - "compat-table", - "compat-data" - ], - "devDependencies": { - "@mdn/browser-compat-data": "^4.0.10", - "core-js-compat": "^3.20.2", - "electron-to-chromium": "^1.3.893" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/compat-data/plugin-bugfixes.js b/node_modules/@babel/compat-data/plugin-bugfixes.js deleted file mode 100644 index f390181..0000000 --- a/node_modules/@babel/compat-data/plugin-bugfixes.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./data/plugin-bugfixes.json"); diff --git a/node_modules/@babel/compat-data/plugins.js b/node_modules/@babel/compat-data/plugins.js deleted file mode 100644 index 42646ed..0000000 --- a/node_modules/@babel/compat-data/plugins.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("./data/plugins.json"); diff --git a/node_modules/@babel/core/LICENSE b/node_modules/@babel/core/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/core/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/core/README.md b/node_modules/@babel/core/README.md deleted file mode 100644 index 9b3a950..0000000 --- a/node_modules/@babel/core/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/core - -> Babel compiler core. - -See our website [@babel/core](https://babeljs.io/docs/en/babel-core) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/core -``` - -or using yarn: - -```sh -yarn add @babel/core --dev -``` diff --git a/node_modules/@babel/core/lib/config/cache-contexts.js b/node_modules/@babel/core/lib/config/cache-contexts.js deleted file mode 100644 index e69de29..0000000 diff --git a/node_modules/@babel/core/lib/config/caching.js b/node_modules/@babel/core/lib/config/caching.js deleted file mode 100644 index 16c6e9e..0000000 --- a/node_modules/@babel/core/lib/config/caching.js +++ /dev/null @@ -1,325 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.assertSimpleType = assertSimpleType; -exports.makeStrongCache = makeStrongCache; -exports.makeStrongCacheSync = makeStrongCacheSync; -exports.makeWeakCache = makeWeakCache; -exports.makeWeakCacheSync = makeWeakCacheSync; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _async = require("../gensync-utils/async"); - -var _util = require("./util"); - -const synchronize = gen => { - return _gensync()(gen).sync; -}; - -function* genTrue() { - return true; -} - -function makeWeakCache(handler) { - return makeCachedFunction(WeakMap, handler); -} - -function makeWeakCacheSync(handler) { - return synchronize(makeWeakCache(handler)); -} - -function makeStrongCache(handler) { - return makeCachedFunction(Map, handler); -} - -function makeStrongCacheSync(handler) { - return synchronize(makeStrongCache(handler)); -} - -function makeCachedFunction(CallCache, handler) { - const callCacheSync = new CallCache(); - const callCacheAsync = new CallCache(); - const futureCache = new CallCache(); - return function* cachedFunction(arg, data) { - const asyncContext = yield* (0, _async.isAsync)(); - const callCache = asyncContext ? callCacheAsync : callCacheSync; - const cached = yield* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data); - if (cached.valid) return cached.value; - const cache = new CacheConfigurator(data); - const handlerResult = handler(arg, cache); - let finishLock; - let value; - - if ((0, _util.isIterableIterator)(handlerResult)) { - const gen = handlerResult; - value = yield* (0, _async.onFirstPause)(gen, () => { - finishLock = setupAsyncLocks(cache, futureCache, arg); - }); - } else { - value = handlerResult; - } - - updateFunctionCache(callCache, cache, arg, value); - - if (finishLock) { - futureCache.delete(arg); - finishLock.release(value); - } - - return value; - }; -} - -function* getCachedValue(cache, arg, data) { - const cachedValue = cache.get(arg); - - if (cachedValue) { - for (const { - value, - valid - } of cachedValue) { - if (yield* valid(data)) return { - valid: true, - value - }; - } - } - - return { - valid: false, - value: null - }; -} - -function* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data) { - const cached = yield* getCachedValue(callCache, arg, data); - - if (cached.valid) { - return cached; - } - - if (asyncContext) { - const cached = yield* getCachedValue(futureCache, arg, data); - - if (cached.valid) { - const value = yield* (0, _async.waitFor)(cached.value.promise); - return { - valid: true, - value - }; - } - } - - return { - valid: false, - value: null - }; -} - -function setupAsyncLocks(config, futureCache, arg) { - const finishLock = new Lock(); - updateFunctionCache(futureCache, config, arg, finishLock); - return finishLock; -} - -function updateFunctionCache(cache, config, arg, value) { - if (!config.configured()) config.forever(); - let cachedValue = cache.get(arg); - config.deactivate(); - - switch (config.mode()) { - case "forever": - cachedValue = [{ - value, - valid: genTrue - }]; - cache.set(arg, cachedValue); - break; - - case "invalidate": - cachedValue = [{ - value, - valid: config.validator() - }]; - cache.set(arg, cachedValue); - break; - - case "valid": - if (cachedValue) { - cachedValue.push({ - value, - valid: config.validator() - }); - } else { - cachedValue = [{ - value, - valid: config.validator() - }]; - cache.set(arg, cachedValue); - } - - } -} - -class CacheConfigurator { - constructor(data) { - this._active = true; - this._never = false; - this._forever = false; - this._invalidate = false; - this._configured = false; - this._pairs = []; - this._data = void 0; - this._data = data; - } - - simple() { - return makeSimpleConfigurator(this); - } - - mode() { - if (this._never) return "never"; - if (this._forever) return "forever"; - if (this._invalidate) return "invalidate"; - return "valid"; - } - - forever() { - if (!this._active) { - throw new Error("Cannot change caching after evaluation has completed."); - } - - if (this._never) { - throw new Error("Caching has already been configured with .never()"); - } - - this._forever = true; - this._configured = true; - } - - never() { - if (!this._active) { - throw new Error("Cannot change caching after evaluation has completed."); - } - - if (this._forever) { - throw new Error("Caching has already been configured with .forever()"); - } - - this._never = true; - this._configured = true; - } - - using(handler) { - if (!this._active) { - throw new Error("Cannot change caching after evaluation has completed."); - } - - if (this._never || this._forever) { - throw new Error("Caching has already been configured with .never or .forever()"); - } - - this._configured = true; - const key = handler(this._data); - const fn = (0, _async.maybeAsync)(handler, `You appear to be using an async cache handler, but Babel has been called synchronously`); - - if ((0, _async.isThenable)(key)) { - return key.then(key => { - this._pairs.push([key, fn]); - - return key; - }); - } - - this._pairs.push([key, fn]); - - return key; - } - - invalidate(handler) { - this._invalidate = true; - return this.using(handler); - } - - validator() { - const pairs = this._pairs; - return function* (data) { - for (const [key, fn] of pairs) { - if (key !== (yield* fn(data))) return false; - } - - return true; - }; - } - - deactivate() { - this._active = false; - } - - configured() { - return this._configured; - } - -} - -function makeSimpleConfigurator(cache) { - function cacheFn(val) { - if (typeof val === "boolean") { - if (val) cache.forever();else cache.never(); - return; - } - - return cache.using(() => assertSimpleType(val())); - } - - cacheFn.forever = () => cache.forever(); - - cacheFn.never = () => cache.never(); - - cacheFn.using = cb => cache.using(() => assertSimpleType(cb())); - - cacheFn.invalidate = cb => cache.invalidate(() => assertSimpleType(cb())); - - return cacheFn; -} - -function assertSimpleType(value) { - if ((0, _async.isThenable)(value)) { - throw new Error(`You appear to be using an async cache handler, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously handle your caching logic.`); - } - - if (value != null && typeof value !== "string" && typeof value !== "boolean" && typeof value !== "number") { - throw new Error("Cache keys must be either string, boolean, number, null, or undefined."); - } - - return value; -} - -class Lock { - constructor() { - this.released = false; - this.promise = void 0; - this._resolve = void 0; - this.promise = new Promise(resolve => { - this._resolve = resolve; - }); - } - - release(value) { - this.released = true; - - this._resolve(value); - } - -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/config-chain.js b/node_modules/@babel/core/lib/config/config-chain.js deleted file mode 100644 index aa5c5f2..0000000 --- a/node_modules/@babel/core/lib/config/config-chain.js +++ /dev/null @@ -1,564 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.buildPresetChain = buildPresetChain; -exports.buildPresetChainWalker = void 0; -exports.buildRootChain = buildRootChain; - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _debug() { - const data = require("debug"); - - _debug = function () { - return data; - }; - - return data; -} - -var _options = require("./validation/options"); - -var _patternToRegex = require("./pattern-to-regex"); - -var _printer = require("./printer"); - -var _files = require("./files"); - -var _caching = require("./caching"); - -var _configDescriptors = require("./config-descriptors"); - -const debug = _debug()("babel:config:config-chain"); - -function* buildPresetChain(arg, context) { - const chain = yield* buildPresetChainWalker(arg, context); - if (!chain) return null; - return { - plugins: dedupDescriptors(chain.plugins), - presets: dedupDescriptors(chain.presets), - options: chain.options.map(o => normalizeOptions(o)), - files: new Set() - }; -} - -const buildPresetChainWalker = makeChainWalker({ - root: preset => loadPresetDescriptors(preset), - env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName), - overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index), - overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName), - createLogger: () => () => {} -}); -exports.buildPresetChainWalker = buildPresetChainWalker; -const loadPresetDescriptors = (0, _caching.makeWeakCacheSync)(preset => buildRootDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors)); -const loadPresetEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, envName))); -const loadPresetOverridesDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index))); -const loadPresetOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index, envName)))); - -function* buildRootChain(opts, context) { - let configReport, babelRcReport; - const programmaticLogger = new _printer.ConfigPrinter(); - const programmaticChain = yield* loadProgrammaticChain({ - options: opts, - dirname: context.cwd - }, context, undefined, programmaticLogger); - if (!programmaticChain) return null; - const programmaticReport = yield* programmaticLogger.output(); - let configFile; - - if (typeof opts.configFile === "string") { - configFile = yield* (0, _files.loadConfig)(opts.configFile, context.cwd, context.envName, context.caller); - } else if (opts.configFile !== false) { - configFile = yield* (0, _files.findRootConfig)(context.root, context.envName, context.caller); - } - - let { - babelrc, - babelrcRoots - } = opts; - let babelrcRootsDirectory = context.cwd; - const configFileChain = emptyChain(); - const configFileLogger = new _printer.ConfigPrinter(); - - if (configFile) { - const validatedFile = validateConfigFile(configFile); - const result = yield* loadFileChain(validatedFile, context, undefined, configFileLogger); - if (!result) return null; - configReport = yield* configFileLogger.output(); - - if (babelrc === undefined) { - babelrc = validatedFile.options.babelrc; - } - - if (babelrcRoots === undefined) { - babelrcRootsDirectory = validatedFile.dirname; - babelrcRoots = validatedFile.options.babelrcRoots; - } - - mergeChain(configFileChain, result); - } - - let ignoreFile, babelrcFile; - let isIgnored = false; - const fileChain = emptyChain(); - - if ((babelrc === true || babelrc === undefined) && typeof context.filename === "string") { - const pkgData = yield* (0, _files.findPackageData)(context.filename); - - if (pkgData && babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)) { - ({ - ignore: ignoreFile, - config: babelrcFile - } = yield* (0, _files.findRelativeConfig)(pkgData, context.envName, context.caller)); - - if (ignoreFile) { - fileChain.files.add(ignoreFile.filepath); - } - - if (ignoreFile && shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)) { - isIgnored = true; - } - - if (babelrcFile && !isIgnored) { - const validatedFile = validateBabelrcFile(babelrcFile); - const babelrcLogger = new _printer.ConfigPrinter(); - const result = yield* loadFileChain(validatedFile, context, undefined, babelrcLogger); - - if (!result) { - isIgnored = true; - } else { - babelRcReport = yield* babelrcLogger.output(); - mergeChain(fileChain, result); - } - } - - if (babelrcFile && isIgnored) { - fileChain.files.add(babelrcFile.filepath); - } - } - } - - if (context.showConfig) { - console.log(`Babel configs on "${context.filename}" (ascending priority):\n` + [configReport, babelRcReport, programmaticReport].filter(x => !!x).join("\n\n") + "\n-----End Babel configs-----"); - } - - const chain = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain); - return { - plugins: isIgnored ? [] : dedupDescriptors(chain.plugins), - presets: isIgnored ? [] : dedupDescriptors(chain.presets), - options: isIgnored ? [] : chain.options.map(o => normalizeOptions(o)), - fileHandling: isIgnored ? "ignored" : "transpile", - ignore: ignoreFile || undefined, - babelrc: babelrcFile || undefined, - config: configFile || undefined, - files: chain.files - }; -} - -function babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory) { - if (typeof babelrcRoots === "boolean") return babelrcRoots; - const absoluteRoot = context.root; - - if (babelrcRoots === undefined) { - return pkgData.directories.indexOf(absoluteRoot) !== -1; - } - - let babelrcPatterns = babelrcRoots; - - if (!Array.isArray(babelrcPatterns)) { - babelrcPatterns = [babelrcPatterns]; - } - - babelrcPatterns = babelrcPatterns.map(pat => { - return typeof pat === "string" ? _path().resolve(babelrcRootsDirectory, pat) : pat; - }); - - if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) { - return pkgData.directories.indexOf(absoluteRoot) !== -1; - } - - return babelrcPatterns.some(pat => { - if (typeof pat === "string") { - pat = (0, _patternToRegex.default)(pat, babelrcRootsDirectory); - } - - return pkgData.directories.some(directory => { - return matchPattern(pat, babelrcRootsDirectory, directory, context); - }); - }); -} - -const validateConfigFile = (0, _caching.makeWeakCacheSync)(file => ({ - filepath: file.filepath, - dirname: file.dirname, - options: (0, _options.validate)("configfile", file.options) -})); -const validateBabelrcFile = (0, _caching.makeWeakCacheSync)(file => ({ - filepath: file.filepath, - dirname: file.dirname, - options: (0, _options.validate)("babelrcfile", file.options) -})); -const validateExtendFile = (0, _caching.makeWeakCacheSync)(file => ({ - filepath: file.filepath, - dirname: file.dirname, - options: (0, _options.validate)("extendsfile", file.options) -})); -const loadProgrammaticChain = makeChainWalker({ - root: input => buildRootDescriptors(input, "base", _configDescriptors.createCachedDescriptors), - env: (input, envName) => buildEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, envName), - overrides: (input, index) => buildOverrideDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index), - overridesEnv: (input, index, envName) => buildOverrideEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index, envName), - createLogger: (input, context, baseLogger) => buildProgrammaticLogger(input, context, baseLogger) -}); -const loadFileChainWalker = makeChainWalker({ - root: file => loadFileDescriptors(file), - env: (file, envName) => loadFileEnvDescriptors(file)(envName), - overrides: (file, index) => loadFileOverridesDescriptors(file)(index), - overridesEnv: (file, index, envName) => loadFileOverridesEnvDescriptors(file)(index)(envName), - createLogger: (file, context, baseLogger) => buildFileLogger(file.filepath, context, baseLogger) -}); - -function* loadFileChain(input, context, files, baseLogger) { - const chain = yield* loadFileChainWalker(input, context, files, baseLogger); - - if (chain) { - chain.files.add(input.filepath); - } - - return chain; -} - -const loadFileDescriptors = (0, _caching.makeWeakCacheSync)(file => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors)); -const loadFileEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName))); -const loadFileOverridesDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index))); -const loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName)))); - -function buildFileLogger(filepath, context, baseLogger) { - if (!baseLogger) { - return () => {}; - } - - return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Config, { - filepath - }); -} - -function buildRootDescriptors({ - dirname, - options -}, alias, descriptors) { - return descriptors(dirname, options, alias); -} - -function buildProgrammaticLogger(_, context, baseLogger) { - var _context$caller; - - if (!baseLogger) { - return () => {}; - } - - return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Programmatic, { - callerName: (_context$caller = context.caller) == null ? void 0 : _context$caller.name - }); -} - -function buildEnvDescriptors({ - dirname, - options -}, alias, descriptors, envName) { - const opts = options.env && options.env[envName]; - return opts ? descriptors(dirname, opts, `${alias}.env["${envName}"]`) : null; -} - -function buildOverrideDescriptors({ - dirname, - options -}, alias, descriptors, index) { - const opts = options.overrides && options.overrides[index]; - if (!opts) throw new Error("Assertion failure - missing override"); - return descriptors(dirname, opts, `${alias}.overrides[${index}]`); -} - -function buildOverrideEnvDescriptors({ - dirname, - options -}, alias, descriptors, index, envName) { - const override = options.overrides && options.overrides[index]; - if (!override) throw new Error("Assertion failure - missing override"); - const opts = override.env && override.env[envName]; - return opts ? descriptors(dirname, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null; -} - -function makeChainWalker({ - root, - env, - overrides, - overridesEnv, - createLogger -}) { - return function* (input, context, files = new Set(), baseLogger) { - const { - dirname - } = input; - const flattenedConfigs = []; - const rootOpts = root(input); - - if (configIsApplicable(rootOpts, dirname, context)) { - flattenedConfigs.push({ - config: rootOpts, - envName: undefined, - index: undefined - }); - const envOpts = env(input, context.envName); - - if (envOpts && configIsApplicable(envOpts, dirname, context)) { - flattenedConfigs.push({ - config: envOpts, - envName: context.envName, - index: undefined - }); - } - - (rootOpts.options.overrides || []).forEach((_, index) => { - const overrideOps = overrides(input, index); - - if (configIsApplicable(overrideOps, dirname, context)) { - flattenedConfigs.push({ - config: overrideOps, - index, - envName: undefined - }); - const overrideEnvOpts = overridesEnv(input, index, context.envName); - - if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname, context)) { - flattenedConfigs.push({ - config: overrideEnvOpts, - index, - envName: context.envName - }); - } - } - }); - } - - if (flattenedConfigs.some(({ - config: { - options: { - ignore, - only - } - } - }) => shouldIgnore(context, ignore, only, dirname))) { - return null; - } - - const chain = emptyChain(); - const logger = createLogger(input, context, baseLogger); - - for (const { - config, - index, - envName - } of flattenedConfigs) { - if (!(yield* mergeExtendsChain(chain, config.options, dirname, context, files, baseLogger))) { - return null; - } - - logger(config, index, envName); - yield* mergeChainOpts(chain, config); - } - - return chain; - }; -} - -function* mergeExtendsChain(chain, opts, dirname, context, files, baseLogger) { - if (opts.extends === undefined) return true; - const file = yield* (0, _files.loadConfig)(opts.extends, dirname, context.envName, context.caller); - - if (files.has(file)) { - throw new Error(`Configuration cycle detected loading ${file.filepath}.\n` + `File already loaded following the config chain:\n` + Array.from(files, file => ` - ${file.filepath}`).join("\n")); - } - - files.add(file); - const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger); - files.delete(file); - if (!fileChain) return false; - mergeChain(chain, fileChain); - return true; -} - -function mergeChain(target, source) { - target.options.push(...source.options); - target.plugins.push(...source.plugins); - target.presets.push(...source.presets); - - for (const file of source.files) { - target.files.add(file); - } - - return target; -} - -function* mergeChainOpts(target, { - options, - plugins, - presets -}) { - target.options.push(options); - target.plugins.push(...(yield* plugins())); - target.presets.push(...(yield* presets())); - return target; -} - -function emptyChain() { - return { - options: [], - presets: [], - plugins: [], - files: new Set() - }; -} - -function normalizeOptions(opts) { - const options = Object.assign({}, opts); - delete options.extends; - delete options.env; - delete options.overrides; - delete options.plugins; - delete options.presets; - delete options.passPerPreset; - delete options.ignore; - delete options.only; - delete options.test; - delete options.include; - delete options.exclude; - - if (Object.prototype.hasOwnProperty.call(options, "sourceMap")) { - options.sourceMaps = options.sourceMap; - delete options.sourceMap; - } - - return options; -} - -function dedupDescriptors(items) { - const map = new Map(); - const descriptors = []; - - for (const item of items) { - if (typeof item.value === "function") { - const fnKey = item.value; - let nameMap = map.get(fnKey); - - if (!nameMap) { - nameMap = new Map(); - map.set(fnKey, nameMap); - } - - let desc = nameMap.get(item.name); - - if (!desc) { - desc = { - value: item - }; - descriptors.push(desc); - if (!item.ownPass) nameMap.set(item.name, desc); - } else { - desc.value = item; - } - } else { - descriptors.push({ - value: item - }); - } - } - - return descriptors.reduce((acc, desc) => { - acc.push(desc.value); - return acc; - }, []); -} - -function configIsApplicable({ - options -}, dirname, context) { - return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname)); -} - -function configFieldIsApplicable(context, test, dirname) { - const patterns = Array.isArray(test) ? test : [test]; - return matchesPatterns(context, patterns, dirname); -} - -function ignoreListReplacer(_key, value) { - if (value instanceof RegExp) { - return String(value); - } - - return value; -} - -function shouldIgnore(context, ignore, only, dirname) { - if (ignore && matchesPatterns(context, ignore, dirname)) { - var _context$filename; - - const message = `No config is applied to "${(_context$filename = context.filename) != null ? _context$filename : "(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ignore, ignoreListReplacer)}\` from "${dirname}"`; - debug(message); - - if (context.showConfig) { - console.log(message); - } - - return true; - } - - if (only && !matchesPatterns(context, only, dirname)) { - var _context$filename2; - - const message = `No config is applied to "${(_context$filename2 = context.filename) != null ? _context$filename2 : "(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(only, ignoreListReplacer)}\` from "${dirname}"`; - debug(message); - - if (context.showConfig) { - console.log(message); - } - - return true; - } - - return false; -} - -function matchesPatterns(context, patterns, dirname) { - return patterns.some(pattern => matchPattern(pattern, dirname, context.filename, context)); -} - -function matchPattern(pattern, dirname, pathToTest, context) { - if (typeof pattern === "function") { - return !!pattern(pathToTest, { - dirname, - envName: context.envName, - caller: context.caller - }); - } - - if (typeof pathToTest !== "string") { - throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`); - } - - if (typeof pattern === "string") { - pattern = (0, _patternToRegex.default)(pattern, dirname); - } - - return pattern.test(pathToTest); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/config-descriptors.js b/node_modules/@babel/core/lib/config/config-descriptors.js deleted file mode 100644 index 2f0a7a5..0000000 --- a/node_modules/@babel/core/lib/config/config-descriptors.js +++ /dev/null @@ -1,244 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.createCachedDescriptors = createCachedDescriptors; -exports.createDescriptor = createDescriptor; -exports.createUncachedDescriptors = createUncachedDescriptors; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _files = require("./files"); - -var _item = require("./item"); - -var _caching = require("./caching"); - -var _resolveTargets = require("./resolve-targets"); - -function isEqualDescriptor(a, b) { - return a.name === b.name && a.value === b.value && a.options === b.options && a.dirname === b.dirname && a.alias === b.alias && a.ownPass === b.ownPass && (a.file && a.file.request) === (b.file && b.file.request) && (a.file && a.file.resolved) === (b.file && b.file.resolved); -} - -function* handlerOf(value) { - return value; -} - -function optionsWithResolvedBrowserslistConfigFile(options, dirname) { - if (typeof options.browserslistConfigFile === "string") { - options.browserslistConfigFile = (0, _resolveTargets.resolveBrowserslistConfigFile)(options.browserslistConfigFile, dirname); - } - - return options; -} - -function createCachedDescriptors(dirname, options, alias) { - const { - plugins, - presets, - passPerPreset - } = options; - return { - options: optionsWithResolvedBrowserslistConfigFile(options, dirname), - plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname)(alias) : () => handlerOf([]), - presets: presets ? () => createCachedPresetDescriptors(presets, dirname)(alias)(!!passPerPreset) : () => handlerOf([]) - }; -} - -function createUncachedDescriptors(dirname, options, alias) { - let plugins; - let presets; - return { - options: optionsWithResolvedBrowserslistConfigFile(options, dirname), - - *plugins() { - if (!plugins) { - plugins = yield* createPluginDescriptors(options.plugins || [], dirname, alias); - } - - return plugins; - }, - - *presets() { - if (!presets) { - presets = yield* createPresetDescriptors(options.presets || [], dirname, alias, !!options.passPerPreset); - } - - return presets; - } - - }; -} - -const PRESET_DESCRIPTOR_CACHE = new WeakMap(); -const createCachedPresetDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => { - const dirname = cache.using(dir => dir); - return (0, _caching.makeStrongCacheSync)(alias => (0, _caching.makeStrongCache)(function* (passPerPreset) { - const descriptors = yield* createPresetDescriptors(items, dirname, alias, passPerPreset); - return descriptors.map(desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc)); - })); -}); -const PLUGIN_DESCRIPTOR_CACHE = new WeakMap(); -const createCachedPluginDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => { - const dirname = cache.using(dir => dir); - return (0, _caching.makeStrongCache)(function* (alias) { - const descriptors = yield* createPluginDescriptors(items, dirname, alias); - return descriptors.map(desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc)); - }); -}); -const DEFAULT_OPTIONS = {}; - -function loadCachedDescriptor(cache, desc) { - const { - value, - options = DEFAULT_OPTIONS - } = desc; - if (options === false) return desc; - let cacheByOptions = cache.get(value); - - if (!cacheByOptions) { - cacheByOptions = new WeakMap(); - cache.set(value, cacheByOptions); - } - - let possibilities = cacheByOptions.get(options); - - if (!possibilities) { - possibilities = []; - cacheByOptions.set(options, possibilities); - } - - if (possibilities.indexOf(desc) === -1) { - const matches = possibilities.filter(possibility => isEqualDescriptor(possibility, desc)); - - if (matches.length > 0) { - return matches[0]; - } - - possibilities.push(desc); - } - - return desc; -} - -function* createPresetDescriptors(items, dirname, alias, passPerPreset) { - return yield* createDescriptors("preset", items, dirname, alias, passPerPreset); -} - -function* createPluginDescriptors(items, dirname, alias) { - return yield* createDescriptors("plugin", items, dirname, alias); -} - -function* createDescriptors(type, items, dirname, alias, ownPass) { - const descriptors = yield* _gensync().all(items.map((item, index) => createDescriptor(item, dirname, { - type, - alias: `${alias}$${index}`, - ownPass: !!ownPass - }))); - assertNoDuplicates(descriptors); - return descriptors; -} - -function* createDescriptor(pair, dirname, { - type, - alias, - ownPass -}) { - const desc = (0, _item.getItemDescriptor)(pair); - - if (desc) { - return desc; - } - - let name; - let options; - let value = pair; - - if (Array.isArray(value)) { - if (value.length === 3) { - [value, options, name] = value; - } else { - [value, options] = value; - } - } - - let file = undefined; - let filepath = null; - - if (typeof value === "string") { - if (typeof type !== "string") { - throw new Error("To resolve a string-based item, the type of item must be given"); - } - - const resolver = type === "plugin" ? _files.loadPlugin : _files.loadPreset; - const request = value; - ({ - filepath, - value - } = yield* resolver(value, dirname)); - file = { - request, - resolved: filepath - }; - } - - if (!value) { - throw new Error(`Unexpected falsy value: ${String(value)}`); - } - - if (typeof value === "object" && value.__esModule) { - if (value.default) { - value = value.default; - } else { - throw new Error("Must export a default export when using ES6 modules."); - } - } - - if (typeof value !== "object" && typeof value !== "function") { - throw new Error(`Unsupported format: ${typeof value}. Expected an object or a function.`); - } - - if (filepath !== null && typeof value === "object" && value) { - throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`); - } - - return { - name, - alias: filepath || alias, - value, - options, - dirname, - ownPass, - file - }; -} - -function assertNoDuplicates(items) { - const map = new Map(); - - for (const item of items) { - if (typeof item.value !== "function") continue; - let nameMap = map.get(item.value); - - if (!nameMap) { - nameMap = new Set(); - map.set(item.value, nameMap); - } - - if (nameMap.has(item.name)) { - const conflicts = items.filter(i => i.value === item.value); - throw new Error([`Duplicate plugin/preset detected.`, `If you'd like to use two separate instances of a plugin,`, `they need separate names, e.g.`, ``, ` plugins: [`, ` ['some-plugin', {}],`, ` ['some-plugin', {}, 'some unique name'],`, ` ]`, ``, `Duplicates detected are:`, `${JSON.stringify(conflicts, null, 2)}`].join("\n")); - } - - nameMap.add(item.name); - } -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/configuration.js b/node_modules/@babel/core/lib/config/files/configuration.js deleted file mode 100644 index f6cbf0c..0000000 --- a/node_modules/@babel/core/lib/config/files/configuration.js +++ /dev/null @@ -1,358 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ROOT_CONFIG_FILENAMES = void 0; -exports.findConfigUpwards = findConfigUpwards; -exports.findRelativeConfig = findRelativeConfig; -exports.findRootConfig = findRootConfig; -exports.loadConfig = loadConfig; -exports.resolveShowConfigPath = resolveShowConfigPath; - -function _debug() { - const data = require("debug"); - - _debug = function () { - return data; - }; - - return data; -} - -function _fs() { - const data = require("fs"); - - _fs = function () { - return data; - }; - - return data; -} - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _json() { - const data = require("json5"); - - _json = function () { - return data; - }; - - return data; -} - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _caching = require("../caching"); - -var _configApi = require("../helpers/config-api"); - -var _utils = require("./utils"); - -var _moduleTypes = require("./module-types"); - -var _patternToRegex = require("../pattern-to-regex"); - -var fs = require("../../gensync-utils/fs"); - -function _module() { - const data = require("module"); - - _module = function () { - return data; - }; - - return data; -} - -const debug = _debug()("babel:config:loading:files:configuration"); - -const ROOT_CONFIG_FILENAMES = ["babel.config.js", "babel.config.cjs", "babel.config.mjs", "babel.config.json"]; -exports.ROOT_CONFIG_FILENAMES = ROOT_CONFIG_FILENAMES; -const RELATIVE_CONFIG_FILENAMES = [".babelrc", ".babelrc.js", ".babelrc.cjs", ".babelrc.mjs", ".babelrc.json"]; -const BABELIGNORE_FILENAME = ".babelignore"; - -function findConfigUpwards(rootDir) { - let dirname = rootDir; - - for (;;) { - for (const filename of ROOT_CONFIG_FILENAMES) { - if (_fs().existsSync(_path().join(dirname, filename))) { - return dirname; - } - } - - const nextDir = _path().dirname(dirname); - - if (dirname === nextDir) break; - dirname = nextDir; - } - - return null; -} - -function* findRelativeConfig(packageData, envName, caller) { - let config = null; - let ignore = null; - - const dirname = _path().dirname(packageData.filepath); - - for (const loc of packageData.directories) { - if (!config) { - var _packageData$pkg; - - config = yield* loadOneConfig(RELATIVE_CONFIG_FILENAMES, loc, envName, caller, ((_packageData$pkg = packageData.pkg) == null ? void 0 : _packageData$pkg.dirname) === loc ? packageToBabelConfig(packageData.pkg) : null); - } - - if (!ignore) { - const ignoreLoc = _path().join(loc, BABELIGNORE_FILENAME); - - ignore = yield* readIgnoreConfig(ignoreLoc); - - if (ignore) { - debug("Found ignore %o from %o.", ignore.filepath, dirname); - } - } - } - - return { - config, - ignore - }; -} - -function findRootConfig(dirname, envName, caller) { - return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname, envName, caller); -} - -function* loadOneConfig(names, dirname, envName, caller, previousConfig = null) { - const configs = yield* _gensync().all(names.map(filename => readConfig(_path().join(dirname, filename), envName, caller))); - const config = configs.reduce((previousConfig, config) => { - if (config && previousConfig) { - throw new Error(`Multiple configuration files found. Please remove one:\n` + ` - ${_path().basename(previousConfig.filepath)}\n` + ` - ${config.filepath}\n` + `from ${dirname}`); - } - - return config || previousConfig; - }, previousConfig); - - if (config) { - debug("Found configuration %o from %o.", config.filepath, dirname); - } - - return config; -} - -function* loadConfig(name, dirname, envName, caller) { - const filepath = (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, { - paths: [b] - }, M = require("module")) => { - let f = M._findPath(r, M._nodeModulePaths(b).concat(b)); - - if (f) return f; - f = new Error(`Cannot resolve module '${r}'`); - f.code = "MODULE_NOT_FOUND"; - throw f; - })(name, { - paths: [dirname] - }); - const conf = yield* readConfig(filepath, envName, caller); - - if (!conf) { - throw new Error(`Config file ${filepath} contains no configuration data`); - } - - debug("Loaded config %o from %o.", name, dirname); - return conf; -} - -function readConfig(filepath, envName, caller) { - const ext = _path().extname(filepath); - - return ext === ".js" || ext === ".cjs" || ext === ".mjs" ? readConfigJS(filepath, { - envName, - caller - }) : readConfigJSON5(filepath); -} - -const LOADING_CONFIGS = new Set(); -const readConfigJS = (0, _caching.makeStrongCache)(function* readConfigJS(filepath, cache) { - if (!_fs().existsSync(filepath)) { - cache.never(); - return null; - } - - if (LOADING_CONFIGS.has(filepath)) { - cache.never(); - debug("Auto-ignoring usage of config %o.", filepath); - return { - filepath, - dirname: _path().dirname(filepath), - options: {} - }; - } - - let options; - - try { - LOADING_CONFIGS.add(filepath); - options = yield* (0, _moduleTypes.default)(filepath, "You appear to be using a native ECMAScript module configuration " + "file, which is only supported when running Babel asynchronously."); - } catch (err) { - err.message = `${filepath}: Error while loading config - ${err.message}`; - throw err; - } finally { - LOADING_CONFIGS.delete(filepath); - } - - let assertCache = false; - - if (typeof options === "function") { - yield* []; - options = options((0, _configApi.makeConfigAPI)(cache)); - assertCache = true; - } - - if (!options || typeof options !== "object" || Array.isArray(options)) { - throw new Error(`${filepath}: Configuration should be an exported JavaScript object.`); - } - - if (typeof options.then === "function") { - throw new Error(`You appear to be using an async configuration, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously return your config.`); - } - - if (assertCache && !cache.configured()) throwConfigError(); - return { - filepath, - dirname: _path().dirname(filepath), - options - }; -}); -const packageToBabelConfig = (0, _caching.makeWeakCacheSync)(file => { - const babel = file.options["babel"]; - if (typeof babel === "undefined") return null; - - if (typeof babel !== "object" || Array.isArray(babel) || babel === null) { - throw new Error(`${file.filepath}: .babel property must be an object`); - } - - return { - filepath: file.filepath, - dirname: file.dirname, - options: babel - }; -}); -const readConfigJSON5 = (0, _utils.makeStaticFileCache)((filepath, content) => { - let options; - - try { - options = _json().parse(content); - } catch (err) { - err.message = `${filepath}: Error while parsing config - ${err.message}`; - throw err; - } - - if (!options) throw new Error(`${filepath}: No config detected`); - - if (typeof options !== "object") { - throw new Error(`${filepath}: Config returned typeof ${typeof options}`); - } - - if (Array.isArray(options)) { - throw new Error(`${filepath}: Expected config object but found array`); - } - - delete options["$schema"]; - return { - filepath, - dirname: _path().dirname(filepath), - options - }; -}); -const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) => { - const ignoreDir = _path().dirname(filepath); - - const ignorePatterns = content.split("\n").map(line => line.replace(/#(.*?)$/, "").trim()).filter(line => !!line); - - for (const pattern of ignorePatterns) { - if (pattern[0] === "!") { - throw new Error(`Negation of file paths is not supported.`); - } - } - - return { - filepath, - dirname: _path().dirname(filepath), - ignore: ignorePatterns.map(pattern => (0, _patternToRegex.default)(pattern, ignoreDir)) - }; -}); - -function* resolveShowConfigPath(dirname) { - const targetPath = process.env.BABEL_SHOW_CONFIG_FOR; - - if (targetPath != null) { - const absolutePath = _path().resolve(dirname, targetPath); - - const stats = yield* fs.stat(absolutePath); - - if (!stats.isFile()) { - throw new Error(`${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`); - } - - return absolutePath; - } - - return null; -} - -function throwConfigError() { - throw new Error(`\ -Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured -for various types of caching, using the first param of their handler functions: - -module.exports = function(api) { - // The API exposes the following: - - // Cache the returned value forever and don't call this function again. - api.cache(true); - - // Don't cache at all. Not recommended because it will be very slow. - api.cache(false); - - // Cached based on the value of some function. If this function returns a value different from - // a previously-encountered value, the plugins will re-evaluate. - var env = api.cache(() => process.env.NODE_ENV); - - // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for - // any possible NODE_ENV value that might come up during plugin execution. - var isProd = api.cache(() => process.env.NODE_ENV === "production"); - - // .cache(fn) will perform a linear search though instances to find the matching plugin based - // based on previous instantiated plugins. If you want to recreate the plugin and discard the - // previous instance whenever something changes, you may use: - var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production"); - - // Note, we also expose the following more-verbose versions of the above examples: - api.cache.forever(); // api.cache(true) - api.cache.never(); // api.cache(false) - api.cache.using(fn); // api.cache(fn) - - // Return the value that will be cached. - return { }; -};`); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/import-meta-resolve.js b/node_modules/@babel/core/lib/config/files/import-meta-resolve.js deleted file mode 100644 index 6e1c905..0000000 --- a/node_modules/@babel/core/lib/config/files/import-meta-resolve.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = resolve; - -function _module() { - const data = require("module"); - - _module = function () { - return data; - }; - - return data; -} - -var _importMetaResolve = require("../../vendor/import-meta-resolve"); - -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } - -function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } - -let import_; - -try { - import_ = require("./import").default; -} catch (_unused) {} - -const importMetaResolveP = import_ && process.execArgv.includes("--experimental-import-meta-resolve") ? import_("data:text/javascript,export default import.meta.resolve").then(m => m.default || _importMetaResolve.resolve, () => _importMetaResolve.resolve) : Promise.resolve(_importMetaResolve.resolve); - -function resolve(_x, _x2) { - return _resolve.apply(this, arguments); -} - -function _resolve() { - _resolve = _asyncToGenerator(function* (specifier, parent) { - return (yield importMetaResolveP)(specifier, parent); - }); - return _resolve.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/import.js b/node_modules/@babel/core/lib/config/files/import.js deleted file mode 100644 index c0acc2b..0000000 --- a/node_modules/@babel/core/lib/config/files/import.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = import_; - -function import_(filepath) { - return import(filepath); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/index-browser.js b/node_modules/@babel/core/lib/config/files/index-browser.js deleted file mode 100644 index c73168b..0000000 --- a/node_modules/@babel/core/lib/config/files/index-browser.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ROOT_CONFIG_FILENAMES = void 0; -exports.findConfigUpwards = findConfigUpwards; -exports.findPackageData = findPackageData; -exports.findRelativeConfig = findRelativeConfig; -exports.findRootConfig = findRootConfig; -exports.loadConfig = loadConfig; -exports.loadPlugin = loadPlugin; -exports.loadPreset = loadPreset; -exports.resolvePlugin = resolvePlugin; -exports.resolvePreset = resolvePreset; -exports.resolveShowConfigPath = resolveShowConfigPath; - -function findConfigUpwards(rootDir) { - return null; -} - -function* findPackageData(filepath) { - return { - filepath, - directories: [], - pkg: null, - isPackage: false - }; -} - -function* findRelativeConfig(pkgData, envName, caller) { - return { - config: null, - ignore: null - }; -} - -function* findRootConfig(dirname, envName, caller) { - return null; -} - -function* loadConfig(name, dirname, envName, caller) { - throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`); -} - -function* resolveShowConfigPath(dirname) { - return null; -} - -const ROOT_CONFIG_FILENAMES = []; -exports.ROOT_CONFIG_FILENAMES = ROOT_CONFIG_FILENAMES; - -function resolvePlugin(name, dirname) { - return null; -} - -function resolvePreset(name, dirname) { - return null; -} - -function loadPlugin(name, dirname) { - throw new Error(`Cannot load plugin ${name} relative to ${dirname} in a browser`); -} - -function loadPreset(name, dirname) { - throw new Error(`Cannot load preset ${name} relative to ${dirname} in a browser`); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/index.js b/node_modules/@babel/core/lib/config/files/index.js deleted file mode 100644 index 075410c..0000000 --- a/node_modules/@babel/core/lib/config/files/index.js +++ /dev/null @@ -1,86 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ROOT_CONFIG_FILENAMES", { - enumerable: true, - get: function () { - return _configuration.ROOT_CONFIG_FILENAMES; - } -}); -Object.defineProperty(exports, "findConfigUpwards", { - enumerable: true, - get: function () { - return _configuration.findConfigUpwards; - } -}); -Object.defineProperty(exports, "findPackageData", { - enumerable: true, - get: function () { - return _package.findPackageData; - } -}); -Object.defineProperty(exports, "findRelativeConfig", { - enumerable: true, - get: function () { - return _configuration.findRelativeConfig; - } -}); -Object.defineProperty(exports, "findRootConfig", { - enumerable: true, - get: function () { - return _configuration.findRootConfig; - } -}); -Object.defineProperty(exports, "loadConfig", { - enumerable: true, - get: function () { - return _configuration.loadConfig; - } -}); -Object.defineProperty(exports, "loadPlugin", { - enumerable: true, - get: function () { - return plugins.loadPlugin; - } -}); -Object.defineProperty(exports, "loadPreset", { - enumerable: true, - get: function () { - return plugins.loadPreset; - } -}); -exports.resolvePreset = exports.resolvePlugin = void 0; -Object.defineProperty(exports, "resolveShowConfigPath", { - enumerable: true, - get: function () { - return _configuration.resolveShowConfigPath; - } -}); - -var _package = require("./package"); - -var _configuration = require("./configuration"); - -var plugins = require("./plugins"); - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -({}); - -const resolvePlugin = _gensync()(plugins.resolvePlugin).sync; - -exports.resolvePlugin = resolvePlugin; - -const resolvePreset = _gensync()(plugins.resolvePreset).sync; - -exports.resolvePreset = resolvePreset; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/module-types.js b/node_modules/@babel/core/lib/config/files/module-types.js deleted file mode 100644 index 35d8220..0000000 --- a/node_modules/@babel/core/lib/config/files/module-types.js +++ /dev/null @@ -1,108 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = loadCjsOrMjsDefault; -exports.supportsESM = void 0; - -var _async = require("../../gensync-utils/async"); - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _url() { - const data = require("url"); - - _url = function () { - return data; - }; - - return data; -} - -function _module() { - const data = require("module"); - - _module = function () { - return data; - }; - - return data; -} - -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } - -function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } - -let import_; - -try { - import_ = require("./import").default; -} catch (_unused) {} - -const supportsESM = !!import_; -exports.supportsESM = supportsESM; - -function* loadCjsOrMjsDefault(filepath, asyncError, fallbackToTranspiledModule = false) { - switch (guessJSModuleType(filepath)) { - case "cjs": - return loadCjsDefault(filepath, fallbackToTranspiledModule); - - case "unknown": - try { - return loadCjsDefault(filepath, fallbackToTranspiledModule); - } catch (e) { - if (e.code !== "ERR_REQUIRE_ESM") throw e; - } - - case "mjs": - if (yield* (0, _async.isAsync)()) { - return yield* (0, _async.waitFor)(loadMjsDefault(filepath)); - } - - throw new Error(asyncError); - } -} - -function guessJSModuleType(filename) { - switch (_path().extname(filename)) { - case ".cjs": - return "cjs"; - - case ".mjs": - return "mjs"; - - default: - return "unknown"; - } -} - -function loadCjsDefault(filepath, fallbackToTranspiledModule) { - const module = require(filepath); - - return module != null && module.__esModule ? module.default || (fallbackToTranspiledModule ? module : undefined) : module; -} - -function loadMjsDefault(_x) { - return _loadMjsDefault.apply(this, arguments); -} - -function _loadMjsDefault() { - _loadMjsDefault = _asyncToGenerator(function* (filepath) { - if (!import_) { - throw new Error("Internal error: Native ECMAScript modules aren't supported" + " by this platform.\n"); - } - - const module = yield import_((0, _url().pathToFileURL)(filepath)); - return module.default; - }); - return _loadMjsDefault.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/package.js b/node_modules/@babel/core/lib/config/files/package.js deleted file mode 100644 index 0e08bfe..0000000 --- a/node_modules/@babel/core/lib/config/files/package.js +++ /dev/null @@ -1,76 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.findPackageData = findPackageData; - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -var _utils = require("./utils"); - -const PACKAGE_FILENAME = "package.json"; - -function* findPackageData(filepath) { - let pkg = null; - const directories = []; - let isPackage = true; - - let dirname = _path().dirname(filepath); - - while (!pkg && _path().basename(dirname) !== "node_modules") { - directories.push(dirname); - pkg = yield* readConfigPackage(_path().join(dirname, PACKAGE_FILENAME)); - - const nextLoc = _path().dirname(dirname); - - if (dirname === nextLoc) { - isPackage = false; - break; - } - - dirname = nextLoc; - } - - return { - filepath, - directories, - pkg, - isPackage - }; -} - -const readConfigPackage = (0, _utils.makeStaticFileCache)((filepath, content) => { - let options; - - try { - options = JSON.parse(content); - } catch (err) { - err.message = `${filepath}: Error while parsing JSON - ${err.message}`; - throw err; - } - - if (!options) throw new Error(`${filepath}: No config detected`); - - if (typeof options !== "object") { - throw new Error(`${filepath}: Config returned typeof ${typeof options}`); - } - - if (Array.isArray(options)) { - throw new Error(`${filepath}: Expected config object but found array`); - } - - return { - filepath, - dirname: _path().dirname(filepath), - options - }; -}); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/plugins.js b/node_modules/@babel/core/lib/config/files/plugins.js deleted file mode 100644 index 8af6e49..0000000 --- a/node_modules/@babel/core/lib/config/files/plugins.js +++ /dev/null @@ -1,273 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.loadPlugin = loadPlugin; -exports.loadPreset = loadPreset; -exports.resolvePlugin = resolvePlugin; -exports.resolvePreset = resolvePreset; - -function _debug() { - const data = require("debug"); - - _debug = function () { - return data; - }; - - return data; -} - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _async = require("../../gensync-utils/async"); - -var _moduleTypes = require("./module-types"); - -function _url() { - const data = require("url"); - - _url = function () { - return data; - }; - - return data; -} - -var _importMetaResolve = require("./import-meta-resolve"); - -function _module() { - const data = require("module"); - - _module = function () { - return data; - }; - - return data; -} - -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } - -function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } - -const debug = _debug()("babel:config:loading:files:plugins"); - -const EXACT_RE = /^module:/; -const BABEL_PLUGIN_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-plugin-)/; -const BABEL_PRESET_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-preset-)/; -const BABEL_PLUGIN_ORG_RE = /^(@babel\/)(?!plugin-|[^/]+\/)/; -const BABEL_PRESET_ORG_RE = /^(@babel\/)(?!preset-|[^/]+\/)/; -const OTHER_PLUGIN_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/; -const OTHER_PRESET_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/; -const OTHER_ORG_DEFAULT_RE = /^(@(?!babel$)[^/]+)$/; - -function* resolvePlugin(name, dirname) { - return yield* resolveStandardizedName("plugin", name, dirname); -} - -function* resolvePreset(name, dirname) { - return yield* resolveStandardizedName("preset", name, dirname); -} - -function* loadPlugin(name, dirname) { - const filepath = yield* resolvePlugin(name, dirname); - const value = yield* requireModule("plugin", filepath); - debug("Loaded plugin %o from %o.", name, dirname); - return { - filepath, - value - }; -} - -function* loadPreset(name, dirname) { - const filepath = yield* resolvePreset(name, dirname); - const value = yield* requireModule("preset", filepath); - debug("Loaded preset %o from %o.", name, dirname); - return { - filepath, - value - }; -} - -function standardizeName(type, name) { - if (_path().isAbsolute(name)) return name; - const isPreset = type === "preset"; - return name.replace(isPreset ? BABEL_PRESET_PREFIX_RE : BABEL_PLUGIN_PREFIX_RE, `babel-${type}-`).replace(isPreset ? BABEL_PRESET_ORG_RE : BABEL_PLUGIN_ORG_RE, `$1${type}-`).replace(isPreset ? OTHER_PRESET_ORG_RE : OTHER_PLUGIN_ORG_RE, `$1babel-${type}-`).replace(OTHER_ORG_DEFAULT_RE, `$1/babel-${type}`).replace(EXACT_RE, ""); -} - -function* resolveAlternativesHelper(type, name) { - const standardizedName = standardizeName(type, name); - const { - error, - value - } = yield standardizedName; - if (!error) return value; - if (error.code !== "MODULE_NOT_FOUND") throw error; - - if (standardizedName !== name && !(yield name).error) { - error.message += `\n- If you want to resolve "${name}", use "module:${name}"`; - } - - if (!(yield standardizeName(type, "@babel/" + name)).error) { - error.message += `\n- Did you mean "@babel/${name}"?`; - } - - const oppositeType = type === "preset" ? "plugin" : "preset"; - - if (!(yield standardizeName(oppositeType, name)).error) { - error.message += `\n- Did you accidentally pass a ${oppositeType} as a ${type}?`; - } - - throw error; -} - -function tryRequireResolve(id, { - paths: [dirname] -}) { - try { - return { - error: null, - value: (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, { - paths: [b] - }, M = require("module")) => { - let f = M._findPath(r, M._nodeModulePaths(b).concat(b)); - - if (f) return f; - f = new Error(`Cannot resolve module '${r}'`); - f.code = "MODULE_NOT_FOUND"; - throw f; - })(id, { - paths: [dirname] - }) - }; - } catch (error) { - return { - error, - value: null - }; - } -} - -function tryImportMetaResolve(_x, _x2) { - return _tryImportMetaResolve.apply(this, arguments); -} - -function _tryImportMetaResolve() { - _tryImportMetaResolve = _asyncToGenerator(function* (id, options) { - try { - return { - error: null, - value: yield (0, _importMetaResolve.default)(id, options) - }; - } catch (error) { - return { - error, - value: null - }; - } - }); - return _tryImportMetaResolve.apply(this, arguments); -} - -function resolveStandardizedNameForRequrie(type, name, dirname) { - const it = resolveAlternativesHelper(type, name); - let res = it.next(); - - while (!res.done) { - res = it.next(tryRequireResolve(res.value, { - paths: [dirname] - })); - } - - return res.value; -} - -function resolveStandardizedNameForImport(_x3, _x4, _x5) { - return _resolveStandardizedNameForImport.apply(this, arguments); -} - -function _resolveStandardizedNameForImport() { - _resolveStandardizedNameForImport = _asyncToGenerator(function* (type, name, dirname) { - const parentUrl = (0, _url().pathToFileURL)(_path().join(dirname, "./babel-virtual-resolve-base.js")).href; - const it = resolveAlternativesHelper(type, name); - let res = it.next(); - - while (!res.done) { - res = it.next(yield tryImportMetaResolve(res.value, parentUrl)); - } - - return (0, _url().fileURLToPath)(res.value); - }); - return _resolveStandardizedNameForImport.apply(this, arguments); -} - -const resolveStandardizedName = _gensync()({ - sync(type, name, dirname = process.cwd()) { - return resolveStandardizedNameForRequrie(type, name, dirname); - }, - - async(type, name, dirname = process.cwd()) { - return _asyncToGenerator(function* () { - if (!_moduleTypes.supportsESM) { - return resolveStandardizedNameForRequrie(type, name, dirname); - } - - try { - return yield resolveStandardizedNameForImport(type, name, dirname); - } catch (e) { - try { - return resolveStandardizedNameForRequrie(type, name, dirname); - } catch (e2) { - if (e.type === "MODULE_NOT_FOUND") throw e; - if (e2.type === "MODULE_NOT_FOUND") throw e2; - throw e; - } - } - })(); - } - -}); - -{ - var LOADING_MODULES = new Set(); -} - -function* requireModule(type, name) { - { - if (!(yield* (0, _async.isAsync)()) && LOADING_MODULES.has(name)) { - throw new Error(`Reentrant ${type} detected trying to load "${name}". This module is not ignored ` + "and is trying to load itself while compiling itself, leading to a dependency cycle. " + 'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.'); - } - } - - try { - { - LOADING_MODULES.add(name); - } - return yield* (0, _moduleTypes.default)(name, `You appear to be using a native ECMAScript module ${type}, ` + "which is only supported when running Babel asynchronously.", true); - } catch (err) { - err.message = `[BABEL]: ${err.message} (While processing: ${name})`; - throw err; - } finally { - { - LOADING_MODULES.delete(name); - } - } -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/types.js b/node_modules/@babel/core/lib/config/files/types.js deleted file mode 100644 index e69de29..0000000 diff --git a/node_modules/@babel/core/lib/config/files/utils.js b/node_modules/@babel/core/lib/config/files/utils.js deleted file mode 100644 index 6da68c0..0000000 --- a/node_modules/@babel/core/lib/config/files/utils.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.makeStaticFileCache = makeStaticFileCache; - -var _caching = require("../caching"); - -var fs = require("../../gensync-utils/fs"); - -function _fs2() { - const data = require("fs"); - - _fs2 = function () { - return data; - }; - - return data; -} - -function makeStaticFileCache(fn) { - return (0, _caching.makeStrongCache)(function* (filepath, cache) { - const cached = cache.invalidate(() => fileMtime(filepath)); - - if (cached === null) { - return null; - } - - return fn(filepath, yield* fs.readFile(filepath, "utf8")); - }); -} - -function fileMtime(filepath) { - if (!_fs2().existsSync(filepath)) return null; - - try { - return +_fs2().statSync(filepath).mtime; - } catch (e) { - if (e.code !== "ENOENT" && e.code !== "ENOTDIR") throw e; - } - - return null; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/full.js b/node_modules/@babel/core/lib/config/full.js deleted file mode 100644 index e1df648..0000000 --- a/node_modules/@babel/core/lib/config/full.js +++ /dev/null @@ -1,378 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _async = require("../gensync-utils/async"); - -var _util = require("./util"); - -var context = require("../index"); - -var _plugin = require("./plugin"); - -var _item = require("./item"); - -var _configChain = require("./config-chain"); - -var _deepArray = require("./helpers/deep-array"); - -function _traverse() { - const data = require("@babel/traverse"); - - _traverse = function () { - return data; - }; - - return data; -} - -var _caching = require("./caching"); - -var _options = require("./validation/options"); - -var _plugins = require("./validation/plugins"); - -var _configApi = require("./helpers/config-api"); - -var _partial = require("./partial"); - -var Context = require("./cache-contexts"); - -var _default = _gensync()(function* loadFullConfig(inputOpts) { - var _opts$assumptions; - - const result = yield* (0, _partial.default)(inputOpts); - - if (!result) { - return null; - } - - const { - options, - context, - fileHandling - } = result; - - if (fileHandling === "ignored") { - return null; - } - - const optionDefaults = {}; - const { - plugins, - presets - } = options; - - if (!plugins || !presets) { - throw new Error("Assertion failure - plugins and presets exist"); - } - - const presetContext = Object.assign({}, context, { - targets: options.targets - }); - - const toDescriptor = item => { - const desc = (0, _item.getItemDescriptor)(item); - - if (!desc) { - throw new Error("Assertion failure - must be config item"); - } - - return desc; - }; - - const presetsDescriptors = presets.map(toDescriptor); - const initialPluginsDescriptors = plugins.map(toDescriptor); - const pluginDescriptorsByPass = [[]]; - const passes = []; - const externalDependencies = []; - const ignored = yield* enhanceError(context, function* recursePresetDescriptors(rawPresets, pluginDescriptorsPass) { - const presets = []; - - for (let i = 0; i < rawPresets.length; i++) { - const descriptor = rawPresets[i]; - - if (descriptor.options !== false) { - try { - var preset = yield* loadPresetDescriptor(descriptor, presetContext); - } catch (e) { - if (e.code === "BABEL_UNKNOWN_OPTION") { - (0, _options.checkNoUnwrappedItemOptionPairs)(rawPresets, i, "preset", e); - } - - throw e; - } - - externalDependencies.push(preset.externalDependencies); - - if (descriptor.ownPass) { - presets.push({ - preset: preset.chain, - pass: [] - }); - } else { - presets.unshift({ - preset: preset.chain, - pass: pluginDescriptorsPass - }); - } - } - } - - if (presets.length > 0) { - pluginDescriptorsByPass.splice(1, 0, ...presets.map(o => o.pass).filter(p => p !== pluginDescriptorsPass)); - - for (const { - preset, - pass - } of presets) { - if (!preset) return true; - pass.push(...preset.plugins); - const ignored = yield* recursePresetDescriptors(preset.presets, pass); - if (ignored) return true; - preset.options.forEach(opts => { - (0, _util.mergeOptions)(optionDefaults, opts); - }); - } - } - })(presetsDescriptors, pluginDescriptorsByPass[0]); - if (ignored) return null; - const opts = optionDefaults; - (0, _util.mergeOptions)(opts, options); - const pluginContext = Object.assign({}, presetContext, { - assumptions: (_opts$assumptions = opts.assumptions) != null ? _opts$assumptions : {} - }); - yield* enhanceError(context, function* loadPluginDescriptors() { - pluginDescriptorsByPass[0].unshift(...initialPluginsDescriptors); - - for (const descs of pluginDescriptorsByPass) { - const pass = []; - passes.push(pass); - - for (let i = 0; i < descs.length; i++) { - const descriptor = descs[i]; - - if (descriptor.options !== false) { - try { - var plugin = yield* loadPluginDescriptor(descriptor, pluginContext); - } catch (e) { - if (e.code === "BABEL_UNKNOWN_PLUGIN_PROPERTY") { - (0, _options.checkNoUnwrappedItemOptionPairs)(descs, i, "plugin", e); - } - - throw e; - } - - pass.push(plugin); - externalDependencies.push(plugin.externalDependencies); - } - } - } - })(); - opts.plugins = passes[0]; - opts.presets = passes.slice(1).filter(plugins => plugins.length > 0).map(plugins => ({ - plugins - })); - opts.passPerPreset = opts.presets.length > 0; - return { - options: opts, - passes: passes, - externalDependencies: (0, _deepArray.finalize)(externalDependencies) - }; -}); - -exports.default = _default; - -function enhanceError(context, fn) { - return function* (arg1, arg2) { - try { - return yield* fn(arg1, arg2); - } catch (e) { - if (!/^\[BABEL\]/.test(e.message)) { - e.message = `[BABEL] ${context.filename || "unknown"}: ${e.message}`; - } - - throw e; - } - }; -} - -const makeDescriptorLoader = apiFactory => (0, _caching.makeWeakCache)(function* ({ - value, - options, - dirname, - alias -}, cache) { - if (options === false) throw new Error("Assertion failure"); - options = options || {}; - const externalDependencies = []; - let item = value; - - if (typeof value === "function") { - const factory = (0, _async.maybeAsync)(value, `You appear to be using an async plugin/preset, but Babel has been called synchronously`); - const api = Object.assign({}, context, apiFactory(cache, externalDependencies)); - - try { - item = yield* factory(api, options, dirname); - } catch (e) { - if (alias) { - e.message += ` (While processing: ${JSON.stringify(alias)})`; - } - - throw e; - } - } - - if (!item || typeof item !== "object") { - throw new Error("Plugin/Preset did not return an object."); - } - - if ((0, _async.isThenable)(item)) { - yield* []; - throw new Error(`You appear to be using a promise as a plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version. ` + `As an alternative, you can prefix the promise with "await". ` + `(While processing: ${JSON.stringify(alias)})`); - } - - if (externalDependencies.length > 0 && (!cache.configured() || cache.mode() === "forever")) { - let error = `A plugin/preset has external untracked dependencies ` + `(${externalDependencies[0]}), but the cache `; - - if (!cache.configured()) { - error += `has not been configured to be invalidated when the external dependencies change. `; - } else { - error += ` has been configured to never be invalidated. `; - } - - error += `Plugins/presets should configure their cache to be invalidated when the external ` + `dependencies change, for example using \`api.cache.invalidate(() => ` + `statSync(filepath).mtimeMs)\` or \`api.cache.never()\`\n` + `(While processing: ${JSON.stringify(alias)})`; - throw new Error(error); - } - - return { - value: item, - options, - dirname, - alias, - externalDependencies: (0, _deepArray.finalize)(externalDependencies) - }; -}); - -const pluginDescriptorLoader = makeDescriptorLoader(_configApi.makePluginAPI); -const presetDescriptorLoader = makeDescriptorLoader(_configApi.makePresetAPI); - -function* loadPluginDescriptor(descriptor, context) { - if (descriptor.value instanceof _plugin.default) { - if (descriptor.options) { - throw new Error("Passed options to an existing Plugin instance will not work."); - } - - return descriptor.value; - } - - return yield* instantiatePlugin(yield* pluginDescriptorLoader(descriptor, context), context); -} - -const instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ - value, - options, - dirname, - alias, - externalDependencies -}, cache) { - const pluginObj = (0, _plugins.validatePluginObject)(value); - const plugin = Object.assign({}, pluginObj); - - if (plugin.visitor) { - plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor)); - } - - if (plugin.inherits) { - const inheritsDescriptor = { - name: undefined, - alias: `${alias}$inherits`, - value: plugin.inherits, - options, - dirname - }; - const inherits = yield* (0, _async.forwardAsync)(loadPluginDescriptor, run => { - return cache.invalidate(data => run(inheritsDescriptor, data)); - }); - plugin.pre = chain(inherits.pre, plugin.pre); - plugin.post = chain(inherits.post, plugin.post); - plugin.manipulateOptions = chain(inherits.manipulateOptions, plugin.manipulateOptions); - plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]); - - if (inherits.externalDependencies.length > 0) { - if (externalDependencies.length === 0) { - externalDependencies = inherits.externalDependencies; - } else { - externalDependencies = (0, _deepArray.finalize)([externalDependencies, inherits.externalDependencies]); - } - } - } - - return new _plugin.default(plugin, options, alias, externalDependencies); -}); - -const validateIfOptionNeedsFilename = (options, descriptor) => { - if (options.test || options.include || options.exclude) { - const formattedPresetName = descriptor.name ? `"${descriptor.name}"` : "/* your preset */"; - throw new Error([`Preset ${formattedPresetName} requires a filename to be set when babel is called directly,`, `\`\`\``, `babel.transform(code, { filename: 'file.ts', presets: [${formattedPresetName}] });`, `\`\`\``, `See https://babeljs.io/docs/en/options#filename for more information.`].join("\n")); - } -}; - -const validatePreset = (preset, context, descriptor) => { - if (!context.filename) { - const { - options - } = preset; - validateIfOptionNeedsFilename(options, descriptor); - - if (options.overrides) { - options.overrides.forEach(overrideOptions => validateIfOptionNeedsFilename(overrideOptions, descriptor)); - } - } -}; - -function* loadPresetDescriptor(descriptor, context) { - const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context)); - validatePreset(preset, context, descriptor); - return { - chain: yield* (0, _configChain.buildPresetChain)(preset, context), - externalDependencies: preset.externalDependencies - }; -} - -const instantiatePreset = (0, _caching.makeWeakCacheSync)(({ - value, - dirname, - alias, - externalDependencies -}) => { - return { - options: (0, _options.validate)("preset", value), - alias, - dirname, - externalDependencies - }; -}); - -function chain(a, b) { - const fns = [a, b].filter(Boolean); - if (fns.length <= 1) return fns[0]; - return function (...args) { - for (const fn of fns) { - fn.apply(this, args); - } - }; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/config-api.js b/node_modules/@babel/core/lib/config/helpers/config-api.js deleted file mode 100644 index f8dedbc..0000000 --- a/node_modules/@babel/core/lib/config/helpers/config-api.js +++ /dev/null @@ -1,108 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.makeConfigAPI = makeConfigAPI; -exports.makePluginAPI = makePluginAPI; -exports.makePresetAPI = makePresetAPI; - -function _semver() { - const data = require("semver"); - - _semver = function () { - return data; - }; - - return data; -} - -var _ = require("../../"); - -var _caching = require("../caching"); - -var Context = require("../cache-contexts"); - -function makeConfigAPI(cache) { - const env = value => cache.using(data => { - if (typeof value === "undefined") return data.envName; - - if (typeof value === "function") { - return (0, _caching.assertSimpleType)(value(data.envName)); - } - - if (!Array.isArray(value)) value = [value]; - return value.some(entry => { - if (typeof entry !== "string") { - throw new Error("Unexpected non-string value"); - } - - return entry === data.envName; - }); - }); - - const caller = cb => cache.using(data => (0, _caching.assertSimpleType)(cb(data.caller))); - - return { - version: _.version, - cache: cache.simple(), - env, - async: () => false, - caller, - assertVersion - }; -} - -function makePresetAPI(cache, externalDependencies) { - const targets = () => JSON.parse(cache.using(data => JSON.stringify(data.targets))); - - const addExternalDependency = ref => { - externalDependencies.push(ref); - }; - - return Object.assign({}, makeConfigAPI(cache), { - targets, - addExternalDependency - }); -} - -function makePluginAPI(cache, externalDependencies) { - const assumption = name => cache.using(data => data.assumptions[name]); - - return Object.assign({}, makePresetAPI(cache, externalDependencies), { - assumption - }); -} - -function assertVersion(range) { - if (typeof range === "number") { - if (!Number.isInteger(range)) { - throw new Error("Expected string or integer value."); - } - - range = `^${range}.0.0-0`; - } - - if (typeof range !== "string") { - throw new Error("Expected string or integer value."); - } - - if (_semver().satisfies(_.version, range)) return; - const limit = Error.stackTraceLimit; - - if (typeof limit === "number" && limit < 25) { - Error.stackTraceLimit = 25; - } - - const err = new Error(`Requires Babel "${range}", but was loaded with "${_.version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`); - - if (typeof limit === "number") { - Error.stackTraceLimit = limit; - } - - throw Object.assign(err, { - code: "BABEL_VERSION_UNSUPPORTED", - version: _.version, - range - }); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/deep-array.js b/node_modules/@babel/core/lib/config/helpers/deep-array.js deleted file mode 100644 index 9455e32..0000000 --- a/node_modules/@babel/core/lib/config/helpers/deep-array.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.finalize = finalize; -exports.flattenToSet = flattenToSet; - -function finalize(deepArr) { - return Object.freeze(deepArr); -} - -function flattenToSet(arr) { - const result = new Set(); - const stack = [arr]; - - while (stack.length > 0) { - for (const el of stack.pop()) { - if (Array.isArray(el)) stack.push(el);else result.add(el); - } - } - - return result; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/environment.js b/node_modules/@babel/core/lib/config/helpers/environment.js deleted file mode 100644 index e4bfdbc..0000000 --- a/node_modules/@babel/core/lib/config/helpers/environment.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getEnv = getEnv; - -function getEnv(defaultValue = "development") { - return process.env.BABEL_ENV || process.env.NODE_ENV || defaultValue; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/index.js b/node_modules/@babel/core/lib/config/index.js deleted file mode 100644 index 696850d..0000000 --- a/node_modules/@babel/core/lib/config/index.js +++ /dev/null @@ -1,75 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.createConfigItem = createConfigItem; -exports.createConfigItemSync = exports.createConfigItemAsync = void 0; -Object.defineProperty(exports, "default", { - enumerable: true, - get: function () { - return _full.default; - } -}); -exports.loadPartialConfigSync = exports.loadPartialConfigAsync = exports.loadPartialConfig = exports.loadOptionsSync = exports.loadOptionsAsync = exports.loadOptions = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _full = require("./full"); - -var _partial = require("./partial"); - -var _item = require("./item"); - -const loadOptionsRunner = _gensync()(function* (opts) { - var _config$options; - - const config = yield* (0, _full.default)(opts); - return (_config$options = config == null ? void 0 : config.options) != null ? _config$options : null; -}); - -const createConfigItemRunner = _gensync()(_item.createConfigItem); - -const maybeErrback = runner => (opts, callback) => { - if (callback === undefined && typeof opts === "function") { - callback = opts; - opts = undefined; - } - - return callback ? runner.errback(opts, callback) : runner.sync(opts); -}; - -const loadPartialConfig = maybeErrback(_partial.loadPartialConfig); -exports.loadPartialConfig = loadPartialConfig; -const loadPartialConfigSync = _partial.loadPartialConfig.sync; -exports.loadPartialConfigSync = loadPartialConfigSync; -const loadPartialConfigAsync = _partial.loadPartialConfig.async; -exports.loadPartialConfigAsync = loadPartialConfigAsync; -const loadOptions = maybeErrback(loadOptionsRunner); -exports.loadOptions = loadOptions; -const loadOptionsSync = loadOptionsRunner.sync; -exports.loadOptionsSync = loadOptionsSync; -const loadOptionsAsync = loadOptionsRunner.async; -exports.loadOptionsAsync = loadOptionsAsync; -const createConfigItemSync = createConfigItemRunner.sync; -exports.createConfigItemSync = createConfigItemSync; -const createConfigItemAsync = createConfigItemRunner.async; -exports.createConfigItemAsync = createConfigItemAsync; - -function createConfigItem(target, options, callback) { - if (callback !== undefined) { - return createConfigItemRunner.errback(target, options, callback); - } else if (typeof options === "function") { - return createConfigItemRunner.errback(target, undefined, callback); - } else { - return createConfigItemRunner.sync(target, options); - } -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/item.js b/node_modules/@babel/core/lib/config/item.js deleted file mode 100644 index 2380354..0000000 --- a/node_modules/@babel/core/lib/config/item.js +++ /dev/null @@ -1,76 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.createConfigItem = createConfigItem; -exports.createItemFromDescriptor = createItemFromDescriptor; -exports.getItemDescriptor = getItemDescriptor; - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -var _configDescriptors = require("./config-descriptors"); - -function createItemFromDescriptor(desc) { - return new ConfigItem(desc); -} - -function* createConfigItem(value, { - dirname = ".", - type -} = {}) { - const descriptor = yield* (0, _configDescriptors.createDescriptor)(value, _path().resolve(dirname), { - type, - alias: "programmatic item" - }); - return createItemFromDescriptor(descriptor); -} - -function getItemDescriptor(item) { - if (item != null && item[CONFIG_ITEM_BRAND]) { - return item._descriptor; - } - - return undefined; -} - -const CONFIG_ITEM_BRAND = Symbol.for("@babel/core@7 - ConfigItem"); - -class ConfigItem { - constructor(descriptor) { - this._descriptor = void 0; - this[CONFIG_ITEM_BRAND] = true; - this.value = void 0; - this.options = void 0; - this.dirname = void 0; - this.name = void 0; - this.file = void 0; - this._descriptor = descriptor; - Object.defineProperty(this, "_descriptor", { - enumerable: false - }); - Object.defineProperty(this, CONFIG_ITEM_BRAND, { - enumerable: false - }); - this.value = this._descriptor.value; - this.options = this._descriptor.options; - this.dirname = this._descriptor.dirname; - this.name = this._descriptor.name; - this.file = this._descriptor.file ? { - request: this._descriptor.file.request, - resolved: this._descriptor.file.resolved - } : undefined; - Object.freeze(this); - } - -} - -Object.freeze(ConfigItem.prototype); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/partial.js b/node_modules/@babel/core/lib/config/partial.js deleted file mode 100644 index e8c52e1..0000000 --- a/node_modules/@babel/core/lib/config/partial.js +++ /dev/null @@ -1,197 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = loadPrivatePartialConfig; -exports.loadPartialConfig = void 0; - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _plugin = require("./plugin"); - -var _util = require("./util"); - -var _item = require("./item"); - -var _configChain = require("./config-chain"); - -var _environment = require("./helpers/environment"); - -var _options = require("./validation/options"); - -var _files = require("./files"); - -var _resolveTargets = require("./resolve-targets"); - -const _excluded = ["showIgnoredFiles"]; - -function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } - -function resolveRootMode(rootDir, rootMode) { - switch (rootMode) { - case "root": - return rootDir; - - case "upward-optional": - { - const upwardRootDir = (0, _files.findConfigUpwards)(rootDir); - return upwardRootDir === null ? rootDir : upwardRootDir; - } - - case "upward": - { - const upwardRootDir = (0, _files.findConfigUpwards)(rootDir); - if (upwardRootDir !== null) return upwardRootDir; - throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not ` + `be found when searching upward from "${rootDir}".\n` + `One of the following config files must be in the directory tree: ` + `"${_files.ROOT_CONFIG_FILENAMES.join(", ")}".`), { - code: "BABEL_ROOT_NOT_FOUND", - dirname: rootDir - }); - } - - default: - throw new Error(`Assertion failure - unknown rootMode value.`); - } -} - -function* loadPrivatePartialConfig(inputOpts) { - if (inputOpts != null && (typeof inputOpts !== "object" || Array.isArray(inputOpts))) { - throw new Error("Babel options must be an object, null, or undefined"); - } - - const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {}; - const { - envName = (0, _environment.getEnv)(), - cwd = ".", - root: rootDir = ".", - rootMode = "root", - caller, - cloneInputAst = true - } = args; - - const absoluteCwd = _path().resolve(cwd); - - const absoluteRootDir = resolveRootMode(_path().resolve(absoluteCwd, rootDir), rootMode); - const filename = typeof args.filename === "string" ? _path().resolve(cwd, args.filename) : undefined; - const showConfigPath = yield* (0, _files.resolveShowConfigPath)(absoluteCwd); - const context = { - filename, - cwd: absoluteCwd, - root: absoluteRootDir, - envName, - caller, - showConfig: showConfigPath === filename - }; - const configChain = yield* (0, _configChain.buildRootChain)(args, context); - if (!configChain) return null; - const merged = { - assumptions: {} - }; - configChain.options.forEach(opts => { - (0, _util.mergeOptions)(merged, opts); - }); - const options = Object.assign({}, merged, { - targets: (0, _resolveTargets.resolveTargets)(merged, absoluteRootDir), - cloneInputAst, - babelrc: false, - configFile: false, - browserslistConfigFile: false, - passPerPreset: false, - envName: context.envName, - cwd: context.cwd, - root: context.root, - rootMode: "root", - filename: typeof context.filename === "string" ? context.filename : undefined, - plugins: configChain.plugins.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor)), - presets: configChain.presets.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor)) - }); - return { - options, - context, - fileHandling: configChain.fileHandling, - ignore: configChain.ignore, - babelrc: configChain.babelrc, - config: configChain.config, - files: configChain.files - }; -} - -const loadPartialConfig = _gensync()(function* (opts) { - let showIgnoredFiles = false; - - if (typeof opts === "object" && opts !== null && !Array.isArray(opts)) { - var _opts = opts; - ({ - showIgnoredFiles - } = _opts); - opts = _objectWithoutPropertiesLoose(_opts, _excluded); - _opts; - } - - const result = yield* loadPrivatePartialConfig(opts); - if (!result) return null; - const { - options, - babelrc, - ignore, - config, - fileHandling, - files - } = result; - - if (fileHandling === "ignored" && !showIgnoredFiles) { - return null; - } - - (options.plugins || []).forEach(item => { - if (item.value instanceof _plugin.default) { - throw new Error("Passing cached plugin instances is not supported in " + "babel.loadPartialConfig()"); - } - }); - return new PartialConfig(options, babelrc ? babelrc.filepath : undefined, ignore ? ignore.filepath : undefined, config ? config.filepath : undefined, fileHandling, files); -}); - -exports.loadPartialConfig = loadPartialConfig; - -class PartialConfig { - constructor(options, babelrc, ignore, config, fileHandling, files) { - this.options = void 0; - this.babelrc = void 0; - this.babelignore = void 0; - this.config = void 0; - this.fileHandling = void 0; - this.files = void 0; - this.options = options; - this.babelignore = ignore; - this.babelrc = babelrc; - this.config = config; - this.fileHandling = fileHandling; - this.files = files; - Object.freeze(this); - } - - hasFilesystemConfig() { - return this.babelrc !== undefined || this.config !== undefined; - } - -} - -Object.freeze(PartialConfig.prototype); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/pattern-to-regex.js b/node_modules/@babel/core/lib/config/pattern-to-regex.js deleted file mode 100644 index ec5db8f..0000000 --- a/node_modules/@babel/core/lib/config/pattern-to-regex.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = pathToPattern; - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -const sep = `\\${_path().sep}`; -const endSep = `(?:${sep}|$)`; -const substitution = `[^${sep}]+`; -const starPat = `(?:${substitution}${sep})`; -const starPatLast = `(?:${substitution}${endSep})`; -const starStarPat = `${starPat}*?`; -const starStarPatLast = `${starPat}*?${starPatLast}?`; - -function escapeRegExp(string) { - return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&"); -} - -function pathToPattern(pattern, dirname) { - const parts = _path().resolve(dirname, pattern).split(_path().sep); - - return new RegExp(["^", ...parts.map((part, i) => { - const last = i === parts.length - 1; - if (part === "**") return last ? starStarPatLast : starStarPat; - if (part === "*") return last ? starPatLast : starPat; - - if (part.indexOf("*.") === 0) { - return substitution + escapeRegExp(part.slice(1)) + (last ? endSep : sep); - } - - return escapeRegExp(part) + (last ? endSep : sep); - })].join("")); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/plugin.js b/node_modules/@babel/core/lib/config/plugin.js deleted file mode 100644 index 40e0540..0000000 --- a/node_modules/@babel/core/lib/config/plugin.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _deepArray = require("./helpers/deep-array"); - -class Plugin { - constructor(plugin, options, key, externalDependencies = (0, _deepArray.finalize)([])) { - this.key = void 0; - this.manipulateOptions = void 0; - this.post = void 0; - this.pre = void 0; - this.visitor = void 0; - this.parserOverride = void 0; - this.generatorOverride = void 0; - this.options = void 0; - this.externalDependencies = void 0; - this.key = plugin.name || key; - this.manipulateOptions = plugin.manipulateOptions; - this.post = plugin.post; - this.pre = plugin.pre; - this.visitor = plugin.visitor || {}; - this.parserOverride = plugin.parserOverride; - this.generatorOverride = plugin.generatorOverride; - this.options = options; - this.externalDependencies = externalDependencies; - } - -} - -exports.default = Plugin; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/printer.js b/node_modules/@babel/core/lib/config/printer.js deleted file mode 100644 index 229fd9a..0000000 --- a/node_modules/@babel/core/lib/config/printer.js +++ /dev/null @@ -1,139 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ConfigPrinter = exports.ChainFormatter = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -const ChainFormatter = { - Programmatic: 0, - Config: 1 -}; -exports.ChainFormatter = ChainFormatter; -const Formatter = { - title(type, callerName, filepath) { - let title = ""; - - if (type === ChainFormatter.Programmatic) { - title = "programmatic options"; - - if (callerName) { - title += " from " + callerName; - } - } else { - title = "config " + filepath; - } - - return title; - }, - - loc(index, envName) { - let loc = ""; - - if (index != null) { - loc += `.overrides[${index}]`; - } - - if (envName != null) { - loc += `.env["${envName}"]`; - } - - return loc; - }, - - *optionsAndDescriptors(opt) { - const content = Object.assign({}, opt.options); - delete content.overrides; - delete content.env; - const pluginDescriptors = [...(yield* opt.plugins())]; - - if (pluginDescriptors.length) { - content.plugins = pluginDescriptors.map(d => descriptorToConfig(d)); - } - - const presetDescriptors = [...(yield* opt.presets())]; - - if (presetDescriptors.length) { - content.presets = [...presetDescriptors].map(d => descriptorToConfig(d)); - } - - return JSON.stringify(content, undefined, 2); - } - -}; - -function descriptorToConfig(d) { - var _d$file; - - let name = (_d$file = d.file) == null ? void 0 : _d$file.request; - - if (name == null) { - if (typeof d.value === "object") { - name = d.value; - } else if (typeof d.value === "function") { - name = `[Function: ${d.value.toString().substr(0, 50)} ... ]`; - } - } - - if (name == null) { - name = "[Unknown]"; - } - - if (d.options === undefined) { - return name; - } else if (d.name == null) { - return [name, d.options]; - } else { - return [name, d.options, d.name]; - } -} - -class ConfigPrinter { - constructor() { - this._stack = []; - } - - configure(enabled, type, { - callerName, - filepath - }) { - if (!enabled) return () => {}; - return (content, index, envName) => { - this._stack.push({ - type, - callerName, - filepath, - content, - index, - envName - }); - }; - } - - static *format(config) { - let title = Formatter.title(config.type, config.callerName, config.filepath); - const loc = Formatter.loc(config.index, config.envName); - if (loc) title += ` ${loc}`; - const content = yield* Formatter.optionsAndDescriptors(config.content); - return `${title}\n${content}`; - } - - *output() { - if (this._stack.length === 0) return ""; - const configs = yield* _gensync().all(this._stack.map(s => ConfigPrinter.format(s))); - return configs.join("\n\n"); - } - -} - -exports.ConfigPrinter = ConfigPrinter; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/resolve-targets-browser.js b/node_modules/@babel/core/lib/config/resolve-targets-browser.js deleted file mode 100644 index cc4e518..0000000 --- a/node_modules/@babel/core/lib/config/resolve-targets-browser.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.resolveBrowserslistConfigFile = resolveBrowserslistConfigFile; -exports.resolveTargets = resolveTargets; - -function _helperCompilationTargets() { - const data = require("@babel/helper-compilation-targets"); - - _helperCompilationTargets = function () { - return data; - }; - - return data; -} - -function resolveBrowserslistConfigFile(browserslistConfigFile, configFilePath) { - return undefined; -} - -function resolveTargets(options, root) { - let targets = options.targets; - - if (typeof targets === "string" || Array.isArray(targets)) { - targets = { - browsers: targets - }; - } - - if (targets && targets.esmodules) { - targets = Object.assign({}, targets, { - esmodules: "intersect" - }); - } - - return (0, _helperCompilationTargets().default)(targets, { - ignoreBrowserslistConfig: true, - browserslistEnv: options.browserslistEnv - }); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/resolve-targets.js b/node_modules/@babel/core/lib/config/resolve-targets.js deleted file mode 100644 index 973e3d5..0000000 --- a/node_modules/@babel/core/lib/config/resolve-targets.js +++ /dev/null @@ -1,68 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.resolveBrowserslistConfigFile = resolveBrowserslistConfigFile; -exports.resolveTargets = resolveTargets; - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _helperCompilationTargets() { - const data = require("@babel/helper-compilation-targets"); - - _helperCompilationTargets = function () { - return data; - }; - - return data; -} - -({}); - -function resolveBrowserslistConfigFile(browserslistConfigFile, configFileDir) { - return _path().resolve(configFileDir, browserslistConfigFile); -} - -function resolveTargets(options, root) { - let targets = options.targets; - - if (typeof targets === "string" || Array.isArray(targets)) { - targets = { - browsers: targets - }; - } - - if (targets && targets.esmodules) { - targets = Object.assign({}, targets, { - esmodules: "intersect" - }); - } - - const { - browserslistConfigFile - } = options; - let configFile; - let ignoreBrowserslistConfig = false; - - if (typeof browserslistConfigFile === "string") { - configFile = browserslistConfigFile; - } else { - ignoreBrowserslistConfig = browserslistConfigFile === false; - } - - return (0, _helperCompilationTargets().default)(targets, { - ignoreBrowserslistConfig, - configFile, - configPath: root, - browserslistEnv: options.browserslistEnv - }); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/util.js b/node_modules/@babel/core/lib/config/util.js deleted file mode 100644 index 1fc2d3d..0000000 --- a/node_modules/@babel/core/lib/config/util.js +++ /dev/null @@ -1,31 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.isIterableIterator = isIterableIterator; -exports.mergeOptions = mergeOptions; - -function mergeOptions(target, source) { - for (const k of Object.keys(source)) { - if ((k === "parserOpts" || k === "generatorOpts" || k === "assumptions") && source[k]) { - const parserOpts = source[k]; - const targetObj = target[k] || (target[k] = {}); - mergeDefaultFields(targetObj, parserOpts); - } else { - const val = source[k]; - if (val !== undefined) target[k] = val; - } - } -} - -function mergeDefaultFields(target, source) { - for (const k of Object.keys(source)) { - const val = source[k]; - if (val !== undefined) target[k] = val; - } -} - -function isIterableIterator(value) { - return !!value && typeof value.next === "function" && typeof value[Symbol.iterator] === "function"; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/option-assertions.js b/node_modules/@babel/core/lib/config/validation/option-assertions.js deleted file mode 100644 index 9a0b4a4..0000000 --- a/node_modules/@babel/core/lib/config/validation/option-assertions.js +++ /dev/null @@ -1,352 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.access = access; -exports.assertArray = assertArray; -exports.assertAssumptions = assertAssumptions; -exports.assertBabelrcSearch = assertBabelrcSearch; -exports.assertBoolean = assertBoolean; -exports.assertCallerMetadata = assertCallerMetadata; -exports.assertCompact = assertCompact; -exports.assertConfigApplicableTest = assertConfigApplicableTest; -exports.assertConfigFileSearch = assertConfigFileSearch; -exports.assertFunction = assertFunction; -exports.assertIgnoreList = assertIgnoreList; -exports.assertInputSourceMap = assertInputSourceMap; -exports.assertObject = assertObject; -exports.assertPluginList = assertPluginList; -exports.assertRootMode = assertRootMode; -exports.assertSourceMaps = assertSourceMaps; -exports.assertSourceType = assertSourceType; -exports.assertString = assertString; -exports.assertTargets = assertTargets; -exports.msg = msg; - -function _helperCompilationTargets() { - const data = require("@babel/helper-compilation-targets"); - - _helperCompilationTargets = function () { - return data; - }; - - return data; -} - -var _options = require("./options"); - -function msg(loc) { - switch (loc.type) { - case "root": - return ``; - - case "env": - return `${msg(loc.parent)}.env["${loc.name}"]`; - - case "overrides": - return `${msg(loc.parent)}.overrides[${loc.index}]`; - - case "option": - return `${msg(loc.parent)}.${loc.name}`; - - case "access": - return `${msg(loc.parent)}[${JSON.stringify(loc.name)}]`; - - default: - throw new Error(`Assertion failure: Unknown type ${loc.type}`); - } -} - -function access(loc, name) { - return { - type: "access", - name, - parent: loc - }; -} - -function assertRootMode(loc, value) { - if (value !== undefined && value !== "root" && value !== "upward" && value !== "upward-optional") { - throw new Error(`${msg(loc)} must be a "root", "upward", "upward-optional" or undefined`); - } - - return value; -} - -function assertSourceMaps(loc, value) { - if (value !== undefined && typeof value !== "boolean" && value !== "inline" && value !== "both") { - throw new Error(`${msg(loc)} must be a boolean, "inline", "both", or undefined`); - } - - return value; -} - -function assertCompact(loc, value) { - if (value !== undefined && typeof value !== "boolean" && value !== "auto") { - throw new Error(`${msg(loc)} must be a boolean, "auto", or undefined`); - } - - return value; -} - -function assertSourceType(loc, value) { - if (value !== undefined && value !== "module" && value !== "script" && value !== "unambiguous") { - throw new Error(`${msg(loc)} must be "module", "script", "unambiguous", or undefined`); - } - - return value; -} - -function assertCallerMetadata(loc, value) { - const obj = assertObject(loc, value); - - if (obj) { - if (typeof obj.name !== "string") { - throw new Error(`${msg(loc)} set but does not contain "name" property string`); - } - - for (const prop of Object.keys(obj)) { - const propLoc = access(loc, prop); - const value = obj[prop]; - - if (value != null && typeof value !== "boolean" && typeof value !== "string" && typeof value !== "number") { - throw new Error(`${msg(propLoc)} must be null, undefined, a boolean, a string, or a number.`); - } - } - } - - return value; -} - -function assertInputSourceMap(loc, value) { - if (value !== undefined && typeof value !== "boolean" && (typeof value !== "object" || !value)) { - throw new Error(`${msg(loc)} must be a boolean, object, or undefined`); - } - - return value; -} - -function assertString(loc, value) { - if (value !== undefined && typeof value !== "string") { - throw new Error(`${msg(loc)} must be a string, or undefined`); - } - - return value; -} - -function assertFunction(loc, value) { - if (value !== undefined && typeof value !== "function") { - throw new Error(`${msg(loc)} must be a function, or undefined`); - } - - return value; -} - -function assertBoolean(loc, value) { - if (value !== undefined && typeof value !== "boolean") { - throw new Error(`${msg(loc)} must be a boolean, or undefined`); - } - - return value; -} - -function assertObject(loc, value) { - if (value !== undefined && (typeof value !== "object" || Array.isArray(value) || !value)) { - throw new Error(`${msg(loc)} must be an object, or undefined`); - } - - return value; -} - -function assertArray(loc, value) { - if (value != null && !Array.isArray(value)) { - throw new Error(`${msg(loc)} must be an array, or undefined`); - } - - return value; -} - -function assertIgnoreList(loc, value) { - const arr = assertArray(loc, value); - - if (arr) { - arr.forEach((item, i) => assertIgnoreItem(access(loc, i), item)); - } - - return arr; -} - -function assertIgnoreItem(loc, value) { - if (typeof value !== "string" && typeof value !== "function" && !(value instanceof RegExp)) { - throw new Error(`${msg(loc)} must be an array of string/Function/RegExp values, or undefined`); - } - - return value; -} - -function assertConfigApplicableTest(loc, value) { - if (value === undefined) return value; - - if (Array.isArray(value)) { - value.forEach((item, i) => { - if (!checkValidTest(item)) { - throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`); - } - }); - } else if (!checkValidTest(value)) { - throw new Error(`${msg(loc)} must be a string/Function/RegExp, or an array of those`); - } - - return value; -} - -function checkValidTest(value) { - return typeof value === "string" || typeof value === "function" || value instanceof RegExp; -} - -function assertConfigFileSearch(loc, value) { - if (value !== undefined && typeof value !== "boolean" && typeof value !== "string") { - throw new Error(`${msg(loc)} must be a undefined, a boolean, a string, ` + `got ${JSON.stringify(value)}`); - } - - return value; -} - -function assertBabelrcSearch(loc, value) { - if (value === undefined || typeof value === "boolean") return value; - - if (Array.isArray(value)) { - value.forEach((item, i) => { - if (!checkValidTest(item)) { - throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`); - } - }); - } else if (!checkValidTest(value)) { - throw new Error(`${msg(loc)} must be a undefined, a boolean, a string/Function/RegExp ` + `or an array of those, got ${JSON.stringify(value)}`); - } - - return value; -} - -function assertPluginList(loc, value) { - const arr = assertArray(loc, value); - - if (arr) { - arr.forEach((item, i) => assertPluginItem(access(loc, i), item)); - } - - return arr; -} - -function assertPluginItem(loc, value) { - if (Array.isArray(value)) { - if (value.length === 0) { - throw new Error(`${msg(loc)} must include an object`); - } - - if (value.length > 3) { - throw new Error(`${msg(loc)} may only be a two-tuple or three-tuple`); - } - - assertPluginTarget(access(loc, 0), value[0]); - - if (value.length > 1) { - const opts = value[1]; - - if (opts !== undefined && opts !== false && (typeof opts !== "object" || Array.isArray(opts) || opts === null)) { - throw new Error(`${msg(access(loc, 1))} must be an object, false, or undefined`); - } - } - - if (value.length === 3) { - const name = value[2]; - - if (name !== undefined && typeof name !== "string") { - throw new Error(`${msg(access(loc, 2))} must be a string, or undefined`); - } - } - } else { - assertPluginTarget(loc, value); - } - - return value; -} - -function assertPluginTarget(loc, value) { - if ((typeof value !== "object" || !value) && typeof value !== "string" && typeof value !== "function") { - throw new Error(`${msg(loc)} must be a string, object, function`); - } - - return value; -} - -function assertTargets(loc, value) { - if ((0, _helperCompilationTargets().isBrowsersQueryValid)(value)) return value; - - if (typeof value !== "object" || !value || Array.isArray(value)) { - throw new Error(`${msg(loc)} must be a string, an array of strings or an object`); - } - - const browsersLoc = access(loc, "browsers"); - const esmodulesLoc = access(loc, "esmodules"); - assertBrowsersList(browsersLoc, value.browsers); - assertBoolean(esmodulesLoc, value.esmodules); - - for (const key of Object.keys(value)) { - const val = value[key]; - const subLoc = access(loc, key); - if (key === "esmodules") assertBoolean(subLoc, val);else if (key === "browsers") assertBrowsersList(subLoc, val);else if (!Object.hasOwnProperty.call(_helperCompilationTargets().TargetNames, key)) { - const validTargets = Object.keys(_helperCompilationTargets().TargetNames).join(", "); - throw new Error(`${msg(subLoc)} is not a valid target. Supported targets are ${validTargets}`); - } else assertBrowserVersion(subLoc, val); - } - - return value; -} - -function assertBrowsersList(loc, value) { - if (value !== undefined && !(0, _helperCompilationTargets().isBrowsersQueryValid)(value)) { - throw new Error(`${msg(loc)} must be undefined, a string or an array of strings`); - } -} - -function assertBrowserVersion(loc, value) { - if (typeof value === "number" && Math.round(value) === value) return; - if (typeof value === "string") return; - throw new Error(`${msg(loc)} must be a string or an integer number`); -} - -function assertAssumptions(loc, value) { - if (value === undefined) return; - - if (typeof value !== "object" || value === null) { - throw new Error(`${msg(loc)} must be an object or undefined.`); - } - - let root = loc; - - do { - root = root.parent; - } while (root.type !== "root"); - - const inPreset = root.source === "preset"; - - for (const name of Object.keys(value)) { - const subLoc = access(loc, name); - - if (!_options.assumptionsNames.has(name)) { - throw new Error(`${msg(subLoc)} is not a supported assumption.`); - } - - if (typeof value[name] !== "boolean") { - throw new Error(`${msg(subLoc)} must be a boolean.`); - } - - if (inPreset && value[name] === false) { - throw new Error(`${msg(subLoc)} cannot be set to 'false' inside presets.`); - } - } - - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/options.js b/node_modules/@babel/core/lib/config/validation/options.js deleted file mode 100644 index 930278c..0000000 --- a/node_modules/@babel/core/lib/config/validation/options.js +++ /dev/null @@ -1,210 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.assumptionsNames = void 0; -exports.checkNoUnwrappedItemOptionPairs = checkNoUnwrappedItemOptionPairs; -exports.validate = validate; - -var _plugin = require("../plugin"); - -var _removed = require("./removed"); - -var _optionAssertions = require("./option-assertions"); - -const ROOT_VALIDATORS = { - cwd: _optionAssertions.assertString, - root: _optionAssertions.assertString, - rootMode: _optionAssertions.assertRootMode, - configFile: _optionAssertions.assertConfigFileSearch, - caller: _optionAssertions.assertCallerMetadata, - filename: _optionAssertions.assertString, - filenameRelative: _optionAssertions.assertString, - code: _optionAssertions.assertBoolean, - ast: _optionAssertions.assertBoolean, - cloneInputAst: _optionAssertions.assertBoolean, - envName: _optionAssertions.assertString -}; -const BABELRC_VALIDATORS = { - babelrc: _optionAssertions.assertBoolean, - babelrcRoots: _optionAssertions.assertBabelrcSearch -}; -const NONPRESET_VALIDATORS = { - extends: _optionAssertions.assertString, - ignore: _optionAssertions.assertIgnoreList, - only: _optionAssertions.assertIgnoreList, - targets: _optionAssertions.assertTargets, - browserslistConfigFile: _optionAssertions.assertConfigFileSearch, - browserslistEnv: _optionAssertions.assertString -}; -const COMMON_VALIDATORS = { - inputSourceMap: _optionAssertions.assertInputSourceMap, - presets: _optionAssertions.assertPluginList, - plugins: _optionAssertions.assertPluginList, - passPerPreset: _optionAssertions.assertBoolean, - assumptions: _optionAssertions.assertAssumptions, - env: assertEnvSet, - overrides: assertOverridesList, - test: _optionAssertions.assertConfigApplicableTest, - include: _optionAssertions.assertConfigApplicableTest, - exclude: _optionAssertions.assertConfigApplicableTest, - retainLines: _optionAssertions.assertBoolean, - comments: _optionAssertions.assertBoolean, - shouldPrintComment: _optionAssertions.assertFunction, - compact: _optionAssertions.assertCompact, - minified: _optionAssertions.assertBoolean, - auxiliaryCommentBefore: _optionAssertions.assertString, - auxiliaryCommentAfter: _optionAssertions.assertString, - sourceType: _optionAssertions.assertSourceType, - wrapPluginVisitorMethod: _optionAssertions.assertFunction, - highlightCode: _optionAssertions.assertBoolean, - sourceMaps: _optionAssertions.assertSourceMaps, - sourceMap: _optionAssertions.assertSourceMaps, - sourceFileName: _optionAssertions.assertString, - sourceRoot: _optionAssertions.assertString, - parserOpts: _optionAssertions.assertObject, - generatorOpts: _optionAssertions.assertObject -}; -{ - Object.assign(COMMON_VALIDATORS, { - getModuleId: _optionAssertions.assertFunction, - moduleRoot: _optionAssertions.assertString, - moduleIds: _optionAssertions.assertBoolean, - moduleId: _optionAssertions.assertString - }); -} -const assumptionsNames = new Set(["arrayLikeIsIterable", "constantReexports", "constantSuper", "enumerableModuleMeta", "ignoreFunctionLength", "ignoreToPrimitiveHint", "iterableIsArray", "mutableTemplateObject", "noClassCalls", "noDocumentAll", "noIncompleteNsImportDetection", "noNewArrows", "objectRestNoSymbols", "privateFieldsAsProperties", "pureGetters", "setClassMethods", "setComputedProperties", "setPublicClassFields", "setSpreadProperties", "skipForOfIteratorClosing", "superIsCallableConstructor"]); -exports.assumptionsNames = assumptionsNames; - -function getSource(loc) { - return loc.type === "root" ? loc.source : getSource(loc.parent); -} - -function validate(type, opts) { - return validateNested({ - type: "root", - source: type - }, opts); -} - -function validateNested(loc, opts) { - const type = getSource(loc); - assertNoDuplicateSourcemap(opts); - Object.keys(opts).forEach(key => { - const optLoc = { - type: "option", - name: key, - parent: loc - }; - - if (type === "preset" && NONPRESET_VALIDATORS[key]) { - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in preset options`); - } - - if (type !== "arguments" && ROOT_VALIDATORS[key]) { - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options`); - } - - if (type !== "arguments" && type !== "configfile" && BABELRC_VALIDATORS[key]) { - if (type === "babelrcfile" || type === "extendsfile") { - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, ` + `or babel.config.js/config file options`); - } - - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options, or babel.config.js/config file options`); - } - - const validator = COMMON_VALIDATORS[key] || NONPRESET_VALIDATORS[key] || BABELRC_VALIDATORS[key] || ROOT_VALIDATORS[key] || throwUnknownError; - validator(optLoc, opts[key]); - }); - return opts; -} - -function throwUnknownError(loc) { - const key = loc.name; - - if (_removed.default[key]) { - const { - message, - version = 5 - } = _removed.default[key]; - throw new Error(`Using removed Babel ${version} option: ${(0, _optionAssertions.msg)(loc)} - ${message}`); - } else { - const unknownOptErr = new Error(`Unknown option: ${(0, _optionAssertions.msg)(loc)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`); - unknownOptErr.code = "BABEL_UNKNOWN_OPTION"; - throw unknownOptErr; - } -} - -function has(obj, key) { - return Object.prototype.hasOwnProperty.call(obj, key); -} - -function assertNoDuplicateSourcemap(opts) { - if (has(opts, "sourceMap") && has(opts, "sourceMaps")) { - throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both"); - } -} - -function assertEnvSet(loc, value) { - if (loc.parent.type === "env") { - throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside of another .env block`); - } - - const parent = loc.parent; - const obj = (0, _optionAssertions.assertObject)(loc, value); - - if (obj) { - for (const envName of Object.keys(obj)) { - const env = (0, _optionAssertions.assertObject)((0, _optionAssertions.access)(loc, envName), obj[envName]); - if (!env) continue; - const envLoc = { - type: "env", - name: envName, - parent - }; - validateNested(envLoc, env); - } - } - - return obj; -} - -function assertOverridesList(loc, value) { - if (loc.parent.type === "env") { - throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .env block`); - } - - if (loc.parent.type === "overrides") { - throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .overrides block`); - } - - const parent = loc.parent; - const arr = (0, _optionAssertions.assertArray)(loc, value); - - if (arr) { - for (const [index, item] of arr.entries()) { - const objLoc = (0, _optionAssertions.access)(loc, index); - const env = (0, _optionAssertions.assertObject)(objLoc, item); - if (!env) throw new Error(`${(0, _optionAssertions.msg)(objLoc)} must be an object`); - const overridesLoc = { - type: "overrides", - index, - parent - }; - validateNested(overridesLoc, env); - } - } - - return arr; -} - -function checkNoUnwrappedItemOptionPairs(items, index, type, e) { - if (index === 0) return; - const lastItem = items[index - 1]; - const thisItem = items[index]; - - if (lastItem.file && lastItem.options === undefined && typeof thisItem.value === "object") { - e.message += `\n- Maybe you meant to use\n` + `"${type}s": [\n ["${lastItem.file.request}", ${JSON.stringify(thisItem.value, undefined, 2)}]\n]\n` + `To be a valid ${type}, its name and options should be wrapped in a pair of brackets`; - } -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/plugins.js b/node_modules/@babel/core/lib/config/validation/plugins.js deleted file mode 100644 index a70cc67..0000000 --- a/node_modules/@babel/core/lib/config/validation/plugins.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.validatePluginObject = validatePluginObject; - -var _optionAssertions = require("./option-assertions"); - -const VALIDATORS = { - name: _optionAssertions.assertString, - manipulateOptions: _optionAssertions.assertFunction, - pre: _optionAssertions.assertFunction, - post: _optionAssertions.assertFunction, - inherits: _optionAssertions.assertFunction, - visitor: assertVisitorMap, - parserOverride: _optionAssertions.assertFunction, - generatorOverride: _optionAssertions.assertFunction -}; - -function assertVisitorMap(loc, value) { - const obj = (0, _optionAssertions.assertObject)(loc, value); - - if (obj) { - Object.keys(obj).forEach(prop => assertVisitorHandler(prop, obj[prop])); - - if (obj.enter || obj.exit) { - throw new Error(`${(0, _optionAssertions.msg)(loc)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`); - } - } - - return obj; -} - -function assertVisitorHandler(key, value) { - if (value && typeof value === "object") { - Object.keys(value).forEach(handler => { - if (handler !== "enter" && handler !== "exit") { - throw new Error(`.visitor["${key}"] may only have .enter and/or .exit handlers.`); - } - }); - } else if (typeof value !== "function") { - throw new Error(`.visitor["${key}"] must be a function`); - } - - return value; -} - -function validatePluginObject(obj) { - const rootPath = { - type: "root", - source: "plugin" - }; - Object.keys(obj).forEach(key => { - const validator = VALIDATORS[key]; - - if (validator) { - const optLoc = { - type: "option", - name: key, - parent: rootPath - }; - validator(optLoc, obj[key]); - } else { - const invalidPluginPropertyError = new Error(`.${key} is not a valid Plugin property`); - invalidPluginPropertyError.code = "BABEL_UNKNOWN_PLUGIN_PROPERTY"; - throw invalidPluginPropertyError; - } - }); - return obj; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/removed.js b/node_modules/@babel/core/lib/config/validation/removed.js deleted file mode 100644 index f0fcd7d..0000000 --- a/node_modules/@babel/core/lib/config/validation/removed.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var _default = { - auxiliaryComment: { - message: "Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`" - }, - blacklist: { - message: "Put the specific transforms you want in the `plugins` option" - }, - breakConfig: { - message: "This is not a necessary option in Babel 6" - }, - experimental: { - message: "Put the specific transforms you want in the `plugins` option" - }, - externalHelpers: { - message: "Use the `external-helpers` plugin instead. " + "Check out http://babeljs.io/docs/plugins/external-helpers/" - }, - extra: { - message: "" - }, - jsxPragma: { - message: "use the `pragma` option in the `react-jsx` plugin. " + "Check out http://babeljs.io/docs/plugins/transform-react-jsx/" - }, - loose: { - message: "Specify the `loose` option for the relevant plugin you are using " + "or use a preset that sets the option." - }, - metadataUsedHelpers: { - message: "Not required anymore as this is enabled by default" - }, - modules: { - message: "Use the corresponding module transform plugin in the `plugins` option. " + "Check out http://babeljs.io/docs/plugins/#modules" - }, - nonStandard: { - message: "Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. " + "Also check out the react preset http://babeljs.io/docs/plugins/preset-react/" - }, - optional: { - message: "Put the specific transforms you want in the `plugins` option" - }, - sourceMapName: { - message: "The `sourceMapName` option has been removed because it makes more sense for the " + "tooling that calls Babel to assign `map.file` themselves." - }, - stage: { - message: "Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets" - }, - whitelist: { - message: "Put the specific transforms you want in the `plugins` option" - }, - resolveModuleSource: { - version: 6, - message: "Use `babel-plugin-module-resolver@3`'s 'resolvePath' options" - }, - metadata: { - version: 6, - message: "Generated plugin metadata is always included in the output result" - }, - sourceMapTarget: { - version: 6, - message: "The `sourceMapTarget` option has been removed because it makes more sense for the tooling " + "that calls Babel to assign `map.file` themselves." - } -}; -exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/gensync-utils/async.js b/node_modules/@babel/core/lib/gensync-utils/async.js deleted file mode 100644 index 7deb186..0000000 --- a/node_modules/@babel/core/lib/gensync-utils/async.js +++ /dev/null @@ -1,94 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.forwardAsync = forwardAsync; -exports.isAsync = void 0; -exports.isThenable = isThenable; -exports.maybeAsync = maybeAsync; -exports.waitFor = exports.onFirstPause = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -const id = x => x; - -const runGenerator = _gensync()(function* (item) { - return yield* item; -}); - -const isAsync = _gensync()({ - sync: () => false, - errback: cb => cb(null, true) -}); - -exports.isAsync = isAsync; - -function maybeAsync(fn, message) { - return _gensync()({ - sync(...args) { - const result = fn.apply(this, args); - if (isThenable(result)) throw new Error(message); - return result; - }, - - async(...args) { - return Promise.resolve(fn.apply(this, args)); - } - - }); -} - -const withKind = _gensync()({ - sync: cb => cb("sync"), - async: cb => cb("async") -}); - -function forwardAsync(action, cb) { - const g = _gensync()(action); - - return withKind(kind => { - const adapted = g[kind]; - return cb(adapted); - }); -} - -const onFirstPause = _gensync()({ - name: "onFirstPause", - arity: 2, - sync: function (item) { - return runGenerator.sync(item); - }, - errback: function (item, firstPause, cb) { - let completed = false; - runGenerator.errback(item, (err, value) => { - completed = true; - cb(err, value); - }); - - if (!completed) { - firstPause(); - } - } -}); - -exports.onFirstPause = onFirstPause; - -const waitFor = _gensync()({ - sync: id, - async: id -}); - -exports.waitFor = waitFor; - -function isThenable(val) { - return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function"; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/gensync-utils/fs.js b/node_modules/@babel/core/lib/gensync-utils/fs.js deleted file mode 100644 index 056ae34..0000000 --- a/node_modules/@babel/core/lib/gensync-utils/fs.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.stat = exports.readFile = void 0; - -function _fs() { - const data = require("fs"); - - _fs = function () { - return data; - }; - - return data; -} - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -const readFile = _gensync()({ - sync: _fs().readFileSync, - errback: _fs().readFile -}); - -exports.readFile = readFile; - -const stat = _gensync()({ - sync: _fs().statSync, - errback: _fs().stat -}); - -exports.stat = stat; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/index.js b/node_modules/@babel/core/lib/index.js deleted file mode 100644 index d692477..0000000 --- a/node_modules/@babel/core/lib/index.js +++ /dev/null @@ -1,266 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.DEFAULT_EXTENSIONS = void 0; -Object.defineProperty(exports, "File", { - enumerable: true, - get: function () { - return _file.default; - } -}); -exports.OptionManager = void 0; -exports.Plugin = Plugin; -Object.defineProperty(exports, "buildExternalHelpers", { - enumerable: true, - get: function () { - return _buildExternalHelpers.default; - } -}); -Object.defineProperty(exports, "createConfigItem", { - enumerable: true, - get: function () { - return _config.createConfigItem; - } -}); -Object.defineProperty(exports, "createConfigItemAsync", { - enumerable: true, - get: function () { - return _config.createConfigItemAsync; - } -}); -Object.defineProperty(exports, "createConfigItemSync", { - enumerable: true, - get: function () { - return _config.createConfigItemSync; - } -}); -Object.defineProperty(exports, "getEnv", { - enumerable: true, - get: function () { - return _environment.getEnv; - } -}); -Object.defineProperty(exports, "loadOptions", { - enumerable: true, - get: function () { - return _config.loadOptions; - } -}); -Object.defineProperty(exports, "loadOptionsAsync", { - enumerable: true, - get: function () { - return _config.loadOptionsAsync; - } -}); -Object.defineProperty(exports, "loadOptionsSync", { - enumerable: true, - get: function () { - return _config.loadOptionsSync; - } -}); -Object.defineProperty(exports, "loadPartialConfig", { - enumerable: true, - get: function () { - return _config.loadPartialConfig; - } -}); -Object.defineProperty(exports, "loadPartialConfigAsync", { - enumerable: true, - get: function () { - return _config.loadPartialConfigAsync; - } -}); -Object.defineProperty(exports, "loadPartialConfigSync", { - enumerable: true, - get: function () { - return _config.loadPartialConfigSync; - } -}); -Object.defineProperty(exports, "parse", { - enumerable: true, - get: function () { - return _parse.parse; - } -}); -Object.defineProperty(exports, "parseAsync", { - enumerable: true, - get: function () { - return _parse.parseAsync; - } -}); -Object.defineProperty(exports, "parseSync", { - enumerable: true, - get: function () { - return _parse.parseSync; - } -}); -Object.defineProperty(exports, "resolvePlugin", { - enumerable: true, - get: function () { - return _files.resolvePlugin; - } -}); -Object.defineProperty(exports, "resolvePreset", { - enumerable: true, - get: function () { - return _files.resolvePreset; - } -}); -Object.defineProperty(exports, "template", { - enumerable: true, - get: function () { - return _template().default; - } -}); -Object.defineProperty(exports, "tokTypes", { - enumerable: true, - get: function () { - return _parser().tokTypes; - } -}); -Object.defineProperty(exports, "transform", { - enumerable: true, - get: function () { - return _transform.transform; - } -}); -Object.defineProperty(exports, "transformAsync", { - enumerable: true, - get: function () { - return _transform.transformAsync; - } -}); -Object.defineProperty(exports, "transformFile", { - enumerable: true, - get: function () { - return _transformFile.transformFile; - } -}); -Object.defineProperty(exports, "transformFileAsync", { - enumerable: true, - get: function () { - return _transformFile.transformFileAsync; - } -}); -Object.defineProperty(exports, "transformFileSync", { - enumerable: true, - get: function () { - return _transformFile.transformFileSync; - } -}); -Object.defineProperty(exports, "transformFromAst", { - enumerable: true, - get: function () { - return _transformAst.transformFromAst; - } -}); -Object.defineProperty(exports, "transformFromAstAsync", { - enumerable: true, - get: function () { - return _transformAst.transformFromAstAsync; - } -}); -Object.defineProperty(exports, "transformFromAstSync", { - enumerable: true, - get: function () { - return _transformAst.transformFromAstSync; - } -}); -Object.defineProperty(exports, "transformSync", { - enumerable: true, - get: function () { - return _transform.transformSync; - } -}); -Object.defineProperty(exports, "traverse", { - enumerable: true, - get: function () { - return _traverse().default; - } -}); -exports.version = exports.types = void 0; - -var _file = require("./transformation/file/file"); - -var _buildExternalHelpers = require("./tools/build-external-helpers"); - -var _files = require("./config/files"); - -var _environment = require("./config/helpers/environment"); - -function _types() { - const data = require("@babel/types"); - - _types = function () { - return data; - }; - - return data; -} - -Object.defineProperty(exports, "types", { - enumerable: true, - get: function () { - return _types(); - } -}); - -function _parser() { - const data = require("@babel/parser"); - - _parser = function () { - return data; - }; - - return data; -} - -function _traverse() { - const data = require("@babel/traverse"); - - _traverse = function () { - return data; - }; - - return data; -} - -function _template() { - const data = require("@babel/template"); - - _template = function () { - return data; - }; - - return data; -} - -var _config = require("./config"); - -var _transform = require("./transform"); - -var _transformFile = require("./transform-file"); - -var _transformAst = require("./transform-ast"); - -var _parse = require("./parse"); - -const version = "7.17.2"; -exports.version = version; -const DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]); -exports.DEFAULT_EXTENSIONS = DEFAULT_EXTENSIONS; - -class OptionManager { - init(opts) { - return (0, _config.loadOptions)(opts); - } - -} - -exports.OptionManager = OptionManager; - -function Plugin(alias) { - throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parse.js b/node_modules/@babel/core/lib/parse.js deleted file mode 100644 index 783032a..0000000 --- a/node_modules/@babel/core/lib/parse.js +++ /dev/null @@ -1,48 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.parseSync = exports.parseAsync = exports.parse = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _config = require("./config"); - -var _parser = require("./parser"); - -var _normalizeOpts = require("./transformation/normalize-opts"); - -const parseRunner = _gensync()(function* parse(code, opts) { - const config = yield* (0, _config.default)(opts); - - if (config === null) { - return null; - } - - return yield* (0, _parser.default)(config.passes, (0, _normalizeOpts.default)(config), code); -}); - -const parse = function parse(code, opts, callback) { - if (typeof opts === "function") { - callback = opts; - opts = undefined; - } - - if (callback === undefined) return parseRunner.sync(code, opts); - parseRunner.errback(code, opts, callback); -}; - -exports.parse = parse; -const parseSync = parseRunner.sync; -exports.parseSync = parseSync; -const parseAsync = parseRunner.async; -exports.parseAsync = parseAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parser/index.js b/node_modules/@babel/core/lib/parser/index.js deleted file mode 100644 index 254122a..0000000 --- a/node_modules/@babel/core/lib/parser/index.js +++ /dev/null @@ -1,95 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = parser; - -function _parser() { - const data = require("@babel/parser"); - - _parser = function () { - return data; - }; - - return data; -} - -function _codeFrame() { - const data = require("@babel/code-frame"); - - _codeFrame = function () { - return data; - }; - - return data; -} - -var _missingPluginHelper = require("./util/missing-plugin-helper"); - -function* parser(pluginPasses, { - parserOpts, - highlightCode = true, - filename = "unknown" -}, code) { - try { - const results = []; - - for (const plugins of pluginPasses) { - for (const plugin of plugins) { - const { - parserOverride - } = plugin; - - if (parserOverride) { - const ast = parserOverride(code, parserOpts, _parser().parse); - if (ast !== undefined) results.push(ast); - } - } - } - - if (results.length === 0) { - return (0, _parser().parse)(code, parserOpts); - } else if (results.length === 1) { - yield* []; - - if (typeof results[0].then === "function") { - throw new Error(`You appear to be using an async parser plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); - } - - return results[0]; - } - - throw new Error("More than one plugin attempted to override parsing."); - } catch (err) { - if (err.code === "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED") { - err.message += "\nConsider renaming the file to '.mjs', or setting sourceType:module " + "or sourceType:unambiguous in your Babel config for this file."; - } - - const { - loc, - missingPlugin - } = err; - - if (loc) { - const codeFrame = (0, _codeFrame().codeFrameColumns)(code, { - start: { - line: loc.line, - column: loc.column + 1 - } - }, { - highlightCode - }); - - if (missingPlugin) { - err.message = `${filename}: ` + (0, _missingPluginHelper.default)(missingPlugin[0], loc, codeFrame); - } else { - err.message = `${filename}: ${err.message}\n\n` + codeFrame; - } - - err.code = "BABEL_PARSE_ERROR"; - } - - throw err; - } -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js b/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js deleted file mode 100644 index aa6ae3f..0000000 --- a/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +++ /dev/null @@ -1,323 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = generateMissingPluginMessage; -const pluginNameMap = { - asyncDoExpressions: { - syntax: { - name: "@babel/plugin-syntax-async-do-expressions", - url: "https://git.io/JYer8" - } - }, - classProperties: { - syntax: { - name: "@babel/plugin-syntax-class-properties", - url: "https://git.io/vb4yQ" - }, - transform: { - name: "@babel/plugin-proposal-class-properties", - url: "https://git.io/vb4SL" - } - }, - classPrivateProperties: { - syntax: { - name: "@babel/plugin-syntax-class-properties", - url: "https://git.io/vb4yQ" - }, - transform: { - name: "@babel/plugin-proposal-class-properties", - url: "https://git.io/vb4SL" - } - }, - classPrivateMethods: { - syntax: { - name: "@babel/plugin-syntax-class-properties", - url: "https://git.io/vb4yQ" - }, - transform: { - name: "@babel/plugin-proposal-private-methods", - url: "https://git.io/JvpRG" - } - }, - classStaticBlock: { - syntax: { - name: "@babel/plugin-syntax-class-static-block", - url: "https://git.io/JTLB6" - }, - transform: { - name: "@babel/plugin-proposal-class-static-block", - url: "https://git.io/JTLBP" - } - }, - decimal: { - syntax: { - name: "@babel/plugin-syntax-decimal", - url: "https://git.io/JfKOH" - } - }, - decorators: { - syntax: { - name: "@babel/plugin-syntax-decorators", - url: "https://git.io/vb4y9" - }, - transform: { - name: "@babel/plugin-proposal-decorators", - url: "https://git.io/vb4ST" - } - }, - doExpressions: { - syntax: { - name: "@babel/plugin-syntax-do-expressions", - url: "https://git.io/vb4yh" - }, - transform: { - name: "@babel/plugin-proposal-do-expressions", - url: "https://git.io/vb4S3" - } - }, - dynamicImport: { - syntax: { - name: "@babel/plugin-syntax-dynamic-import", - url: "https://git.io/vb4Sv" - } - }, - exportDefaultFrom: { - syntax: { - name: "@babel/plugin-syntax-export-default-from", - url: "https://git.io/vb4SO" - }, - transform: { - name: "@babel/plugin-proposal-export-default-from", - url: "https://git.io/vb4yH" - } - }, - exportNamespaceFrom: { - syntax: { - name: "@babel/plugin-syntax-export-namespace-from", - url: "https://git.io/vb4Sf" - }, - transform: { - name: "@babel/plugin-proposal-export-namespace-from", - url: "https://git.io/vb4SG" - } - }, - flow: { - syntax: { - name: "@babel/plugin-syntax-flow", - url: "https://git.io/vb4yb" - }, - transform: { - name: "@babel/preset-flow", - url: "https://git.io/JfeDn" - } - }, - functionBind: { - syntax: { - name: "@babel/plugin-syntax-function-bind", - url: "https://git.io/vb4y7" - }, - transform: { - name: "@babel/plugin-proposal-function-bind", - url: "https://git.io/vb4St" - } - }, - functionSent: { - syntax: { - name: "@babel/plugin-syntax-function-sent", - url: "https://git.io/vb4yN" - }, - transform: { - name: "@babel/plugin-proposal-function-sent", - url: "https://git.io/vb4SZ" - } - }, - importMeta: { - syntax: { - name: "@babel/plugin-syntax-import-meta", - url: "https://git.io/vbKK6" - } - }, - jsx: { - syntax: { - name: "@babel/plugin-syntax-jsx", - url: "https://git.io/vb4yA" - }, - transform: { - name: "@babel/preset-react", - url: "https://git.io/JfeDR" - } - }, - importAssertions: { - syntax: { - name: "@babel/plugin-syntax-import-assertions", - url: "https://git.io/JUbkv" - } - }, - moduleStringNames: { - syntax: { - name: "@babel/plugin-syntax-module-string-names", - url: "https://git.io/JTL8G" - } - }, - numericSeparator: { - syntax: { - name: "@babel/plugin-syntax-numeric-separator", - url: "https://git.io/vb4Sq" - }, - transform: { - name: "@babel/plugin-proposal-numeric-separator", - url: "https://git.io/vb4yS" - } - }, - optionalChaining: { - syntax: { - name: "@babel/plugin-syntax-optional-chaining", - url: "https://git.io/vb4Sc" - }, - transform: { - name: "@babel/plugin-proposal-optional-chaining", - url: "https://git.io/vb4Sk" - } - }, - pipelineOperator: { - syntax: { - name: "@babel/plugin-syntax-pipeline-operator", - url: "https://git.io/vb4yj" - }, - transform: { - name: "@babel/plugin-proposal-pipeline-operator", - url: "https://git.io/vb4SU" - } - }, - privateIn: { - syntax: { - name: "@babel/plugin-syntax-private-property-in-object", - url: "https://git.io/JfK3q" - }, - transform: { - name: "@babel/plugin-proposal-private-property-in-object", - url: "https://git.io/JfK3O" - } - }, - recordAndTuple: { - syntax: { - name: "@babel/plugin-syntax-record-and-tuple", - url: "https://git.io/JvKp3" - } - }, - regexpUnicodeSets: { - syntax: { - name: "@babel/plugin-syntax-unicode-sets-regex", - url: "https://git.io/J9GTd" - }, - transform: { - name: "@babel/plugin-proposal-unicode-sets-regex", - url: "https://git.io/J9GTQ" - } - }, - throwExpressions: { - syntax: { - name: "@babel/plugin-syntax-throw-expressions", - url: "https://git.io/vb4SJ" - }, - transform: { - name: "@babel/plugin-proposal-throw-expressions", - url: "https://git.io/vb4yF" - } - }, - typescript: { - syntax: { - name: "@babel/plugin-syntax-typescript", - url: "https://git.io/vb4SC" - }, - transform: { - name: "@babel/preset-typescript", - url: "https://git.io/JfeDz" - } - }, - asyncGenerators: { - syntax: { - name: "@babel/plugin-syntax-async-generators", - url: "https://git.io/vb4SY" - }, - transform: { - name: "@babel/plugin-proposal-async-generator-functions", - url: "https://git.io/vb4yp" - } - }, - logicalAssignment: { - syntax: { - name: "@babel/plugin-syntax-logical-assignment-operators", - url: "https://git.io/vAlBp" - }, - transform: { - name: "@babel/plugin-proposal-logical-assignment-operators", - url: "https://git.io/vAlRe" - } - }, - nullishCoalescingOperator: { - syntax: { - name: "@babel/plugin-syntax-nullish-coalescing-operator", - url: "https://git.io/vb4yx" - }, - transform: { - name: "@babel/plugin-proposal-nullish-coalescing-operator", - url: "https://git.io/vb4Se" - } - }, - objectRestSpread: { - syntax: { - name: "@babel/plugin-syntax-object-rest-spread", - url: "https://git.io/vb4y5" - }, - transform: { - name: "@babel/plugin-proposal-object-rest-spread", - url: "https://git.io/vb4Ss" - } - }, - optionalCatchBinding: { - syntax: { - name: "@babel/plugin-syntax-optional-catch-binding", - url: "https://git.io/vb4Sn" - }, - transform: { - name: "@babel/plugin-proposal-optional-catch-binding", - url: "https://git.io/vb4SI" - } - } -}; -pluginNameMap.privateIn.syntax = pluginNameMap.privateIn.transform; - -const getNameURLCombination = ({ - name, - url -}) => `${name} (${url})`; - -function generateMissingPluginMessage(missingPluginName, loc, codeFrame) { - let helpMessage = `Support for the experimental syntax '${missingPluginName}' isn't currently enabled ` + `(${loc.line}:${loc.column + 1}):\n\n` + codeFrame; - const pluginInfo = pluginNameMap[missingPluginName]; - - if (pluginInfo) { - const { - syntax: syntaxPlugin, - transform: transformPlugin - } = pluginInfo; - - if (syntaxPlugin) { - const syntaxPluginInfo = getNameURLCombination(syntaxPlugin); - - if (transformPlugin) { - const transformPluginInfo = getNameURLCombination(transformPlugin); - const sectionType = transformPlugin.name.startsWith("@babel/plugin") ? "plugins" : "presets"; - helpMessage += `\n\nAdd ${transformPluginInfo} to the '${sectionType}' section of your Babel config to enable transformation. -If you want to leave it as-is, add ${syntaxPluginInfo} to the 'plugins' section to enable parsing.`; - } else { - helpMessage += `\n\nAdd ${syntaxPluginInfo} to the 'plugins' section of your Babel config ` + `to enable parsing.`; - } - } - } - - return helpMessage; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/tools/build-external-helpers.js b/node_modules/@babel/core/lib/tools/build-external-helpers.js deleted file mode 100644 index 94d85e7..0000000 --- a/node_modules/@babel/core/lib/tools/build-external-helpers.js +++ /dev/null @@ -1,164 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; - -function helpers() { - const data = require("@babel/helpers"); - - helpers = function () { - return data; - }; - - return data; -} - -function _generator() { - const data = require("@babel/generator"); - - _generator = function () { - return data; - }; - - return data; -} - -function _template() { - const data = require("@babel/template"); - - _template = function () { - return data; - }; - - return data; -} - -function _t() { - const data = require("@babel/types"); - - _t = function () { - return data; - }; - - return data; -} - -var _file = require("../transformation/file/file"); - -const { - arrayExpression, - assignmentExpression, - binaryExpression, - blockStatement, - callExpression, - cloneNode, - conditionalExpression, - exportNamedDeclaration, - exportSpecifier, - expressionStatement, - functionExpression, - identifier, - memberExpression, - objectExpression, - program, - stringLiteral, - unaryExpression, - variableDeclaration, - variableDeclarator -} = _t(); - -const buildUmdWrapper = replacements => _template().default.statement` - (function (root, factory) { - if (typeof define === "function" && define.amd) { - define(AMD_ARGUMENTS, factory); - } else if (typeof exports === "object") { - factory(COMMON_ARGUMENTS); - } else { - factory(BROWSER_ARGUMENTS); - } - })(UMD_ROOT, function (FACTORY_PARAMETERS) { - FACTORY_BODY - }); - `(replacements); - -function buildGlobal(allowlist) { - const namespace = identifier("babelHelpers"); - const body = []; - const container = functionExpression(null, [identifier("global")], blockStatement(body)); - const tree = program([expressionStatement(callExpression(container, [conditionalExpression(binaryExpression("===", unaryExpression("typeof", identifier("global")), stringLiteral("undefined")), identifier("self"), identifier("global"))]))]); - body.push(variableDeclaration("var", [variableDeclarator(namespace, assignmentExpression("=", memberExpression(identifier("global"), namespace), objectExpression([])))])); - buildHelpers(body, namespace, allowlist); - return tree; -} - -function buildModule(allowlist) { - const body = []; - const refs = buildHelpers(body, null, allowlist); - body.unshift(exportNamedDeclaration(null, Object.keys(refs).map(name => { - return exportSpecifier(cloneNode(refs[name]), identifier(name)); - }))); - return program(body, [], "module"); -} - -function buildUmd(allowlist) { - const namespace = identifier("babelHelpers"); - const body = []; - body.push(variableDeclaration("var", [variableDeclarator(namespace, identifier("global"))])); - buildHelpers(body, namespace, allowlist); - return program([buildUmdWrapper({ - FACTORY_PARAMETERS: identifier("global"), - BROWSER_ARGUMENTS: assignmentExpression("=", memberExpression(identifier("root"), namespace), objectExpression([])), - COMMON_ARGUMENTS: identifier("exports"), - AMD_ARGUMENTS: arrayExpression([stringLiteral("exports")]), - FACTORY_BODY: body, - UMD_ROOT: identifier("this") - })]); -} - -function buildVar(allowlist) { - const namespace = identifier("babelHelpers"); - const body = []; - body.push(variableDeclaration("var", [variableDeclarator(namespace, objectExpression([]))])); - const tree = program(body); - buildHelpers(body, namespace, allowlist); - body.push(expressionStatement(namespace)); - return tree; -} - -function buildHelpers(body, namespace, allowlist) { - const getHelperReference = name => { - return namespace ? memberExpression(namespace, identifier(name)) : identifier(`_${name}`); - }; - - const refs = {}; - helpers().list.forEach(function (name) { - if (allowlist && allowlist.indexOf(name) < 0) return; - const ref = refs[name] = getHelperReference(name); - helpers().ensure(name, _file.default); - const { - nodes - } = helpers().get(name, getHelperReference, ref); - body.push(...nodes); - }); - return refs; -} - -function _default(allowlist, outputType = "global") { - let tree; - const build = { - global: buildGlobal, - module: buildModule, - umd: buildUmd, - var: buildVar - }[outputType]; - - if (build) { - tree = build(allowlist); - } else { - throw new Error(`Unsupported output type ${outputType}`); - } - - return (0, _generator().default)(tree).code; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-ast.js b/node_modules/@babel/core/lib/transform-ast.js deleted file mode 100644 index 61fb222..0000000 --- a/node_modules/@babel/core/lib/transform-ast.js +++ /dev/null @@ -1,46 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transformFromAstSync = exports.transformFromAstAsync = exports.transformFromAst = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _config = require("./config"); - -var _transformation = require("./transformation"); - -const transformFromAstRunner = _gensync()(function* (ast, code, opts) { - const config = yield* (0, _config.default)(opts); - if (config === null) return null; - if (!ast) throw new Error("No AST given"); - return yield* (0, _transformation.run)(config, code, ast); -}); - -const transformFromAst = function transformFromAst(ast, code, opts, callback) { - if (typeof opts === "function") { - callback = opts; - opts = undefined; - } - - if (callback === undefined) { - return transformFromAstRunner.sync(ast, code, opts); - } - - transformFromAstRunner.errback(ast, code, opts, callback); -}; - -exports.transformFromAst = transformFromAst; -const transformFromAstSync = transformFromAstRunner.sync; -exports.transformFromAstSync = transformFromAstSync; -const transformFromAstAsync = transformFromAstRunner.async; -exports.transformFromAstAsync = transformFromAstAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-file-browser.js b/node_modules/@babel/core/lib/transform-file-browser.js deleted file mode 100644 index 3371a1e..0000000 --- a/node_modules/@babel/core/lib/transform-file-browser.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transformFile = void 0; -exports.transformFileAsync = transformFileAsync; -exports.transformFileSync = transformFileSync; - -const transformFile = function transformFile(filename, opts, callback) { - if (typeof opts === "function") { - callback = opts; - } - - callback(new Error("Transforming files is not supported in browsers"), null); -}; - -exports.transformFile = transformFile; - -function transformFileSync() { - throw new Error("Transforming files is not supported in browsers"); -} - -function transformFileAsync() { - return Promise.reject(new Error("Transforming files is not supported in browsers")); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-file.js b/node_modules/@babel/core/lib/transform-file.js deleted file mode 100644 index 18075ff..0000000 --- a/node_modules/@babel/core/lib/transform-file.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transformFileSync = exports.transformFileAsync = exports.transformFile = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _config = require("./config"); - -var _transformation = require("./transformation"); - -var fs = require("./gensync-utils/fs"); - -({}); - -const transformFileRunner = _gensync()(function* (filename, opts) { - const options = Object.assign({}, opts, { - filename - }); - const config = yield* (0, _config.default)(options); - if (config === null) return null; - const code = yield* fs.readFile(filename, "utf8"); - return yield* (0, _transformation.run)(config, code); -}); - -const transformFile = transformFileRunner.errback; -exports.transformFile = transformFile; -const transformFileSync = transformFileRunner.sync; -exports.transformFileSync = transformFileSync; -const transformFileAsync = transformFileRunner.async; -exports.transformFileAsync = transformFileAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform.js b/node_modules/@babel/core/lib/transform.js deleted file mode 100644 index 538c3ed..0000000 --- a/node_modules/@babel/core/lib/transform.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transformSync = exports.transformAsync = exports.transform = void 0; - -function _gensync() { - const data = require("gensync"); - - _gensync = function () { - return data; - }; - - return data; -} - -var _config = require("./config"); - -var _transformation = require("./transformation"); - -const transformRunner = _gensync()(function* transform(code, opts) { - const config = yield* (0, _config.default)(opts); - if (config === null) return null; - return yield* (0, _transformation.run)(config, code); -}); - -const transform = function transform(code, opts, callback) { - if (typeof opts === "function") { - callback = opts; - opts = undefined; - } - - if (callback === undefined) return transformRunner.sync(code, opts); - transformRunner.errback(code, opts, callback); -}; - -exports.transform = transform; -const transformSync = transformRunner.sync; -exports.transformSync = transformSync; -const transformAsync = transformRunner.async; -exports.transformAsync = transformAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js b/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js deleted file mode 100644 index a3b0b41..0000000 --- a/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +++ /dev/null @@ -1,94 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = loadBlockHoistPlugin; - -function _traverse() { - const data = require("@babel/traverse"); - - _traverse = function () { - return data; - }; - - return data; -} - -var _plugin = require("../config/plugin"); - -let LOADED_PLUGIN; - -function loadBlockHoistPlugin() { - if (!LOADED_PLUGIN) { - LOADED_PLUGIN = new _plugin.default(Object.assign({}, blockHoistPlugin, { - visitor: _traverse().default.explode(blockHoistPlugin.visitor) - }), {}); - } - - return LOADED_PLUGIN; -} - -function priority(bodyNode) { - const priority = bodyNode == null ? void 0 : bodyNode._blockHoist; - if (priority == null) return 1; - if (priority === true) return 2; - return priority; -} - -function stableSort(body) { - const buckets = Object.create(null); - - for (let i = 0; i < body.length; i++) { - const n = body[i]; - const p = priority(n); - const bucket = buckets[p] || (buckets[p] = []); - bucket.push(n); - } - - const keys = Object.keys(buckets).map(k => +k).sort((a, b) => b - a); - let index = 0; - - for (const key of keys) { - const bucket = buckets[key]; - - for (const n of bucket) { - body[index++] = n; - } - } - - return body; -} - -const blockHoistPlugin = { - name: "internal.blockHoist", - visitor: { - Block: { - exit({ - node - }) { - const { - body - } = node; - let max = Math.pow(2, 30) - 1; - let hasChange = false; - - for (let i = 0; i < body.length; i++) { - const n = body[i]; - const p = priority(n); - - if (p > max) { - hasChange = true; - break; - } - - max = p; - } - - if (!hasChange) return; - node.body = stableSort(body.slice()); - } - - } - } -}; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/file.js b/node_modules/@babel/core/lib/transformation/file/file.js deleted file mode 100644 index 3728ec5..0000000 --- a/node_modules/@babel/core/lib/transformation/file/file.js +++ /dev/null @@ -1,254 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -function helpers() { - const data = require("@babel/helpers"); - - helpers = function () { - return data; - }; - - return data; -} - -function _traverse() { - const data = require("@babel/traverse"); - - _traverse = function () { - return data; - }; - - return data; -} - -function _codeFrame() { - const data = require("@babel/code-frame"); - - _codeFrame = function () { - return data; - }; - - return data; -} - -function _t() { - const data = require("@babel/types"); - - _t = function () { - return data; - }; - - return data; -} - -function _helperModuleTransforms() { - const data = require("@babel/helper-module-transforms"); - - _helperModuleTransforms = function () { - return data; - }; - - return data; -} - -function _semver() { - const data = require("semver"); - - _semver = function () { - return data; - }; - - return data; -} - -const { - cloneNode, - interpreterDirective -} = _t(); - -const errorVisitor = { - enter(path, state) { - const loc = path.node.loc; - - if (loc) { - state.loc = loc; - path.stop(); - } - } - -}; - -class File { - constructor(options, { - code, - ast, - inputMap - }) { - this._map = new Map(); - this.opts = void 0; - this.declarations = {}; - this.path = null; - this.ast = {}; - this.scope = void 0; - this.metadata = {}; - this.code = ""; - this.inputMap = null; - this.hub = { - file: this, - getCode: () => this.code, - getScope: () => this.scope, - addHelper: this.addHelper.bind(this), - buildError: this.buildCodeFrameError.bind(this) - }; - this.opts = options; - this.code = code; - this.ast = ast; - this.inputMap = inputMap; - this.path = _traverse().NodePath.get({ - hub: this.hub, - parentPath: null, - parent: this.ast, - container: this.ast, - key: "program" - }).setContext(); - this.scope = this.path.scope; - } - - get shebang() { - const { - interpreter - } = this.path.node; - return interpreter ? interpreter.value : ""; - } - - set shebang(value) { - if (value) { - this.path.get("interpreter").replaceWith(interpreterDirective(value)); - } else { - this.path.get("interpreter").remove(); - } - } - - set(key, val) { - if (key === "helpersNamespace") { - throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility." + "If you are using @babel/plugin-external-helpers you will need to use a newer " + "version than the one you currently have installed. " + "If you have your own implementation, you'll want to explore using 'helperGenerator' " + "alongside 'file.availableHelper()'."); - } - - this._map.set(key, val); - } - - get(key) { - return this._map.get(key); - } - - has(key) { - return this._map.has(key); - } - - getModuleName() { - return (0, _helperModuleTransforms().getModuleName)(this.opts, this.opts); - } - - addImport() { - throw new Error("This API has been removed. If you're looking for this " + "functionality in Babel 7, you should import the " + "'@babel/helper-module-imports' module and use the functions exposed " + " from that module, such as 'addNamed' or 'addDefault'."); - } - - availableHelper(name, versionRange) { - let minVersion; - - try { - minVersion = helpers().minVersion(name); - } catch (err) { - if (err.code !== "BABEL_HELPER_UNKNOWN") throw err; - return false; - } - - if (typeof versionRange !== "string") return true; - if (_semver().valid(versionRange)) versionRange = `^${versionRange}`; - return !_semver().intersects(`<${minVersion}`, versionRange) && !_semver().intersects(`>=8.0.0`, versionRange); - } - - addHelper(name) { - const declar = this.declarations[name]; - if (declar) return cloneNode(declar); - const generator = this.get("helperGenerator"); - - if (generator) { - const res = generator(name); - if (res) return res; - } - - helpers().ensure(name, File); - const uid = this.declarations[name] = this.scope.generateUidIdentifier(name); - const dependencies = {}; - - for (const dep of helpers().getDependencies(name)) { - dependencies[dep] = this.addHelper(dep); - } - - const { - nodes, - globals - } = helpers().get(name, dep => dependencies[dep], uid, Object.keys(this.scope.getAllBindings())); - globals.forEach(name => { - if (this.path.scope.hasBinding(name, true)) { - this.path.scope.rename(name); - } - }); - nodes.forEach(node => { - node._compact = true; - }); - this.path.unshiftContainer("body", nodes); - this.path.get("body").forEach(path => { - if (nodes.indexOf(path.node) === -1) return; - if (path.isVariableDeclaration()) this.scope.registerDeclaration(path); - }); - return uid; - } - - addTemplateObject() { - throw new Error("This function has been moved into the template literal transform itself."); - } - - buildCodeFrameError(node, msg, _Error = SyntaxError) { - let loc = node && (node.loc || node._loc); - - if (!loc && node) { - const state = { - loc: null - }; - (0, _traverse().default)(node, errorVisitor, this.scope, state); - loc = state.loc; - let txt = "This is an error on an internal node. Probably an internal error."; - if (loc) txt += " Location has been estimated."; - msg += ` (${txt})`; - } - - if (loc) { - const { - highlightCode = true - } = this.opts; - msg += "\n" + (0, _codeFrame().codeFrameColumns)(this.code, { - start: { - line: loc.start.line, - column: loc.start.column + 1 - }, - end: loc.end && loc.start.line === loc.end.line ? { - line: loc.end.line, - column: loc.end.column + 1 - } : undefined - }, { - highlightCode - }); - } - - return new _Error(msg); - } - -} - -exports.default = File; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/generate.js b/node_modules/@babel/core/lib/transformation/file/generate.js deleted file mode 100644 index def05ca..0000000 --- a/node_modules/@babel/core/lib/transformation/file/generate.js +++ /dev/null @@ -1,90 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = generateCode; - -function _convertSourceMap() { - const data = require("convert-source-map"); - - _convertSourceMap = function () { - return data; - }; - - return data; -} - -function _generator() { - const data = require("@babel/generator"); - - _generator = function () { - return data; - }; - - return data; -} - -var _mergeMap = require("./merge-map"); - -function generateCode(pluginPasses, file) { - const { - opts, - ast, - code, - inputMap - } = file; - const { - generatorOpts - } = opts; - const results = []; - - for (const plugins of pluginPasses) { - for (const plugin of plugins) { - const { - generatorOverride - } = plugin; - - if (generatorOverride) { - const result = generatorOverride(ast, generatorOpts, code, _generator().default); - if (result !== undefined) results.push(result); - } - } - } - - let result; - - if (results.length === 0) { - result = (0, _generator().default)(ast, generatorOpts, code); - } else if (results.length === 1) { - result = results[0]; - - if (typeof result.then === "function") { - throw new Error(`You appear to be using an async codegen plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version.`); - } - } else { - throw new Error("More than one plugin attempted to override codegen."); - } - - let { - code: outputCode, - map: outputMap - } = result; - - if (outputMap && inputMap) { - outputMap = (0, _mergeMap.default)(inputMap.toObject(), outputMap, generatorOpts.sourceFileName); - } - - if (opts.sourceMaps === "inline" || opts.sourceMaps === "both") { - outputCode += "\n" + _convertSourceMap().fromObject(outputMap).toComment(); - } - - if (opts.sourceMaps === "inline") { - outputMap = null; - } - - return { - outputCode, - outputMap - }; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/merge-map.js b/node_modules/@babel/core/lib/transformation/file/merge-map.js deleted file mode 100644 index 11d6c1e..0000000 --- a/node_modules/@babel/core/lib/transformation/file/merge-map.js +++ /dev/null @@ -1,75 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = mergeSourceMap; - -function _remapping() { - const data = require("@ampproject/remapping"); - - _remapping = function () { - return data; - }; - - return data; -} - -function mergeSourceMap(inputMap, map, source) { - const outputSources = map.sources; - let result; - - if (outputSources.length > 1) { - const index = outputSources.indexOf(source); - - if (index === -1) { - result = emptyMap(inputMap); - } else { - result = mergeMultiSource(inputMap, map, index); - } - } else { - result = mergeSingleSource(inputMap, map); - } - - if (typeof inputMap.sourceRoot === "string") { - result.sourceRoot = inputMap.sourceRoot; - } - - return result; -} - -function mergeSingleSource(inputMap, map) { - return _remapping()([rootless(map), rootless(inputMap)], () => null); -} - -function mergeMultiSource(inputMap, map, index) { - map.sources[index] = ""; - let count = 0; - return _remapping()(rootless(map), () => { - if (count++ === index) return rootless(inputMap); - return null; - }); -} - -function emptyMap(inputMap) { - var _inputMap$sourcesCont; - - const inputSources = inputMap.sources; - const sources = []; - const sourcesContent = (_inputMap$sourcesCont = inputMap.sourcesContent) == null ? void 0 : _inputMap$sourcesCont.filter((content, i) => { - if (typeof content !== "string") return false; - sources.push(inputSources[i]); - return true; - }); - return Object.assign({}, inputMap, { - sources, - sourcesContent, - mappings: "" - }); -} - -function rootless(map) { - return Object.assign({}, map, { - sourceRoot: null - }); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/index.js b/node_modules/@babel/core/lib/transformation/index.js deleted file mode 100644 index 1f8422e..0000000 --- a/node_modules/@babel/core/lib/transformation/index.js +++ /dev/null @@ -1,127 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.run = run; - -function _traverse() { - const data = require("@babel/traverse"); - - _traverse = function () { - return data; - }; - - return data; -} - -var _pluginPass = require("./plugin-pass"); - -var _blockHoistPlugin = require("./block-hoist-plugin"); - -var _normalizeOpts = require("./normalize-opts"); - -var _normalizeFile = require("./normalize-file"); - -var _generate = require("./file/generate"); - -var _deepArray = require("../config/helpers/deep-array"); - -function* run(config, code, ast) { - const file = yield* (0, _normalizeFile.default)(config.passes, (0, _normalizeOpts.default)(config), code, ast); - const opts = file.opts; - - try { - yield* transformFile(file, config.passes); - } catch (e) { - var _opts$filename; - - e.message = `${(_opts$filename = opts.filename) != null ? _opts$filename : "unknown"}: ${e.message}`; - - if (!e.code) { - e.code = "BABEL_TRANSFORM_ERROR"; - } - - throw e; - } - - let outputCode, outputMap; - - try { - if (opts.code !== false) { - ({ - outputCode, - outputMap - } = (0, _generate.default)(config.passes, file)); - } - } catch (e) { - var _opts$filename2; - - e.message = `${(_opts$filename2 = opts.filename) != null ? _opts$filename2 : "unknown"}: ${e.message}`; - - if (!e.code) { - e.code = "BABEL_GENERATE_ERROR"; - } - - throw e; - } - - return { - metadata: file.metadata, - options: opts, - ast: opts.ast === true ? file.ast : null, - code: outputCode === undefined ? null : outputCode, - map: outputMap === undefined ? null : outputMap, - sourceType: file.ast.program.sourceType, - externalDependencies: (0, _deepArray.flattenToSet)(config.externalDependencies) - }; -} - -function* transformFile(file, pluginPasses) { - for (const pluginPairs of pluginPasses) { - const passPairs = []; - const passes = []; - const visitors = []; - - for (const plugin of pluginPairs.concat([(0, _blockHoistPlugin.default)()])) { - const pass = new _pluginPass.default(file, plugin.key, plugin.options); - passPairs.push([plugin, pass]); - passes.push(pass); - visitors.push(plugin.visitor); - } - - for (const [plugin, pass] of passPairs) { - const fn = plugin.pre; - - if (fn) { - const result = fn.call(pass, file); - yield* []; - - if (isThenable(result)) { - throw new Error(`You appear to be using an plugin with an async .pre, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); - } - } - } - - const visitor = _traverse().default.visitors.merge(visitors, passes, file.opts.wrapPluginVisitorMethod); - - (0, _traverse().default)(file.ast, visitor, file.scope); - - for (const [plugin, pass] of passPairs) { - const fn = plugin.post; - - if (fn) { - const result = fn.call(pass, file); - yield* []; - - if (isThenable(result)) { - throw new Error(`You appear to be using an plugin with an async .post, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); - } - } - } - } -} - -function isThenable(val) { - return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function"; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/normalize-file.js b/node_modules/@babel/core/lib/transformation/normalize-file.js deleted file mode 100644 index dc434ed..0000000 --- a/node_modules/@babel/core/lib/transformation/normalize-file.js +++ /dev/null @@ -1,167 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = normalizeFile; - -function _fs() { - const data = require("fs"); - - _fs = function () { - return data; - }; - - return data; -} - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _debug() { - const data = require("debug"); - - _debug = function () { - return data; - }; - - return data; -} - -function _t() { - const data = require("@babel/types"); - - _t = function () { - return data; - }; - - return data; -} - -function _convertSourceMap() { - const data = require("convert-source-map"); - - _convertSourceMap = function () { - return data; - }; - - return data; -} - -var _file = require("./file/file"); - -var _parser = require("../parser"); - -var _cloneDeep = require("./util/clone-deep"); - -const { - file, - traverseFast -} = _t(); - -const debug = _debug()("babel:transform:file"); - -const LARGE_INPUT_SOURCEMAP_THRESHOLD = 1000000; - -function* normalizeFile(pluginPasses, options, code, ast) { - code = `${code || ""}`; - - if (ast) { - if (ast.type === "Program") { - ast = file(ast, [], []); - } else if (ast.type !== "File") { - throw new Error("AST root must be a Program or File node"); - } - - if (options.cloneInputAst) { - ast = (0, _cloneDeep.default)(ast); - } - } else { - ast = yield* (0, _parser.default)(pluginPasses, options, code); - } - - let inputMap = null; - - if (options.inputSourceMap !== false) { - if (typeof options.inputSourceMap === "object") { - inputMap = _convertSourceMap().fromObject(options.inputSourceMap); - } - - if (!inputMap) { - const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast); - - if (lastComment) { - try { - inputMap = _convertSourceMap().fromComment(lastComment); - } catch (err) { - debug("discarding unknown inline input sourcemap", err); - } - } - } - - if (!inputMap) { - const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast); - - if (typeof options.filename === "string" && lastComment) { - try { - const match = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment); - - const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename), match[1])); - - if (inputMapContent.length > LARGE_INPUT_SOURCEMAP_THRESHOLD) { - debug("skip merging input map > 1 MB"); - } else { - inputMap = _convertSourceMap().fromJSON(inputMapContent); - } - } catch (err) { - debug("discarding unknown file input sourcemap", err); - } - } else if (lastComment) { - debug("discarding un-loadable file input sourcemap"); - } - } - } - - return new _file.default(options, { - code, - ast, - inputMap - }); -} - -const INLINE_SOURCEMAP_REGEX = /^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/; -const EXTERNAL_SOURCEMAP_REGEX = /^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/; - -function extractCommentsFromList(regex, comments, lastComment) { - if (comments) { - comments = comments.filter(({ - value - }) => { - if (regex.test(value)) { - lastComment = value; - return false; - } - - return true; - }); - } - - return [comments, lastComment]; -} - -function extractComments(regex, ast) { - let lastComment = null; - traverseFast(ast, node => { - [node.leadingComments, lastComment] = extractCommentsFromList(regex, node.leadingComments, lastComment); - [node.innerComments, lastComment] = extractCommentsFromList(regex, node.innerComments, lastComment); - [node.trailingComments, lastComment] = extractCommentsFromList(regex, node.trailingComments, lastComment); - }); - return lastComment; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/normalize-opts.js b/node_modules/@babel/core/lib/transformation/normalize-opts.js deleted file mode 100644 index 6e2cb00..0000000 --- a/node_modules/@babel/core/lib/transformation/normalize-opts.js +++ /dev/null @@ -1,62 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = normalizeOptions; - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function normalizeOptions(config) { - const { - filename, - cwd, - filenameRelative = typeof filename === "string" ? _path().relative(cwd, filename) : "unknown", - sourceType = "module", - inputSourceMap, - sourceMaps = !!inputSourceMap, - sourceRoot = config.options.moduleRoot, - sourceFileName = _path().basename(filenameRelative), - comments = true, - compact = "auto" - } = config.options; - const opts = config.options; - const options = Object.assign({}, opts, { - parserOpts: Object.assign({ - sourceType: _path().extname(filenameRelative) === ".mjs" ? "module" : sourceType, - sourceFileName: filename, - plugins: [] - }, opts.parserOpts), - generatorOpts: Object.assign({ - filename, - auxiliaryCommentBefore: opts.auxiliaryCommentBefore, - auxiliaryCommentAfter: opts.auxiliaryCommentAfter, - retainLines: opts.retainLines, - comments, - shouldPrintComment: opts.shouldPrintComment, - compact, - minified: opts.minified, - sourceMaps, - sourceRoot, - sourceFileName - }, opts.generatorOpts) - }); - - for (const plugins of config.passes) { - for (const plugin of plugins) { - if (plugin.manipulateOptions) { - plugin.manipulateOptions(options, options.parserOpts); - } - } - } - - return options; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/plugin-pass.js b/node_modules/@babel/core/lib/transformation/plugin-pass.js deleted file mode 100644 index 920558a..0000000 --- a/node_modules/@babel/core/lib/transformation/plugin-pass.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -class PluginPass { - constructor(file, key, options) { - this._map = new Map(); - this.key = void 0; - this.file = void 0; - this.opts = void 0; - this.cwd = void 0; - this.filename = void 0; - this.key = key; - this.file = file; - this.opts = options || {}; - this.cwd = file.opts.cwd; - this.filename = file.opts.filename; - } - - set(key, val) { - this._map.set(key, val); - } - - get(key) { - return this._map.get(key); - } - - availableHelper(name, versionRange) { - return this.file.availableHelper(name, versionRange); - } - - addHelper(name) { - return this.file.addHelper(name); - } - - addImport() { - return this.file.addImport(); - } - - buildCodeFrameError(node, msg, _Error) { - return this.file.buildCodeFrameError(node, msg, _Error); - } - -} - -exports.default = PluginPass; -{ - PluginPass.prototype.getModuleName = function getModuleName() { - return this.file.getModuleName(); - }; -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js b/node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js deleted file mode 100644 index a42de82..0000000 --- a/node_modules/@babel/core/lib/transformation/util/clone-deep-browser.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; -const serialized = "$$ babel internal serialized type" + Math.random(); - -function serialize(key, value) { - if (typeof value !== "bigint") return value; - return { - [serialized]: "BigInt", - value: value.toString() - }; -} - -function revive(key, value) { - if (!value || typeof value !== "object") return value; - if (value[serialized] !== "BigInt") return value; - return BigInt(value.value); -} - -function _default(value) { - return JSON.parse(JSON.stringify(value, serialize), revive); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/util/clone-deep.js b/node_modules/@babel/core/lib/transformation/util/clone-deep.js deleted file mode 100644 index 35fbd09..0000000 --- a/node_modules/@babel/core/lib/transformation/util/clone-deep.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; - -function _v() { - const data = require("v8"); - - _v = function () { - return data; - }; - - return data; -} - -var _cloneDeepBrowser = require("./clone-deep-browser"); - -function _default(value) { - if (_v().deserialize && _v().serialize) { - return _v().deserialize(_v().serialize(value)); - } - - return (0, _cloneDeepBrowser.default)(value); -} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/vendor/import-meta-resolve.js b/node_modules/@babel/core/lib/vendor/import-meta-resolve.js deleted file mode 100644 index ce8d403..0000000 --- a/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +++ /dev/null @@ -1,3312 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.moduleResolve = moduleResolve; -exports.resolve = resolve; - -function _url() { - const data = require("url"); - - _url = function () { - return data; - }; - - return data; -} - -function _fs() { - const data = _interopRequireWildcard(require("fs"), true); - - _fs = function () { - return data; - }; - - return data; -} - -function _path() { - const data = require("path"); - - _path = function () { - return data; - }; - - return data; -} - -function _assert() { - const data = require("assert"); - - _assert = function () { - return data; - }; - - return data; -} - -function _util() { - const data = require("util"); - - _util = function () { - return data; - }; - - return data; -} - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && 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; } - -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } - -function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } - -function createCommonjsModule(fn) { - var module = { - exports: {} - }; - return fn(module, module.exports), module.exports; -} - -const SEMVER_SPEC_VERSION = '2.0.0'; -const MAX_LENGTH$2 = 256; -const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER || 9007199254740991; -const MAX_SAFE_COMPONENT_LENGTH = 16; -var constants = { - SEMVER_SPEC_VERSION, - MAX_LENGTH: MAX_LENGTH$2, - MAX_SAFE_INTEGER: MAX_SAFE_INTEGER$1, - MAX_SAFE_COMPONENT_LENGTH -}; -const debug = typeof process === 'object' && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error('SEMVER', ...args) : () => {}; -var debug_1 = debug; -var re_1 = createCommonjsModule(function (module, exports) { - const { - MAX_SAFE_COMPONENT_LENGTH - } = constants; - exports = module.exports = {}; - const re = exports.re = []; - const src = exports.src = []; - const t = exports.t = {}; - let R = 0; - - const createToken = (name, value, isGlobal) => { - const index = R++; - debug_1(index, value); - t[name] = index; - src[index] = value; - re[index] = new RegExp(value, isGlobal ? 'g' : undefined); - }; - - createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*'); - createToken('NUMERICIDENTIFIERLOOSE', '[0-9]+'); - createToken('NONNUMERICIDENTIFIER', '\\d*[a-zA-Z-][a-zA-Z0-9-]*'); - createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})`); - createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`); - createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`); - createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`); - createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`); - createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`); - createToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+'); - createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`); - createToken('FULLPLAIN', `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`); - createToken('FULL', `^${src[t.FULLPLAIN]}$`); - createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`); - createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`); - createToken('GTLT', '((?:<|>)?=?)'); - createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`); - createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`); - createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`); - createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`); - createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`); - createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`); - createToken('COERCE', `${'(^|[^\\d])' + '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\d])`); - createToken('COERCERTL', src[t.COERCE], true); - createToken('LONETILDE', '(?:~>?)'); - createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true); - exports.tildeTrimReplace = '$1~'; - createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`); - createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`); - createToken('LONECARET', '(?:\\^)'); - createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true); - exports.caretTrimReplace = '$1^'; - createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`); - createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`); - createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`); - createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`); - createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true); - exports.comparatorTrimReplace = '$1$2$3'; - createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\s*$`); - createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\s*$`); - createToken('STAR', '(<|>)?=?\\s*\\*'); - createToken('GTE0', '^\\s*>=\\s*0\.0\.0\\s*$'); - createToken('GTE0PRE', '^\\s*>=\\s*0\.0\.0-0\\s*$'); -}); -const opts = ['includePrerelease', 'loose', 'rtl']; - -const parseOptions = options => !options ? {} : typeof options !== 'object' ? { - loose: true -} : opts.filter(k => options[k]).reduce((options, k) => { - options[k] = true; - return options; -}, {}); - -var parseOptions_1 = parseOptions; -const numeric = /^[0-9]+$/; - -const compareIdentifiers$1 = (a, b) => { - const anum = numeric.test(a); - const bnum = numeric.test(b); - - if (anum && bnum) { - a = +a; - b = +b; - } - - return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1; -}; - -const rcompareIdentifiers = (a, b) => compareIdentifiers$1(b, a); - -var identifiers = { - compareIdentifiers: compareIdentifiers$1, - rcompareIdentifiers -}; -const { - MAX_LENGTH: MAX_LENGTH$1, - MAX_SAFE_INTEGER -} = constants; -const { - re: re$4, - t: t$4 -} = re_1; -const { - compareIdentifiers -} = identifiers; - -class SemVer { - constructor(version, options) { - options = parseOptions_1(options); - - if (version instanceof SemVer) { - if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) { - return version; - } else { - version = version.version; - } - } else if (typeof version !== 'string') { - throw new TypeError(`Invalid Version: ${version}`); - } - - if (version.length > MAX_LENGTH$1) { - throw new TypeError(`version is longer than ${MAX_LENGTH$1} characters`); - } - - debug_1('SemVer', version, options); - this.options = options; - this.loose = !!options.loose; - this.includePrerelease = !!options.includePrerelease; - const m = version.trim().match(options.loose ? re$4[t$4.LOOSE] : re$4[t$4.FULL]); - - if (!m) { - throw new TypeError(`Invalid Version: ${version}`); - } - - this.raw = version; - this.major = +m[1]; - this.minor = +m[2]; - this.patch = +m[3]; - - if (this.major > MAX_SAFE_INTEGER || this.major < 0) { - throw new TypeError('Invalid major version'); - } - - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { - throw new TypeError('Invalid minor version'); - } - - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { - throw new TypeError('Invalid patch version'); - } - - if (!m[4]) { - this.prerelease = []; - } else { - this.prerelease = m[4].split('.').map(id => { - if (/^[0-9]+$/.test(id)) { - const num = +id; - - if (num >= 0 && num < MAX_SAFE_INTEGER) { - return num; - } - } - - return id; - }); - } - - this.build = m[5] ? m[5].split('.') : []; - this.format(); - } - - format() { - this.version = `${this.major}.${this.minor}.${this.patch}`; - - if (this.prerelease.length) { - this.version += `-${this.prerelease.join('.')}`; - } - - return this.version; - } - - toString() { - return this.version; - } - - compare(other) { - debug_1('SemVer.compare', this.version, this.options, other); - - if (!(other instanceof SemVer)) { - if (typeof other === 'string' && other === this.version) { - return 0; - } - - other = new SemVer(other, this.options); - } - - if (other.version === this.version) { - return 0; - } - - return this.compareMain(other) || this.comparePre(other); - } - - compareMain(other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options); - } - - return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch); - } - - comparePre(other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options); - } - - if (this.prerelease.length && !other.prerelease.length) { - return -1; - } else if (!this.prerelease.length && other.prerelease.length) { - return 1; - } else if (!this.prerelease.length && !other.prerelease.length) { - return 0; - } - - let i = 0; - - do { - const a = this.prerelease[i]; - const b = other.prerelease[i]; - debug_1('prerelease compare', i, a, b); - - if (a === undefined && b === undefined) { - return 0; - } else if (b === undefined) { - return 1; - } else if (a === undefined) { - return -1; - } else if (a === b) { - continue; - } else { - return compareIdentifiers(a, b); - } - } while (++i); - } - - compareBuild(other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options); - } - - let i = 0; - - do { - const a = this.build[i]; - const b = other.build[i]; - debug_1('prerelease compare', i, a, b); - - if (a === undefined && b === undefined) { - return 0; - } else if (b === undefined) { - return 1; - } else if (a === undefined) { - return -1; - } else if (a === b) { - continue; - } else { - return compareIdentifiers(a, b); - } - } while (++i); - } - - inc(release, identifier) { - switch (release) { - case 'premajor': - this.prerelease.length = 0; - this.patch = 0; - this.minor = 0; - this.major++; - this.inc('pre', identifier); - break; - - case 'preminor': - this.prerelease.length = 0; - this.patch = 0; - this.minor++; - this.inc('pre', identifier); - break; - - case 'prepatch': - this.prerelease.length = 0; - this.inc('patch', identifier); - this.inc('pre', identifier); - break; - - case 'prerelease': - if (this.prerelease.length === 0) { - this.inc('patch', identifier); - } - - this.inc('pre', identifier); - break; - - case 'major': - if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) { - this.major++; - } - - this.minor = 0; - this.patch = 0; - this.prerelease = []; - break; - - case 'minor': - if (this.patch !== 0 || this.prerelease.length === 0) { - this.minor++; - } - - this.patch = 0; - this.prerelease = []; - break; - - case 'patch': - if (this.prerelease.length === 0) { - this.patch++; - } - - this.prerelease = []; - break; - - case 'pre': - if (this.prerelease.length === 0) { - this.prerelease = [0]; - } else { - let i = this.prerelease.length; - - while (--i >= 0) { - if (typeof this.prerelease[i] === 'number') { - this.prerelease[i]++; - i = -2; - } - } - - if (i === -1) { - this.prerelease.push(0); - } - } - - if (identifier) { - if (this.prerelease[0] === identifier) { - if (isNaN(this.prerelease[1])) { - this.prerelease = [identifier, 0]; - } - } else { - this.prerelease = [identifier, 0]; - } - } - - break; - - default: - throw new Error(`invalid increment argument: ${release}`); - } - - this.format(); - this.raw = this.version; - return this; - } - -} - -var semver$1 = SemVer; -const { - MAX_LENGTH -} = constants; -const { - re: re$3, - t: t$3 -} = re_1; - -const parse = (version, options) => { - options = parseOptions_1(options); - - if (version instanceof semver$1) { - return version; - } - - if (typeof version !== 'string') { - return null; - } - - if (version.length > MAX_LENGTH) { - return null; - } - - const r = options.loose ? re$3[t$3.LOOSE] : re$3[t$3.FULL]; - - if (!r.test(version)) { - return null; - } - - try { - return new semver$1(version, options); - } catch (er) { - return null; - } -}; - -var parse_1 = parse; - -const valid$1 = (version, options) => { - const v = parse_1(version, options); - return v ? v.version : null; -}; - -var valid_1 = valid$1; - -const clean = (version, options) => { - const s = parse_1(version.trim().replace(/^[=v]+/, ''), options); - return s ? s.version : null; -}; - -var clean_1 = clean; - -const inc = (version, release, options, identifier) => { - if (typeof options === 'string') { - identifier = options; - options = undefined; - } - - try { - return new semver$1(version, options).inc(release, identifier).version; - } catch (er) { - return null; - } -}; - -var inc_1 = inc; - -const compare = (a, b, loose) => new semver$1(a, loose).compare(new semver$1(b, loose)); - -var compare_1 = compare; - -const eq = (a, b, loose) => compare_1(a, b, loose) === 0; - -var eq_1 = eq; - -const diff = (version1, version2) => { - if (eq_1(version1, version2)) { - return null; - } else { - const v1 = parse_1(version1); - const v2 = parse_1(version2); - const hasPre = v1.prerelease.length || v2.prerelease.length; - const prefix = hasPre ? 'pre' : ''; - const defaultResult = hasPre ? 'prerelease' : ''; - - for (const key in v1) { - if (key === 'major' || key === 'minor' || key === 'patch') { - if (v1[key] !== v2[key]) { - return prefix + key; - } - } - } - - return defaultResult; - } -}; - -var diff_1 = diff; - -const major = (a, loose) => new semver$1(a, loose).major; - -var major_1 = major; - -const minor = (a, loose) => new semver$1(a, loose).minor; - -var minor_1 = minor; - -const patch = (a, loose) => new semver$1(a, loose).patch; - -var patch_1 = patch; - -const prerelease = (version, options) => { - const parsed = parse_1(version, options); - return parsed && parsed.prerelease.length ? parsed.prerelease : null; -}; - -var prerelease_1 = prerelease; - -const rcompare = (a, b, loose) => compare_1(b, a, loose); - -var rcompare_1 = rcompare; - -const compareLoose = (a, b) => compare_1(a, b, true); - -var compareLoose_1 = compareLoose; - -const compareBuild = (a, b, loose) => { - const versionA = new semver$1(a, loose); - const versionB = new semver$1(b, loose); - return versionA.compare(versionB) || versionA.compareBuild(versionB); -}; - -var compareBuild_1 = compareBuild; - -const sort = (list, loose) => list.sort((a, b) => compareBuild_1(a, b, loose)); - -var sort_1 = sort; - -const rsort = (list, loose) => list.sort((a, b) => compareBuild_1(b, a, loose)); - -var rsort_1 = rsort; - -const gt = (a, b, loose) => compare_1(a, b, loose) > 0; - -var gt_1 = gt; - -const lt = (a, b, loose) => compare_1(a, b, loose) < 0; - -var lt_1 = lt; - -const neq = (a, b, loose) => compare_1(a, b, loose) !== 0; - -var neq_1 = neq; - -const gte = (a, b, loose) => compare_1(a, b, loose) >= 0; - -var gte_1 = gte; - -const lte = (a, b, loose) => compare_1(a, b, loose) <= 0; - -var lte_1 = lte; - -const cmp = (a, op, b, loose) => { - switch (op) { - case '===': - if (typeof a === 'object') a = a.version; - if (typeof b === 'object') b = b.version; - return a === b; - - case '!==': - if (typeof a === 'object') a = a.version; - if (typeof b === 'object') b = b.version; - return a !== b; - - case '': - case '=': - case '==': - return eq_1(a, b, loose); - - case '!=': - return neq_1(a, b, loose); - - case '>': - return gt_1(a, b, loose); - - case '>=': - return gte_1(a, b, loose); - - case '<': - return lt_1(a, b, loose); - - case '<=': - return lte_1(a, b, loose); - - default: - throw new TypeError(`Invalid operator: ${op}`); - } -}; - -var cmp_1 = cmp; -const { - re: re$2, - t: t$2 -} = re_1; - -const coerce = (version, options) => { - if (version instanceof semver$1) { - return version; - } - - if (typeof version === 'number') { - version = String(version); - } - - if (typeof version !== 'string') { - return null; - } - - options = options || {}; - let match = null; - - if (!options.rtl) { - match = version.match(re$2[t$2.COERCE]); - } else { - let next; - - while ((next = re$2[t$2.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)) { - if (!match || next.index + next[0].length !== match.index + match[0].length) { - match = next; - } - - re$2[t$2.COERCERTL].lastIndex = next.index + next[1].length + next[2].length; - } - - re$2[t$2.COERCERTL].lastIndex = -1; - } - - if (match === null) return null; - return parse_1(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options); -}; - -var coerce_1 = coerce; - -var iterator = function (Yallist) { - Yallist.prototype[Symbol.iterator] = function* () { - for (let walker = this.head; walker; walker = walker.next) { - yield walker.value; - } - }; -}; - -var yallist = Yallist; -Yallist.Node = Node; -Yallist.create = Yallist; - -function Yallist(list) { - var self = this; - - if (!(self instanceof Yallist)) { - self = new Yallist(); - } - - self.tail = null; - self.head = null; - self.length = 0; - - if (list && typeof list.forEach === 'function') { - list.forEach(function (item) { - self.push(item); - }); - } else if (arguments.length > 0) { - for (var i = 0, l = arguments.length; i < l; i++) { - self.push(arguments[i]); - } - } - - return self; -} - -Yallist.prototype.removeNode = function (node) { - if (node.list !== this) { - throw new Error('removing node which does not belong to this list'); - } - - var next = node.next; - var prev = node.prev; - - if (next) { - next.prev = prev; - } - - if (prev) { - prev.next = next; - } - - if (node === this.head) { - this.head = next; - } - - if (node === this.tail) { - this.tail = prev; - } - - node.list.length--; - node.next = null; - node.prev = null; - node.list = null; - return next; -}; - -Yallist.prototype.unshiftNode = function (node) { - if (node === this.head) { - return; - } - - if (node.list) { - node.list.removeNode(node); - } - - var head = this.head; - node.list = this; - node.next = head; - - if (head) { - head.prev = node; - } - - this.head = node; - - if (!this.tail) { - this.tail = node; - } - - this.length++; -}; - -Yallist.prototype.pushNode = function (node) { - if (node === this.tail) { - return; - } - - if (node.list) { - node.list.removeNode(node); - } - - var tail = this.tail; - node.list = this; - node.prev = tail; - - if (tail) { - tail.next = node; - } - - this.tail = node; - - if (!this.head) { - this.head = node; - } - - this.length++; -}; - -Yallist.prototype.push = function () { - for (var i = 0, l = arguments.length; i < l; i++) { - push(this, arguments[i]); - } - - return this.length; -}; - -Yallist.prototype.unshift = function () { - for (var i = 0, l = arguments.length; i < l; i++) { - unshift(this, arguments[i]); - } - - return this.length; -}; - -Yallist.prototype.pop = function () { - if (!this.tail) { - return undefined; - } - - var res = this.tail.value; - this.tail = this.tail.prev; - - if (this.tail) { - this.tail.next = null; - } else { - this.head = null; - } - - this.length--; - return res; -}; - -Yallist.prototype.shift = function () { - if (!this.head) { - return undefined; - } - - var res = this.head.value; - this.head = this.head.next; - - if (this.head) { - this.head.prev = null; - } else { - this.tail = null; - } - - this.length--; - return res; -}; - -Yallist.prototype.forEach = function (fn, thisp) { - thisp = thisp || this; - - for (var walker = this.head, i = 0; walker !== null; i++) { - fn.call(thisp, walker.value, i, this); - walker = walker.next; - } -}; - -Yallist.prototype.forEachReverse = function (fn, thisp) { - thisp = thisp || this; - - for (var walker = this.tail, i = this.length - 1; walker !== null; i--) { - fn.call(thisp, walker.value, i, this); - walker = walker.prev; - } -}; - -Yallist.prototype.get = function (n) { - for (var i = 0, walker = this.head; walker !== null && i < n; i++) { - walker = walker.next; - } - - if (i === n && walker !== null) { - return walker.value; - } -}; - -Yallist.prototype.getReverse = function (n) { - for (var i = 0, walker = this.tail; walker !== null && i < n; i++) { - walker = walker.prev; - } - - if (i === n && walker !== null) { - return walker.value; - } -}; - -Yallist.prototype.map = function (fn, thisp) { - thisp = thisp || this; - var res = new Yallist(); - - for (var walker = this.head; walker !== null;) { - res.push(fn.call(thisp, walker.value, this)); - walker = walker.next; - } - - return res; -}; - -Yallist.prototype.mapReverse = function (fn, thisp) { - thisp = thisp || this; - var res = new Yallist(); - - for (var walker = this.tail; walker !== null;) { - res.push(fn.call(thisp, walker.value, this)); - walker = walker.prev; - } - - return res; -}; - -Yallist.prototype.reduce = function (fn, initial) { - var acc; - var walker = this.head; - - if (arguments.length > 1) { - acc = initial; - } else if (this.head) { - walker = this.head.next; - acc = this.head.value; - } else { - throw new TypeError('Reduce of empty list with no initial value'); - } - - for (var i = 0; walker !== null; i++) { - acc = fn(acc, walker.value, i); - walker = walker.next; - } - - return acc; -}; - -Yallist.prototype.reduceReverse = function (fn, initial) { - var acc; - var walker = this.tail; - - if (arguments.length > 1) { - acc = initial; - } else if (this.tail) { - walker = this.tail.prev; - acc = this.tail.value; - } else { - throw new TypeError('Reduce of empty list with no initial value'); - } - - for (var i = this.length - 1; walker !== null; i--) { - acc = fn(acc, walker.value, i); - walker = walker.prev; - } - - return acc; -}; - -Yallist.prototype.toArray = function () { - var arr = new Array(this.length); - - for (var i = 0, walker = this.head; walker !== null; i++) { - arr[i] = walker.value; - walker = walker.next; - } - - return arr; -}; - -Yallist.prototype.toArrayReverse = function () { - var arr = new Array(this.length); - - for (var i = 0, walker = this.tail; walker !== null; i++) { - arr[i] = walker.value; - walker = walker.prev; - } - - return arr; -}; - -Yallist.prototype.slice = function (from, to) { - to = to || this.length; - - if (to < 0) { - to += this.length; - } - - from = from || 0; - - if (from < 0) { - from += this.length; - } - - var ret = new Yallist(); - - if (to < from || to < 0) { - return ret; - } - - if (from < 0) { - from = 0; - } - - if (to > this.length) { - to = this.length; - } - - for (var i = 0, walker = this.head; walker !== null && i < from; i++) { - walker = walker.next; - } - - for (; walker !== null && i < to; i++, walker = walker.next) { - ret.push(walker.value); - } - - return ret; -}; - -Yallist.prototype.sliceReverse = function (from, to) { - to = to || this.length; - - if (to < 0) { - to += this.length; - } - - from = from || 0; - - if (from < 0) { - from += this.length; - } - - var ret = new Yallist(); - - if (to < from || to < 0) { - return ret; - } - - if (from < 0) { - from = 0; - } - - if (to > this.length) { - to = this.length; - } - - for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) { - walker = walker.prev; - } - - for (; walker !== null && i > from; i--, walker = walker.prev) { - ret.push(walker.value); - } - - return ret; -}; - -Yallist.prototype.splice = function (start, deleteCount, ...nodes) { - if (start > this.length) { - start = this.length - 1; - } - - if (start < 0) { - start = this.length + start; - } - - for (var i = 0, walker = this.head; walker !== null && i < start; i++) { - walker = walker.next; - } - - var ret = []; - - for (var i = 0; walker && i < deleteCount; i++) { - ret.push(walker.value); - walker = this.removeNode(walker); - } - - if (walker === null) { - walker = this.tail; - } - - if (walker !== this.head && walker !== this.tail) { - walker = walker.prev; - } - - for (var i = 0; i < nodes.length; i++) { - walker = insert(this, walker, nodes[i]); - } - - return ret; -}; - -Yallist.prototype.reverse = function () { - var head = this.head; - var tail = this.tail; - - for (var walker = head; walker !== null; walker = walker.prev) { - var p = walker.prev; - walker.prev = walker.next; - walker.next = p; - } - - this.head = tail; - this.tail = head; - return this; -}; - -function insert(self, node, value) { - var inserted = node === self.head ? new Node(value, null, node, self) : new Node(value, node, node.next, self); - - if (inserted.next === null) { - self.tail = inserted; - } - - if (inserted.prev === null) { - self.head = inserted; - } - - self.length++; - return inserted; -} - -function push(self, item) { - self.tail = new Node(item, self.tail, null, self); - - if (!self.head) { - self.head = self.tail; - } - - self.length++; -} - -function unshift(self, item) { - self.head = new Node(item, null, self.head, self); - - if (!self.tail) { - self.tail = self.head; - } - - self.length++; -} - -function Node(value, prev, next, list) { - if (!(this instanceof Node)) { - return new Node(value, prev, next, list); - } - - this.list = list; - this.value = value; - - if (prev) { - prev.next = this; - this.prev = prev; - } else { - this.prev = null; - } - - if (next) { - next.prev = this; - this.next = next; - } else { - this.next = null; - } -} - -try { - iterator(Yallist); -} catch (er) {} - -const MAX = Symbol('max'); -const LENGTH = Symbol('length'); -const LENGTH_CALCULATOR = Symbol('lengthCalculator'); -const ALLOW_STALE = Symbol('allowStale'); -const MAX_AGE = Symbol('maxAge'); -const DISPOSE = Symbol('dispose'); -const NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet'); -const LRU_LIST = Symbol('lruList'); -const CACHE = Symbol('cache'); -const UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet'); - -const naiveLength = () => 1; - -class LRUCache { - constructor(options) { - if (typeof options === 'number') options = { - max: options - }; - if (!options) options = {}; - if (options.max && (typeof options.max !== 'number' || options.max < 0)) throw new TypeError('max must be a non-negative number'); - this[MAX] = options.max || Infinity; - const lc = options.length || naiveLength; - this[LENGTH_CALCULATOR] = typeof lc !== 'function' ? naiveLength : lc; - this[ALLOW_STALE] = options.stale || false; - if (options.maxAge && typeof options.maxAge !== 'number') throw new TypeError('maxAge must be a number'); - this[MAX_AGE] = options.maxAge || 0; - this[DISPOSE] = options.dispose; - this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false; - this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false; - this.reset(); - } - - set max(mL) { - if (typeof mL !== 'number' || mL < 0) throw new TypeError('max must be a non-negative number'); - this[MAX] = mL || Infinity; - trim(this); - } - - get max() { - return this[MAX]; - } - - set allowStale(allowStale) { - this[ALLOW_STALE] = !!allowStale; - } - - get allowStale() { - return this[ALLOW_STALE]; - } - - set maxAge(mA) { - if (typeof mA !== 'number') throw new TypeError('maxAge must be a non-negative number'); - this[MAX_AGE] = mA; - trim(this); - } - - get maxAge() { - return this[MAX_AGE]; - } - - set lengthCalculator(lC) { - if (typeof lC !== 'function') lC = naiveLength; - - if (lC !== this[LENGTH_CALCULATOR]) { - this[LENGTH_CALCULATOR] = lC; - this[LENGTH] = 0; - this[LRU_LIST].forEach(hit => { - hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key); - this[LENGTH] += hit.length; - }); - } - - trim(this); - } - - get lengthCalculator() { - return this[LENGTH_CALCULATOR]; - } - - get length() { - return this[LENGTH]; - } - - get itemCount() { - return this[LRU_LIST].length; - } - - rforEach(fn, thisp) { - thisp = thisp || this; - - for (let walker = this[LRU_LIST].tail; walker !== null;) { - const prev = walker.prev; - forEachStep(this, fn, walker, thisp); - walker = prev; - } - } - - forEach(fn, thisp) { - thisp = thisp || this; - - for (let walker = this[LRU_LIST].head; walker !== null;) { - const next = walker.next; - forEachStep(this, fn, walker, thisp); - walker = next; - } - } - - keys() { - return this[LRU_LIST].toArray().map(k => k.key); - } - - values() { - return this[LRU_LIST].toArray().map(k => k.value); - } - - reset() { - if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) { - this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value)); - } - - this[CACHE] = new Map(); - this[LRU_LIST] = new yallist(); - this[LENGTH] = 0; - } - - dump() { - return this[LRU_LIST].map(hit => isStale(this, hit) ? false : { - k: hit.key, - v: hit.value, - e: hit.now + (hit.maxAge || 0) - }).toArray().filter(h => h); - } - - dumpLru() { - return this[LRU_LIST]; - } - - set(key, value, maxAge) { - maxAge = maxAge || this[MAX_AGE]; - if (maxAge && typeof maxAge !== 'number') throw new TypeError('maxAge must be a number'); - const now = maxAge ? Date.now() : 0; - const len = this[LENGTH_CALCULATOR](value, key); - - if (this[CACHE].has(key)) { - if (len > this[MAX]) { - del(this, this[CACHE].get(key)); - return false; - } - - const node = this[CACHE].get(key); - const item = node.value; - - if (this[DISPOSE]) { - if (!this[NO_DISPOSE_ON_SET]) this[DISPOSE](key, item.value); - } - - item.now = now; - item.maxAge = maxAge; - item.value = value; - this[LENGTH] += len - item.length; - item.length = len; - this.get(key); - trim(this); - return true; - } - - const hit = new Entry(key, value, len, now, maxAge); - - if (hit.length > this[MAX]) { - if (this[DISPOSE]) this[DISPOSE](key, value); - return false; - } - - this[LENGTH] += hit.length; - this[LRU_LIST].unshift(hit); - this[CACHE].set(key, this[LRU_LIST].head); - trim(this); - return true; - } - - has(key) { - if (!this[CACHE].has(key)) return false; - const hit = this[CACHE].get(key).value; - return !isStale(this, hit); - } - - get(key) { - return get(this, key, true); - } - - peek(key) { - return get(this, key, false); - } - - pop() { - const node = this[LRU_LIST].tail; - if (!node) return null; - del(this, node); - return node.value; - } - - del(key) { - del(this, this[CACHE].get(key)); - } - - load(arr) { - this.reset(); - const now = Date.now(); - - for (let l = arr.length - 1; l >= 0; l--) { - const hit = arr[l]; - const expiresAt = hit.e || 0; - if (expiresAt === 0) this.set(hit.k, hit.v);else { - const maxAge = expiresAt - now; - - if (maxAge > 0) { - this.set(hit.k, hit.v, maxAge); - } - } - } - } - - prune() { - this[CACHE].forEach((value, key) => get(this, key, false)); - } - -} - -const get = (self, key, doUse) => { - const node = self[CACHE].get(key); - - if (node) { - const hit = node.value; - - if (isStale(self, hit)) { - del(self, node); - if (!self[ALLOW_STALE]) return undefined; - } else { - if (doUse) { - if (self[UPDATE_AGE_ON_GET]) node.value.now = Date.now(); - self[LRU_LIST].unshiftNode(node); - } - } - - return hit.value; - } -}; - -const isStale = (self, hit) => { - if (!hit || !hit.maxAge && !self[MAX_AGE]) return false; - const diff = Date.now() - hit.now; - return hit.maxAge ? diff > hit.maxAge : self[MAX_AGE] && diff > self[MAX_AGE]; -}; - -const trim = self => { - if (self[LENGTH] > self[MAX]) { - for (let walker = self[LRU_LIST].tail; self[LENGTH] > self[MAX] && walker !== null;) { - const prev = walker.prev; - del(self, walker); - walker = prev; - } - } -}; - -const del = (self, node) => { - if (node) { - const hit = node.value; - if (self[DISPOSE]) self[DISPOSE](hit.key, hit.value); - self[LENGTH] -= hit.length; - self[CACHE].delete(hit.key); - self[LRU_LIST].removeNode(node); - } -}; - -class Entry { - constructor(key, value, length, now, maxAge) { - this.key = key; - this.value = value; - this.length = length; - this.now = now; - this.maxAge = maxAge || 0; - } - -} - -const forEachStep = (self, fn, node, thisp) => { - let hit = node.value; - - if (isStale(self, hit)) { - del(self, node); - if (!self[ALLOW_STALE]) hit = undefined; - } - - if (hit) fn.call(thisp, hit.value, hit.key, self); -}; - -var lruCache = LRUCache; - -class Range { - constructor(range, options) { - options = parseOptions_1(options); - - if (range instanceof Range) { - if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) { - return range; - } else { - return new Range(range.raw, options); - } - } - - if (range instanceof comparator) { - this.raw = range.value; - this.set = [[range]]; - this.format(); - return this; - } - - this.options = options; - this.loose = !!options.loose; - this.includePrerelease = !!options.includePrerelease; - this.raw = range; - this.set = range.split(/\s*\|\|\s*/).map(range => this.parseRange(range.trim())).filter(c => c.length); - - if (!this.set.length) { - throw new TypeError(`Invalid SemVer Range: ${range}`); - } - - if (this.set.length > 1) { - const first = this.set[0]; - this.set = this.set.filter(c => !isNullSet(c[0])); - if (this.set.length === 0) this.set = [first];else if (this.set.length > 1) { - for (const c of this.set) { - if (c.length === 1 && isAny(c[0])) { - this.set = [c]; - break; - } - } - } - } - - this.format(); - } - - format() { - this.range = this.set.map(comps => { - return comps.join(' ').trim(); - }).join('||').trim(); - return this.range; - } - - toString() { - return this.range; - } - - parseRange(range) { - range = range.trim(); - const memoOpts = Object.keys(this.options).join(','); - const memoKey = `parseRange:${memoOpts}:${range}`; - const cached = cache.get(memoKey); - if (cached) return cached; - const loose = this.options.loose; - const hr = loose ? re$1[t$1.HYPHENRANGELOOSE] : re$1[t$1.HYPHENRANGE]; - range = range.replace(hr, hyphenReplace(this.options.includePrerelease)); - debug_1('hyphen replace', range); - range = range.replace(re$1[t$1.COMPARATORTRIM], comparatorTrimReplace); - debug_1('comparator trim', range, re$1[t$1.COMPARATORTRIM]); - range = range.replace(re$1[t$1.TILDETRIM], tildeTrimReplace); - range = range.replace(re$1[t$1.CARETTRIM], caretTrimReplace); - range = range.split(/\s+/).join(' '); - const compRe = loose ? re$1[t$1.COMPARATORLOOSE] : re$1[t$1.COMPARATOR]; - const rangeList = range.split(' ').map(comp => parseComparator(comp, this.options)).join(' ').split(/\s+/).map(comp => replaceGTE0(comp, this.options)).filter(this.options.loose ? comp => !!comp.match(compRe) : () => true).map(comp => new comparator(comp, this.options)); - rangeList.length; - const rangeMap = new Map(); - - for (const comp of rangeList) { - if (isNullSet(comp)) return [comp]; - rangeMap.set(comp.value, comp); - } - - if (rangeMap.size > 1 && rangeMap.has('')) rangeMap.delete(''); - const result = [...rangeMap.values()]; - cache.set(memoKey, result); - return result; - } - - intersects(range, options) { - if (!(range instanceof Range)) { - throw new TypeError('a Range is required'); - } - - return this.set.some(thisComparators => { - return isSatisfiable(thisComparators, options) && range.set.some(rangeComparators => { - return isSatisfiable(rangeComparators, options) && thisComparators.every(thisComparator => { - return rangeComparators.every(rangeComparator => { - return thisComparator.intersects(rangeComparator, options); - }); - }); - }); - }); - } - - test(version) { - if (!version) { - return false; - } - - if (typeof version === 'string') { - try { - version = new semver$1(version, this.options); - } catch (er) { - return false; - } - } - - for (let i = 0; i < this.set.length; i++) { - if (testSet(this.set[i], version, this.options)) { - return true; - } - } - - return false; - } - -} - -var range = Range; -const cache = new lruCache({ - max: 1000 -}); -const { - re: re$1, - t: t$1, - comparatorTrimReplace, - tildeTrimReplace, - caretTrimReplace -} = re_1; - -const isNullSet = c => c.value === '<0.0.0-0'; - -const isAny = c => c.value === ''; - -const isSatisfiable = (comparators, options) => { - let result = true; - const remainingComparators = comparators.slice(); - let testComparator = remainingComparators.pop(); - - while (result && remainingComparators.length) { - result = remainingComparators.every(otherComparator => { - return testComparator.intersects(otherComparator, options); - }); - testComparator = remainingComparators.pop(); - } - - return result; -}; - -const parseComparator = (comp, options) => { - debug_1('comp', comp, options); - comp = replaceCarets(comp, options); - debug_1('caret', comp); - comp = replaceTildes(comp, options); - debug_1('tildes', comp); - comp = replaceXRanges(comp, options); - debug_1('xrange', comp); - comp = replaceStars(comp, options); - debug_1('stars', comp); - return comp; -}; - -const isX = id => !id || id.toLowerCase() === 'x' || id === '*'; - -const replaceTildes = (comp, options) => comp.trim().split(/\s+/).map(comp => { - return replaceTilde(comp, options); -}).join(' '); - -const replaceTilde = (comp, options) => { - const r = options.loose ? re$1[t$1.TILDELOOSE] : re$1[t$1.TILDE]; - return comp.replace(r, (_, M, m, p, pr) => { - debug_1('tilde', comp, _, M, m, p, pr); - let ret; - - if (isX(M)) { - ret = ''; - } else if (isX(m)) { - ret = `>=${M}.0.0 <${+M + 1}.0.0-0`; - } else if (isX(p)) { - ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`; - } else if (pr) { - debug_1('replaceTilde pr', pr); - ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; - } else { - ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`; - } - - debug_1('tilde return', ret); - return ret; - }); -}; - -const replaceCarets = (comp, options) => comp.trim().split(/\s+/).map(comp => { - return replaceCaret(comp, options); -}).join(' '); - -const replaceCaret = (comp, options) => { - debug_1('caret', comp, options); - const r = options.loose ? re$1[t$1.CARETLOOSE] : re$1[t$1.CARET]; - const z = options.includePrerelease ? '-0' : ''; - return comp.replace(r, (_, M, m, p, pr) => { - debug_1('caret', comp, _, M, m, p, pr); - let ret; - - if (isX(M)) { - ret = ''; - } else if (isX(m)) { - ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`; - } else if (isX(p)) { - if (M === '0') { - ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`; - } else { - ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`; - } - } else if (pr) { - debug_1('replaceCaret pr', pr); - - if (M === '0') { - if (m === '0') { - ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`; - } else { - ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; - } - } else { - ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`; - } - } else { - debug_1('no pr'); - - if (M === '0') { - if (m === '0') { - ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`; - } else { - ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`; - } - } else { - ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`; - } - } - - debug_1('caret return', ret); - return ret; - }); -}; - -const replaceXRanges = (comp, options) => { - debug_1('replaceXRanges', comp, options); - return comp.split(/\s+/).map(comp => { - return replaceXRange(comp, options); - }).join(' '); -}; - -const replaceXRange = (comp, options) => { - comp = comp.trim(); - const r = options.loose ? re$1[t$1.XRANGELOOSE] : re$1[t$1.XRANGE]; - return comp.replace(r, (ret, gtlt, M, m, p, pr) => { - debug_1('xRange', comp, ret, gtlt, M, m, p, pr); - const xM = isX(M); - const xm = xM || isX(m); - const xp = xm || isX(p); - const anyX = xp; - - if (gtlt === '=' && anyX) { - gtlt = ''; - } - - pr = options.includePrerelease ? '-0' : ''; - - if (xM) { - if (gtlt === '>' || gtlt === '<') { - ret = '<0.0.0-0'; - } else { - ret = '*'; - } - } else if (gtlt && anyX) { - if (xm) { - m = 0; - } - - p = 0; - - if (gtlt === '>') { - gtlt = '>='; - - if (xm) { - M = +M + 1; - m = 0; - p = 0; - } else { - m = +m + 1; - p = 0; - } - } else if (gtlt === '<=') { - gtlt = '<'; - - if (xm) { - M = +M + 1; - } else { - m = +m + 1; - } - } - - if (gtlt === '<') pr = '-0'; - ret = `${gtlt + M}.${m}.${p}${pr}`; - } else if (xm) { - ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`; - } else if (xp) { - ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`; - } - - debug_1('xRange return', ret); - return ret; - }); -}; - -const replaceStars = (comp, options) => { - debug_1('replaceStars', comp, options); - return comp.trim().replace(re$1[t$1.STAR], ''); -}; - -const replaceGTE0 = (comp, options) => { - debug_1('replaceGTE0', comp, options); - return comp.trim().replace(re$1[options.includePrerelease ? t$1.GTE0PRE : t$1.GTE0], ''); -}; - -const hyphenReplace = incPr => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => { - if (isX(fM)) { - from = ''; - } else if (isX(fm)) { - from = `>=${fM}.0.0${incPr ? '-0' : ''}`; - } else if (isX(fp)) { - from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`; - } else if (fpr) { - from = `>=${from}`; - } else { - from = `>=${from}${incPr ? '-0' : ''}`; - } - - if (isX(tM)) { - to = ''; - } else if (isX(tm)) { - to = `<${+tM + 1}.0.0-0`; - } else if (isX(tp)) { - to = `<${tM}.${+tm + 1}.0-0`; - } else if (tpr) { - to = `<=${tM}.${tm}.${tp}-${tpr}`; - } else if (incPr) { - to = `<${tM}.${tm}.${+tp + 1}-0`; - } else { - to = `<=${to}`; - } - - return `${from} ${to}`.trim(); -}; - -const testSet = (set, version, options) => { - for (let i = 0; i < set.length; i++) { - if (!set[i].test(version)) { - return false; - } - } - - if (version.prerelease.length && !options.includePrerelease) { - for (let i = 0; i < set.length; i++) { - debug_1(set[i].semver); - - if (set[i].semver === comparator.ANY) { - continue; - } - - if (set[i].semver.prerelease.length > 0) { - const allowed = set[i].semver; - - if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) { - return true; - } - } - } - - return false; - } - - return true; -}; - -const ANY$2 = Symbol('SemVer ANY'); - -class Comparator { - static get ANY() { - return ANY$2; - } - - constructor(comp, options) { - options = parseOptions_1(options); - - if (comp instanceof Comparator) { - if (comp.loose === !!options.loose) { - return comp; - } else { - comp = comp.value; - } - } - - debug_1('comparator', comp, options); - this.options = options; - this.loose = !!options.loose; - this.parse(comp); - - if (this.semver === ANY$2) { - this.value = ''; - } else { - this.value = this.operator + this.semver.version; - } - - debug_1('comp', this); - } - - parse(comp) { - const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]; - const m = comp.match(r); - - if (!m) { - throw new TypeError(`Invalid comparator: ${comp}`); - } - - this.operator = m[1] !== undefined ? m[1] : ''; - - if (this.operator === '=') { - this.operator = ''; - } - - if (!m[2]) { - this.semver = ANY$2; - } else { - this.semver = new semver$1(m[2], this.options.loose); - } - } - - toString() { - return this.value; - } - - test(version) { - debug_1('Comparator.test', version, this.options.loose); - - if (this.semver === ANY$2 || version === ANY$2) { - return true; - } - - if (typeof version === 'string') { - try { - version = new semver$1(version, this.options); - } catch (er) { - return false; - } - } - - return cmp_1(version, this.operator, this.semver, this.options); - } - - intersects(comp, options) { - if (!(comp instanceof Comparator)) { - throw new TypeError('a Comparator is required'); - } - - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - }; - } - - if (this.operator === '') { - if (this.value === '') { - return true; - } - - return new range(comp.value, options).test(this.value); - } else if (comp.operator === '') { - if (comp.value === '') { - return true; - } - - return new range(this.value, options).test(comp.semver); - } - - const sameDirectionIncreasing = (this.operator === '>=' || this.operator === '>') && (comp.operator === '>=' || comp.operator === '>'); - const sameDirectionDecreasing = (this.operator === '<=' || this.operator === '<') && (comp.operator === '<=' || comp.operator === '<'); - const sameSemVer = this.semver.version === comp.semver.version; - const differentDirectionsInclusive = (this.operator === '>=' || this.operator === '<=') && (comp.operator === '>=' || comp.operator === '<='); - const oppositeDirectionsLessThan = cmp_1(this.semver, '<', comp.semver, options) && (this.operator === '>=' || this.operator === '>') && (comp.operator === '<=' || comp.operator === '<'); - const oppositeDirectionsGreaterThan = cmp_1(this.semver, '>', comp.semver, options) && (this.operator === '<=' || this.operator === '<') && (comp.operator === '>=' || comp.operator === '>'); - return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan; - } - -} - -var comparator = Comparator; -const { - re, - t -} = re_1; - -const satisfies = (version, range$1, options) => { - try { - range$1 = new range(range$1, options); - } catch (er) { - return false; - } - - return range$1.test(version); -}; - -var satisfies_1 = satisfies; - -const toComparators = (range$1, options) => new range(range$1, options).set.map(comp => comp.map(c => c.value).join(' ').trim().split(' ')); - -var toComparators_1 = toComparators; - -const maxSatisfying = (versions, range$1, options) => { - let max = null; - let maxSV = null; - let rangeObj = null; - - try { - rangeObj = new range(range$1, options); - } catch (er) { - return null; - } - - versions.forEach(v => { - if (rangeObj.test(v)) { - if (!max || maxSV.compare(v) === -1) { - max = v; - maxSV = new semver$1(max, options); - } - } - }); - return max; -}; - -var maxSatisfying_1 = maxSatisfying; - -const minSatisfying = (versions, range$1, options) => { - let min = null; - let minSV = null; - let rangeObj = null; - - try { - rangeObj = new range(range$1, options); - } catch (er) { - return null; - } - - versions.forEach(v => { - if (rangeObj.test(v)) { - if (!min || minSV.compare(v) === 1) { - min = v; - minSV = new semver$1(min, options); - } - } - }); - return min; -}; - -var minSatisfying_1 = minSatisfying; - -const minVersion = (range$1, loose) => { - range$1 = new range(range$1, loose); - let minver = new semver$1('0.0.0'); - - if (range$1.test(minver)) { - return minver; - } - - minver = new semver$1('0.0.0-0'); - - if (range$1.test(minver)) { - return minver; - } - - minver = null; - - for (let i = 0; i < range$1.set.length; ++i) { - const comparators = range$1.set[i]; - let setMin = null; - comparators.forEach(comparator => { - const compver = new semver$1(comparator.semver.version); - - switch (comparator.operator) { - case '>': - if (compver.prerelease.length === 0) { - compver.patch++; - } else { - compver.prerelease.push(0); - } - - compver.raw = compver.format(); - - case '': - case '>=': - if (!setMin || gt_1(compver, setMin)) { - setMin = compver; - } - - break; - - case '<': - case '<=': - break; - - default: - throw new Error(`Unexpected operation: ${comparator.operator}`); - } - }); - if (setMin && (!minver || gt_1(minver, setMin))) minver = setMin; - } - - if (minver && range$1.test(minver)) { - return minver; - } - - return null; -}; - -var minVersion_1 = minVersion; - -const validRange = (range$1, options) => { - try { - return new range(range$1, options).range || '*'; - } catch (er) { - return null; - } -}; - -var valid = validRange; -const { - ANY: ANY$1 -} = comparator; - -const outside = (version, range$1, hilo, options) => { - version = new semver$1(version, options); - range$1 = new range(range$1, options); - let gtfn, ltefn, ltfn, comp, ecomp; - - switch (hilo) { - case '>': - gtfn = gt_1; - ltefn = lte_1; - ltfn = lt_1; - comp = '>'; - ecomp = '>='; - break; - - case '<': - gtfn = lt_1; - ltefn = gte_1; - ltfn = gt_1; - comp = '<'; - ecomp = '<='; - break; - - default: - throw new TypeError('Must provide a hilo val of "<" or ">"'); - } - - if (satisfies_1(version, range$1, options)) { - return false; - } - - for (let i = 0; i < range$1.set.length; ++i) { - const comparators = range$1.set[i]; - let high = null; - let low = null; - comparators.forEach(comparator$1 => { - if (comparator$1.semver === ANY$1) { - comparator$1 = new comparator('>=0.0.0'); - } - - high = high || comparator$1; - low = low || comparator$1; - - if (gtfn(comparator$1.semver, high.semver, options)) { - high = comparator$1; - } else if (ltfn(comparator$1.semver, low.semver, options)) { - low = comparator$1; - } - }); - - if (high.operator === comp || high.operator === ecomp) { - return false; - } - - if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) { - return false; - } else if (low.operator === ecomp && ltfn(version, low.semver)) { - return false; - } - } - - return true; -}; - -var outside_1 = outside; - -const gtr = (version, range, options) => outside_1(version, range, '>', options); - -var gtr_1 = gtr; - -const ltr = (version, range, options) => outside_1(version, range, '<', options); - -var ltr_1 = ltr; - -const intersects = (r1, r2, options) => { - r1 = new range(r1, options); - r2 = new range(r2, options); - return r1.intersects(r2); -}; - -var intersects_1 = intersects; - -var simplify = (versions, range, options) => { - const set = []; - let min = null; - let prev = null; - const v = versions.sort((a, b) => compare_1(a, b, options)); - - for (const version of v) { - const included = satisfies_1(version, range, options); - - if (included) { - prev = version; - if (!min) min = version; - } else { - if (prev) { - set.push([min, prev]); - } - - prev = null; - min = null; - } - } - - if (min) set.push([min, null]); - const ranges = []; - - for (const [min, max] of set) { - if (min === max) ranges.push(min);else if (!max && min === v[0]) ranges.push('*');else if (!max) ranges.push(`>=${min}`);else if (min === v[0]) ranges.push(`<=${max}`);else ranges.push(`${min} - ${max}`); - } - - const simplified = ranges.join(' || '); - const original = typeof range.raw === 'string' ? range.raw : String(range); - return simplified.length < original.length ? simplified : range; -}; - -const { - ANY -} = comparator; - -const subset = (sub, dom, options = {}) => { - if (sub === dom) return true; - sub = new range(sub, options); - dom = new range(dom, options); - let sawNonNull = false; - - OUTER: for (const simpleSub of sub.set) { - for (const simpleDom of dom.set) { - const isSub = simpleSubset(simpleSub, simpleDom, options); - sawNonNull = sawNonNull || isSub !== null; - if (isSub) continue OUTER; - } - - if (sawNonNull) return false; - } - - return true; -}; - -const simpleSubset = (sub, dom, options) => { - if (sub === dom) return true; - - if (sub.length === 1 && sub[0].semver === ANY) { - if (dom.length === 1 && dom[0].semver === ANY) return true;else if (options.includePrerelease) sub = [new comparator('>=0.0.0-0')];else sub = [new comparator('>=0.0.0')]; - } - - if (dom.length === 1 && dom[0].semver === ANY) { - if (options.includePrerelease) return true;else dom = [new comparator('>=0.0.0')]; - } - - const eqSet = new Set(); - let gt, lt; - - for (const c of sub) { - if (c.operator === '>' || c.operator === '>=') gt = higherGT(gt, c, options);else if (c.operator === '<' || c.operator === '<=') lt = lowerLT(lt, c, options);else eqSet.add(c.semver); - } - - if (eqSet.size > 1) return null; - let gtltComp; - - if (gt && lt) { - gtltComp = compare_1(gt.semver, lt.semver, options); - if (gtltComp > 0) return null;else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) return null; - } - - for (const eq of eqSet) { - if (gt && !satisfies_1(eq, String(gt), options)) return null; - if (lt && !satisfies_1(eq, String(lt), options)) return null; - - for (const c of dom) { - if (!satisfies_1(eq, String(c), options)) return false; - } - - return true; - } - - let higher, lower; - let hasDomLT, hasDomGT; - let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false; - let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false; - - if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === '<' && needDomLTPre.prerelease[0] === 0) { - needDomLTPre = false; - } - - for (const c of dom) { - hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='; - hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='; - - if (gt) { - if (needDomGTPre) { - if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) { - needDomGTPre = false; - } - } - - if (c.operator === '>' || c.operator === '>=') { - higher = higherGT(gt, c, options); - if (higher === c && higher !== gt) return false; - } else if (gt.operator === '>=' && !satisfies_1(gt.semver, String(c), options)) return false; - } - - if (lt) { - if (needDomLTPre) { - if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) { - needDomLTPre = false; - } - } - - if (c.operator === '<' || c.operator === '<=') { - lower = lowerLT(lt, c, options); - if (lower === c && lower !== lt) return false; - } else if (lt.operator === '<=' && !satisfies_1(lt.semver, String(c), options)) return false; - } - - if (!c.operator && (lt || gt) && gtltComp !== 0) return false; - } - - if (gt && hasDomLT && !lt && gtltComp !== 0) return false; - if (lt && hasDomGT && !gt && gtltComp !== 0) return false; - if (needDomGTPre || needDomLTPre) return false; - return true; -}; - -const higherGT = (a, b, options) => { - if (!a) return b; - const comp = compare_1(a.semver, b.semver, options); - return comp > 0 ? a : comp < 0 ? b : b.operator === '>' && a.operator === '>=' ? b : a; -}; - -const lowerLT = (a, b, options) => { - if (!a) return b; - const comp = compare_1(a.semver, b.semver, options); - return comp < 0 ? a : comp > 0 ? b : b.operator === '<' && a.operator === '<=' ? b : a; -}; - -var subset_1 = subset; -var semver = { - re: re_1.re, - src: re_1.src, - tokens: re_1.t, - SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION, - SemVer: semver$1, - compareIdentifiers: identifiers.compareIdentifiers, - rcompareIdentifiers: identifiers.rcompareIdentifiers, - parse: parse_1, - valid: valid_1, - clean: clean_1, - inc: inc_1, - diff: diff_1, - major: major_1, - minor: minor_1, - patch: patch_1, - prerelease: prerelease_1, - compare: compare_1, - rcompare: rcompare_1, - compareLoose: compareLoose_1, - compareBuild: compareBuild_1, - sort: sort_1, - rsort: rsort_1, - gt: gt_1, - lt: lt_1, - eq: eq_1, - neq: neq_1, - gte: gte_1, - lte: lte_1, - cmp: cmp_1, - coerce: coerce_1, - Comparator: comparator, - Range: range, - satisfies: satisfies_1, - toComparators: toComparators_1, - maxSatisfying: maxSatisfying_1, - minSatisfying: minSatisfying_1, - minVersion: minVersion_1, - validRange: valid, - outside: outside_1, - gtr: gtr_1, - ltr: ltr_1, - intersects: intersects_1, - simplifyRange: simplify, - subset: subset_1 -}; - -var builtins = function ({ - version = process.version, - experimental = false -} = {}) { - var coreModules = ['assert', 'buffer', 'child_process', 'cluster', 'console', 'constants', 'crypto', 'dgram', 'dns', 'domain', 'events', 'fs', 'http', 'https', 'module', 'net', 'os', 'path', 'punycode', 'querystring', 'readline', 'repl', 'stream', 'string_decoder', 'sys', 'timers', 'tls', 'tty', 'url', 'util', 'vm', 'zlib']; - if (semver.lt(version, '6.0.0')) coreModules.push('freelist'); - if (semver.gte(version, '1.0.0')) coreModules.push('v8'); - if (semver.gte(version, '1.1.0')) coreModules.push('process'); - if (semver.gte(version, '8.0.0')) coreModules.push('inspector'); - if (semver.gte(version, '8.1.0')) coreModules.push('async_hooks'); - if (semver.gte(version, '8.4.0')) coreModules.push('http2'); - if (semver.gte(version, '8.5.0')) coreModules.push('perf_hooks'); - if (semver.gte(version, '10.0.0')) coreModules.push('trace_events'); - - if (semver.gte(version, '10.5.0') && (experimental || semver.gte(version, '12.0.0'))) { - coreModules.push('worker_threads'); - } - - if (semver.gte(version, '12.16.0') && experimental) { - coreModules.push('wasi'); - } - - return coreModules; -}; - -const reader = { - read -}; - -function read(jsonPath) { - return find(_path().dirname(jsonPath)); -} - -function find(dir) { - try { - const string = _fs().default.readFileSync(_path().toNamespacedPath(_path().join(dir, 'package.json')), 'utf8'); - - return { - string - }; - } catch (error) { - if (error.code === 'ENOENT') { - const parent = _path().dirname(dir); - - if (dir !== parent) return find(parent); - return { - string: undefined - }; - } - - throw error; - } -} - -const isWindows = process.platform === 'win32'; -const own$1 = {}.hasOwnProperty; -const codes = {}; -const messages = new Map(); -const nodeInternalPrefix = '__node_internal_'; -let userStackTraceLimit; -codes.ERR_INVALID_MODULE_SPECIFIER = createError('ERR_INVALID_MODULE_SPECIFIER', (request, reason, base = undefined) => { - return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ''}`; -}, TypeError); -codes.ERR_INVALID_PACKAGE_CONFIG = createError('ERR_INVALID_PACKAGE_CONFIG', (path, base, message) => { - return `Invalid package config ${path}${base ? ` while importing ${base}` : ''}${message ? `. ${message}` : ''}`; -}, Error); -codes.ERR_INVALID_PACKAGE_TARGET = createError('ERR_INVALID_PACKAGE_TARGET', (pkgPath, key, target, isImport = false, base = undefined) => { - const relError = typeof target === 'string' && !isImport && target.length > 0 && !target.startsWith('./'); - - if (key === '.') { - _assert()(isImport === false); - - return `Invalid "exports" main target ${JSON.stringify(target)} defined ` + `in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ''}${relError ? '; targets must start with "./"' : ''}`; - } - - return `Invalid "${isImport ? 'imports' : 'exports'}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ''}${relError ? '; targets must start with "./"' : ''}`; -}, Error); -codes.ERR_MODULE_NOT_FOUND = createError('ERR_MODULE_NOT_FOUND', (path, base, type = 'package') => { - return `Cannot find ${type} '${path}' imported from ${base}`; -}, Error); -codes.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError('ERR_PACKAGE_IMPORT_NOT_DEFINED', (specifier, packagePath, base) => { - return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath}package.json` : ''} imported from ${base}`; -}, TypeError); -codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError('ERR_PACKAGE_PATH_NOT_EXPORTED', (pkgPath, subpath, base = undefined) => { - if (subpath === '.') return `No "exports" main defined in ${pkgPath}package.json${base ? ` imported from ${base}` : ''}`; - return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base ? ` imported from ${base}` : ''}`; -}, Error); -codes.ERR_UNSUPPORTED_DIR_IMPORT = createError('ERR_UNSUPPORTED_DIR_IMPORT', "Directory import '%s' is not supported " + 'resolving ES modules imported from %s', Error); -codes.ERR_UNKNOWN_FILE_EXTENSION = createError('ERR_UNKNOWN_FILE_EXTENSION', 'Unknown file extension "%s" for %s', TypeError); -codes.ERR_INVALID_ARG_VALUE = createError('ERR_INVALID_ARG_VALUE', (name, value, reason = 'is invalid') => { - let inspected = (0, _util().inspect)(value); - - if (inspected.length > 128) { - inspected = `${inspected.slice(0, 128)}...`; - } - - const type = name.includes('.') ? 'property' : 'argument'; - return `The ${type} '${name}' ${reason}. Received ${inspected}`; -}, TypeError); -codes.ERR_UNSUPPORTED_ESM_URL_SCHEME = createError('ERR_UNSUPPORTED_ESM_URL_SCHEME', url => { - let message = 'Only file and data URLs are supported by the default ESM loader'; - - if (isWindows && url.protocol.length === 2) { - message += '. On Windows, absolute paths must be valid file:// URLs'; - } - - message += `. Received protocol '${url.protocol}'`; - return message; -}, Error); - -function createError(sym, value, def) { - messages.set(sym, value); - return makeNodeErrorWithCode(def, sym); -} - -function makeNodeErrorWithCode(Base, key) { - return NodeError; - - function NodeError(...args) { - const limit = Error.stackTraceLimit; - if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = 0; - const error = new Base(); - if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit; - const message = getMessage(key, args, error); - Object.defineProperty(error, 'message', { - value: message, - enumerable: false, - writable: true, - configurable: true - }); - Object.defineProperty(error, 'toString', { - value() { - return `${this.name} [${key}]: ${this.message}`; - }, - - enumerable: false, - writable: true, - configurable: true - }); - addCodeToName(error, Base.name, key); - error.code = key; - return error; - } -} - -const addCodeToName = hideStackFrames(function (error, name, code) { - error = captureLargerStackTrace(error); - error.name = `${name} [${code}]`; - error.stack; - - if (name === 'SystemError') { - Object.defineProperty(error, 'name', { - value: name, - enumerable: false, - writable: true, - configurable: true - }); - } else { - delete error.name; - } -}); - -function isErrorStackTraceLimitWritable() { - const desc = Object.getOwnPropertyDescriptor(Error, 'stackTraceLimit'); - - if (desc === undefined) { - return Object.isExtensible(Error); - } - - return own$1.call(desc, 'writable') ? desc.writable : desc.set !== undefined; -} - -function hideStackFrames(fn) { - const hidden = nodeInternalPrefix + fn.name; - Object.defineProperty(fn, 'name', { - value: hidden - }); - return fn; -} - -const captureLargerStackTrace = hideStackFrames(function (error) { - const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable(); - - if (stackTraceLimitIsWritable) { - userStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = Number.POSITIVE_INFINITY; - } - - Error.captureStackTrace(error); - if (stackTraceLimitIsWritable) Error.stackTraceLimit = userStackTraceLimit; - return error; -}); - -function getMessage(key, args, self) { - const message = messages.get(key); - - if (typeof message === 'function') { - _assert()(message.length <= args.length, `Code: ${key}; The provided arguments length (${args.length}) does not ` + `match the required ones (${message.length}).`); - - return Reflect.apply(message, self, args); - } - - const expectedLength = (message.match(/%[dfijoOs]/g) || []).length; - - _assert()(expectedLength === args.length, `Code: ${key}; The provided arguments length (${args.length}) does not ` + `match the required ones (${expectedLength}).`); - - if (args.length === 0) return message; - args.unshift(message); - return Reflect.apply(_util().format, null, args); -} - -const { - ERR_UNKNOWN_FILE_EXTENSION -} = codes; -const extensionFormatMap = { - __proto__: null, - '.cjs': 'commonjs', - '.js': 'module', - '.mjs': 'module' -}; - -function defaultGetFormat(url) { - if (url.startsWith('node:')) { - return { - format: 'builtin' - }; - } - - const parsed = new (_url().URL)(url); - - if (parsed.protocol === 'data:') { - const { - 1: mime - } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(parsed.pathname) || [null, null]; - const format = mime === 'text/javascript' ? 'module' : null; - return { - format - }; - } - - if (parsed.protocol === 'file:') { - const ext = _path().extname(parsed.pathname); - - let format; - - if (ext === '.js') { - format = getPackageType(parsed.href) === 'module' ? 'module' : 'commonjs'; - } else { - format = extensionFormatMap[ext]; - } - - if (!format) { - throw new ERR_UNKNOWN_FILE_EXTENSION(ext, (0, _url().fileURLToPath)(url)); - } - - return { - format: format || null - }; - } - - return { - format: null - }; -} - -const listOfBuiltins = builtins(); -const { - ERR_INVALID_MODULE_SPECIFIER, - ERR_INVALID_PACKAGE_CONFIG, - ERR_INVALID_PACKAGE_TARGET, - ERR_MODULE_NOT_FOUND, - ERR_PACKAGE_IMPORT_NOT_DEFINED, - ERR_PACKAGE_PATH_NOT_EXPORTED, - ERR_UNSUPPORTED_DIR_IMPORT, - ERR_UNSUPPORTED_ESM_URL_SCHEME, - ERR_INVALID_ARG_VALUE -} = codes; -const own = {}.hasOwnProperty; -const DEFAULT_CONDITIONS = Object.freeze(['node', 'import']); -const DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS); -const invalidSegmentRegEx = /(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/; -const patternRegEx = /\*/g; -const encodedSepRegEx = /%2f|%2c/i; -const emittedPackageWarnings = new Set(); -const packageJsonCache = new Map(); - -function emitFolderMapDeprecation(match, pjsonUrl, isExports, base) { - const pjsonPath = (0, _url().fileURLToPath)(pjsonUrl); - if (emittedPackageWarnings.has(pjsonPath + '|' + match)) return; - emittedPackageWarnings.add(pjsonPath + '|' + match); - process.emitWarning(`Use of deprecated folder mapping "${match}" in the ${isExports ? '"exports"' : '"imports"'} field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ''}.\n` + `Update this package.json to use a subpath pattern like "${match}*".`, 'DeprecationWarning', 'DEP0148'); -} - -function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) { - const { - format - } = defaultGetFormat(url.href); - if (format !== 'module') return; - const path = (0, _url().fileURLToPath)(url.href); - const pkgPath = (0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)); - const basePath = (0, _url().fileURLToPath)(base); - if (main) process.emitWarning(`Package ${pkgPath} has a "main" field set to ${JSON.stringify(main)}, ` + `excluding the full filename and extension to the resolved file at "${path.slice(pkgPath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is` + 'deprecated for ES modules.', 'DeprecationWarning', 'DEP0151');else process.emitWarning(`No "main" or "exports" field defined in the package.json for ${pkgPath} resolving the main entry point "${path.slice(pkgPath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, 'DeprecationWarning', 'DEP0151'); -} - -function getConditionsSet(conditions) { - if (conditions !== undefined && conditions !== DEFAULT_CONDITIONS) { - if (!Array.isArray(conditions)) { - throw new ERR_INVALID_ARG_VALUE('conditions', conditions, 'expected an array'); - } - - return new Set(conditions); - } - - return DEFAULT_CONDITIONS_SET; -} - -function tryStatSync(path) { - try { - return (0, _fs().statSync)(path); - } catch (_unused) { - return new (_fs().Stats)(); - } -} - -function getPackageConfig(path, specifier, base) { - const existing = packageJsonCache.get(path); - - if (existing !== undefined) { - return existing; - } - - const source = reader.read(path).string; - - if (source === undefined) { - const packageConfig = { - pjsonPath: path, - exists: false, - main: undefined, - name: undefined, - type: 'none', - exports: undefined, - imports: undefined - }; - packageJsonCache.set(path, packageConfig); - return packageConfig; - } - - let packageJson; - - try { - packageJson = JSON.parse(source); - } catch (error) { - throw new ERR_INVALID_PACKAGE_CONFIG(path, (base ? `"${specifier}" from ` : '') + (0, _url().fileURLToPath)(base || specifier), error.message); - } - - const { - exports, - imports, - main, - name, - type - } = packageJson; - const packageConfig = { - pjsonPath: path, - exists: true, - main: typeof main === 'string' ? main : undefined, - name: typeof name === 'string' ? name : undefined, - type: type === 'module' || type === 'commonjs' ? type : 'none', - exports, - imports: imports && typeof imports === 'object' ? imports : undefined - }; - packageJsonCache.set(path, packageConfig); - return packageConfig; -} - -function getPackageScopeConfig(resolved) { - let packageJsonUrl = new (_url().URL)('./package.json', resolved); - - while (true) { - const packageJsonPath = packageJsonUrl.pathname; - if (packageJsonPath.endsWith('node_modules/package.json')) break; - const packageConfig = getPackageConfig((0, _url().fileURLToPath)(packageJsonUrl), resolved); - if (packageConfig.exists) return packageConfig; - const lastPackageJsonUrl = packageJsonUrl; - packageJsonUrl = new (_url().URL)('../package.json', packageJsonUrl); - if (packageJsonUrl.pathname === lastPackageJsonUrl.pathname) break; - } - - const packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl); - const packageConfig = { - pjsonPath: packageJsonPath, - exists: false, - main: undefined, - name: undefined, - type: 'none', - exports: undefined, - imports: undefined - }; - packageJsonCache.set(packageJsonPath, packageConfig); - return packageConfig; -} - -function fileExists(url) { - return tryStatSync((0, _url().fileURLToPath)(url)).isFile(); -} - -function legacyMainResolve(packageJsonUrl, packageConfig, base) { - let guess; - - if (packageConfig.main !== undefined) { - guess = new (_url().URL)(`./${packageConfig.main}`, packageJsonUrl); - if (fileExists(guess)) return guess; - const tries = [`./${packageConfig.main}.js`, `./${packageConfig.main}.json`, `./${packageConfig.main}.node`, `./${packageConfig.main}/index.js`, `./${packageConfig.main}/index.json`, `./${packageConfig.main}/index.node`]; - let i = -1; - - while (++i < tries.length) { - guess = new (_url().URL)(tries[i], packageJsonUrl); - if (fileExists(guess)) break; - guess = undefined; - } - - if (guess) { - emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main); - return guess; - } - } - - const tries = ['./index.js', './index.json', './index.node']; - let i = -1; - - while (++i < tries.length) { - guess = new (_url().URL)(tries[i], packageJsonUrl); - if (fileExists(guess)) break; - guess = undefined; - } - - if (guess) { - emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main); - return guess; - } - - throw new ERR_MODULE_NOT_FOUND((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), (0, _url().fileURLToPath)(base)); -} - -function finalizeResolution(resolved, base) { - if (encodedSepRegEx.test(resolved.pathname)) throw new ERR_INVALID_MODULE_SPECIFIER(resolved.pathname, 'must not include encoded "/" or "\\" characters', (0, _url().fileURLToPath)(base)); - const path = (0, _url().fileURLToPath)(resolved); - const stats = tryStatSync(path.endsWith('/') ? path.slice(-1) : path); - - if (stats.isDirectory()) { - const error = new ERR_UNSUPPORTED_DIR_IMPORT(path, (0, _url().fileURLToPath)(base)); - error.url = String(resolved); - throw error; - } - - if (!stats.isFile()) { - throw new ERR_MODULE_NOT_FOUND(path || resolved.pathname, base && (0, _url().fileURLToPath)(base), 'module'); - } - - return resolved; -} - -function throwImportNotDefined(specifier, packageJsonUrl, base) { - throw new ERR_PACKAGE_IMPORT_NOT_DEFINED(specifier, packageJsonUrl && (0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), (0, _url().fileURLToPath)(base)); -} - -function throwExportsNotFound(subpath, packageJsonUrl, base) { - throw new ERR_PACKAGE_PATH_NOT_EXPORTED((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), subpath, base && (0, _url().fileURLToPath)(base)); -} - -function throwInvalidSubpath(subpath, packageJsonUrl, internal, base) { - const reason = `request is not a valid subpath for the "${internal ? 'imports' : 'exports'}" resolution of ${(0, _url().fileURLToPath)(packageJsonUrl)}`; - throw new ERR_INVALID_MODULE_SPECIFIER(subpath, reason, base && (0, _url().fileURLToPath)(base)); -} - -function throwInvalidPackageTarget(subpath, target, packageJsonUrl, internal, base) { - target = typeof target === 'object' && target !== null ? JSON.stringify(target, null, '') : `${target}`; - throw new ERR_INVALID_PACKAGE_TARGET((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), subpath, target, internal, base && (0, _url().fileURLToPath)(base)); -} - -function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base, pattern, internal, conditions) { - if (subpath !== '' && !pattern && target[target.length - 1] !== '/') throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base); - - if (!target.startsWith('./')) { - if (internal && !target.startsWith('../') && !target.startsWith('/')) { - let isURL = false; - - try { - new (_url().URL)(target); - isURL = true; - } catch (_unused2) {} - - if (!isURL) { - const exportTarget = pattern ? target.replace(patternRegEx, subpath) : target + subpath; - return packageResolve(exportTarget, packageJsonUrl, conditions); - } - } - - throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base); - } - - if (invalidSegmentRegEx.test(target.slice(2))) throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base); - const resolved = new (_url().URL)(target, packageJsonUrl); - const resolvedPath = resolved.pathname; - const packagePath = new (_url().URL)('.', packageJsonUrl).pathname; - if (!resolvedPath.startsWith(packagePath)) throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base); - if (subpath === '') return resolved; - if (invalidSegmentRegEx.test(subpath)) throwInvalidSubpath(match + subpath, packageJsonUrl, internal, base); - if (pattern) return new (_url().URL)(resolved.href.replace(patternRegEx, subpath)); - return new (_url().URL)(subpath, resolved); -} - -function isArrayIndex(key) { - const keyNumber = Number(key); - if (`${keyNumber}` !== key) return false; - return keyNumber >= 0 && keyNumber < 0xffffffff; -} - -function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, base, pattern, internal, conditions) { - if (typeof target === 'string') { - return resolvePackageTargetString(target, subpath, packageSubpath, packageJsonUrl, base, pattern, internal, conditions); - } - - if (Array.isArray(target)) { - const targetList = target; - if (targetList.length === 0) return null; - let lastException; - let i = -1; - - while (++i < targetList.length) { - const targetItem = targetList[i]; - let resolved; - - try { - resolved = resolvePackageTarget(packageJsonUrl, targetItem, subpath, packageSubpath, base, pattern, internal, conditions); - } catch (error) { - lastException = error; - if (error.code === 'ERR_INVALID_PACKAGE_TARGET') continue; - throw error; - } - - if (resolved === undefined) continue; - - if (resolved === null) { - lastException = null; - continue; - } - - return resolved; - } - - if (lastException === undefined || lastException === null) { - return lastException; - } - - throw lastException; - } - - if (typeof target === 'object' && target !== null) { - const keys = Object.getOwnPropertyNames(target); - let i = -1; - - while (++i < keys.length) { - const key = keys[i]; - - if (isArrayIndex(key)) { - throw new ERR_INVALID_PACKAGE_CONFIG((0, _url().fileURLToPath)(packageJsonUrl), base, '"exports" cannot contain numeric property keys.'); - } - } - - i = -1; - - while (++i < keys.length) { - const key = keys[i]; - - if (key === 'default' || conditions && conditions.has(key)) { - const conditionalTarget = target[key]; - const resolved = resolvePackageTarget(packageJsonUrl, conditionalTarget, subpath, packageSubpath, base, pattern, internal, conditions); - if (resolved === undefined) continue; - return resolved; - } - } - - return undefined; - } - - if (target === null) { - return null; - } - - throwInvalidPackageTarget(packageSubpath, target, packageJsonUrl, internal, base); -} - -function isConditionalExportsMainSugar(exports, packageJsonUrl, base) { - if (typeof exports === 'string' || Array.isArray(exports)) return true; - if (typeof exports !== 'object' || exports === null) return false; - const keys = Object.getOwnPropertyNames(exports); - let isConditionalSugar = false; - let i = 0; - let j = -1; - - while (++j < keys.length) { - const key = keys[j]; - const curIsConditionalSugar = key === '' || key[0] !== '.'; - - if (i++ === 0) { - isConditionalSugar = curIsConditionalSugar; - } else if (isConditionalSugar !== curIsConditionalSugar) { - throw new ERR_INVALID_PACKAGE_CONFIG((0, _url().fileURLToPath)(packageJsonUrl), base, '"exports" cannot contain some keys starting with \'.\' and some not.' + ' The exports object must either be an object of package subpath keys' + ' or an object of main entry condition name keys only.'); - } - } - - return isConditionalSugar; -} - -function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) { - let exports = packageConfig.exports; - if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) exports = { - '.': exports - }; - - if (own.call(exports, packageSubpath)) { - const target = exports[packageSubpath]; - const resolved = resolvePackageTarget(packageJsonUrl, target, '', packageSubpath, base, false, false, conditions); - if (resolved === null || resolved === undefined) throwExportsNotFound(packageSubpath, packageJsonUrl, base); - return { - resolved, - exact: true - }; - } - - let bestMatch = ''; - const keys = Object.getOwnPropertyNames(exports); - let i = -1; - - while (++i < keys.length) { - const key = keys[i]; - - if (key[key.length - 1] === '*' && packageSubpath.startsWith(key.slice(0, -1)) && packageSubpath.length >= key.length && key.length > bestMatch.length) { - bestMatch = key; - } else if (key[key.length - 1] === '/' && packageSubpath.startsWith(key) && key.length > bestMatch.length) { - bestMatch = key; - } - } - - if (bestMatch) { - const target = exports[bestMatch]; - const pattern = bestMatch[bestMatch.length - 1] === '*'; - const subpath = packageSubpath.slice(bestMatch.length - (pattern ? 1 : 0)); - const resolved = resolvePackageTarget(packageJsonUrl, target, subpath, bestMatch, base, pattern, false, conditions); - if (resolved === null || resolved === undefined) throwExportsNotFound(packageSubpath, packageJsonUrl, base); - if (!pattern) emitFolderMapDeprecation(bestMatch, packageJsonUrl, true, base); - return { - resolved, - exact: pattern - }; - } - - throwExportsNotFound(packageSubpath, packageJsonUrl, base); -} - -function packageImportsResolve(name, base, conditions) { - if (name === '#' || name.startsWith('#/')) { - const reason = 'is not a valid internal imports specifier name'; - throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, (0, _url().fileURLToPath)(base)); - } - - let packageJsonUrl; - const packageConfig = getPackageScopeConfig(base); - - if (packageConfig.exists) { - packageJsonUrl = (0, _url().pathToFileURL)(packageConfig.pjsonPath); - const imports = packageConfig.imports; - - if (imports) { - if (own.call(imports, name)) { - const resolved = resolvePackageTarget(packageJsonUrl, imports[name], '', name, base, false, true, conditions); - if (resolved !== null) return { - resolved, - exact: true - }; - } else { - let bestMatch = ''; - const keys = Object.getOwnPropertyNames(imports); - let i = -1; - - while (++i < keys.length) { - const key = keys[i]; - - if (key[key.length - 1] === '*' && name.startsWith(key.slice(0, -1)) && name.length >= key.length && key.length > bestMatch.length) { - bestMatch = key; - } else if (key[key.length - 1] === '/' && name.startsWith(key) && key.length > bestMatch.length) { - bestMatch = key; - } - } - - if (bestMatch) { - const target = imports[bestMatch]; - const pattern = bestMatch[bestMatch.length - 1] === '*'; - const subpath = name.slice(bestMatch.length - (pattern ? 1 : 0)); - const resolved = resolvePackageTarget(packageJsonUrl, target, subpath, bestMatch, base, pattern, true, conditions); - - if (resolved !== null) { - if (!pattern) emitFolderMapDeprecation(bestMatch, packageJsonUrl, false, base); - return { - resolved, - exact: pattern - }; - } - } - } - } - } - - throwImportNotDefined(name, packageJsonUrl, base); -} - -function getPackageType(url) { - const packageConfig = getPackageScopeConfig(url); - return packageConfig.type; -} - -function parsePackageName(specifier, base) { - let separatorIndex = specifier.indexOf('/'); - let validPackageName = true; - let isScoped = false; - - if (specifier[0] === '@') { - isScoped = true; - - if (separatorIndex === -1 || specifier.length === 0) { - validPackageName = false; - } else { - separatorIndex = specifier.indexOf('/', separatorIndex + 1); - } - } - - const packageName = separatorIndex === -1 ? specifier : specifier.slice(0, separatorIndex); - let i = -1; - - while (++i < packageName.length) { - if (packageName[i] === '%' || packageName[i] === '\\') { - validPackageName = false; - break; - } - } - - if (!validPackageName) { - throw new ERR_INVALID_MODULE_SPECIFIER(specifier, 'is not a valid package name', (0, _url().fileURLToPath)(base)); - } - - const packageSubpath = '.' + (separatorIndex === -1 ? '' : specifier.slice(separatorIndex)); - return { - packageName, - packageSubpath, - isScoped - }; -} - -function packageResolve(specifier, base, conditions) { - const { - packageName, - packageSubpath, - isScoped - } = parsePackageName(specifier, base); - const packageConfig = getPackageScopeConfig(base); - - if (packageConfig.exists) { - const packageJsonUrl = (0, _url().pathToFileURL)(packageConfig.pjsonPath); - - if (packageConfig.name === packageName && packageConfig.exports !== undefined && packageConfig.exports !== null) { - return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions).resolved; - } - } - - let packageJsonUrl = new (_url().URL)('./node_modules/' + packageName + '/package.json', base); - let packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl); - let lastPath; - - do { - const stat = tryStatSync(packageJsonPath.slice(0, -13)); - - if (!stat.isDirectory()) { - lastPath = packageJsonPath; - packageJsonUrl = new (_url().URL)((isScoped ? '../../../../node_modules/' : '../../../node_modules/') + packageName + '/package.json', packageJsonUrl); - packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl); - continue; - } - - const packageConfig = getPackageConfig(packageJsonPath, specifier, base); - if (packageConfig.exports !== undefined && packageConfig.exports !== null) return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions).resolved; - if (packageSubpath === '.') return legacyMainResolve(packageJsonUrl, packageConfig, base); - return new (_url().URL)(packageSubpath, packageJsonUrl); - } while (packageJsonPath.length !== lastPath.length); - - throw new ERR_MODULE_NOT_FOUND(packageName, (0, _url().fileURLToPath)(base)); -} - -function isRelativeSpecifier(specifier) { - if (specifier[0] === '.') { - if (specifier.length === 1 || specifier[1] === '/') return true; - - if (specifier[1] === '.' && (specifier.length === 2 || specifier[2] === '/')) { - return true; - } - } - - return false; -} - -function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) { - if (specifier === '') return false; - if (specifier[0] === '/') return true; - return isRelativeSpecifier(specifier); -} - -function moduleResolve(specifier, base, conditions) { - let resolved; - - if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) { - resolved = new (_url().URL)(specifier, base); - } else if (specifier[0] === '#') { - ({ - resolved - } = packageImportsResolve(specifier, base, conditions)); - } else { - try { - resolved = new (_url().URL)(specifier); - } catch (_unused3) { - resolved = packageResolve(specifier, base, conditions); - } - } - - return finalizeResolution(resolved, base); -} - -function defaultResolve(specifier, context = {}) { - const { - parentURL - } = context; - let parsed; - - try { - parsed = new (_url().URL)(specifier); - - if (parsed.protocol === 'data:') { - return { - url: specifier - }; - } - } catch (_unused4) {} - - if (parsed && parsed.protocol === 'node:') return { - url: specifier - }; - if (parsed && parsed.protocol !== 'file:' && parsed.protocol !== 'data:') throw new ERR_UNSUPPORTED_ESM_URL_SCHEME(parsed); - - if (listOfBuiltins.includes(specifier)) { - return { - url: 'node:' + specifier - }; - } - - if (parentURL.startsWith('data:')) { - new (_url().URL)(specifier, parentURL); - } - - const conditions = getConditionsSet(context.conditions); - let url = moduleResolve(specifier, new (_url().URL)(parentURL), conditions); - const urlPath = (0, _url().fileURLToPath)(url); - const real = (0, _fs().realpathSync)(urlPath); - const old = url; - url = (0, _url().pathToFileURL)(real + (urlPath.endsWith(_path().sep) ? '/' : '')); - url.search = old.search; - url.hash = old.hash; - return { - url: `${url}` - }; -} - -function resolve(_x, _x2) { - return _resolve.apply(this, arguments); -} - -function _resolve() { - _resolve = _asyncToGenerator(function* (specifier, parent) { - if (!parent) { - throw new Error('Please pass `parent`: `import-meta-resolve` cannot ponyfill that'); - } - - try { - return defaultResolve(specifier, { - parentURL: parent - }).url; - } catch (error) { - return error.code === 'ERR_UNSUPPORTED_DIR_IMPORT' ? error.url : Promise.reject(error); - } - }); - return _resolve.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/.bin/json5 b/node_modules/@babel/core/node_modules/.bin/json5 deleted file mode 120000 index ea74765..0000000 --- a/node_modules/@babel/core/node_modules/.bin/json5 +++ /dev/null @@ -1 +0,0 @@ -../../../../json5/lib/cli.js \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/.bin/parser b/node_modules/@babel/core/node_modules/.bin/parser deleted file mode 120000 index 97a06c3..0000000 --- a/node_modules/@babel/core/node_modules/.bin/parser +++ /dev/null @@ -1 +0,0 @@ -../../../parser/bin/babel-parser.js \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/.bin/semver b/node_modules/@babel/core/node_modules/.bin/semver deleted file mode 120000 index 501bb2f..0000000 --- a/node_modules/@babel/core/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../../../../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/@babel/core/package.json b/node_modules/@babel/core/package.json deleted file mode 100644 index d53250d..0000000 --- a/node_modules/@babel/core/package.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "name": "@babel/core", - "version": "7.17.2", - "description": "Babel compiler core.", - "main": "./lib/index.js", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-core" - }, - "homepage": "https://babel.dev/docs/en/next/babel-core", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen", - "keywords": [ - "6to5", - "babel", - "classes", - "const", - "es6", - "harmony", - "let", - "modules", - "transpile", - "transpiler", - "var", - "babel-core", - "compiler" - ], - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - }, - "browser": { - "./lib/config/files/index.js": "./lib/config/files/index-browser.js", - "./lib/config/resolve-targets.js": "./lib/config/resolve-targets-browser.js", - "./lib/transform-file.js": "./lib/transform-file-browser.js", - "./lib/transformation/util/clone-deep.js": "./lib/transformation/util/clone-deep-browser.js", - "./src/config/files/index.ts": "./src/config/files/index-browser.ts", - "./src/config/resolve-targets.ts": "./src/config/resolve-targets-browser.ts", - "./src/transform-file.ts": "./src/transform-file-browser.ts", - "./src/transformation/util/clone-deep.ts": "./src/transformation/util/clone-deep-browser.ts" - }, - "dependencies": { - "@ampproject/remapping": "^2.0.0", - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.17.0", - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helpers": "^7.17.2", - "@babel/parser": "^7.17.0", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.17.0", - "@babel/types": "^7.17.0", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0" - }, - "devDependencies": { - "@babel/helper-transform-fixture-test-runner": "^7.16.7", - "@babel/plugin-transform-modules-commonjs": "^7.16.8", - "@types/convert-source-map": "^1.5.1", - "@types/debug": "^4.1.0", - "@types/resolve": "^1.3.2", - "@types/semver": "^5.4.0", - "@types/source-map": "^0.5.0", - "source-map": "0.6.1" - } -} \ No newline at end of file diff --git a/node_modules/@babel/core/src/config/files/index-browser.ts b/node_modules/@babel/core/src/config/files/index-browser.ts deleted file mode 100644 index ac615d9..0000000 --- a/node_modules/@babel/core/src/config/files/index-browser.ts +++ /dev/null @@ -1,109 +0,0 @@ -import type { Handler } from "gensync"; - -import type { - ConfigFile, - IgnoreFile, - RelativeConfig, - FilePackageData, -} from "./types"; - -import type { CallerMetadata } from "../validation/options"; - -export type { ConfigFile, IgnoreFile, RelativeConfig, FilePackageData }; - -export function findConfigUpwards( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - rootDir: string, -): string | null { - return null; -} - -// eslint-disable-next-line require-yield -export function* findPackageData(filepath: string): Handler { - return { - filepath, - directories: [], - pkg: null, - isPackage: false, - }; -} - -// eslint-disable-next-line require-yield -export function* findRelativeConfig( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - pkgData: FilePackageData, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - envName: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | void, -): Handler { - return { config: null, ignore: null }; -} - -// eslint-disable-next-line require-yield -export function* findRootConfig( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - dirname: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - envName: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | void, -): Handler { - return null; -} - -// eslint-disable-next-line require-yield -export function* loadConfig( - name: string, - dirname: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - envName: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | void, -): Handler { - throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`); -} - -// eslint-disable-next-line require-yield -export function* resolveShowConfigPath( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - dirname: string, -): Handler { - return null; -} - -export const ROOT_CONFIG_FILENAMES = []; - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -export function resolvePlugin(name: string, dirname: string): string | null { - return null; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -export function resolvePreset(name: string, dirname: string): string | null { - return null; -} - -export function loadPlugin( - name: string, - dirname: string, -): Handler<{ - filepath: string; - value: unknown; -}> { - throw new Error( - `Cannot load plugin ${name} relative to ${dirname} in a browser`, - ); -} - -export function loadPreset( - name: string, - dirname: string, -): Handler<{ - filepath: string; - value: unknown; -}> { - throw new Error( - `Cannot load preset ${name} relative to ${dirname} in a browser`, - ); -} diff --git a/node_modules/@babel/core/src/config/files/index.ts b/node_modules/@babel/core/src/config/files/index.ts deleted file mode 100644 index 31e8560..0000000 --- a/node_modules/@babel/core/src/config/files/index.ts +++ /dev/null @@ -1,30 +0,0 @@ -type indexBrowserType = typeof import("./index-browser"); -type indexType = typeof import("./index"); - -// Kind of gross, but essentially asserting that the exports of this module are the same as the -// exports of index-browser, since this file may be replaced at bundle time with index-browser. -({} as any as indexBrowserType as indexType); - -export { findPackageData } from "./package"; - -export { - findConfigUpwards, - findRelativeConfig, - findRootConfig, - loadConfig, - resolveShowConfigPath, - ROOT_CONFIG_FILENAMES, -} from "./configuration"; -export type { - ConfigFile, - IgnoreFile, - RelativeConfig, - FilePackageData, -} from "./types"; -export { loadPlugin, loadPreset } from "./plugins"; - -import gensync from "gensync"; -import * as plugins from "./plugins"; - -export const resolvePlugin = gensync(plugins.resolvePlugin).sync; -export const resolvePreset = gensync(plugins.resolvePreset).sync; diff --git a/node_modules/@babel/core/src/config/resolve-targets-browser.ts b/node_modules/@babel/core/src/config/resolve-targets-browser.ts deleted file mode 100644 index 2d91c92..0000000 --- a/node_modules/@babel/core/src/config/resolve-targets-browser.ts +++ /dev/null @@ -1,33 +0,0 @@ -import type { ValidatedOptions } from "./validation/options"; -import getTargets from "@babel/helper-compilation-targets"; - -import type { Targets } from "@babel/helper-compilation-targets"; - -export function resolveBrowserslistConfigFile( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - browserslistConfigFile: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - configFilePath: string, -): string | void { - return undefined; -} - -export function resolveTargets( - options: ValidatedOptions, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - root: string, -): Targets { - // todo(flow->ts) remove any and refactor to not assign different types into same variable - let targets: any = options.targets; - if (typeof targets === "string" || Array.isArray(targets)) { - targets = { browsers: targets }; - } - if (targets && targets.esmodules) { - targets = { ...targets, esmodules: "intersect" }; - } - - return getTargets(targets, { - ignoreBrowserslistConfig: true, - browserslistEnv: options.browserslistEnv, - }); -} diff --git a/node_modules/@babel/core/src/config/resolve-targets.ts b/node_modules/@babel/core/src/config/resolve-targets.ts deleted file mode 100644 index 90a443e..0000000 --- a/node_modules/@babel/core/src/config/resolve-targets.ts +++ /dev/null @@ -1,49 +0,0 @@ -type browserType = typeof import("./resolve-targets-browser"); -type nodeType = typeof import("./resolve-targets"); - -// Kind of gross, but essentially asserting that the exports of this module are the same as the -// exports of index-browser, since this file may be replaced at bundle time with index-browser. -({} as any as browserType as nodeType); - -import type { ValidatedOptions } from "./validation/options"; -import path from "path"; -import getTargets from "@babel/helper-compilation-targets"; - -import type { Targets } from "@babel/helper-compilation-targets"; - -export function resolveBrowserslistConfigFile( - browserslistConfigFile: string, - configFileDir: string, -): string | undefined { - return path.resolve(configFileDir, browserslistConfigFile); -} - -export function resolveTargets( - options: ValidatedOptions, - root: string, -): Targets { - // todo(flow->ts) remove any and refactor to not assign different types into same variable - let targets: any = options.targets; - if (typeof targets === "string" || Array.isArray(targets)) { - targets = { browsers: targets }; - } - if (targets && targets.esmodules) { - targets = { ...targets, esmodules: "intersect" }; - } - - const { browserslistConfigFile } = options; - let configFile; - let ignoreBrowserslistConfig = false; - if (typeof browserslistConfigFile === "string") { - configFile = browserslistConfigFile; - } else { - ignoreBrowserslistConfig = browserslistConfigFile === false; - } - - return getTargets(targets, { - ignoreBrowserslistConfig, - configFile, - configPath: root, - browserslistEnv: options.browserslistEnv, - }); -} diff --git a/node_modules/@babel/core/src/transform-file-browser.ts b/node_modules/@babel/core/src/transform-file-browser.ts deleted file mode 100644 index 1adbcd6..0000000 --- a/node_modules/@babel/core/src/transform-file-browser.ts +++ /dev/null @@ -1,27 +0,0 @@ -// duplicated from transform-file so we do not have to import anything here -type TransformFile = { - (filename: string, callback: Function): void; - (filename: string, opts: any, callback: Function): void; -}; - -export const transformFile: TransformFile = function transformFile( - filename, - opts, - callback?, -) { - if (typeof opts === "function") { - callback = opts; - } - - callback(new Error("Transforming files is not supported in browsers"), null); -}; - -export function transformFileSync(): never { - throw new Error("Transforming files is not supported in browsers"); -} - -export function transformFileAsync() { - return Promise.reject( - new Error("Transforming files is not supported in browsers"), - ); -} diff --git a/node_modules/@babel/core/src/transform-file.ts b/node_modules/@babel/core/src/transform-file.ts deleted file mode 100644 index 4be0e16..0000000 --- a/node_modules/@babel/core/src/transform-file.ts +++ /dev/null @@ -1,40 +0,0 @@ -import gensync from "gensync"; - -import loadConfig from "./config"; -import type { InputOptions, ResolvedConfig } from "./config"; -import { run } from "./transformation"; -import type { FileResult, FileResultCallback } from "./transformation"; -import * as fs from "./gensync-utils/fs"; - -type transformFileBrowserType = typeof import("./transform-file-browser"); -type transformFileType = typeof import("./transform-file"); - -// Kind of gross, but essentially asserting that the exports of this module are the same as the -// exports of transform-file-browser, since this file may be replaced at bundle time with -// transform-file-browser. -({} as any as transformFileBrowserType as transformFileType); - -type TransformFile = { - (filename: string, callback: FileResultCallback): void; - ( - filename: string, - opts: InputOptions | undefined | null, - callback: FileResultCallback, - ): void; -}; - -const transformFileRunner = gensync< - (filename: string, opts?: InputOptions) => FileResult | null ->(function* (filename, opts: InputOptions) { - const options = { ...opts, filename }; - - const config: ResolvedConfig | null = yield* loadConfig(options); - if (config === null) return null; - - const code = yield* fs.readFile(filename, "utf8"); - return yield* run(config, code); -}); - -export const transformFile = transformFileRunner.errback as TransformFile; -export const transformFileSync = transformFileRunner.sync; -export const transformFileAsync = transformFileRunner.async; diff --git a/node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts b/node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts deleted file mode 100644 index 78ae53e..0000000 --- a/node_modules/@babel/core/src/transformation/util/clone-deep-browser.ts +++ /dev/null @@ -1,19 +0,0 @@ -const serialized = "$$ babel internal serialized type" + Math.random(); - -function serialize(key, value) { - if (typeof value !== "bigint") return value; - return { - [serialized]: "BigInt", - value: value.toString(), - }; -} - -function revive(key, value) { - if (!value || typeof value !== "object") return value; - if (value[serialized] !== "BigInt") return value; - return BigInt(value.value); -} - -export default function (value) { - return JSON.parse(JSON.stringify(value, serialize), revive); -} diff --git a/node_modules/@babel/core/src/transformation/util/clone-deep.ts b/node_modules/@babel/core/src/transformation/util/clone-deep.ts deleted file mode 100644 index cc077ce..0000000 --- a/node_modules/@babel/core/src/transformation/util/clone-deep.ts +++ /dev/null @@ -1,9 +0,0 @@ -import v8 from "v8"; -import cloneDeep from "./clone-deep-browser"; - -export default function (value) { - if (v8.deserialize && v8.serialize) { - return v8.deserialize(v8.serialize(value)); - } - return cloneDeep(value); -} diff --git a/node_modules/@babel/generator/LICENSE b/node_modules/@babel/generator/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/generator/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/generator/README.md b/node_modules/@babel/generator/README.md deleted file mode 100644 index b760238..0000000 --- a/node_modules/@babel/generator/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/generator - -> Turns an AST into code. - -See our website [@babel/generator](https://babeljs.io/docs/en/babel-generator) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen) associated with this package. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/generator -``` - -or using yarn: - -```sh -yarn add @babel/generator --dev -``` diff --git a/node_modules/@babel/generator/lib/buffer.js b/node_modules/@babel/generator/lib/buffer.js deleted file mode 100644 index 1445813..0000000 --- a/node_modules/@babel/generator/lib/buffer.js +++ /dev/null @@ -1,265 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -const SPACES_RE = /^[ \t]+$/; - -class Buffer { - constructor(map) { - this._map = null; - this._buf = ""; - this._last = 0; - this._queue = []; - this._position = { - line: 1, - column: 0 - }; - this._sourcePosition = { - identifierName: null, - line: null, - column: null, - filename: null - }; - this._disallowedPop = null; - this._map = map; - } - - get() { - this._flush(); - - const map = this._map; - const result = { - code: this._buf.trimRight(), - map: null, - rawMappings: map == null ? void 0 : map.getRawMappings() - }; - - if (map) { - Object.defineProperty(result, "map", { - configurable: true, - enumerable: true, - - get() { - return this.map = map.get(); - }, - - set(value) { - Object.defineProperty(this, "map", { - value, - writable: true - }); - } - - }); - } - - return result; - } - - append(str) { - this._flush(); - - const { - line, - column, - filename, - identifierName, - force - } = this._sourcePosition; - - this._append(str, line, column, identifierName, filename, force); - } - - queue(str) { - if (str === "\n") { - while (this._queue.length > 0 && SPACES_RE.test(this._queue[0][0])) { - this._queue.shift(); - } - } - - const { - line, - column, - filename, - identifierName, - force - } = this._sourcePosition; - - this._queue.unshift([str, line, column, identifierName, filename, force]); - } - - _flush() { - let item; - - while (item = this._queue.pop()) { - this._append(...item); - } - } - - _append(str, line, column, identifierName, filename, force) { - this._buf += str; - this._last = str.charCodeAt(str.length - 1); - let i = str.indexOf("\n"); - let last = 0; - - if (i !== 0) { - this._mark(line, column, identifierName, filename, force); - } - - while (i !== -1) { - this._position.line++; - this._position.column = 0; - last = i + 1; - - if (last < str.length) { - this._mark(++line, 0, identifierName, filename, force); - } - - i = str.indexOf("\n", last); - } - - this._position.column += str.length - last; - } - - _mark(line, column, identifierName, filename, force) { - var _this$_map; - - (_this$_map = this._map) == null ? void 0 : _this$_map.mark(this._position.line, this._position.column, line, column, identifierName, filename, force); - } - - removeTrailingNewline() { - if (this._queue.length > 0 && this._queue[0][0] === "\n") { - this._queue.shift(); - } - } - - removeLastSemicolon() { - if (this._queue.length > 0 && this._queue[0][0] === ";") { - this._queue.shift(); - } - } - - getLastChar() { - let last; - - if (this._queue.length > 0) { - const str = this._queue[0][0]; - last = str.charCodeAt(0); - } else { - last = this._last; - } - - return last; - } - - endsWithCharAndNewline() { - const queue = this._queue; - - if (queue.length > 0) { - const last = queue[0][0]; - const lastCp = last.charCodeAt(0); - if (lastCp !== 10) return; - - if (queue.length > 1) { - const secondLast = queue[1][0]; - return secondLast.charCodeAt(0); - } else { - return this._last; - } - } - } - - hasContent() { - return this._queue.length > 0 || !!this._last; - } - - exactSource(loc, cb) { - this.source("start", loc, true); - cb(); - this.source("end", loc); - - this._disallowPop("start", loc); - } - - source(prop, loc, force) { - if (prop && !loc) return; - - this._normalizePosition(prop, loc, this._sourcePosition, force); - } - - withSource(prop, loc, cb) { - if (!this._map) return cb(); - const originalLine = this._sourcePosition.line; - const originalColumn = this._sourcePosition.column; - const originalFilename = this._sourcePosition.filename; - const originalIdentifierName = this._sourcePosition.identifierName; - this.source(prop, loc); - cb(); - - if ((!this._sourcePosition.force || this._sourcePosition.line !== originalLine || this._sourcePosition.column !== originalColumn || this._sourcePosition.filename !== originalFilename) && (!this._disallowedPop || this._disallowedPop.line !== originalLine || this._disallowedPop.column !== originalColumn || this._disallowedPop.filename !== originalFilename)) { - this._sourcePosition.line = originalLine; - this._sourcePosition.column = originalColumn; - this._sourcePosition.filename = originalFilename; - this._sourcePosition.identifierName = originalIdentifierName; - this._sourcePosition.force = false; - this._disallowedPop = null; - } - } - - _disallowPop(prop, loc) { - if (prop && !loc) return; - this._disallowedPop = this._normalizePosition(prop, loc); - } - - _normalizePosition(prop, loc, targetObj, force) { - const pos = loc ? loc[prop] : null; - - if (targetObj === undefined) { - targetObj = { - identifierName: null, - line: null, - column: null, - filename: null, - force: false - }; - } - - const origLine = targetObj.line; - const origColumn = targetObj.column; - const origFilename = targetObj.filename; - targetObj.identifierName = prop === "start" && (loc == null ? void 0 : loc.identifierName) || null; - targetObj.line = pos == null ? void 0 : pos.line; - targetObj.column = pos == null ? void 0 : pos.column; - targetObj.filename = loc == null ? void 0 : loc.filename; - - if (force || targetObj.line !== origLine || targetObj.column !== origColumn || targetObj.filename !== origFilename) { - targetObj.force = force; - } - - return targetObj; - } - - getCurrentColumn() { - const extra = this._queue.reduce((acc, item) => item[0] + acc, ""); - - const lastIndex = extra.lastIndexOf("\n"); - return lastIndex === -1 ? this._position.column + extra.length : extra.length - 1 - lastIndex; - } - - getCurrentLine() { - const extra = this._queue.reduce((acc, item) => item[0] + acc, ""); - - let count = 0; - - for (let i = 0; i < extra.length; i++) { - if (extra[i] === "\n") count++; - } - - return this._position.line + count; - } - -} - -exports.default = Buffer; \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/base.js b/node_modules/@babel/generator/lib/generators/base.js deleted file mode 100644 index be9285c..0000000 --- a/node_modules/@babel/generator/lib/generators/base.js +++ /dev/null @@ -1,96 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.BlockStatement = BlockStatement; -exports.Directive = Directive; -exports.DirectiveLiteral = DirectiveLiteral; -exports.File = File; -exports.InterpreterDirective = InterpreterDirective; -exports.Placeholder = Placeholder; -exports.Program = Program; - -function File(node) { - if (node.program) { - this.print(node.program.interpreter, node); - } - - this.print(node.program, node); -} - -function Program(node) { - this.printInnerComments(node, false); - this.printSequence(node.directives, node); - if (node.directives && node.directives.length) this.newline(); - this.printSequence(node.body, node); -} - -function BlockStatement(node) { - var _node$directives; - - this.token("{"); - this.printInnerComments(node); - const hasDirectives = (_node$directives = node.directives) == null ? void 0 : _node$directives.length; - - if (node.body.length || hasDirectives) { - this.newline(); - this.printSequence(node.directives, node, { - indent: true - }); - if (hasDirectives) this.newline(); - this.printSequence(node.body, node, { - indent: true - }); - this.removeTrailingNewline(); - this.source("end", node.loc); - if (!this.endsWith(10)) this.newline(); - this.rightBrace(); - } else { - this.source("end", node.loc); - this.token("}"); - } -} - -function Directive(node) { - this.print(node.value, node); - this.semicolon(); -} - -const unescapedSingleQuoteRE = /(?:^|[^\\])(?:\\\\)*'/; -const unescapedDoubleQuoteRE = /(?:^|[^\\])(?:\\\\)*"/; - -function DirectiveLiteral(node) { - const raw = this.getPossibleRaw(node); - - if (!this.format.minified && raw != null) { - this.token(raw); - return; - } - - const { - value - } = node; - - if (!unescapedDoubleQuoteRE.test(value)) { - this.token(`"${value}"`); - } else if (!unescapedSingleQuoteRE.test(value)) { - this.token(`'${value}'`); - } else { - throw new Error("Malformed AST: it is not possible to print a directive containing" + " both unescaped single and double quotes."); - } -} - -function InterpreterDirective(node) { - this.token(`#!${node.value}\n`); -} - -function Placeholder(node) { - this.token("%%"); - this.print(node.name); - this.token("%%"); - - if (node.expectedNode === "Statement") { - this.semicolon(); - } -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/classes.js b/node_modules/@babel/generator/lib/generators/classes.js deleted file mode 100644 index 141dfda..0000000 --- a/node_modules/@babel/generator/lib/generators/classes.js +++ /dev/null @@ -1,213 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ClassAccessorProperty = ClassAccessorProperty; -exports.ClassBody = ClassBody; -exports.ClassExpression = exports.ClassDeclaration = ClassDeclaration; -exports.ClassMethod = ClassMethod; -exports.ClassPrivateMethod = ClassPrivateMethod; -exports.ClassPrivateProperty = ClassPrivateProperty; -exports.ClassProperty = ClassProperty; -exports.StaticBlock = StaticBlock; -exports._classMethodHead = _classMethodHead; - -var _t = require("@babel/types"); - -const { - isExportDefaultDeclaration, - isExportNamedDeclaration -} = _t; - -function ClassDeclaration(node, parent) { - if (!this.format.decoratorsBeforeExport || !isExportDefaultDeclaration(parent) && !isExportNamedDeclaration(parent)) { - this.printJoin(node.decorators, node); - } - - if (node.declare) { - this.word("declare"); - this.space(); - } - - if (node.abstract) { - this.word("abstract"); - this.space(); - } - - this.word("class"); - this.printInnerComments(node); - - if (node.id) { - this.space(); - this.print(node.id, node); - } - - this.print(node.typeParameters, node); - - if (node.superClass) { - this.space(); - this.word("extends"); - this.space(); - this.print(node.superClass, node); - this.print(node.superTypeParameters, node); - } - - if (node.implements) { - this.space(); - this.word("implements"); - this.space(); - this.printList(node.implements, node); - } - - this.space(); - this.print(node.body, node); -} - -function ClassBody(node) { - this.token("{"); - this.printInnerComments(node); - - if (node.body.length === 0) { - this.token("}"); - } else { - this.newline(); - this.indent(); - this.printSequence(node.body, node); - this.dedent(); - if (!this.endsWith(10)) this.newline(); - this.rightBrace(); - } -} - -function ClassProperty(node) { - this.printJoin(node.decorators, node); - this.source("end", node.key.loc); - this.tsPrintClassMemberModifiers(node, true); - - if (node.computed) { - this.token("["); - this.print(node.key, node); - this.token("]"); - } else { - this._variance(node); - - this.print(node.key, node); - } - - if (node.optional) { - this.token("?"); - } - - if (node.definite) { - this.token("!"); - } - - this.print(node.typeAnnotation, node); - - if (node.value) { - this.space(); - this.token("="); - this.space(); - this.print(node.value, node); - } - - this.semicolon(); -} - -function ClassAccessorProperty(node) { - this.printJoin(node.decorators, node); - this.source("end", node.key.loc); - this.tsPrintClassMemberModifiers(node, true); - this.word("accessor"); - this.printInnerComments(node); - this.space(); - - if (node.computed) { - this.token("["); - this.print(node.key, node); - this.token("]"); - } else { - this._variance(node); - - this.print(node.key, node); - } - - if (node.optional) { - this.token("?"); - } - - if (node.definite) { - this.token("!"); - } - - this.print(node.typeAnnotation, node); - - if (node.value) { - this.space(); - this.token("="); - this.space(); - this.print(node.value, node); - } - - this.semicolon(); -} - -function ClassPrivateProperty(node) { - this.printJoin(node.decorators, node); - - if (node.static) { - this.word("static"); - this.space(); - } - - this.print(node.key, node); - this.print(node.typeAnnotation, node); - - if (node.value) { - this.space(); - this.token("="); - this.space(); - this.print(node.value, node); - } - - this.semicolon(); -} - -function ClassMethod(node) { - this._classMethodHead(node); - - this.space(); - this.print(node.body, node); -} - -function ClassPrivateMethod(node) { - this._classMethodHead(node); - - this.space(); - this.print(node.body, node); -} - -function _classMethodHead(node) { - this.printJoin(node.decorators, node); - this.source("end", node.key.loc); - this.tsPrintClassMemberModifiers(node, false); - - this._methodHead(node); -} - -function StaticBlock(node) { - this.word("static"); - this.space(); - this.token("{"); - - if (node.body.length === 0) { - this.token("}"); - } else { - this.newline(); - this.printSequence(node.body, node, { - indent: true - }); - this.rightBrace(); - } -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/expressions.js b/node_modules/@babel/generator/lib/generators/expressions.js deleted file mode 100644 index aa65c5c..0000000 --- a/node_modules/@babel/generator/lib/generators/expressions.js +++ /dev/null @@ -1,318 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.LogicalExpression = exports.BinaryExpression = exports.AssignmentExpression = AssignmentExpression; -exports.AssignmentPattern = AssignmentPattern; -exports.AwaitExpression = void 0; -exports.BindExpression = BindExpression; -exports.CallExpression = CallExpression; -exports.ConditionalExpression = ConditionalExpression; -exports.Decorator = Decorator; -exports.DoExpression = DoExpression; -exports.EmptyStatement = EmptyStatement; -exports.ExpressionStatement = ExpressionStatement; -exports.Import = Import; -exports.MemberExpression = MemberExpression; -exports.MetaProperty = MetaProperty; -exports.ModuleExpression = ModuleExpression; -exports.NewExpression = NewExpression; -exports.OptionalCallExpression = OptionalCallExpression; -exports.OptionalMemberExpression = OptionalMemberExpression; -exports.ParenthesizedExpression = ParenthesizedExpression; -exports.PrivateName = PrivateName; -exports.SequenceExpression = SequenceExpression; -exports.Super = Super; -exports.ThisExpression = ThisExpression; -exports.UnaryExpression = UnaryExpression; -exports.UpdateExpression = UpdateExpression; -exports.V8IntrinsicIdentifier = V8IntrinsicIdentifier; -exports.YieldExpression = void 0; - -var _t = require("@babel/types"); - -var n = require("../node"); - -const { - isCallExpression, - isLiteral, - isMemberExpression, - isNewExpression -} = _t; - -function UnaryExpression(node) { - if (node.operator === "void" || node.operator === "delete" || node.operator === "typeof" || node.operator === "throw") { - this.word(node.operator); - this.space(); - } else { - this.token(node.operator); - } - - this.print(node.argument, node); -} - -function DoExpression(node) { - if (node.async) { - this.word("async"); - this.space(); - } - - this.word("do"); - this.space(); - this.print(node.body, node); -} - -function ParenthesizedExpression(node) { - this.token("("); - this.print(node.expression, node); - this.token(")"); -} - -function UpdateExpression(node) { - if (node.prefix) { - this.token(node.operator); - this.print(node.argument, node); - } else { - this.startTerminatorless(true); - this.print(node.argument, node); - this.endTerminatorless(); - this.token(node.operator); - } -} - -function ConditionalExpression(node) { - this.print(node.test, node); - this.space(); - this.token("?"); - this.space(); - this.print(node.consequent, node); - this.space(); - this.token(":"); - this.space(); - this.print(node.alternate, node); -} - -function NewExpression(node, parent) { - this.word("new"); - this.space(); - this.print(node.callee, node); - - if (this.format.minified && node.arguments.length === 0 && !node.optional && !isCallExpression(parent, { - callee: node - }) && !isMemberExpression(parent) && !isNewExpression(parent)) { - return; - } - - this.print(node.typeArguments, node); - this.print(node.typeParameters, node); - - if (node.optional) { - this.token("?."); - } - - this.token("("); - this.printList(node.arguments, node); - this.token(")"); -} - -function SequenceExpression(node) { - this.printList(node.expressions, node); -} - -function ThisExpression() { - this.word("this"); -} - -function Super() { - this.word("super"); -} - -function Decorator(node) { - this.token("@"); - this.print(node.expression, node); - this.newline(); -} - -function OptionalMemberExpression(node) { - this.print(node.object, node); - - if (!node.computed && isMemberExpression(node.property)) { - throw new TypeError("Got a MemberExpression for MemberExpression property"); - } - - let computed = node.computed; - - if (isLiteral(node.property) && typeof node.property.value === "number") { - computed = true; - } - - if (node.optional) { - this.token("?."); - } - - if (computed) { - this.token("["); - this.print(node.property, node); - this.token("]"); - } else { - if (!node.optional) { - this.token("."); - } - - this.print(node.property, node); - } -} - -function OptionalCallExpression(node) { - this.print(node.callee, node); - this.print(node.typeArguments, node); - this.print(node.typeParameters, node); - - if (node.optional) { - this.token("?."); - } - - this.token("("); - this.printList(node.arguments, node); - this.token(")"); -} - -function CallExpression(node) { - this.print(node.callee, node); - this.print(node.typeArguments, node); - this.print(node.typeParameters, node); - this.token("("); - this.printList(node.arguments, node); - this.token(")"); -} - -function Import() { - this.word("import"); -} - -function buildYieldAwait(keyword) { - return function (node) { - this.word(keyword); - - if (node.delegate) { - this.token("*"); - } - - if (node.argument) { - this.space(); - const terminatorState = this.startTerminatorless(); - this.print(node.argument, node); - this.endTerminatorless(terminatorState); - } - }; -} - -const YieldExpression = buildYieldAwait("yield"); -exports.YieldExpression = YieldExpression; -const AwaitExpression = buildYieldAwait("await"); -exports.AwaitExpression = AwaitExpression; - -function EmptyStatement() { - this.semicolon(true); -} - -function ExpressionStatement(node) { - this.print(node.expression, node); - this.semicolon(); -} - -function AssignmentPattern(node) { - this.print(node.left, node); - if (node.left.optional) this.token("?"); - this.print(node.left.typeAnnotation, node); - this.space(); - this.token("="); - this.space(); - this.print(node.right, node); -} - -function AssignmentExpression(node, parent) { - const parens = this.inForStatementInitCounter && node.operator === "in" && !n.needsParens(node, parent); - - if (parens) { - this.token("("); - } - - this.print(node.left, node); - this.space(); - - if (node.operator === "in" || node.operator === "instanceof") { - this.word(node.operator); - } else { - this.token(node.operator); - } - - this.space(); - this.print(node.right, node); - - if (parens) { - this.token(")"); - } -} - -function BindExpression(node) { - this.print(node.object, node); - this.token("::"); - this.print(node.callee, node); -} - -function MemberExpression(node) { - this.print(node.object, node); - - if (!node.computed && isMemberExpression(node.property)) { - throw new TypeError("Got a MemberExpression for MemberExpression property"); - } - - let computed = node.computed; - - if (isLiteral(node.property) && typeof node.property.value === "number") { - computed = true; - } - - if (computed) { - this.token("["); - this.print(node.property, node); - this.token("]"); - } else { - this.token("."); - this.print(node.property, node); - } -} - -function MetaProperty(node) { - this.print(node.meta, node); - this.token("."); - this.print(node.property, node); -} - -function PrivateName(node) { - this.token("#"); - this.print(node.id, node); -} - -function V8IntrinsicIdentifier(node) { - this.token("%"); - this.word(node.name); -} - -function ModuleExpression(node) { - this.word("module"); - this.space(); - this.token("{"); - - if (node.body.body.length === 0) { - this.token("}"); - } else { - this.newline(); - this.printSequence(node.body.body, node, { - indent: true - }); - this.rightBrace(); - } -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/flow.js b/node_modules/@babel/generator/lib/generators/flow.js deleted file mode 100644 index 7c0bc7d..0000000 --- a/node_modules/@babel/generator/lib/generators/flow.js +++ /dev/null @@ -1,795 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.AnyTypeAnnotation = AnyTypeAnnotation; -exports.ArrayTypeAnnotation = ArrayTypeAnnotation; -exports.BooleanLiteralTypeAnnotation = BooleanLiteralTypeAnnotation; -exports.BooleanTypeAnnotation = BooleanTypeAnnotation; -exports.DeclareClass = DeclareClass; -exports.DeclareExportAllDeclaration = DeclareExportAllDeclaration; -exports.DeclareExportDeclaration = DeclareExportDeclaration; -exports.DeclareFunction = DeclareFunction; -exports.DeclareInterface = DeclareInterface; -exports.DeclareModule = DeclareModule; -exports.DeclareModuleExports = DeclareModuleExports; -exports.DeclareOpaqueType = DeclareOpaqueType; -exports.DeclareTypeAlias = DeclareTypeAlias; -exports.DeclareVariable = DeclareVariable; -exports.DeclaredPredicate = DeclaredPredicate; -exports.EmptyTypeAnnotation = EmptyTypeAnnotation; -exports.EnumBooleanBody = EnumBooleanBody; -exports.EnumBooleanMember = EnumBooleanMember; -exports.EnumDeclaration = EnumDeclaration; -exports.EnumDefaultedMember = EnumDefaultedMember; -exports.EnumNumberBody = EnumNumberBody; -exports.EnumNumberMember = EnumNumberMember; -exports.EnumStringBody = EnumStringBody; -exports.EnumStringMember = EnumStringMember; -exports.EnumSymbolBody = EnumSymbolBody; -exports.ExistsTypeAnnotation = ExistsTypeAnnotation; -exports.FunctionTypeAnnotation = FunctionTypeAnnotation; -exports.FunctionTypeParam = FunctionTypeParam; -exports.IndexedAccessType = IndexedAccessType; -exports.InferredPredicate = InferredPredicate; -exports.InterfaceDeclaration = InterfaceDeclaration; -exports.GenericTypeAnnotation = exports.ClassImplements = exports.InterfaceExtends = InterfaceExtends; -exports.InterfaceTypeAnnotation = InterfaceTypeAnnotation; -exports.IntersectionTypeAnnotation = IntersectionTypeAnnotation; -exports.MixedTypeAnnotation = MixedTypeAnnotation; -exports.NullLiteralTypeAnnotation = NullLiteralTypeAnnotation; -exports.NullableTypeAnnotation = NullableTypeAnnotation; -Object.defineProperty(exports, "NumberLiteralTypeAnnotation", { - enumerable: true, - get: function () { - return _types2.NumericLiteral; - } -}); -exports.NumberTypeAnnotation = NumberTypeAnnotation; -exports.ObjectTypeAnnotation = ObjectTypeAnnotation; -exports.ObjectTypeCallProperty = ObjectTypeCallProperty; -exports.ObjectTypeIndexer = ObjectTypeIndexer; -exports.ObjectTypeInternalSlot = ObjectTypeInternalSlot; -exports.ObjectTypeProperty = ObjectTypeProperty; -exports.ObjectTypeSpreadProperty = ObjectTypeSpreadProperty; -exports.OpaqueType = OpaqueType; -exports.OptionalIndexedAccessType = OptionalIndexedAccessType; -exports.QualifiedTypeIdentifier = QualifiedTypeIdentifier; -Object.defineProperty(exports, "StringLiteralTypeAnnotation", { - enumerable: true, - get: function () { - return _types2.StringLiteral; - } -}); -exports.StringTypeAnnotation = StringTypeAnnotation; -exports.SymbolTypeAnnotation = SymbolTypeAnnotation; -exports.ThisTypeAnnotation = ThisTypeAnnotation; -exports.TupleTypeAnnotation = TupleTypeAnnotation; -exports.TypeAlias = TypeAlias; -exports.TypeAnnotation = TypeAnnotation; -exports.TypeCastExpression = TypeCastExpression; -exports.TypeParameter = TypeParameter; -exports.TypeParameterDeclaration = exports.TypeParameterInstantiation = TypeParameterInstantiation; -exports.TypeofTypeAnnotation = TypeofTypeAnnotation; -exports.UnionTypeAnnotation = UnionTypeAnnotation; -exports.Variance = Variance; -exports.VoidTypeAnnotation = VoidTypeAnnotation; -exports._interfaceish = _interfaceish; -exports._variance = _variance; - -var _t = require("@babel/types"); - -var _modules = require("./modules"); - -var _types2 = require("./types"); - -const { - isDeclareExportDeclaration, - isStatement -} = _t; - -function AnyTypeAnnotation() { - this.word("any"); -} - -function ArrayTypeAnnotation(node) { - this.print(node.elementType, node); - this.token("["); - this.token("]"); -} - -function BooleanTypeAnnotation() { - this.word("boolean"); -} - -function BooleanLiteralTypeAnnotation(node) { - this.word(node.value ? "true" : "false"); -} - -function NullLiteralTypeAnnotation() { - this.word("null"); -} - -function DeclareClass(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - - this.word("class"); - this.space(); - - this._interfaceish(node); -} - -function DeclareFunction(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - - this.word("function"); - this.space(); - this.print(node.id, node); - this.print(node.id.typeAnnotation.typeAnnotation, node); - - if (node.predicate) { - this.space(); - this.print(node.predicate, node); - } - - this.semicolon(); -} - -function InferredPredicate() { - this.token("%"); - this.word("checks"); -} - -function DeclaredPredicate(node) { - this.token("%"); - this.word("checks"); - this.token("("); - this.print(node.value, node); - this.token(")"); -} - -function DeclareInterface(node) { - this.word("declare"); - this.space(); - this.InterfaceDeclaration(node); -} - -function DeclareModule(node) { - this.word("declare"); - this.space(); - this.word("module"); - this.space(); - this.print(node.id, node); - this.space(); - this.print(node.body, node); -} - -function DeclareModuleExports(node) { - this.word("declare"); - this.space(); - this.word("module"); - this.token("."); - this.word("exports"); - this.print(node.typeAnnotation, node); -} - -function DeclareTypeAlias(node) { - this.word("declare"); - this.space(); - this.TypeAlias(node); -} - -function DeclareOpaqueType(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - - this.OpaqueType(node); -} - -function DeclareVariable(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - - this.word("var"); - this.space(); - this.print(node.id, node); - this.print(node.id.typeAnnotation, node); - this.semicolon(); -} - -function DeclareExportDeclaration(node) { - this.word("declare"); - this.space(); - this.word("export"); - this.space(); - - if (node.default) { - this.word("default"); - this.space(); - } - - FlowExportDeclaration.apply(this, arguments); -} - -function DeclareExportAllDeclaration() { - this.word("declare"); - this.space(); - - _modules.ExportAllDeclaration.apply(this, arguments); -} - -function EnumDeclaration(node) { - const { - id, - body - } = node; - this.word("enum"); - this.space(); - this.print(id, node); - this.print(body, node); -} - -function enumExplicitType(context, name, hasExplicitType) { - if (hasExplicitType) { - context.space(); - context.word("of"); - context.space(); - context.word(name); - } - - context.space(); -} - -function enumBody(context, node) { - const { - members - } = node; - context.token("{"); - context.indent(); - context.newline(); - - for (const member of members) { - context.print(member, node); - context.newline(); - } - - if (node.hasUnknownMembers) { - context.token("..."); - context.newline(); - } - - context.dedent(); - context.token("}"); -} - -function EnumBooleanBody(node) { - const { - explicitType - } = node; - enumExplicitType(this, "boolean", explicitType); - enumBody(this, node); -} - -function EnumNumberBody(node) { - const { - explicitType - } = node; - enumExplicitType(this, "number", explicitType); - enumBody(this, node); -} - -function EnumStringBody(node) { - const { - explicitType - } = node; - enumExplicitType(this, "string", explicitType); - enumBody(this, node); -} - -function EnumSymbolBody(node) { - enumExplicitType(this, "symbol", true); - enumBody(this, node); -} - -function EnumDefaultedMember(node) { - const { - id - } = node; - this.print(id, node); - this.token(","); -} - -function enumInitializedMember(context, node) { - const { - id, - init - } = node; - context.print(id, node); - context.space(); - context.token("="); - context.space(); - context.print(init, node); - context.token(","); -} - -function EnumBooleanMember(node) { - enumInitializedMember(this, node); -} - -function EnumNumberMember(node) { - enumInitializedMember(this, node); -} - -function EnumStringMember(node) { - enumInitializedMember(this, node); -} - -function FlowExportDeclaration(node) { - if (node.declaration) { - const declar = node.declaration; - this.print(declar, node); - if (!isStatement(declar)) this.semicolon(); - } else { - this.token("{"); - - if (node.specifiers.length) { - this.space(); - this.printList(node.specifiers, node); - this.space(); - } - - this.token("}"); - - if (node.source) { - this.space(); - this.word("from"); - this.space(); - this.print(node.source, node); - } - - this.semicolon(); - } -} - -function ExistsTypeAnnotation() { - this.token("*"); -} - -function FunctionTypeAnnotation(node, parent) { - this.print(node.typeParameters, node); - this.token("("); - - if (node.this) { - this.word("this"); - this.token(":"); - this.space(); - this.print(node.this.typeAnnotation, node); - - if (node.params.length || node.rest) { - this.token(","); - this.space(); - } - } - - this.printList(node.params, node); - - if (node.rest) { - if (node.params.length) { - this.token(","); - this.space(); - } - - this.token("..."); - this.print(node.rest, node); - } - - this.token(")"); - - if (parent && (parent.type === "ObjectTypeCallProperty" || parent.type === "DeclareFunction" || parent.type === "ObjectTypeProperty" && parent.method)) { - this.token(":"); - } else { - this.space(); - this.token("=>"); - } - - this.space(); - this.print(node.returnType, node); -} - -function FunctionTypeParam(node) { - this.print(node.name, node); - if (node.optional) this.token("?"); - - if (node.name) { - this.token(":"); - this.space(); - } - - this.print(node.typeAnnotation, node); -} - -function InterfaceExtends(node) { - this.print(node.id, node); - this.print(node.typeParameters, node); -} - -function _interfaceish(node) { - var _node$extends; - - this.print(node.id, node); - this.print(node.typeParameters, node); - - if ((_node$extends = node.extends) != null && _node$extends.length) { - this.space(); - this.word("extends"); - this.space(); - this.printList(node.extends, node); - } - - if (node.mixins && node.mixins.length) { - this.space(); - this.word("mixins"); - this.space(); - this.printList(node.mixins, node); - } - - if (node.implements && node.implements.length) { - this.space(); - this.word("implements"); - this.space(); - this.printList(node.implements, node); - } - - this.space(); - this.print(node.body, node); -} - -function _variance(node) { - if (node.variance) { - if (node.variance.kind === "plus") { - this.token("+"); - } else if (node.variance.kind === "minus") { - this.token("-"); - } - } -} - -function InterfaceDeclaration(node) { - this.word("interface"); - this.space(); - - this._interfaceish(node); -} - -function andSeparator() { - this.space(); - this.token("&"); - this.space(); -} - -function InterfaceTypeAnnotation(node) { - this.word("interface"); - - if (node.extends && node.extends.length) { - this.space(); - this.word("extends"); - this.space(); - this.printList(node.extends, node); - } - - this.space(); - this.print(node.body, node); -} - -function IntersectionTypeAnnotation(node) { - this.printJoin(node.types, node, { - separator: andSeparator - }); -} - -function MixedTypeAnnotation() { - this.word("mixed"); -} - -function EmptyTypeAnnotation() { - this.word("empty"); -} - -function NullableTypeAnnotation(node) { - this.token("?"); - this.print(node.typeAnnotation, node); -} - -function NumberTypeAnnotation() { - this.word("number"); -} - -function StringTypeAnnotation() { - this.word("string"); -} - -function ThisTypeAnnotation() { - this.word("this"); -} - -function TupleTypeAnnotation(node) { - this.token("["); - this.printList(node.types, node); - this.token("]"); -} - -function TypeofTypeAnnotation(node) { - this.word("typeof"); - this.space(); - this.print(node.argument, node); -} - -function TypeAlias(node) { - this.word("type"); - this.space(); - this.print(node.id, node); - this.print(node.typeParameters, node); - this.space(); - this.token("="); - this.space(); - this.print(node.right, node); - this.semicolon(); -} - -function TypeAnnotation(node) { - this.token(":"); - this.space(); - if (node.optional) this.token("?"); - this.print(node.typeAnnotation, node); -} - -function TypeParameterInstantiation(node) { - this.token("<"); - this.printList(node.params, node, {}); - this.token(">"); -} - -function TypeParameter(node) { - this._variance(node); - - this.word(node.name); - - if (node.bound) { - this.print(node.bound, node); - } - - if (node.default) { - this.space(); - this.token("="); - this.space(); - this.print(node.default, node); - } -} - -function OpaqueType(node) { - this.word("opaque"); - this.space(); - this.word("type"); - this.space(); - this.print(node.id, node); - this.print(node.typeParameters, node); - - if (node.supertype) { - this.token(":"); - this.space(); - this.print(node.supertype, node); - } - - if (node.impltype) { - this.space(); - this.token("="); - this.space(); - this.print(node.impltype, node); - } - - this.semicolon(); -} - -function ObjectTypeAnnotation(node) { - if (node.exact) { - this.token("{|"); - } else { - this.token("{"); - } - - const props = [...node.properties, ...(node.callProperties || []), ...(node.indexers || []), ...(node.internalSlots || [])]; - - if (props.length) { - this.space(); - this.printJoin(props, node, { - addNewlines(leading) { - if (leading && !props[0]) return 1; - }, - - indent: true, - statement: true, - iterator: () => { - if (props.length !== 1 || node.inexact) { - this.token(","); - this.space(); - } - } - }); - this.space(); - } - - if (node.inexact) { - this.indent(); - this.token("..."); - - if (props.length) { - this.newline(); - } - - this.dedent(); - } - - if (node.exact) { - this.token("|}"); - } else { - this.token("}"); - } -} - -function ObjectTypeInternalSlot(node) { - if (node.static) { - this.word("static"); - this.space(); - } - - this.token("["); - this.token("["); - this.print(node.id, node); - this.token("]"); - this.token("]"); - if (node.optional) this.token("?"); - - if (!node.method) { - this.token(":"); - this.space(); - } - - this.print(node.value, node); -} - -function ObjectTypeCallProperty(node) { - if (node.static) { - this.word("static"); - this.space(); - } - - this.print(node.value, node); -} - -function ObjectTypeIndexer(node) { - if (node.static) { - this.word("static"); - this.space(); - } - - this._variance(node); - - this.token("["); - - if (node.id) { - this.print(node.id, node); - this.token(":"); - this.space(); - } - - this.print(node.key, node); - this.token("]"); - this.token(":"); - this.space(); - this.print(node.value, node); -} - -function ObjectTypeProperty(node) { - if (node.proto) { - this.word("proto"); - this.space(); - } - - if (node.static) { - this.word("static"); - this.space(); - } - - if (node.kind === "get" || node.kind === "set") { - this.word(node.kind); - this.space(); - } - - this._variance(node); - - this.print(node.key, node); - if (node.optional) this.token("?"); - - if (!node.method) { - this.token(":"); - this.space(); - } - - this.print(node.value, node); -} - -function ObjectTypeSpreadProperty(node) { - this.token("..."); - this.print(node.argument, node); -} - -function QualifiedTypeIdentifier(node) { - this.print(node.qualification, node); - this.token("."); - this.print(node.id, node); -} - -function SymbolTypeAnnotation() { - this.word("symbol"); -} - -function orSeparator() { - this.space(); - this.token("|"); - this.space(); -} - -function UnionTypeAnnotation(node) { - this.printJoin(node.types, node, { - separator: orSeparator - }); -} - -function TypeCastExpression(node) { - this.token("("); - this.print(node.expression, node); - this.print(node.typeAnnotation, node); - this.token(")"); -} - -function Variance(node) { - if (node.kind === "plus") { - this.token("+"); - } else { - this.token("-"); - } -} - -function VoidTypeAnnotation() { - this.word("void"); -} - -function IndexedAccessType(node) { - this.print(node.objectType, node); - this.token("["); - this.print(node.indexType, node); - this.token("]"); -} - -function OptionalIndexedAccessType(node) { - this.print(node.objectType, node); - - if (node.optional) { - this.token("?."); - } - - this.token("["); - this.print(node.indexType, node); - this.token("]"); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/index.js b/node_modules/@babel/generator/lib/generators/index.js deleted file mode 100644 index 8820db0..0000000 --- a/node_modules/@babel/generator/lib/generators/index.js +++ /dev/null @@ -1,148 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateLiterals = require("./template-literals"); - -Object.keys(_templateLiterals).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _templateLiterals[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _templateLiterals[key]; - } - }); -}); - -var _expressions = require("./expressions"); - -Object.keys(_expressions).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _expressions[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _expressions[key]; - } - }); -}); - -var _statements = require("./statements"); - -Object.keys(_statements).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _statements[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _statements[key]; - } - }); -}); - -var _classes = require("./classes"); - -Object.keys(_classes).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _classes[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _classes[key]; - } - }); -}); - -var _methods = require("./methods"); - -Object.keys(_methods).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _methods[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _methods[key]; - } - }); -}); - -var _modules = require("./modules"); - -Object.keys(_modules).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _modules[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _modules[key]; - } - }); -}); - -var _types = require("./types"); - -Object.keys(_types).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _types[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _types[key]; - } - }); -}); - -var _flow = require("./flow"); - -Object.keys(_flow).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _flow[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _flow[key]; - } - }); -}); - -var _base = require("./base"); - -Object.keys(_base).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _base[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _base[key]; - } - }); -}); - -var _jsx = require("./jsx"); - -Object.keys(_jsx).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _jsx[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _jsx[key]; - } - }); -}); - -var _typescript = require("./typescript"); - -Object.keys(_typescript).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _typescript[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _typescript[key]; - } - }); -}); \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/jsx.js b/node_modules/@babel/generator/lib/generators/jsx.js deleted file mode 100644 index 3c11f59..0000000 --- a/node_modules/@babel/generator/lib/generators/jsx.js +++ /dev/null @@ -1,145 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.JSXAttribute = JSXAttribute; -exports.JSXClosingElement = JSXClosingElement; -exports.JSXClosingFragment = JSXClosingFragment; -exports.JSXElement = JSXElement; -exports.JSXEmptyExpression = JSXEmptyExpression; -exports.JSXExpressionContainer = JSXExpressionContainer; -exports.JSXFragment = JSXFragment; -exports.JSXIdentifier = JSXIdentifier; -exports.JSXMemberExpression = JSXMemberExpression; -exports.JSXNamespacedName = JSXNamespacedName; -exports.JSXOpeningElement = JSXOpeningElement; -exports.JSXOpeningFragment = JSXOpeningFragment; -exports.JSXSpreadAttribute = JSXSpreadAttribute; -exports.JSXSpreadChild = JSXSpreadChild; -exports.JSXText = JSXText; - -function JSXAttribute(node) { - this.print(node.name, node); - - if (node.value) { - this.token("="); - this.print(node.value, node); - } -} - -function JSXIdentifier(node) { - this.word(node.name); -} - -function JSXNamespacedName(node) { - this.print(node.namespace, node); - this.token(":"); - this.print(node.name, node); -} - -function JSXMemberExpression(node) { - this.print(node.object, node); - this.token("."); - this.print(node.property, node); -} - -function JSXSpreadAttribute(node) { - this.token("{"); - this.token("..."); - this.print(node.argument, node); - this.token("}"); -} - -function JSXExpressionContainer(node) { - this.token("{"); - this.print(node.expression, node); - this.token("}"); -} - -function JSXSpreadChild(node) { - this.token("{"); - this.token("..."); - this.print(node.expression, node); - this.token("}"); -} - -function JSXText(node) { - const raw = this.getPossibleRaw(node); - - if (raw != null) { - this.token(raw); - } else { - this.token(node.value); - } -} - -function JSXElement(node) { - const open = node.openingElement; - this.print(open, node); - if (open.selfClosing) return; - this.indent(); - - for (const child of node.children) { - this.print(child, node); - } - - this.dedent(); - this.print(node.closingElement, node); -} - -function spaceSeparator() { - this.space(); -} - -function JSXOpeningElement(node) { - this.token("<"); - this.print(node.name, node); - this.print(node.typeParameters, node); - - if (node.attributes.length > 0) { - this.space(); - this.printJoin(node.attributes, node, { - separator: spaceSeparator - }); - } - - if (node.selfClosing) { - this.space(); - this.token("/>"); - } else { - this.token(">"); - } -} - -function JSXClosingElement(node) { - this.token(""); -} - -function JSXEmptyExpression(node) { - this.printInnerComments(node); -} - -function JSXFragment(node) { - this.print(node.openingFragment, node); - this.indent(); - - for (const child of node.children) { - this.print(child, node); - } - - this.dedent(); - this.print(node.closingFragment, node); -} - -function JSXOpeningFragment() { - this.token("<"); - this.token(">"); -} - -function JSXClosingFragment() { - this.token(""); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/methods.js b/node_modules/@babel/generator/lib/generators/methods.js deleted file mode 100644 index d31e7fa..0000000 --- a/node_modules/@babel/generator/lib/generators/methods.js +++ /dev/null @@ -1,150 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ArrowFunctionExpression = ArrowFunctionExpression; -exports.FunctionDeclaration = exports.FunctionExpression = FunctionExpression; -exports._functionHead = _functionHead; -exports._methodHead = _methodHead; -exports._param = _param; -exports._parameters = _parameters; -exports._params = _params; -exports._predicate = _predicate; - -var _t = require("@babel/types"); - -const { - isIdentifier -} = _t; - -function _params(node) { - this.print(node.typeParameters, node); - this.token("("); - - this._parameters(node.params, node); - - this.token(")"); - this.print(node.returnType, node); -} - -function _parameters(parameters, parent) { - for (let i = 0; i < parameters.length; i++) { - this._param(parameters[i], parent); - - if (i < parameters.length - 1) { - this.token(","); - this.space(); - } - } -} - -function _param(parameter, parent) { - this.printJoin(parameter.decorators, parameter); - this.print(parameter, parent); - if (parameter.optional) this.token("?"); - this.print(parameter.typeAnnotation, parameter); -} - -function _methodHead(node) { - const kind = node.kind; - const key = node.key; - - if (kind === "get" || kind === "set") { - this.word(kind); - this.space(); - } - - if (node.async) { - this._catchUp("start", key.loc); - - this.word("async"); - this.space(); - } - - if (kind === "method" || kind === "init") { - if (node.generator) { - this.token("*"); - } - } - - if (node.computed) { - this.token("["); - this.print(key, node); - this.token("]"); - } else { - this.print(key, node); - } - - if (node.optional) { - this.token("?"); - } - - this._params(node); -} - -function _predicate(node) { - if (node.predicate) { - if (!node.returnType) { - this.token(":"); - } - - this.space(); - this.print(node.predicate, node); - } -} - -function _functionHead(node) { - if (node.async) { - this.word("async"); - this.space(); - } - - this.word("function"); - if (node.generator) this.token("*"); - this.printInnerComments(node); - this.space(); - - if (node.id) { - this.print(node.id, node); - } - - this._params(node); - - this._predicate(node); -} - -function FunctionExpression(node) { - this._functionHead(node); - - this.space(); - this.print(node.body, node); -} - -function ArrowFunctionExpression(node) { - if (node.async) { - this.word("async"); - this.space(); - } - - const firstParam = node.params[0]; - - if (!this.format.retainLines && !this.format.auxiliaryCommentBefore && !this.format.auxiliaryCommentAfter && node.params.length === 1 && isIdentifier(firstParam) && !hasTypesOrComments(node, firstParam)) { - this.print(firstParam, node); - } else { - this._params(node); - } - - this._predicate(node); - - this.space(); - this.token("=>"); - this.space(); - this.print(node.body, node); -} - -function hasTypesOrComments(node, param) { - var _param$leadingComment, _param$trailingCommen; - - return !!(node.typeParameters || node.returnType || node.predicate || param.typeAnnotation || param.optional || (_param$leadingComment = param.leadingComments) != null && _param$leadingComment.length || (_param$trailingCommen = param.trailingComments) != null && _param$trailingCommen.length); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/modules.js b/node_modules/@babel/generator/lib/generators/modules.js deleted file mode 100644 index 7a3cc26..0000000 --- a/node_modules/@babel/generator/lib/generators/modules.js +++ /dev/null @@ -1,239 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ExportAllDeclaration = ExportAllDeclaration; -exports.ExportDefaultDeclaration = ExportDefaultDeclaration; -exports.ExportDefaultSpecifier = ExportDefaultSpecifier; -exports.ExportNamedDeclaration = ExportNamedDeclaration; -exports.ExportNamespaceSpecifier = ExportNamespaceSpecifier; -exports.ExportSpecifier = ExportSpecifier; -exports.ImportAttribute = ImportAttribute; -exports.ImportDeclaration = ImportDeclaration; -exports.ImportDefaultSpecifier = ImportDefaultSpecifier; -exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier; -exports.ImportSpecifier = ImportSpecifier; - -var _t = require("@babel/types"); - -const { - isClassDeclaration, - isExportDefaultSpecifier, - isExportNamespaceSpecifier, - isImportDefaultSpecifier, - isImportNamespaceSpecifier, - isStatement -} = _t; - -function ImportSpecifier(node) { - if (node.importKind === "type" || node.importKind === "typeof") { - this.word(node.importKind); - this.space(); - } - - this.print(node.imported, node); - - if (node.local && node.local.name !== node.imported.name) { - this.space(); - this.word("as"); - this.space(); - this.print(node.local, node); - } -} - -function ImportDefaultSpecifier(node) { - this.print(node.local, node); -} - -function ExportDefaultSpecifier(node) { - this.print(node.exported, node); -} - -function ExportSpecifier(node) { - if (node.exportKind === "type") { - this.word("type"); - this.space(); - } - - this.print(node.local, node); - - if (node.exported && node.local.name !== node.exported.name) { - this.space(); - this.word("as"); - this.space(); - this.print(node.exported, node); - } -} - -function ExportNamespaceSpecifier(node) { - this.token("*"); - this.space(); - this.word("as"); - this.space(); - this.print(node.exported, node); -} - -function ExportAllDeclaration(node) { - this.word("export"); - this.space(); - - if (node.exportKind === "type") { - this.word("type"); - this.space(); - } - - this.token("*"); - this.space(); - this.word("from"); - this.space(); - this.print(node.source, node); - this.printAssertions(node); - this.semicolon(); -} - -function ExportNamedDeclaration(node) { - if (this.format.decoratorsBeforeExport && isClassDeclaration(node.declaration)) { - this.printJoin(node.declaration.decorators, node); - } - - this.word("export"); - this.space(); - ExportDeclaration.apply(this, arguments); -} - -function ExportDefaultDeclaration(node) { - if (this.format.decoratorsBeforeExport && isClassDeclaration(node.declaration)) { - this.printJoin(node.declaration.decorators, node); - } - - this.word("export"); - this.space(); - this.word("default"); - this.space(); - ExportDeclaration.apply(this, arguments); -} - -function ExportDeclaration(node) { - if (node.declaration) { - const declar = node.declaration; - this.print(declar, node); - if (!isStatement(declar)) this.semicolon(); - } else { - if (node.exportKind === "type") { - this.word("type"); - this.space(); - } - - const specifiers = node.specifiers.slice(0); - let hasSpecial = false; - - for (;;) { - const first = specifiers[0]; - - if (isExportDefaultSpecifier(first) || isExportNamespaceSpecifier(first)) { - hasSpecial = true; - this.print(specifiers.shift(), node); - - if (specifiers.length) { - this.token(","); - this.space(); - } - } else { - break; - } - } - - if (specifiers.length || !specifiers.length && !hasSpecial) { - this.token("{"); - - if (specifiers.length) { - this.space(); - this.printList(specifiers, node); - this.space(); - } - - this.token("}"); - } - - if (node.source) { - this.space(); - this.word("from"); - this.space(); - this.print(node.source, node); - this.printAssertions(node); - } - - this.semicolon(); - } -} - -function ImportDeclaration(node) { - this.word("import"); - this.space(); - - if (node.importKind === "type" || node.importKind === "typeof") { - this.word(node.importKind); - this.space(); - } - - const specifiers = node.specifiers.slice(0); - - if (specifiers != null && specifiers.length) { - for (;;) { - const first = specifiers[0]; - - if (isImportDefaultSpecifier(first) || isImportNamespaceSpecifier(first)) { - this.print(specifiers.shift(), node); - - if (specifiers.length) { - this.token(","); - this.space(); - } - } else { - break; - } - } - - if (specifiers.length) { - this.token("{"); - this.space(); - this.printList(specifiers, node); - this.space(); - this.token("}"); - } - - this.space(); - this.word("from"); - this.space(); - } - - this.print(node.source, node); - this.printAssertions(node); - { - var _node$attributes; - - if ((_node$attributes = node.attributes) != null && _node$attributes.length) { - this.space(); - this.word("with"); - this.space(); - this.printList(node.attributes, node); - } - } - this.semicolon(); -} - -function ImportAttribute(node) { - this.print(node.key); - this.token(":"); - this.space(); - this.print(node.value); -} - -function ImportNamespaceSpecifier(node) { - this.token("*"); - this.space(); - this.word("as"); - this.space(); - this.print(node.local, node); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/statements.js b/node_modules/@babel/generator/lib/generators/statements.js deleted file mode 100644 index 8b7b8fd..0000000 --- a/node_modules/@babel/generator/lib/generators/statements.js +++ /dev/null @@ -1,331 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.BreakStatement = void 0; -exports.CatchClause = CatchClause; -exports.ContinueStatement = void 0; -exports.DebuggerStatement = DebuggerStatement; -exports.DoWhileStatement = DoWhileStatement; -exports.ForOfStatement = exports.ForInStatement = void 0; -exports.ForStatement = ForStatement; -exports.IfStatement = IfStatement; -exports.LabeledStatement = LabeledStatement; -exports.ReturnStatement = void 0; -exports.SwitchCase = SwitchCase; -exports.SwitchStatement = SwitchStatement; -exports.ThrowStatement = void 0; -exports.TryStatement = TryStatement; -exports.VariableDeclaration = VariableDeclaration; -exports.VariableDeclarator = VariableDeclarator; -exports.WhileStatement = WhileStatement; -exports.WithStatement = WithStatement; - -var _t = require("@babel/types"); - -const { - isFor, - isForStatement, - isIfStatement, - isStatement -} = _t; - -function WithStatement(node) { - this.word("with"); - this.space(); - this.token("("); - this.print(node.object, node); - this.token(")"); - this.printBlock(node); -} - -function IfStatement(node) { - this.word("if"); - this.space(); - this.token("("); - this.print(node.test, node); - this.token(")"); - this.space(); - const needsBlock = node.alternate && isIfStatement(getLastStatement(node.consequent)); - - if (needsBlock) { - this.token("{"); - this.newline(); - this.indent(); - } - - this.printAndIndentOnComments(node.consequent, node); - - if (needsBlock) { - this.dedent(); - this.newline(); - this.token("}"); - } - - if (node.alternate) { - if (this.endsWith(125)) this.space(); - this.word("else"); - this.space(); - this.printAndIndentOnComments(node.alternate, node); - } -} - -function getLastStatement(statement) { - if (!isStatement(statement.body)) return statement; - return getLastStatement(statement.body); -} - -function ForStatement(node) { - this.word("for"); - this.space(); - this.token("("); - this.inForStatementInitCounter++; - this.print(node.init, node); - this.inForStatementInitCounter--; - this.token(";"); - - if (node.test) { - this.space(); - this.print(node.test, node); - } - - this.token(";"); - - if (node.update) { - this.space(); - this.print(node.update, node); - } - - this.token(")"); - this.printBlock(node); -} - -function WhileStatement(node) { - this.word("while"); - this.space(); - this.token("("); - this.print(node.test, node); - this.token(")"); - this.printBlock(node); -} - -const buildForXStatement = function (op) { - return function (node) { - this.word("for"); - this.space(); - - if (op === "of" && node.await) { - this.word("await"); - this.space(); - } - - this.token("("); - this.print(node.left, node); - this.space(); - this.word(op); - this.space(); - this.print(node.right, node); - this.token(")"); - this.printBlock(node); - }; -}; - -const ForInStatement = buildForXStatement("in"); -exports.ForInStatement = ForInStatement; -const ForOfStatement = buildForXStatement("of"); -exports.ForOfStatement = ForOfStatement; - -function DoWhileStatement(node) { - this.word("do"); - this.space(); - this.print(node.body, node); - this.space(); - this.word("while"); - this.space(); - this.token("("); - this.print(node.test, node); - this.token(")"); - this.semicolon(); -} - -function buildLabelStatement(prefix, key = "label") { - return function (node) { - this.word(prefix); - const label = node[key]; - - if (label) { - this.space(); - const isLabel = key == "label"; - const terminatorState = this.startTerminatorless(isLabel); - this.print(label, node); - this.endTerminatorless(terminatorState); - } - - this.semicolon(); - }; -} - -const ContinueStatement = buildLabelStatement("continue"); -exports.ContinueStatement = ContinueStatement; -const ReturnStatement = buildLabelStatement("return", "argument"); -exports.ReturnStatement = ReturnStatement; -const BreakStatement = buildLabelStatement("break"); -exports.BreakStatement = BreakStatement; -const ThrowStatement = buildLabelStatement("throw", "argument"); -exports.ThrowStatement = ThrowStatement; - -function LabeledStatement(node) { - this.print(node.label, node); - this.token(":"); - this.space(); - this.print(node.body, node); -} - -function TryStatement(node) { - this.word("try"); - this.space(); - this.print(node.block, node); - this.space(); - - if (node.handlers) { - this.print(node.handlers[0], node); - } else { - this.print(node.handler, node); - } - - if (node.finalizer) { - this.space(); - this.word("finally"); - this.space(); - this.print(node.finalizer, node); - } -} - -function CatchClause(node) { - this.word("catch"); - this.space(); - - if (node.param) { - this.token("("); - this.print(node.param, node); - this.print(node.param.typeAnnotation, node); - this.token(")"); - this.space(); - } - - this.print(node.body, node); -} - -function SwitchStatement(node) { - this.word("switch"); - this.space(); - this.token("("); - this.print(node.discriminant, node); - this.token(")"); - this.space(); - this.token("{"); - this.printSequence(node.cases, node, { - indent: true, - - addNewlines(leading, cas) { - if (!leading && node.cases[node.cases.length - 1] === cas) return -1; - } - - }); - this.token("}"); -} - -function SwitchCase(node) { - if (node.test) { - this.word("case"); - this.space(); - this.print(node.test, node); - this.token(":"); - } else { - this.word("default"); - this.token(":"); - } - - if (node.consequent.length) { - this.newline(); - this.printSequence(node.consequent, node, { - indent: true - }); - } -} - -function DebuggerStatement() { - this.word("debugger"); - this.semicolon(); -} - -function variableDeclarationIndent() { - this.token(","); - this.newline(); - - if (this.endsWith(10)) { - for (let i = 0; i < 4; i++) this.space(true); - } -} - -function constDeclarationIndent() { - this.token(","); - this.newline(); - - if (this.endsWith(10)) { - for (let i = 0; i < 6; i++) this.space(true); - } -} - -function VariableDeclaration(node, parent) { - if (node.declare) { - this.word("declare"); - this.space(); - } - - this.word(node.kind); - this.space(); - let hasInits = false; - - if (!isFor(parent)) { - for (const declar of node.declarations) { - if (declar.init) { - hasInits = true; - } - } - } - - let separator; - - if (hasInits) { - separator = node.kind === "const" ? constDeclarationIndent : variableDeclarationIndent; - } - - this.printList(node.declarations, node, { - separator - }); - - if (isFor(parent)) { - if (isForStatement(parent)) { - if (parent.init === node) return; - } else { - if (parent.left === node) return; - } - } - - this.semicolon(); -} - -function VariableDeclarator(node) { - this.print(node.id, node); - if (node.definite) this.token("!"); - this.print(node.id.typeAnnotation, node); - - if (node.init) { - this.space(); - this.token("="); - this.space(); - this.print(node.init, node); - } -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/template-literals.js b/node_modules/@babel/generator/lib/generators/template-literals.js deleted file mode 100644 index 0543303..0000000 --- a/node_modules/@babel/generator/lib/generators/template-literals.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.TaggedTemplateExpression = TaggedTemplateExpression; -exports.TemplateElement = TemplateElement; -exports.TemplateLiteral = TemplateLiteral; - -function TaggedTemplateExpression(node) { - this.print(node.tag, node); - this.print(node.typeParameters, node); - this.print(node.quasi, node); -} - -function TemplateElement(node, parent) { - const isFirst = parent.quasis[0] === node; - const isLast = parent.quasis[parent.quasis.length - 1] === node; - const value = (isFirst ? "`" : "}") + node.value.raw + (isLast ? "`" : "${"); - this.token(value); -} - -function TemplateLiteral(node) { - const quasis = node.quasis; - - for (let i = 0; i < quasis.length; i++) { - this.print(quasis[i], node); - - if (i + 1 < quasis.length) { - this.print(node.expressions[i], node); - } - } -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/types.js b/node_modules/@babel/generator/lib/generators/types.js deleted file mode 100644 index a56fb47..0000000 --- a/node_modules/@babel/generator/lib/generators/types.js +++ /dev/null @@ -1,276 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ArgumentPlaceholder = ArgumentPlaceholder; -exports.ArrayPattern = exports.ArrayExpression = ArrayExpression; -exports.BigIntLiteral = BigIntLiteral; -exports.BooleanLiteral = BooleanLiteral; -exports.DecimalLiteral = DecimalLiteral; -exports.Identifier = Identifier; -exports.NullLiteral = NullLiteral; -exports.NumericLiteral = NumericLiteral; -exports.ObjectPattern = exports.ObjectExpression = ObjectExpression; -exports.ObjectMethod = ObjectMethod; -exports.ObjectProperty = ObjectProperty; -exports.PipelineBareFunction = PipelineBareFunction; -exports.PipelinePrimaryTopicReference = PipelinePrimaryTopicReference; -exports.PipelineTopicExpression = PipelineTopicExpression; -exports.RecordExpression = RecordExpression; -exports.RegExpLiteral = RegExpLiteral; -exports.SpreadElement = exports.RestElement = RestElement; -exports.StringLiteral = StringLiteral; -exports.TopicReference = TopicReference; -exports.TupleExpression = TupleExpression; - -var _t = require("@babel/types"); - -var _jsesc = require("jsesc"); - -const { - isAssignmentPattern, - isIdentifier -} = _t; - -function Identifier(node) { - this.exactSource(node.loc, () => { - this.word(node.name); - }); -} - -function ArgumentPlaceholder() { - this.token("?"); -} - -function RestElement(node) { - this.token("..."); - this.print(node.argument, node); -} - -function ObjectExpression(node) { - const props = node.properties; - this.token("{"); - this.printInnerComments(node); - - if (props.length) { - this.space(); - this.printList(props, node, { - indent: true, - statement: true - }); - this.space(); - } - - this.token("}"); -} - -function ObjectMethod(node) { - this.printJoin(node.decorators, node); - - this._methodHead(node); - - this.space(); - this.print(node.body, node); -} - -function ObjectProperty(node) { - this.printJoin(node.decorators, node); - - if (node.computed) { - this.token("["); - this.print(node.key, node); - this.token("]"); - } else { - if (isAssignmentPattern(node.value) && isIdentifier(node.key) && node.key.name === node.value.left.name) { - this.print(node.value, node); - return; - } - - this.print(node.key, node); - - if (node.shorthand && isIdentifier(node.key) && isIdentifier(node.value) && node.key.name === node.value.name) { - return; - } - } - - this.token(":"); - this.space(); - this.print(node.value, node); -} - -function ArrayExpression(node) { - const elems = node.elements; - const len = elems.length; - this.token("["); - this.printInnerComments(node); - - for (let i = 0; i < elems.length; i++) { - const elem = elems[i]; - - if (elem) { - if (i > 0) this.space(); - this.print(elem, node); - if (i < len - 1) this.token(","); - } else { - this.token(","); - } - } - - this.token("]"); -} - -function RecordExpression(node) { - const props = node.properties; - let startToken; - let endToken; - - if (this.format.recordAndTupleSyntaxType === "bar") { - startToken = "{|"; - endToken = "|}"; - } else if (this.format.recordAndTupleSyntaxType === "hash") { - startToken = "#{"; - endToken = "}"; - } else { - throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`); - } - - this.token(startToken); - this.printInnerComments(node); - - if (props.length) { - this.space(); - this.printList(props, node, { - indent: true, - statement: true - }); - this.space(); - } - - this.token(endToken); -} - -function TupleExpression(node) { - const elems = node.elements; - const len = elems.length; - let startToken; - let endToken; - - if (this.format.recordAndTupleSyntaxType === "bar") { - startToken = "[|"; - endToken = "|]"; - } else if (this.format.recordAndTupleSyntaxType === "hash") { - startToken = "#["; - endToken = "]"; - } else { - throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`); - } - - this.token(startToken); - this.printInnerComments(node); - - for (let i = 0; i < elems.length; i++) { - const elem = elems[i]; - - if (elem) { - if (i > 0) this.space(); - this.print(elem, node); - if (i < len - 1) this.token(","); - } - } - - this.token(endToken); -} - -function RegExpLiteral(node) { - this.word(`/${node.pattern}/${node.flags}`); -} - -function BooleanLiteral(node) { - this.word(node.value ? "true" : "false"); -} - -function NullLiteral() { - this.word("null"); -} - -function NumericLiteral(node) { - const raw = this.getPossibleRaw(node); - const opts = this.format.jsescOption; - const value = node.value + ""; - - if (opts.numbers) { - this.number(_jsesc(node.value, opts)); - } else if (raw == null) { - this.number(value); - } else if (this.format.minified) { - this.number(raw.length < value.length ? raw : value); - } else { - this.number(raw); - } -} - -function StringLiteral(node) { - const raw = this.getPossibleRaw(node); - - if (!this.format.minified && raw != null) { - this.token(raw); - return; - } - - const val = _jsesc(node.value, Object.assign(this.format.jsescOption, this.format.jsonCompatibleStrings && { - json: true - })); - - return this.token(val); -} - -function BigIntLiteral(node) { - const raw = this.getPossibleRaw(node); - - if (!this.format.minified && raw != null) { - this.word(raw); - return; - } - - this.word(node.value + "n"); -} - -function DecimalLiteral(node) { - const raw = this.getPossibleRaw(node); - - if (!this.format.minified && raw != null) { - this.word(raw); - return; - } - - this.word(node.value + "m"); -} - -const validTopicTokenSet = new Set(["^^", "@@", "^", "%", "#"]); - -function TopicReference() { - const { - topicToken - } = this.format; - - if (validTopicTokenSet.has(topicToken)) { - this.token(topicToken); - } else { - const givenTopicTokenJSON = JSON.stringify(topicToken); - const validTopics = Array.from(validTopicTokenSet, v => JSON.stringify(v)); - throw new Error(`The "topicToken" generator option must be one of ` + `${validTopics.join(", ")} (${givenTopicTokenJSON} received instead).`); - } -} - -function PipelineTopicExpression(node) { - this.print(node.expression, node); -} - -function PipelineBareFunction(node) { - this.print(node.callee, node); -} - -function PipelinePrimaryTopicReference() { - this.token("#"); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/typescript.js b/node_modules/@babel/generator/lib/generators/typescript.js deleted file mode 100644 index 010d86d..0000000 --- a/node_modules/@babel/generator/lib/generators/typescript.js +++ /dev/null @@ -1,813 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.TSAnyKeyword = TSAnyKeyword; -exports.TSArrayType = TSArrayType; -exports.TSAsExpression = TSAsExpression; -exports.TSBigIntKeyword = TSBigIntKeyword; -exports.TSBooleanKeyword = TSBooleanKeyword; -exports.TSCallSignatureDeclaration = TSCallSignatureDeclaration; -exports.TSConditionalType = TSConditionalType; -exports.TSConstructSignatureDeclaration = TSConstructSignatureDeclaration; -exports.TSConstructorType = TSConstructorType; -exports.TSDeclareFunction = TSDeclareFunction; -exports.TSDeclareMethod = TSDeclareMethod; -exports.TSEnumDeclaration = TSEnumDeclaration; -exports.TSEnumMember = TSEnumMember; -exports.TSExportAssignment = TSExportAssignment; -exports.TSExpressionWithTypeArguments = TSExpressionWithTypeArguments; -exports.TSExternalModuleReference = TSExternalModuleReference; -exports.TSFunctionType = TSFunctionType; -exports.TSImportEqualsDeclaration = TSImportEqualsDeclaration; -exports.TSImportType = TSImportType; -exports.TSIndexSignature = TSIndexSignature; -exports.TSIndexedAccessType = TSIndexedAccessType; -exports.TSInferType = TSInferType; -exports.TSInterfaceBody = TSInterfaceBody; -exports.TSInterfaceDeclaration = TSInterfaceDeclaration; -exports.TSIntersectionType = TSIntersectionType; -exports.TSIntrinsicKeyword = TSIntrinsicKeyword; -exports.TSLiteralType = TSLiteralType; -exports.TSMappedType = TSMappedType; -exports.TSMethodSignature = TSMethodSignature; -exports.TSModuleBlock = TSModuleBlock; -exports.TSModuleDeclaration = TSModuleDeclaration; -exports.TSNamedTupleMember = TSNamedTupleMember; -exports.TSNamespaceExportDeclaration = TSNamespaceExportDeclaration; -exports.TSNeverKeyword = TSNeverKeyword; -exports.TSNonNullExpression = TSNonNullExpression; -exports.TSNullKeyword = TSNullKeyword; -exports.TSNumberKeyword = TSNumberKeyword; -exports.TSObjectKeyword = TSObjectKeyword; -exports.TSOptionalType = TSOptionalType; -exports.TSParameterProperty = TSParameterProperty; -exports.TSParenthesizedType = TSParenthesizedType; -exports.TSPropertySignature = TSPropertySignature; -exports.TSQualifiedName = TSQualifiedName; -exports.TSRestType = TSRestType; -exports.TSStringKeyword = TSStringKeyword; -exports.TSSymbolKeyword = TSSymbolKeyword; -exports.TSThisType = TSThisType; -exports.TSTupleType = TSTupleType; -exports.TSTypeAliasDeclaration = TSTypeAliasDeclaration; -exports.TSTypeAnnotation = TSTypeAnnotation; -exports.TSTypeAssertion = TSTypeAssertion; -exports.TSTypeLiteral = TSTypeLiteral; -exports.TSTypeOperator = TSTypeOperator; -exports.TSTypeParameter = TSTypeParameter; -exports.TSTypeParameterDeclaration = exports.TSTypeParameterInstantiation = TSTypeParameterInstantiation; -exports.TSTypePredicate = TSTypePredicate; -exports.TSTypeQuery = TSTypeQuery; -exports.TSTypeReference = TSTypeReference; -exports.TSUndefinedKeyword = TSUndefinedKeyword; -exports.TSUnionType = TSUnionType; -exports.TSUnknownKeyword = TSUnknownKeyword; -exports.TSVoidKeyword = TSVoidKeyword; -exports.tsPrintBraced = tsPrintBraced; -exports.tsPrintClassMemberModifiers = tsPrintClassMemberModifiers; -exports.tsPrintFunctionOrConstructorType = tsPrintFunctionOrConstructorType; -exports.tsPrintPropertyOrMethodName = tsPrintPropertyOrMethodName; -exports.tsPrintSignatureDeclarationBase = tsPrintSignatureDeclarationBase; -exports.tsPrintTypeLiteralOrInterfaceBody = tsPrintTypeLiteralOrInterfaceBody; -exports.tsPrintUnionOrIntersectionType = tsPrintUnionOrIntersectionType; - -function TSTypeAnnotation(node) { - this.token(":"); - this.space(); - if (node.optional) this.token("?"); - this.print(node.typeAnnotation, node); -} - -function TSTypeParameterInstantiation(node, parent) { - this.token("<"); - this.printList(node.params, node, {}); - - if (parent.type === "ArrowFunctionExpression" && node.params.length === 1) { - this.token(","); - } - - this.token(">"); -} - -function TSTypeParameter(node) { - this.word(node.name); - - if (node.constraint) { - this.space(); - this.word("extends"); - this.space(); - this.print(node.constraint, node); - } - - if (node.default) { - this.space(); - this.token("="); - this.space(); - this.print(node.default, node); - } -} - -function TSParameterProperty(node) { - if (node.accessibility) { - this.word(node.accessibility); - this.space(); - } - - if (node.readonly) { - this.word("readonly"); - this.space(); - } - - this._param(node.parameter); -} - -function TSDeclareFunction(node) { - if (node.declare) { - this.word("declare"); - this.space(); - } - - this._functionHead(node); - - this.token(";"); -} - -function TSDeclareMethod(node) { - this._classMethodHead(node); - - this.token(";"); -} - -function TSQualifiedName(node) { - this.print(node.left, node); - this.token("."); - this.print(node.right, node); -} - -function TSCallSignatureDeclaration(node) { - this.tsPrintSignatureDeclarationBase(node); - this.token(";"); -} - -function TSConstructSignatureDeclaration(node) { - this.word("new"); - this.space(); - this.tsPrintSignatureDeclarationBase(node); - this.token(";"); -} - -function TSPropertySignature(node) { - const { - readonly, - initializer - } = node; - - if (readonly) { - this.word("readonly"); - this.space(); - } - - this.tsPrintPropertyOrMethodName(node); - this.print(node.typeAnnotation, node); - - if (initializer) { - this.space(); - this.token("="); - this.space(); - this.print(initializer, node); - } - - this.token(";"); -} - -function tsPrintPropertyOrMethodName(node) { - if (node.computed) { - this.token("["); - } - - this.print(node.key, node); - - if (node.computed) { - this.token("]"); - } - - if (node.optional) { - this.token("?"); - } -} - -function TSMethodSignature(node) { - const { - kind - } = node; - - if (kind === "set" || kind === "get") { - this.word(kind); - this.space(); - } - - this.tsPrintPropertyOrMethodName(node); - this.tsPrintSignatureDeclarationBase(node); - this.token(";"); -} - -function TSIndexSignature(node) { - const { - readonly, - static: isStatic - } = node; - - if (isStatic) { - this.word("static"); - this.space(); - } - - if (readonly) { - this.word("readonly"); - this.space(); - } - - this.token("["); - - this._parameters(node.parameters, node); - - this.token("]"); - this.print(node.typeAnnotation, node); - this.token(";"); -} - -function TSAnyKeyword() { - this.word("any"); -} - -function TSBigIntKeyword() { - this.word("bigint"); -} - -function TSUnknownKeyword() { - this.word("unknown"); -} - -function TSNumberKeyword() { - this.word("number"); -} - -function TSObjectKeyword() { - this.word("object"); -} - -function TSBooleanKeyword() { - this.word("boolean"); -} - -function TSStringKeyword() { - this.word("string"); -} - -function TSSymbolKeyword() { - this.word("symbol"); -} - -function TSVoidKeyword() { - this.word("void"); -} - -function TSUndefinedKeyword() { - this.word("undefined"); -} - -function TSNullKeyword() { - this.word("null"); -} - -function TSNeverKeyword() { - this.word("never"); -} - -function TSIntrinsicKeyword() { - this.word("intrinsic"); -} - -function TSThisType() { - this.word("this"); -} - -function TSFunctionType(node) { - this.tsPrintFunctionOrConstructorType(node); -} - -function TSConstructorType(node) { - if (node.abstract) { - this.word("abstract"); - this.space(); - } - - this.word("new"); - this.space(); - this.tsPrintFunctionOrConstructorType(node); -} - -function tsPrintFunctionOrConstructorType(node) { - const { - typeParameters - } = node; - const parameters = node.parameters; - this.print(typeParameters, node); - this.token("("); - - this._parameters(parameters, node); - - this.token(")"); - this.space(); - this.token("=>"); - this.space(); - const returnType = node.typeAnnotation; - this.print(returnType.typeAnnotation, node); -} - -function TSTypeReference(node) { - this.print(node.typeName, node); - this.print(node.typeParameters, node); -} - -function TSTypePredicate(node) { - if (node.asserts) { - this.word("asserts"); - this.space(); - } - - this.print(node.parameterName); - - if (node.typeAnnotation) { - this.space(); - this.word("is"); - this.space(); - this.print(node.typeAnnotation.typeAnnotation); - } -} - -function TSTypeQuery(node) { - this.word("typeof"); - this.space(); - this.print(node.exprName); -} - -function TSTypeLiteral(node) { - this.tsPrintTypeLiteralOrInterfaceBody(node.members, node); -} - -function tsPrintTypeLiteralOrInterfaceBody(members, node) { - this.tsPrintBraced(members, node); -} - -function tsPrintBraced(members, node) { - this.token("{"); - - if (members.length) { - this.indent(); - this.newline(); - - for (const member of members) { - this.print(member, node); - this.newline(); - } - - this.dedent(); - this.rightBrace(); - } else { - this.token("}"); - } -} - -function TSArrayType(node) { - this.print(node.elementType, node); - this.token("[]"); -} - -function TSTupleType(node) { - this.token("["); - this.printList(node.elementTypes, node); - this.token("]"); -} - -function TSOptionalType(node) { - this.print(node.typeAnnotation, node); - this.token("?"); -} - -function TSRestType(node) { - this.token("..."); - this.print(node.typeAnnotation, node); -} - -function TSNamedTupleMember(node) { - this.print(node.label, node); - if (node.optional) this.token("?"); - this.token(":"); - this.space(); - this.print(node.elementType, node); -} - -function TSUnionType(node) { - this.tsPrintUnionOrIntersectionType(node, "|"); -} - -function TSIntersectionType(node) { - this.tsPrintUnionOrIntersectionType(node, "&"); -} - -function tsPrintUnionOrIntersectionType(node, sep) { - this.printJoin(node.types, node, { - separator() { - this.space(); - this.token(sep); - this.space(); - } - - }); -} - -function TSConditionalType(node) { - this.print(node.checkType); - this.space(); - this.word("extends"); - this.space(); - this.print(node.extendsType); - this.space(); - this.token("?"); - this.space(); - this.print(node.trueType); - this.space(); - this.token(":"); - this.space(); - this.print(node.falseType); -} - -function TSInferType(node) { - this.token("infer"); - this.space(); - this.print(node.typeParameter); -} - -function TSParenthesizedType(node) { - this.token("("); - this.print(node.typeAnnotation, node); - this.token(")"); -} - -function TSTypeOperator(node) { - this.word(node.operator); - this.space(); - this.print(node.typeAnnotation, node); -} - -function TSIndexedAccessType(node) { - this.print(node.objectType, node); - this.token("["); - this.print(node.indexType, node); - this.token("]"); -} - -function TSMappedType(node) { - const { - nameType, - optional, - readonly, - typeParameter - } = node; - this.token("{"); - this.space(); - - if (readonly) { - tokenIfPlusMinus(this, readonly); - this.word("readonly"); - this.space(); - } - - this.token("["); - this.word(typeParameter.name); - this.space(); - this.word("in"); - this.space(); - this.print(typeParameter.constraint, typeParameter); - - if (nameType) { - this.space(); - this.word("as"); - this.space(); - this.print(nameType, node); - } - - this.token("]"); - - if (optional) { - tokenIfPlusMinus(this, optional); - this.token("?"); - } - - this.token(":"); - this.space(); - this.print(node.typeAnnotation, node); - this.space(); - this.token("}"); -} - -function tokenIfPlusMinus(self, tok) { - if (tok !== true) { - self.token(tok); - } -} - -function TSLiteralType(node) { - this.print(node.literal, node); -} - -function TSExpressionWithTypeArguments(node) { - this.print(node.expression, node); - this.print(node.typeParameters, node); -} - -function TSInterfaceDeclaration(node) { - const { - declare, - id, - typeParameters, - extends: extendz, - body - } = node; - - if (declare) { - this.word("declare"); - this.space(); - } - - this.word("interface"); - this.space(); - this.print(id, node); - this.print(typeParameters, node); - - if (extendz != null && extendz.length) { - this.space(); - this.word("extends"); - this.space(); - this.printList(extendz, node); - } - - this.space(); - this.print(body, node); -} - -function TSInterfaceBody(node) { - this.tsPrintTypeLiteralOrInterfaceBody(node.body, node); -} - -function TSTypeAliasDeclaration(node) { - const { - declare, - id, - typeParameters, - typeAnnotation - } = node; - - if (declare) { - this.word("declare"); - this.space(); - } - - this.word("type"); - this.space(); - this.print(id, node); - this.print(typeParameters, node); - this.space(); - this.token("="); - this.space(); - this.print(typeAnnotation, node); - this.token(";"); -} - -function TSAsExpression(node) { - const { - expression, - typeAnnotation - } = node; - this.print(expression, node); - this.space(); - this.word("as"); - this.space(); - this.print(typeAnnotation, node); -} - -function TSTypeAssertion(node) { - const { - typeAnnotation, - expression - } = node; - this.token("<"); - this.print(typeAnnotation, node); - this.token(">"); - this.space(); - this.print(expression, node); -} - -function TSEnumDeclaration(node) { - const { - declare, - const: isConst, - id, - members - } = node; - - if (declare) { - this.word("declare"); - this.space(); - } - - if (isConst) { - this.word("const"); - this.space(); - } - - this.word("enum"); - this.space(); - this.print(id, node); - this.space(); - this.tsPrintBraced(members, node); -} - -function TSEnumMember(node) { - const { - id, - initializer - } = node; - this.print(id, node); - - if (initializer) { - this.space(); - this.token("="); - this.space(); - this.print(initializer, node); - } - - this.token(","); -} - -function TSModuleDeclaration(node) { - const { - declare, - id - } = node; - - if (declare) { - this.word("declare"); - this.space(); - } - - if (!node.global) { - this.word(id.type === "Identifier" ? "namespace" : "module"); - this.space(); - } - - this.print(id, node); - - if (!node.body) { - this.token(";"); - return; - } - - let body = node.body; - - while (body.type === "TSModuleDeclaration") { - this.token("."); - this.print(body.id, body); - body = body.body; - } - - this.space(); - this.print(body, node); -} - -function TSModuleBlock(node) { - this.tsPrintBraced(node.body, node); -} - -function TSImportType(node) { - const { - argument, - qualifier, - typeParameters - } = node; - this.word("import"); - this.token("("); - this.print(argument, node); - this.token(")"); - - if (qualifier) { - this.token("."); - this.print(qualifier, node); - } - - if (typeParameters) { - this.print(typeParameters, node); - } -} - -function TSImportEqualsDeclaration(node) { - const { - isExport, - id, - moduleReference - } = node; - - if (isExport) { - this.word("export"); - this.space(); - } - - this.word("import"); - this.space(); - this.print(id, node); - this.space(); - this.token("="); - this.space(); - this.print(moduleReference, node); - this.token(";"); -} - -function TSExternalModuleReference(node) { - this.token("require("); - this.print(node.expression, node); - this.token(")"); -} - -function TSNonNullExpression(node) { - this.print(node.expression, node); - this.token("!"); -} - -function TSExportAssignment(node) { - this.word("export"); - this.space(); - this.token("="); - this.space(); - this.print(node.expression, node); - this.token(";"); -} - -function TSNamespaceExportDeclaration(node) { - this.word("export"); - this.space(); - this.word("as"); - this.space(); - this.word("namespace"); - this.space(); - this.print(node.id, node); -} - -function tsPrintSignatureDeclarationBase(node) { - const { - typeParameters - } = node; - const parameters = node.parameters; - this.print(typeParameters, node); - this.token("("); - - this._parameters(parameters, node); - - this.token(")"); - const returnType = node.typeAnnotation; - this.print(returnType, node); -} - -function tsPrintClassMemberModifiers(node, isField) { - if (isField && node.declare) { - this.word("declare"); - this.space(); - } - - if (node.accessibility) { - this.word(node.accessibility); - this.space(); - } - - if (node.static) { - this.word("static"); - this.space(); - } - - if (node.override) { - this.word("override"); - this.space(); - } - - if (node.abstract) { - this.word("abstract"); - this.space(); - } - - if (isField && node.readonly) { - this.word("readonly"); - this.space(); - } -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/index.js b/node_modules/@babel/generator/lib/index.js deleted file mode 100644 index ca8a0bd..0000000 --- a/node_modules/@babel/generator/lib/index.js +++ /dev/null @@ -1,97 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.CodeGenerator = void 0; -exports.default = generate; - -var _sourceMap = require("./source-map"); - -var _printer = require("./printer"); - -class Generator extends _printer.default { - constructor(ast, opts = {}, code) { - const format = normalizeOptions(code, opts); - const map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null; - super(format, map); - this.ast = void 0; - this.ast = ast; - } - - generate() { - return super.generate(this.ast); - } - -} - -function normalizeOptions(code, opts) { - const format = { - auxiliaryCommentBefore: opts.auxiliaryCommentBefore, - auxiliaryCommentAfter: opts.auxiliaryCommentAfter, - shouldPrintComment: opts.shouldPrintComment, - retainLines: opts.retainLines, - retainFunctionParens: opts.retainFunctionParens, - comments: opts.comments == null || opts.comments, - compact: opts.compact, - minified: opts.minified, - concise: opts.concise, - indent: { - adjustMultilineComment: true, - style: " ", - base: 0 - }, - decoratorsBeforeExport: !!opts.decoratorsBeforeExport, - jsescOption: Object.assign({ - quotes: "double", - wrap: true, - minimal: false - }, opts.jsescOption), - recordAndTupleSyntaxType: opts.recordAndTupleSyntaxType, - topicToken: opts.topicToken - }; - { - format.jsonCompatibleStrings = opts.jsonCompatibleStrings; - } - - if (format.minified) { - format.compact = true; - - format.shouldPrintComment = format.shouldPrintComment || (() => format.comments); - } else { - format.shouldPrintComment = format.shouldPrintComment || (value => format.comments || value.indexOf("@license") >= 0 || value.indexOf("@preserve") >= 0); - } - - if (format.compact === "auto") { - format.compact = code.length > 500000; - - if (format.compact) { - console.error("[BABEL] Note: The code generator has deoptimised the styling of " + `${opts.filename} as it exceeds the max of ${"500KB"}.`); - } - } - - if (format.compact) { - format.indent.adjustMultilineComment = false; - } - - return format; -} - -class CodeGenerator { - constructor(ast, opts, code) { - this._generator = void 0; - this._generator = new Generator(ast, opts, code); - } - - generate() { - return this._generator.generate(); - } - -} - -exports.CodeGenerator = CodeGenerator; - -function generate(ast, opts, code) { - const gen = new Generator(ast, opts, code); - return gen.generate(); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/node/index.js b/node_modules/@babel/generator/lib/node/index.js deleted file mode 100644 index b594ae4..0000000 --- a/node_modules/@babel/generator/lib/node/index.js +++ /dev/null @@ -1,111 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.needsParens = needsParens; -exports.needsWhitespace = needsWhitespace; -exports.needsWhitespaceAfter = needsWhitespaceAfter; -exports.needsWhitespaceBefore = needsWhitespaceBefore; - -var whitespace = require("./whitespace"); - -var parens = require("./parentheses"); - -var _t = require("@babel/types"); - -const { - FLIPPED_ALIAS_KEYS, - isCallExpression, - isExpressionStatement, - isMemberExpression, - isNewExpression -} = _t; - -function expandAliases(obj) { - const newObj = {}; - - function add(type, func) { - const fn = newObj[type]; - newObj[type] = fn ? function (node, parent, stack) { - const result = fn(node, parent, stack); - return result == null ? func(node, parent, stack) : result; - } : func; - } - - for (const type of Object.keys(obj)) { - const aliases = FLIPPED_ALIAS_KEYS[type]; - - if (aliases) { - for (const alias of aliases) { - add(alias, obj[type]); - } - } else { - add(type, obj[type]); - } - } - - return newObj; -} - -const expandedParens = expandAliases(parens); -const expandedWhitespaceNodes = expandAliases(whitespace.nodes); -const expandedWhitespaceList = expandAliases(whitespace.list); - -function find(obj, node, parent, printStack) { - const fn = obj[node.type]; - return fn ? fn(node, parent, printStack) : null; -} - -function isOrHasCallExpression(node) { - if (isCallExpression(node)) { - return true; - } - - return isMemberExpression(node) && isOrHasCallExpression(node.object); -} - -function needsWhitespace(node, parent, type) { - if (!node) return 0; - - if (isExpressionStatement(node)) { - node = node.expression; - } - - let linesInfo = find(expandedWhitespaceNodes, node, parent); - - if (!linesInfo) { - const items = find(expandedWhitespaceList, node, parent); - - if (items) { - for (let i = 0; i < items.length; i++) { - linesInfo = needsWhitespace(items[i], node, type); - if (linesInfo) break; - } - } - } - - if (typeof linesInfo === "object" && linesInfo !== null) { - return linesInfo[type] || 0; - } - - return 0; -} - -function needsWhitespaceBefore(node, parent) { - return needsWhitespace(node, parent, "before"); -} - -function needsWhitespaceAfter(node, parent) { - return needsWhitespace(node, parent, "after"); -} - -function needsParens(node, parent, printStack) { - if (!parent) return false; - - if (isNewExpression(parent) && parent.callee === node) { - if (isOrHasCallExpression(node)) return true; - } - - return find(expandedParens, node, parent, printStack); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/node/parentheses.js b/node_modules/@babel/generator/lib/node/parentheses.js deleted file mode 100644 index 5761a58..0000000 --- a/node_modules/@babel/generator/lib/node/parentheses.js +++ /dev/null @@ -1,342 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ArrowFunctionExpression = ArrowFunctionExpression; -exports.AssignmentExpression = AssignmentExpression; -exports.Binary = Binary; -exports.BinaryExpression = BinaryExpression; -exports.ClassExpression = ClassExpression; -exports.ConditionalExpression = ConditionalExpression; -exports.DoExpression = DoExpression; -exports.FunctionExpression = FunctionExpression; -exports.FunctionTypeAnnotation = FunctionTypeAnnotation; -exports.Identifier = Identifier; -exports.LogicalExpression = LogicalExpression; -exports.NullableTypeAnnotation = NullableTypeAnnotation; -exports.ObjectExpression = ObjectExpression; -exports.OptionalIndexedAccessType = OptionalIndexedAccessType; -exports.OptionalCallExpression = exports.OptionalMemberExpression = OptionalMemberExpression; -exports.SequenceExpression = SequenceExpression; -exports.TSAsExpression = TSAsExpression; -exports.TSInferType = TSInferType; -exports.TSTypeAssertion = TSTypeAssertion; -exports.TSIntersectionType = exports.TSUnionType = TSUnionType; -exports.UnaryLike = UnaryLike; -exports.IntersectionTypeAnnotation = exports.UnionTypeAnnotation = UnionTypeAnnotation; -exports.UpdateExpression = UpdateExpression; -exports.AwaitExpression = exports.YieldExpression = YieldExpression; - -var _t = require("@babel/types"); - -const { - isArrayTypeAnnotation, - isArrowFunctionExpression, - isAssignmentExpression, - isAwaitExpression, - isBinary, - isBinaryExpression, - isCallExpression, - isClassDeclaration, - isClassExpression, - isConditional, - isConditionalExpression, - isExportDeclaration, - isExportDefaultDeclaration, - isExpressionStatement, - isFor, - isForInStatement, - isForOfStatement, - isForStatement, - isIfStatement, - isIndexedAccessType, - isIntersectionTypeAnnotation, - isLogicalExpression, - isMemberExpression, - isNewExpression, - isNullableTypeAnnotation, - isObjectPattern, - isOptionalCallExpression, - isOptionalMemberExpression, - isReturnStatement, - isSequenceExpression, - isSwitchStatement, - isTSArrayType, - isTSAsExpression, - isTSIntersectionType, - isTSNonNullExpression, - isTSOptionalType, - isTSRestType, - isTSTypeAssertion, - isTSUnionType, - isTaggedTemplateExpression, - isThrowStatement, - isTypeAnnotation, - isUnaryLike, - isUnionTypeAnnotation, - isVariableDeclarator, - isWhileStatement, - isYieldExpression -} = _t; -const PRECEDENCE = { - "||": 0, - "??": 0, - "&&": 1, - "|": 2, - "^": 3, - "&": 4, - "==": 5, - "===": 5, - "!=": 5, - "!==": 5, - "<": 6, - ">": 6, - "<=": 6, - ">=": 6, - in: 6, - instanceof: 6, - ">>": 7, - "<<": 7, - ">>>": 7, - "+": 8, - "-": 8, - "*": 9, - "/": 9, - "%": 9, - "**": 10 -}; - -const isClassExtendsClause = (node, parent) => (isClassDeclaration(parent) || isClassExpression(parent)) && parent.superClass === node; - -const hasPostfixPart = (node, parent) => (isMemberExpression(parent) || isOptionalMemberExpression(parent)) && parent.object === node || (isCallExpression(parent) || isOptionalCallExpression(parent) || isNewExpression(parent)) && parent.callee === node || isTaggedTemplateExpression(parent) && parent.tag === node || isTSNonNullExpression(parent); - -function NullableTypeAnnotation(node, parent) { - return isArrayTypeAnnotation(parent); -} - -function FunctionTypeAnnotation(node, parent, printStack) { - return isUnionTypeAnnotation(parent) || isIntersectionTypeAnnotation(parent) || isArrayTypeAnnotation(parent) || isTypeAnnotation(parent) && isArrowFunctionExpression(printStack[printStack.length - 3]); -} - -function UpdateExpression(node, parent) { - return hasPostfixPart(node, parent) || isClassExtendsClause(node, parent); -} - -function ObjectExpression(node, parent, printStack) { - return isFirstInContext(printStack, { - expressionStatement: true, - arrowBody: true - }); -} - -function DoExpression(node, parent, printStack) { - return !node.async && isFirstInContext(printStack, { - expressionStatement: true - }); -} - -function Binary(node, parent) { - if (node.operator === "**" && isBinaryExpression(parent, { - operator: "**" - })) { - return parent.left === node; - } - - if (isClassExtendsClause(node, parent)) { - return true; - } - - if (hasPostfixPart(node, parent) || isUnaryLike(parent) || isAwaitExpression(parent)) { - return true; - } - - if (isBinary(parent)) { - const parentOp = parent.operator; - const parentPos = PRECEDENCE[parentOp]; - const nodeOp = node.operator; - const nodePos = PRECEDENCE[nodeOp]; - - if (parentPos === nodePos && parent.right === node && !isLogicalExpression(parent) || parentPos > nodePos) { - return true; - } - } -} - -function UnionTypeAnnotation(node, parent) { - return isArrayTypeAnnotation(parent) || isNullableTypeAnnotation(parent) || isIntersectionTypeAnnotation(parent) || isUnionTypeAnnotation(parent); -} - -function OptionalIndexedAccessType(node, parent) { - return isIndexedAccessType(parent, { - objectType: node - }); -} - -function TSAsExpression() { - return true; -} - -function TSTypeAssertion() { - return true; -} - -function TSUnionType(node, parent) { - return isTSArrayType(parent) || isTSOptionalType(parent) || isTSIntersectionType(parent) || isTSUnionType(parent) || isTSRestType(parent); -} - -function TSInferType(node, parent) { - return isTSArrayType(parent) || isTSOptionalType(parent); -} - -function BinaryExpression(node, parent) { - return node.operator === "in" && (isVariableDeclarator(parent) || isFor(parent)); -} - -function SequenceExpression(node, parent) { - if (isForStatement(parent) || isThrowStatement(parent) || isReturnStatement(parent) || isIfStatement(parent) && parent.test === node || isWhileStatement(parent) && parent.test === node || isForInStatement(parent) && parent.right === node || isSwitchStatement(parent) && parent.discriminant === node || isExpressionStatement(parent) && parent.expression === node) { - return false; - } - - return true; -} - -function YieldExpression(node, parent) { - return isBinary(parent) || isUnaryLike(parent) || hasPostfixPart(node, parent) || isAwaitExpression(parent) && isYieldExpression(node) || isConditionalExpression(parent) && node === parent.test || isClassExtendsClause(node, parent); -} - -function ClassExpression(node, parent, printStack) { - return isFirstInContext(printStack, { - expressionStatement: true, - exportDefault: true - }); -} - -function UnaryLike(node, parent) { - return hasPostfixPart(node, parent) || isBinaryExpression(parent, { - operator: "**", - left: node - }) || isClassExtendsClause(node, parent); -} - -function FunctionExpression(node, parent, printStack) { - return isFirstInContext(printStack, { - expressionStatement: true, - exportDefault: true - }); -} - -function ArrowFunctionExpression(node, parent) { - return isExportDeclaration(parent) || ConditionalExpression(node, parent); -} - -function ConditionalExpression(node, parent) { - if (isUnaryLike(parent) || isBinary(parent) || isConditionalExpression(parent, { - test: node - }) || isAwaitExpression(parent) || isTSTypeAssertion(parent) || isTSAsExpression(parent)) { - return true; - } - - return UnaryLike(node, parent); -} - -function OptionalMemberExpression(node, parent) { - return isCallExpression(parent, { - callee: node - }) || isMemberExpression(parent, { - object: node - }); -} - -function AssignmentExpression(node, parent) { - if (isObjectPattern(node.left)) { - return true; - } else { - return ConditionalExpression(node, parent); - } -} - -function LogicalExpression(node, parent) { - switch (node.operator) { - case "||": - if (!isLogicalExpression(parent)) return false; - return parent.operator === "??" || parent.operator === "&&"; - - case "&&": - return isLogicalExpression(parent, { - operator: "??" - }); - - case "??": - return isLogicalExpression(parent) && parent.operator !== "??"; - } -} - -function Identifier(node, parent, printStack) { - if (node.name === "let") { - const isFollowedByBracket = isMemberExpression(parent, { - object: node, - computed: true - }) || isOptionalMemberExpression(parent, { - object: node, - computed: true, - optional: false - }); - return isFirstInContext(printStack, { - expressionStatement: isFollowedByBracket, - forHead: isFollowedByBracket, - forInHead: isFollowedByBracket, - forOfHead: true - }); - } - - return node.name === "async" && isForOfStatement(parent) && node === parent.left; -} - -function isFirstInContext(printStack, { - expressionStatement = false, - arrowBody = false, - exportDefault = false, - forHead = false, - forInHead = false, - forOfHead = false -}) { - let i = printStack.length - 1; - let node = printStack[i]; - i--; - let parent = printStack[i]; - - while (i >= 0) { - if (expressionStatement && isExpressionStatement(parent, { - expression: node - }) || exportDefault && isExportDefaultDeclaration(parent, { - declaration: node - }) || arrowBody && isArrowFunctionExpression(parent, { - body: node - }) || forHead && isForStatement(parent, { - init: node - }) || forInHead && isForInStatement(parent, { - left: node - }) || forOfHead && isForOfStatement(parent, { - left: node - })) { - return true; - } - - if (hasPostfixPart(node, parent) && !isNewExpression(parent) || isSequenceExpression(parent) && parent.expressions[0] === node || isConditional(parent, { - test: node - }) || isBinary(parent, { - left: node - }) || isAssignmentExpression(parent, { - left: node - })) { - node = parent; - i--; - parent = printStack[i]; - } else { - return false; - } - } - - return false; -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/node/whitespace.js b/node_modules/@babel/generator/lib/node/whitespace.js deleted file mode 100644 index 80e2da9..0000000 --- a/node_modules/@babel/generator/lib/node/whitespace.js +++ /dev/null @@ -1,214 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.nodes = exports.list = void 0; - -var _t = require("@babel/types"); - -const { - FLIPPED_ALIAS_KEYS, - isArrayExpression, - isAssignmentExpression, - isBinary, - isBlockStatement, - isCallExpression, - isFunction, - isIdentifier, - isLiteral, - isMemberExpression, - isObjectExpression, - isOptionalCallExpression, - isOptionalMemberExpression, - isStringLiteral -} = _t; - -function crawl(node, state = {}) { - if (isMemberExpression(node) || isOptionalMemberExpression(node)) { - crawl(node.object, state); - if (node.computed) crawl(node.property, state); - } else if (isBinary(node) || isAssignmentExpression(node)) { - crawl(node.left, state); - crawl(node.right, state); - } else if (isCallExpression(node) || isOptionalCallExpression(node)) { - state.hasCall = true; - crawl(node.callee, state); - } else if (isFunction(node)) { - state.hasFunction = true; - } else if (isIdentifier(node)) { - state.hasHelper = state.hasHelper || isHelper(node.callee); - } - - return state; -} - -function isHelper(node) { - if (isMemberExpression(node)) { - return isHelper(node.object) || isHelper(node.property); - } else if (isIdentifier(node)) { - return node.name === "require" || node.name[0] === "_"; - } else if (isCallExpression(node)) { - return isHelper(node.callee); - } else if (isBinary(node) || isAssignmentExpression(node)) { - return isIdentifier(node.left) && isHelper(node.left) || isHelper(node.right); - } else { - return false; - } -} - -function isType(node) { - return isLiteral(node) || isObjectExpression(node) || isArrayExpression(node) || isIdentifier(node) || isMemberExpression(node); -} - -const nodes = { - AssignmentExpression(node) { - const state = crawl(node.right); - - if (state.hasCall && state.hasHelper || state.hasFunction) { - return { - before: state.hasFunction, - after: true - }; - } - }, - - SwitchCase(node, parent) { - return { - before: !!node.consequent.length || parent.cases[0] === node, - after: !node.consequent.length && parent.cases[parent.cases.length - 1] === node - }; - }, - - LogicalExpression(node) { - if (isFunction(node.left) || isFunction(node.right)) { - return { - after: true - }; - } - }, - - Literal(node) { - if (isStringLiteral(node) && node.value === "use strict") { - return { - after: true - }; - } - }, - - CallExpression(node) { - if (isFunction(node.callee) || isHelper(node)) { - return { - before: true, - after: true - }; - } - }, - - OptionalCallExpression(node) { - if (isFunction(node.callee)) { - return { - before: true, - after: true - }; - } - }, - - VariableDeclaration(node) { - for (let i = 0; i < node.declarations.length; i++) { - const declar = node.declarations[i]; - let enabled = isHelper(declar.id) && !isType(declar.init); - - if (!enabled) { - const state = crawl(declar.init); - enabled = isHelper(declar.init) && state.hasCall || state.hasFunction; - } - - if (enabled) { - return { - before: true, - after: true - }; - } - } - }, - - IfStatement(node) { - if (isBlockStatement(node.consequent)) { - return { - before: true, - after: true - }; - } - } - -}; -exports.nodes = nodes; - -nodes.ObjectProperty = nodes.ObjectTypeProperty = nodes.ObjectMethod = function (node, parent) { - if (parent.properties[0] === node) { - return { - before: true - }; - } -}; - -nodes.ObjectTypeCallProperty = function (node, parent) { - var _parent$properties; - - if (parent.callProperties[0] === node && !((_parent$properties = parent.properties) != null && _parent$properties.length)) { - return { - before: true - }; - } -}; - -nodes.ObjectTypeIndexer = function (node, parent) { - var _parent$properties2, _parent$callPropertie; - - if (parent.indexers[0] === node && !((_parent$properties2 = parent.properties) != null && _parent$properties2.length) && !((_parent$callPropertie = parent.callProperties) != null && _parent$callPropertie.length)) { - return { - before: true - }; - } -}; - -nodes.ObjectTypeInternalSlot = function (node, parent) { - var _parent$properties3, _parent$callPropertie2, _parent$indexers; - - if (parent.internalSlots[0] === node && !((_parent$properties3 = parent.properties) != null && _parent$properties3.length) && !((_parent$callPropertie2 = parent.callProperties) != null && _parent$callPropertie2.length) && !((_parent$indexers = parent.indexers) != null && _parent$indexers.length)) { - return { - before: true - }; - } -}; - -const list = { - VariableDeclaration(node) { - return node.declarations.map(decl => decl.init); - }, - - ArrayExpression(node) { - return node.elements; - }, - - ObjectExpression(node) { - return node.properties; - } - -}; -exports.list = list; -[["Function", true], ["Class", true], ["Loop", true], ["LabeledStatement", true], ["SwitchStatement", true], ["TryStatement", true]].forEach(function ([type, amounts]) { - if (typeof amounts === "boolean") { - amounts = { - after: amounts, - before: amounts - }; - } - - [type].concat(FLIPPED_ALIAS_KEYS[type] || []).forEach(function (type) { - nodes[type] = function () { - return amounts; - }; - }); -}); \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/printer.js b/node_modules/@babel/generator/lib/printer.js deleted file mode 100644 index 0decd21..0000000 --- a/node_modules/@babel/generator/lib/printer.js +++ /dev/null @@ -1,540 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _buffer = require("./buffer"); - -var n = require("./node"); - -var _t = require("@babel/types"); - -var generatorFunctions = require("./generators"); - -const { - isProgram, - isFile, - isEmptyStatement -} = _t; -const SCIENTIFIC_NOTATION = /e/i; -const ZERO_DECIMAL_INTEGER = /\.0+$/; -const NON_DECIMAL_LITERAL = /^0[box]/; -const PURE_ANNOTATION_RE = /^\s*[@#]__PURE__\s*$/; -const { - needsParens, - needsWhitespaceAfter, - needsWhitespaceBefore -} = n; - -class Printer { - constructor(format, map) { - this.inForStatementInitCounter = 0; - this._printStack = []; - this._indent = 0; - this._insideAux = false; - this._parenPushNewlineState = null; - this._noLineTerminator = false; - this._printAuxAfterOnNextUserNode = false; - this._printedComments = new WeakSet(); - this._endsWithInteger = false; - this._endsWithWord = false; - this.format = format; - this._buf = new _buffer.default(map); - } - - generate(ast) { - this.print(ast); - - this._maybeAddAuxComment(); - - return this._buf.get(); - } - - indent() { - if (this.format.compact || this.format.concise) return; - this._indent++; - } - - dedent() { - if (this.format.compact || this.format.concise) return; - this._indent--; - } - - semicolon(force = false) { - this._maybeAddAuxComment(); - - this._append(";", !force); - } - - rightBrace() { - if (this.format.minified) { - this._buf.removeLastSemicolon(); - } - - this.token("}"); - } - - space(force = false) { - if (this.format.compact) return; - - if (force) { - this._space(); - } else if (this._buf.hasContent()) { - const lastCp = this.getLastChar(); - - if (lastCp !== 32 && lastCp !== 10) { - this._space(); - } - } - } - - word(str) { - if (this._endsWithWord || this.endsWith(47) && str.charCodeAt(0) === 47) { - this._space(); - } - - this._maybeAddAuxComment(); - - this._append(str); - - this._endsWithWord = true; - } - - number(str) { - this.word(str); - this._endsWithInteger = Number.isInteger(+str) && !NON_DECIMAL_LITERAL.test(str) && !SCIENTIFIC_NOTATION.test(str) && !ZERO_DECIMAL_INTEGER.test(str) && str.charCodeAt(str.length - 1) !== 46; - } - - token(str) { - const lastChar = this.getLastChar(); - const strFirst = str.charCodeAt(0); - - if (str === "--" && lastChar === 33 || strFirst === 43 && lastChar === 43 || strFirst === 45 && lastChar === 45 || strFirst === 46 && this._endsWithInteger) { - this._space(); - } - - this._maybeAddAuxComment(); - - this._append(str); - } - - newline(i = 1) { - if (this.format.retainLines || this.format.compact) return; - - if (this.format.concise) { - this.space(); - return; - } - - const charBeforeNewline = this.endsWithCharAndNewline(); - if (charBeforeNewline === 10) return; - - if (charBeforeNewline === 123 || charBeforeNewline === 58) { - i--; - } - - if (i <= 0) return; - - for (let j = 0; j < i; j++) { - this._newline(); - } - } - - endsWith(char) { - return this.getLastChar() === char; - } - - getLastChar() { - return this._buf.getLastChar(); - } - - endsWithCharAndNewline() { - return this._buf.endsWithCharAndNewline(); - } - - removeTrailingNewline() { - this._buf.removeTrailingNewline(); - } - - exactSource(loc, cb) { - this._catchUp("start", loc); - - this._buf.exactSource(loc, cb); - } - - source(prop, loc) { - this._catchUp(prop, loc); - - this._buf.source(prop, loc); - } - - withSource(prop, loc, cb) { - this._catchUp(prop, loc); - - this._buf.withSource(prop, loc, cb); - } - - _space() { - this._append(" ", true); - } - - _newline() { - this._append("\n", true); - } - - _append(str, queue = false) { - this._maybeAddParen(str); - - this._maybeIndent(str); - - if (queue) this._buf.queue(str);else this._buf.append(str); - this._endsWithWord = false; - this._endsWithInteger = false; - } - - _maybeIndent(str) { - if (this._indent && this.endsWith(10) && str.charCodeAt(0) !== 10) { - this._buf.queue(this._getIndent()); - } - } - - _maybeAddParen(str) { - const parenPushNewlineState = this._parenPushNewlineState; - if (!parenPushNewlineState) return; - let i; - - for (i = 0; i < str.length && str[i] === " "; i++) continue; - - if (i === str.length) { - return; - } - - const cha = str[i]; - - if (cha !== "\n") { - if (cha !== "/" || i + 1 === str.length) { - this._parenPushNewlineState = null; - return; - } - - const chaPost = str[i + 1]; - - if (chaPost === "*") { - if (PURE_ANNOTATION_RE.test(str.slice(i + 2, str.length - 2))) { - return; - } - } else if (chaPost !== "/") { - this._parenPushNewlineState = null; - return; - } - } - - this.token("("); - this.indent(); - parenPushNewlineState.printed = true; - } - - _catchUp(prop, loc) { - if (!this.format.retainLines) return; - const pos = loc ? loc[prop] : null; - - if ((pos == null ? void 0 : pos.line) != null) { - const count = pos.line - this._buf.getCurrentLine(); - - for (let i = 0; i < count; i++) { - this._newline(); - } - } - } - - _getIndent() { - return this.format.indent.style.repeat(this._indent); - } - - startTerminatorless(isLabel = false) { - if (isLabel) { - this._noLineTerminator = true; - return null; - } else { - return this._parenPushNewlineState = { - printed: false - }; - } - } - - endTerminatorless(state) { - this._noLineTerminator = false; - - if (state != null && state.printed) { - this.dedent(); - this.newline(); - this.token(")"); - } - } - - print(node, parent) { - if (!node) return; - const oldConcise = this.format.concise; - - if (node._compact) { - this.format.concise = true; - } - - const printMethod = this[node.type]; - - if (!printMethod) { - throw new ReferenceError(`unknown node of type ${JSON.stringify(node.type)} with constructor ${JSON.stringify(node == null ? void 0 : node.constructor.name)}`); - } - - this._printStack.push(node); - - const oldInAux = this._insideAux; - this._insideAux = !node.loc; - - this._maybeAddAuxComment(this._insideAux && !oldInAux); - - let shouldPrintParens = needsParens(node, parent, this._printStack); - - if (this.format.retainFunctionParens && node.type === "FunctionExpression" && node.extra && node.extra.parenthesized) { - shouldPrintParens = true; - } - - if (shouldPrintParens) this.token("("); - - this._printLeadingComments(node); - - const loc = isProgram(node) || isFile(node) ? null : node.loc; - this.withSource("start", loc, () => { - printMethod.call(this, node, parent); - }); - - this._printTrailingComments(node); - - if (shouldPrintParens) this.token(")"); - - this._printStack.pop(); - - this.format.concise = oldConcise; - this._insideAux = oldInAux; - } - - _maybeAddAuxComment(enteredPositionlessNode) { - if (enteredPositionlessNode) this._printAuxBeforeComment(); - if (!this._insideAux) this._printAuxAfterComment(); - } - - _printAuxBeforeComment() { - if (this._printAuxAfterOnNextUserNode) return; - this._printAuxAfterOnNextUserNode = true; - const comment = this.format.auxiliaryCommentBefore; - - if (comment) { - this._printComment({ - type: "CommentBlock", - value: comment - }); - } - } - - _printAuxAfterComment() { - if (!this._printAuxAfterOnNextUserNode) return; - this._printAuxAfterOnNextUserNode = false; - const comment = this.format.auxiliaryCommentAfter; - - if (comment) { - this._printComment({ - type: "CommentBlock", - value: comment - }); - } - } - - getPossibleRaw(node) { - const extra = node.extra; - - if (extra && extra.raw != null && extra.rawValue != null && node.value === extra.rawValue) { - return extra.raw; - } - } - - printJoin(nodes, parent, opts = {}) { - if (!(nodes != null && nodes.length)) return; - if (opts.indent) this.indent(); - const newlineOpts = { - addNewlines: opts.addNewlines - }; - - for (let i = 0; i < nodes.length; i++) { - const node = nodes[i]; - if (!node) continue; - if (opts.statement) this._printNewline(true, node, parent, newlineOpts); - this.print(node, parent); - - if (opts.iterator) { - opts.iterator(node, i); - } - - if (opts.separator && i < nodes.length - 1) { - opts.separator.call(this); - } - - if (opts.statement) this._printNewline(false, node, parent, newlineOpts); - } - - if (opts.indent) this.dedent(); - } - - printAndIndentOnComments(node, parent) { - const indent = node.leadingComments && node.leadingComments.length > 0; - if (indent) this.indent(); - this.print(node, parent); - if (indent) this.dedent(); - } - - printBlock(parent) { - const node = parent.body; - - if (!isEmptyStatement(node)) { - this.space(); - } - - this.print(node, parent); - } - - _printTrailingComments(node) { - this._printComments(this._getComments(false, node)); - } - - _printLeadingComments(node) { - this._printComments(this._getComments(true, node), true); - } - - printInnerComments(node, indent = true) { - var _node$innerComments; - - if (!((_node$innerComments = node.innerComments) != null && _node$innerComments.length)) return; - if (indent) this.indent(); - - this._printComments(node.innerComments); - - if (indent) this.dedent(); - } - - printSequence(nodes, parent, opts = {}) { - opts.statement = true; - return this.printJoin(nodes, parent, opts); - } - - printList(items, parent, opts = {}) { - if (opts.separator == null) { - opts.separator = commaSeparator; - } - - return this.printJoin(items, parent, opts); - } - - _printNewline(leading, node, parent, opts) { - if (this.format.retainLines || this.format.compact) return; - - if (this.format.concise) { - this.space(); - return; - } - - let lines = 0; - - if (this._buf.hasContent()) { - if (!leading) lines++; - if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0; - const needs = leading ? needsWhitespaceBefore : needsWhitespaceAfter; - if (needs(node, parent)) lines++; - } - - this.newline(Math.min(2, lines)); - } - - _getComments(leading, node) { - return node && (leading ? node.leadingComments : node.trailingComments) || []; - } - - _printComment(comment, skipNewLines) { - if (!this.format.shouldPrintComment(comment.value)) return; - if (comment.ignore) return; - if (this._printedComments.has(comment)) return; - - this._printedComments.add(comment); - - const isBlockComment = comment.type === "CommentBlock"; - const printNewLines = isBlockComment && !skipNewLines && !this._noLineTerminator; - if (printNewLines && this._buf.hasContent()) this.newline(1); - const lastCharCode = this.getLastChar(); - - if (lastCharCode !== 91 && lastCharCode !== 123) { - this.space(); - } - - let val = !isBlockComment && !this._noLineTerminator ? `//${comment.value}\n` : `/*${comment.value}*/`; - - if (isBlockComment && this.format.indent.adjustMultilineComment) { - var _comment$loc; - - const offset = (_comment$loc = comment.loc) == null ? void 0 : _comment$loc.start.column; - - if (offset) { - const newlineRegex = new RegExp("\\n\\s{1," + offset + "}", "g"); - val = val.replace(newlineRegex, "\n"); - } - - const indentSize = Math.max(this._getIndent().length, this.format.retainLines ? 0 : this._buf.getCurrentColumn()); - val = val.replace(/\n(?!$)/g, `\n${" ".repeat(indentSize)}`); - } - - if (this.endsWith(47)) this._space(); - this.withSource("start", comment.loc, () => { - this._append(val); - }); - if (printNewLines) this.newline(1); - } - - _printComments(comments, inlinePureAnnotation) { - if (!(comments != null && comments.length)) return; - - if (inlinePureAnnotation && comments.length === 1 && PURE_ANNOTATION_RE.test(comments[0].value)) { - this._printComment(comments[0], this._buf.hasContent() && !this.endsWith(10)); - } else { - for (const comment of comments) { - this._printComment(comment); - } - } - } - - printAssertions(node) { - var _node$assertions; - - if ((_node$assertions = node.assertions) != null && _node$assertions.length) { - this.space(); - this.word("assert"); - this.space(); - this.token("{"); - this.space(); - this.printList(node.assertions, node); - this.space(); - this.token("}"); - } - } - -} - -Object.assign(Printer.prototype, generatorFunctions); -{ - Printer.prototype.Noop = function Noop() {}; -} -var _default = Printer; -exports.default = _default; - -function commaSeparator() { - this.token(","); - this.space(); -} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/source-map.js b/node_modules/@babel/generator/lib/source-map.js deleted file mode 100644 index 99da1de..0000000 --- a/node_modules/@babel/generator/lib/source-map.js +++ /dev/null @@ -1,78 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _sourceMap = require("source-map"); - -class SourceMap { - constructor(opts, code) { - this._cachedMap = void 0; - this._code = void 0; - this._opts = void 0; - this._rawMappings = void 0; - this._lastGenLine = void 0; - this._lastSourceLine = void 0; - this._lastSourceColumn = void 0; - this._cachedMap = null; - this._code = code; - this._opts = opts; - this._rawMappings = []; - } - - get() { - if (!this._cachedMap) { - const map = this._cachedMap = new _sourceMap.SourceMapGenerator({ - sourceRoot: this._opts.sourceRoot - }); - const code = this._code; - - if (typeof code === "string") { - map.setSourceContent(this._opts.sourceFileName.replace(/\\/g, "/"), code); - } else if (typeof code === "object") { - Object.keys(code).forEach(sourceFileName => { - map.setSourceContent(sourceFileName.replace(/\\/g, "/"), code[sourceFileName]); - }); - } - - this._rawMappings.forEach(mapping => map.addMapping(mapping), map); - } - - return this._cachedMap.toJSON(); - } - - getRawMappings() { - return this._rawMappings.slice(); - } - - mark(generatedLine, generatedColumn, line, column, identifierName, filename, force) { - if (this._lastGenLine !== generatedLine && line === null) return; - - if (!force && this._lastGenLine === generatedLine && this._lastSourceLine === line && this._lastSourceColumn === column) { - return; - } - - this._cachedMap = null; - this._lastGenLine = generatedLine; - this._lastSourceLine = line; - this._lastSourceColumn = column; - - this._rawMappings.push({ - name: identifierName || undefined, - generated: { - line: generatedLine, - column: generatedColumn - }, - source: line == null ? undefined : (filename || this._opts.sourceFileName).replace(/\\/g, "/"), - original: line == null ? undefined : { - line: line, - column: column - } - }); - } - -} - -exports.default = SourceMap; \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/.bin/jsesc b/node_modules/@babel/generator/node_modules/.bin/jsesc deleted file mode 120000 index dac89cf..0000000 --- a/node_modules/@babel/generator/node_modules/.bin/jsesc +++ /dev/null @@ -1 +0,0 @@ -../../../../jsesc/bin/jsesc \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md b/node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md deleted file mode 100644 index 3a8c066..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/CHANGELOG.md +++ /dev/null @@ -1,301 +0,0 @@ -# Change Log - -## 0.5.6 - -* Fix for regression when people were using numbers as names in source maps. See - #236. - -## 0.5.5 - -* Fix "regression" of unsupported, implementation behavior that half the world - happens to have come to depend on. See #235. - -* Fix regression involving function hoisting in SpiderMonkey. See #233. - -## 0.5.4 - -* Large performance improvements to source-map serialization. See #228 and #229. - -## 0.5.3 - -* Do not include unnecessary distribution files. See - commit ef7006f8d1647e0a83fdc60f04f5a7ca54886f86. - -## 0.5.2 - -* Include browser distributions of the library in package.json's `files`. See - issue #212. - -## 0.5.1 - -* Fix latent bugs in IndexedSourceMapConsumer.prototype._parseMappings. See - ff05274becc9e6e1295ed60f3ea090d31d843379. - -## 0.5.0 - -* Node 0.8 is no longer supported. - -* Use webpack instead of dryice for bundling. - -* Big speedups serializing source maps. See pull request #203. - -* Fix a bug with `SourceMapConsumer.prototype.sourceContentFor` and sources that - explicitly start with the source root. See issue #199. - -## 0.4.4 - -* Fix an issue where using a `SourceMapGenerator` after having created a - `SourceMapConsumer` from it via `SourceMapConsumer.fromSourceMap` failed. See - issue #191. - -* Fix an issue with where `SourceMapGenerator` would mistakenly consider - different mappings as duplicates of each other and avoid generating them. See - issue #192. - -## 0.4.3 - -* A very large number of performance improvements, particularly when parsing - source maps. Collectively about 75% of time shaved off of the source map - parsing benchmark! - -* Fix a bug in `SourceMapConsumer.prototype.allGeneratedPositionsFor` and fuzzy - searching in the presence of a column option. See issue #177. - -* Fix a bug with joining a source and its source root when the source is above - the root. See issue #182. - -* Add the `SourceMapConsumer.prototype.hasContentsOfAllSources` method to - determine when all sources' contents are inlined into the source map. See - issue #190. - -## 0.4.2 - -* Add an `.npmignore` file so that the benchmarks aren't pulled down by - dependent projects. Issue #169. - -* Add an optional `column` argument to - `SourceMapConsumer.prototype.allGeneratedPositionsFor` and better handle lines - with no mappings. Issues #172 and #173. - -## 0.4.1 - -* Fix accidentally defining a global variable. #170. - -## 0.4.0 - -* The default direction for fuzzy searching was changed back to its original - direction. See #164. - -* There is now a `bias` option you can supply to `SourceMapConsumer` to control - the fuzzy searching direction. See #167. - -* About an 8% speed up in parsing source maps. See #159. - -* Added a benchmark for parsing and generating source maps. - -## 0.3.0 - -* Change the default direction that searching for positions fuzzes when there is - not an exact match. See #154. - -* Support for environments using json2.js for JSON serialization. See #156. - -## 0.2.0 - -* Support for consuming "indexed" source maps which do not have any remote - sections. See pull request #127. This introduces a minor backwards - incompatibility if you are monkey patching `SourceMapConsumer.prototype` - methods. - -## 0.1.43 - -* Performance improvements for `SourceMapGenerator` and `SourceNode`. See issue - #148 for some discussion and issues #150, #151, and #152 for implementations. - -## 0.1.42 - -* Fix an issue where `SourceNode`s from different versions of the source-map - library couldn't be used in conjunction with each other. See issue #142. - -## 0.1.41 - -* Fix a bug with getting the source content of relative sources with a "./" - prefix. See issue #145 and [Bug 1090768](bugzil.la/1090768). - -* Add the `SourceMapConsumer.prototype.computeColumnSpans` method to compute the - column span of each mapping. - -* Add the `SourceMapConsumer.prototype.allGeneratedPositionsFor` method to find - all generated positions associated with a given original source and line. - -## 0.1.40 - -* Performance improvements for parsing source maps in SourceMapConsumer. - -## 0.1.39 - -* Fix a bug where setting a source's contents to null before any source content - had been set before threw a TypeError. See issue #131. - -## 0.1.38 - -* Fix a bug where finding relative paths from an empty path were creating - absolute paths. See issue #129. - -## 0.1.37 - -* Fix a bug where if the source root was an empty string, relative source paths - would turn into absolute source paths. Issue #124. - -## 0.1.36 - -* Allow the `names` mapping property to be an empty string. Issue #121. - -## 0.1.35 - -* A third optional parameter was added to `SourceNode.fromStringWithSourceMap` - to specify a path that relative sources in the second parameter should be - relative to. Issue #105. - -* If no file property is given to a `SourceMapGenerator`, then the resulting - source map will no longer have a `null` file property. The property will - simply not exist. Issue #104. - -* Fixed a bug where consecutive newlines were ignored in `SourceNode`s. - Issue #116. - -## 0.1.34 - -* Make `SourceNode` work with windows style ("\r\n") newlines. Issue #103. - -* Fix bug involving source contents and the - `SourceMapGenerator.prototype.applySourceMap`. Issue #100. - -## 0.1.33 - -* Fix some edge cases surrounding path joining and URL resolution. - -* Add a third parameter for relative path to - `SourceMapGenerator.prototype.applySourceMap`. - -* Fix issues with mappings and EOLs. - -## 0.1.32 - -* Fixed a bug where SourceMapConsumer couldn't handle negative relative columns - (issue 92). - -* Fixed test runner to actually report number of failed tests as its process - exit code. - -* Fixed a typo when reporting bad mappings (issue 87). - -## 0.1.31 - -* Delay parsing the mappings in SourceMapConsumer until queried for a source - location. - -* Support Sass source maps (which at the time of writing deviate from the spec - in small ways) in SourceMapConsumer. - -## 0.1.30 - -* Do not join source root with a source, when the source is a data URI. - -* Extend the test runner to allow running single specific test files at a time. - -* Performance improvements in `SourceNode.prototype.walk` and - `SourceMapConsumer.prototype.eachMapping`. - -* Source map browser builds will now work inside Workers. - -* Better error messages when attempting to add an invalid mapping to a - `SourceMapGenerator`. - -## 0.1.29 - -* Allow duplicate entries in the `names` and `sources` arrays of source maps - (usually from TypeScript) we are parsing. Fixes github issue 72. - -## 0.1.28 - -* Skip duplicate mappings when creating source maps from SourceNode; github - issue 75. - -## 0.1.27 - -* Don't throw an error when the `file` property is missing in SourceMapConsumer, - we don't use it anyway. - -## 0.1.26 - -* Fix SourceNode.fromStringWithSourceMap for empty maps. Fixes github issue 70. - -## 0.1.25 - -* Make compatible with browserify - -## 0.1.24 - -* Fix issue with absolute paths and `file://` URIs. See - https://bugzilla.mozilla.org/show_bug.cgi?id=885597 - -## 0.1.23 - -* Fix issue with absolute paths and sourcesContent, github issue 64. - -## 0.1.22 - -* Ignore duplicate mappings in SourceMapGenerator. Fixes github issue 21. - -## 0.1.21 - -* Fixed handling of sources that start with a slash so that they are relative to - the source root's host. - -## 0.1.20 - -* Fixed github issue #43: absolute URLs aren't joined with the source root - anymore. - -## 0.1.19 - -* Using Travis CI to run tests. - -## 0.1.18 - -* Fixed a bug in the handling of sourceRoot. - -## 0.1.17 - -* Added SourceNode.fromStringWithSourceMap. - -## 0.1.16 - -* Added missing documentation. - -* Fixed the generating of empty mappings in SourceNode. - -## 0.1.15 - -* Added SourceMapGenerator.applySourceMap. - -## 0.1.14 - -* The sourceRoot is now handled consistently. - -## 0.1.13 - -* Added SourceMapGenerator.fromSourceMap. - -## 0.1.12 - -* SourceNode now generates empty mappings too. - -## 0.1.11 - -* Added name support to SourceNode. - -## 0.1.10 - -* Added sourcesContent support to the customer and generator. diff --git a/node_modules/@babel/generator/node_modules/source-map/LICENSE b/node_modules/@babel/generator/node_modules/source-map/LICENSE deleted file mode 100644 index ed1b7cf..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ - -Copyright (c) 2009-2011, Mozilla Foundation and contributors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the names of the Mozilla Foundation nor the names of project - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@babel/generator/node_modules/source-map/README.md b/node_modules/@babel/generator/node_modules/source-map/README.md deleted file mode 100644 index 3281339..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/README.md +++ /dev/null @@ -1,729 +0,0 @@ -# Source Map - -[![Build Status](https://travis-ci.org/mozilla/source-map.png?branch=master)](https://travis-ci.org/mozilla/source-map) - -[![NPM](https://nodei.co/npm/source-map.png?downloads=true&downloadRank=true)](https://www.npmjs.com/package/source-map) - -This is a library to generate and consume the source map format -[described here][format]. - -[format]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit - -## Use with Node - - $ npm install source-map - -## Use on the Web - - - --------------------------------------------------------------------------------- - - - - - -## Table of Contents - -- [Examples](#examples) - - [Consuming a source map](#consuming-a-source-map) - - [Generating a source map](#generating-a-source-map) - - [With SourceNode (high level API)](#with-sourcenode-high-level-api) - - [With SourceMapGenerator (low level API)](#with-sourcemapgenerator-low-level-api) -- [API](#api) - - [SourceMapConsumer](#sourcemapconsumer) - - [new SourceMapConsumer(rawSourceMap)](#new-sourcemapconsumerrawsourcemap) - - [SourceMapConsumer.prototype.computeColumnSpans()](#sourcemapconsumerprototypecomputecolumnspans) - - [SourceMapConsumer.prototype.originalPositionFor(generatedPosition)](#sourcemapconsumerprototypeoriginalpositionforgeneratedposition) - - [SourceMapConsumer.prototype.generatedPositionFor(originalPosition)](#sourcemapconsumerprototypegeneratedpositionfororiginalposition) - - [SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition)](#sourcemapconsumerprototypeallgeneratedpositionsfororiginalposition) - - [SourceMapConsumer.prototype.hasContentsOfAllSources()](#sourcemapconsumerprototypehascontentsofallsources) - - [SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing])](#sourcemapconsumerprototypesourcecontentforsource-returnnullonmissing) - - [SourceMapConsumer.prototype.eachMapping(callback, context, order)](#sourcemapconsumerprototypeeachmappingcallback-context-order) - - [SourceMapGenerator](#sourcemapgenerator) - - [new SourceMapGenerator([startOfSourceMap])](#new-sourcemapgeneratorstartofsourcemap) - - [SourceMapGenerator.fromSourceMap(sourceMapConsumer)](#sourcemapgeneratorfromsourcemapsourcemapconsumer) - - [SourceMapGenerator.prototype.addMapping(mapping)](#sourcemapgeneratorprototypeaddmappingmapping) - - [SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent)](#sourcemapgeneratorprototypesetsourcecontentsourcefile-sourcecontent) - - [SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]])](#sourcemapgeneratorprototypeapplysourcemapsourcemapconsumer-sourcefile-sourcemappath) - - [SourceMapGenerator.prototype.toString()](#sourcemapgeneratorprototypetostring) - - [SourceNode](#sourcenode) - - [new SourceNode([line, column, source[, chunk[, name]]])](#new-sourcenodeline-column-source-chunk-name) - - [SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath])](#sourcenodefromstringwithsourcemapcode-sourcemapconsumer-relativepath) - - [SourceNode.prototype.add(chunk)](#sourcenodeprototypeaddchunk) - - [SourceNode.prototype.prepend(chunk)](#sourcenodeprototypeprependchunk) - - [SourceNode.prototype.setSourceContent(sourceFile, sourceContent)](#sourcenodeprototypesetsourcecontentsourcefile-sourcecontent) - - [SourceNode.prototype.walk(fn)](#sourcenodeprototypewalkfn) - - [SourceNode.prototype.walkSourceContents(fn)](#sourcenodeprototypewalksourcecontentsfn) - - [SourceNode.prototype.join(sep)](#sourcenodeprototypejoinsep) - - [SourceNode.prototype.replaceRight(pattern, replacement)](#sourcenodeprototypereplacerightpattern-replacement) - - [SourceNode.prototype.toString()](#sourcenodeprototypetostring) - - [SourceNode.prototype.toStringWithSourceMap([startOfSourceMap])](#sourcenodeprototypetostringwithsourcemapstartofsourcemap) - - - -## Examples - -### Consuming a source map - -```js -var rawSourceMap = { - version: 3, - file: 'min.js', - names: ['bar', 'baz', 'n'], - sources: ['one.js', 'two.js'], - sourceRoot: 'http://example.com/www/js/', - mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA' -}; - -var smc = new SourceMapConsumer(rawSourceMap); - -console.log(smc.sources); -// [ 'http://example.com/www/js/one.js', -// 'http://example.com/www/js/two.js' ] - -console.log(smc.originalPositionFor({ - line: 2, - column: 28 -})); -// { source: 'http://example.com/www/js/two.js', -// line: 2, -// column: 10, -// name: 'n' } - -console.log(smc.generatedPositionFor({ - source: 'http://example.com/www/js/two.js', - line: 2, - column: 10 -})); -// { line: 2, column: 28 } - -smc.eachMapping(function (m) { - // ... -}); -``` - -### Generating a source map - -In depth guide: -[**Compiling to JavaScript, and Debugging with Source Maps**](https://hacks.mozilla.org/2013/05/compiling-to-javascript-and-debugging-with-source-maps/) - -#### With SourceNode (high level API) - -```js -function compile(ast) { - switch (ast.type) { - case 'BinaryExpression': - return new SourceNode( - ast.location.line, - ast.location.column, - ast.location.source, - [compile(ast.left), " + ", compile(ast.right)] - ); - case 'Literal': - return new SourceNode( - ast.location.line, - ast.location.column, - ast.location.source, - String(ast.value) - ); - // ... - default: - throw new Error("Bad AST"); - } -} - -var ast = parse("40 + 2", "add.js"); -console.log(compile(ast).toStringWithSourceMap({ - file: 'add.js' -})); -// { code: '40 + 2', -// map: [object SourceMapGenerator] } -``` - -#### With SourceMapGenerator (low level API) - -```js -var map = new SourceMapGenerator({ - file: "source-mapped.js" -}); - -map.addMapping({ - generated: { - line: 10, - column: 35 - }, - source: "foo.js", - original: { - line: 33, - column: 2 - }, - name: "christopher" -}); - -console.log(map.toString()); -// '{"version":3,"file":"source-mapped.js","sources":["foo.js"],"names":["christopher"],"mappings":";;;;;;;;;mCAgCEA"}' -``` - -## API - -Get a reference to the module: - -```js -// Node.js -var sourceMap = require('source-map'); - -// Browser builds -var sourceMap = window.sourceMap; - -// Inside Firefox -const sourceMap = require("devtools/toolkit/sourcemap/source-map.js"); -``` - -### SourceMapConsumer - -A SourceMapConsumer instance represents a parsed source map which we can query -for information about the original file positions by giving it a file position -in the generated source. - -#### new SourceMapConsumer(rawSourceMap) - -The only parameter is the raw source map (either as a string which can be -`JSON.parse`'d, or an object). According to the spec, source maps have the -following attributes: - -* `version`: Which version of the source map spec this map is following. - -* `sources`: An array of URLs to the original source files. - -* `names`: An array of identifiers which can be referenced by individual - mappings. - -* `sourceRoot`: Optional. The URL root from which all sources are relative. - -* `sourcesContent`: Optional. An array of contents of the original source files. - -* `mappings`: A string of base64 VLQs which contain the actual mappings. - -* `file`: Optional. The generated filename this source map is associated with. - -```js -var consumer = new sourceMap.SourceMapConsumer(rawSourceMapJsonData); -``` - -#### SourceMapConsumer.prototype.computeColumnSpans() - -Compute the last column for each generated mapping. The last column is -inclusive. - -```js -// Before: -consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1 }, -// { line: 2, -// column: 10 }, -// { line: 2, -// column: 20 } ] - -consumer.computeColumnSpans(); - -// After: -consumer.allGeneratedPositionsFor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1, -// lastColumn: 9 }, -// { line: 2, -// column: 10, -// lastColumn: 19 }, -// { line: 2, -// column: 20, -// lastColumn: Infinity } ] - -``` - -#### SourceMapConsumer.prototype.originalPositionFor(generatedPosition) - -Returns the original source, line, and column information for the generated -source's line and column positions provided. The only argument is an object with -the following properties: - -* `line`: The line number in the generated source. - -* `column`: The column number in the generated source. - -* `bias`: Either `SourceMapConsumer.GREATEST_LOWER_BOUND` or - `SourceMapConsumer.LEAST_UPPER_BOUND`. Specifies whether to return the closest - element that is smaller than or greater than the one we are searching for, - respectively, if the exact element cannot be found. Defaults to - `SourceMapConsumer.GREATEST_LOWER_BOUND`. - -and an object is returned with the following properties: - -* `source`: The original source file, or null if this information is not - available. - -* `line`: The line number in the original source, or null if this information is - not available. - -* `column`: The column number in the original source, or null if this - information is not available. - -* `name`: The original identifier, or null if this information is not available. - -```js -consumer.originalPositionFor({ line: 2, column: 10 }) -// { source: 'foo.coffee', -// line: 2, -// column: 2, -// name: null } - -consumer.originalPositionFor({ line: 99999999999999999, column: 999999999999999 }) -// { source: null, -// line: null, -// column: null, -// name: null } -``` - -#### SourceMapConsumer.prototype.generatedPositionFor(originalPosition) - -Returns the generated line and column information for the original source, -line, and column positions provided. The only argument is an object with -the following properties: - -* `source`: The filename of the original source. - -* `line`: The line number in the original source. - -* `column`: The column number in the original source. - -and an object is returned with the following properties: - -* `line`: The line number in the generated source, or null. - -* `column`: The column number in the generated source, or null. - -```js -consumer.generatedPositionFor({ source: "example.js", line: 2, column: 10 }) -// { line: 1, -// column: 56 } -``` - -#### SourceMapConsumer.prototype.allGeneratedPositionsFor(originalPosition) - -Returns all generated line and column information for the original source, line, -and column provided. If no column is provided, returns all mappings -corresponding to a either the line we are searching for or the next closest line -that has any mappings. Otherwise, returns all mappings corresponding to the -given line and either the column we are searching for or the next closest column -that has any offsets. - -The only argument is an object with the following properties: - -* `source`: The filename of the original source. - -* `line`: The line number in the original source. - -* `column`: Optional. The column number in the original source. - -and an array of objects is returned, each with the following properties: - -* `line`: The line number in the generated source, or null. - -* `column`: The column number in the generated source, or null. - -```js -consumer.allGeneratedpositionsfor({ line: 2, source: "foo.coffee" }) -// [ { line: 2, -// column: 1 }, -// { line: 2, -// column: 10 }, -// { line: 2, -// column: 20 } ] -``` - -#### SourceMapConsumer.prototype.hasContentsOfAllSources() - -Return true if we have the embedded source content for every source listed in -the source map, false otherwise. - -In other words, if this method returns `true`, then -`consumer.sourceContentFor(s)` will succeed for every source `s` in -`consumer.sources`. - -```js -// ... -if (consumer.hasContentsOfAllSources()) { - consumerReadyCallback(consumer); -} else { - fetchSources(consumer, consumerReadyCallback); -} -// ... -``` - -#### SourceMapConsumer.prototype.sourceContentFor(source[, returnNullOnMissing]) - -Returns the original source content for the source provided. The only -argument is the URL of the original source file. - -If the source content for the given source is not found, then an error is -thrown. Optionally, pass `true` as the second param to have `null` returned -instead. - -```js -consumer.sources -// [ "my-cool-lib.clj" ] - -consumer.sourceContentFor("my-cool-lib.clj") -// "..." - -consumer.sourceContentFor("this is not in the source map"); -// Error: "this is not in the source map" is not in the source map - -consumer.sourceContentFor("this is not in the source map", true); -// null -``` - -#### SourceMapConsumer.prototype.eachMapping(callback, context, order) - -Iterate over each mapping between an original source/line/column and a -generated line/column in this source map. - -* `callback`: The function that is called with each mapping. Mappings have the - form `{ source, generatedLine, generatedColumn, originalLine, originalColumn, - name }` - -* `context`: Optional. If specified, this object will be the value of `this` - every time that `callback` is called. - -* `order`: Either `SourceMapConsumer.GENERATED_ORDER` or - `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to iterate over - the mappings sorted by the generated file's line/column order or the - original's source/line/column order, respectively. Defaults to - `SourceMapConsumer.GENERATED_ORDER`. - -```js -consumer.eachMapping(function (m) { console.log(m); }) -// ... -// { source: 'illmatic.js', -// generatedLine: 1, -// generatedColumn: 0, -// originalLine: 1, -// originalColumn: 0, -// name: null } -// { source: 'illmatic.js', -// generatedLine: 2, -// generatedColumn: 0, -// originalLine: 2, -// originalColumn: 0, -// name: null } -// ... -``` -### SourceMapGenerator - -An instance of the SourceMapGenerator represents a source map which is being -built incrementally. - -#### new SourceMapGenerator([startOfSourceMap]) - -You may pass an object with the following properties: - -* `file`: The filename of the generated source that this source map is - associated with. - -* `sourceRoot`: A root for all relative URLs in this source map. - -* `skipValidation`: Optional. When `true`, disables validation of mappings as - they are added. This can improve performance but should be used with - discretion, as a last resort. Even then, one should avoid using this flag when - running tests, if possible. - -```js -var generator = new sourceMap.SourceMapGenerator({ - file: "my-generated-javascript-file.js", - sourceRoot: "http://example.com/app/js/" -}); -``` - -#### SourceMapGenerator.fromSourceMap(sourceMapConsumer) - -Creates a new `SourceMapGenerator` from an existing `SourceMapConsumer` instance. - -* `sourceMapConsumer` The SourceMap. - -```js -var generator = sourceMap.SourceMapGenerator.fromSourceMap(consumer); -``` - -#### SourceMapGenerator.prototype.addMapping(mapping) - -Add a single mapping from original source line and column to the generated -source's line and column for this source map being created. The mapping object -should have the following properties: - -* `generated`: An object with the generated line and column positions. - -* `original`: An object with the original line and column positions. - -* `source`: The original source file (relative to the sourceRoot). - -* `name`: An optional original token name for this mapping. - -```js -generator.addMapping({ - source: "module-one.scm", - original: { line: 128, column: 0 }, - generated: { line: 3, column: 456 } -}) -``` - -#### SourceMapGenerator.prototype.setSourceContent(sourceFile, sourceContent) - -Set the source content for an original source file. - -* `sourceFile` the URL of the original source file. - -* `sourceContent` the content of the source file. - -```js -generator.setSourceContent("module-one.scm", - fs.readFileSync("path/to/module-one.scm")) -``` - -#### SourceMapGenerator.prototype.applySourceMap(sourceMapConsumer[, sourceFile[, sourceMapPath]]) - -Applies a SourceMap for a source file to the SourceMap. -Each mapping to the supplied source file is rewritten using the -supplied SourceMap. Note: The resolution for the resulting mappings -is the minimum of this map and the supplied map. - -* `sourceMapConsumer`: The SourceMap to be applied. - -* `sourceFile`: Optional. The filename of the source file. - If omitted, sourceMapConsumer.file will be used, if it exists. - Otherwise an error will be thrown. - -* `sourceMapPath`: Optional. The dirname of the path to the SourceMap - to be applied. If relative, it is relative to the SourceMap. - - This parameter is needed when the two SourceMaps aren't in the same - directory, and the SourceMap to be applied contains relative source - paths. If so, those relative source paths need to be rewritten - relative to the SourceMap. - - If omitted, it is assumed that both SourceMaps are in the same directory, - thus not needing any rewriting. (Supplying `'.'` has the same effect.) - -#### SourceMapGenerator.prototype.toString() - -Renders the source map being generated to a string. - -```js -generator.toString() -// '{"version":3,"sources":["module-one.scm"],"names":[],"mappings":"...snip...","file":"my-generated-javascript-file.js","sourceRoot":"http://example.com/app/js/"}' -``` - -### SourceNode - -SourceNodes provide a way to abstract over interpolating and/or concatenating -snippets of generated JavaScript source code, while maintaining the line and -column information associated between those snippets and the original source -code. This is useful as the final intermediate representation a compiler might -use before outputting the generated JS and source map. - -#### new SourceNode([line, column, source[, chunk[, name]]]) - -* `line`: The original line number associated with this source node, or null if - it isn't associated with an original line. - -* `column`: The original column number associated with this source node, or null - if it isn't associated with an original column. - -* `source`: The original source's filename; null if no filename is provided. - -* `chunk`: Optional. Is immediately passed to `SourceNode.prototype.add`, see - below. - -* `name`: Optional. The original identifier. - -```js -var node = new SourceNode(1, 2, "a.cpp", [ - new SourceNode(3, 4, "b.cpp", "extern int status;\n"), - new SourceNode(5, 6, "c.cpp", "std::string* make_string(size_t n);\n"), - new SourceNode(7, 8, "d.cpp", "int main(int argc, char** argv) {}\n"), -]); -``` - -#### SourceNode.fromStringWithSourceMap(code, sourceMapConsumer[, relativePath]) - -Creates a SourceNode from generated code and a SourceMapConsumer. - -* `code`: The generated code - -* `sourceMapConsumer` The SourceMap for the generated code - -* `relativePath` The optional path that relative sources in `sourceMapConsumer` - should be relative to. - -```js -var consumer = new SourceMapConsumer(fs.readFileSync("path/to/my-file.js.map", "utf8")); -var node = SourceNode.fromStringWithSourceMap(fs.readFileSync("path/to/my-file.js"), - consumer); -``` - -#### SourceNode.prototype.add(chunk) - -Add a chunk of generated JS to this source node. - -* `chunk`: A string snippet of generated JS code, another instance of - `SourceNode`, or an array where each member is one of those things. - -```js -node.add(" + "); -node.add(otherNode); -node.add([leftHandOperandNode, " + ", rightHandOperandNode]); -``` - -#### SourceNode.prototype.prepend(chunk) - -Prepend a chunk of generated JS to this source node. - -* `chunk`: A string snippet of generated JS code, another instance of - `SourceNode`, or an array where each member is one of those things. - -```js -node.prepend("/** Build Id: f783haef86324gf **/\n\n"); -``` - -#### SourceNode.prototype.setSourceContent(sourceFile, sourceContent) - -Set the source content for a source file. This will be added to the -`SourceMap` in the `sourcesContent` field. - -* `sourceFile`: The filename of the source file - -* `sourceContent`: The content of the source file - -```js -node.setSourceContent("module-one.scm", - fs.readFileSync("path/to/module-one.scm")) -``` - -#### SourceNode.prototype.walk(fn) - -Walk over the tree of JS snippets in this node and its children. The walking -function is called once for each snippet of JS and is passed that snippet and -the its original associated source's line/column location. - -* `fn`: The traversal function. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.walk(function (code, loc) { console.log("WALK:", code, loc); }) -// WALK: uno { source: 'b.js', line: 3, column: 4, name: null } -// WALK: dos { source: 'a.js', line: 1, column: 2, name: null } -// WALK: tres { source: 'a.js', line: 1, column: 2, name: null } -// WALK: quatro { source: 'c.js', line: 5, column: 6, name: null } -``` - -#### SourceNode.prototype.walkSourceContents(fn) - -Walk over the tree of SourceNodes. The walking function is called for each -source file content and is passed the filename and source content. - -* `fn`: The traversal function. - -```js -var a = new SourceNode(1, 2, "a.js", "generated from a"); -a.setSourceContent("a.js", "original a"); -var b = new SourceNode(1, 2, "b.js", "generated from b"); -b.setSourceContent("b.js", "original b"); -var c = new SourceNode(1, 2, "c.js", "generated from c"); -c.setSourceContent("c.js", "original c"); - -var node = new SourceNode(null, null, null, [a, b, c]); -node.walkSourceContents(function (source, contents) { console.log("WALK:", source, ":", contents); }) -// WALK: a.js : original a -// WALK: b.js : original b -// WALK: c.js : original c -``` - -#### SourceNode.prototype.join(sep) - -Like `Array.prototype.join` except for SourceNodes. Inserts the separator -between each of this source node's children. - -* `sep`: The separator. - -```js -var lhs = new SourceNode(1, 2, "a.rs", "my_copy"); -var operand = new SourceNode(3, 4, "a.rs", "="); -var rhs = new SourceNode(5, 6, "a.rs", "orig.clone()"); - -var node = new SourceNode(null, null, null, [ lhs, operand, rhs ]); -var joinedNode = node.join(" "); -``` - -#### SourceNode.prototype.replaceRight(pattern, replacement) - -Call `String.prototype.replace` on the very right-most source snippet. Useful -for trimming white space from the end of a source node, etc. - -* `pattern`: The pattern to replace. - -* `replacement`: The thing to replace the pattern with. - -```js -// Trim trailing white space. -node.replaceRight(/\s*$/, ""); -``` - -#### SourceNode.prototype.toString() - -Return the string representation of this source node. Walks over the tree and -concatenates all the various snippets together to one string. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.toString() -// 'unodostresquatro' -``` - -#### SourceNode.prototype.toStringWithSourceMap([startOfSourceMap]) - -Returns the string representation of this tree of source nodes, plus a -SourceMapGenerator which contains all the mappings between the generated and -original sources. - -The arguments are the same as those to `new SourceMapGenerator`. - -```js -var node = new SourceNode(1, 2, "a.js", [ - new SourceNode(3, 4, "b.js", "uno"), - "dos", - [ - "tres", - new SourceNode(5, 6, "c.js", "quatro") - ] -]); - -node.toStringWithSourceMap({ file: "my-output-file.js" }) -// { code: 'unodostresquatro', -// map: [object SourceMapGenerator] } -``` diff --git a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js b/node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js deleted file mode 100644 index b5ab638..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.debug.js +++ /dev/null @@ -1,3091 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["sourceMap"] = factory(); - else - root["sourceMap"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; -/******/ -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ - exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer; - exports.SourceNode = __webpack_require__(10).SourceNode; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var base64VLQ = __webpack_require__(2); - var util = __webpack_require__(4); - var ArraySet = __webpack_require__(5).ArraySet; - var MappingList = __webpack_require__(6).MappingList; - - /** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ - function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; - } - - SourceMapGenerator.prototype._version = 3; - - /** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ - SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - - /** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ - SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - - /** - * Set the source content for a source file. - */ - SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - - /** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ - SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - - /** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ - SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - - /** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ - SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - - SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - - /** - * Externalize the source map. - */ - SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - - /** - * Render the source map being generated to a string. - */ - SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - - exports.SourceMapGenerator = SourceMapGenerator; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - var base64 = __webpack_require__(3); - - // A single base 64 digit can contain 6 bits of data. For the base 64 variable - // length quantities we use in the source map spec, the first bit is the sign, - // the next four bits are the actual value, and the 6th bit is the - // continuation bit. The continuation bit tells us whether there are more - // digits in this value following this digit. - // - // Continuation - // | Sign - // | | - // V V - // 101011 - - var VLQ_BASE_SHIFT = 5; - - // binary: 100000 - var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - - // binary: 011111 - var VLQ_BASE_MASK = VLQ_BASE - 1; - - // binary: 100000 - var VLQ_CONTINUATION_BIT = VLQ_BASE; - - /** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ - function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; - } - - /** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ - function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; - } - - /** - * Returns the base 64 VLQ encoded value. - */ - exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; - }; - - /** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ - exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; - }; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - - /** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ - exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); - }; - - /** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ - exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; - }; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - /** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ - function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } - } - exports.getArg = getArg; - - var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; - var dataUrlRegexp = /^data:.+\,.+$/; - - function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; - } - exports.urlParse = urlParse; - - function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; - } - exports.urlGenerate = urlGenerate; - - /** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ - function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; - } - exports.normalize = normalize; - - /** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ - function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; - } - exports.join = join; - - exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); - }; - - /** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ - function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); - } - exports.relative = relative; - - var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); - }()); - - function identity (s) { - return s; - } - - /** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ - function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; - } - exports.toSetString = supportsNullProto ? identity : toSetString; - - function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; - } - exports.fromSetString = supportsNullProto ? identity : fromSetString; - - function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; - } - - /** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ - function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByOriginalPositions = compareByOriginalPositions; - - /** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ - function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - - function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; - } - - /** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ - function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); - } - exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; - - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var has = Object.prototype.hasOwnProperty; - var hasNativeMap = typeof Map !== "undefined"; - - /** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ - function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); - } - - /** - * Static method for creating ArraySet instances from an existing array. - */ - ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; - }; - - /** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ - ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; - }; - - /** - * Add the given string to this set. - * - * @param String aStr - */ - ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } - }; - - /** - * Is the given string a member of this set? - * - * @param String aStr - */ - ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } - }; - - /** - * What is the index of the given string in the array? - * - * @param String aStr - */ - ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); - }; - - /** - * What is the element at the given index? - * - * @param Number aIdx - */ - ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); - }; - - /** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ - ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); - }; - - exports.ArraySet = ArraySet; - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - - /** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ - function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; - } - - /** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ - function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; - } - - /** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ - MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - - /** - * Add the given source mapping. - * - * @param Object aMapping - */ - MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } - }; - - /** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ - MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; - }; - - exports.MappingList = MappingList; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var binarySearch = __webpack_require__(8); - var ArraySet = __webpack_require__(5).ArraySet; - var base64VLQ = __webpack_require__(2); - var quickSort = __webpack_require__(9).quickSort; - - function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); - } - - SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); - } - - /** - * The version of the source mapping spec that we are consuming. - */ - SourceMapConsumer.prototype._version = 3; - - // `__generatedMappings` and `__originalMappings` are arrays that hold the - // parsed mapping coordinates from the source map's "mappings" attribute. They - // are lazily instantiated, accessed via the `_generatedMappings` and - // `_originalMappings` getters respectively, and we only parse the mappings - // and create these arrays once queried for a source location. We jump through - // these hoops because there can be many thousands of mappings, and parsing - // them is expensive, so we only want to do it if we must. - // - // Each object in the arrays is of the form: - // - // { - // generatedLine: The line number in the generated code, - // generatedColumn: The column number in the generated code, - // source: The path to the original source file that generated this - // chunk of code, - // originalLine: The line number in the original source that - // corresponds to this chunk of generated code, - // originalColumn: The column number in the original source that - // corresponds to this chunk of generated code, - // name: The name of the original symbol which generated this chunk of - // code. - // } - // - // All properties except for `generatedLine` and `generatedColumn` can be - // `null`. - // - // `_generatedMappings` is ordered by the generated positions. - // - // `_originalMappings` is ordered by the original positions. - - SourceMapConsumer.prototype.__generatedMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } - }); - - SourceMapConsumer.prototype.__originalMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } - }); - - SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - - SourceMapConsumer.GENERATED_ORDER = 1; - SourceMapConsumer.ORIGINAL_ORDER = 2; - - SourceMapConsumer.GREATEST_LOWER_BOUND = 1; - SourceMapConsumer.LEAST_UPPER_BOUND = 2; - - /** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ - SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - - /** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - - exports.SourceMapConsumer = SourceMapConsumer; - - /** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ - function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; - } - - BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - - /** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ - BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - - /** - * The version of the source mapping spec that we are consuming. - */ - BasicSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } - }); - - /** - * Provide the JIT with a nice shape / hidden class. - */ - function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; - } - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - - /** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ - BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - - /** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ - BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - - exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - - /** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ - function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); - } - - IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - - /** - * The version of the source mapping spec that we are consuming. - */ - IndexedSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } - }); - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - - exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; - - -/***/ }), -/* 8 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - exports.GREATEST_LOWER_BOUND = 1; - exports.LEAST_UPPER_BOUND = 2; - - /** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ - function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } - } - - /** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ - exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; - }; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - // It turns out that some (most?) JavaScript engines don't self-host - // `Array.prototype.sort`. This makes sense because C++ will likely remain - // faster than JS when doing raw CPU-intensive sorting. However, when using a - // custom comparator function, calling back and forth between the VM's C++ and - // JIT'd JS is rather slow *and* loses JIT type information, resulting in - // worse generated code for the comparator function than would be optimal. In - // fact, when sorting with a comparator, these costs outweigh the benefits of - // sorting in C++. By using our own JS-implemented Quick Sort (below), we get - // a ~3500ms mean speed-up in `bench/bench.html`. - - /** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ - function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; - } - - /** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ - function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); - } - - /** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ - function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } - } - - /** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ - exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); - }; - - -/***/ }), -/* 10 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - var util = __webpack_require__(4); - - // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other - // operating systems these days (capturing the result). - var REGEX_NEWLINE = /(\r?\n)/; - - // Newline character code for charCodeAt() comparisons - var NEWLINE_CODE = 10; - - // Private symbol for identifying `SourceNode`s when multiple versions of - // the source-map library are loaded. This MUST NOT CHANGE across - // versions! - var isSourceNode = "$$$isSourceNode$$$"; - - /** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ - function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); - } - - /** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ - SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - - /** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } - }; - - /** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ - SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; - }; - - /** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ - SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; - }; - - /** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ - SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - - /** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - - /** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ - SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; - }; - - /** - * Returns the string representation of this source node along with a source - * map. - */ - SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; - }; - - exports.SourceNode = SourceNode; - - -/***/ }) -/******/ ]) -}); -; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJ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IG9yaWdpbmFsLmNvbHVtbjtcbiAgICAgICAgICBpZiAob3JpZ2luYWwubmFtZSAhPSBudWxsKSB7XG4gICAgICAgICAgICBtYXBwaW5nLm5hbWUgPSBvcmlnaW5hbC5uYW1lO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICB2YXIgc291cmNlID0gbWFwcGluZy5zb3VyY2U7XG4gICAgICBpZiAoc291cmNlICE9IG51bGwgJiYgIW5ld1NvdXJjZXMuaGFzKHNvdXJjZSkpIHtcbiAgICAgICAgbmV3U291cmNlcy5hZGQoc291cmNlKTtcbiAgICAgIH1cblxuICAgICAgdmFyIG5hbWUgPSBtYXBwaW5nLm5hbWU7XG4gICAgICBpZiAobmFtZSAhPSBudWxsICYmICFuZXdOYW1lcy5oYXMobmFtZSkpIHtcbiAgICAgICAgbmV3TmFtZXMuYWRkKG5hbWUpO1xuICAgICAgfVxuXG4gICAgfSwgdGhpcyk7XG4gICAgdGhpcy5fc291cmNlcyA9IG5ld1NvdXJjZXM7XG4gICAgdGhpcy5fbmFtZXMgPSBuZXdOYW1lcztcblxuICAgIC8vIENvcHkgc291cmNlc0NvbnRlbnRzIG9mIGFwcGxpZWQgbWFwLlxuICAgIGFTb3VyY2VNYXBDb25zdW1lci5zb3VyY2VzLmZvckVhY2goZnVuY3Rpb24gKHNvdXJjZUZpbGUpIHtcbiAgICAgIHZhciBjb250ZW50ID0gYVNvdXJjZU1hcENvbnN1bWVyLnNvdXJjZUNvbnRlbnRGb3Ioc291cmNlRmlsZSk7XG4gICAgICBpZiAoY29udGVudCAhPSBudWxsKSB7XG4gICAgICAgIGlmIChhU291cmNlTWFwUGF0aCAhPSBudWxsKSB7XG4gICAgICAgICAgc291cmNlRmlsZSA9IHV0aWwuam9pbihhU291cmNlTWFwUGF0aCwgc291cmNlRmlsZSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHNvdXJjZVJvb3QgIT0gbnVsbCkge1xuICAgICAgICAgIHNvdXJ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dKSkge1xuICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgfVxuICAgICAgICAgIG5leHQgKz0gJywnO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLmdlbmVyYXRlZENvbHVtblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLSBwcmV2aW91c0dlbmVyYXRlZENvbHVtbik7XG4gICAgICBwcmV2aW91c0dlbmVyYXRlZENvbHVtbiA9IG1hcHBpbmcuZ2VuZXJhdGVkQ29sdW1uO1xuXG4gICAgICBpZiAobWFwcGluZy5zb3VyY2UgIT0gbnVsbCkge1xuICAgICAgICBzb3VyY2VJZHggPSB0aGlzLl9zb3VyY2VzLmluZGV4T2YobWFwcGluZy5zb3VyY2UpO1xuICAgICAgICBuZXh0ICs9IGJhc2U2NFZMUS5lbmNvZGUoc291cmNlSWR4IC0gcHJldmlvdXNTb3VyY2UpO1xuICAgICAgICBwcmV2aW91c1NvdXJjZSA9IHNvdXJjZUlkeDtcblxuICAgICAgICAvLyBsaW5lcyBhcmUgc3RvcmVkIDAtYmFzZWQgaW4gU291cmNlTWFwIHNwZWMgdmVyc2lvbiAzXG4gICAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLm9yaWdpbmFsTGluZSAtIDFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLSBwcmV2aW91c09yaWdpbmFsTGluZSk7XG4gICAgICAgIHByZXZpb3VzT3JpZ2luYWxMaW5lID0gbWFwcGluZy5vcmlnaW5hbExpbmUgLSAxO1xuXG4gICAgICAgIG5leHQgKz0gYmFzZTY0VkxRLmVuY29kZShtYXBwaW5nLm9yaWdpbmFsQ29sdW1uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0gcHJldmlvdXNPcmlnaW5hbENvbHVtbik7XG4gICAgICAgIHByZXZpb3VzT3JpZ2luYWxDb2x1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QXJnKGFBcmdzLCAnYmlhcycsIFNvdXJjZU1hcENvbnN1bWVyLkdSRUFURVNUX0xPV0VSX0JPVU5EKVxuICAgICk7XG5cbiAgICBpZiAoaW5kZXggPj0gMCkge1xuICAgICAgdmFyIG1hcHBpbmcgPSB0aGlzLl9nZW5lcmF0ZWRNYXBwaW5nc1tpbmRleF07XG5cbiAgICAgIGlmIChtYXBwaW5nLmdlbmVyYXRlZExpbmUgPT09IG5lZWRsZS5nZW5lcmF0ZWRMaW5lKSB7XG4gICAgICAgIHZhciBzb3VyY2UgPSB1dGlsLmdldEFyZyhtYXBwaW5nLCAnc291cmNlJywgbnVsbCk7XG4gICAgICAgIGlmIChzb3VyY2UgIT09IG51bGwpIHtcbiAgICAgICAgICBzb3VyY2UgPSB0aGlzLl9zb3VyY2VzLmF0KHNvdXJjZSk7XG4gICAgICAgICAgaWYgKHRoaXMuc291cmNlUm9vdCAhPSBudWxsKSB7XG4gICAgICAgICAgICBzb3VyY2UgPSB1dGlsLmpvaW4odGhpcy5zb3VyY2VSb290LCBzb3VyY2UpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB2YXIgbmFtZSA9IHV0aWwuZ2V0QXJnKG1hcHBpbmcsICduYW1lJywgbnVsbCk7XG4gICAgICAgIGlmIChuYW1lICE9PSBudWxsKSB7XG4gICAgICAgICAgbmFtZSA9IHRoaXMuX25hbWVzLmF0KG5hbWUpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgc291cmNlOiBzb3VyY2UsXG4gICAgICAgICAgbGluZTogdXRpbC5nZXRBcmcobWFwcGluZywgJ29yaWdpbmFsTGluZScsIG51bGwpLFxuICAgICAgICAgIGNvbHVtbjogdXRpbC5nZXRBcmcobWFwcGluZywgJ29yaWdpbmFsQ29sdW1uJywgbnVsbCksXG4gICAgICAgICAgbmFtZTogbmFtZVxuICAgICAgICB9O1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAg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BpbmdXaXRoQ29kZShtYXBwaW5nLCBjb2RlKSB7XG4gICAgICBpZiAobWFwcGluZyA9PT0gbnVsbCB8fCBtYXBwaW5nLnNvdXJjZSA9PT0gdW5kZWZpbmVkKSB7XG4gICAgICAgIG5vZGUuYWRkKGNvZGUpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdmFyIHNvdXJjZSA9IGFSZWxhdGl2ZVBhdGhcbiAgICAgICAgICA/IHV0aWwuam9pbihhUmVsYXRpdmVQYXRoLCBtYXBwaW5nLnNvdXJjZSlcbiAgICAgICAgICA6IG1hcHBpbmcuc291cmNlO1xuICAgICAgICBub2RlLmFkZChuZXcgU291cmNlTm9kZShtYXBwaW5nLm9yaWdpbmFsTGluZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFwcGluZy5vcmlnaW5hbENvbHVtbixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXBwaW5nLm5hbWUpKTtcbiAgICAgIH1cbiAgICB9XG4gIH07XG5cbi8qKlxuICogQWRkIGEgY2h1bmsgb2YgZ2VuZXJhdGVkIEpTIHRvIHRoaXMgc291cmNlIG5vZGUuXG4gKlxuICogQHBhcmFtIGFDaHVuayBBIHN0cmluZyBzbmlwcGV0IG9mIGdlbmVyYXRlZCBKUyBjb2RlLCBhbm90aGVyIGluc3RhbmNlIG9mXG4gKiAgICAgICAgU291cmNlTm9kZSwgb3IgYW4gYXJyYXkgd2hlcmUgZWFjaCBtZW1iZXIgaXMgb25lIG9mIHRob3NlIHRoaW5ncy5cbiAqL1xuU291cmNlTm9kZS5wcm90b3R5cGUuYWRkID0gZnVuY3Rpb24gU291cmNlTm9kZV9hZGQoYUNodW5rKSB7XG4gIGlmIChBcnJheS5pc0FycmF5KGFDaHVuaykpIHtcbiAgICBhQ2h1bmsuZm9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WxzZTtcbiAgICAgICAgfSBlbHNlIGlmIChzb3VyY2VNYXBwaW5nQWN0aXZlKSB7XG4gICAgICAgICAgbWFwLmFkZE1hcHBpbmcoe1xuICAgICAgICAgICAgc291cmNlOiBvcmlnaW5hbC5zb3VyY2UsXG4gICAgICAgICAgICBvcmlnaW5hbDoge1xuICAgICAgICAgICAgICBsaW5lOiBvcmlnaW5hbC5saW5lLFxuICAgICAgICAgICAgICBjb2x1bW46IG9yaWdpbmFsLmNvbHVtblxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGdlbmVyYXRlZDoge1xuICAgICAgICAgICAgICBsaW5lOiBnZW5lcmF0ZWQubGluZSxcbiAgICAgICAgICAgICAgY29sdW1uOiBnZW5lcmF0ZWQuY29sdW1uXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgbmFtZTogb3JpZ2luYWwubmFtZVxuICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBnZW5lcmF0ZWQuY29sdW1uKys7XG4gICAgICB9XG4gICAgfVxuICB9KTtcbiAgdGhpcy53YWxrU291cmNlQ29udGVudHMoZnVuY3Rpb24gKHNvdXJjZUZpbGUsIHNvdXJjZUNvbnRlbnQpIHtcbiAgICBtYXAuc2V0U291cmNlQ29udGVudChzb3VyY2VGaWxlLCBzb3VyY2VDb250ZW50KTtcbiAgfSk7XG5cbiAgcmV0dXJuIHsgY29kZTogZ2VuZXJhdGVkLmNvZGUsIG1hcDogbWFwIH07XG59O1xuXG5leHBvcnRzLlNvdXJjZU5vZGUgPSBTb3VyY2VOb2RlO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9saWIvc291cmNlLW5vZGUuanNcbi8vIG1vZHVsZSBpZCA9IDEwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0= \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.js b/node_modules/@babel/generator/node_modules/source-map/dist/source-map.js deleted file mode 100644 index 4e630e2..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.js +++ /dev/null @@ -1,3090 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["sourceMap"] = factory(); - else - root["sourceMap"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports, __webpack_require__) { - - /* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ - exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer; - exports.SourceNode = __webpack_require__(10).SourceNode; - - -/***/ }), -/* 1 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var base64VLQ = __webpack_require__(2); - var util = __webpack_require__(4); - var ArraySet = __webpack_require__(5).ArraySet; - var MappingList = __webpack_require__(6).MappingList; - - /** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ - function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; - } - - SourceMapGenerator.prototype._version = 3; - - /** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ - SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - - /** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ - SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - - /** - * Set the source content for a source file. - */ - SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - - /** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ - SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - - /** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ - SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - - /** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ - SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - - SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - - /** - * Externalize the source map. - */ - SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - - /** - * Render the source map being generated to a string. - */ - SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - - exports.SourceMapGenerator = SourceMapGenerator; - - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - - var base64 = __webpack_require__(3); - - // A single base 64 digit can contain 6 bits of data. For the base 64 variable - // length quantities we use in the source map spec, the first bit is the sign, - // the next four bits are the actual value, and the 6th bit is the - // continuation bit. The continuation bit tells us whether there are more - // digits in this value following this digit. - // - // Continuation - // | Sign - // | | - // V V - // 101011 - - var VLQ_BASE_SHIFT = 5; - - // binary: 100000 - var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - - // binary: 011111 - var VLQ_BASE_MASK = VLQ_BASE - 1; - - // binary: 100000 - var VLQ_CONTINUATION_BIT = VLQ_BASE; - - /** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ - function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; - } - - /** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ - function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; - } - - /** - * Returns the base 64 VLQ encoded value. - */ - exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; - }; - - /** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ - exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; - }; - - -/***/ }), -/* 3 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - - /** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ - exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); - }; - - /** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ - exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; - }; - - -/***/ }), -/* 4 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - /** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ - function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } - } - exports.getArg = getArg; - - var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; - var dataUrlRegexp = /^data:.+\,.+$/; - - function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; - } - exports.urlParse = urlParse; - - function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; - } - exports.urlGenerate = urlGenerate; - - /** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ - function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; - } - exports.normalize = normalize; - - /** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ - function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; - } - exports.join = join; - - exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); - }; - - /** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ - function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); - } - exports.relative = relative; - - var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); - }()); - - function identity (s) { - return s; - } - - /** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ - function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; - } - exports.toSetString = supportsNullProto ? identity : toSetString; - - function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; - } - exports.fromSetString = supportsNullProto ? identity : fromSetString; - - function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; - } - - /** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ - function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByOriginalPositions = compareByOriginalPositions; - - /** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ - function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; - } - exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - - function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; - } - - /** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ - function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); - } - exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; - - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var has = Object.prototype.hasOwnProperty; - var hasNativeMap = typeof Map !== "undefined"; - - /** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ - function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); - } - - /** - * Static method for creating ArraySet instances from an existing array. - */ - ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; - }; - - /** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ - ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; - }; - - /** - * Add the given string to this set. - * - * @param String aStr - */ - ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } - }; - - /** - * Is the given string a member of this set? - * - * @param String aStr - */ - ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } - }; - - /** - * What is the index of the given string in the array? - * - * @param String aStr - */ - ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); - }; - - /** - * What is the element at the given index? - * - * @param Number aIdx - */ - ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); - }; - - /** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ - ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); - }; - - exports.ArraySet = ArraySet; - - -/***/ }), -/* 6 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - - /** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ - function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; - } - - /** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ - function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; - } - - /** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ - MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - - /** - * Add the given source mapping. - * - * @param Object aMapping - */ - MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } - }; - - /** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ - MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; - }; - - exports.MappingList = MappingList; - - -/***/ }), -/* 7 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var util = __webpack_require__(4); - var binarySearch = __webpack_require__(8); - var ArraySet = __webpack_require__(5).ArraySet; - var base64VLQ = __webpack_require__(2); - var quickSort = __webpack_require__(9).quickSort; - - function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); - } - - SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); - } - - /** - * The version of the source mapping spec that we are consuming. - */ - SourceMapConsumer.prototype._version = 3; - - // `__generatedMappings` and `__originalMappings` are arrays that hold the - // parsed mapping coordinates from the source map's "mappings" attribute. They - // are lazily instantiated, accessed via the `_generatedMappings` and - // `_originalMappings` getters respectively, and we only parse the mappings - // and create these arrays once queried for a source location. We jump through - // these hoops because there can be many thousands of mappings, and parsing - // them is expensive, so we only want to do it if we must. - // - // Each object in the arrays is of the form: - // - // { - // generatedLine: The line number in the generated code, - // generatedColumn: The column number in the generated code, - // source: The path to the original source file that generated this - // chunk of code, - // originalLine: The line number in the original source that - // corresponds to this chunk of generated code, - // originalColumn: The column number in the original source that - // corresponds to this chunk of generated code, - // name: The name of the original symbol which generated this chunk of - // code. - // } - // - // All properties except for `generatedLine` and `generatedColumn` can be - // `null`. - // - // `_generatedMappings` is ordered by the generated positions. - // - // `_originalMappings` is ordered by the original positions. - - SourceMapConsumer.prototype.__generatedMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } - }); - - SourceMapConsumer.prototype.__originalMappings = null; - Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } - }); - - SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - - SourceMapConsumer.GENERATED_ORDER = 1; - SourceMapConsumer.ORIGINAL_ORDER = 2; - - SourceMapConsumer.GREATEST_LOWER_BOUND = 1; - SourceMapConsumer.LEAST_UPPER_BOUND = 2; - - /** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ - SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - - /** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - - exports.SourceMapConsumer = SourceMapConsumer; - - /** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ - function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; - } - - BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - - /** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ - BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - - /** - * The version of the source mapping spec that we are consuming. - */ - BasicSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } - }); - - /** - * Provide the JIT with a nice shape / hidden class. - */ - function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; - } - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - - /** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ - BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - - /** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ - BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - - exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - - /** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ - function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); - } - - IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); - IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - - /** - * The version of the source mapping spec that we are consuming. - */ - IndexedSourceMapConsumer.prototype._version = 3; - - /** - * The list of original sources. - */ - Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } - }); - - /** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ - IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - - /** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ - IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - - /** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ - IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - - /** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ - IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - - /** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ - IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - - exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; - - -/***/ }), -/* 8 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - exports.GREATEST_LOWER_BOUND = 1; - exports.LEAST_UPPER_BOUND = 2; - - /** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ - function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } - } - - /** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ - exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; - }; - - -/***/ }), -/* 9 */ -/***/ (function(module, exports) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - // It turns out that some (most?) JavaScript engines don't self-host - // `Array.prototype.sort`. This makes sense because C++ will likely remain - // faster than JS when doing raw CPU-intensive sorting. However, when using a - // custom comparator function, calling back and forth between the VM's C++ and - // JIT'd JS is rather slow *and* loses JIT type information, resulting in - // worse generated code for the comparator function than would be optimal. In - // fact, when sorting with a comparator, these costs outweigh the benefits of - // sorting in C++. By using our own JS-implemented Quick Sort (below), we get - // a ~3500ms mean speed-up in `bench/bench.html`. - - /** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ - function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; - } - - /** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ - function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); - } - - /** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ - function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } - } - - /** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ - exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); - }; - - -/***/ }), -/* 10 */ -/***/ (function(module, exports, __webpack_require__) { - - /* -*- Mode: js; js-indent-level: 2; -*- */ - /* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - - var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; - var util = __webpack_require__(4); - - // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other - // operating systems these days (capturing the result). - var REGEX_NEWLINE = /(\r?\n)/; - - // Newline character code for charCodeAt() comparisons - var NEWLINE_CODE = 10; - - // Private symbol for identifying `SourceNode`s when multiple versions of - // the source-map library are loaded. This MUST NOT CHANGE across - // versions! - var isSourceNode = "$$$isSourceNode$$$"; - - /** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ - function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); - } - - /** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ - SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - - /** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ - SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; - }; - - /** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } - }; - - /** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ - SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; - }; - - /** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ - SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; - }; - - /** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ - SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - - /** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ - SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - - /** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ - SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; - }; - - /** - * Returns the string representation of this source node along with a source - * map. - */ - SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; - }; - - exports.SourceNode = SourceNode; - - -/***/ }) -/******/ ]) -}); -; \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js b/node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js deleted file mode 100644 index f2a46bd..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/dist/source-map.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sourceMap=n():e.sourceMap=n()}(this,function(){return function(e){function n(t){if(r[t])return r[t].exports;var o=r[t]={exports:{},id:t,loaded:!1};return e[t].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=e,n.c=r,n.p="",n(0)}([function(e,n,r){n.SourceMapGenerator=r(1).SourceMapGenerator,n.SourceMapConsumer=r(7).SourceMapConsumer,n.SourceNode=r(10).SourceNode},function(e,n,r){function t(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new a,this._sourcesContents=null}var o=r(2),i=r(4),s=r(5).ArraySet,a=r(6).MappingList;t.prototype._version=3,t.fromSourceMap=function(e){var n=e.sourceRoot,r=new t({file:e.file,sourceRoot:n});return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=n&&(t.source=i.relative(n,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),r.addMapping(t)}),e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&r.setSourceContent(n,t)}),r},t.prototype.addMapping=function(e){var n=i.getArg(e,"generated"),r=i.getArg(e,"original",null),t=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,r,t,o),null!=t&&(t=String(t),this._sources.has(t)||this._sources.add(t)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:t,name:o})},t.prototype.setSourceContent=function(e,n){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=n?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=n):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},t.prototype.applySourceMap=function(e,n,r){var t=n;if(null==n){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');t=e.file}var o=this._sourceRoot;null!=o&&(t=i.relative(o,t));var a=new s,u=new s;this._mappings.unsortedForEach(function(n){if(n.source===t&&null!=n.originalLine){var s=e.originalPositionFor({line:n.originalLine,column:n.originalColumn});null!=s.source&&(n.source=s.source,null!=r&&(n.source=i.join(r,n.source)),null!=o&&(n.source=i.relative(o,n.source)),n.originalLine=s.line,n.originalColumn=s.column,null!=s.name&&(n.name=s.name))}var l=n.source;null==l||a.has(l)||a.add(l);var c=n.name;null==c||u.has(c)||u.add(c)},this),this._sources=a,this._names=u,e.sources.forEach(function(n){var t=e.sourceContentFor(n);null!=t&&(null!=r&&(n=i.join(r,n)),null!=o&&(n=i.relative(o,n)),this.setSourceContent(n,t))},this)},t.prototype._validateMapping=function(e,n,r,t){if(n&&"number"!=typeof n.line&&"number"!=typeof n.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||n||r||t)&&!(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:n,name:t}))},t.prototype._serializeMappings=function(){for(var e,n,r,t,s=0,a=1,u=0,l=0,c=0,g=0,p="",h=this._mappings.toArray(),f=0,d=h.length;f0){if(!i.compareByGeneratedPositionsInflated(n,h[f-1]))continue;e+=","}e+=o.encode(n.generatedColumn-s),s=n.generatedColumn,null!=n.source&&(t=this._sources.indexOf(n.source),e+=o.encode(t-g),g=t,e+=o.encode(n.originalLine-1-l),l=n.originalLine-1,e+=o.encode(n.originalColumn-u),u=n.originalColumn,null!=n.name&&(r=this._names.indexOf(n.name),e+=o.encode(r-c),c=r)),p+=e}return p},t.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=i.relative(n,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},t.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},t.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=t},function(e,n,r){function t(e){return e<0?(-e<<1)+1:(e<<1)+0}function o(e){var n=1===(1&e),r=e>>1;return n?-r:r}var i=r(3),s=5,a=1<>>=s,o>0&&(n|=l),r+=i.encode(n);while(o>0);return r},n.decode=function(e,n,r){var t,a,c=e.length,g=0,p=0;do{if(n>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(a=i.decode(e.charCodeAt(n++)),a===-1)throw new Error("Invalid base64 digit: "+e.charAt(n-1));t=!!(a&l),a&=u,g+=a<=0;c--)s=u[c],"."===s?u.splice(c,1):".."===s?l++:l>0&&(""===s?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return r=u.join("/"),""===r&&(r=a?"/":"."),i?(i.path=r,o(i)):r}function s(e,n){""===e&&(e="."),""===n&&(n=".");var r=t(n),s=t(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),o(r);if(r||n.match(_))return n;if(s&&!s.host&&!s.path)return s.host=n,o(s);var a="/"===n.charAt(0)?n:i(e.replace(/\/+$/,"")+"/"+n);return s?(s.path=a,o(s)):a}function a(e,n){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==n.indexOf(e+"/");){var t=e.lastIndexOf("/");if(t<0)return n;if(e=e.slice(0,t),e.match(/^([^\/]+:\/)?\/*$/))return n;++r}return Array(r+1).join("../")+n.substr(e.length+1)}function u(e){return e}function l(e){return g(e)?"$"+e:e}function c(e){return g(e)?e.slice(1):e}function g(e){if(!e)return!1;var n=e.length;if(n<9)return!1;if(95!==e.charCodeAt(n-1)||95!==e.charCodeAt(n-2)||111!==e.charCodeAt(n-3)||116!==e.charCodeAt(n-4)||111!==e.charCodeAt(n-5)||114!==e.charCodeAt(n-6)||112!==e.charCodeAt(n-7)||95!==e.charCodeAt(n-8)||95!==e.charCodeAt(n-9))return!1;for(var r=n-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function p(e,n,r){var t=e.source-n.source;return 0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t||r?t:(t=e.generatedColumn-n.generatedColumn,0!==t?t:(t=e.generatedLine-n.generatedLine,0!==t?t:e.name-n.name))))}function h(e,n,r){var t=e.generatedLine-n.generatedLine;return 0!==t?t:(t=e.generatedColumn-n.generatedColumn,0!==t||r?t:(t=e.source-n.source,0!==t?t:(t=e.originalLine-n.originalLine,0!==t?t:(t=e.originalColumn-n.originalColumn,0!==t?t:e.name-n.name))))}function f(e,n){return e===n?0:e>n?1:-1}function d(e,n){var r=e.generatedLine-n.generatedLine;return 0!==r?r:(r=e.generatedColumn-n.generatedColumn,0!==r?r:(r=f(e.source,n.source),0!==r?r:(r=e.originalLine-n.originalLine,0!==r?r:(r=e.originalColumn-n.originalColumn,0!==r?r:f(e.name,n.name)))))}n.getArg=r;var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,_=/^data:.+\,.+$/;n.urlParse=t,n.urlGenerate=o,n.normalize=i,n.join=s,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(m)},n.relative=a;var v=function(){var e=Object.create(null);return!("__proto__"in e)}();n.toSetString=v?u:l,n.fromSetString=v?u:c,n.compareByOriginalPositions=p,n.compareByGeneratedPositionsDeflated=h,n.compareByGeneratedPositionsInflated=d},function(e,n,r){function t(){this._array=[],this._set=s?new Map:Object.create(null)}var o=r(4),i=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;t.fromArray=function(e,n){for(var r=new t,o=0,i=e.length;o=0)return n}else{var r=o.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},t.prototype.at=function(e){if(e>=0&&er||t==r&&s>=o||i.compareByGeneratedPositionsInflated(e,n)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=r(4);o.prototype.unsortedForEach=function(e,n){this._array.forEach(e,n)},o.prototype.add=function(e){t(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},function(e,n,r){function t(e){var n=e;return"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=n.sections?new s(n):new o(n)}function o(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),t=a.getArg(n,"sources"),o=a.getArg(n,"names",[]),i=a.getArg(n,"sourceRoot",null),s=a.getArg(n,"sourcesContent",null),u=a.getArg(n,"mappings"),c=a.getArg(n,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);t=t.map(String).map(a.normalize).map(function(e){return i&&a.isAbsolute(i)&&a.isAbsolute(e)?a.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(t,!0),this.sourceRoot=i,this.sourcesContent=s,this._mappings=u,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function s(e){var n=e;"string"==typeof e&&(n=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=a.getArg(n,"version"),o=a.getArg(n,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=a.getArg(e,"offset"),r=a.getArg(n,"line"),o=a.getArg(n,"column");if(r=0){var i=this._originalMappings[o];if(void 0===e.column)for(var s=i.originalLine;i&&i.originalLine===s;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===n&&i.originalColumn==l;)t.push({line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return t},n.SourceMapConsumer=t,o.prototype=Object.create(t.prototype),o.prototype.consumer=t,o.fromSourceMap=function(e){var n=Object.create(o.prototype),r=n._names=l.fromArray(e._names.toArray(),!0),t=n._sources=l.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file;for(var s=e._mappings.toArray().slice(),u=n.__generatedMappings=[],c=n.__originalMappings=[],p=0,h=s.length;p1&&(r.source=d+o[1],d+=o[1],r.originalLine=h+o[2],h=r.originalLine,r.originalLine+=1,r.originalColumn=f+o[3],f=r.originalColumn,o.length>4&&(r.name=m+o[4],m+=o[4])),S.push(r),"number"==typeof r.originalLine&&A.push(r)}g(S,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,g(A,a.compareByOriginalPositions),this.__originalMappings=A},o.prototype._findMapping=function(e,n,r,t,o,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[t]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[t]);return u.search(e,n,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[r];if(o.generatedLine===n.generatedLine){var i=a.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=a.join(this.sourceRoot,i)));var s=a.getArg(o,"name",null);return null!==s&&(s=this._names.at(s)),{source:i,line:a.getArg(o,"originalLine",null),column:a.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=a.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=a.urlParse(this.sourceRoot))){var t=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var n=a.getArg(e,"source");if(null!=this.sourceRoot&&(n=a.relative(this.sourceRoot,n)),!this._sources.has(n))return{line:null,column:null,lastColumn:null};n=this._sources.indexOf(n);var r={source:n,originalLine:a.getArg(e,"line"),originalColumn:a.getArg(e,"column")},o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(e,"bias",t.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===r.source)return{line:a.getArg(i,"generatedLine",null),column:a.getArg(i,"generatedColumn",null),lastColumn:a.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,s.prototype=Object.create(t.prototype),s.prototype.constructor=t,s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){for(var e=[],n=0;n0?t-u>1?r(u,t,o,i,s,a):a==n.LEAST_UPPER_BOUND?t1?r(e,u,o,i,s,a):a==n.LEAST_UPPER_BOUND?u:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var s=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===o(t[s],t[s-1],!0);)--s;return s}},function(e,n){function r(e,n,r){var t=e[n];e[n]=e[r],e[r]=t}function t(e,n){return Math.round(e+Math.random()*(n-e))}function o(e,n,i,s){if(i=0;n--)this.prepend(e[n]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},t.prototype.walk=function(e){for(var n,r=0,t=this.children.length;r0){for(n=[],r=0;r 0 && aGenerated.column >= 0\n\t && !aOriginal && !aSource && !aName) {\n\t // Case 1.\n\t return;\n\t }\n\t else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n\t && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n\t && aGenerated.line > 0 && aGenerated.column >= 0\n\t && aOriginal.line > 0 && aOriginal.column >= 0\n\t && aSource) {\n\t // Cases 2 and 3.\n\t return;\n\t }\n\t else {\n\t throw new Error('Invalid mapping: ' + JSON.stringify({\n\t generated: aGenerated,\n\t source: aSource,\n\t original: aOriginal,\n\t name: aName\n\t }));\n\t }\n\t };\n\t\n\t/**\n\t * Serialize the accumulated mappings in to the stream of base 64 VLQs\n\t * specified by the source map format.\n\t */\n\tSourceMapGenerator.prototype._serializeMappings =\n\t function SourceMapGenerator_serializeMappings() {\n\t var previousGeneratedColumn = 0;\n\t var previousGeneratedLine = 1;\n\t var previousOriginalColumn = 0;\n\t var previousOriginalLine = 0;\n\t var previousName = 0;\n\t var previousSource = 0;\n\t var result = '';\n\t var next;\n\t var mapping;\n\t var nameIdx;\n\t var sourceIdx;\n\t\n\t var mappings = this._mappings.toArray();\n\t for (var i = 0, len = mappings.length; i < len; i++) {\n\t mapping = mappings[i];\n\t next = ''\n\t\n\t if (mapping.generatedLine !== previousGeneratedLine) {\n\t previousGeneratedColumn = 0;\n\t while (mapping.generatedLine !== previousGeneratedLine) {\n\t next += ';';\n\t previousGeneratedLine++;\n\t }\n\t }\n\t else {\n\t if (i > 0) {\n\t if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n\t continue;\n\t }\n\t next += ',';\n\t }\n\t }\n\t\n\t next += base64VLQ.encode(mapping.generatedColumn\n\t - previousGeneratedColumn);\n\t previousGeneratedColumn = mapping.generatedColumn;\n\t\n\t if (mapping.source != null) {\n\t sourceIdx = this._sources.indexOf(mapping.source);\n\t next += base64VLQ.encode(sourceIdx - previousSource);\n\t previousSource = sourceIdx;\n\t\n\t // lines are stored 0-based in SourceMap spec version 3\n\t next += base64VLQ.encode(mapping.originalLine - 1\n\t - previousOriginalLine);\n\t previousOriginalLine = mapping.originalLine - 1;\n\t\n\t next += base64VLQ.encode(mapping.originalColumn\n\t - previousOriginalColumn);\n\t previousOriginalColumn = mapping.originalColumn;\n\t\n\t if (mapping.name != null) {\n\t nameIdx = this._names.indexOf(mapping.name);\n\t next += base64VLQ.encode(nameIdx - previousName);\n\t previousName = nameIdx;\n\t }\n\t }\n\t\n\t result += next;\n\t }\n\t\n\t return result;\n\t };\n\t\n\tSourceMapGenerator.prototype._generateSourcesContent =\n\t function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n\t return aSources.map(function (source) {\n\t if (!this._sourcesContents) {\n\t return null;\n\t }\n\t if (aSourceRoot != null) {\n\t source = util.relative(aSourceRoot, source);\n\t }\n\t var key = util.toSetString(source);\n\t return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n\t ? this._sourcesContents[key]\n\t : null;\n\t }, this);\n\t };\n\t\n\t/**\n\t * Externalize the source map.\n\t */\n\tSourceMapGenerator.prototype.toJSON =\n\t function SourceMapGenerator_toJSON() {\n\t var map = {\n\t version: this._version,\n\t sources: this._sources.toArray(),\n\t names: this._names.toArray(),\n\t mappings: this._serializeMappings()\n\t };\n\t if (this._file != null) {\n\t map.file = this._file;\n\t }\n\t if (this._sourceRoot != null) {\n\t map.sourceRoot = this._sourceRoot;\n\t }\n\t if (this._sourcesContents) {\n\t map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n\t }\n\t\n\t return map;\n\t };\n\t\n\t/**\n\t * Render the source map being generated to a string.\n\t */\n\tSourceMapGenerator.prototype.toString =\n\t function SourceMapGenerator_toString() {\n\t return JSON.stringify(this.toJSON());\n\t };\n\t\n\texports.SourceMapGenerator = SourceMapGenerator;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t *\n\t * Based on the Base 64 VLQ implementation in Closure Compiler:\n\t * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n\t *\n\t * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n\t * Redistribution and use in source and binary forms, with or without\n\t * modification, are permitted provided that the following conditions are\n\t * met:\n\t *\n\t * * Redistributions of source code must retain the above copyright\n\t * notice, this list of conditions and the following disclaimer.\n\t * * Redistributions in binary form must reproduce the above\n\t * copyright notice, this list of conditions and the following\n\t * disclaimer in the documentation and/or other materials provided\n\t * with the distribution.\n\t * * Neither the name of Google Inc. nor the names of its\n\t * contributors may be used to endorse or promote products derived\n\t * from this software without specific prior written permission.\n\t *\n\t * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\t * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\t * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\t * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\t * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\t * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\t * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\t * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\t * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\t * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t */\n\t\n\tvar base64 = __webpack_require__(3);\n\t\n\t// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n\t// length quantities we use in the source map spec, the first bit is the sign,\n\t// the next four bits are the actual value, and the 6th bit is the\n\t// continuation bit. The continuation bit tells us whether there are more\n\t// digits in this value following this digit.\n\t//\n\t// Continuation\n\t// | Sign\n\t// | |\n\t// V V\n\t// 101011\n\t\n\tvar VLQ_BASE_SHIFT = 5;\n\t\n\t// binary: 100000\n\tvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\t\n\t// binary: 011111\n\tvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\t\n\t// binary: 100000\n\tvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\t\n\t/**\n\t * Converts from a two-complement value to a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n\t * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n\t */\n\tfunction toVLQSigned(aValue) {\n\t return aValue < 0\n\t ? ((-aValue) << 1) + 1\n\t : (aValue << 1) + 0;\n\t}\n\t\n\t/**\n\t * Converts to a two-complement value from a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n\t * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n\t */\n\tfunction fromVLQSigned(aValue) {\n\t var isNegative = (aValue & 1) === 1;\n\t var shifted = aValue >> 1;\n\t return isNegative\n\t ? -shifted\n\t : shifted;\n\t}\n\t\n\t/**\n\t * Returns the base 64 VLQ encoded value.\n\t */\n\texports.encode = function base64VLQ_encode(aValue) {\n\t var encoded = \"\";\n\t var digit;\n\t\n\t var vlq = toVLQSigned(aValue);\n\t\n\t do {\n\t digit = vlq & VLQ_BASE_MASK;\n\t vlq >>>= VLQ_BASE_SHIFT;\n\t if (vlq > 0) {\n\t // There are still more digits in this value, so we must make sure the\n\t // continuation bit is marked.\n\t digit |= VLQ_CONTINUATION_BIT;\n\t }\n\t encoded += base64.encode(digit);\n\t } while (vlq > 0);\n\t\n\t return encoded;\n\t};\n\t\n\t/**\n\t * Decodes the next base 64 VLQ value from the given string and returns the\n\t * value and the rest of the string via the out parameter.\n\t */\n\texports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n\t var strLen = aStr.length;\n\t var result = 0;\n\t var shift = 0;\n\t var continuation, digit;\n\t\n\t do {\n\t if (aIndex >= strLen) {\n\t throw new Error(\"Expected more digits in base 64 VLQ value.\");\n\t }\n\t\n\t digit = base64.decode(aStr.charCodeAt(aIndex++));\n\t if (digit === -1) {\n\t throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n\t }\n\t\n\t continuation = !!(digit & VLQ_CONTINUATION_BIT);\n\t digit &= VLQ_BASE_MASK;\n\t result = result + (digit << shift);\n\t shift += VLQ_BASE_SHIFT;\n\t } while (continuation);\n\t\n\t aOutParam.value = fromVLQSigned(result);\n\t aOutParam.rest = aIndex;\n\t};\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\t\n\t/**\n\t * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n\t */\n\texports.encode = function (number) {\n\t if (0 <= number && number < intToCharMap.length) {\n\t return intToCharMap[number];\n\t }\n\t throw new TypeError(\"Must be between 0 and 63: \" + number);\n\t};\n\t\n\t/**\n\t * Decode a single base 64 character code digit to an integer. Returns -1 on\n\t * failure.\n\t */\n\texports.decode = function (charCode) {\n\t var bigA = 65; // 'A'\n\t var bigZ = 90; // 'Z'\n\t\n\t var littleA = 97; // 'a'\n\t var littleZ = 122; // 'z'\n\t\n\t var zero = 48; // '0'\n\t var nine = 57; // '9'\n\t\n\t var plus = 43; // '+'\n\t var slash = 47; // '/'\n\t\n\t var littleOffset = 26;\n\t var numberOffset = 52;\n\t\n\t // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n\t if (bigA <= charCode && charCode <= bigZ) {\n\t return (charCode - bigA);\n\t }\n\t\n\t // 26 - 51: abcdefghijklmnopqrstuvwxyz\n\t if (littleA <= charCode && charCode <= littleZ) {\n\t return (charCode - littleA + littleOffset);\n\t }\n\t\n\t // 52 - 61: 0123456789\n\t if (zero <= charCode && charCode <= nine) {\n\t return (charCode - zero + numberOffset);\n\t }\n\t\n\t // 62: +\n\t if (charCode == plus) {\n\t return 62;\n\t }\n\t\n\t // 63: /\n\t if (charCode == slash) {\n\t return 63;\n\t }\n\t\n\t // Invalid base64 digit.\n\t return -1;\n\t};\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\t/**\n\t * This is a helper function for getting values from parameter/options\n\t * objects.\n\t *\n\t * @param args The object we are extracting values from\n\t * @param name The name of the property we are getting.\n\t * @param defaultValue An optional value to return if the property is missing\n\t * from the object. If this is not specified and the property is missing, an\n\t * error will be thrown.\n\t */\n\tfunction getArg(aArgs, aName, aDefaultValue) {\n\t if (aName in aArgs) {\n\t return aArgs[aName];\n\t } else if (arguments.length === 3) {\n\t return aDefaultValue;\n\t } else {\n\t throw new Error('\"' + aName + '\" is a required argument.');\n\t }\n\t}\n\texports.getArg = getArg;\n\t\n\tvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\n\tvar dataUrlRegexp = /^data:.+\\,.+$/;\n\t\n\tfunction urlParse(aUrl) {\n\t var match = aUrl.match(urlRegexp);\n\t if (!match) {\n\t return null;\n\t }\n\t return {\n\t scheme: match[1],\n\t auth: match[2],\n\t host: match[3],\n\t port: match[4],\n\t path: match[5]\n\t };\n\t}\n\texports.urlParse = urlParse;\n\t\n\tfunction urlGenerate(aParsedUrl) {\n\t var url = '';\n\t if (aParsedUrl.scheme) {\n\t url += aParsedUrl.scheme + ':';\n\t }\n\t url += '//';\n\t if (aParsedUrl.auth) {\n\t url += aParsedUrl.auth + '@';\n\t }\n\t if (aParsedUrl.host) {\n\t url += aParsedUrl.host;\n\t }\n\t if (aParsedUrl.port) {\n\t url += \":\" + aParsedUrl.port\n\t }\n\t if (aParsedUrl.path) {\n\t url += aParsedUrl.path;\n\t }\n\t return url;\n\t}\n\texports.urlGenerate = urlGenerate;\n\t\n\t/**\n\t * Normalizes a path, or the path portion of a URL:\n\t *\n\t * - Replaces consecutive slashes with one slash.\n\t * - Removes unnecessary '.' parts.\n\t * - Removes unnecessary '/..' parts.\n\t *\n\t * Based on code in the Node.js 'path' core module.\n\t *\n\t * @param aPath The path or url to normalize.\n\t */\n\tfunction normalize(aPath) {\n\t var path = aPath;\n\t var url = urlParse(aPath);\n\t if (url) {\n\t if (!url.path) {\n\t return aPath;\n\t }\n\t path = url.path;\n\t }\n\t var isAbsolute = exports.isAbsolute(path);\n\t\n\t var parts = path.split(/\\/+/);\n\t for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n\t part = parts[i];\n\t if (part === '.') {\n\t parts.splice(i, 1);\n\t } else if (part === '..') {\n\t up++;\n\t } else if (up > 0) {\n\t if (part === '') {\n\t // The first part is blank if the path is absolute. Trying to go\n\t // above the root is a no-op. Therefore we can remove all '..' parts\n\t // directly after the root.\n\t parts.splice(i + 1, up);\n\t up = 0;\n\t } else {\n\t parts.splice(i, 2);\n\t up--;\n\t }\n\t }\n\t }\n\t path = parts.join('/');\n\t\n\t if (path === '') {\n\t path = isAbsolute ? '/' : '.';\n\t }\n\t\n\t if (url) {\n\t url.path = path;\n\t return urlGenerate(url);\n\t }\n\t return path;\n\t}\n\texports.normalize = normalize;\n\t\n\t/**\n\t * Joins two paths/URLs.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be joined with the root.\n\t *\n\t * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n\t * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n\t * first.\n\t * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n\t * is updated with the result and aRoot is returned. Otherwise the result\n\t * is returned.\n\t * - If aPath is absolute, the result is aPath.\n\t * - Otherwise the two paths are joined with a slash.\n\t * - Joining for example 'http://' and 'www.example.com' is also supported.\n\t */\n\tfunction join(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\t if (aPath === \"\") {\n\t aPath = \".\";\n\t }\n\t var aPathUrl = urlParse(aPath);\n\t var aRootUrl = urlParse(aRoot);\n\t if (aRootUrl) {\n\t aRoot = aRootUrl.path || '/';\n\t }\n\t\n\t // `join(foo, '//www.example.org')`\n\t if (aPathUrl && !aPathUrl.scheme) {\n\t if (aRootUrl) {\n\t aPathUrl.scheme = aRootUrl.scheme;\n\t }\n\t return urlGenerate(aPathUrl);\n\t }\n\t\n\t if (aPathUrl || aPath.match(dataUrlRegexp)) {\n\t return aPath;\n\t }\n\t\n\t // `join('http://', 'www.example.com')`\n\t if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n\t aRootUrl.host = aPath;\n\t return urlGenerate(aRootUrl);\n\t }\n\t\n\t var joined = aPath.charAt(0) === '/'\n\t ? aPath\n\t : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\t\n\t if (aRootUrl) {\n\t aRootUrl.path = joined;\n\t return urlGenerate(aRootUrl);\n\t }\n\t return joined;\n\t}\n\texports.join = join;\n\t\n\texports.isAbsolute = function (aPath) {\n\t return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n\t};\n\t\n\t/**\n\t * Make a path relative to a URL or another path.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be made relative to aRoot.\n\t */\n\tfunction relative(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\t\n\t aRoot = aRoot.replace(/\\/$/, '');\n\t\n\t // It is possible for the path to be above the root. In this case, simply\n\t // checking whether the root is a prefix of the path won't work. Instead, we\n\t // need to remove components from the root one by one, until either we find\n\t // a prefix that fits, or we run out of components to remove.\n\t var level = 0;\n\t while (aPath.indexOf(aRoot + '/') !== 0) {\n\t var index = aRoot.lastIndexOf(\"/\");\n\t if (index < 0) {\n\t return aPath;\n\t }\n\t\n\t // If the only part of the root that is left is the scheme (i.e. http://,\n\t // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n\t // have exhausted all components, so the path is not relative to the root.\n\t aRoot = aRoot.slice(0, index);\n\t if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n\t return aPath;\n\t }\n\t\n\t ++level;\n\t }\n\t\n\t // Make sure we add a \"../\" for each component we removed from the root.\n\t return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n\t}\n\texports.relative = relative;\n\t\n\tvar supportsNullProto = (function () {\n\t var obj = Object.create(null);\n\t return !('__proto__' in obj);\n\t}());\n\t\n\tfunction identity (s) {\n\t return s;\n\t}\n\t\n\t/**\n\t * Because behavior goes wacky when you set `__proto__` on objects, we\n\t * have to prefix all the strings in our set with an arbitrary character.\n\t *\n\t * See https://github.com/mozilla/source-map/pull/31 and\n\t * https://github.com/mozilla/source-map/issues/30\n\t *\n\t * @param String aStr\n\t */\n\tfunction toSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return '$' + aStr;\n\t }\n\t\n\t return aStr;\n\t}\n\texports.toSetString = supportsNullProto ? identity : toSetString;\n\t\n\tfunction fromSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return aStr.slice(1);\n\t }\n\t\n\t return aStr;\n\t}\n\texports.fromSetString = supportsNullProto ? identity : fromSetString;\n\t\n\tfunction isProtoString(s) {\n\t if (!s) {\n\t return false;\n\t }\n\t\n\t var length = s.length;\n\t\n\t if (length < 9 /* \"__proto__\".length */) {\n\t return false;\n\t }\n\t\n\t if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n\t s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n\t s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n\t s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 9) !== 95 /* '_' */) {\n\t return false;\n\t }\n\t\n\t for (var i = length - 10; i >= 0; i--) {\n\t if (s.charCodeAt(i) !== 36 /* '$' */) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\t/**\n\t * Comparator between two mappings where the original positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same original source/line/column, but different generated\n\t * line and column the same. Useful when searching for a mapping with a\n\t * stubbed out mapping.\n\t */\n\tfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n\t var cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0 || onlyCompareOriginal) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByOriginalPositions = compareByOriginalPositions;\n\t\n\t/**\n\t * Comparator between two mappings with deflated source and name indices where\n\t * the generated positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same generated line and column, but different\n\t * source/name/original line and column the same. Useful when searching for a\n\t * mapping with a stubbed out mapping.\n\t */\n\tfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0 || onlyCompareGenerated) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\t\n\tfunction strcmp(aStr1, aStr2) {\n\t if (aStr1 === aStr2) {\n\t return 0;\n\t }\n\t\n\t if (aStr1 > aStr2) {\n\t return 1;\n\t }\n\t\n\t return -1;\n\t}\n\t\n\t/**\n\t * Comparator between two mappings with inflated source and name strings where\n\t * the generated positions are compared.\n\t */\n\tfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = strcmp(mappingA.source, mappingB.source);\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\t\n\t return strcmp(mappingA.name, mappingB.name);\n\t}\n\texports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar hasNativeMap = typeof Map !== \"undefined\";\n\t\n\t/**\n\t * A data structure which is a combination of an array and a set. Adding a new\n\t * member is O(1), testing for membership is O(1), and finding the index of an\n\t * element is O(1). Removing elements from the set is not supported. Only\n\t * strings are supported for membership.\n\t */\n\tfunction ArraySet() {\n\t this._array = [];\n\t this._set = hasNativeMap ? new Map() : Object.create(null);\n\t}\n\t\n\t/**\n\t * Static method for creating ArraySet instances from an existing array.\n\t */\n\tArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n\t var set = new ArraySet();\n\t for (var i = 0, len = aArray.length; i < len; i++) {\n\t set.add(aArray[i], aAllowDuplicates);\n\t }\n\t return set;\n\t};\n\t\n\t/**\n\t * Return how many unique items are in this ArraySet. If duplicates have been\n\t * added, than those do not count towards the size.\n\t *\n\t * @returns Number\n\t */\n\tArraySet.prototype.size = function ArraySet_size() {\n\t return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n\t};\n\t\n\t/**\n\t * Add the given string to this set.\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n\t var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n\t var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n\t var idx = this._array.length;\n\t if (!isDuplicate || aAllowDuplicates) {\n\t this._array.push(aStr);\n\t }\n\t if (!isDuplicate) {\n\t if (hasNativeMap) {\n\t this._set.set(aStr, idx);\n\t } else {\n\t this._set[sStr] = idx;\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * Is the given string a member of this set?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.has = function ArraySet_has(aStr) {\n\t if (hasNativeMap) {\n\t return this._set.has(aStr);\n\t } else {\n\t var sStr = util.toSetString(aStr);\n\t return has.call(this._set, sStr);\n\t }\n\t};\n\t\n\t/**\n\t * What is the index of the given string in the array?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n\t if (hasNativeMap) {\n\t var idx = this._set.get(aStr);\n\t if (idx >= 0) {\n\t return idx;\n\t }\n\t } else {\n\t var sStr = util.toSetString(aStr);\n\t if (has.call(this._set, sStr)) {\n\t return this._set[sStr];\n\t }\n\t }\n\t\n\t throw new Error('\"' + aStr + '\" is not in the set.');\n\t};\n\t\n\t/**\n\t * What is the element at the given index?\n\t *\n\t * @param Number aIdx\n\t */\n\tArraySet.prototype.at = function ArraySet_at(aIdx) {\n\t if (aIdx >= 0 && aIdx < this._array.length) {\n\t return this._array[aIdx];\n\t }\n\t throw new Error('No element indexed by ' + aIdx);\n\t};\n\t\n\t/**\n\t * Returns the array representation of this set (which has the proper indices\n\t * indicated by indexOf). Note that this is a copy of the internal array used\n\t * for storing the members so that no one can mess with internal state.\n\t */\n\tArraySet.prototype.toArray = function ArraySet_toArray() {\n\t return this._array.slice();\n\t};\n\t\n\texports.ArraySet = ArraySet;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2014 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\t\n\t/**\n\t * Determine whether mappingB is after mappingA with respect to generated\n\t * position.\n\t */\n\tfunction generatedPositionAfter(mappingA, mappingB) {\n\t // Optimized for most common case\n\t var lineA = mappingA.generatedLine;\n\t var lineB = mappingB.generatedLine;\n\t var columnA = mappingA.generatedColumn;\n\t var columnB = mappingB.generatedColumn;\n\t return lineB > lineA || lineB == lineA && columnB >= columnA ||\n\t util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n\t}\n\t\n\t/**\n\t * A data structure to provide a sorted view of accumulated mappings in a\n\t * performance conscious manner. It trades a neglibable overhead in general\n\t * case for a large speedup in case of mappings being added in order.\n\t */\n\tfunction MappingList() {\n\t this._array = [];\n\t this._sorted = true;\n\t // Serves as infimum\n\t this._last = {generatedLine: -1, generatedColumn: 0};\n\t}\n\t\n\t/**\n\t * Iterate through internal items. This method takes the same arguments that\n\t * `Array.prototype.forEach` takes.\n\t *\n\t * NOTE: The order of the mappings is NOT guaranteed.\n\t */\n\tMappingList.prototype.unsortedForEach =\n\t function MappingList_forEach(aCallback, aThisArg) {\n\t this._array.forEach(aCallback, aThisArg);\n\t };\n\t\n\t/**\n\t * Add the given source mapping.\n\t *\n\t * @param Object aMapping\n\t */\n\tMappingList.prototype.add = function MappingList_add(aMapping) {\n\t if (generatedPositionAfter(this._last, aMapping)) {\n\t this._last = aMapping;\n\t this._array.push(aMapping);\n\t } else {\n\t this._sorted = false;\n\t this._array.push(aMapping);\n\t }\n\t};\n\t\n\t/**\n\t * Returns the flat, sorted array of mappings. The mappings are sorted by\n\t * generated position.\n\t *\n\t * WARNING: This method returns internal data without copying, for\n\t * performance. The return value must NOT be mutated, and should be treated as\n\t * an immutable borrow. If you want to take ownership, you must make your own\n\t * copy.\n\t */\n\tMappingList.prototype.toArray = function MappingList_toArray() {\n\t if (!this._sorted) {\n\t this._array.sort(util.compareByGeneratedPositionsInflated);\n\t this._sorted = true;\n\t }\n\t return this._array;\n\t};\n\t\n\texports.MappingList = MappingList;\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar util = __webpack_require__(4);\n\tvar binarySearch = __webpack_require__(8);\n\tvar ArraySet = __webpack_require__(5).ArraySet;\n\tvar base64VLQ = __webpack_require__(2);\n\tvar quickSort = __webpack_require__(9).quickSort;\n\t\n\tfunction SourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t return sourceMap.sections != null\n\t ? new IndexedSourceMapConsumer(sourceMap)\n\t : new BasicSourceMapConsumer(sourceMap);\n\t}\n\t\n\tSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n\t return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n\t}\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tSourceMapConsumer.prototype._version = 3;\n\t\n\t// `__generatedMappings` and `__originalMappings` are arrays that hold the\n\t// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n\t// are lazily instantiated, accessed via the `_generatedMappings` and\n\t// `_originalMappings` getters respectively, and we only parse the mappings\n\t// and create these arrays once queried for a source location. We jump through\n\t// these hoops because there can be many thousands of mappings, and parsing\n\t// them is expensive, so we only want to do it if we must.\n\t//\n\t// Each object in the arrays is of the form:\n\t//\n\t// {\n\t// generatedLine: The line number in the generated code,\n\t// generatedColumn: The column number in the generated code,\n\t// source: The path to the original source file that generated this\n\t// chunk of code,\n\t// originalLine: The line number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// originalColumn: The column number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// name: The name of the original symbol which generated this chunk of\n\t// code.\n\t// }\n\t//\n\t// All properties except for `generatedLine` and `generatedColumn` can be\n\t// `null`.\n\t//\n\t// `_generatedMappings` is ordered by the generated positions.\n\t//\n\t// `_originalMappings` is ordered by the original positions.\n\t\n\tSourceMapConsumer.prototype.__generatedMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n\t get: function () {\n\t if (!this.__generatedMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\t\n\t return this.__generatedMappings;\n\t }\n\t});\n\t\n\tSourceMapConsumer.prototype.__originalMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n\t get: function () {\n\t if (!this.__originalMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\t\n\t return this.__originalMappings;\n\t }\n\t});\n\t\n\tSourceMapConsumer.prototype._charIsMappingSeparator =\n\t function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n\t var c = aStr.charAt(index);\n\t return c === \";\" || c === \",\";\n\t };\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t throw new Error(\"Subclasses must implement _parseMappings\");\n\t };\n\t\n\tSourceMapConsumer.GENERATED_ORDER = 1;\n\tSourceMapConsumer.ORIGINAL_ORDER = 2;\n\t\n\tSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\n\tSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\t\n\t/**\n\t * Iterate over each mapping between an original source/line/column and a\n\t * generated line/column in this source map.\n\t *\n\t * @param Function aCallback\n\t * The function that is called with each mapping.\n\t * @param Object aContext\n\t * Optional. If specified, this object will be the value of `this` every\n\t * time that `aCallback` is called.\n\t * @param aOrder\n\t * Either `SourceMapConsumer.GENERATED_ORDER` or\n\t * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n\t * iterate over the mappings sorted by the generated file's line/column\n\t * order or the original's source/line/column order, respectively. Defaults to\n\t * `SourceMapConsumer.GENERATED_ORDER`.\n\t */\n\tSourceMapConsumer.prototype.eachMapping =\n\t function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n\t var context = aContext || null;\n\t var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\t\n\t var mappings;\n\t switch (order) {\n\t case SourceMapConsumer.GENERATED_ORDER:\n\t mappings = this._generatedMappings;\n\t break;\n\t case SourceMapConsumer.ORIGINAL_ORDER:\n\t mappings = this._originalMappings;\n\t break;\n\t default:\n\t throw new Error(\"Unknown order of iteration.\");\n\t }\n\t\n\t var sourceRoot = this.sourceRoot;\n\t mappings.map(function (mapping) {\n\t var source = mapping.source === null ? null : this._sources.at(mapping.source);\n\t if (source != null && sourceRoot != null) {\n\t source = util.join(sourceRoot, source);\n\t }\n\t return {\n\t source: source,\n\t generatedLine: mapping.generatedLine,\n\t generatedColumn: mapping.generatedColumn,\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: mapping.name === null ? null : this._names.at(mapping.name)\n\t };\n\t }, this).forEach(aCallback, context);\n\t };\n\t\n\t/**\n\t * Returns all generated line and column information for the original source,\n\t * line, and column provided. If no column is provided, returns all mappings\n\t * corresponding to a either the line we are searching for or the next\n\t * closest line that has any mappings. Otherwise, returns all mappings\n\t * corresponding to the given line and either the column we are searching for\n\t * or the next closest column that has any offsets.\n\t *\n\t * The only argument is an object with the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: Optional. the column number in the original source.\n\t *\n\t * and an array of objects is returned, each with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tSourceMapConsumer.prototype.allGeneratedPositionsFor =\n\t function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n\t var line = util.getArg(aArgs, 'line');\n\t\n\t // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n\t // returns the index of the closest mapping less than the needle. By\n\t // setting needle.originalColumn to 0, we thus find the last mapping for\n\t // the given line, provided such a mapping exists.\n\t var needle = {\n\t source: util.getArg(aArgs, 'source'),\n\t originalLine: line,\n\t originalColumn: util.getArg(aArgs, 'column', 0)\n\t };\n\t\n\t if (this.sourceRoot != null) {\n\t needle.source = util.relative(this.sourceRoot, needle.source);\n\t }\n\t if (!this._sources.has(needle.source)) {\n\t return [];\n\t }\n\t needle.source = this._sources.indexOf(needle.source);\n\t\n\t var mappings = [];\n\t\n\t var index = this._findMapping(needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t binarySearch.LEAST_UPPER_BOUND);\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\t\n\t if (aArgs.column === undefined) {\n\t var originalLine = mapping.originalLine;\n\t\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we found. Since\n\t // mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we found.\n\t while (mapping && mapping.originalLine === originalLine) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\t\n\t mapping = this._originalMappings[++index];\n\t }\n\t } else {\n\t var originalColumn = mapping.originalColumn;\n\t\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we were searching for.\n\t // Since mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we are searching for.\n\t while (mapping &&\n\t mapping.originalLine === line &&\n\t mapping.originalColumn == originalColumn) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\t\n\t mapping = this._originalMappings[++index];\n\t }\n\t }\n\t }\n\t\n\t return mappings;\n\t };\n\t\n\texports.SourceMapConsumer = SourceMapConsumer;\n\t\n\t/**\n\t * A BasicSourceMapConsumer instance represents a parsed source map which we can\n\t * query for information about the original file positions by giving it a file\n\t * position in the generated source.\n\t *\n\t * The only parameter is the raw source map (either as a JSON string, or\n\t * already parsed to an object). According to the spec, source maps have the\n\t * following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - sources: An array of URLs to the original source files.\n\t * - names: An array of identifiers which can be referrenced by individual mappings.\n\t * - sourceRoot: Optional. The URL root from which all sources are relative.\n\t * - sourcesContent: Optional. An array of contents of the original source files.\n\t * - mappings: A string of base64 VLQs which contain the actual mappings.\n\t * - file: Optional. The generated file this source map is associated with.\n\t *\n\t * Here is an example source map, taken from the source map spec[0]:\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"out.js\",\n\t * sourceRoot : \"\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AA,AB;;ABCDE;\"\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n\t */\n\tfunction BasicSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t var version = util.getArg(sourceMap, 'version');\n\t var sources = util.getArg(sourceMap, 'sources');\n\t // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n\t // requires the array) to play nice here.\n\t var names = util.getArg(sourceMap, 'names', []);\n\t var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n\t var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n\t var mappings = util.getArg(sourceMap, 'mappings');\n\t var file = util.getArg(sourceMap, 'file', null);\n\t\n\t // Once again, Sass deviates from the spec and supplies the version as a\n\t // string rather than a number, so we use loose equality checking here.\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\t\n\t sources = sources\n\t .map(String)\n\t // Some source maps produce relative source paths like \"./foo.js\" instead of\n\t // \"foo.js\". Normalize these first so that future comparisons will succeed.\n\t // See bugzil.la/1090768.\n\t .map(util.normalize)\n\t // Always ensure that absolute sources are internally stored relative to\n\t // the source root, if the source root is absolute. Not doing this would\n\t // be particularly problematic when the source root is a prefix of the\n\t // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n\t .map(function (source) {\n\t return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n\t ? util.relative(sourceRoot, source)\n\t : source;\n\t });\n\t\n\t // Pass `true` below to allow duplicate names and sources. While source maps\n\t // are intended to be compressed and deduplicated, the TypeScript compiler\n\t // sometimes generates source maps with duplicates in them. See Github issue\n\t // #72 and bugzil.la/889492.\n\t this._names = ArraySet.fromArray(names.map(String), true);\n\t this._sources = ArraySet.fromArray(sources, true);\n\t\n\t this.sourceRoot = sourceRoot;\n\t this.sourcesContent = sourcesContent;\n\t this._mappings = mappings;\n\t this.file = file;\n\t}\n\t\n\tBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\t\n\t/**\n\t * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n\t *\n\t * @param SourceMapGenerator aSourceMap\n\t * The source map that will be consumed.\n\t * @returns BasicSourceMapConsumer\n\t */\n\tBasicSourceMapConsumer.fromSourceMap =\n\t function SourceMapConsumer_fromSourceMap(aSourceMap) {\n\t var smc = Object.create(BasicSourceMapConsumer.prototype);\n\t\n\t var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n\t var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n\t smc.sourceRoot = aSourceMap._sourceRoot;\n\t smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n\t smc.sourceRoot);\n\t smc.file = aSourceMap._file;\n\t\n\t // Because we are modifying the entries (by converting string sources and\n\t // names to indices into the sources and names ArraySets), we have to make\n\t // a copy of the entry or else bad things happen. Shared mutable state\n\t // strikes again! See github issue #191.\n\t\n\t var generatedMappings = aSourceMap._mappings.toArray().slice();\n\t var destGeneratedMappings = smc.__generatedMappings = [];\n\t var destOriginalMappings = smc.__originalMappings = [];\n\t\n\t for (var i = 0, length = generatedMappings.length; i < length; i++) {\n\t var srcMapping = generatedMappings[i];\n\t var destMapping = new Mapping;\n\t destMapping.generatedLine = srcMapping.generatedLine;\n\t destMapping.generatedColumn = srcMapping.generatedColumn;\n\t\n\t if (srcMapping.source) {\n\t destMapping.source = sources.indexOf(srcMapping.source);\n\t destMapping.originalLine = srcMapping.originalLine;\n\t destMapping.originalColumn = srcMapping.originalColumn;\n\t\n\t if (srcMapping.name) {\n\t destMapping.name = names.indexOf(srcMapping.name);\n\t }\n\t\n\t destOriginalMappings.push(destMapping);\n\t }\n\t\n\t destGeneratedMappings.push(destMapping);\n\t }\n\t\n\t quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\t\n\t return smc;\n\t };\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tBasicSourceMapConsumer.prototype._version = 3;\n\t\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t return this._sources.toArray().map(function (s) {\n\t return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n\t }, this);\n\t }\n\t});\n\t\n\t/**\n\t * Provide the JIT with a nice shape / hidden class.\n\t */\n\tfunction Mapping() {\n\t this.generatedLine = 0;\n\t this.generatedColumn = 0;\n\t this.source = null;\n\t this.originalLine = null;\n\t this.originalColumn = null;\n\t this.name = null;\n\t}\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tBasicSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t var generatedLine = 1;\n\t var previousGeneratedColumn = 0;\n\t var previousOriginalLine = 0;\n\t var previousOriginalColumn = 0;\n\t var previousSource = 0;\n\t var previousName = 0;\n\t var length = aStr.length;\n\t var index = 0;\n\t var cachedSegments = {};\n\t var temp = {};\n\t var originalMappings = [];\n\t var generatedMappings = [];\n\t var mapping, str, segment, end, value;\n\t\n\t while (index < length) {\n\t if (aStr.charAt(index) === ';') {\n\t generatedLine++;\n\t index++;\n\t previousGeneratedColumn = 0;\n\t }\n\t else if (aStr.charAt(index) === ',') {\n\t index++;\n\t }\n\t else {\n\t mapping = new Mapping();\n\t mapping.generatedLine = generatedLine;\n\t\n\t // Because each offset is encoded relative to the previous one,\n\t // many segments often have the same encoding. We can exploit this\n\t // fact by caching the parsed variable length fields of each segment,\n\t // allowing us to avoid a second parse if we encounter the same\n\t // segment again.\n\t for (end = index; end < length; end++) {\n\t if (this._charIsMappingSeparator(aStr, end)) {\n\t break;\n\t }\n\t }\n\t str = aStr.slice(index, end);\n\t\n\t segment = cachedSegments[str];\n\t if (segment) {\n\t index += str.length;\n\t } else {\n\t segment = [];\n\t while (index < end) {\n\t base64VLQ.decode(aStr, index, temp);\n\t value = temp.value;\n\t index = temp.rest;\n\t segment.push(value);\n\t }\n\t\n\t if (segment.length === 2) {\n\t throw new Error('Found a source, but no line and column');\n\t }\n\t\n\t if (segment.length === 3) {\n\t throw new Error('Found a source and line, but no column');\n\t }\n\t\n\t cachedSegments[str] = segment;\n\t }\n\t\n\t // Generated column.\n\t mapping.generatedColumn = previousGeneratedColumn + segment[0];\n\t previousGeneratedColumn = mapping.generatedColumn;\n\t\n\t if (segment.length > 1) {\n\t // Original source.\n\t mapping.source = previousSource + segment[1];\n\t previousSource += segment[1];\n\t\n\t // Original line.\n\t mapping.originalLine = previousOriginalLine + segment[2];\n\t previousOriginalLine = mapping.originalLine;\n\t // Lines are stored 0-based\n\t mapping.originalLine += 1;\n\t\n\t // Original column.\n\t mapping.originalColumn = previousOriginalColumn + segment[3];\n\t previousOriginalColumn = mapping.originalColumn;\n\t\n\t if (segment.length > 4) {\n\t // Original name.\n\t mapping.name = previousName + segment[4];\n\t previousName += segment[4];\n\t }\n\t }\n\t\n\t generatedMappings.push(mapping);\n\t if (typeof mapping.originalLine === 'number') {\n\t originalMappings.push(mapping);\n\t }\n\t }\n\t }\n\t\n\t quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t this.__generatedMappings = generatedMappings;\n\t\n\t quickSort(originalMappings, util.compareByOriginalPositions);\n\t this.__originalMappings = originalMappings;\n\t };\n\t\n\t/**\n\t * Find the mapping that best matches the hypothetical \"needle\" mapping that\n\t * we are searching for in the given \"haystack\" of mappings.\n\t */\n\tBasicSourceMapConsumer.prototype._findMapping =\n\t function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n\t aColumnName, aComparator, aBias) {\n\t // To return the position we are searching for, we must first find the\n\t // mapping for the given position and then return the opposite position it\n\t // points to. Because the mappings are sorted, we can use binary search to\n\t // find the best mapping.\n\t\n\t if (aNeedle[aLineName] <= 0) {\n\t throw new TypeError('Line must be greater than or equal to 1, got '\n\t + aNeedle[aLineName]);\n\t }\n\t if (aNeedle[aColumnName] < 0) {\n\t throw new TypeError('Column must be greater than or equal to 0, got '\n\t + aNeedle[aColumnName]);\n\t }\n\t\n\t return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n\t };\n\t\n\t/**\n\t * Compute the last column for each generated mapping. The last column is\n\t * inclusive.\n\t */\n\tBasicSourceMapConsumer.prototype.computeColumnSpans =\n\t function SourceMapConsumer_computeColumnSpans() {\n\t for (var index = 0; index < this._generatedMappings.length; ++index) {\n\t var mapping = this._generatedMappings[index];\n\t\n\t // Mappings do not contain a field for the last generated columnt. We\n\t // can come up with an optimistic estimate, however, by assuming that\n\t // mappings are contiguous (i.e. given two consecutive mappings, the\n\t // first mapping ends where the second one starts).\n\t if (index + 1 < this._generatedMappings.length) {\n\t var nextMapping = this._generatedMappings[index + 1];\n\t\n\t if (mapping.generatedLine === nextMapping.generatedLine) {\n\t mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n\t continue;\n\t }\n\t }\n\t\n\t // The last mapping for each line spans the entire line.\n\t mapping.lastGeneratedColumn = Infinity;\n\t }\n\t };\n\t\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.originalPositionFor =\n\t function SourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t var index = this._findMapping(\n\t needle,\n\t this._generatedMappings,\n\t \"generatedLine\",\n\t \"generatedColumn\",\n\t util.compareByGeneratedPositionsDeflated,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\t\n\t if (index >= 0) {\n\t var mapping = this._generatedMappings[index];\n\t\n\t if (mapping.generatedLine === needle.generatedLine) {\n\t var source = util.getArg(mapping, 'source', null);\n\t if (source !== null) {\n\t source = this._sources.at(source);\n\t if (this.sourceRoot != null) {\n\t source = util.join(this.sourceRoot, source);\n\t }\n\t }\n\t var name = util.getArg(mapping, 'name', null);\n\t if (name !== null) {\n\t name = this._names.at(name);\n\t }\n\t return {\n\t source: source,\n\t line: util.getArg(mapping, 'originalLine', null),\n\t column: util.getArg(mapping, 'originalColumn', null),\n\t name: name\n\t };\n\t }\n\t }\n\t\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t };\n\t\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function BasicSourceMapConsumer_hasContentsOfAllSources() {\n\t if (!this.sourcesContent) {\n\t return false;\n\t }\n\t return this.sourcesContent.length >= this._sources.size() &&\n\t !this.sourcesContent.some(function (sc) { return sc == null; });\n\t };\n\t\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tBasicSourceMapConsumer.prototype.sourceContentFor =\n\t function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t if (!this.sourcesContent) {\n\t return null;\n\t }\n\t\n\t if (this.sourceRoot != null) {\n\t aSource = util.relative(this.sourceRoot, aSource);\n\t }\n\t\n\t if (this._sources.has(aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(aSource)];\n\t }\n\t\n\t var url;\n\t if (this.sourceRoot != null\n\t && (url = util.urlParse(this.sourceRoot))) {\n\t // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n\t // many users. We can help them out when they expect file:// URIs to\n\t // behave like it would if they were running a local HTTP server. See\n\t // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n\t var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n\t if (url.scheme == \"file\"\n\t && this._sources.has(fileUriAbsPath)) {\n\t return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n\t }\n\t\n\t if ((!url.path || url.path == \"/\")\n\t && this._sources.has(\"/\" + aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n\t }\n\t }\n\t\n\t // This function is used recursively from\n\t // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n\t // don't want to throw if we can't find the source - we just want to\n\t // return null, so we provide a flag to exit gracefully.\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\t\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.generatedPositionFor =\n\t function SourceMapConsumer_generatedPositionFor(aArgs) {\n\t var source = util.getArg(aArgs, 'source');\n\t if (this.sourceRoot != null) {\n\t source = util.relative(this.sourceRoot, source);\n\t }\n\t if (!this._sources.has(source)) {\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t }\n\t source = this._sources.indexOf(source);\n\t\n\t var needle = {\n\t source: source,\n\t originalLine: util.getArg(aArgs, 'line'),\n\t originalColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t var index = this._findMapping(\n\t needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\t\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\t\n\t if (mapping.source === needle.source) {\n\t return {\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t };\n\t }\n\t }\n\t\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t };\n\t\n\texports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\t\n\t/**\n\t * An IndexedSourceMapConsumer instance represents a parsed source map which\n\t * we can query for information. It differs from BasicSourceMapConsumer in\n\t * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n\t * input.\n\t *\n\t * The only parameter is a raw source map (either as a JSON string, or already\n\t * parsed to an object). According to the spec for indexed source maps, they\n\t * have the following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - file: Optional. The generated file this source map is associated with.\n\t * - sections: A list of section definitions.\n\t *\n\t * Each value under the \"sections\" field has two fields:\n\t * - offset: The offset into the original specified at which this section\n\t * begins to apply, defined as an object with a \"line\" and \"column\"\n\t * field.\n\t * - map: A source map definition. This source map could also be indexed,\n\t * but doesn't have to be.\n\t *\n\t * Instead of the \"map\" field, it's also possible to have a \"url\" field\n\t * specifying a URL to retrieve a source map from, but that's currently\n\t * unsupported.\n\t *\n\t * Here's an example source map, taken from the source map spec[0], but\n\t * modified to omit a section which uses the \"url\" field.\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"app.js\",\n\t * sections: [{\n\t * offset: {line:100, column:10},\n\t * map: {\n\t * version : 3,\n\t * file: \"section.js\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AAAA,E;;ABCDE;\"\n\t * }\n\t * }],\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n\t */\n\tfunction IndexedSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\t\n\t var version = util.getArg(sourceMap, 'version');\n\t var sections = util.getArg(sourceMap, 'sections');\n\t\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\t\n\t this._sources = new ArraySet();\n\t this._names = new ArraySet();\n\t\n\t var lastOffset = {\n\t line: -1,\n\t column: 0\n\t };\n\t this._sections = sections.map(function (s) {\n\t if (s.url) {\n\t // The url field will require support for asynchronicity.\n\t // See https://github.com/mozilla/source-map/issues/16\n\t throw new Error('Support for url field in sections not implemented.');\n\t }\n\t var offset = util.getArg(s, 'offset');\n\t var offsetLine = util.getArg(offset, 'line');\n\t var offsetColumn = util.getArg(offset, 'column');\n\t\n\t if (offsetLine < lastOffset.line ||\n\t (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n\t throw new Error('Section offsets must be ordered and non-overlapping.');\n\t }\n\t lastOffset = offset;\n\t\n\t return {\n\t generatedOffset: {\n\t // The offset fields are 0-based, but we use 1-based indices when\n\t // encoding/decoding from VLQ.\n\t generatedLine: offsetLine + 1,\n\t generatedColumn: offsetColumn + 1\n\t },\n\t consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n\t }\n\t });\n\t}\n\t\n\tIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\t\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tIndexedSourceMapConsumer.prototype._version = 3;\n\t\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t var sources = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n\t sources.push(this._sections[i].consumer.sources[j]);\n\t }\n\t }\n\t return sources;\n\t }\n\t});\n\t\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.originalPositionFor =\n\t function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\t\n\t // Find the section containing the generated position we're trying to map\n\t // to an original position.\n\t var sectionIndex = binarySearch.search(needle, this._sections,\n\t function(needle, section) {\n\t var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n\t if (cmp) {\n\t return cmp;\n\t }\n\t\n\t return (needle.generatedColumn -\n\t section.generatedOffset.generatedColumn);\n\t });\n\t var section = this._sections[sectionIndex];\n\t\n\t if (!section) {\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t }\n\t\n\t return section.consumer.originalPositionFor({\n\t line: needle.generatedLine -\n\t (section.generatedOffset.generatedLine - 1),\n\t column: needle.generatedColumn -\n\t (section.generatedOffset.generatedLine === needle.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t bias: aArgs.bias\n\t });\n\t };\n\t\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n\t return this._sections.every(function (s) {\n\t return s.consumer.hasContentsOfAllSources();\n\t });\n\t };\n\t\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tIndexedSourceMapConsumer.prototype.sourceContentFor =\n\t function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t\n\t var content = section.consumer.sourceContentFor(aSource, true);\n\t if (content) {\n\t return content;\n\t }\n\t }\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\t\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.generatedPositionFor =\n\t function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t\n\t // Only consider this section if the requested source is in the list of\n\t // sources of the consumer.\n\t if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n\t continue;\n\t }\n\t var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n\t if (generatedPosition) {\n\t var ret = {\n\t line: generatedPosition.line +\n\t (section.generatedOffset.generatedLine - 1),\n\t column: generatedPosition.column +\n\t (section.generatedOffset.generatedLine === generatedPosition.line\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0)\n\t };\n\t return ret;\n\t }\n\t }\n\t\n\t return {\n\t line: null,\n\t column: null\n\t };\n\t };\n\t\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tIndexedSourceMapConsumer.prototype._parseMappings =\n\t function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t this.__generatedMappings = [];\n\t this.__originalMappings = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t var sectionMappings = section.consumer._generatedMappings;\n\t for (var j = 0; j < sectionMappings.length; j++) {\n\t var mapping = sectionMappings[j];\n\t\n\t var source = section.consumer._sources.at(mapping.source);\n\t if (section.consumer.sourceRoot !== null) {\n\t source = util.join(section.consumer.sourceRoot, source);\n\t }\n\t this._sources.add(source);\n\t source = this._sources.indexOf(source);\n\t\n\t var name = section.consumer._names.at(mapping.name);\n\t this._names.add(name);\n\t name = this._names.indexOf(name);\n\t\n\t // The mappings coming from the consumer for the section have\n\t // generated positions relative to the start of the section, so we\n\t // need to offset them to be relative to the start of the concatenated\n\t // generated file.\n\t var adjustedMapping = {\n\t source: source,\n\t generatedLine: mapping.generatedLine +\n\t (section.generatedOffset.generatedLine - 1),\n\t generatedColumn: mapping.generatedColumn +\n\t (section.generatedOffset.generatedLine === mapping.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: name\n\t };\n\t\n\t this.__generatedMappings.push(adjustedMapping);\n\t if (typeof adjustedMapping.originalLine === 'number') {\n\t this.__originalMappings.push(adjustedMapping);\n\t }\n\t }\n\t }\n\t\n\t quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t quickSort(this.__originalMappings, util.compareByOriginalPositions);\n\t };\n\t\n\texports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\texports.GREATEST_LOWER_BOUND = 1;\n\texports.LEAST_UPPER_BOUND = 2;\n\t\n\t/**\n\t * Recursive implementation of binary search.\n\t *\n\t * @param aLow Indices here and lower do not contain the needle.\n\t * @param aHigh Indices here and higher do not contain the needle.\n\t * @param aNeedle The element being searched for.\n\t * @param aHaystack The non-empty array being searched.\n\t * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t */\n\tfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n\t // This function terminates when one of the following is true:\n\t //\n\t // 1. We find the exact element we are looking for.\n\t //\n\t // 2. We did not find the exact element, but we can return the index of\n\t // the next-closest element.\n\t //\n\t // 3. We did not find the exact element, and there is no next-closest\n\t // element than the one we are searching for, so we return -1.\n\t var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n\t var cmp = aCompare(aNeedle, aHaystack[mid], true);\n\t if (cmp === 0) {\n\t // Found the element we are looking for.\n\t return mid;\n\t }\n\t else if (cmp > 0) {\n\t // Our needle is greater than aHaystack[mid].\n\t if (aHigh - mid > 1) {\n\t // The element is in the upper half.\n\t return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\t\n\t // The exact needle element was not found in this haystack. Determine if\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return aHigh < aHaystack.length ? aHigh : -1;\n\t } else {\n\t return mid;\n\t }\n\t }\n\t else {\n\t // Our needle is less than aHaystack[mid].\n\t if (mid - aLow > 1) {\n\t // The element is in the lower half.\n\t return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\t\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return mid;\n\t } else {\n\t return aLow < 0 ? -1 : aLow;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * This is an implementation of binary search which will always try and return\n\t * the index of the closest element if there is no exact hit. This is because\n\t * mappings between original and generated line/col pairs are single points,\n\t * and there is an implicit region between each of them, so a miss just means\n\t * that you aren't on the very start of a region.\n\t *\n\t * @param aNeedle The element you are looking for.\n\t * @param aHaystack The array that is being searched.\n\t * @param aCompare A function which takes the needle and an element in the\n\t * array and returns -1, 0, or 1 depending on whether the needle is less\n\t * than, equal to, or greater than the element, respectively.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n\t */\n\texports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n\t if (aHaystack.length === 0) {\n\t return -1;\n\t }\n\t\n\t var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n\t aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n\t if (index < 0) {\n\t return -1;\n\t }\n\t\n\t // We have found either the exact element, or the next-closest element than\n\t // the one we are searching for. However, there may be more than one such\n\t // element. Make sure we always return the smallest of these.\n\t while (index - 1 >= 0) {\n\t if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n\t break;\n\t }\n\t --index;\n\t }\n\t\n\t return index;\n\t};\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\t// It turns out that some (most?) JavaScript engines don't self-host\n\t// `Array.prototype.sort`. This makes sense because C++ will likely remain\n\t// faster than JS when doing raw CPU-intensive sorting. However, when using a\n\t// custom comparator function, calling back and forth between the VM's C++ and\n\t// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n\t// worse generated code for the comparator function than would be optimal. In\n\t// fact, when sorting with a comparator, these costs outweigh the benefits of\n\t// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n\t// a ~3500ms mean speed-up in `bench/bench.html`.\n\t\n\t/**\n\t * Swap the elements indexed by `x` and `y` in the array `ary`.\n\t *\n\t * @param {Array} ary\n\t * The array.\n\t * @param {Number} x\n\t * The index of the first item.\n\t * @param {Number} y\n\t * The index of the second item.\n\t */\n\tfunction swap(ary, x, y) {\n\t var temp = ary[x];\n\t ary[x] = ary[y];\n\t ary[y] = temp;\n\t}\n\t\n\t/**\n\t * Returns a random integer within the range `low .. high` inclusive.\n\t *\n\t * @param {Number} low\n\t * The lower bound on the range.\n\t * @param {Number} high\n\t * The upper bound on the range.\n\t */\n\tfunction randomIntInRange(low, high) {\n\t return Math.round(low + (Math.random() * (high - low)));\n\t}\n\t\n\t/**\n\t * The Quick Sort algorithm.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t * @param {Number} p\n\t * Start index of the array\n\t * @param {Number} r\n\t * End index of the array\n\t */\n\tfunction doQuickSort(ary, comparator, p, r) {\n\t // If our lower bound is less than our upper bound, we (1) partition the\n\t // array into two pieces and (2) recurse on each half. If it is not, this is\n\t // the empty array and our base case.\n\t\n\t if (p < r) {\n\t // (1) Partitioning.\n\t //\n\t // The partitioning chooses a pivot between `p` and `r` and moves all\n\t // elements that are less than or equal to the pivot to the before it, and\n\t // all the elements that are greater than it after it. The effect is that\n\t // once partition is done, the pivot is in the exact place it will be when\n\t // the array is put in sorted order, and it will not need to be moved\n\t // again. This runs in O(n) time.\n\t\n\t // Always choose a random pivot so that an input array which is reverse\n\t // sorted does not cause O(n^2) running time.\n\t var pivotIndex = randomIntInRange(p, r);\n\t var i = p - 1;\n\t\n\t swap(ary, pivotIndex, r);\n\t var pivot = ary[r];\n\t\n\t // Immediately after `j` is incremented in this loop, the following hold\n\t // true:\n\t //\n\t // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n\t //\n\t // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n\t for (var j = p; j < r; j++) {\n\t if (comparator(ary[j], pivot) <= 0) {\n\t i += 1;\n\t swap(ary, i, j);\n\t }\n\t }\n\t\n\t swap(ary, i + 1, j);\n\t var q = i + 1;\n\t\n\t // (2) Recurse on each half.\n\t\n\t doQuickSort(ary, comparator, p, q - 1);\n\t doQuickSort(ary, comparator, q + 1, r);\n\t }\n\t}\n\t\n\t/**\n\t * Sort the given array in-place with the given comparator function.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t */\n\texports.quickSort = function (ary, comparator) {\n\t doQuickSort(ary, comparator, 0, ary.length - 1);\n\t};\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\t\n\tvar SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;\n\tvar util = __webpack_require__(4);\n\t\n\t// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n\t// operating systems these days (capturing the result).\n\tvar REGEX_NEWLINE = /(\\r?\\n)/;\n\t\n\t// Newline character code for charCodeAt() comparisons\n\tvar NEWLINE_CODE = 10;\n\t\n\t// Private symbol for identifying `SourceNode`s when multiple versions of\n\t// the source-map library are loaded. This MUST NOT CHANGE across\n\t// versions!\n\tvar isSourceNode = \"$$$isSourceNode$$$\";\n\t\n\t/**\n\t * SourceNodes provide a way to abstract over interpolating/concatenating\n\t * snippets of generated JavaScript source code while maintaining the line and\n\t * column information associated with the original source code.\n\t *\n\t * @param aLine The original line number.\n\t * @param aColumn The original column number.\n\t * @param aSource The original source's filename.\n\t * @param aChunks Optional. An array of strings which are snippets of\n\t * generated JS, or other SourceNodes.\n\t * @param aName The original identifier.\n\t */\n\tfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n\t this.children = [];\n\t this.sourceContents = {};\n\t this.line = aLine == null ? null : aLine;\n\t this.column = aColumn == null ? null : aColumn;\n\t this.source = aSource == null ? null : aSource;\n\t this.name = aName == null ? null : aName;\n\t this[isSourceNode] = true;\n\t if (aChunks != null) this.add(aChunks);\n\t}\n\t\n\t/**\n\t * Creates a SourceNode from generated code and a SourceMapConsumer.\n\t *\n\t * @param aGeneratedCode The generated code\n\t * @param aSourceMapConsumer The SourceMap for the generated code\n\t * @param aRelativePath Optional. The path that relative sources in the\n\t * SourceMapConsumer should be relative to.\n\t */\n\tSourceNode.fromStringWithSourceMap =\n\t function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n\t // The SourceNode we want to fill with the generated code\n\t // and the SourceMap\n\t var node = new SourceNode();\n\t\n\t // All even indices of this array are one line of the generated code,\n\t // while all odd indices are the newlines between two adjacent lines\n\t // (since `REGEX_NEWLINE` captures its match).\n\t // Processed fragments are accessed by calling `shiftNextLine`.\n\t var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n\t var remainingLinesIndex = 0;\n\t var shiftNextLine = function() {\n\t var lineContents = getNextLine();\n\t // The last line of a file might not have a newline.\n\t var newLine = getNextLine() || \"\";\n\t return lineContents + newLine;\n\t\n\t function getNextLine() {\n\t return remainingLinesIndex < remainingLines.length ?\n\t remainingLines[remainingLinesIndex++] : undefined;\n\t }\n\t };\n\t\n\t // We need to remember the position of \"remainingLines\"\n\t var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\t\n\t // The generate SourceNodes we need a code range.\n\t // To extract it current and last mapping is used.\n\t // Here we store the last mapping.\n\t var lastMapping = null;\n\t\n\t aSourceMapConsumer.eachMapping(function (mapping) {\n\t if (lastMapping !== null) {\n\t // We add the code from \"lastMapping\" to \"mapping\":\n\t // First check if there is a new line in between.\n\t if (lastGeneratedLine < mapping.generatedLine) {\n\t // Associate first line with \"lastMapping\"\n\t addMappingWithCode(lastMapping, shiftNextLine());\n\t lastGeneratedLine++;\n\t lastGeneratedColumn = 0;\n\t // The remaining code is added without mapping\n\t } else {\n\t // There is no new line in between.\n\t // Associate the code between \"lastGeneratedColumn\" and\n\t // \"mapping.generatedColumn\" with \"lastMapping\"\n\t var nextLine = remainingLines[remainingLinesIndex];\n\t var code = nextLine.substr(0, mapping.generatedColumn -\n\t lastGeneratedColumn);\n\t remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n\t lastGeneratedColumn);\n\t lastGeneratedColumn = mapping.generatedColumn;\n\t addMappingWithCode(lastMapping, code);\n\t // No more remaining code, continue\n\t lastMapping = mapping;\n\t return;\n\t }\n\t }\n\t // We add the generated code until the first mapping\n\t // to the SourceNode without any mapping.\n\t // Each line is added as separate string.\n\t while (lastGeneratedLine < mapping.generatedLine) {\n\t node.add(shiftNextLine());\n\t lastGeneratedLine++;\n\t }\n\t if (lastGeneratedColumn < mapping.generatedColumn) {\n\t var nextLine = remainingLines[remainingLinesIndex];\n\t node.add(nextLine.substr(0, mapping.generatedColumn));\n\t remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n\t lastGeneratedColumn = mapping.generatedColumn;\n\t }\n\t lastMapping = mapping;\n\t }, this);\n\t // We have processed all mappings.\n\t if (remainingLinesIndex < remainingLines.length) {\n\t if (lastMapping) {\n\t // Associate the remaining code in the current line with \"lastMapping\"\n\t addMappingWithCode(lastMapping, shiftNextLine());\n\t }\n\t // and add the remaining lines without any mapping\n\t node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n\t }\n\t\n\t // Copy sourcesContent into SourceNode\n\t aSourceMapConsumer.sources.forEach(function (sourceFile) {\n\t var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n\t if (content != null) {\n\t if (aRelativePath != null) {\n\t sourceFile = util.join(aRelativePath, sourceFile);\n\t }\n\t node.setSourceContent(sourceFile, content);\n\t }\n\t });\n\t\n\t return node;\n\t\n\t function addMappingWithCode(mapping, code) {\n\t if (mapping === null || mapping.source === undefined) {\n\t node.add(code);\n\t } else {\n\t var source = aRelativePath\n\t ? util.join(aRelativePath, mapping.source)\n\t : mapping.source;\n\t node.add(new SourceNode(mapping.originalLine,\n\t mapping.originalColumn,\n\t source,\n\t code,\n\t mapping.name));\n\t }\n\t }\n\t };\n\t\n\t/**\n\t * Add a chunk of generated JS to this source node.\n\t *\n\t * @param aChunk A string snippet of generated JS code, another instance of\n\t * SourceNode, or an array where each member is one of those things.\n\t */\n\tSourceNode.prototype.add = function SourceNode_add(aChunk) {\n\t if (Array.isArray(aChunk)) {\n\t aChunk.forEach(function (chunk) {\n\t this.add(chunk);\n\t }, this);\n\t }\n\t else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n\t if (aChunk) {\n\t this.children.push(aChunk);\n\t }\n\t }\n\t else {\n\t throw new TypeError(\n\t \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t );\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Add a chunk of generated JS to the beginning of this source node.\n\t *\n\t * @param aChunk A string snippet of generated JS code, another instance of\n\t * SourceNode, or an array where each member is one of those things.\n\t */\n\tSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n\t if (Array.isArray(aChunk)) {\n\t for (var i = aChunk.length-1; i >= 0; i--) {\n\t this.prepend(aChunk[i]);\n\t }\n\t }\n\t else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n\t this.children.unshift(aChunk);\n\t }\n\t else {\n\t throw new TypeError(\n\t \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t );\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Walk over the tree of JS snippets in this node and its children. The\n\t * walking function is called once for each snippet of JS and is passed that\n\t * snippet and the its original associated source's line/column location.\n\t *\n\t * @param aFn The traversal function.\n\t */\n\tSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n\t var chunk;\n\t for (var i = 0, len = this.children.length; i < len; i++) {\n\t chunk = this.children[i];\n\t if (chunk[isSourceNode]) {\n\t chunk.walk(aFn);\n\t }\n\t else {\n\t if (chunk !== '') {\n\t aFn(chunk, { source: this.source,\n\t line: this.line,\n\t column: this.column,\n\t name: this.name });\n\t }\n\t }\n\t }\n\t};\n\t\n\t/**\n\t * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n\t * each of `this.children`.\n\t *\n\t * @param aSep The separator.\n\t */\n\tSourceNode.prototype.join = function SourceNode_join(aSep) {\n\t var newChildren;\n\t var i;\n\t var len = this.children.length;\n\t if (len > 0) {\n\t newChildren = [];\n\t for (i = 0; i < len-1; i++) {\n\t newChildren.push(this.children[i]);\n\t newChildren.push(aSep);\n\t }\n\t newChildren.push(this.children[i]);\n\t this.children = newChildren;\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Call String.prototype.replace on the very right-most source snippet. Useful\n\t * for trimming whitespace from the end of a source node, etc.\n\t *\n\t * @param aPattern The pattern to replace.\n\t * @param aReplacement The thing to replace the pattern with.\n\t */\n\tSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n\t var lastChild = this.children[this.children.length - 1];\n\t if (lastChild[isSourceNode]) {\n\t lastChild.replaceRight(aPattern, aReplacement);\n\t }\n\t else if (typeof lastChild === 'string') {\n\t this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n\t }\n\t else {\n\t this.children.push(''.replace(aPattern, aReplacement));\n\t }\n\t return this;\n\t};\n\t\n\t/**\n\t * Set the source content for a source file. This will be added to the SourceMapGenerator\n\t * in the sourcesContent field.\n\t *\n\t * @param aSourceFile The filename of the source file\n\t * @param aSourceContent The content of the source file\n\t */\n\tSourceNode.prototype.setSourceContent =\n\t function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n\t this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n\t };\n\t\n\t/**\n\t * Walk over the tree of SourceNodes. The walking function is called for each\n\t * source file content and is passed the filename and source content.\n\t *\n\t * @param aFn The traversal function.\n\t */\n\tSourceNode.prototype.walkSourceContents =\n\t function SourceNode_walkSourceContents(aFn) {\n\t for (var i = 0, len = this.children.length; i < len; i++) {\n\t if (this.children[i][isSourceNode]) {\n\t this.children[i].walkSourceContents(aFn);\n\t }\n\t }\n\t\n\t var sources = Object.keys(this.sourceContents);\n\t for (var i = 0, len = sources.length; i < len; i++) {\n\t aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n\t }\n\t };\n\t\n\t/**\n\t * Return the string representation of this source node. Walks over the tree\n\t * and concatenates all the various snippets together to one string.\n\t */\n\tSourceNode.prototype.toString = function SourceNode_toString() {\n\t var str = \"\";\n\t this.walk(function (chunk) {\n\t str += chunk;\n\t });\n\t return str;\n\t};\n\t\n\t/**\n\t * Returns the string representation of this source node along with a source\n\t * map.\n\t */\n\tSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n\t var generated = {\n\t code: \"\",\n\t line: 1,\n\t column: 0\n\t };\n\t var map = new SourceMapGenerator(aArgs);\n\t var sourceMappingActive = false;\n\t var lastOriginalSource = null;\n\t var lastOriginalLine = null;\n\t var lastOriginalColumn = null;\n\t var lastOriginalName = null;\n\t this.walk(function (chunk, original) {\n\t generated.code += chunk;\n\t if (original.source !== null\n\t && original.line !== null\n\t && original.column !== null) {\n\t if(lastOriginalSource !== original.source\n\t || lastOriginalLine !== original.line\n\t || lastOriginalColumn !== original.column\n\t || lastOriginalName !== original.name) {\n\t map.addMapping({\n\t source: original.source,\n\t original: {\n\t line: original.line,\n\t column: original.column\n\t },\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t },\n\t name: original.name\n\t });\n\t }\n\t lastOriginalSource = original.source;\n\t lastOriginalLine = original.line;\n\t lastOriginalColumn = original.column;\n\t lastOriginalName = original.name;\n\t sourceMappingActive = true;\n\t } else if (sourceMappingActive) {\n\t map.addMapping({\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t }\n\t });\n\t lastOriginalSource = null;\n\t sourceMappingActive = false;\n\t }\n\t for (var idx = 0, length = chunk.length; idx < length; idx++) {\n\t if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n\t generated.line++;\n\t generated.column = 0;\n\t // Mappings end at eol\n\t if (idx + 1 === length) {\n\t lastOriginalSource = null;\n\t sourceMappingActive = false;\n\t } else if (sourceMappingActive) {\n\t map.addMapping({\n\t source: original.source,\n\t original: {\n\t line: original.line,\n\t column: original.column\n\t },\n\t generated: {\n\t line: generated.line,\n\t column: generated.column\n\t },\n\t name: original.name\n\t });\n\t }\n\t } else {\n\t generated.column++;\n\t }\n\t }\n\t });\n\t this.walkSourceContents(function (sourceFile, sourceContent) {\n\t map.setSourceContent(sourceFile, sourceContent);\n\t });\n\t\n\t return { code: generated.code, map: map };\n\t};\n\t\n\texports.SourceNode = SourceNode;\n\n\n/***/ })\n/******/ ])\n});\n;\n\n\n// WEBPACK FOOTER //\n// source-map.min.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 42c329f865e32e011afb","/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator;\nexports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;\nexports.SourceNode = require('./lib/source-node').SourceNode;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./source-map.js\n// module id = 0\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar base64VLQ = require('./base64-vlq');\nvar util = require('./util');\nvar ArraySet = require('./array-set').ArraySet;\nvar MappingList = require('./mapping-list').MappingList;\n\n/**\n * An instance of the SourceMapGenerator represents a source map which is\n * being built incrementally. You may pass an object with the following\n * properties:\n *\n * - file: The filename of the generated source.\n * - sourceRoot: A root for all relative URLs in this source map.\n */\nfunction SourceMapGenerator(aArgs) {\n if (!aArgs) {\n aArgs = {};\n }\n this._file = util.getArg(aArgs, 'file', null);\n this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n this._skipValidation = util.getArg(aArgs, 'skipValidation', false);\n this._sources = new ArraySet();\n this._names = new ArraySet();\n this._mappings = new MappingList();\n this._sourcesContents = null;\n}\n\nSourceMapGenerator.prototype._version = 3;\n\n/**\n * Creates a new SourceMapGenerator based on a SourceMapConsumer\n *\n * @param aSourceMapConsumer The SourceMap.\n */\nSourceMapGenerator.fromSourceMap =\n function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {\n var sourceRoot = aSourceMapConsumer.sourceRoot;\n var generator = new SourceMapGenerator({\n file: aSourceMapConsumer.file,\n sourceRoot: sourceRoot\n });\n aSourceMapConsumer.eachMapping(function (mapping) {\n var newMapping = {\n generated: {\n line: mapping.generatedLine,\n column: mapping.generatedColumn\n }\n };\n\n if (mapping.source != null) {\n newMapping.source = mapping.source;\n if (sourceRoot != null) {\n newMapping.source = util.relative(sourceRoot, newMapping.source);\n }\n\n newMapping.original = {\n line: mapping.originalLine,\n column: mapping.originalColumn\n };\n\n if (mapping.name != null) {\n newMapping.name = mapping.name;\n }\n }\n\n generator.addMapping(newMapping);\n });\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n generator.setSourceContent(sourceFile, content);\n }\n });\n return generator;\n };\n\n/**\n * Add a single mapping from original source line and column to the generated\n * source's line and column for this source map being created. The mapping\n * object should have the following properties:\n *\n * - generated: An object with the generated line and column positions.\n * - original: An object with the original line and column positions.\n * - source: The original source file (relative to the sourceRoot).\n * - name: An optional original token name for this mapping.\n */\nSourceMapGenerator.prototype.addMapping =\n function SourceMapGenerator_addMapping(aArgs) {\n var generated = util.getArg(aArgs, 'generated');\n var original = util.getArg(aArgs, 'original', null);\n var source = util.getArg(aArgs, 'source', null);\n var name = util.getArg(aArgs, 'name', null);\n\n if (!this._skipValidation) {\n this._validateMapping(generated, original, source, name);\n }\n\n if (source != null) {\n source = String(source);\n if (!this._sources.has(source)) {\n this._sources.add(source);\n }\n }\n\n if (name != null) {\n name = String(name);\n if (!this._names.has(name)) {\n this._names.add(name);\n }\n }\n\n this._mappings.add({\n generatedLine: generated.line,\n generatedColumn: generated.column,\n originalLine: original != null && original.line,\n originalColumn: original != null && original.column,\n source: source,\n name: name\n });\n };\n\n/**\n * Set the source content for a source file.\n */\nSourceMapGenerator.prototype.setSourceContent =\n function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {\n var source = aSourceFile;\n if (this._sourceRoot != null) {\n source = util.relative(this._sourceRoot, source);\n }\n\n if (aSourceContent != null) {\n // Add the source content to the _sourcesContents map.\n // Create a new _sourcesContents map if the property is null.\n if (!this._sourcesContents) {\n this._sourcesContents = Object.create(null);\n }\n this._sourcesContents[util.toSetString(source)] = aSourceContent;\n } else if (this._sourcesContents) {\n // Remove the source file from the _sourcesContents map.\n // If the _sourcesContents map is empty, set the property to null.\n delete this._sourcesContents[util.toSetString(source)];\n if (Object.keys(this._sourcesContents).length === 0) {\n this._sourcesContents = null;\n }\n }\n };\n\n/**\n * Applies the mappings of a sub-source-map for a specific source file to the\n * source map being generated. Each mapping to the supplied source file is\n * rewritten using the supplied source map. Note: The resolution for the\n * resulting mappings is the minimium of this map and the supplied map.\n *\n * @param aSourceMapConsumer The source map to be applied.\n * @param aSourceFile Optional. The filename of the source file.\n * If omitted, SourceMapConsumer's file property will be used.\n * @param aSourceMapPath Optional. The dirname of the path to the source map\n * to be applied. If relative, it is relative to the SourceMapConsumer.\n * This parameter is needed when the two source maps aren't in the same\n * directory, and the source map to be applied contains relative source\n * paths. If so, those relative source paths need to be rewritten\n * relative to the SourceMapGenerator.\n */\nSourceMapGenerator.prototype.applySourceMap =\n function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {\n var sourceFile = aSourceFile;\n // If aSourceFile is omitted, we will use the file property of the SourceMap\n if (aSourceFile == null) {\n if (aSourceMapConsumer.file == null) {\n throw new Error(\n 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +\n 'or the source map\\'s \"file\" property. Both were omitted.'\n );\n }\n sourceFile = aSourceMapConsumer.file;\n }\n var sourceRoot = this._sourceRoot;\n // Make \"sourceFile\" relative if an absolute Url is passed.\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n // Applying the SourceMap can add and remove items from the sources and\n // the names array.\n var newSources = new ArraySet();\n var newNames = new ArraySet();\n\n // Find mappings for the \"sourceFile\"\n this._mappings.unsortedForEach(function (mapping) {\n if (mapping.source === sourceFile && mapping.originalLine != null) {\n // Check if it can be mapped by the source map, then update the mapping.\n var original = aSourceMapConsumer.originalPositionFor({\n line: mapping.originalLine,\n column: mapping.originalColumn\n });\n if (original.source != null) {\n // Copy mapping\n mapping.source = original.source;\n if (aSourceMapPath != null) {\n mapping.source = util.join(aSourceMapPath, mapping.source)\n }\n if (sourceRoot != null) {\n mapping.source = util.relative(sourceRoot, mapping.source);\n }\n mapping.originalLine = original.line;\n mapping.originalColumn = original.column;\n if (original.name != null) {\n mapping.name = original.name;\n }\n }\n }\n\n var source = mapping.source;\n if (source != null && !newSources.has(source)) {\n newSources.add(source);\n }\n\n var name = mapping.name;\n if (name != null && !newNames.has(name)) {\n newNames.add(name);\n }\n\n }, this);\n this._sources = newSources;\n this._names = newNames;\n\n // Copy sourcesContents of applied map.\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aSourceMapPath != null) {\n sourceFile = util.join(aSourceMapPath, sourceFile);\n }\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n this.setSourceContent(sourceFile, content);\n }\n }, this);\n };\n\n/**\n * A mapping can have one of the three levels of data:\n *\n * 1. Just the generated position.\n * 2. The Generated position, original position, and original source.\n * 3. Generated and original position, original source, as well as a name\n * token.\n *\n * To maintain consistency, we validate that any new mapping being added falls\n * in to one of these categories.\n */\nSourceMapGenerator.prototype._validateMapping =\n function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n aName) {\n // When aOriginal is truthy but has empty values for .line and .column,\n // it is most likely a programmer error. In this case we throw a very\n // specific error message to try to guide them the right way.\n // For example: https://github.com/Polymer/polymer-bundler/pull/519\n if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {\n throw new Error(\n 'original.line and original.column are not numbers -- you probably meant to omit ' +\n 'the original mapping entirely and only map the generated position. If so, pass ' +\n 'null for the original mapping instead of an object with empty or null values.'\n );\n }\n\n if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aGenerated.line > 0 && aGenerated.column >= 0\n && !aOriginal && !aSource && !aName) {\n // Case 1.\n return;\n }\n else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n && aGenerated.line > 0 && aGenerated.column >= 0\n && aOriginal.line > 0 && aOriginal.column >= 0\n && aSource) {\n // Cases 2 and 3.\n return;\n }\n else {\n throw new Error('Invalid mapping: ' + JSON.stringify({\n generated: aGenerated,\n source: aSource,\n original: aOriginal,\n name: aName\n }));\n }\n };\n\n/**\n * Serialize the accumulated mappings in to the stream of base 64 VLQs\n * specified by the source map format.\n */\nSourceMapGenerator.prototype._serializeMappings =\n function SourceMapGenerator_serializeMappings() {\n var previousGeneratedColumn = 0;\n var previousGeneratedLine = 1;\n var previousOriginalColumn = 0;\n var previousOriginalLine = 0;\n var previousName = 0;\n var previousSource = 0;\n var result = '';\n var next;\n var mapping;\n var nameIdx;\n var sourceIdx;\n\n var mappings = this._mappings.toArray();\n for (var i = 0, len = mappings.length; i < len; i++) {\n mapping = mappings[i];\n next = ''\n\n if (mapping.generatedLine !== previousGeneratedLine) {\n previousGeneratedColumn = 0;\n while (mapping.generatedLine !== previousGeneratedLine) {\n next += ';';\n previousGeneratedLine++;\n }\n }\n else {\n if (i > 0) {\n if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n continue;\n }\n next += ',';\n }\n }\n\n next += base64VLQ.encode(mapping.generatedColumn\n - previousGeneratedColumn);\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (mapping.source != null) {\n sourceIdx = this._sources.indexOf(mapping.source);\n next += base64VLQ.encode(sourceIdx - previousSource);\n previousSource = sourceIdx;\n\n // lines are stored 0-based in SourceMap spec version 3\n next += base64VLQ.encode(mapping.originalLine - 1\n - previousOriginalLine);\n previousOriginalLine = mapping.originalLine - 1;\n\n next += base64VLQ.encode(mapping.originalColumn\n - previousOriginalColumn);\n previousOriginalColumn = mapping.originalColumn;\n\n if (mapping.name != null) {\n nameIdx = this._names.indexOf(mapping.name);\n next += base64VLQ.encode(nameIdx - previousName);\n previousName = nameIdx;\n }\n }\n\n result += next;\n }\n\n return result;\n };\n\nSourceMapGenerator.prototype._generateSourcesContent =\n function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n return aSources.map(function (source) {\n if (!this._sourcesContents) {\n return null;\n }\n if (aSourceRoot != null) {\n source = util.relative(aSourceRoot, source);\n }\n var key = util.toSetString(source);\n return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n ? this._sourcesContents[key]\n : null;\n }, this);\n };\n\n/**\n * Externalize the source map.\n */\nSourceMapGenerator.prototype.toJSON =\n function SourceMapGenerator_toJSON() {\n var map = {\n version: this._version,\n sources: this._sources.toArray(),\n names: this._names.toArray(),\n mappings: this._serializeMappings()\n };\n if (this._file != null) {\n map.file = this._file;\n }\n if (this._sourceRoot != null) {\n map.sourceRoot = this._sourceRoot;\n }\n if (this._sourcesContents) {\n map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n }\n\n return map;\n };\n\n/**\n * Render the source map being generated to a string.\n */\nSourceMapGenerator.prototype.toString =\n function SourceMapGenerator_toString() {\n return JSON.stringify(this.toJSON());\n };\n\nexports.SourceMapGenerator = SourceMapGenerator;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-map-generator.js\n// module id = 1\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * Based on the Base 64 VLQ implementation in Closure Compiler:\n * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n *\n * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n * * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following\n * disclaimer in the documentation and/or other materials provided\n * with the distribution.\n * * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived\n * from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar base64 = require('./base64');\n\n// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n// length quantities we use in the source map spec, the first bit is the sign,\n// the next four bits are the actual value, and the 6th bit is the\n// continuation bit. The continuation bit tells us whether there are more\n// digits in this value following this digit.\n//\n// Continuation\n// | Sign\n// | |\n// V V\n// 101011\n\nvar VLQ_BASE_SHIFT = 5;\n\n// binary: 100000\nvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n// binary: 011111\nvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\n// binary: 100000\nvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n/**\n * Converts from a two-complement value to a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n */\nfunction toVLQSigned(aValue) {\n return aValue < 0\n ? ((-aValue) << 1) + 1\n : (aValue << 1) + 0;\n}\n\n/**\n * Converts to a two-complement value from a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n */\nfunction fromVLQSigned(aValue) {\n var isNegative = (aValue & 1) === 1;\n var shifted = aValue >> 1;\n return isNegative\n ? -shifted\n : shifted;\n}\n\n/**\n * Returns the base 64 VLQ encoded value.\n */\nexports.encode = function base64VLQ_encode(aValue) {\n var encoded = \"\";\n var digit;\n\n var vlq = toVLQSigned(aValue);\n\n do {\n digit = vlq & VLQ_BASE_MASK;\n vlq >>>= VLQ_BASE_SHIFT;\n if (vlq > 0) {\n // There are still more digits in this value, so we must make sure the\n // continuation bit is marked.\n digit |= VLQ_CONTINUATION_BIT;\n }\n encoded += base64.encode(digit);\n } while (vlq > 0);\n\n return encoded;\n};\n\n/**\n * Decodes the next base 64 VLQ value from the given string and returns the\n * value and the rest of the string via the out parameter.\n */\nexports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n var strLen = aStr.length;\n var result = 0;\n var shift = 0;\n var continuation, digit;\n\n do {\n if (aIndex >= strLen) {\n throw new Error(\"Expected more digits in base 64 VLQ value.\");\n }\n\n digit = base64.decode(aStr.charCodeAt(aIndex++));\n if (digit === -1) {\n throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n }\n\n continuation = !!(digit & VLQ_CONTINUATION_BIT);\n digit &= VLQ_BASE_MASK;\n result = result + (digit << shift);\n shift += VLQ_BASE_SHIFT;\n } while (continuation);\n\n aOutParam.value = fromVLQSigned(result);\n aOutParam.rest = aIndex;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/base64-vlq.js\n// module id = 2\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\n/**\n * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n */\nexports.encode = function (number) {\n if (0 <= number && number < intToCharMap.length) {\n return intToCharMap[number];\n }\n throw new TypeError(\"Must be between 0 and 63: \" + number);\n};\n\n/**\n * Decode a single base 64 character code digit to an integer. Returns -1 on\n * failure.\n */\nexports.decode = function (charCode) {\n var bigA = 65; // 'A'\n var bigZ = 90; // 'Z'\n\n var littleA = 97; // 'a'\n var littleZ = 122; // 'z'\n\n var zero = 48; // '0'\n var nine = 57; // '9'\n\n var plus = 43; // '+'\n var slash = 47; // '/'\n\n var littleOffset = 26;\n var numberOffset = 52;\n\n // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n if (bigA <= charCode && charCode <= bigZ) {\n return (charCode - bigA);\n }\n\n // 26 - 51: abcdefghijklmnopqrstuvwxyz\n if (littleA <= charCode && charCode <= littleZ) {\n return (charCode - littleA + littleOffset);\n }\n\n // 52 - 61: 0123456789\n if (zero <= charCode && charCode <= nine) {\n return (charCode - zero + numberOffset);\n }\n\n // 62: +\n if (charCode == plus) {\n return 62;\n }\n\n // 63: /\n if (charCode == slash) {\n return 63;\n }\n\n // Invalid base64 digit.\n return -1;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/base64.js\n// module id = 3\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n/**\n * This is a helper function for getting values from parameter/options\n * objects.\n *\n * @param args The object we are extracting values from\n * @param name The name of the property we are getting.\n * @param defaultValue An optional value to return if the property is missing\n * from the object. If this is not specified and the property is missing, an\n * error will be thrown.\n */\nfunction getArg(aArgs, aName, aDefaultValue) {\n if (aName in aArgs) {\n return aArgs[aName];\n } else if (arguments.length === 3) {\n return aDefaultValue;\n } else {\n throw new Error('\"' + aName + '\" is a required argument.');\n }\n}\nexports.getArg = getArg;\n\nvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\nvar dataUrlRegexp = /^data:.+\\,.+$/;\n\nfunction urlParse(aUrl) {\n var match = aUrl.match(urlRegexp);\n if (!match) {\n return null;\n }\n return {\n scheme: match[1],\n auth: match[2],\n host: match[3],\n port: match[4],\n path: match[5]\n };\n}\nexports.urlParse = urlParse;\n\nfunction urlGenerate(aParsedUrl) {\n var url = '';\n if (aParsedUrl.scheme) {\n url += aParsedUrl.scheme + ':';\n }\n url += '//';\n if (aParsedUrl.auth) {\n url += aParsedUrl.auth + '@';\n }\n if (aParsedUrl.host) {\n url += aParsedUrl.host;\n }\n if (aParsedUrl.port) {\n url += \":\" + aParsedUrl.port\n }\n if (aParsedUrl.path) {\n url += aParsedUrl.path;\n }\n return url;\n}\nexports.urlGenerate = urlGenerate;\n\n/**\n * Normalizes a path, or the path portion of a URL:\n *\n * - Replaces consecutive slashes with one slash.\n * - Removes unnecessary '.' parts.\n * - Removes unnecessary '/..' parts.\n *\n * Based on code in the Node.js 'path' core module.\n *\n * @param aPath The path or url to normalize.\n */\nfunction normalize(aPath) {\n var path = aPath;\n var url = urlParse(aPath);\n if (url) {\n if (!url.path) {\n return aPath;\n }\n path = url.path;\n }\n var isAbsolute = exports.isAbsolute(path);\n\n var parts = path.split(/\\/+/);\n for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n part = parts[i];\n if (part === '.') {\n parts.splice(i, 1);\n } else if (part === '..') {\n up++;\n } else if (up > 0) {\n if (part === '') {\n // The first part is blank if the path is absolute. Trying to go\n // above the root is a no-op. Therefore we can remove all '..' parts\n // directly after the root.\n parts.splice(i + 1, up);\n up = 0;\n } else {\n parts.splice(i, 2);\n up--;\n }\n }\n }\n path = parts.join('/');\n\n if (path === '') {\n path = isAbsolute ? '/' : '.';\n }\n\n if (url) {\n url.path = path;\n return urlGenerate(url);\n }\n return path;\n}\nexports.normalize = normalize;\n\n/**\n * Joins two paths/URLs.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be joined with the root.\n *\n * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n * first.\n * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n * is updated with the result and aRoot is returned. Otherwise the result\n * is returned.\n * - If aPath is absolute, the result is aPath.\n * - Otherwise the two paths are joined with a slash.\n * - Joining for example 'http://' and 'www.example.com' is also supported.\n */\nfunction join(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n if (aPath === \"\") {\n aPath = \".\";\n }\n var aPathUrl = urlParse(aPath);\n var aRootUrl = urlParse(aRoot);\n if (aRootUrl) {\n aRoot = aRootUrl.path || '/';\n }\n\n // `join(foo, '//www.example.org')`\n if (aPathUrl && !aPathUrl.scheme) {\n if (aRootUrl) {\n aPathUrl.scheme = aRootUrl.scheme;\n }\n return urlGenerate(aPathUrl);\n }\n\n if (aPathUrl || aPath.match(dataUrlRegexp)) {\n return aPath;\n }\n\n // `join('http://', 'www.example.com')`\n if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n aRootUrl.host = aPath;\n return urlGenerate(aRootUrl);\n }\n\n var joined = aPath.charAt(0) === '/'\n ? aPath\n : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\n if (aRootUrl) {\n aRootUrl.path = joined;\n return urlGenerate(aRootUrl);\n }\n return joined;\n}\nexports.join = join;\n\nexports.isAbsolute = function (aPath) {\n return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n};\n\n/**\n * Make a path relative to a URL or another path.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be made relative to aRoot.\n */\nfunction relative(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n\n aRoot = aRoot.replace(/\\/$/, '');\n\n // It is possible for the path to be above the root. In this case, simply\n // checking whether the root is a prefix of the path won't work. Instead, we\n // need to remove components from the root one by one, until either we find\n // a prefix that fits, or we run out of components to remove.\n var level = 0;\n while (aPath.indexOf(aRoot + '/') !== 0) {\n var index = aRoot.lastIndexOf(\"/\");\n if (index < 0) {\n return aPath;\n }\n\n // If the only part of the root that is left is the scheme (i.e. http://,\n // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n // have exhausted all components, so the path is not relative to the root.\n aRoot = aRoot.slice(0, index);\n if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n return aPath;\n }\n\n ++level;\n }\n\n // Make sure we add a \"../\" for each component we removed from the root.\n return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n}\nexports.relative = relative;\n\nvar supportsNullProto = (function () {\n var obj = Object.create(null);\n return !('__proto__' in obj);\n}());\n\nfunction identity (s) {\n return s;\n}\n\n/**\n * Because behavior goes wacky when you set `__proto__` on objects, we\n * have to prefix all the strings in our set with an arbitrary character.\n *\n * See https://github.com/mozilla/source-map/pull/31 and\n * https://github.com/mozilla/source-map/issues/30\n *\n * @param String aStr\n */\nfunction toSetString(aStr) {\n if (isProtoString(aStr)) {\n return '$' + aStr;\n }\n\n return aStr;\n}\nexports.toSetString = supportsNullProto ? identity : toSetString;\n\nfunction fromSetString(aStr) {\n if (isProtoString(aStr)) {\n return aStr.slice(1);\n }\n\n return aStr;\n}\nexports.fromSetString = supportsNullProto ? identity : fromSetString;\n\nfunction isProtoString(s) {\n if (!s) {\n return false;\n }\n\n var length = s.length;\n\n if (length < 9 /* \"__proto__\".length */) {\n return false;\n }\n\n if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n s.charCodeAt(length - 9) !== 95 /* '_' */) {\n return false;\n }\n\n for (var i = length - 10; i >= 0; i--) {\n if (s.charCodeAt(i) !== 36 /* '$' */) {\n return false;\n }\n }\n\n return true;\n}\n\n/**\n * Comparator between two mappings where the original positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same original source/line/column, but different generated\n * line and column the same. Useful when searching for a mapping with a\n * stubbed out mapping.\n */\nfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n var cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0 || onlyCompareOriginal) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByOriginalPositions = compareByOriginalPositions;\n\n/**\n * Comparator between two mappings with deflated source and name indices where\n * the generated positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same generated line and column, but different\n * source/name/original line and column the same. Useful when searching for a\n * mapping with a stubbed out mapping.\n */\nfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0 || onlyCompareGenerated) {\n return cmp;\n }\n\n cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\nfunction strcmp(aStr1, aStr2) {\n if (aStr1 === aStr2) {\n return 0;\n }\n\n if (aStr1 > aStr2) {\n return 1;\n }\n\n return -1;\n}\n\n/**\n * Comparator between two mappings with inflated source and name strings where\n * the generated positions are compared.\n */\nfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/util.js\n// module id = 4\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar has = Object.prototype.hasOwnProperty;\nvar hasNativeMap = typeof Map !== \"undefined\";\n\n/**\n * A data structure which is a combination of an array and a set. Adding a new\n * member is O(1), testing for membership is O(1), and finding the index of an\n * element is O(1). Removing elements from the set is not supported. Only\n * strings are supported for membership.\n */\nfunction ArraySet() {\n this._array = [];\n this._set = hasNativeMap ? new Map() : Object.create(null);\n}\n\n/**\n * Static method for creating ArraySet instances from an existing array.\n */\nArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n var set = new ArraySet();\n for (var i = 0, len = aArray.length; i < len; i++) {\n set.add(aArray[i], aAllowDuplicates);\n }\n return set;\n};\n\n/**\n * Return how many unique items are in this ArraySet. If duplicates have been\n * added, than those do not count towards the size.\n *\n * @returns Number\n */\nArraySet.prototype.size = function ArraySet_size() {\n return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n};\n\n/**\n * Add the given string to this set.\n *\n * @param String aStr\n */\nArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n var idx = this._array.length;\n if (!isDuplicate || aAllowDuplicates) {\n this._array.push(aStr);\n }\n if (!isDuplicate) {\n if (hasNativeMap) {\n this._set.set(aStr, idx);\n } else {\n this._set[sStr] = idx;\n }\n }\n};\n\n/**\n * Is the given string a member of this set?\n *\n * @param String aStr\n */\nArraySet.prototype.has = function ArraySet_has(aStr) {\n if (hasNativeMap) {\n return this._set.has(aStr);\n } else {\n var sStr = util.toSetString(aStr);\n return has.call(this._set, sStr);\n }\n};\n\n/**\n * What is the index of the given string in the array?\n *\n * @param String aStr\n */\nArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n if (hasNativeMap) {\n var idx = this._set.get(aStr);\n if (idx >= 0) {\n return idx;\n }\n } else {\n var sStr = util.toSetString(aStr);\n if (has.call(this._set, sStr)) {\n return this._set[sStr];\n }\n }\n\n throw new Error('\"' + aStr + '\" is not in the set.');\n};\n\n/**\n * What is the element at the given index?\n *\n * @param Number aIdx\n */\nArraySet.prototype.at = function ArraySet_at(aIdx) {\n if (aIdx >= 0 && aIdx < this._array.length) {\n return this._array[aIdx];\n }\n throw new Error('No element indexed by ' + aIdx);\n};\n\n/**\n * Returns the array representation of this set (which has the proper indices\n * indicated by indexOf). Note that this is a copy of the internal array used\n * for storing the members so that no one can mess with internal state.\n */\nArraySet.prototype.toArray = function ArraySet_toArray() {\n return this._array.slice();\n};\n\nexports.ArraySet = ArraySet;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/array-set.js\n// module id = 5\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2014 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\n\n/**\n * Determine whether mappingB is after mappingA with respect to generated\n * position.\n */\nfunction generatedPositionAfter(mappingA, mappingB) {\n // Optimized for most common case\n var lineA = mappingA.generatedLine;\n var lineB = mappingB.generatedLine;\n var columnA = mappingA.generatedColumn;\n var columnB = mappingB.generatedColumn;\n return lineB > lineA || lineB == lineA && columnB >= columnA ||\n util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n}\n\n/**\n * A data structure to provide a sorted view of accumulated mappings in a\n * performance conscious manner. It trades a neglibable overhead in general\n * case for a large speedup in case of mappings being added in order.\n */\nfunction MappingList() {\n this._array = [];\n this._sorted = true;\n // Serves as infimum\n this._last = {generatedLine: -1, generatedColumn: 0};\n}\n\n/**\n * Iterate through internal items. This method takes the same arguments that\n * `Array.prototype.forEach` takes.\n *\n * NOTE: The order of the mappings is NOT guaranteed.\n */\nMappingList.prototype.unsortedForEach =\n function MappingList_forEach(aCallback, aThisArg) {\n this._array.forEach(aCallback, aThisArg);\n };\n\n/**\n * Add the given source mapping.\n *\n * @param Object aMapping\n */\nMappingList.prototype.add = function MappingList_add(aMapping) {\n if (generatedPositionAfter(this._last, aMapping)) {\n this._last = aMapping;\n this._array.push(aMapping);\n } else {\n this._sorted = false;\n this._array.push(aMapping);\n }\n};\n\n/**\n * Returns the flat, sorted array of mappings. The mappings are sorted by\n * generated position.\n *\n * WARNING: This method returns internal data without copying, for\n * performance. The return value must NOT be mutated, and should be treated as\n * an immutable borrow. If you want to take ownership, you must make your own\n * copy.\n */\nMappingList.prototype.toArray = function MappingList_toArray() {\n if (!this._sorted) {\n this._array.sort(util.compareByGeneratedPositionsInflated);\n this._sorted = true;\n }\n return this._array;\n};\n\nexports.MappingList = MappingList;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/mapping-list.js\n// module id = 6\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar binarySearch = require('./binary-search');\nvar ArraySet = require('./array-set').ArraySet;\nvar base64VLQ = require('./base64-vlq');\nvar quickSort = require('./quick-sort').quickSort;\n\nfunction SourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n return sourceMap.sections != null\n ? new IndexedSourceMapConsumer(sourceMap)\n : new BasicSourceMapConsumer(sourceMap);\n}\n\nSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n}\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nSourceMapConsumer.prototype._version = 3;\n\n// `__generatedMappings` and `__originalMappings` are arrays that hold the\n// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n// are lazily instantiated, accessed via the `_generatedMappings` and\n// `_originalMappings` getters respectively, and we only parse the mappings\n// and create these arrays once queried for a source location. We jump through\n// these hoops because there can be many thousands of mappings, and parsing\n// them is expensive, so we only want to do it if we must.\n//\n// Each object in the arrays is of the form:\n//\n// {\n// generatedLine: The line number in the generated code,\n// generatedColumn: The column number in the generated code,\n// source: The path to the original source file that generated this\n// chunk of code,\n// originalLine: The line number in the original source that\n// corresponds to this chunk of generated code,\n// originalColumn: The column number in the original source that\n// corresponds to this chunk of generated code,\n// name: The name of the original symbol which generated this chunk of\n// code.\n// }\n//\n// All properties except for `generatedLine` and `generatedColumn` can be\n// `null`.\n//\n// `_generatedMappings` is ordered by the generated positions.\n//\n// `_originalMappings` is ordered by the original positions.\n\nSourceMapConsumer.prototype.__generatedMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n get: function () {\n if (!this.__generatedMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__generatedMappings;\n }\n});\n\nSourceMapConsumer.prototype.__originalMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n get: function () {\n if (!this.__originalMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__originalMappings;\n }\n});\n\nSourceMapConsumer.prototype._charIsMappingSeparator =\n function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n var c = aStr.charAt(index);\n return c === \";\" || c === \",\";\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n throw new Error(\"Subclasses must implement _parseMappings\");\n };\n\nSourceMapConsumer.GENERATED_ORDER = 1;\nSourceMapConsumer.ORIGINAL_ORDER = 2;\n\nSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\nSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\n/**\n * Iterate over each mapping between an original source/line/column and a\n * generated line/column in this source map.\n *\n * @param Function aCallback\n * The function that is called with each mapping.\n * @param Object aContext\n * Optional. If specified, this object will be the value of `this` every\n * time that `aCallback` is called.\n * @param aOrder\n * Either `SourceMapConsumer.GENERATED_ORDER` or\n * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n * iterate over the mappings sorted by the generated file's line/column\n * order or the original's source/line/column order, respectively. Defaults to\n * `SourceMapConsumer.GENERATED_ORDER`.\n */\nSourceMapConsumer.prototype.eachMapping =\n function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n var context = aContext || null;\n var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n var mappings;\n switch (order) {\n case SourceMapConsumer.GENERATED_ORDER:\n mappings = this._generatedMappings;\n break;\n case SourceMapConsumer.ORIGINAL_ORDER:\n mappings = this._originalMappings;\n break;\n default:\n throw new Error(\"Unknown order of iteration.\");\n }\n\n var sourceRoot = this.sourceRoot;\n mappings.map(function (mapping) {\n var source = mapping.source === null ? null : this._sources.at(mapping.source);\n if (source != null && sourceRoot != null) {\n source = util.join(sourceRoot, source);\n }\n return {\n source: source,\n generatedLine: mapping.generatedLine,\n generatedColumn: mapping.generatedColumn,\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: mapping.name === null ? null : this._names.at(mapping.name)\n };\n }, this).forEach(aCallback, context);\n };\n\n/**\n * Returns all generated line and column information for the original source,\n * line, and column provided. If no column is provided, returns all mappings\n * corresponding to a either the line we are searching for or the next\n * closest line that has any mappings. Otherwise, returns all mappings\n * corresponding to the given line and either the column we are searching for\n * or the next closest column that has any offsets.\n *\n * The only argument is an object with the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: Optional. the column number in the original source.\n *\n * and an array of objects is returned, each with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nSourceMapConsumer.prototype.allGeneratedPositionsFor =\n function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n var line = util.getArg(aArgs, 'line');\n\n // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n // returns the index of the closest mapping less than the needle. By\n // setting needle.originalColumn to 0, we thus find the last mapping for\n // the given line, provided such a mapping exists.\n var needle = {\n source: util.getArg(aArgs, 'source'),\n originalLine: line,\n originalColumn: util.getArg(aArgs, 'column', 0)\n };\n\n if (this.sourceRoot != null) {\n needle.source = util.relative(this.sourceRoot, needle.source);\n }\n if (!this._sources.has(needle.source)) {\n return [];\n }\n needle.source = this._sources.indexOf(needle.source);\n\n var mappings = [];\n\n var index = this._findMapping(needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n binarySearch.LEAST_UPPER_BOUND);\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (aArgs.column === undefined) {\n var originalLine = mapping.originalLine;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we found. Since\n // mappings are sorted, this is guaranteed to find all mappings for\n // the line we found.\n while (mapping && mapping.originalLine === originalLine) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n } else {\n var originalColumn = mapping.originalColumn;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we were searching for.\n // Since mappings are sorted, this is guaranteed to find all mappings for\n // the line we are searching for.\n while (mapping &&\n mapping.originalLine === line &&\n mapping.originalColumn == originalColumn) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n }\n }\n\n return mappings;\n };\n\nexports.SourceMapConsumer = SourceMapConsumer;\n\n/**\n * A BasicSourceMapConsumer instance represents a parsed source map which we can\n * query for information about the original file positions by giving it a file\n * position in the generated source.\n *\n * The only parameter is the raw source map (either as a JSON string, or\n * already parsed to an object). According to the spec, source maps have the\n * following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - sources: An array of URLs to the original source files.\n * - names: An array of identifiers which can be referrenced by individual mappings.\n * - sourceRoot: Optional. The URL root from which all sources are relative.\n * - sourcesContent: Optional. An array of contents of the original source files.\n * - mappings: A string of base64 VLQs which contain the actual mappings.\n * - file: Optional. The generated file this source map is associated with.\n *\n * Here is an example source map, taken from the source map spec[0]:\n *\n * {\n * version : 3,\n * file: \"out.js\",\n * sourceRoot : \"\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AA,AB;;ABCDE;\"\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n */\nfunction BasicSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sources = util.getArg(sourceMap, 'sources');\n // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n // requires the array) to play nice here.\n var names = util.getArg(sourceMap, 'names', []);\n var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n var mappings = util.getArg(sourceMap, 'mappings');\n var file = util.getArg(sourceMap, 'file', null);\n\n // Once again, Sass deviates from the spec and supplies the version as a\n // string rather than a number, so we use loose equality checking here.\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n sources = sources\n .map(String)\n // Some source maps produce relative source paths like \"./foo.js\" instead of\n // \"foo.js\". Normalize these first so that future comparisons will succeed.\n // See bugzil.la/1090768.\n .map(util.normalize)\n // Always ensure that absolute sources are internally stored relative to\n // the source root, if the source root is absolute. Not doing this would\n // be particularly problematic when the source root is a prefix of the\n // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n .map(function (source) {\n return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n ? util.relative(sourceRoot, source)\n : source;\n });\n\n // Pass `true` below to allow duplicate names and sources. While source maps\n // are intended to be compressed and deduplicated, the TypeScript compiler\n // sometimes generates source maps with duplicates in them. See Github issue\n // #72 and bugzil.la/889492.\n this._names = ArraySet.fromArray(names.map(String), true);\n this._sources = ArraySet.fromArray(sources, true);\n\n this.sourceRoot = sourceRoot;\n this.sourcesContent = sourcesContent;\n this._mappings = mappings;\n this.file = file;\n}\n\nBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\n/**\n * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n *\n * @param SourceMapGenerator aSourceMap\n * The source map that will be consumed.\n * @returns BasicSourceMapConsumer\n */\nBasicSourceMapConsumer.fromSourceMap =\n function SourceMapConsumer_fromSourceMap(aSourceMap) {\n var smc = Object.create(BasicSourceMapConsumer.prototype);\n\n var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n smc.sourceRoot = aSourceMap._sourceRoot;\n smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n smc.sourceRoot);\n smc.file = aSourceMap._file;\n\n // Because we are modifying the entries (by converting string sources and\n // names to indices into the sources and names ArraySets), we have to make\n // a copy of the entry or else bad things happen. Shared mutable state\n // strikes again! See github issue #191.\n\n var generatedMappings = aSourceMap._mappings.toArray().slice();\n var destGeneratedMappings = smc.__generatedMappings = [];\n var destOriginalMappings = smc.__originalMappings = [];\n\n for (var i = 0, length = generatedMappings.length; i < length; i++) {\n var srcMapping = generatedMappings[i];\n var destMapping = new Mapping;\n destMapping.generatedLine = srcMapping.generatedLine;\n destMapping.generatedColumn = srcMapping.generatedColumn;\n\n if (srcMapping.source) {\n destMapping.source = sources.indexOf(srcMapping.source);\n destMapping.originalLine = srcMapping.originalLine;\n destMapping.originalColumn = srcMapping.originalColumn;\n\n if (srcMapping.name) {\n destMapping.name = names.indexOf(srcMapping.name);\n }\n\n destOriginalMappings.push(destMapping);\n }\n\n destGeneratedMappings.push(destMapping);\n }\n\n quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\n return smc;\n };\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nBasicSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n get: function () {\n return this._sources.toArray().map(function (s) {\n return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n }, this);\n }\n});\n\n/**\n * Provide the JIT with a nice shape / hidden class.\n */\nfunction Mapping() {\n this.generatedLine = 0;\n this.generatedColumn = 0;\n this.source = null;\n this.originalLine = null;\n this.originalColumn = null;\n this.name = null;\n}\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nBasicSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n var generatedLine = 1;\n var previousGeneratedColumn = 0;\n var previousOriginalLine = 0;\n var previousOriginalColumn = 0;\n var previousSource = 0;\n var previousName = 0;\n var length = aStr.length;\n var index = 0;\n var cachedSegments = {};\n var temp = {};\n var originalMappings = [];\n var generatedMappings = [];\n var mapping, str, segment, end, value;\n\n while (index < length) {\n if (aStr.charAt(index) === ';') {\n generatedLine++;\n index++;\n previousGeneratedColumn = 0;\n }\n else if (aStr.charAt(index) === ',') {\n index++;\n }\n else {\n mapping = new Mapping();\n mapping.generatedLine = generatedLine;\n\n // Because each offset is encoded relative to the previous one,\n // many segments often have the same encoding. We can exploit this\n // fact by caching the parsed variable length fields of each segment,\n // allowing us to avoid a second parse if we encounter the same\n // segment again.\n for (end = index; end < length; end++) {\n if (this._charIsMappingSeparator(aStr, end)) {\n break;\n }\n }\n str = aStr.slice(index, end);\n\n segment = cachedSegments[str];\n if (segment) {\n index += str.length;\n } else {\n segment = [];\n while (index < end) {\n base64VLQ.decode(aStr, index, temp);\n value = temp.value;\n index = temp.rest;\n segment.push(value);\n }\n\n if (segment.length === 2) {\n throw new Error('Found a source, but no line and column');\n }\n\n if (segment.length === 3) {\n throw new Error('Found a source and line, but no column');\n }\n\n cachedSegments[str] = segment;\n }\n\n // Generated column.\n mapping.generatedColumn = previousGeneratedColumn + segment[0];\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (segment.length > 1) {\n // Original source.\n mapping.source = previousSource + segment[1];\n previousSource += segment[1];\n\n // Original line.\n mapping.originalLine = previousOriginalLine + segment[2];\n previousOriginalLine = mapping.originalLine;\n // Lines are stored 0-based\n mapping.originalLine += 1;\n\n // Original column.\n mapping.originalColumn = previousOriginalColumn + segment[3];\n previousOriginalColumn = mapping.originalColumn;\n\n if (segment.length > 4) {\n // Original name.\n mapping.name = previousName + segment[4];\n previousName += segment[4];\n }\n }\n\n generatedMappings.push(mapping);\n if (typeof mapping.originalLine === 'number') {\n originalMappings.push(mapping);\n }\n }\n }\n\n quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n this.__generatedMappings = generatedMappings;\n\n quickSort(originalMappings, util.compareByOriginalPositions);\n this.__originalMappings = originalMappings;\n };\n\n/**\n * Find the mapping that best matches the hypothetical \"needle\" mapping that\n * we are searching for in the given \"haystack\" of mappings.\n */\nBasicSourceMapConsumer.prototype._findMapping =\n function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n aColumnName, aComparator, aBias) {\n // To return the position we are searching for, we must first find the\n // mapping for the given position and then return the opposite position it\n // points to. Because the mappings are sorted, we can use binary search to\n // find the best mapping.\n\n if (aNeedle[aLineName] <= 0) {\n throw new TypeError('Line must be greater than or equal to 1, got '\n + aNeedle[aLineName]);\n }\n if (aNeedle[aColumnName] < 0) {\n throw new TypeError('Column must be greater than or equal to 0, got '\n + aNeedle[aColumnName]);\n }\n\n return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n };\n\n/**\n * Compute the last column for each generated mapping. The last column is\n * inclusive.\n */\nBasicSourceMapConsumer.prototype.computeColumnSpans =\n function SourceMapConsumer_computeColumnSpans() {\n for (var index = 0; index < this._generatedMappings.length; ++index) {\n var mapping = this._generatedMappings[index];\n\n // Mappings do not contain a field for the last generated columnt. We\n // can come up with an optimistic estimate, however, by assuming that\n // mappings are contiguous (i.e. given two consecutive mappings, the\n // first mapping ends where the second one starts).\n if (index + 1 < this._generatedMappings.length) {\n var nextMapping = this._generatedMappings[index + 1];\n\n if (mapping.generatedLine === nextMapping.generatedLine) {\n mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n continue;\n }\n }\n\n // The last mapping for each line spans the entire line.\n mapping.lastGeneratedColumn = Infinity;\n }\n };\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nBasicSourceMapConsumer.prototype.originalPositionFor =\n function SourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._generatedMappings,\n \"generatedLine\",\n \"generatedColumn\",\n util.compareByGeneratedPositionsDeflated,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._generatedMappings[index];\n\n if (mapping.generatedLine === needle.generatedLine) {\n var source = util.getArg(mapping, 'source', null);\n if (source !== null) {\n source = this._sources.at(source);\n if (this.sourceRoot != null) {\n source = util.join(this.sourceRoot, source);\n }\n }\n var name = util.getArg(mapping, 'name', null);\n if (name !== null) {\n name = this._names.at(name);\n }\n return {\n source: source,\n line: util.getArg(mapping, 'originalLine', null),\n column: util.getArg(mapping, 'originalColumn', null),\n name: name\n };\n }\n }\n\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n function BasicSourceMapConsumer_hasContentsOfAllSources() {\n if (!this.sourcesContent) {\n return false;\n }\n return this.sourcesContent.length >= this._sources.size() &&\n !this.sourcesContent.some(function (sc) { return sc == null; });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nBasicSourceMapConsumer.prototype.sourceContentFor =\n function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n if (!this.sourcesContent) {\n return null;\n }\n\n if (this.sourceRoot != null) {\n aSource = util.relative(this.sourceRoot, aSource);\n }\n\n if (this._sources.has(aSource)) {\n return this.sourcesContent[this._sources.indexOf(aSource)];\n }\n\n var url;\n if (this.sourceRoot != null\n && (url = util.urlParse(this.sourceRoot))) {\n // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n // many users. We can help them out when they expect file:// URIs to\n // behave like it would if they were running a local HTTP server. See\n // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n if (url.scheme == \"file\"\n && this._sources.has(fileUriAbsPath)) {\n return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n }\n\n if ((!url.path || url.path == \"/\")\n && this._sources.has(\"/\" + aSource)) {\n return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n }\n }\n\n // This function is used recursively from\n // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n // don't want to throw if we can't find the source - we just want to\n // return null, so we provide a flag to exit gracefully.\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nBasicSourceMapConsumer.prototype.generatedPositionFor =\n function SourceMapConsumer_generatedPositionFor(aArgs) {\n var source = util.getArg(aArgs, 'source');\n if (this.sourceRoot != null) {\n source = util.relative(this.sourceRoot, source);\n }\n if (!this._sources.has(source)) {\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n }\n source = this._sources.indexOf(source);\n\n var needle = {\n source: source,\n originalLine: util.getArg(aArgs, 'line'),\n originalColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (mapping.source === needle.source) {\n return {\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n };\n }\n }\n\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n };\n\nexports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\n/**\n * An IndexedSourceMapConsumer instance represents a parsed source map which\n * we can query for information. It differs from BasicSourceMapConsumer in\n * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n * input.\n *\n * The only parameter is a raw source map (either as a JSON string, or already\n * parsed to an object). According to the spec for indexed source maps, they\n * have the following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - file: Optional. The generated file this source map is associated with.\n * - sections: A list of section definitions.\n *\n * Each value under the \"sections\" field has two fields:\n * - offset: The offset into the original specified at which this section\n * begins to apply, defined as an object with a \"line\" and \"column\"\n * field.\n * - map: A source map definition. This source map could also be indexed,\n * but doesn't have to be.\n *\n * Instead of the \"map\" field, it's also possible to have a \"url\" field\n * specifying a URL to retrieve a source map from, but that's currently\n * unsupported.\n *\n * Here's an example source map, taken from the source map spec[0], but\n * modified to omit a section which uses the \"url\" field.\n *\n * {\n * version : 3,\n * file: \"app.js\",\n * sections: [{\n * offset: {line:100, column:10},\n * map: {\n * version : 3,\n * file: \"section.js\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AAAA,E;;ABCDE;\"\n * }\n * }],\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n */\nfunction IndexedSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sections = util.getArg(sourceMap, 'sections');\n\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n this._sources = new ArraySet();\n this._names = new ArraySet();\n\n var lastOffset = {\n line: -1,\n column: 0\n };\n this._sections = sections.map(function (s) {\n if (s.url) {\n // The url field will require support for asynchronicity.\n // See https://github.com/mozilla/source-map/issues/16\n throw new Error('Support for url field in sections not implemented.');\n }\n var offset = util.getArg(s, 'offset');\n var offsetLine = util.getArg(offset, 'line');\n var offsetColumn = util.getArg(offset, 'column');\n\n if (offsetLine < lastOffset.line ||\n (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n throw new Error('Section offsets must be ordered and non-overlapping.');\n }\n lastOffset = offset;\n\n return {\n generatedOffset: {\n // The offset fields are 0-based, but we use 1-based indices when\n // encoding/decoding from VLQ.\n generatedLine: offsetLine + 1,\n generatedColumn: offsetColumn + 1\n },\n consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n }\n });\n}\n\nIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nIndexedSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n get: function () {\n var sources = [];\n for (var i = 0; i < this._sections.length; i++) {\n for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n sources.push(this._sections[i].consumer.sources[j]);\n }\n }\n return sources;\n }\n});\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nIndexedSourceMapConsumer.prototype.originalPositionFor =\n function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n // Find the section containing the generated position we're trying to map\n // to an original position.\n var sectionIndex = binarySearch.search(needle, this._sections,\n function(needle, section) {\n var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n if (cmp) {\n return cmp;\n }\n\n return (needle.generatedColumn -\n section.generatedOffset.generatedColumn);\n });\n var section = this._sections[sectionIndex];\n\n if (!section) {\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n }\n\n return section.consumer.originalPositionFor({\n line: needle.generatedLine -\n (section.generatedOffset.generatedLine - 1),\n column: needle.generatedColumn -\n (section.generatedOffset.generatedLine === needle.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n bias: aArgs.bias\n });\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n return this._sections.every(function (s) {\n return s.consumer.hasContentsOfAllSources();\n });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nIndexedSourceMapConsumer.prototype.sourceContentFor =\n function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n var content = section.consumer.sourceContentFor(aSource, true);\n if (content) {\n return content;\n }\n }\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nIndexedSourceMapConsumer.prototype.generatedPositionFor =\n function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n // Only consider this section if the requested source is in the list of\n // sources of the consumer.\n if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n continue;\n }\n var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n if (generatedPosition) {\n var ret = {\n line: generatedPosition.line +\n (section.generatedOffset.generatedLine - 1),\n column: generatedPosition.column +\n (section.generatedOffset.generatedLine === generatedPosition.line\n ? section.generatedOffset.generatedColumn - 1\n : 0)\n };\n return ret;\n }\n }\n\n return {\n line: null,\n column: null\n };\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nIndexedSourceMapConsumer.prototype._parseMappings =\n function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n this.__generatedMappings = [];\n this.__originalMappings = [];\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n var sectionMappings = section.consumer._generatedMappings;\n for (var j = 0; j < sectionMappings.length; j++) {\n var mapping = sectionMappings[j];\n\n var source = section.consumer._sources.at(mapping.source);\n if (section.consumer.sourceRoot !== null) {\n source = util.join(section.consumer.sourceRoot, source);\n }\n this._sources.add(source);\n source = this._sources.indexOf(source);\n\n var name = section.consumer._names.at(mapping.name);\n this._names.add(name);\n name = this._names.indexOf(name);\n\n // The mappings coming from the consumer for the section have\n // generated positions relative to the start of the section, so we\n // need to offset them to be relative to the start of the concatenated\n // generated file.\n var adjustedMapping = {\n source: source,\n generatedLine: mapping.generatedLine +\n (section.generatedOffset.generatedLine - 1),\n generatedColumn: mapping.generatedColumn +\n (section.generatedOffset.generatedLine === mapping.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: name\n };\n\n this.__generatedMappings.push(adjustedMapping);\n if (typeof adjustedMapping.originalLine === 'number') {\n this.__originalMappings.push(adjustedMapping);\n }\n }\n }\n\n quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n quickSort(this.__originalMappings, util.compareByOriginalPositions);\n };\n\nexports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-map-consumer.js\n// module id = 7\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nexports.GREATEST_LOWER_BOUND = 1;\nexports.LEAST_UPPER_BOUND = 2;\n\n/**\n * Recursive implementation of binary search.\n *\n * @param aLow Indices here and lower do not contain the needle.\n * @param aHigh Indices here and higher do not contain the needle.\n * @param aNeedle The element being searched for.\n * @param aHaystack The non-empty array being searched.\n * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n */\nfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n // This function terminates when one of the following is true:\n //\n // 1. We find the exact element we are looking for.\n //\n // 2. We did not find the exact element, but we can return the index of\n // the next-closest element.\n //\n // 3. We did not find the exact element, and there is no next-closest\n // element than the one we are searching for, so we return -1.\n var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n var cmp = aCompare(aNeedle, aHaystack[mid], true);\n if (cmp === 0) {\n // Found the element we are looking for.\n return mid;\n }\n else if (cmp > 0) {\n // Our needle is greater than aHaystack[mid].\n if (aHigh - mid > 1) {\n // The element is in the upper half.\n return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // The exact needle element was not found in this haystack. Determine if\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return aHigh < aHaystack.length ? aHigh : -1;\n } else {\n return mid;\n }\n }\n else {\n // Our needle is less than aHaystack[mid].\n if (mid - aLow > 1) {\n // The element is in the lower half.\n return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return mid;\n } else {\n return aLow < 0 ? -1 : aLow;\n }\n }\n}\n\n/**\n * This is an implementation of binary search which will always try and return\n * the index of the closest element if there is no exact hit. This is because\n * mappings between original and generated line/col pairs are single points,\n * and there is an implicit region between each of them, so a miss just means\n * that you aren't on the very start of a region.\n *\n * @param aNeedle The element you are looking for.\n * @param aHaystack The array that is being searched.\n * @param aCompare A function which takes the needle and an element in the\n * array and returns -1, 0, or 1 depending on whether the needle is less\n * than, equal to, or greater than the element, respectively.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n */\nexports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n if (aHaystack.length === 0) {\n return -1;\n }\n\n var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n if (index < 0) {\n return -1;\n }\n\n // We have found either the exact element, or the next-closest element than\n // the one we are searching for. However, there may be more than one such\n // element. Make sure we always return the smallest of these.\n while (index - 1 >= 0) {\n if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n break;\n }\n --index;\n }\n\n return index;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/binary-search.js\n// module id = 8\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n// It turns out that some (most?) JavaScript engines don't self-host\n// `Array.prototype.sort`. This makes sense because C++ will likely remain\n// faster than JS when doing raw CPU-intensive sorting. However, when using a\n// custom comparator function, calling back and forth between the VM's C++ and\n// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n// worse generated code for the comparator function than would be optimal. In\n// fact, when sorting with a comparator, these costs outweigh the benefits of\n// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n// a ~3500ms mean speed-up in `bench/bench.html`.\n\n/**\n * Swap the elements indexed by `x` and `y` in the array `ary`.\n *\n * @param {Array} ary\n * The array.\n * @param {Number} x\n * The index of the first item.\n * @param {Number} y\n * The index of the second item.\n */\nfunction swap(ary, x, y) {\n var temp = ary[x];\n ary[x] = ary[y];\n ary[y] = temp;\n}\n\n/**\n * Returns a random integer within the range `low .. high` inclusive.\n *\n * @param {Number} low\n * The lower bound on the range.\n * @param {Number} high\n * The upper bound on the range.\n */\nfunction randomIntInRange(low, high) {\n return Math.round(low + (Math.random() * (high - low)));\n}\n\n/**\n * The Quick Sort algorithm.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n * @param {Number} p\n * Start index of the array\n * @param {Number} r\n * End index of the array\n */\nfunction doQuickSort(ary, comparator, p, r) {\n // If our lower bound is less than our upper bound, we (1) partition the\n // array into two pieces and (2) recurse on each half. If it is not, this is\n // the empty array and our base case.\n\n if (p < r) {\n // (1) Partitioning.\n //\n // The partitioning chooses a pivot between `p` and `r` and moves all\n // elements that are less than or equal to the pivot to the before it, and\n // all the elements that are greater than it after it. The effect is that\n // once partition is done, the pivot is in the exact place it will be when\n // the array is put in sorted order, and it will not need to be moved\n // again. This runs in O(n) time.\n\n // Always choose a random pivot so that an input array which is reverse\n // sorted does not cause O(n^2) running time.\n var pivotIndex = randomIntInRange(p, r);\n var i = p - 1;\n\n swap(ary, pivotIndex, r);\n var pivot = ary[r];\n\n // Immediately after `j` is incremented in this loop, the following hold\n // true:\n //\n // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n //\n // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n for (var j = p; j < r; j++) {\n if (comparator(ary[j], pivot) <= 0) {\n i += 1;\n swap(ary, i, j);\n }\n }\n\n swap(ary, i + 1, j);\n var q = i + 1;\n\n // (2) Recurse on each half.\n\n doQuickSort(ary, comparator, p, q - 1);\n doQuickSort(ary, comparator, q + 1, r);\n }\n}\n\n/**\n * Sort the given array in-place with the given comparator function.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n */\nexports.quickSort = function (ary, comparator) {\n doQuickSort(ary, comparator, 0, ary.length - 1);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/quick-sort.js\n// module id = 9\n// module chunks = 0","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;\nvar util = require('./util');\n\n// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n// operating systems these days (capturing the result).\nvar REGEX_NEWLINE = /(\\r?\\n)/;\n\n// Newline character code for charCodeAt() comparisons\nvar NEWLINE_CODE = 10;\n\n// Private symbol for identifying `SourceNode`s when multiple versions of\n// the source-map library are loaded. This MUST NOT CHANGE across\n// versions!\nvar isSourceNode = \"$$$isSourceNode$$$\";\n\n/**\n * SourceNodes provide a way to abstract over interpolating/concatenating\n * snippets of generated JavaScript source code while maintaining the line and\n * column information associated with the original source code.\n *\n * @param aLine The original line number.\n * @param aColumn The original column number.\n * @param aSource The original source's filename.\n * @param aChunks Optional. An array of strings which are snippets of\n * generated JS, or other SourceNodes.\n * @param aName The original identifier.\n */\nfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n this.children = [];\n this.sourceContents = {};\n this.line = aLine == null ? null : aLine;\n this.column = aColumn == null ? null : aColumn;\n this.source = aSource == null ? null : aSource;\n this.name = aName == null ? null : aName;\n this[isSourceNode] = true;\n if (aChunks != null) this.add(aChunks);\n}\n\n/**\n * Creates a SourceNode from generated code and a SourceMapConsumer.\n *\n * @param aGeneratedCode The generated code\n * @param aSourceMapConsumer The SourceMap for the generated code\n * @param aRelativePath Optional. The path that relative sources in the\n * SourceMapConsumer should be relative to.\n */\nSourceNode.fromStringWithSourceMap =\n function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n // The SourceNode we want to fill with the generated code\n // and the SourceMap\n var node = new SourceNode();\n\n // All even indices of this array are one line of the generated code,\n // while all odd indices are the newlines between two adjacent lines\n // (since `REGEX_NEWLINE` captures its match).\n // Processed fragments are accessed by calling `shiftNextLine`.\n var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n var remainingLinesIndex = 0;\n var shiftNextLine = function() {\n var lineContents = getNextLine();\n // The last line of a file might not have a newline.\n var newLine = getNextLine() || \"\";\n return lineContents + newLine;\n\n function getNextLine() {\n return remainingLinesIndex < remainingLines.length ?\n remainingLines[remainingLinesIndex++] : undefined;\n }\n };\n\n // We need to remember the position of \"remainingLines\"\n var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\n // The generate SourceNodes we need a code range.\n // To extract it current and last mapping is used.\n // Here we store the last mapping.\n var lastMapping = null;\n\n aSourceMapConsumer.eachMapping(function (mapping) {\n if (lastMapping !== null) {\n // We add the code from \"lastMapping\" to \"mapping\":\n // First check if there is a new line in between.\n if (lastGeneratedLine < mapping.generatedLine) {\n // Associate first line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n lastGeneratedLine++;\n lastGeneratedColumn = 0;\n // The remaining code is added without mapping\n } else {\n // There is no new line in between.\n // Associate the code between \"lastGeneratedColumn\" and\n // \"mapping.generatedColumn\" with \"lastMapping\"\n var nextLine = remainingLines[remainingLinesIndex];\n var code = nextLine.substr(0, mapping.generatedColumn -\n lastGeneratedColumn);\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n lastGeneratedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n addMappingWithCode(lastMapping, code);\n // No more remaining code, continue\n lastMapping = mapping;\n return;\n }\n }\n // We add the generated code until the first mapping\n // to the SourceNode without any mapping.\n // Each line is added as separate string.\n while (lastGeneratedLine < mapping.generatedLine) {\n node.add(shiftNextLine());\n lastGeneratedLine++;\n }\n if (lastGeneratedColumn < mapping.generatedColumn) {\n var nextLine = remainingLines[remainingLinesIndex];\n node.add(nextLine.substr(0, mapping.generatedColumn));\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n }\n lastMapping = mapping;\n }, this);\n // We have processed all mappings.\n if (remainingLinesIndex < remainingLines.length) {\n if (lastMapping) {\n // Associate the remaining code in the current line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n }\n // and add the remaining lines without any mapping\n node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n }\n\n // Copy sourcesContent into SourceNode\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aRelativePath != null) {\n sourceFile = util.join(aRelativePath, sourceFile);\n }\n node.setSourceContent(sourceFile, content);\n }\n });\n\n return node;\n\n function addMappingWithCode(mapping, code) {\n if (mapping === null || mapping.source === undefined) {\n node.add(code);\n } else {\n var source = aRelativePath\n ? util.join(aRelativePath, mapping.source)\n : mapping.source;\n node.add(new SourceNode(mapping.originalLine,\n mapping.originalColumn,\n source,\n code,\n mapping.name));\n }\n }\n };\n\n/**\n * Add a chunk of generated JS to this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.add = function SourceNode_add(aChunk) {\n if (Array.isArray(aChunk)) {\n aChunk.forEach(function (chunk) {\n this.add(chunk);\n }, this);\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n if (aChunk) {\n this.children.push(aChunk);\n }\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Add a chunk of generated JS to the beginning of this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n if (Array.isArray(aChunk)) {\n for (var i = aChunk.length-1; i >= 0; i--) {\n this.prepend(aChunk[i]);\n }\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n this.children.unshift(aChunk);\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Walk over the tree of JS snippets in this node and its children. The\n * walking function is called once for each snippet of JS and is passed that\n * snippet and the its original associated source's line/column location.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n var chunk;\n for (var i = 0, len = this.children.length; i < len; i++) {\n chunk = this.children[i];\n if (chunk[isSourceNode]) {\n chunk.walk(aFn);\n }\n else {\n if (chunk !== '') {\n aFn(chunk, { source: this.source,\n line: this.line,\n column: this.column,\n name: this.name });\n }\n }\n }\n};\n\n/**\n * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n * each of `this.children`.\n *\n * @param aSep The separator.\n */\nSourceNode.prototype.join = function SourceNode_join(aSep) {\n var newChildren;\n var i;\n var len = this.children.length;\n if (len > 0) {\n newChildren = [];\n for (i = 0; i < len-1; i++) {\n newChildren.push(this.children[i]);\n newChildren.push(aSep);\n }\n newChildren.push(this.children[i]);\n this.children = newChildren;\n }\n return this;\n};\n\n/**\n * Call String.prototype.replace on the very right-most source snippet. Useful\n * for trimming whitespace from the end of a source node, etc.\n *\n * @param aPattern The pattern to replace.\n * @param aReplacement The thing to replace the pattern with.\n */\nSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n var lastChild = this.children[this.children.length - 1];\n if (lastChild[isSourceNode]) {\n lastChild.replaceRight(aPattern, aReplacement);\n }\n else if (typeof lastChild === 'string') {\n this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n }\n else {\n this.children.push(''.replace(aPattern, aReplacement));\n }\n return this;\n};\n\n/**\n * Set the source content for a source file. This will be added to the SourceMapGenerator\n * in the sourcesContent field.\n *\n * @param aSourceFile The filename of the source file\n * @param aSourceContent The content of the source file\n */\nSourceNode.prototype.setSourceContent =\n function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n };\n\n/**\n * Walk over the tree of SourceNodes. The walking function is called for each\n * source file content and is passed the filename and source content.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walkSourceContents =\n function SourceNode_walkSourceContents(aFn) {\n for (var i = 0, len = this.children.length; i < len; i++) {\n if (this.children[i][isSourceNode]) {\n this.children[i].walkSourceContents(aFn);\n }\n }\n\n var sources = Object.keys(this.sourceContents);\n for (var i = 0, len = sources.length; i < len; i++) {\n aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n }\n };\n\n/**\n * Return the string representation of this source node. Walks over the tree\n * and concatenates all the various snippets together to one string.\n */\nSourceNode.prototype.toString = function SourceNode_toString() {\n var str = \"\";\n this.walk(function (chunk) {\n str += chunk;\n });\n return str;\n};\n\n/**\n * Returns the string representation of this source node along with a source\n * map.\n */\nSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n var generated = {\n code: \"\",\n line: 1,\n column: 0\n };\n var map = new SourceMapGenerator(aArgs);\n var sourceMappingActive = false;\n var lastOriginalSource = null;\n var lastOriginalLine = null;\n var lastOriginalColumn = null;\n var lastOriginalName = null;\n this.walk(function (chunk, original) {\n generated.code += chunk;\n if (original.source !== null\n && original.line !== null\n && original.column !== null) {\n if(lastOriginalSource !== original.source\n || lastOriginalLine !== original.line\n || lastOriginalColumn !== original.column\n || lastOriginalName !== original.name) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n lastOriginalSource = original.source;\n lastOriginalLine = original.line;\n lastOriginalColumn = original.column;\n lastOriginalName = original.name;\n sourceMappingActive = true;\n } else if (sourceMappingActive) {\n map.addMapping({\n generated: {\n line: generated.line,\n column: generated.column\n }\n });\n lastOriginalSource = null;\n sourceMappingActive = false;\n }\n for (var idx = 0, length = chunk.length; idx < length; idx++) {\n if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n generated.line++;\n generated.column = 0;\n // Mappings end at eol\n if (idx + 1 === length) {\n lastOriginalSource = null;\n sourceMappingActive = false;\n } else if (sourceMappingActive) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n } else {\n generated.column++;\n }\n }\n });\n this.walkSourceContents(function (sourceFile, sourceContent) {\n map.setSourceContent(sourceFile, sourceContent);\n });\n\n return { code: generated.code, map: map };\n};\n\nexports.SourceNode = SourceNode;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./lib/source-node.js\n// module id = 10\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/array-set.js b/node_modules/@babel/generator/node_modules/source-map/lib/array-set.js deleted file mode 100644 index fbd5c81..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/array-set.js +++ /dev/null @@ -1,121 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); -var has = Object.prototype.hasOwnProperty; -var hasNativeMap = typeof Map !== "undefined"; - -/** - * A data structure which is a combination of an array and a set. Adding a new - * member is O(1), testing for membership is O(1), and finding the index of an - * element is O(1). Removing elements from the set is not supported. Only - * strings are supported for membership. - */ -function ArraySet() { - this._array = []; - this._set = hasNativeMap ? new Map() : Object.create(null); -} - -/** - * Static method for creating ArraySet instances from an existing array. - */ -ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { - var set = new ArraySet(); - for (var i = 0, len = aArray.length; i < len; i++) { - set.add(aArray[i], aAllowDuplicates); - } - return set; -}; - -/** - * Return how many unique items are in this ArraySet. If duplicates have been - * added, than those do not count towards the size. - * - * @returns Number - */ -ArraySet.prototype.size = function ArraySet_size() { - return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length; -}; - -/** - * Add the given string to this set. - * - * @param String aStr - */ -ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { - var sStr = hasNativeMap ? aStr : util.toSetString(aStr); - var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr); - var idx = this._array.length; - if (!isDuplicate || aAllowDuplicates) { - this._array.push(aStr); - } - if (!isDuplicate) { - if (hasNativeMap) { - this._set.set(aStr, idx); - } else { - this._set[sStr] = idx; - } - } -}; - -/** - * Is the given string a member of this set? - * - * @param String aStr - */ -ArraySet.prototype.has = function ArraySet_has(aStr) { - if (hasNativeMap) { - return this._set.has(aStr); - } else { - var sStr = util.toSetString(aStr); - return has.call(this._set, sStr); - } -}; - -/** - * What is the index of the given string in the array? - * - * @param String aStr - */ -ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { - if (hasNativeMap) { - var idx = this._set.get(aStr); - if (idx >= 0) { - return idx; - } - } else { - var sStr = util.toSetString(aStr); - if (has.call(this._set, sStr)) { - return this._set[sStr]; - } - } - - throw new Error('"' + aStr + '" is not in the set.'); -}; - -/** - * What is the element at the given index? - * - * @param Number aIdx - */ -ArraySet.prototype.at = function ArraySet_at(aIdx) { - if (aIdx >= 0 && aIdx < this._array.length) { - return this._array[aIdx]; - } - throw new Error('No element indexed by ' + aIdx); -}; - -/** - * Returns the array representation of this set (which has the proper indices - * indicated by indexOf). Note that this is a copy of the internal array used - * for storing the members so that no one can mess with internal state. - */ -ArraySet.prototype.toArray = function ArraySet_toArray() { - return this._array.slice(); -}; - -exports.ArraySet = ArraySet; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js b/node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js deleted file mode 100644 index 612b404..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/base64-vlq.js +++ /dev/null @@ -1,140 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - * - * Based on the Base 64 VLQ implementation in Closure Compiler: - * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java - * - * Copyright 2011 The Closure Compiler Authors. All rights reserved. - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials provided - * with the distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -var base64 = require('./base64'); - -// A single base 64 digit can contain 6 bits of data. For the base 64 variable -// length quantities we use in the source map spec, the first bit is the sign, -// the next four bits are the actual value, and the 6th bit is the -// continuation bit. The continuation bit tells us whether there are more -// digits in this value following this digit. -// -// Continuation -// | Sign -// | | -// V V -// 101011 - -var VLQ_BASE_SHIFT = 5; - -// binary: 100000 -var VLQ_BASE = 1 << VLQ_BASE_SHIFT; - -// binary: 011111 -var VLQ_BASE_MASK = VLQ_BASE - 1; - -// binary: 100000 -var VLQ_CONTINUATION_BIT = VLQ_BASE; - -/** - * Converts from a two-complement value to a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) - * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) - */ -function toVLQSigned(aValue) { - return aValue < 0 - ? ((-aValue) << 1) + 1 - : (aValue << 1) + 0; -} - -/** - * Converts to a two-complement value from a value where the sign bit is - * placed in the least significant bit. For example, as decimals: - * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 - * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 - */ -function fromVLQSigned(aValue) { - var isNegative = (aValue & 1) === 1; - var shifted = aValue >> 1; - return isNegative - ? -shifted - : shifted; -} - -/** - * Returns the base 64 VLQ encoded value. - */ -exports.encode = function base64VLQ_encode(aValue) { - var encoded = ""; - var digit; - - var vlq = toVLQSigned(aValue); - - do { - digit = vlq & VLQ_BASE_MASK; - vlq >>>= VLQ_BASE_SHIFT; - if (vlq > 0) { - // There are still more digits in this value, so we must make sure the - // continuation bit is marked. - digit |= VLQ_CONTINUATION_BIT; - } - encoded += base64.encode(digit); - } while (vlq > 0); - - return encoded; -}; - -/** - * Decodes the next base 64 VLQ value from the given string and returns the - * value and the rest of the string via the out parameter. - */ -exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { - var strLen = aStr.length; - var result = 0; - var shift = 0; - var continuation, digit; - - do { - if (aIndex >= strLen) { - throw new Error("Expected more digits in base 64 VLQ value."); - } - - digit = base64.decode(aStr.charCodeAt(aIndex++)); - if (digit === -1) { - throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); - } - - continuation = !!(digit & VLQ_CONTINUATION_BIT); - digit &= VLQ_BASE_MASK; - result = result + (digit << shift); - shift += VLQ_BASE_SHIFT; - } while (continuation); - - aOutParam.value = fromVLQSigned(result); - aOutParam.rest = aIndex; -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/base64.js b/node_modules/@babel/generator/node_modules/source-map/lib/base64.js deleted file mode 100644 index 8aa86b3..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/base64.js +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - -/** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ -exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); -}; - -/** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ -exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js b/node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js deleted file mode 100644 index 010ac94..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/binary-search.js +++ /dev/null @@ -1,111 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -exports.GREATEST_LOWER_BOUND = 1; -exports.LEAST_UPPER_BOUND = 2; - -/** - * Recursive implementation of binary search. - * - * @param aLow Indices here and lower do not contain the needle. - * @param aHigh Indices here and higher do not contain the needle. - * @param aNeedle The element being searched for. - * @param aHaystack The non-empty array being searched. - * @param aCompare Function which takes two elements and returns -1, 0, or 1. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - */ -function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { - // This function terminates when one of the following is true: - // - // 1. We find the exact element we are looking for. - // - // 2. We did not find the exact element, but we can return the index of - // the next-closest element. - // - // 3. We did not find the exact element, and there is no next-closest - // element than the one we are searching for, so we return -1. - var mid = Math.floor((aHigh - aLow) / 2) + aLow; - var cmp = aCompare(aNeedle, aHaystack[mid], true); - if (cmp === 0) { - // Found the element we are looking for. - return mid; - } - else if (cmp > 0) { - // Our needle is greater than aHaystack[mid]. - if (aHigh - mid > 1) { - // The element is in the upper half. - return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); - } - - // The exact needle element was not found in this haystack. Determine if - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return aHigh < aHaystack.length ? aHigh : -1; - } else { - return mid; - } - } - else { - // Our needle is less than aHaystack[mid]. - if (mid - aLow > 1) { - // The element is in the lower half. - return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); - } - - // we are in termination case (3) or (2) and return the appropriate thing. - if (aBias == exports.LEAST_UPPER_BOUND) { - return mid; - } else { - return aLow < 0 ? -1 : aLow; - } - } -} - -/** - * This is an implementation of binary search which will always try and return - * the index of the closest element if there is no exact hit. This is because - * mappings between original and generated line/col pairs are single points, - * and there is an implicit region between each of them, so a miss just means - * that you aren't on the very start of a region. - * - * @param aNeedle The element you are looking for. - * @param aHaystack The array that is being searched. - * @param aCompare A function which takes the needle and an element in the - * array and returns -1, 0, or 1 depending on whether the needle is less - * than, equal to, or greater than the element, respectively. - * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or - * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. - */ -exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { - if (aHaystack.length === 0) { - return -1; - } - - var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, - aCompare, aBias || exports.GREATEST_LOWER_BOUND); - if (index < 0) { - return -1; - } - - // We have found either the exact element, or the next-closest element than - // the one we are searching for. However, there may be more than one such - // element. Make sure we always return the smallest of these. - while (index - 1 >= 0) { - if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { - break; - } - --index; - } - - return index; -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js b/node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js deleted file mode 100644 index 06d1274..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/mapping-list.js +++ /dev/null @@ -1,79 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2014 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); - -/** - * Determine whether mappingB is after mappingA with respect to generated - * position. - */ -function generatedPositionAfter(mappingA, mappingB) { - // Optimized for most common case - var lineA = mappingA.generatedLine; - var lineB = mappingB.generatedLine; - var columnA = mappingA.generatedColumn; - var columnB = mappingB.generatedColumn; - return lineB > lineA || lineB == lineA && columnB >= columnA || - util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; -} - -/** - * A data structure to provide a sorted view of accumulated mappings in a - * performance conscious manner. It trades a neglibable overhead in general - * case for a large speedup in case of mappings being added in order. - */ -function MappingList() { - this._array = []; - this._sorted = true; - // Serves as infimum - this._last = {generatedLine: -1, generatedColumn: 0}; -} - -/** - * Iterate through internal items. This method takes the same arguments that - * `Array.prototype.forEach` takes. - * - * NOTE: The order of the mappings is NOT guaranteed. - */ -MappingList.prototype.unsortedForEach = - function MappingList_forEach(aCallback, aThisArg) { - this._array.forEach(aCallback, aThisArg); - }; - -/** - * Add the given source mapping. - * - * @param Object aMapping - */ -MappingList.prototype.add = function MappingList_add(aMapping) { - if (generatedPositionAfter(this._last, aMapping)) { - this._last = aMapping; - this._array.push(aMapping); - } else { - this._sorted = false; - this._array.push(aMapping); - } -}; - -/** - * Returns the flat, sorted array of mappings. The mappings are sorted by - * generated position. - * - * WARNING: This method returns internal data without copying, for - * performance. The return value must NOT be mutated, and should be treated as - * an immutable borrow. If you want to take ownership, you must make your own - * copy. - */ -MappingList.prototype.toArray = function MappingList_toArray() { - if (!this._sorted) { - this._array.sort(util.compareByGeneratedPositionsInflated); - this._sorted = true; - } - return this._array; -}; - -exports.MappingList = MappingList; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js b/node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js deleted file mode 100644 index 6a7caad..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/quick-sort.js +++ /dev/null @@ -1,114 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -// It turns out that some (most?) JavaScript engines don't self-host -// `Array.prototype.sort`. This makes sense because C++ will likely remain -// faster than JS when doing raw CPU-intensive sorting. However, when using a -// custom comparator function, calling back and forth between the VM's C++ and -// JIT'd JS is rather slow *and* loses JIT type information, resulting in -// worse generated code for the comparator function than would be optimal. In -// fact, when sorting with a comparator, these costs outweigh the benefits of -// sorting in C++. By using our own JS-implemented Quick Sort (below), we get -// a ~3500ms mean speed-up in `bench/bench.html`. - -/** - * Swap the elements indexed by `x` and `y` in the array `ary`. - * - * @param {Array} ary - * The array. - * @param {Number} x - * The index of the first item. - * @param {Number} y - * The index of the second item. - */ -function swap(ary, x, y) { - var temp = ary[x]; - ary[x] = ary[y]; - ary[y] = temp; -} - -/** - * Returns a random integer within the range `low .. high` inclusive. - * - * @param {Number} low - * The lower bound on the range. - * @param {Number} high - * The upper bound on the range. - */ -function randomIntInRange(low, high) { - return Math.round(low + (Math.random() * (high - low))); -} - -/** - * The Quick Sort algorithm. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - * @param {Number} p - * Start index of the array - * @param {Number} r - * End index of the array - */ -function doQuickSort(ary, comparator, p, r) { - // If our lower bound is less than our upper bound, we (1) partition the - // array into two pieces and (2) recurse on each half. If it is not, this is - // the empty array and our base case. - - if (p < r) { - // (1) Partitioning. - // - // The partitioning chooses a pivot between `p` and `r` and moves all - // elements that are less than or equal to the pivot to the before it, and - // all the elements that are greater than it after it. The effect is that - // once partition is done, the pivot is in the exact place it will be when - // the array is put in sorted order, and it will not need to be moved - // again. This runs in O(n) time. - - // Always choose a random pivot so that an input array which is reverse - // sorted does not cause O(n^2) running time. - var pivotIndex = randomIntInRange(p, r); - var i = p - 1; - - swap(ary, pivotIndex, r); - var pivot = ary[r]; - - // Immediately after `j` is incremented in this loop, the following hold - // true: - // - // * Every element in `ary[p .. i]` is less than or equal to the pivot. - // - // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. - for (var j = p; j < r; j++) { - if (comparator(ary[j], pivot) <= 0) { - i += 1; - swap(ary, i, j); - } - } - - swap(ary, i + 1, j); - var q = i + 1; - - // (2) Recurse on each half. - - doQuickSort(ary, comparator, p, q - 1); - doQuickSort(ary, comparator, q + 1, r); - } -} - -/** - * Sort the given array in-place with the given comparator function. - * - * @param {Array} ary - * An array to sort. - * @param {function} comparator - * Function to use to compare two items. - */ -exports.quickSort = function (ary, comparator) { - doQuickSort(ary, comparator, 0, ary.length - 1); -}; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js b/node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js deleted file mode 100644 index 6abcc28..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-consumer.js +++ /dev/null @@ -1,1082 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var util = require('./util'); -var binarySearch = require('./binary-search'); -var ArraySet = require('./array-set').ArraySet; -var base64VLQ = require('./base64-vlq'); -var quickSort = require('./quick-sort').quickSort; - -function SourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - return sourceMap.sections != null - ? new IndexedSourceMapConsumer(sourceMap) - : new BasicSourceMapConsumer(sourceMap); -} - -SourceMapConsumer.fromSourceMap = function(aSourceMap) { - return BasicSourceMapConsumer.fromSourceMap(aSourceMap); -} - -/** - * The version of the source mapping spec that we are consuming. - */ -SourceMapConsumer.prototype._version = 3; - -// `__generatedMappings` and `__originalMappings` are arrays that hold the -// parsed mapping coordinates from the source map's "mappings" attribute. They -// are lazily instantiated, accessed via the `_generatedMappings` and -// `_originalMappings` getters respectively, and we only parse the mappings -// and create these arrays once queried for a source location. We jump through -// these hoops because there can be many thousands of mappings, and parsing -// them is expensive, so we only want to do it if we must. -// -// Each object in the arrays is of the form: -// -// { -// generatedLine: The line number in the generated code, -// generatedColumn: The column number in the generated code, -// source: The path to the original source file that generated this -// chunk of code, -// originalLine: The line number in the original source that -// corresponds to this chunk of generated code, -// originalColumn: The column number in the original source that -// corresponds to this chunk of generated code, -// name: The name of the original symbol which generated this chunk of -// code. -// } -// -// All properties except for `generatedLine` and `generatedColumn` can be -// `null`. -// -// `_generatedMappings` is ordered by the generated positions. -// -// `_originalMappings` is ordered by the original positions. - -SourceMapConsumer.prototype.__generatedMappings = null; -Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { - get: function () { - if (!this.__generatedMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__generatedMappings; - } -}); - -SourceMapConsumer.prototype.__originalMappings = null; -Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { - get: function () { - if (!this.__originalMappings) { - this._parseMappings(this._mappings, this.sourceRoot); - } - - return this.__originalMappings; - } -}); - -SourceMapConsumer.prototype._charIsMappingSeparator = - function SourceMapConsumer_charIsMappingSeparator(aStr, index) { - var c = aStr.charAt(index); - return c === ";" || c === ","; - }; - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -SourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - throw new Error("Subclasses must implement _parseMappings"); - }; - -SourceMapConsumer.GENERATED_ORDER = 1; -SourceMapConsumer.ORIGINAL_ORDER = 2; - -SourceMapConsumer.GREATEST_LOWER_BOUND = 1; -SourceMapConsumer.LEAST_UPPER_BOUND = 2; - -/** - * Iterate over each mapping between an original source/line/column and a - * generated line/column in this source map. - * - * @param Function aCallback - * The function that is called with each mapping. - * @param Object aContext - * Optional. If specified, this object will be the value of `this` every - * time that `aCallback` is called. - * @param aOrder - * Either `SourceMapConsumer.GENERATED_ORDER` or - * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to - * iterate over the mappings sorted by the generated file's line/column - * order or the original's source/line/column order, respectively. Defaults to - * `SourceMapConsumer.GENERATED_ORDER`. - */ -SourceMapConsumer.prototype.eachMapping = - function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { - var context = aContext || null; - var order = aOrder || SourceMapConsumer.GENERATED_ORDER; - - var mappings; - switch (order) { - case SourceMapConsumer.GENERATED_ORDER: - mappings = this._generatedMappings; - break; - case SourceMapConsumer.ORIGINAL_ORDER: - mappings = this._originalMappings; - break; - default: - throw new Error("Unknown order of iteration."); - } - - var sourceRoot = this.sourceRoot; - mappings.map(function (mapping) { - var source = mapping.source === null ? null : this._sources.at(mapping.source); - if (source != null && sourceRoot != null) { - source = util.join(sourceRoot, source); - } - return { - source: source, - generatedLine: mapping.generatedLine, - generatedColumn: mapping.generatedColumn, - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: mapping.name === null ? null : this._names.at(mapping.name) - }; - }, this).forEach(aCallback, context); - }; - -/** - * Returns all generated line and column information for the original source, - * line, and column provided. If no column is provided, returns all mappings - * corresponding to a either the line we are searching for or the next - * closest line that has any mappings. Otherwise, returns all mappings - * corresponding to the given line and either the column we are searching for - * or the next closest column that has any offsets. - * - * The only argument is an object with the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: Optional. the column number in the original source. - * - * and an array of objects is returned, each with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -SourceMapConsumer.prototype.allGeneratedPositionsFor = - function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { - var line = util.getArg(aArgs, 'line'); - - // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping - // returns the index of the closest mapping less than the needle. By - // setting needle.originalColumn to 0, we thus find the last mapping for - // the given line, provided such a mapping exists. - var needle = { - source: util.getArg(aArgs, 'source'), - originalLine: line, - originalColumn: util.getArg(aArgs, 'column', 0) - }; - - if (this.sourceRoot != null) { - needle.source = util.relative(this.sourceRoot, needle.source); - } - if (!this._sources.has(needle.source)) { - return []; - } - needle.source = this._sources.indexOf(needle.source); - - var mappings = []; - - var index = this._findMapping(needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - binarySearch.LEAST_UPPER_BOUND); - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (aArgs.column === undefined) { - var originalLine = mapping.originalLine; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we found. Since - // mappings are sorted, this is guaranteed to find all mappings for - // the line we found. - while (mapping && mapping.originalLine === originalLine) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } else { - var originalColumn = mapping.originalColumn; - - // Iterate until either we run out of mappings, or we run into - // a mapping for a different line than the one we were searching for. - // Since mappings are sorted, this is guaranteed to find all mappings for - // the line we are searching for. - while (mapping && - mapping.originalLine === line && - mapping.originalColumn == originalColumn) { - mappings.push({ - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }); - - mapping = this._originalMappings[++index]; - } - } - } - - return mappings; - }; - -exports.SourceMapConsumer = SourceMapConsumer; - -/** - * A BasicSourceMapConsumer instance represents a parsed source map which we can - * query for information about the original file positions by giving it a file - * position in the generated source. - * - * The only parameter is the raw source map (either as a JSON string, or - * already parsed to an object). According to the spec, source maps have the - * following attributes: - * - * - version: Which version of the source map spec this map is following. - * - sources: An array of URLs to the original source files. - * - names: An array of identifiers which can be referrenced by individual mappings. - * - sourceRoot: Optional. The URL root from which all sources are relative. - * - sourcesContent: Optional. An array of contents of the original source files. - * - mappings: A string of base64 VLQs which contain the actual mappings. - * - file: Optional. The generated file this source map is associated with. - * - * Here is an example source map, taken from the source map spec[0]: - * - * { - * version : 3, - * file: "out.js", - * sourceRoot : "", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AA,AB;;ABCDE;" - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# - */ -function BasicSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sources = util.getArg(sourceMap, 'sources'); - // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which - // requires the array) to play nice here. - var names = util.getArg(sourceMap, 'names', []); - var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); - var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); - var mappings = util.getArg(sourceMap, 'mappings'); - var file = util.getArg(sourceMap, 'file', null); - - // Once again, Sass deviates from the spec and supplies the version as a - // string rather than a number, so we use loose equality checking here. - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - sources = sources - .map(String) - // Some source maps produce relative source paths like "./foo.js" instead of - // "foo.js". Normalize these first so that future comparisons will succeed. - // See bugzil.la/1090768. - .map(util.normalize) - // Always ensure that absolute sources are internally stored relative to - // the source root, if the source root is absolute. Not doing this would - // be particularly problematic when the source root is a prefix of the - // source (valid, but why??). See github issue #199 and bugzil.la/1188982. - .map(function (source) { - return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) - ? util.relative(sourceRoot, source) - : source; - }); - - // Pass `true` below to allow duplicate names and sources. While source maps - // are intended to be compressed and deduplicated, the TypeScript compiler - // sometimes generates source maps with duplicates in them. See Github issue - // #72 and bugzil.la/889492. - this._names = ArraySet.fromArray(names.map(String), true); - this._sources = ArraySet.fromArray(sources, true); - - this.sourceRoot = sourceRoot; - this.sourcesContent = sourcesContent; - this._mappings = mappings; - this.file = file; -} - -BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); -BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; - -/** - * Create a BasicSourceMapConsumer from a SourceMapGenerator. - * - * @param SourceMapGenerator aSourceMap - * The source map that will be consumed. - * @returns BasicSourceMapConsumer - */ -BasicSourceMapConsumer.fromSourceMap = - function SourceMapConsumer_fromSourceMap(aSourceMap) { - var smc = Object.create(BasicSourceMapConsumer.prototype); - - var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); - var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); - smc.sourceRoot = aSourceMap._sourceRoot; - smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), - smc.sourceRoot); - smc.file = aSourceMap._file; - - // Because we are modifying the entries (by converting string sources and - // names to indices into the sources and names ArraySets), we have to make - // a copy of the entry or else bad things happen. Shared mutable state - // strikes again! See github issue #191. - - var generatedMappings = aSourceMap._mappings.toArray().slice(); - var destGeneratedMappings = smc.__generatedMappings = []; - var destOriginalMappings = smc.__originalMappings = []; - - for (var i = 0, length = generatedMappings.length; i < length; i++) { - var srcMapping = generatedMappings[i]; - var destMapping = new Mapping; - destMapping.generatedLine = srcMapping.generatedLine; - destMapping.generatedColumn = srcMapping.generatedColumn; - - if (srcMapping.source) { - destMapping.source = sources.indexOf(srcMapping.source); - destMapping.originalLine = srcMapping.originalLine; - destMapping.originalColumn = srcMapping.originalColumn; - - if (srcMapping.name) { - destMapping.name = names.indexOf(srcMapping.name); - } - - destOriginalMappings.push(destMapping); - } - - destGeneratedMappings.push(destMapping); - } - - quickSort(smc.__originalMappings, util.compareByOriginalPositions); - - return smc; - }; - -/** - * The version of the source mapping spec that we are consuming. - */ -BasicSourceMapConsumer.prototype._version = 3; - -/** - * The list of original sources. - */ -Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { - get: function () { - return this._sources.toArray().map(function (s) { - return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; - }, this); - } -}); - -/** - * Provide the JIT with a nice shape / hidden class. - */ -function Mapping() { - this.generatedLine = 0; - this.generatedColumn = 0; - this.source = null; - this.originalLine = null; - this.originalColumn = null; - this.name = null; -} - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -BasicSourceMapConsumer.prototype._parseMappings = - function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { - var generatedLine = 1; - var previousGeneratedColumn = 0; - var previousOriginalLine = 0; - var previousOriginalColumn = 0; - var previousSource = 0; - var previousName = 0; - var length = aStr.length; - var index = 0; - var cachedSegments = {}; - var temp = {}; - var originalMappings = []; - var generatedMappings = []; - var mapping, str, segment, end, value; - - while (index < length) { - if (aStr.charAt(index) === ';') { - generatedLine++; - index++; - previousGeneratedColumn = 0; - } - else if (aStr.charAt(index) === ',') { - index++; - } - else { - mapping = new Mapping(); - mapping.generatedLine = generatedLine; - - // Because each offset is encoded relative to the previous one, - // many segments often have the same encoding. We can exploit this - // fact by caching the parsed variable length fields of each segment, - // allowing us to avoid a second parse if we encounter the same - // segment again. - for (end = index; end < length; end++) { - if (this._charIsMappingSeparator(aStr, end)) { - break; - } - } - str = aStr.slice(index, end); - - segment = cachedSegments[str]; - if (segment) { - index += str.length; - } else { - segment = []; - while (index < end) { - base64VLQ.decode(aStr, index, temp); - value = temp.value; - index = temp.rest; - segment.push(value); - } - - if (segment.length === 2) { - throw new Error('Found a source, but no line and column'); - } - - if (segment.length === 3) { - throw new Error('Found a source and line, but no column'); - } - - cachedSegments[str] = segment; - } - - // Generated column. - mapping.generatedColumn = previousGeneratedColumn + segment[0]; - previousGeneratedColumn = mapping.generatedColumn; - - if (segment.length > 1) { - // Original source. - mapping.source = previousSource + segment[1]; - previousSource += segment[1]; - - // Original line. - mapping.originalLine = previousOriginalLine + segment[2]; - previousOriginalLine = mapping.originalLine; - // Lines are stored 0-based - mapping.originalLine += 1; - - // Original column. - mapping.originalColumn = previousOriginalColumn + segment[3]; - previousOriginalColumn = mapping.originalColumn; - - if (segment.length > 4) { - // Original name. - mapping.name = previousName + segment[4]; - previousName += segment[4]; - } - } - - generatedMappings.push(mapping); - if (typeof mapping.originalLine === 'number') { - originalMappings.push(mapping); - } - } - } - - quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); - this.__generatedMappings = generatedMappings; - - quickSort(originalMappings, util.compareByOriginalPositions); - this.__originalMappings = originalMappings; - }; - -/** - * Find the mapping that best matches the hypothetical "needle" mapping that - * we are searching for in the given "haystack" of mappings. - */ -BasicSourceMapConsumer.prototype._findMapping = - function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, - aColumnName, aComparator, aBias) { - // To return the position we are searching for, we must first find the - // mapping for the given position and then return the opposite position it - // points to. Because the mappings are sorted, we can use binary search to - // find the best mapping. - - if (aNeedle[aLineName] <= 0) { - throw new TypeError('Line must be greater than or equal to 1, got ' - + aNeedle[aLineName]); - } - if (aNeedle[aColumnName] < 0) { - throw new TypeError('Column must be greater than or equal to 0, got ' - + aNeedle[aColumnName]); - } - - return binarySearch.search(aNeedle, aMappings, aComparator, aBias); - }; - -/** - * Compute the last column for each generated mapping. The last column is - * inclusive. - */ -BasicSourceMapConsumer.prototype.computeColumnSpans = - function SourceMapConsumer_computeColumnSpans() { - for (var index = 0; index < this._generatedMappings.length; ++index) { - var mapping = this._generatedMappings[index]; - - // Mappings do not contain a field for the last generated columnt. We - // can come up with an optimistic estimate, however, by assuming that - // mappings are contiguous (i.e. given two consecutive mappings, the - // first mapping ends where the second one starts). - if (index + 1 < this._generatedMappings.length) { - var nextMapping = this._generatedMappings[index + 1]; - - if (mapping.generatedLine === nextMapping.generatedLine) { - mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; - continue; - } - } - - // The last mapping for each line spans the entire line. - mapping.lastGeneratedColumn = Infinity; - } - }; - -/** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ -BasicSourceMapConsumer.prototype.originalPositionFor = - function SourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._generatedMappings, - "generatedLine", - "generatedColumn", - util.compareByGeneratedPositionsDeflated, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._generatedMappings[index]; - - if (mapping.generatedLine === needle.generatedLine) { - var source = util.getArg(mapping, 'source', null); - if (source !== null) { - source = this._sources.at(source); - if (this.sourceRoot != null) { - source = util.join(this.sourceRoot, source); - } - } - var name = util.getArg(mapping, 'name', null); - if (name !== null) { - name = this._names.at(name); - } - return { - source: source, - line: util.getArg(mapping, 'originalLine', null), - column: util.getArg(mapping, 'originalColumn', null), - name: name - }; - } - } - - return { - source: null, - line: null, - column: null, - name: null - }; - }; - -/** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ -BasicSourceMapConsumer.prototype.hasContentsOfAllSources = - function BasicSourceMapConsumer_hasContentsOfAllSources() { - if (!this.sourcesContent) { - return false; - } - return this.sourcesContent.length >= this._sources.size() && - !this.sourcesContent.some(function (sc) { return sc == null; }); - }; - -/** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ -BasicSourceMapConsumer.prototype.sourceContentFor = - function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - if (!this.sourcesContent) { - return null; - } - - if (this.sourceRoot != null) { - aSource = util.relative(this.sourceRoot, aSource); - } - - if (this._sources.has(aSource)) { - return this.sourcesContent[this._sources.indexOf(aSource)]; - } - - var url; - if (this.sourceRoot != null - && (url = util.urlParse(this.sourceRoot))) { - // XXX: file:// URIs and absolute paths lead to unexpected behavior for - // many users. We can help them out when they expect file:// URIs to - // behave like it would if they were running a local HTTP server. See - // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. - var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); - if (url.scheme == "file" - && this._sources.has(fileUriAbsPath)) { - return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] - } - - if ((!url.path || url.path == "/") - && this._sources.has("/" + aSource)) { - return this.sourcesContent[this._sources.indexOf("/" + aSource)]; - } - } - - // This function is used recursively from - // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we - // don't want to throw if we can't find the source - we just want to - // return null, so we provide a flag to exit gracefully. - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - -/** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or - * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the - * closest element that is smaller than or greater than the one we are - * searching for, respectively, if the exact element cannot be found. - * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -BasicSourceMapConsumer.prototype.generatedPositionFor = - function SourceMapConsumer_generatedPositionFor(aArgs) { - var source = util.getArg(aArgs, 'source'); - if (this.sourceRoot != null) { - source = util.relative(this.sourceRoot, source); - } - if (!this._sources.has(source)) { - return { - line: null, - column: null, - lastColumn: null - }; - } - source = this._sources.indexOf(source); - - var needle = { - source: source, - originalLine: util.getArg(aArgs, 'line'), - originalColumn: util.getArg(aArgs, 'column') - }; - - var index = this._findMapping( - needle, - this._originalMappings, - "originalLine", - "originalColumn", - util.compareByOriginalPositions, - util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) - ); - - if (index >= 0) { - var mapping = this._originalMappings[index]; - - if (mapping.source === needle.source) { - return { - line: util.getArg(mapping, 'generatedLine', null), - column: util.getArg(mapping, 'generatedColumn', null), - lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) - }; - } - } - - return { - line: null, - column: null, - lastColumn: null - }; - }; - -exports.BasicSourceMapConsumer = BasicSourceMapConsumer; - -/** - * An IndexedSourceMapConsumer instance represents a parsed source map which - * we can query for information. It differs from BasicSourceMapConsumer in - * that it takes "indexed" source maps (i.e. ones with a "sections" field) as - * input. - * - * The only parameter is a raw source map (either as a JSON string, or already - * parsed to an object). According to the spec for indexed source maps, they - * have the following attributes: - * - * - version: Which version of the source map spec this map is following. - * - file: Optional. The generated file this source map is associated with. - * - sections: A list of section definitions. - * - * Each value under the "sections" field has two fields: - * - offset: The offset into the original specified at which this section - * begins to apply, defined as an object with a "line" and "column" - * field. - * - map: A source map definition. This source map could also be indexed, - * but doesn't have to be. - * - * Instead of the "map" field, it's also possible to have a "url" field - * specifying a URL to retrieve a source map from, but that's currently - * unsupported. - * - * Here's an example source map, taken from the source map spec[0], but - * modified to omit a section which uses the "url" field. - * - * { - * version : 3, - * file: "app.js", - * sections: [{ - * offset: {line:100, column:10}, - * map: { - * version : 3, - * file: "section.js", - * sources: ["foo.js", "bar.js"], - * names: ["src", "maps", "are", "fun"], - * mappings: "AAAA,E;;ABCDE;" - * } - * }], - * } - * - * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt - */ -function IndexedSourceMapConsumer(aSourceMap) { - var sourceMap = aSourceMap; - if (typeof aSourceMap === 'string') { - sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); - } - - var version = util.getArg(sourceMap, 'version'); - var sections = util.getArg(sourceMap, 'sections'); - - if (version != this._version) { - throw new Error('Unsupported version: ' + version); - } - - this._sources = new ArraySet(); - this._names = new ArraySet(); - - var lastOffset = { - line: -1, - column: 0 - }; - this._sections = sections.map(function (s) { - if (s.url) { - // The url field will require support for asynchronicity. - // See https://github.com/mozilla/source-map/issues/16 - throw new Error('Support for url field in sections not implemented.'); - } - var offset = util.getArg(s, 'offset'); - var offsetLine = util.getArg(offset, 'line'); - var offsetColumn = util.getArg(offset, 'column'); - - if (offsetLine < lastOffset.line || - (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { - throw new Error('Section offsets must be ordered and non-overlapping.'); - } - lastOffset = offset; - - return { - generatedOffset: { - // The offset fields are 0-based, but we use 1-based indices when - // encoding/decoding from VLQ. - generatedLine: offsetLine + 1, - generatedColumn: offsetColumn + 1 - }, - consumer: new SourceMapConsumer(util.getArg(s, 'map')) - } - }); -} - -IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); -IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; - -/** - * The version of the source mapping spec that we are consuming. - */ -IndexedSourceMapConsumer.prototype._version = 3; - -/** - * The list of original sources. - */ -Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { - get: function () { - var sources = []; - for (var i = 0; i < this._sections.length; i++) { - for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { - sources.push(this._sections[i].consumer.sources[j]); - } - } - return sources; - } -}); - -/** - * Returns the original source, line, and column information for the generated - * source's line and column positions provided. The only argument is an object - * with the following properties: - * - * - line: The line number in the generated source. - * - column: The column number in the generated source. - * - * and an object is returned with the following properties: - * - * - source: The original source file, or null. - * - line: The line number in the original source, or null. - * - column: The column number in the original source, or null. - * - name: The original identifier, or null. - */ -IndexedSourceMapConsumer.prototype.originalPositionFor = - function IndexedSourceMapConsumer_originalPositionFor(aArgs) { - var needle = { - generatedLine: util.getArg(aArgs, 'line'), - generatedColumn: util.getArg(aArgs, 'column') - }; - - // Find the section containing the generated position we're trying to map - // to an original position. - var sectionIndex = binarySearch.search(needle, this._sections, - function(needle, section) { - var cmp = needle.generatedLine - section.generatedOffset.generatedLine; - if (cmp) { - return cmp; - } - - return (needle.generatedColumn - - section.generatedOffset.generatedColumn); - }); - var section = this._sections[sectionIndex]; - - if (!section) { - return { - source: null, - line: null, - column: null, - name: null - }; - } - - return section.consumer.originalPositionFor({ - line: needle.generatedLine - - (section.generatedOffset.generatedLine - 1), - column: needle.generatedColumn - - (section.generatedOffset.generatedLine === needle.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - bias: aArgs.bias - }); - }; - -/** - * Return true if we have the source content for every source in the source - * map, false otherwise. - */ -IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = - function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function (s) { - return s.consumer.hasContentsOfAllSources(); - }); - }; - -/** - * Returns the original source content. The only argument is the url of the - * original source file. Returns null if no original source content is - * available. - */ -IndexedSourceMapConsumer.prototype.sourceContentFor = - function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - var content = section.consumer.sourceContentFor(aSource, true); - if (content) { - return content; - } - } - if (nullOnMissing) { - return null; - } - else { - throw new Error('"' + aSource + '" is not in the SourceMap.'); - } - }; - -/** - * Returns the generated line and column information for the original source, - * line, and column positions provided. The only argument is an object with - * the following properties: - * - * - source: The filename of the original source. - * - line: The line number in the original source. - * - column: The column number in the original source. - * - * and an object is returned with the following properties: - * - * - line: The line number in the generated source, or null. - * - column: The column number in the generated source, or null. - */ -IndexedSourceMapConsumer.prototype.generatedPositionFor = - function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - - // Only consider this section if the requested source is in the list of - // sources of the consumer. - if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { - continue; - } - var generatedPosition = section.consumer.generatedPositionFor(aArgs); - if (generatedPosition) { - var ret = { - line: generatedPosition.line + - (section.generatedOffset.generatedLine - 1), - column: generatedPosition.column + - (section.generatedOffset.generatedLine === generatedPosition.line - ? section.generatedOffset.generatedColumn - 1 - : 0) - }; - return ret; - } - } - - return { - line: null, - column: null - }; - }; - -/** - * Parse the mappings in a string in to a data structure which we can easily - * query (the ordered arrays in the `this.__generatedMappings` and - * `this.__originalMappings` properties). - */ -IndexedSourceMapConsumer.prototype._parseMappings = - function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { - this.__generatedMappings = []; - this.__originalMappings = []; - for (var i = 0; i < this._sections.length; i++) { - var section = this._sections[i]; - var sectionMappings = section.consumer._generatedMappings; - for (var j = 0; j < sectionMappings.length; j++) { - var mapping = sectionMappings[j]; - - var source = section.consumer._sources.at(mapping.source); - if (section.consumer.sourceRoot !== null) { - source = util.join(section.consumer.sourceRoot, source); - } - this._sources.add(source); - source = this._sources.indexOf(source); - - var name = section.consumer._names.at(mapping.name); - this._names.add(name); - name = this._names.indexOf(name); - - // The mappings coming from the consumer for the section have - // generated positions relative to the start of the section, so we - // need to offset them to be relative to the start of the concatenated - // generated file. - var adjustedMapping = { - source: source, - generatedLine: mapping.generatedLine + - (section.generatedOffset.generatedLine - 1), - generatedColumn: mapping.generatedColumn + - (section.generatedOffset.generatedLine === mapping.generatedLine - ? section.generatedOffset.generatedColumn - 1 - : 0), - originalLine: mapping.originalLine, - originalColumn: mapping.originalColumn, - name: name - }; - - this.__generatedMappings.push(adjustedMapping); - if (typeof adjustedMapping.originalLine === 'number') { - this.__originalMappings.push(adjustedMapping); - } - } - } - - quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); - quickSort(this.__originalMappings, util.compareByOriginalPositions); - }; - -exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js b/node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js deleted file mode 100644 index aff1e7f..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/source-map-generator.js +++ /dev/null @@ -1,416 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var base64VLQ = require('./base64-vlq'); -var util = require('./util'); -var ArraySet = require('./array-set').ArraySet; -var MappingList = require('./mapping-list').MappingList; - -/** - * An instance of the SourceMapGenerator represents a source map which is - * being built incrementally. You may pass an object with the following - * properties: - * - * - file: The filename of the generated source. - * - sourceRoot: A root for all relative URLs in this source map. - */ -function SourceMapGenerator(aArgs) { - if (!aArgs) { - aArgs = {}; - } - this._file = util.getArg(aArgs, 'file', null); - this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); - this._skipValidation = util.getArg(aArgs, 'skipValidation', false); - this._sources = new ArraySet(); - this._names = new ArraySet(); - this._mappings = new MappingList(); - this._sourcesContents = null; -} - -SourceMapGenerator.prototype._version = 3; - -/** - * Creates a new SourceMapGenerator based on a SourceMapConsumer - * - * @param aSourceMapConsumer The SourceMap. - */ -SourceMapGenerator.fromSourceMap = - function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { - var sourceRoot = aSourceMapConsumer.sourceRoot; - var generator = new SourceMapGenerator({ - file: aSourceMapConsumer.file, - sourceRoot: sourceRoot - }); - aSourceMapConsumer.eachMapping(function (mapping) { - var newMapping = { - generated: { - line: mapping.generatedLine, - column: mapping.generatedColumn - } - }; - - if (mapping.source != null) { - newMapping.source = mapping.source; - if (sourceRoot != null) { - newMapping.source = util.relative(sourceRoot, newMapping.source); - } - - newMapping.original = { - line: mapping.originalLine, - column: mapping.originalColumn - }; - - if (mapping.name != null) { - newMapping.name = mapping.name; - } - } - - generator.addMapping(newMapping); - }); - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - generator.setSourceContent(sourceFile, content); - } - }); - return generator; - }; - -/** - * Add a single mapping from original source line and column to the generated - * source's line and column for this source map being created. The mapping - * object should have the following properties: - * - * - generated: An object with the generated line and column positions. - * - original: An object with the original line and column positions. - * - source: The original source file (relative to the sourceRoot). - * - name: An optional original token name for this mapping. - */ -SourceMapGenerator.prototype.addMapping = - function SourceMapGenerator_addMapping(aArgs) { - var generated = util.getArg(aArgs, 'generated'); - var original = util.getArg(aArgs, 'original', null); - var source = util.getArg(aArgs, 'source', null); - var name = util.getArg(aArgs, 'name', null); - - if (!this._skipValidation) { - this._validateMapping(generated, original, source, name); - } - - if (source != null) { - source = String(source); - if (!this._sources.has(source)) { - this._sources.add(source); - } - } - - if (name != null) { - name = String(name); - if (!this._names.has(name)) { - this._names.add(name); - } - } - - this._mappings.add({ - generatedLine: generated.line, - generatedColumn: generated.column, - originalLine: original != null && original.line, - originalColumn: original != null && original.column, - source: source, - name: name - }); - }; - -/** - * Set the source content for a source file. - */ -SourceMapGenerator.prototype.setSourceContent = - function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { - var source = aSourceFile; - if (this._sourceRoot != null) { - source = util.relative(this._sourceRoot, source); - } - - if (aSourceContent != null) { - // Add the source content to the _sourcesContents map. - // Create a new _sourcesContents map if the property is null. - if (!this._sourcesContents) { - this._sourcesContents = Object.create(null); - } - this._sourcesContents[util.toSetString(source)] = aSourceContent; - } else if (this._sourcesContents) { - // Remove the source file from the _sourcesContents map. - // If the _sourcesContents map is empty, set the property to null. - delete this._sourcesContents[util.toSetString(source)]; - if (Object.keys(this._sourcesContents).length === 0) { - this._sourcesContents = null; - } - } - }; - -/** - * Applies the mappings of a sub-source-map for a specific source file to the - * source map being generated. Each mapping to the supplied source file is - * rewritten using the supplied source map. Note: The resolution for the - * resulting mappings is the minimium of this map and the supplied map. - * - * @param aSourceMapConsumer The source map to be applied. - * @param aSourceFile Optional. The filename of the source file. - * If omitted, SourceMapConsumer's file property will be used. - * @param aSourceMapPath Optional. The dirname of the path to the source map - * to be applied. If relative, it is relative to the SourceMapConsumer. - * This parameter is needed when the two source maps aren't in the same - * directory, and the source map to be applied contains relative source - * paths. If so, those relative source paths need to be rewritten - * relative to the SourceMapGenerator. - */ -SourceMapGenerator.prototype.applySourceMap = - function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { - var sourceFile = aSourceFile; - // If aSourceFile is omitted, we will use the file property of the SourceMap - if (aSourceFile == null) { - if (aSourceMapConsumer.file == null) { - throw new Error( - 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + - 'or the source map\'s "file" property. Both were omitted.' - ); - } - sourceFile = aSourceMapConsumer.file; - } - var sourceRoot = this._sourceRoot; - // Make "sourceFile" relative if an absolute Url is passed. - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - // Applying the SourceMap can add and remove items from the sources and - // the names array. - var newSources = new ArraySet(); - var newNames = new ArraySet(); - - // Find mappings for the "sourceFile" - this._mappings.unsortedForEach(function (mapping) { - if (mapping.source === sourceFile && mapping.originalLine != null) { - // Check if it can be mapped by the source map, then update the mapping. - var original = aSourceMapConsumer.originalPositionFor({ - line: mapping.originalLine, - column: mapping.originalColumn - }); - if (original.source != null) { - // Copy mapping - mapping.source = original.source; - if (aSourceMapPath != null) { - mapping.source = util.join(aSourceMapPath, mapping.source) - } - if (sourceRoot != null) { - mapping.source = util.relative(sourceRoot, mapping.source); - } - mapping.originalLine = original.line; - mapping.originalColumn = original.column; - if (original.name != null) { - mapping.name = original.name; - } - } - } - - var source = mapping.source; - if (source != null && !newSources.has(source)) { - newSources.add(source); - } - - var name = mapping.name; - if (name != null && !newNames.has(name)) { - newNames.add(name); - } - - }, this); - this._sources = newSources; - this._names = newNames; - - // Copy sourcesContents of applied map. - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aSourceMapPath != null) { - sourceFile = util.join(aSourceMapPath, sourceFile); - } - if (sourceRoot != null) { - sourceFile = util.relative(sourceRoot, sourceFile); - } - this.setSourceContent(sourceFile, content); - } - }, this); - }; - -/** - * A mapping can have one of the three levels of data: - * - * 1. Just the generated position. - * 2. The Generated position, original position, and original source. - * 3. Generated and original position, original source, as well as a name - * token. - * - * To maintain consistency, we validate that any new mapping being added falls - * in to one of these categories. - */ -SourceMapGenerator.prototype._validateMapping = - function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, - aName) { - // When aOriginal is truthy but has empty values for .line and .column, - // it is most likely a programmer error. In this case we throw a very - // specific error message to try to guide them the right way. - // For example: https://github.com/Polymer/polymer-bundler/pull/519 - if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') { - throw new Error( - 'original.line and original.column are not numbers -- you probably meant to omit ' + - 'the original mapping entirely and only map the generated position. If so, pass ' + - 'null for the original mapping instead of an object with empty or null values.' - ); - } - - if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aGenerated.line > 0 && aGenerated.column >= 0 - && !aOriginal && !aSource && !aName) { - // Case 1. - return; - } - else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated - && aOriginal && 'line' in aOriginal && 'column' in aOriginal - && aGenerated.line > 0 && aGenerated.column >= 0 - && aOriginal.line > 0 && aOriginal.column >= 0 - && aSource) { - // Cases 2 and 3. - return; - } - else { - throw new Error('Invalid mapping: ' + JSON.stringify({ - generated: aGenerated, - source: aSource, - original: aOriginal, - name: aName - })); - } - }; - -/** - * Serialize the accumulated mappings in to the stream of base 64 VLQs - * specified by the source map format. - */ -SourceMapGenerator.prototype._serializeMappings = - function SourceMapGenerator_serializeMappings() { - var previousGeneratedColumn = 0; - var previousGeneratedLine = 1; - var previousOriginalColumn = 0; - var previousOriginalLine = 0; - var previousName = 0; - var previousSource = 0; - var result = ''; - var next; - var mapping; - var nameIdx; - var sourceIdx; - - var mappings = this._mappings.toArray(); - for (var i = 0, len = mappings.length; i < len; i++) { - mapping = mappings[i]; - next = '' - - if (mapping.generatedLine !== previousGeneratedLine) { - previousGeneratedColumn = 0; - while (mapping.generatedLine !== previousGeneratedLine) { - next += ';'; - previousGeneratedLine++; - } - } - else { - if (i > 0) { - if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { - continue; - } - next += ','; - } - } - - next += base64VLQ.encode(mapping.generatedColumn - - previousGeneratedColumn); - previousGeneratedColumn = mapping.generatedColumn; - - if (mapping.source != null) { - sourceIdx = this._sources.indexOf(mapping.source); - next += base64VLQ.encode(sourceIdx - previousSource); - previousSource = sourceIdx; - - // lines are stored 0-based in SourceMap spec version 3 - next += base64VLQ.encode(mapping.originalLine - 1 - - previousOriginalLine); - previousOriginalLine = mapping.originalLine - 1; - - next += base64VLQ.encode(mapping.originalColumn - - previousOriginalColumn); - previousOriginalColumn = mapping.originalColumn; - - if (mapping.name != null) { - nameIdx = this._names.indexOf(mapping.name); - next += base64VLQ.encode(nameIdx - previousName); - previousName = nameIdx; - } - } - - result += next; - } - - return result; - }; - -SourceMapGenerator.prototype._generateSourcesContent = - function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { - return aSources.map(function (source) { - if (!this._sourcesContents) { - return null; - } - if (aSourceRoot != null) { - source = util.relative(aSourceRoot, source); - } - var key = util.toSetString(source); - return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) - ? this._sourcesContents[key] - : null; - }, this); - }; - -/** - * Externalize the source map. - */ -SourceMapGenerator.prototype.toJSON = - function SourceMapGenerator_toJSON() { - var map = { - version: this._version, - sources: this._sources.toArray(), - names: this._names.toArray(), - mappings: this._serializeMappings() - }; - if (this._file != null) { - map.file = this._file; - } - if (this._sourceRoot != null) { - map.sourceRoot = this._sourceRoot; - } - if (this._sourcesContents) { - map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); - } - - return map; - }; - -/** - * Render the source map being generated to a string. - */ -SourceMapGenerator.prototype.toString = - function SourceMapGenerator_toString() { - return JSON.stringify(this.toJSON()); - }; - -exports.SourceMapGenerator = SourceMapGenerator; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/source-node.js b/node_modules/@babel/generator/node_modules/source-map/lib/source-node.js deleted file mode 100644 index d196a53..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/source-node.js +++ /dev/null @@ -1,413 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator; -var util = require('./util'); - -// Matches a Windows-style `\r\n` newline or a `\n` newline used by all other -// operating systems these days (capturing the result). -var REGEX_NEWLINE = /(\r?\n)/; - -// Newline character code for charCodeAt() comparisons -var NEWLINE_CODE = 10; - -// Private symbol for identifying `SourceNode`s when multiple versions of -// the source-map library are loaded. This MUST NOT CHANGE across -// versions! -var isSourceNode = "$$$isSourceNode$$$"; - -/** - * SourceNodes provide a way to abstract over interpolating/concatenating - * snippets of generated JavaScript source code while maintaining the line and - * column information associated with the original source code. - * - * @param aLine The original line number. - * @param aColumn The original column number. - * @param aSource The original source's filename. - * @param aChunks Optional. An array of strings which are snippets of - * generated JS, or other SourceNodes. - * @param aName The original identifier. - */ -function SourceNode(aLine, aColumn, aSource, aChunks, aName) { - this.children = []; - this.sourceContents = {}; - this.line = aLine == null ? null : aLine; - this.column = aColumn == null ? null : aColumn; - this.source = aSource == null ? null : aSource; - this.name = aName == null ? null : aName; - this[isSourceNode] = true; - if (aChunks != null) this.add(aChunks); -} - -/** - * Creates a SourceNode from generated code and a SourceMapConsumer. - * - * @param aGeneratedCode The generated code - * @param aSourceMapConsumer The SourceMap for the generated code - * @param aRelativePath Optional. The path that relative sources in the - * SourceMapConsumer should be relative to. - */ -SourceNode.fromStringWithSourceMap = - function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { - // The SourceNode we want to fill with the generated code - // and the SourceMap - var node = new SourceNode(); - - // All even indices of this array are one line of the generated code, - // while all odd indices are the newlines between two adjacent lines - // (since `REGEX_NEWLINE` captures its match). - // Processed fragments are accessed by calling `shiftNextLine`. - var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); - var remainingLinesIndex = 0; - var shiftNextLine = function() { - var lineContents = getNextLine(); - // The last line of a file might not have a newline. - var newLine = getNextLine() || ""; - return lineContents + newLine; - - function getNextLine() { - return remainingLinesIndex < remainingLines.length ? - remainingLines[remainingLinesIndex++] : undefined; - } - }; - - // We need to remember the position of "remainingLines" - var lastGeneratedLine = 1, lastGeneratedColumn = 0; - - // The generate SourceNodes we need a code range. - // To extract it current and last mapping is used. - // Here we store the last mapping. - var lastMapping = null; - - aSourceMapConsumer.eachMapping(function (mapping) { - if (lastMapping !== null) { - // We add the code from "lastMapping" to "mapping": - // First check if there is a new line in between. - if (lastGeneratedLine < mapping.generatedLine) { - // Associate first line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - lastGeneratedLine++; - lastGeneratedColumn = 0; - // The remaining code is added without mapping - } else { - // There is no new line in between. - // Associate the code between "lastGeneratedColumn" and - // "mapping.generatedColumn" with "lastMapping" - var nextLine = remainingLines[remainingLinesIndex]; - var code = nextLine.substr(0, mapping.generatedColumn - - lastGeneratedColumn); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - - lastGeneratedColumn); - lastGeneratedColumn = mapping.generatedColumn; - addMappingWithCode(lastMapping, code); - // No more remaining code, continue - lastMapping = mapping; - return; - } - } - // We add the generated code until the first mapping - // to the SourceNode without any mapping. - // Each line is added as separate string. - while (lastGeneratedLine < mapping.generatedLine) { - node.add(shiftNextLine()); - lastGeneratedLine++; - } - if (lastGeneratedColumn < mapping.generatedColumn) { - var nextLine = remainingLines[remainingLinesIndex]; - node.add(nextLine.substr(0, mapping.generatedColumn)); - remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn); - lastGeneratedColumn = mapping.generatedColumn; - } - lastMapping = mapping; - }, this); - // We have processed all mappings. - if (remainingLinesIndex < remainingLines.length) { - if (lastMapping) { - // Associate the remaining code in the current line with "lastMapping" - addMappingWithCode(lastMapping, shiftNextLine()); - } - // and add the remaining lines without any mapping - node.add(remainingLines.splice(remainingLinesIndex).join("")); - } - - // Copy sourcesContent into SourceNode - aSourceMapConsumer.sources.forEach(function (sourceFile) { - var content = aSourceMapConsumer.sourceContentFor(sourceFile); - if (content != null) { - if (aRelativePath != null) { - sourceFile = util.join(aRelativePath, sourceFile); - } - node.setSourceContent(sourceFile, content); - } - }); - - return node; - - function addMappingWithCode(mapping, code) { - if (mapping === null || mapping.source === undefined) { - node.add(code); - } else { - var source = aRelativePath - ? util.join(aRelativePath, mapping.source) - : mapping.source; - node.add(new SourceNode(mapping.originalLine, - mapping.originalColumn, - source, - code, - mapping.name)); - } - } - }; - -/** - * Add a chunk of generated JS to this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ -SourceNode.prototype.add = function SourceNode_add(aChunk) { - if (Array.isArray(aChunk)) { - aChunk.forEach(function (chunk) { - this.add(chunk); - }, this); - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - if (aChunk) { - this.children.push(aChunk); - } - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; -}; - -/** - * Add a chunk of generated JS to the beginning of this source node. - * - * @param aChunk A string snippet of generated JS code, another instance of - * SourceNode, or an array where each member is one of those things. - */ -SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { - if (Array.isArray(aChunk)) { - for (var i = aChunk.length-1; i >= 0; i--) { - this.prepend(aChunk[i]); - } - } - else if (aChunk[isSourceNode] || typeof aChunk === "string") { - this.children.unshift(aChunk); - } - else { - throw new TypeError( - "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk - ); - } - return this; -}; - -/** - * Walk over the tree of JS snippets in this node and its children. The - * walking function is called once for each snippet of JS and is passed that - * snippet and the its original associated source's line/column location. - * - * @param aFn The traversal function. - */ -SourceNode.prototype.walk = function SourceNode_walk(aFn) { - var chunk; - for (var i = 0, len = this.children.length; i < len; i++) { - chunk = this.children[i]; - if (chunk[isSourceNode]) { - chunk.walk(aFn); - } - else { - if (chunk !== '') { - aFn(chunk, { source: this.source, - line: this.line, - column: this.column, - name: this.name }); - } - } - } -}; - -/** - * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between - * each of `this.children`. - * - * @param aSep The separator. - */ -SourceNode.prototype.join = function SourceNode_join(aSep) { - var newChildren; - var i; - var len = this.children.length; - if (len > 0) { - newChildren = []; - for (i = 0; i < len-1; i++) { - newChildren.push(this.children[i]); - newChildren.push(aSep); - } - newChildren.push(this.children[i]); - this.children = newChildren; - } - return this; -}; - -/** - * Call String.prototype.replace on the very right-most source snippet. Useful - * for trimming whitespace from the end of a source node, etc. - * - * @param aPattern The pattern to replace. - * @param aReplacement The thing to replace the pattern with. - */ -SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { - var lastChild = this.children[this.children.length - 1]; - if (lastChild[isSourceNode]) { - lastChild.replaceRight(aPattern, aReplacement); - } - else if (typeof lastChild === 'string') { - this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); - } - else { - this.children.push(''.replace(aPattern, aReplacement)); - } - return this; -}; - -/** - * Set the source content for a source file. This will be added to the SourceMapGenerator - * in the sourcesContent field. - * - * @param aSourceFile The filename of the source file - * @param aSourceContent The content of the source file - */ -SourceNode.prototype.setSourceContent = - function SourceNode_setSourceContent(aSourceFile, aSourceContent) { - this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; - }; - -/** - * Walk over the tree of SourceNodes. The walking function is called for each - * source file content and is passed the filename and source content. - * - * @param aFn The traversal function. - */ -SourceNode.prototype.walkSourceContents = - function SourceNode_walkSourceContents(aFn) { - for (var i = 0, len = this.children.length; i < len; i++) { - if (this.children[i][isSourceNode]) { - this.children[i].walkSourceContents(aFn); - } - } - - var sources = Object.keys(this.sourceContents); - for (var i = 0, len = sources.length; i < len; i++) { - aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); - } - }; - -/** - * Return the string representation of this source node. Walks over the tree - * and concatenates all the various snippets together to one string. - */ -SourceNode.prototype.toString = function SourceNode_toString() { - var str = ""; - this.walk(function (chunk) { - str += chunk; - }); - return str; -}; - -/** - * Returns the string representation of this source node along with a source - * map. - */ -SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { - var generated = { - code: "", - line: 1, - column: 0 - }; - var map = new SourceMapGenerator(aArgs); - var sourceMappingActive = false; - var lastOriginalSource = null; - var lastOriginalLine = null; - var lastOriginalColumn = null; - var lastOriginalName = null; - this.walk(function (chunk, original) { - generated.code += chunk; - if (original.source !== null - && original.line !== null - && original.column !== null) { - if(lastOriginalSource !== original.source - || lastOriginalLine !== original.line - || lastOriginalColumn !== original.column - || lastOriginalName !== original.name) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - lastOriginalSource = original.source; - lastOriginalLine = original.line; - lastOriginalColumn = original.column; - lastOriginalName = original.name; - sourceMappingActive = true; - } else if (sourceMappingActive) { - map.addMapping({ - generated: { - line: generated.line, - column: generated.column - } - }); - lastOriginalSource = null; - sourceMappingActive = false; - } - for (var idx = 0, length = chunk.length; idx < length; idx++) { - if (chunk.charCodeAt(idx) === NEWLINE_CODE) { - generated.line++; - generated.column = 0; - // Mappings end at eol - if (idx + 1 === length) { - lastOriginalSource = null; - sourceMappingActive = false; - } else if (sourceMappingActive) { - map.addMapping({ - source: original.source, - original: { - line: original.line, - column: original.column - }, - generated: { - line: generated.line, - column: generated.column - }, - name: original.name - }); - } - } else { - generated.column++; - } - } - }); - this.walkSourceContents(function (sourceFile, sourceContent) { - map.setSourceContent(sourceFile, sourceContent); - }); - - return { code: generated.code, map: map }; -}; - -exports.SourceNode = SourceNode; diff --git a/node_modules/@babel/generator/node_modules/source-map/lib/util.js b/node_modules/@babel/generator/node_modules/source-map/lib/util.js deleted file mode 100644 index 44e0e45..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/lib/util.js +++ /dev/null @@ -1,417 +0,0 @@ -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -/** - * This is a helper function for getting values from parameter/options - * objects. - * - * @param args The object we are extracting values from - * @param name The name of the property we are getting. - * @param defaultValue An optional value to return if the property is missing - * from the object. If this is not specified and the property is missing, an - * error will be thrown. - */ -function getArg(aArgs, aName, aDefaultValue) { - if (aName in aArgs) { - return aArgs[aName]; - } else if (arguments.length === 3) { - return aDefaultValue; - } else { - throw new Error('"' + aName + '" is a required argument.'); - } -} -exports.getArg = getArg; - -var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; -var dataUrlRegexp = /^data:.+\,.+$/; - -function urlParse(aUrl) { - var match = aUrl.match(urlRegexp); - if (!match) { - return null; - } - return { - scheme: match[1], - auth: match[2], - host: match[3], - port: match[4], - path: match[5] - }; -} -exports.urlParse = urlParse; - -function urlGenerate(aParsedUrl) { - var url = ''; - if (aParsedUrl.scheme) { - url += aParsedUrl.scheme + ':'; - } - url += '//'; - if (aParsedUrl.auth) { - url += aParsedUrl.auth + '@'; - } - if (aParsedUrl.host) { - url += aParsedUrl.host; - } - if (aParsedUrl.port) { - url += ":" + aParsedUrl.port - } - if (aParsedUrl.path) { - url += aParsedUrl.path; - } - return url; -} -exports.urlGenerate = urlGenerate; - -/** - * Normalizes a path, or the path portion of a URL: - * - * - Replaces consecutive slashes with one slash. - * - Removes unnecessary '.' parts. - * - Removes unnecessary '/..' parts. - * - * Based on code in the Node.js 'path' core module. - * - * @param aPath The path or url to normalize. - */ -function normalize(aPath) { - var path = aPath; - var url = urlParse(aPath); - if (url) { - if (!url.path) { - return aPath; - } - path = url.path; - } - var isAbsolute = exports.isAbsolute(path); - - var parts = path.split(/\/+/); - for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { - part = parts[i]; - if (part === '.') { - parts.splice(i, 1); - } else if (part === '..') { - up++; - } else if (up > 0) { - if (part === '') { - // The first part is blank if the path is absolute. Trying to go - // above the root is a no-op. Therefore we can remove all '..' parts - // directly after the root. - parts.splice(i + 1, up); - up = 0; - } else { - parts.splice(i, 2); - up--; - } - } - } - path = parts.join('/'); - - if (path === '') { - path = isAbsolute ? '/' : '.'; - } - - if (url) { - url.path = path; - return urlGenerate(url); - } - return path; -} -exports.normalize = normalize; - -/** - * Joins two paths/URLs. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be joined with the root. - * - * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a - * scheme-relative URL: Then the scheme of aRoot, if any, is prepended - * first. - * - Otherwise aPath is a path. If aRoot is a URL, then its path portion - * is updated with the result and aRoot is returned. Otherwise the result - * is returned. - * - If aPath is absolute, the result is aPath. - * - Otherwise the two paths are joined with a slash. - * - Joining for example 'http://' and 'www.example.com' is also supported. - */ -function join(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - if (aPath === "") { - aPath = "."; - } - var aPathUrl = urlParse(aPath); - var aRootUrl = urlParse(aRoot); - if (aRootUrl) { - aRoot = aRootUrl.path || '/'; - } - - // `join(foo, '//www.example.org')` - if (aPathUrl && !aPathUrl.scheme) { - if (aRootUrl) { - aPathUrl.scheme = aRootUrl.scheme; - } - return urlGenerate(aPathUrl); - } - - if (aPathUrl || aPath.match(dataUrlRegexp)) { - return aPath; - } - - // `join('http://', 'www.example.com')` - if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { - aRootUrl.host = aPath; - return urlGenerate(aRootUrl); - } - - var joined = aPath.charAt(0) === '/' - ? aPath - : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); - - if (aRootUrl) { - aRootUrl.path = joined; - return urlGenerate(aRootUrl); - } - return joined; -} -exports.join = join; - -exports.isAbsolute = function (aPath) { - return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); -}; - -/** - * Make a path relative to a URL or another path. - * - * @param aRoot The root path or URL. - * @param aPath The path or URL to be made relative to aRoot. - */ -function relative(aRoot, aPath) { - if (aRoot === "") { - aRoot = "."; - } - - aRoot = aRoot.replace(/\/$/, ''); - - // It is possible for the path to be above the root. In this case, simply - // checking whether the root is a prefix of the path won't work. Instead, we - // need to remove components from the root one by one, until either we find - // a prefix that fits, or we run out of components to remove. - var level = 0; - while (aPath.indexOf(aRoot + '/') !== 0) { - var index = aRoot.lastIndexOf("/"); - if (index < 0) { - return aPath; - } - - // If the only part of the root that is left is the scheme (i.e. http://, - // file:///, etc.), one or more slashes (/), or simply nothing at all, we - // have exhausted all components, so the path is not relative to the root. - aRoot = aRoot.slice(0, index); - if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { - return aPath; - } - - ++level; - } - - // Make sure we add a "../" for each component we removed from the root. - return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); -} -exports.relative = relative; - -var supportsNullProto = (function () { - var obj = Object.create(null); - return !('__proto__' in obj); -}()); - -function identity (s) { - return s; -} - -/** - * Because behavior goes wacky when you set `__proto__` on objects, we - * have to prefix all the strings in our set with an arbitrary character. - * - * See https://github.com/mozilla/source-map/pull/31 and - * https://github.com/mozilla/source-map/issues/30 - * - * @param String aStr - */ -function toSetString(aStr) { - if (isProtoString(aStr)) { - return '$' + aStr; - } - - return aStr; -} -exports.toSetString = supportsNullProto ? identity : toSetString; - -function fromSetString(aStr) { - if (isProtoString(aStr)) { - return aStr.slice(1); - } - - return aStr; -} -exports.fromSetString = supportsNullProto ? identity : fromSetString; - -function isProtoString(s) { - if (!s) { - return false; - } - - var length = s.length; - - if (length < 9 /* "__proto__".length */) { - return false; - } - - if (s.charCodeAt(length - 1) !== 95 /* '_' */ || - s.charCodeAt(length - 2) !== 95 /* '_' */ || - s.charCodeAt(length - 3) !== 111 /* 'o' */ || - s.charCodeAt(length - 4) !== 116 /* 't' */ || - s.charCodeAt(length - 5) !== 111 /* 'o' */ || - s.charCodeAt(length - 6) !== 114 /* 'r' */ || - s.charCodeAt(length - 7) !== 112 /* 'p' */ || - s.charCodeAt(length - 8) !== 95 /* '_' */ || - s.charCodeAt(length - 9) !== 95 /* '_' */) { - return false; - } - - for (var i = length - 10; i >= 0; i--) { - if (s.charCodeAt(i) !== 36 /* '$' */) { - return false; - } - } - - return true; -} - -/** - * Comparator between two mappings where the original positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same original source/line/column, but different generated - * line and column the same. Useful when searching for a mapping with a - * stubbed out mapping. - */ -function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { - var cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0 || onlyCompareOriginal) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; -} -exports.compareByOriginalPositions = compareByOriginalPositions; - -/** - * Comparator between two mappings with deflated source and name indices where - * the generated positions are compared. - * - * Optionally pass in `true` as `onlyCompareGenerated` to consider two - * mappings with the same generated line and column, but different - * source/name/original line and column the same. Useful when searching for a - * mapping with a stubbed out mapping. - */ -function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0 || onlyCompareGenerated) { - return cmp; - } - - cmp = mappingA.source - mappingB.source; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return mappingA.name - mappingB.name; -} -exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; - -function strcmp(aStr1, aStr2) { - if (aStr1 === aStr2) { - return 0; - } - - if (aStr1 > aStr2) { - return 1; - } - - return -1; -} - -/** - * Comparator between two mappings with inflated source and name strings where - * the generated positions are compared. - */ -function compareByGeneratedPositionsInflated(mappingA, mappingB) { - var cmp = mappingA.generatedLine - mappingB.generatedLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.generatedColumn - mappingB.generatedColumn; - if (cmp !== 0) { - return cmp; - } - - cmp = strcmp(mappingA.source, mappingB.source); - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalLine - mappingB.originalLine; - if (cmp !== 0) { - return cmp; - } - - cmp = mappingA.originalColumn - mappingB.originalColumn; - if (cmp !== 0) { - return cmp; - } - - return strcmp(mappingA.name, mappingB.name); -} -exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; diff --git a/node_modules/@babel/generator/node_modules/source-map/package.json b/node_modules/@babel/generator/node_modules/source-map/package.json deleted file mode 100644 index 048e3ae..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "source-map", - "description": "Generates and consumes source maps", - "version": "0.5.7", - "homepage": "https://github.com/mozilla/source-map", - "author": "Nick Fitzgerald ", - "contributors": [ - "Tobias Koppers ", - "Duncan Beevers ", - "Stephen Crane ", - "Ryan Seddon ", - "Miles Elam ", - "Mihai Bazon ", - "Michael Ficarra ", - "Todd Wolfson ", - "Alexander Solovyov ", - "Felix Gnass ", - "Conrad Irwin ", - "usrbincc ", - "David Glasser ", - "Chase Douglas ", - "Evan Wallace ", - "Heather Arthur ", - "Hugh Kennedy ", - "David Glasser ", - "Simon Lydell ", - "Jmeas Smith ", - "Michael Z Goddard ", - "azu ", - "John Gozde ", - "Adam Kirkton ", - "Chris Montgomery ", - "J. Ryan Stinnett ", - "Jack Herrington ", - "Chris Truter ", - "Daniel Espeset ", - "Jamie Wong ", - "Eddy Bruël ", - "Hawken Rives ", - "Gilad Peleg ", - "djchie ", - "Gary Ye ", - "Nicolas Lalevée " - ], - "repository": { - "type": "git", - "url": "http://github.com/mozilla/source-map.git" - }, - "main": "./source-map.js", - "files": [ - "source-map.js", - "lib/", - "dist/source-map.debug.js", - "dist/source-map.js", - "dist/source-map.min.js", - "dist/source-map.min.js.map" - ], - "engines": { - "node": ">=0.10.0" - }, - "license": "BSD-3-Clause", - "scripts": { - "test": "npm run build && node test/run-tests.js", - "build": "webpack --color", - "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" - }, - "devDependencies": { - "doctoc": "^0.15.0", - "webpack": "^1.12.0" - }, - "typings": "source-map" -} diff --git a/node_modules/@babel/generator/node_modules/source-map/source-map.js b/node_modules/@babel/generator/node_modules/source-map/source-map.js deleted file mode 100644 index bc88fe8..0000000 --- a/node_modules/@babel/generator/node_modules/source-map/source-map.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - * Copyright 2009-2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE.txt or: - * http://opensource.org/licenses/BSD-3-Clause - */ -exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator; -exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer; -exports.SourceNode = require('./lib/source-node').SourceNode; diff --git a/node_modules/@babel/generator/package.json b/node_modules/@babel/generator/package.json deleted file mode 100644 index f3eb9e7..0000000 --- a/node_modules/@babel/generator/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "@babel/generator", - "version": "7.17.0", - "description": "Turns an AST into code.", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-generator" - }, - "homepage": "https://babel.dev/docs/en/next/babel-generator", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen", - "main": "./lib/index.js", - "files": [ - "lib" - ], - "dependencies": { - "@babel/types": "^7.17.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - }, - "devDependencies": { - "@babel/helper-fixtures": "^7.17.0", - "@babel/parser": "^7.17.0", - "@types/jsesc": "^2.5.0", - "@types/source-map": "^0.5.0", - "charcodes": "^0.2.0" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/LICENSE b/node_modules/@babel/helper-compilation-targets/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-compilation-targets/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-compilation-targets/README.md b/node_modules/@babel/helper-compilation-targets/README.md deleted file mode 100644 index 29f043b..0000000 --- a/node_modules/@babel/helper-compilation-targets/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-compilation-targets - -> Helper functions on Babel compilation targets - -See our website [@babel/helper-compilation-targets](https://babeljs.io/docs/en/babel-helper-compilation-targets) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-compilation-targets -``` - -or using yarn: - -```sh -yarn add @babel/helper-compilation-targets -``` diff --git a/node_modules/@babel/helper-compilation-targets/lib/debug.js b/node_modules/@babel/helper-compilation-targets/lib/debug.js deleted file mode 100644 index 4e05fdd..0000000 --- a/node_modules/@babel/helper-compilation-targets/lib/debug.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getInclusionReasons = getInclusionReasons; - -var _semver = require("semver"); - -var _pretty = require("./pretty"); - -var _utils = require("./utils"); - -function getInclusionReasons(item, targetVersions, list) { - const minVersions = list[item] || {}; - return Object.keys(targetVersions).reduce((result, env) => { - const minVersion = (0, _utils.getLowestImplementedVersion)(minVersions, env); - const targetVersion = targetVersions[env]; - - if (!minVersion) { - result[env] = (0, _pretty.prettifyVersion)(targetVersion); - } else { - const minIsUnreleased = (0, _utils.isUnreleasedVersion)(minVersion, env); - const targetIsUnreleased = (0, _utils.isUnreleasedVersion)(targetVersion, env); - - if (!targetIsUnreleased && (minIsUnreleased || _semver.lt(targetVersion.toString(), (0, _utils.semverify)(minVersion)))) { - result[env] = (0, _pretty.prettifyVersion)(targetVersion); - } - } - - return result; - }, {}); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/filter-items.js b/node_modules/@babel/helper-compilation-targets/lib/filter-items.js deleted file mode 100644 index f47f605..0000000 --- a/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +++ /dev/null @@ -1,88 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = filterItems; -exports.isRequired = isRequired; -exports.targetsSupported = targetsSupported; - -var _semver = require("semver"); - -var _plugins = require("@babel/compat-data/plugins"); - -var _utils = require("./utils"); - -function targetsSupported(target, support) { - const targetEnvironments = Object.keys(target); - - if (targetEnvironments.length === 0) { - return false; - } - - const unsupportedEnvironments = targetEnvironments.filter(environment => { - const lowestImplementedVersion = (0, _utils.getLowestImplementedVersion)(support, environment); - - if (!lowestImplementedVersion) { - return true; - } - - const lowestTargetedVersion = target[environment]; - - if ((0, _utils.isUnreleasedVersion)(lowestTargetedVersion, environment)) { - return false; - } - - if ((0, _utils.isUnreleasedVersion)(lowestImplementedVersion, environment)) { - return true; - } - - if (!_semver.valid(lowestTargetedVersion.toString())) { - throw new Error(`Invalid version passed for target "${environment}": "${lowestTargetedVersion}". ` + "Versions must be in semver format (major.minor.patch)"); - } - - return _semver.gt((0, _utils.semverify)(lowestImplementedVersion), lowestTargetedVersion.toString()); - }); - return unsupportedEnvironments.length === 0; -} - -function isRequired(name, targets, { - compatData = _plugins, - includes, - excludes -} = {}) { - if (excludes != null && excludes.has(name)) return false; - if (includes != null && includes.has(name)) return true; - return !targetsSupported(targets, compatData[name]); -} - -function filterItems(list, includes, excludes, targets, defaultIncludes, defaultExcludes, pluginSyntaxMap) { - const result = new Set(); - const options = { - compatData: list, - includes, - excludes - }; - - for (const item in list) { - if (isRequired(item, targets, options)) { - result.add(item); - } else if (pluginSyntaxMap) { - const shippedProposalsSyntax = pluginSyntaxMap.get(item); - - if (shippedProposalsSyntax) { - result.add(shippedProposalsSyntax); - } - } - } - - if (defaultIncludes) { - defaultIncludes.forEach(item => !excludes.has(item) && result.add(item)); - } - - if (defaultExcludes) { - defaultExcludes.forEach(item => !includes.has(item) && result.delete(item)); - } - - return result; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/index.js b/node_modules/@babel/helper-compilation-targets/lib/index.js deleted file mode 100644 index c186599..0000000 --- a/node_modules/@babel/helper-compilation-targets/lib/index.js +++ /dev/null @@ -1,255 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "TargetNames", { - enumerable: true, - get: function () { - return _options.TargetNames; - } -}); -exports.default = getTargets; -Object.defineProperty(exports, "filterItems", { - enumerable: true, - get: function () { - return _filterItems.default; - } -}); -Object.defineProperty(exports, "getInclusionReasons", { - enumerable: true, - get: function () { - return _debug.getInclusionReasons; - } -}); -exports.isBrowsersQueryValid = isBrowsersQueryValid; -Object.defineProperty(exports, "isRequired", { - enumerable: true, - get: function () { - return _filterItems.isRequired; - } -}); -Object.defineProperty(exports, "prettifyTargets", { - enumerable: true, - get: function () { - return _pretty.prettifyTargets; - } -}); -Object.defineProperty(exports, "unreleasedLabels", { - enumerable: true, - get: function () { - return _targets.unreleasedLabels; - } -}); - -var _browserslist = require("browserslist"); - -var _helperValidatorOption = require("@babel/helper-validator-option"); - -var _nativeModules = require("@babel/compat-data/native-modules"); - -var _utils = require("./utils"); - -var _targets = require("./targets"); - -var _options = require("./options"); - -var _pretty = require("./pretty"); - -var _debug = require("./debug"); - -var _filterItems = require("./filter-items"); - -const ESM_SUPPORT = _nativeModules["es6.module"]; -const v = new _helperValidatorOption.OptionValidator("@babel/helper-compilation-targets"); - -function validateTargetNames(targets) { - const validTargets = Object.keys(_options.TargetNames); - - for (const target of Object.keys(targets)) { - if (!(target in _options.TargetNames)) { - throw new Error(v.formatMessage(`'${target}' is not a valid target -- Did you mean '${(0, _helperValidatorOption.findSuggestion)(target, validTargets)}'?`)); - } - } - - return targets; -} - -function isBrowsersQueryValid(browsers) { - return typeof browsers === "string" || Array.isArray(browsers) && browsers.every(b => typeof b === "string"); -} - -function validateBrowsers(browsers) { - v.invariant(browsers === undefined || isBrowsersQueryValid(browsers), `'${String(browsers)}' is not a valid browserslist query`); - return browsers; -} - -function getLowestVersions(browsers) { - return browsers.reduce((all, browser) => { - const [browserName, browserVersion] = browser.split(" "); - const normalizedBrowserName = _targets.browserNameMap[browserName]; - - if (!normalizedBrowserName) { - return all; - } - - try { - const splitVersion = browserVersion.split("-")[0].toLowerCase(); - const isSplitUnreleased = (0, _utils.isUnreleasedVersion)(splitVersion, browserName); - - if (!all[normalizedBrowserName]) { - all[normalizedBrowserName] = isSplitUnreleased ? splitVersion : (0, _utils.semverify)(splitVersion); - return all; - } - - const version = all[normalizedBrowserName]; - const isUnreleased = (0, _utils.isUnreleasedVersion)(version, browserName); - - if (isUnreleased && isSplitUnreleased) { - all[normalizedBrowserName] = (0, _utils.getLowestUnreleased)(version, splitVersion, browserName); - } else if (isUnreleased) { - all[normalizedBrowserName] = (0, _utils.semverify)(splitVersion); - } else if (!isUnreleased && !isSplitUnreleased) { - const parsedBrowserVersion = (0, _utils.semverify)(splitVersion); - all[normalizedBrowserName] = (0, _utils.semverMin)(version, parsedBrowserVersion); - } - } catch (e) {} - - return all; - }, {}); -} - -function outputDecimalWarning(decimalTargets) { - if (!decimalTargets.length) { - return; - } - - console.warn("Warning, the following targets are using a decimal version:\n"); - decimalTargets.forEach(({ - target, - value - }) => console.warn(` ${target}: ${value}`)); - console.warn(` -We recommend using a string for minor/patch versions to avoid numbers like 6.10 -getting parsed as 6.1, which can lead to unexpected behavior. -`); -} - -function semverifyTarget(target, value) { - try { - return (0, _utils.semverify)(value); - } catch (error) { - throw new Error(v.formatMessage(`'${value}' is not a valid value for 'targets.${target}'.`)); - } -} - -const targetParserMap = { - __default(target, value) { - const version = (0, _utils.isUnreleasedVersion)(value, target) ? value.toLowerCase() : semverifyTarget(target, value); - return [target, version]; - }, - - node(target, value) { - const parsed = value === true || value === "current" ? process.versions.node : semverifyTarget(target, value); - return [target, parsed]; - } - -}; - -function generateTargets(inputTargets) { - const input = Object.assign({}, inputTargets); - delete input.esmodules; - delete input.browsers; - return input; -} - -function resolveTargets(queries, env) { - const resolved = _browserslist(queries, { - mobileToDesktop: true, - env - }); - - return getLowestVersions(resolved); -} - -function getTargets(inputTargets = {}, options = {}) { - var _browsers; - - let { - browsers, - esmodules - } = inputTargets; - const { - configPath = "." - } = options; - validateBrowsers(browsers); - const input = generateTargets(inputTargets); - let targets = validateTargetNames(input); - const shouldParseBrowsers = !!browsers; - const hasTargets = shouldParseBrowsers || Object.keys(targets).length > 0; - const shouldSearchForConfig = !options.ignoreBrowserslistConfig && !hasTargets; - - if (!browsers && shouldSearchForConfig) { - browsers = _browserslist.loadConfig({ - config: options.configFile, - path: configPath, - env: options.browserslistEnv - }); - - if (browsers == null) { - { - browsers = []; - } - } - } - - if (esmodules && (esmodules !== "intersect" || !((_browsers = browsers) != null && _browsers.length))) { - browsers = Object.keys(ESM_SUPPORT).map(browser => `${browser} >= ${ESM_SUPPORT[browser]}`).join(", "); - esmodules = false; - } - - if (browsers) { - const queryBrowsers = resolveTargets(browsers, options.browserslistEnv); - - if (esmodules === "intersect") { - for (const browser of Object.keys(queryBrowsers)) { - const version = queryBrowsers[browser]; - - if (ESM_SUPPORT[browser]) { - queryBrowsers[browser] = (0, _utils.getHighestUnreleased)(version, (0, _utils.semverify)(ESM_SUPPORT[browser]), browser); - } else { - delete queryBrowsers[browser]; - } - } - } - - targets = Object.assign(queryBrowsers, targets); - } - - const result = {}; - const decimalWarnings = []; - - for (const target of Object.keys(targets).sort()) { - var _targetParserMap$targ; - - const value = targets[target]; - - if (typeof value === "number" && value % 1 !== 0) { - decimalWarnings.push({ - target, - value - }); - } - - const parser = (_targetParserMap$targ = targetParserMap[target]) != null ? _targetParserMap$targ : targetParserMap.__default; - const [parsedTarget, parsedValue] = parser(target, value); - - if (parsedValue) { - result[parsedTarget] = parsedValue; - } - } - - outputDecimalWarning(decimalWarnings); - return result; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/options.js b/node_modules/@babel/helper-compilation-targets/lib/options.js deleted file mode 100644 index cbf4de0..0000000 --- a/node_modules/@babel/helper-compilation-targets/lib/options.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.TargetNames = void 0; -const TargetNames = { - node: "node", - chrome: "chrome", - opera: "opera", - edge: "edge", - firefox: "firefox", - safari: "safari", - ie: "ie", - ios: "ios", - android: "android", - electron: "electron", - samsung: "samsung", - rhino: "rhino" -}; -exports.TargetNames = TargetNames; \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/pretty.js b/node_modules/@babel/helper-compilation-targets/lib/pretty.js deleted file mode 100644 index 88df640..0000000 --- a/node_modules/@babel/helper-compilation-targets/lib/pretty.js +++ /dev/null @@ -1,47 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.prettifyTargets = prettifyTargets; -exports.prettifyVersion = prettifyVersion; - -var _semver = require("semver"); - -var _targets = require("./targets"); - -function prettifyVersion(version) { - if (typeof version !== "string") { - return version; - } - - const parts = [_semver.major(version)]; - - const minor = _semver.minor(version); - - const patch = _semver.patch(version); - - if (minor || patch) { - parts.push(minor); - } - - if (patch) { - parts.push(patch); - } - - return parts.join("."); -} - -function prettifyTargets(targets) { - return Object.keys(targets).reduce((results, target) => { - let value = targets[target]; - const unreleasedLabel = _targets.unreleasedLabels[target]; - - if (typeof value === "string" && unreleasedLabel !== value) { - value = prettifyVersion(value); - } - - results[target] = value; - return results; - }, {}); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/targets.js b/node_modules/@babel/helper-compilation-targets/lib/targets.js deleted file mode 100644 index 3cbaeac..0000000 --- a/node_modules/@babel/helper-compilation-targets/lib/targets.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.unreleasedLabels = exports.browserNameMap = void 0; -const unreleasedLabels = { - safari: "tp" -}; -exports.unreleasedLabels = unreleasedLabels; -const browserNameMap = { - and_chr: "chrome", - and_ff: "firefox", - android: "android", - chrome: "chrome", - edge: "edge", - firefox: "firefox", - ie: "ie", - ie_mob: "ie", - ios_saf: "ios", - node: "node", - op_mob: "opera", - opera: "opera", - safari: "safari", - samsung: "samsung" -}; -exports.browserNameMap = browserNameMap; \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/types.js b/node_modules/@babel/helper-compilation-targets/lib/types.js deleted file mode 100644 index e69de29..0000000 diff --git a/node_modules/@babel/helper-compilation-targets/lib/utils.js b/node_modules/@babel/helper-compilation-targets/lib/utils.js deleted file mode 100644 index 711a84f..0000000 --- a/node_modules/@babel/helper-compilation-targets/lib/utils.js +++ /dev/null @@ -1,69 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getHighestUnreleased = getHighestUnreleased; -exports.getLowestImplementedVersion = getLowestImplementedVersion; -exports.getLowestUnreleased = getLowestUnreleased; -exports.isUnreleasedVersion = isUnreleasedVersion; -exports.semverMin = semverMin; -exports.semverify = semverify; - -var _semver = require("semver"); - -var _helperValidatorOption = require("@babel/helper-validator-option"); - -var _targets = require("./targets"); - -const versionRegExp = /^(\d+|\d+.\d+)$/; -const v = new _helperValidatorOption.OptionValidator("@babel/helper-compilation-targets"); - -function semverMin(first, second) { - return first && _semver.lt(first, second) ? first : second; -} - -function semverify(version) { - if (typeof version === "string" && _semver.valid(version)) { - return version; - } - - v.invariant(typeof version === "number" || typeof version === "string" && versionRegExp.test(version), `'${version}' is not a valid version`); - const split = version.toString().split("."); - - while (split.length < 3) { - split.push("0"); - } - - return split.join("."); -} - -function isUnreleasedVersion(version, env) { - const unreleasedLabel = _targets.unreleasedLabels[env]; - return !!unreleasedLabel && unreleasedLabel === version.toString().toLowerCase(); -} - -function getLowestUnreleased(a, b, env) { - const unreleasedLabel = _targets.unreleasedLabels[env]; - const hasUnreleased = [a, b].some(item => item === unreleasedLabel); - - if (hasUnreleased) { - return a === hasUnreleased ? b : a || b; - } - - return semverMin(a, b); -} - -function getHighestUnreleased(a, b, env) { - return getLowestUnreleased(a, b, env) === a ? b : a; -} - -function getLowestImplementedVersion(plugin, environment) { - const result = plugin[environment]; - - if (!result && environment === "android") { - return plugin.chrome; - } - - return result; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist b/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist deleted file mode 120000 index 93881e3..0000000 --- a/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +++ /dev/null @@ -1 +0,0 @@ -../../../../browserslist/cli.js \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver b/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver deleted file mode 120000 index 501bb2f..0000000 --- a/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../../../../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/package.json b/node_modules/@babel/helper-compilation-targets/package.json deleted file mode 100644 index d35c368..0000000 --- a/node_modules/@babel/helper-compilation-targets/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@babel/helper-compilation-targets", - "version": "7.16.7", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "description": "Helper functions on Babel compilation targets", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-compilation-targets" - }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" - }, - "publishConfig": { - "access": "public" - }, - "keywords": [ - "babel", - "babel-plugin" - ], - "dependencies": { - "@babel/compat-data": "^7.16.4", - "@babel/helper-validator-option": "^7.16.7", - "browserslist": "^4.17.5", - "semver": "^6.3.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - }, - "devDependencies": { - "@babel/core": "^7.16.7", - "@babel/helper-plugin-test-runner": "^7.16.7", - "@types/semver": "^5.5.0" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/helper-environment-visitor/LICENSE b/node_modules/@babel/helper-environment-visitor/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-environment-visitor/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-environment-visitor/README.md b/node_modules/@babel/helper-environment-visitor/README.md deleted file mode 100644 index ec74ac3..0000000 --- a/node_modules/@babel/helper-environment-visitor/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-environment-visitor - -> Helper visitor to only visit nodes in the current 'this' context - -See our website [@babel/helper-environment-visitor](https://babeljs.io/docs/en/babel-helper-environment-visitor) for more information. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/helper-environment-visitor -``` - -or using yarn: - -```sh -yarn add @babel/helper-environment-visitor --dev -``` diff --git a/node_modules/@babel/helper-environment-visitor/lib/index.js b/node_modules/@babel/helper-environment-visitor/lib/index.js deleted file mode 100644 index e85bf13..0000000 --- a/node_modules/@babel/helper-environment-visitor/lib/index.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -exports.skipAllButComputedKey = skipAllButComputedKey; - -var _t = require("@babel/types"); - -const { - VISITOR_KEYS, - staticBlock -} = _t; - -function skipAllButComputedKey(path) { - if (!path.node.computed) { - path.skip(); - return; - } - - const keys = VISITOR_KEYS[path.type]; - - for (const key of keys) { - if (key !== "key") path.skipKey(key); - } -} - -const skipKey = (staticBlock ? "StaticBlock|" : "") + "ClassPrivateProperty|TypeAnnotation|FunctionDeclaration|FunctionExpression"; -var _default = { - [skipKey]: path => path.skip(), - - "Method|ClassProperty"(path) { - skipAllButComputedKey(path); - } - -}; -exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/helper-environment-visitor/package.json b/node_modules/@babel/helper-environment-visitor/package.json deleted file mode 100644 index ffc31a3..0000000 --- a/node_modules/@babel/helper-environment-visitor/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "@babel/helper-environment-visitor", - "version": "7.16.7", - "description": "Helper visitor to only visit nodes in the current 'this' context", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-environment-visitor" - }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-environment-visitor", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" - }, - "dependencies": { - "@babel/types": "^7.16.7" - }, - "devDependencies": { - "@babel/traverse": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-function-name/LICENSE b/node_modules/@babel/helper-function-name/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-function-name/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-function-name/README.md b/node_modules/@babel/helper-function-name/README.md deleted file mode 100644 index 1e490ae..0000000 --- a/node_modules/@babel/helper-function-name/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-function-name - -> Helper function to change the property 'name' of every function - -See our website [@babel/helper-function-name](https://babeljs.io/docs/en/babel-helper-function-name) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-function-name -``` - -or using yarn: - -```sh -yarn add @babel/helper-function-name -``` diff --git a/node_modules/@babel/helper-function-name/lib/index.js b/node_modules/@babel/helper-function-name/lib/index.js deleted file mode 100644 index 2fa33dc..0000000 --- a/node_modules/@babel/helper-function-name/lib/index.js +++ /dev/null @@ -1,192 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; - -var _helperGetFunctionArity = require("@babel/helper-get-function-arity"); - -var _template = require("@babel/template"); - -var _t = require("@babel/types"); - -const { - NOT_LOCAL_BINDING, - cloneNode, - identifier, - isAssignmentExpression, - isFunction, - isIdentifier, - isLiteral, - isNullLiteral, - isObjectMethod, - isObjectProperty, - isRegExpLiteral, - isTemplateLiteral, - isVariableDeclarator, - toBindingIdentifierName -} = _t; -const buildPropertyMethodAssignmentWrapper = (0, _template.default)(` - (function (FUNCTION_KEY) { - function FUNCTION_ID() { - return FUNCTION_KEY.apply(this, arguments); - } - - FUNCTION_ID.toString = function () { - return FUNCTION_KEY.toString(); - } - - return FUNCTION_ID; - })(FUNCTION) -`); -const buildGeneratorPropertyMethodAssignmentWrapper = (0, _template.default)(` - (function (FUNCTION_KEY) { - function* FUNCTION_ID() { - return yield* FUNCTION_KEY.apply(this, arguments); - } - - FUNCTION_ID.toString = function () { - return FUNCTION_KEY.toString(); - }; - - return FUNCTION_ID; - })(FUNCTION) -`); -const visitor = { - "ReferencedIdentifier|BindingIdentifier"(path, state) { - if (path.node.name !== state.name) return; - const localDeclar = path.scope.getBindingIdentifier(state.name); - if (localDeclar !== state.outerDeclar) return; - state.selfReference = true; - path.stop(); - } - -}; - -function getNameFromLiteralId(id) { - if (isNullLiteral(id)) { - return "null"; - } - - if (isRegExpLiteral(id)) { - return `_${id.pattern}_${id.flags}`; - } - - if (isTemplateLiteral(id)) { - return id.quasis.map(quasi => quasi.value.raw).join(""); - } - - if (id.value !== undefined) { - return id.value + ""; - } - - return ""; -} - -function wrap(state, method, id, scope) { - if (state.selfReference) { - if (scope.hasBinding(id.name) && !scope.hasGlobal(id.name)) { - scope.rename(id.name); - } else { - if (!isFunction(method)) return; - let build = buildPropertyMethodAssignmentWrapper; - - if (method.generator) { - build = buildGeneratorPropertyMethodAssignmentWrapper; - } - - const template = build({ - FUNCTION: method, - FUNCTION_ID: id, - FUNCTION_KEY: scope.generateUidIdentifier(id.name) - }).expression; - const params = template.callee.body.body[0].params; - - for (let i = 0, len = (0, _helperGetFunctionArity.default)(method); i < len; i++) { - params.push(scope.generateUidIdentifier("x")); - } - - return template; - } - } - - method.id = id; - scope.getProgramParent().references[id.name] = true; -} - -function visit(node, name, scope) { - const state = { - selfAssignment: false, - selfReference: false, - outerDeclar: scope.getBindingIdentifier(name), - references: [], - name: name - }; - const binding = scope.getOwnBinding(name); - - if (binding) { - if (binding.kind === "param") { - state.selfReference = true; - } else {} - } else if (state.outerDeclar || scope.hasGlobal(name)) { - scope.traverse(node, visitor, state); - } - - return state; -} - -function _default({ - node, - parent, - scope, - id -}, localBinding = false, supportUnicodeId = false) { - if (node.id) return; - - if ((isObjectProperty(parent) || isObjectMethod(parent, { - kind: "method" - })) && (!parent.computed || isLiteral(parent.key))) { - id = parent.key; - } else if (isVariableDeclarator(parent)) { - id = parent.id; - - if (isIdentifier(id) && !localBinding) { - const binding = scope.parent.getBinding(id.name); - - if (binding && binding.constant && scope.getBinding(id.name) === binding) { - node.id = cloneNode(id); - node.id[NOT_LOCAL_BINDING] = true; - return; - } - } - } else if (isAssignmentExpression(parent, { - operator: "=" - })) { - id = parent.left; - } else if (!id) { - return; - } - - let name; - - if (id && isLiteral(id)) { - name = getNameFromLiteralId(id); - } else if (id && isIdentifier(id)) { - name = id.name; - } - - if (name === undefined) { - return; - } - - if (!supportUnicodeId && isFunction(node) && /[\uD800-\uDFFF]/.test(name)) { - return; - } - - name = toBindingIdentifierName(name); - id = identifier(name); - id[NOT_LOCAL_BINDING] = true; - const state = visit(node, name, scope); - return wrap(state, node, id, scope) || node; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-function-name/package.json b/node_modules/@babel/helper-function-name/package.json deleted file mode 100644 index 1a46e7c..0000000 --- a/node_modules/@babel/helper-function-name/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "@babel/helper-function-name", - "version": "7.16.7", - "description": "Helper function to change the property 'name' of every function", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-function-name" - }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-function-name", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/helper-get-function-arity": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-get-function-arity/LICENSE b/node_modules/@babel/helper-get-function-arity/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-get-function-arity/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-get-function-arity/README.md b/node_modules/@babel/helper-get-function-arity/README.md deleted file mode 100644 index ca7f8b1..0000000 --- a/node_modules/@babel/helper-get-function-arity/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-get-function-arity - -> Helper function to get function arity - -See our website [@babel/helper-get-function-arity](https://babeljs.io/docs/en/babel-helper-get-function-arity) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-get-function-arity -``` - -or using yarn: - -```sh -yarn add @babel/helper-get-function-arity -``` diff --git a/node_modules/@babel/helper-get-function-arity/lib/index.js b/node_modules/@babel/helper-get-function-arity/lib/index.js deleted file mode 100644 index 61e22ed..0000000 --- a/node_modules/@babel/helper-get-function-arity/lib/index.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; - -var _t = require("@babel/types"); - -const { - isAssignmentPattern, - isRestElement -} = _t; - -function _default(node) { - const params = node.params; - - for (let i = 0; i < params.length; i++) { - const param = params[i]; - - if (isAssignmentPattern(param) || isRestElement(param)) { - return i; - } - } - - return params.length; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-get-function-arity/package.json b/node_modules/@babel/helper-get-function-arity/package.json deleted file mode 100644 index 4ea7562..0000000 --- a/node_modules/@babel/helper-get-function-arity/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@babel/helper-get-function-arity", - "version": "7.16.7", - "description": "Helper function to get function arity", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-get-function-arity" - }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-get-function-arity", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-hoist-variables/LICENSE b/node_modules/@babel/helper-hoist-variables/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-hoist-variables/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-hoist-variables/README.md b/node_modules/@babel/helper-hoist-variables/README.md deleted file mode 100644 index ef87821..0000000 --- a/node_modules/@babel/helper-hoist-variables/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-hoist-variables - -> Helper function to hoist variables - -See our website [@babel/helper-hoist-variables](https://babeljs.io/docs/en/babel-helper-hoist-variables) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-hoist-variables -``` - -or using yarn: - -```sh -yarn add @babel/helper-hoist-variables -``` diff --git a/node_modules/@babel/helper-hoist-variables/lib/index.js b/node_modules/@babel/helper-hoist-variables/lib/index.js deleted file mode 100644 index 31fb847..0000000 --- a/node_modules/@babel/helper-hoist-variables/lib/index.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = hoistVariables; - -var _t = require("@babel/types"); - -const { - assignmentExpression, - expressionStatement, - identifier -} = _t; -const visitor = { - Scope(path, state) { - if (state.kind === "let") path.skip(); - }, - - FunctionParent(path) { - path.skip(); - }, - - VariableDeclaration(path, state) { - if (state.kind && path.node.kind !== state.kind) return; - const nodes = []; - const declarations = path.get("declarations"); - let firstId; - - for (const declar of declarations) { - firstId = declar.node.id; - - if (declar.node.init) { - nodes.push(expressionStatement(assignmentExpression("=", declar.node.id, declar.node.init))); - } - - for (const name of Object.keys(declar.getBindingIdentifiers())) { - state.emit(identifier(name), name, declar.node.init !== null); - } - } - - if (path.parentPath.isFor({ - left: path.node - })) { - path.replaceWith(firstId); - } else { - path.replaceWithMultiple(nodes); - } - } - -}; - -function hoistVariables(path, emit, kind = "var") { - path.traverse(visitor, { - kind, - emit - }); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-hoist-variables/package.json b/node_modules/@babel/helper-hoist-variables/package.json deleted file mode 100644 index ec99d90..0000000 --- a/node_modules/@babel/helper-hoist-variables/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "@babel/helper-hoist-variables", - "version": "7.16.7", - "description": "Helper function to hoist variables", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-hoist-variables" - }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-hoist-variables", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "TODO": "The @babel/traverse dependency is only needed for the NodePath TS type. We can consider exporting it from @babel/core.", - "devDependencies": { - "@babel/traverse": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/LICENSE b/node_modules/@babel/helper-module-imports/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-module-imports/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-module-imports/README.md b/node_modules/@babel/helper-module-imports/README.md deleted file mode 100644 index 933c5b7..0000000 --- a/node_modules/@babel/helper-module-imports/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-module-imports - -> Babel helper functions for inserting module loads - -See our website [@babel/helper-module-imports](https://babeljs.io/docs/en/babel-helper-module-imports) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-module-imports -``` - -or using yarn: - -```sh -yarn add @babel/helper-module-imports -``` diff --git a/node_modules/@babel/helper-module-imports/lib/import-builder.js b/node_modules/@babel/helper-module-imports/lib/import-builder.js deleted file mode 100644 index 8a1800e..0000000 --- a/node_modules/@babel/helper-module-imports/lib/import-builder.js +++ /dev/null @@ -1,162 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _assert = require("assert"); - -var _t = require("@babel/types"); - -const { - callExpression, - cloneNode, - expressionStatement, - identifier, - importDeclaration, - importDefaultSpecifier, - importNamespaceSpecifier, - importSpecifier, - memberExpression, - stringLiteral, - variableDeclaration, - variableDeclarator -} = _t; - -class ImportBuilder { - constructor(importedSource, scope, hub) { - this._statements = []; - this._resultName = null; - this._scope = null; - this._hub = null; - this._importedSource = void 0; - this._scope = scope; - this._hub = hub; - this._importedSource = importedSource; - } - - done() { - return { - statements: this._statements, - resultName: this._resultName - }; - } - - import() { - this._statements.push(importDeclaration([], stringLiteral(this._importedSource))); - - return this; - } - - require() { - this._statements.push(expressionStatement(callExpression(identifier("require"), [stringLiteral(this._importedSource)]))); - - return this; - } - - namespace(name = "namespace") { - const local = this._scope.generateUidIdentifier(name); - - const statement = this._statements[this._statements.length - 1]; - - _assert(statement.type === "ImportDeclaration"); - - _assert(statement.specifiers.length === 0); - - statement.specifiers = [importNamespaceSpecifier(local)]; - this._resultName = cloneNode(local); - return this; - } - - default(name) { - name = this._scope.generateUidIdentifier(name); - const statement = this._statements[this._statements.length - 1]; - - _assert(statement.type === "ImportDeclaration"); - - _assert(statement.specifiers.length === 0); - - statement.specifiers = [importDefaultSpecifier(name)]; - this._resultName = cloneNode(name); - return this; - } - - named(name, importName) { - if (importName === "default") return this.default(name); - name = this._scope.generateUidIdentifier(name); - const statement = this._statements[this._statements.length - 1]; - - _assert(statement.type === "ImportDeclaration"); - - _assert(statement.specifiers.length === 0); - - statement.specifiers = [importSpecifier(name, identifier(importName))]; - this._resultName = cloneNode(name); - return this; - } - - var(name) { - name = this._scope.generateUidIdentifier(name); - let statement = this._statements[this._statements.length - 1]; - - if (statement.type !== "ExpressionStatement") { - _assert(this._resultName); - - statement = expressionStatement(this._resultName); - - this._statements.push(statement); - } - - this._statements[this._statements.length - 1] = variableDeclaration("var", [variableDeclarator(name, statement.expression)]); - this._resultName = cloneNode(name); - return this; - } - - defaultInterop() { - return this._interop(this._hub.addHelper("interopRequireDefault")); - } - - wildcardInterop() { - return this._interop(this._hub.addHelper("interopRequireWildcard")); - } - - _interop(callee) { - const statement = this._statements[this._statements.length - 1]; - - if (statement.type === "ExpressionStatement") { - statement.expression = callExpression(callee, [statement.expression]); - } else if (statement.type === "VariableDeclaration") { - _assert(statement.declarations.length === 1); - - statement.declarations[0].init = callExpression(callee, [statement.declarations[0].init]); - } else { - _assert.fail("Unexpected type."); - } - - return this; - } - - prop(name) { - const statement = this._statements[this._statements.length - 1]; - - if (statement.type === "ExpressionStatement") { - statement.expression = memberExpression(statement.expression, identifier(name)); - } else if (statement.type === "VariableDeclaration") { - _assert(statement.declarations.length === 1); - - statement.declarations[0].init = memberExpression(statement.declarations[0].init, identifier(name)); - } else { - _assert.fail("Unexpected type:" + statement.type); - } - - return this; - } - - read(name) { - this._resultName = memberExpression(this._resultName, identifier(name)); - } - -} - -exports.default = ImportBuilder; \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/lib/import-injector.js b/node_modules/@babel/helper-module-imports/lib/import-injector.js deleted file mode 100644 index adb9627..0000000 --- a/node_modules/@babel/helper-module-imports/lib/import-injector.js +++ /dev/null @@ -1,290 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _assert = require("assert"); - -var _t = require("@babel/types"); - -var _importBuilder = require("./import-builder"); - -var _isModule = require("./is-module"); - -const { - numericLiteral, - sequenceExpression -} = _t; - -class ImportInjector { - constructor(path, importedSource, opts) { - this._defaultOpts = { - importedSource: null, - importedType: "commonjs", - importedInterop: "babel", - importingInterop: "babel", - ensureLiveReference: false, - ensureNoContext: false, - importPosition: "before" - }; - const programPath = path.find(p => p.isProgram()); - this._programPath = programPath; - this._programScope = programPath.scope; - this._hub = programPath.hub; - this._defaultOpts = this._applyDefaults(importedSource, opts, true); - } - - addDefault(importedSourceIn, opts) { - return this.addNamed("default", importedSourceIn, opts); - } - - addNamed(importName, importedSourceIn, opts) { - _assert(typeof importName === "string"); - - return this._generateImport(this._applyDefaults(importedSourceIn, opts), importName); - } - - addNamespace(importedSourceIn, opts) { - return this._generateImport(this._applyDefaults(importedSourceIn, opts), null); - } - - addSideEffect(importedSourceIn, opts) { - return this._generateImport(this._applyDefaults(importedSourceIn, opts), false); - } - - _applyDefaults(importedSource, opts, isInit = false) { - const optsList = []; - - if (typeof importedSource === "string") { - optsList.push({ - importedSource - }); - optsList.push(opts); - } else { - _assert(!opts, "Unexpected secondary arguments."); - - optsList.push(importedSource); - } - - const newOpts = Object.assign({}, this._defaultOpts); - - for (const opts of optsList) { - if (!opts) continue; - Object.keys(newOpts).forEach(key => { - if (opts[key] !== undefined) newOpts[key] = opts[key]; - }); - - if (!isInit) { - if (opts.nameHint !== undefined) newOpts.nameHint = opts.nameHint; - if (opts.blockHoist !== undefined) newOpts.blockHoist = opts.blockHoist; - } - } - - return newOpts; - } - - _generateImport(opts, importName) { - const isDefault = importName === "default"; - const isNamed = !!importName && !isDefault; - const isNamespace = importName === null; - const { - importedSource, - importedType, - importedInterop, - importingInterop, - ensureLiveReference, - ensureNoContext, - nameHint, - importPosition, - blockHoist - } = opts; - let name = nameHint || importName; - const isMod = (0, _isModule.default)(this._programPath); - const isModuleForNode = isMod && importingInterop === "node"; - const isModuleForBabel = isMod && importingInterop === "babel"; - - if (importPosition === "after" && !isMod) { - throw new Error(`"importPosition": "after" is only supported in modules`); - } - - const builder = new _importBuilder.default(importedSource, this._programScope, this._hub); - - if (importedType === "es6") { - if (!isModuleForNode && !isModuleForBabel) { - throw new Error("Cannot import an ES6 module from CommonJS"); - } - - builder.import(); - - if (isNamespace) { - builder.namespace(nameHint || importedSource); - } else if (isDefault || isNamed) { - builder.named(name, importName); - } - } else if (importedType !== "commonjs") { - throw new Error(`Unexpected interopType "${importedType}"`); - } else if (importedInterop === "babel") { - if (isModuleForNode) { - name = name !== "default" ? name : importedSource; - const es6Default = `${importedSource}$es6Default`; - builder.import(); - - if (isNamespace) { - builder.default(es6Default).var(name || importedSource).wildcardInterop(); - } else if (isDefault) { - if (ensureLiveReference) { - builder.default(es6Default).var(name || importedSource).defaultInterop().read("default"); - } else { - builder.default(es6Default).var(name).defaultInterop().prop(importName); - } - } else if (isNamed) { - builder.default(es6Default).read(importName); - } - } else if (isModuleForBabel) { - builder.import(); - - if (isNamespace) { - builder.namespace(name || importedSource); - } else if (isDefault || isNamed) { - builder.named(name, importName); - } - } else { - builder.require(); - - if (isNamespace) { - builder.var(name || importedSource).wildcardInterop(); - } else if ((isDefault || isNamed) && ensureLiveReference) { - if (isDefault) { - name = name !== "default" ? name : importedSource; - builder.var(name).read(importName); - builder.defaultInterop(); - } else { - builder.var(importedSource).read(importName); - } - } else if (isDefault) { - builder.var(name).defaultInterop().prop(importName); - } else if (isNamed) { - builder.var(name).prop(importName); - } - } - } else if (importedInterop === "compiled") { - if (isModuleForNode) { - builder.import(); - - if (isNamespace) { - builder.default(name || importedSource); - } else if (isDefault || isNamed) { - builder.default(importedSource).read(name); - } - } else if (isModuleForBabel) { - builder.import(); - - if (isNamespace) { - builder.namespace(name || importedSource); - } else if (isDefault || isNamed) { - builder.named(name, importName); - } - } else { - builder.require(); - - if (isNamespace) { - builder.var(name || importedSource); - } else if (isDefault || isNamed) { - if (ensureLiveReference) { - builder.var(importedSource).read(name); - } else { - builder.prop(importName).var(name); - } - } - } - } else if (importedInterop === "uncompiled") { - if (isDefault && ensureLiveReference) { - throw new Error("No live reference for commonjs default"); - } - - if (isModuleForNode) { - builder.import(); - - if (isNamespace) { - builder.default(name || importedSource); - } else if (isDefault) { - builder.default(name); - } else if (isNamed) { - builder.default(importedSource).read(name); - } - } else if (isModuleForBabel) { - builder.import(); - - if (isNamespace) { - builder.default(name || importedSource); - } else if (isDefault) { - builder.default(name); - } else if (isNamed) { - builder.named(name, importName); - } - } else { - builder.require(); - - if (isNamespace) { - builder.var(name || importedSource); - } else if (isDefault) { - builder.var(name); - } else if (isNamed) { - if (ensureLiveReference) { - builder.var(importedSource).read(name); - } else { - builder.var(name).prop(importName); - } - } - } - } else { - throw new Error(`Unknown importedInterop "${importedInterop}".`); - } - - const { - statements, - resultName - } = builder.done(); - - this._insertStatements(statements, importPosition, blockHoist); - - if ((isDefault || isNamed) && ensureNoContext && resultName.type !== "Identifier") { - return sequenceExpression([numericLiteral(0), resultName]); - } - - return resultName; - } - - _insertStatements(statements, importPosition = "before", blockHoist = 3) { - const body = this._programPath.get("body"); - - if (importPosition === "after") { - for (let i = body.length - 1; i >= 0; i--) { - if (body[i].isImportDeclaration()) { - body[i].insertAfter(statements); - return; - } - } - } else { - statements.forEach(node => { - node._blockHoist = blockHoist; - }); - const targetPath = body.find(p => { - const val = p.node._blockHoist; - return Number.isFinite(val) && val < 4; - }); - - if (targetPath) { - targetPath.insertBefore(statements); - return; - } - } - - this._programPath.unshiftContainer("body", statements); - } - -} - -exports.default = ImportInjector; \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/lib/index.js b/node_modules/@babel/helper-module-imports/lib/index.js deleted file mode 100644 index a3d7921..0000000 --- a/node_modules/@babel/helper-module-imports/lib/index.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ImportInjector", { - enumerable: true, - get: function () { - return _importInjector.default; - } -}); -exports.addDefault = addDefault; -exports.addNamed = addNamed; -exports.addNamespace = addNamespace; -exports.addSideEffect = addSideEffect; -Object.defineProperty(exports, "isModule", { - enumerable: true, - get: function () { - return _isModule.default; - } -}); - -var _importInjector = require("./import-injector"); - -var _isModule = require("./is-module"); - -function addDefault(path, importedSource, opts) { - return new _importInjector.default(path).addDefault(importedSource, opts); -} - -function addNamed(path, name, importedSource, opts) { - return new _importInjector.default(path).addNamed(name, importedSource, opts); -} - -function addNamespace(path, importedSource, opts) { - return new _importInjector.default(path).addNamespace(importedSource, opts); -} - -function addSideEffect(path, importedSource, opts) { - return new _importInjector.default(path).addSideEffect(importedSource, opts); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/lib/is-module.js b/node_modules/@babel/helper-module-imports/lib/is-module.js deleted file mode 100644 index ad9e399..0000000 --- a/node_modules/@babel/helper-module-imports/lib/is-module.js +++ /dev/null @@ -1,18 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = isModule; - -function isModule(path) { - const { - sourceType - } = path.node; - - if (sourceType !== "module" && sourceType !== "script") { - throw path.buildCodeFrameError(`Unknown sourceType "${sourceType}", cannot transform.`); - } - - return path.node.sourceType === "module"; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/package.json b/node_modules/@babel/helper-module-imports/package.json deleted file mode 100644 index 7814505..0000000 --- a/node_modules/@babel/helper-module-imports/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "@babel/helper-module-imports", - "version": "7.16.7", - "description": "Babel helper functions for inserting module loads", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helper-module-imports", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-module-imports" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "devDependencies": { - "@babel/core": "^7.16.7", - "@babel/traverse": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/LICENSE b/node_modules/@babel/helper-module-transforms/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-module-transforms/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-module-transforms/README.md b/node_modules/@babel/helper-module-transforms/README.md deleted file mode 100644 index c7b1a38..0000000 --- a/node_modules/@babel/helper-module-transforms/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-module-transforms - -> Babel helper functions for implementing ES6 module transformations - -See our website [@babel/helper-module-transforms](https://babeljs.io/docs/en/babel-helper-module-transforms) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-module-transforms -``` - -or using yarn: - -```sh -yarn add @babel/helper-module-transforms -``` diff --git a/node_modules/@babel/helper-module-transforms/lib/get-module-name.js b/node_modules/@babel/helper-module-transforms/lib/get-module-name.js deleted file mode 100644 index 87c2b83..0000000 --- a/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = getModuleName; -{ - const originalGetModuleName = getModuleName; - - exports.default = getModuleName = function getModuleName(rootOpts, pluginOpts) { - var _pluginOpts$moduleId, _pluginOpts$moduleIds, _pluginOpts$getModule, _pluginOpts$moduleRoo; - - return originalGetModuleName(rootOpts, { - moduleId: (_pluginOpts$moduleId = pluginOpts.moduleId) != null ? _pluginOpts$moduleId : rootOpts.moduleId, - moduleIds: (_pluginOpts$moduleIds = pluginOpts.moduleIds) != null ? _pluginOpts$moduleIds : rootOpts.moduleIds, - getModuleId: (_pluginOpts$getModule = pluginOpts.getModuleId) != null ? _pluginOpts$getModule : rootOpts.getModuleId, - moduleRoot: (_pluginOpts$moduleRoo = pluginOpts.moduleRoot) != null ? _pluginOpts$moduleRoo : rootOpts.moduleRoot - }); - }; -} - -function getModuleName(rootOpts, pluginOpts) { - const { - filename, - filenameRelative = filename, - sourceRoot = pluginOpts.moduleRoot - } = rootOpts; - const { - moduleId, - moduleIds = !!moduleId, - getModuleId, - moduleRoot = sourceRoot - } = pluginOpts; - if (!moduleIds) return null; - - if (moduleId != null && !getModuleId) { - return moduleId; - } - - let moduleName = moduleRoot != null ? moduleRoot + "/" : ""; - - if (filenameRelative) { - const sourceRootReplacer = sourceRoot != null ? new RegExp("^" + sourceRoot + "/?") : ""; - moduleName += filenameRelative.replace(sourceRootReplacer, "").replace(/\.(\w*?)$/, ""); - } - - moduleName = moduleName.replace(/\\/g, "/"); - - if (getModuleId) { - return getModuleId(moduleName) || moduleName; - } else { - return moduleName; - } -} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/index.js b/node_modules/@babel/helper-module-transforms/lib/index.js deleted file mode 100644 index 3418688..0000000 --- a/node_modules/@babel/helper-module-transforms/lib/index.js +++ /dev/null @@ -1,416 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.buildNamespaceInitStatements = buildNamespaceInitStatements; -exports.ensureStatementsHoisted = ensureStatementsHoisted; -Object.defineProperty(exports, "getModuleName", { - enumerable: true, - get: function () { - return _getModuleName.default; - } -}); -Object.defineProperty(exports, "hasExports", { - enumerable: true, - get: function () { - return _normalizeAndLoadMetadata.hasExports; - } -}); -Object.defineProperty(exports, "isModule", { - enumerable: true, - get: function () { - return _helperModuleImports.isModule; - } -}); -Object.defineProperty(exports, "isSideEffectImport", { - enumerable: true, - get: function () { - return _normalizeAndLoadMetadata.isSideEffectImport; - } -}); -exports.rewriteModuleStatementsAndPrepareHeader = rewriteModuleStatementsAndPrepareHeader; -Object.defineProperty(exports, "rewriteThis", { - enumerable: true, - get: function () { - return _rewriteThis.default; - } -}); -exports.wrapInterop = wrapInterop; - -var _assert = require("assert"); - -var _t = require("@babel/types"); - -var _template = require("@babel/template"); - -var _helperModuleImports = require("@babel/helper-module-imports"); - -var _rewriteThis = require("./rewrite-this"); - -var _rewriteLiveReferences = require("./rewrite-live-references"); - -var _normalizeAndLoadMetadata = require("./normalize-and-load-metadata"); - -var _getModuleName = require("./get-module-name"); - -const { - booleanLiteral, - callExpression, - cloneNode, - directive, - directiveLiteral, - expressionStatement, - identifier, - isIdentifier, - memberExpression, - stringLiteral, - valueToNode, - variableDeclaration, - variableDeclarator -} = _t; - -function rewriteModuleStatementsAndPrepareHeader(path, { - loose, - exportName, - strict, - allowTopLevelThis, - strictMode, - noInterop, - importInterop = noInterop ? "none" : "babel", - lazy, - esNamespaceOnly, - constantReexports = loose, - enumerableModuleMeta = loose, - noIncompleteNsImportDetection -}) { - (0, _normalizeAndLoadMetadata.validateImportInteropOption)(importInterop); - - _assert((0, _helperModuleImports.isModule)(path), "Cannot process module statements in a script"); - - path.node.sourceType = "script"; - const meta = (0, _normalizeAndLoadMetadata.default)(path, exportName, { - importInterop, - initializeReexports: constantReexports, - lazy, - esNamespaceOnly - }); - - if (!allowTopLevelThis) { - (0, _rewriteThis.default)(path); - } - - (0, _rewriteLiveReferences.default)(path, meta); - - if (strictMode !== false) { - const hasStrict = path.node.directives.some(directive => { - return directive.value.value === "use strict"; - }); - - if (!hasStrict) { - path.unshiftContainer("directives", directive(directiveLiteral("use strict"))); - } - } - - const headers = []; - - if ((0, _normalizeAndLoadMetadata.hasExports)(meta) && !strict) { - headers.push(buildESModuleHeader(meta, enumerableModuleMeta)); - } - - const nameList = buildExportNameListDeclaration(path, meta); - - if (nameList) { - meta.exportNameListName = nameList.name; - headers.push(nameList.statement); - } - - headers.push(...buildExportInitializationStatements(path, meta, constantReexports, noIncompleteNsImportDetection)); - return { - meta, - headers - }; -} - -function ensureStatementsHoisted(statements) { - statements.forEach(header => { - header._blockHoist = 3; - }); -} - -function wrapInterop(programPath, expr, type) { - if (type === "none") { - return null; - } - - if (type === "node-namespace") { - return callExpression(programPath.hub.addHelper("interopRequireWildcard"), [expr, booleanLiteral(true)]); - } else if (type === "node-default") { - return null; - } - - let helper; - - if (type === "default") { - helper = "interopRequireDefault"; - } else if (type === "namespace") { - helper = "interopRequireWildcard"; - } else { - throw new Error(`Unknown interop: ${type}`); - } - - return callExpression(programPath.hub.addHelper(helper), [expr]); -} - -function buildNamespaceInitStatements(metadata, sourceMetadata, constantReexports = false) { - const statements = []; - let srcNamespace = identifier(sourceMetadata.name); - if (sourceMetadata.lazy) srcNamespace = callExpression(srcNamespace, []); - - for (const localName of sourceMetadata.importsNamespace) { - if (localName === sourceMetadata.name) continue; - statements.push(_template.default.statement`var NAME = SOURCE;`({ - NAME: localName, - SOURCE: cloneNode(srcNamespace) - })); - } - - if (constantReexports) { - statements.push(...buildReexportsFromMeta(metadata, sourceMetadata, true)); - } - - for (const exportName of sourceMetadata.reexportNamespace) { - statements.push((sourceMetadata.lazy ? _template.default.statement` - Object.defineProperty(EXPORTS, "NAME", { - enumerable: true, - get: function() { - return NAMESPACE; - } - }); - ` : _template.default.statement`EXPORTS.NAME = NAMESPACE;`)({ - EXPORTS: metadata.exportName, - NAME: exportName, - NAMESPACE: cloneNode(srcNamespace) - })); - } - - if (sourceMetadata.reexportAll) { - const statement = buildNamespaceReexport(metadata, cloneNode(srcNamespace), constantReexports); - statement.loc = sourceMetadata.reexportAll.loc; - statements.push(statement); - } - - return statements; -} - -const ReexportTemplate = { - constant: _template.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`, - constantComputed: _template.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`, - spec: _template.default.statement` - Object.defineProperty(EXPORTS, "EXPORT_NAME", { - enumerable: true, - get: function() { - return NAMESPACE_IMPORT; - }, - }); - ` -}; - -const buildReexportsFromMeta = (meta, metadata, constantReexports) => { - const namespace = metadata.lazy ? callExpression(identifier(metadata.name), []) : identifier(metadata.name); - const { - stringSpecifiers - } = meta; - return Array.from(metadata.reexports, ([exportName, importName]) => { - let NAMESPACE_IMPORT = cloneNode(namespace); - - if (importName === "default" && metadata.interop === "node-default") {} else if (stringSpecifiers.has(importName)) { - NAMESPACE_IMPORT = memberExpression(NAMESPACE_IMPORT, stringLiteral(importName), true); - } else { - NAMESPACE_IMPORT = memberExpression(NAMESPACE_IMPORT, identifier(importName)); - } - - const astNodes = { - EXPORTS: meta.exportName, - EXPORT_NAME: exportName, - NAMESPACE_IMPORT - }; - - if (constantReexports || isIdentifier(NAMESPACE_IMPORT)) { - if (stringSpecifiers.has(exportName)) { - return ReexportTemplate.constantComputed(astNodes); - } else { - return ReexportTemplate.constant(astNodes); - } - } else { - return ReexportTemplate.spec(astNodes); - } - }); -}; - -function buildESModuleHeader(metadata, enumerableModuleMeta = false) { - return (enumerableModuleMeta ? _template.default.statement` - EXPORTS.__esModule = true; - ` : _template.default.statement` - Object.defineProperty(EXPORTS, "__esModule", { - value: true, - }); - `)({ - EXPORTS: metadata.exportName - }); -} - -function buildNamespaceReexport(metadata, namespace, constantReexports) { - return (constantReexports ? _template.default.statement` - Object.keys(NAMESPACE).forEach(function(key) { - if (key === "default" || key === "__esModule") return; - VERIFY_NAME_LIST; - if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - - EXPORTS[key] = NAMESPACE[key]; - }); - ` : _template.default.statement` - Object.keys(NAMESPACE).forEach(function(key) { - if (key === "default" || key === "__esModule") return; - VERIFY_NAME_LIST; - if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; - - Object.defineProperty(EXPORTS, key, { - enumerable: true, - get: function() { - return NAMESPACE[key]; - }, - }); - }); - `)({ - NAMESPACE: namespace, - EXPORTS: metadata.exportName, - VERIFY_NAME_LIST: metadata.exportNameListName ? (0, _template.default)` - if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; - `({ - EXPORTS_LIST: metadata.exportNameListName - }) : null - }); -} - -function buildExportNameListDeclaration(programPath, metadata) { - const exportedVars = Object.create(null); - - for (const data of metadata.local.values()) { - for (const name of data.names) { - exportedVars[name] = true; - } - } - - let hasReexport = false; - - for (const data of metadata.source.values()) { - for (const exportName of data.reexports.keys()) { - exportedVars[exportName] = true; - } - - for (const exportName of data.reexportNamespace) { - exportedVars[exportName] = true; - } - - hasReexport = hasReexport || !!data.reexportAll; - } - - if (!hasReexport || Object.keys(exportedVars).length === 0) return null; - const name = programPath.scope.generateUidIdentifier("exportNames"); - delete exportedVars.default; - return { - name: name.name, - statement: variableDeclaration("var", [variableDeclarator(name, valueToNode(exportedVars))]) - }; -} - -function buildExportInitializationStatements(programPath, metadata, constantReexports = false, noIncompleteNsImportDetection = false) { - const initStatements = []; - - for (const [localName, data] of metadata.local) { - if (data.kind === "import") {} else if (data.kind === "hoisted") { - initStatements.push([data.names[0], buildInitStatement(metadata, data.names, identifier(localName))]); - } else if (!noIncompleteNsImportDetection) { - for (const exportName of data.names) { - initStatements.push([exportName, null]); - } - } - } - - for (const data of metadata.source.values()) { - if (!constantReexports) { - const reexportsStatements = buildReexportsFromMeta(metadata, data, false); - const reexports = [...data.reexports.keys()]; - - for (let i = 0; i < reexportsStatements.length; i++) { - initStatements.push([reexports[i], reexportsStatements[i]]); - } - } - - if (!noIncompleteNsImportDetection) { - for (const exportName of data.reexportNamespace) { - initStatements.push([exportName, null]); - } - } - } - - initStatements.sort((a, b) => a[0] > b[0] ? 1 : -1); - const results = []; - - if (noIncompleteNsImportDetection) { - for (const [, initStatement] of initStatements) { - results.push(initStatement); - } - } else { - const chunkSize = 100; - - for (let i = 0, uninitializedExportNames = []; i < initStatements.length; i += chunkSize) { - for (let j = 0; j < chunkSize && i + j < initStatements.length; j++) { - const [exportName, initStatement] = initStatements[i + j]; - - if (initStatement !== null) { - if (uninitializedExportNames.length > 0) { - results.push(buildInitStatement(metadata, uninitializedExportNames, programPath.scope.buildUndefinedNode())); - uninitializedExportNames = []; - } - - results.push(initStatement); - } else { - uninitializedExportNames.push(exportName); - } - } - - if (uninitializedExportNames.length > 0) { - results.push(buildInitStatement(metadata, uninitializedExportNames, programPath.scope.buildUndefinedNode())); - } - } - } - - return results; -} - -const InitTemplate = { - computed: _template.default.expression`EXPORTS["NAME"] = VALUE`, - default: _template.default.expression`EXPORTS.NAME = VALUE` -}; - -function buildInitStatement(metadata, exportNames, initExpr) { - const { - stringSpecifiers, - exportName: EXPORTS - } = metadata; - return expressionStatement(exportNames.reduce((acc, exportName) => { - const params = { - EXPORTS, - NAME: exportName, - VALUE: acc - }; - - if (stringSpecifiers.has(exportName)) { - return InitTemplate.computed(params); - } else { - return InitTemplate.default(params); - } - }, initExpr)); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js b/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js deleted file mode 100644 index f98ee95..0000000 --- a/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +++ /dev/null @@ -1,398 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = normalizeModuleAndLoadMetadata; -exports.hasExports = hasExports; -exports.isSideEffectImport = isSideEffectImport; -exports.validateImportInteropOption = validateImportInteropOption; - -var _path = require("path"); - -var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); - -var _helperSplitExportDeclaration = require("@babel/helper-split-export-declaration"); - -function hasExports(metadata) { - return metadata.hasExports; -} - -function isSideEffectImport(source) { - return source.imports.size === 0 && source.importsNamespace.size === 0 && source.reexports.size === 0 && source.reexportNamespace.size === 0 && !source.reexportAll; -} - -function validateImportInteropOption(importInterop) { - if (typeof importInterop !== "function" && importInterop !== "none" && importInterop !== "babel" && importInterop !== "node") { - throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${importInterop}).`); - } - - return importInterop; -} - -function resolveImportInterop(importInterop, source) { - if (typeof importInterop === "function") { - return validateImportInteropOption(importInterop(source)); - } - - return importInterop; -} - -function normalizeModuleAndLoadMetadata(programPath, exportName, { - importInterop, - initializeReexports = false, - lazy = false, - esNamespaceOnly = false -}) { - if (!exportName) { - exportName = programPath.scope.generateUidIdentifier("exports").name; - } - - const stringSpecifiers = new Set(); - nameAnonymousExports(programPath); - const { - local, - source, - hasExports - } = getModuleMetadata(programPath, { - initializeReexports, - lazy - }, stringSpecifiers); - removeModuleDeclarations(programPath); - - for (const [, metadata] of source) { - if (metadata.importsNamespace.size > 0) { - metadata.name = metadata.importsNamespace.values().next().value; - } - - const resolvedInterop = resolveImportInterop(importInterop, metadata.source); - - if (resolvedInterop === "none") { - metadata.interop = "none"; - } else if (resolvedInterop === "node" && metadata.interop === "namespace") { - metadata.interop = "node-namespace"; - } else if (resolvedInterop === "node" && metadata.interop === "default") { - metadata.interop = "node-default"; - } else if (esNamespaceOnly && metadata.interop === "namespace") { - metadata.interop = "default"; - } - } - - return { - exportName, - exportNameListName: null, - hasExports, - local, - source, - stringSpecifiers - }; -} - -function getExportSpecifierName(path, stringSpecifiers) { - if (path.isIdentifier()) { - return path.node.name; - } else if (path.isStringLiteral()) { - const stringValue = path.node.value; - - if (!(0, _helperValidatorIdentifier.isIdentifierName)(stringValue)) { - stringSpecifiers.add(stringValue); - } - - return stringValue; - } else { - throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${path.node.type}`); - } -} - -function assertExportSpecifier(path) { - if (path.isExportSpecifier()) { - return; - } else if (path.isExportNamespaceSpecifier()) { - throw path.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`."); - } else { - throw path.buildCodeFrameError("Unexpected export specifier type"); - } -} - -function getModuleMetadata(programPath, { - lazy, - initializeReexports -}, stringSpecifiers) { - const localData = getLocalExportMetadata(programPath, initializeReexports, stringSpecifiers); - const sourceData = new Map(); - - const getData = sourceNode => { - const source = sourceNode.value; - let data = sourceData.get(source); - - if (!data) { - data = { - name: programPath.scope.generateUidIdentifier((0, _path.basename)(source, (0, _path.extname)(source))).name, - interop: "none", - loc: null, - imports: new Map(), - importsNamespace: new Set(), - reexports: new Map(), - reexportNamespace: new Set(), - reexportAll: null, - lazy: false, - source - }; - sourceData.set(source, data); - } - - return data; - }; - - let hasExports = false; - programPath.get("body").forEach(child => { - if (child.isImportDeclaration()) { - const data = getData(child.node.source); - if (!data.loc) data.loc = child.node.loc; - child.get("specifiers").forEach(spec => { - if (spec.isImportDefaultSpecifier()) { - const localName = spec.get("local").node.name; - data.imports.set(localName, "default"); - const reexport = localData.get(localName); - - if (reexport) { - localData.delete(localName); - reexport.names.forEach(name => { - data.reexports.set(name, "default"); - }); - } - } else if (spec.isImportNamespaceSpecifier()) { - const localName = spec.get("local").node.name; - data.importsNamespace.add(localName); - const reexport = localData.get(localName); - - if (reexport) { - localData.delete(localName); - reexport.names.forEach(name => { - data.reexportNamespace.add(name); - }); - } - } else if (spec.isImportSpecifier()) { - const importName = getExportSpecifierName(spec.get("imported"), stringSpecifiers); - const localName = spec.get("local").node.name; - data.imports.set(localName, importName); - const reexport = localData.get(localName); - - if (reexport) { - localData.delete(localName); - reexport.names.forEach(name => { - data.reexports.set(name, importName); - }); - } - } - }); - } else if (child.isExportAllDeclaration()) { - hasExports = true; - const data = getData(child.node.source); - if (!data.loc) data.loc = child.node.loc; - data.reexportAll = { - loc: child.node.loc - }; - } else if (child.isExportNamedDeclaration() && child.node.source) { - hasExports = true; - const data = getData(child.node.source); - if (!data.loc) data.loc = child.node.loc; - child.get("specifiers").forEach(spec => { - assertExportSpecifier(spec); - const importName = getExportSpecifierName(spec.get("local"), stringSpecifiers); - const exportName = getExportSpecifierName(spec.get("exported"), stringSpecifiers); - data.reexports.set(exportName, importName); - - if (exportName === "__esModule") { - throw spec.get("exported").buildCodeFrameError('Illegal export "__esModule".'); - } - }); - } else if (child.isExportNamedDeclaration() || child.isExportDefaultDeclaration()) { - hasExports = true; - } - }); - - for (const metadata of sourceData.values()) { - let needsDefault = false; - let needsNamed = false; - - if (metadata.importsNamespace.size > 0) { - needsDefault = true; - needsNamed = true; - } - - if (metadata.reexportAll) { - needsNamed = true; - } - - for (const importName of metadata.imports.values()) { - if (importName === "default") needsDefault = true;else needsNamed = true; - } - - for (const importName of metadata.reexports.values()) { - if (importName === "default") needsDefault = true;else needsNamed = true; - } - - if (needsDefault && needsNamed) { - metadata.interop = "namespace"; - } else if (needsDefault) { - metadata.interop = "default"; - } - } - - for (const [source, metadata] of sourceData) { - if (lazy !== false && !(isSideEffectImport(metadata) || metadata.reexportAll)) { - if (lazy === true) { - metadata.lazy = !/\./.test(source); - } else if (Array.isArray(lazy)) { - metadata.lazy = lazy.indexOf(source) !== -1; - } else if (typeof lazy === "function") { - metadata.lazy = lazy(source); - } else { - throw new Error(`.lazy must be a boolean, string array, or function`); - } - } - } - - return { - hasExports, - local: localData, - source: sourceData - }; -} - -function getLocalExportMetadata(programPath, initializeReexports, stringSpecifiers) { - const bindingKindLookup = new Map(); - programPath.get("body").forEach(child => { - let kind; - - if (child.isImportDeclaration()) { - kind = "import"; - } else { - if (child.isExportDefaultDeclaration()) child = child.get("declaration"); - - if (child.isExportNamedDeclaration()) { - if (child.node.declaration) { - child = child.get("declaration"); - } else if (initializeReexports && child.node.source && child.get("source").isStringLiteral()) { - child.get("specifiers").forEach(spec => { - assertExportSpecifier(spec); - bindingKindLookup.set(spec.get("local").node.name, "block"); - }); - return; - } - } - - if (child.isFunctionDeclaration()) { - kind = "hoisted"; - } else if (child.isClassDeclaration()) { - kind = "block"; - } else if (child.isVariableDeclaration({ - kind: "var" - })) { - kind = "var"; - } else if (child.isVariableDeclaration()) { - kind = "block"; - } else { - return; - } - } - - Object.keys(child.getOuterBindingIdentifiers()).forEach(name => { - bindingKindLookup.set(name, kind); - }); - }); - const localMetadata = new Map(); - - const getLocalMetadata = idPath => { - const localName = idPath.node.name; - let metadata = localMetadata.get(localName); - - if (!metadata) { - const kind = bindingKindLookup.get(localName); - - if (kind === undefined) { - throw idPath.buildCodeFrameError(`Exporting local "${localName}", which is not declared.`); - } - - metadata = { - names: [], - kind - }; - localMetadata.set(localName, metadata); - } - - return metadata; - }; - - programPath.get("body").forEach(child => { - if (child.isExportNamedDeclaration() && (initializeReexports || !child.node.source)) { - if (child.node.declaration) { - const declaration = child.get("declaration"); - const ids = declaration.getOuterBindingIdentifierPaths(); - Object.keys(ids).forEach(name => { - if (name === "__esModule") { - throw declaration.buildCodeFrameError('Illegal export "__esModule".'); - } - - getLocalMetadata(ids[name]).names.push(name); - }); - } else { - child.get("specifiers").forEach(spec => { - const local = spec.get("local"); - const exported = spec.get("exported"); - const localMetadata = getLocalMetadata(local); - const exportName = getExportSpecifierName(exported, stringSpecifiers); - - if (exportName === "__esModule") { - throw exported.buildCodeFrameError('Illegal export "__esModule".'); - } - - localMetadata.names.push(exportName); - }); - } - } else if (child.isExportDefaultDeclaration()) { - const declaration = child.get("declaration"); - - if (declaration.isFunctionDeclaration() || declaration.isClassDeclaration()) { - getLocalMetadata(declaration.get("id")).names.push("default"); - } else { - throw declaration.buildCodeFrameError("Unexpected default expression export."); - } - } - }); - return localMetadata; -} - -function nameAnonymousExports(programPath) { - programPath.get("body").forEach(child => { - if (!child.isExportDefaultDeclaration()) return; - (0, _helperSplitExportDeclaration.default)(child); - }); -} - -function removeModuleDeclarations(programPath) { - programPath.get("body").forEach(child => { - if (child.isImportDeclaration()) { - child.remove(); - } else if (child.isExportNamedDeclaration()) { - if (child.node.declaration) { - child.node.declaration._blockHoist = child.node._blockHoist; - child.replaceWith(child.node.declaration); - } else { - child.remove(); - } - } else if (child.isExportDefaultDeclaration()) { - const declaration = child.get("declaration"); - - if (declaration.isFunctionDeclaration() || declaration.isClassDeclaration()) { - declaration._blockHoist = child.node._blockHoist; - child.replaceWith(declaration); - } else { - throw declaration.buildCodeFrameError("Unexpected default expression export."); - } - } else if (child.isExportAllDeclaration()) { - child.remove(); - } - }); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js b/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js deleted file mode 100644 index 8173fd5..0000000 --- a/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +++ /dev/null @@ -1,360 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = rewriteLiveReferences; - -var _assert = require("assert"); - -var _t = require("@babel/types"); - -var _template = require("@babel/template"); - -var _helperSimpleAccess = require("@babel/helper-simple-access"); - -const { - assignmentExpression, - callExpression, - cloneNode, - expressionStatement, - getOuterBindingIdentifiers, - identifier, - isMemberExpression, - isVariableDeclaration, - jsxIdentifier, - jsxMemberExpression, - memberExpression, - numericLiteral, - sequenceExpression, - stringLiteral, - variableDeclaration, - variableDeclarator -} = _t; - -function isInType(path) { - do { - switch (path.parent.type) { - case "TSTypeAnnotation": - case "TSTypeAliasDeclaration": - case "TSTypeReference": - case "TypeAnnotation": - case "TypeAlias": - return true; - - case "ExportSpecifier": - return path.parentPath.parent.exportKind === "type"; - - default: - if (path.parentPath.isStatement() || path.parentPath.isExpression()) { - return false; - } - - } - } while (path = path.parentPath); -} - -function rewriteLiveReferences(programPath, metadata) { - const imported = new Map(); - const exported = new Map(); - - const requeueInParent = path => { - programPath.requeue(path); - }; - - for (const [source, data] of metadata.source) { - for (const [localName, importName] of data.imports) { - imported.set(localName, [source, importName, null]); - } - - for (const localName of data.importsNamespace) { - imported.set(localName, [source, null, localName]); - } - } - - for (const [local, data] of metadata.local) { - let exportMeta = exported.get(local); - - if (!exportMeta) { - exportMeta = []; - exported.set(local, exportMeta); - } - - exportMeta.push(...data.names); - } - - const rewriteBindingInitVisitorState = { - metadata, - requeueInParent, - scope: programPath.scope, - exported - }; - programPath.traverse(rewriteBindingInitVisitor, rewriteBindingInitVisitorState); - (0, _helperSimpleAccess.default)(programPath, new Set([...Array.from(imported.keys()), ...Array.from(exported.keys())])); - const rewriteReferencesVisitorState = { - seen: new WeakSet(), - metadata, - requeueInParent, - scope: programPath.scope, - imported, - exported, - buildImportReference: ([source, importName, localName], identNode) => { - const meta = metadata.source.get(source); - - if (localName) { - if (meta.lazy) identNode = callExpression(identNode, []); - return identNode; - } - - let namespace = identifier(meta.name); - if (meta.lazy) namespace = callExpression(namespace, []); - - if (importName === "default" && meta.interop === "node-default") { - return namespace; - } - - const computed = metadata.stringSpecifiers.has(importName); - return memberExpression(namespace, computed ? stringLiteral(importName) : identifier(importName), computed); - } - }; - programPath.traverse(rewriteReferencesVisitor, rewriteReferencesVisitorState); -} - -const rewriteBindingInitVisitor = { - Scope(path) { - path.skip(); - }, - - ClassDeclaration(path) { - const { - requeueInParent, - exported, - metadata - } = this; - const { - id - } = path.node; - if (!id) throw new Error("Expected class to have a name"); - const localName = id.name; - const exportNames = exported.get(localName) || []; - - if (exportNames.length > 0) { - const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, identifier(localName))); - statement._blockHoist = path.node._blockHoist; - requeueInParent(path.insertAfter(statement)[0]); - } - }, - - VariableDeclaration(path) { - const { - requeueInParent, - exported, - metadata - } = this; - Object.keys(path.getOuterBindingIdentifiers()).forEach(localName => { - const exportNames = exported.get(localName) || []; - - if (exportNames.length > 0) { - const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, identifier(localName))); - statement._blockHoist = path.node._blockHoist; - requeueInParent(path.insertAfter(statement)[0]); - } - }); - } - -}; - -const buildBindingExportAssignmentExpression = (metadata, exportNames, localExpr) => { - return (exportNames || []).reduce((expr, exportName) => { - const { - stringSpecifiers - } = metadata; - const computed = stringSpecifiers.has(exportName); - return assignmentExpression("=", memberExpression(identifier(metadata.exportName), computed ? stringLiteral(exportName) : identifier(exportName), computed), expr); - }, localExpr); -}; - -const buildImportThrow = localName => { - return _template.default.expression.ast` - (function() { - throw new Error('"' + '${localName}' + '" is read-only.'); - })() - `; -}; - -const rewriteReferencesVisitor = { - ReferencedIdentifier(path) { - const { - seen, - buildImportReference, - scope, - imported, - requeueInParent - } = this; - if (seen.has(path.node)) return; - seen.add(path.node); - const localName = path.node.name; - const importData = imported.get(localName); - - if (importData) { - if (isInType(path)) { - throw path.buildCodeFrameError(`Cannot transform the imported binding "${localName}" since it's also used in a type annotation. ` + `Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`); - } - - const localBinding = path.scope.getBinding(localName); - const rootBinding = scope.getBinding(localName); - if (rootBinding !== localBinding) return; - const ref = buildImportReference(importData, path.node); - ref.loc = path.node.loc; - - if ((path.parentPath.isCallExpression({ - callee: path.node - }) || path.parentPath.isOptionalCallExpression({ - callee: path.node - }) || path.parentPath.isTaggedTemplateExpression({ - tag: path.node - })) && isMemberExpression(ref)) { - path.replaceWith(sequenceExpression([numericLiteral(0), ref])); - } else if (path.isJSXIdentifier() && isMemberExpression(ref)) { - const { - object, - property - } = ref; - path.replaceWith(jsxMemberExpression(jsxIdentifier(object.name), jsxIdentifier(property.name))); - } else { - path.replaceWith(ref); - } - - requeueInParent(path); - path.skip(); - } - }, - - AssignmentExpression: { - exit(path) { - const { - scope, - seen, - imported, - exported, - requeueInParent, - buildImportReference - } = this; - if (seen.has(path.node)) return; - seen.add(path.node); - const left = path.get("left"); - if (left.isMemberExpression()) return; - - if (left.isIdentifier()) { - const localName = left.node.name; - - if (scope.getBinding(localName) !== path.scope.getBinding(localName)) { - return; - } - - const exportedNames = exported.get(localName); - const importData = imported.get(localName); - - if ((exportedNames == null ? void 0 : exportedNames.length) > 0 || importData) { - _assert(path.node.operator === "=", "Path was not simplified"); - - const assignment = path.node; - - if (importData) { - assignment.left = buildImportReference(importData, assignment.left); - assignment.right = sequenceExpression([assignment.right, buildImportThrow(localName)]); - } - - path.replaceWith(buildBindingExportAssignmentExpression(this.metadata, exportedNames, assignment)); - requeueInParent(path); - } - } else { - const ids = left.getOuterBindingIdentifiers(); - const programScopeIds = Object.keys(ids).filter(localName => scope.getBinding(localName) === path.scope.getBinding(localName)); - const id = programScopeIds.find(localName => imported.has(localName)); - - if (id) { - path.node.right = sequenceExpression([path.node.right, buildImportThrow(id)]); - } - - const items = []; - programScopeIds.forEach(localName => { - const exportedNames = exported.get(localName) || []; - - if (exportedNames.length > 0) { - items.push(buildBindingExportAssignmentExpression(this.metadata, exportedNames, identifier(localName))); - } - }); - - if (items.length > 0) { - let node = sequenceExpression(items); - - if (path.parentPath.isExpressionStatement()) { - node = expressionStatement(node); - node._blockHoist = path.parentPath.node._blockHoist; - } - - const statement = path.insertAfter(node)[0]; - requeueInParent(statement); - } - } - } - - }, - - "ForOfStatement|ForInStatement"(path) { - const { - scope, - node - } = path; - const { - left - } = node; - const { - exported, - imported, - scope: programScope - } = this; - - if (!isVariableDeclaration(left)) { - let didTransformExport = false, - importConstViolationName; - const loopBodyScope = path.get("body").scope; - - for (const name of Object.keys(getOuterBindingIdentifiers(left))) { - if (programScope.getBinding(name) === scope.getBinding(name)) { - if (exported.has(name)) { - didTransformExport = true; - - if (loopBodyScope.hasOwnBinding(name)) { - loopBodyScope.rename(name); - } - } - - if (imported.has(name) && !importConstViolationName) { - importConstViolationName = name; - } - } - } - - if (!didTransformExport && !importConstViolationName) { - return; - } - - path.ensureBlock(); - const bodyPath = path.get("body"); - const newLoopId = scope.generateUidIdentifierBasedOnNode(left); - path.get("left").replaceWith(variableDeclaration("let", [variableDeclarator(cloneNode(newLoopId))])); - scope.registerDeclaration(path.get("left")); - - if (didTransformExport) { - bodyPath.unshiftContainer("body", expressionStatement(assignmentExpression("=", left, newLoopId))); - } - - if (importConstViolationName) { - bodyPath.unshiftContainer("body", expressionStatement(buildImportThrow(importConstViolationName))); - } - } - } - -}; \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js b/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js deleted file mode 100644 index 9165539..0000000 --- a/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = rewriteThis; - -var _helperEnvironmentVisitor = require("@babel/helper-environment-visitor"); - -var _traverse = require("@babel/traverse"); - -var _t = require("@babel/types"); - -const { - numericLiteral, - unaryExpression -} = _t; - -function rewriteThis(programPath) { - (0, _traverse.default)(programPath.node, Object.assign({}, rewriteThisVisitor, { - noScope: true - })); -} - -const rewriteThisVisitor = _traverse.default.visitors.merge([_helperEnvironmentVisitor.default, { - ThisExpression(path) { - path.replaceWith(unaryExpression("void", numericLiteral(0), true)); - } - -}]); \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/package.json b/node_modules/@babel/helper-module-transforms/package.json deleted file mode 100644 index 3149bdd..0000000 --- a/node_modules/@babel/helper-module-transforms/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "@babel/helper-module-transforms", - "version": "7.16.7", - "description": "Babel helper functions for implementing ES6 module transformations", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helper-module-transforms", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-module-transforms" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/helper-plugin-utils/LICENSE b/node_modules/@babel/helper-plugin-utils/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-plugin-utils/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-plugin-utils/README.md b/node_modules/@babel/helper-plugin-utils/README.md deleted file mode 100644 index c17852d..0000000 --- a/node_modules/@babel/helper-plugin-utils/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-plugin-utils - -> General utilities for plugins to use - -See our website [@babel/helper-plugin-utils](https://babeljs.io/docs/en/babel-helper-plugin-utils) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-plugin-utils -``` - -or using yarn: - -```sh -yarn add @babel/helper-plugin-utils -``` diff --git a/node_modules/@babel/helper-plugin-utils/lib/index.js b/node_modules/@babel/helper-plugin-utils/lib/index.js deleted file mode 100644 index 0ba1be0..0000000 --- a/node_modules/@babel/helper-plugin-utils/lib/index.js +++ /dev/null @@ -1,90 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.declare = declare; - -function declare(builder) { - return (api, options, dirname) => { - var _clonedApi2; - - let clonedApi; - - for (const name of Object.keys(apiPolyfills)) { - var _clonedApi; - - if (api[name]) continue; - clonedApi = (_clonedApi = clonedApi) != null ? _clonedApi : copyApiObject(api); - clonedApi[name] = apiPolyfills[name](clonedApi); - } - - return builder((_clonedApi2 = clonedApi) != null ? _clonedApi2 : api, options || {}, dirname); - }; -} - -const apiPolyfills = { - assertVersion: api => range => { - throwVersionError(range, api.version); - }, - targets: () => () => { - return {}; - }, - assumption: () => () => {} -}; - -function copyApiObject(api) { - let proto = null; - - if (typeof api.version === "string" && /^7\./.test(api.version)) { - proto = Object.getPrototypeOf(api); - - if (proto && (!has(proto, "version") || !has(proto, "transform") || !has(proto, "template") || !has(proto, "types"))) { - proto = null; - } - } - - return Object.assign({}, proto, api); -} - -function has(obj, key) { - return Object.prototype.hasOwnProperty.call(obj, key); -} - -function throwVersionError(range, version) { - if (typeof range === "number") { - if (!Number.isInteger(range)) { - throw new Error("Expected string or integer value."); - } - - range = `^${range}.0.0-0`; - } - - if (typeof range !== "string") { - throw new Error("Expected string or integer value."); - } - - const limit = Error.stackTraceLimit; - - if (typeof limit === "number" && limit < 25) { - Error.stackTraceLimit = 25; - } - - let err; - - if (version.slice(0, 2) === "7.") { - err = new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${version}". ` + `You'll need to update your @babel/core version.`); - } else { - err = new Error(`Requires Babel "${range}", but was loaded with "${version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`); - } - - if (typeof limit === "number") { - Error.stackTraceLimit = limit; - } - - throw Object.assign(err, { - code: "BABEL_VERSION_UNSUPPORTED", - version, - range - }); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-plugin-utils/package.json b/node_modules/@babel/helper-plugin-utils/package.json deleted file mode 100644 index 740d52a..0000000 --- a/node_modules/@babel/helper-plugin-utils/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@babel/helper-plugin-utils", - "version": "7.16.7", - "description": "General utilities for plugins to use", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helper-plugin-utils", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-plugin-utils" - }, - "main": "./lib/index.js", - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/helper-simple-access/LICENSE b/node_modules/@babel/helper-simple-access/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-simple-access/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-simple-access/README.md b/node_modules/@babel/helper-simple-access/README.md deleted file mode 100644 index 01aa70a..0000000 --- a/node_modules/@babel/helper-simple-access/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-simple-access - -> Babel helper for ensuring that access to a given value is performed through simple accesses - -See our website [@babel/helper-simple-access](https://babeljs.io/docs/en/babel-helper-simple-access) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-simple-access -``` - -or using yarn: - -```sh -yarn add @babel/helper-simple-access -``` diff --git a/node_modules/@babel/helper-simple-access/lib/index.js b/node_modules/@babel/helper-simple-access/lib/index.js deleted file mode 100644 index 69bacda..0000000 --- a/node_modules/@babel/helper-simple-access/lib/index.js +++ /dev/null @@ -1,93 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = simplifyAccess; - -var _t = require("@babel/types"); - -const { - LOGICAL_OPERATORS, - assignmentExpression, - binaryExpression, - cloneNode, - identifier, - logicalExpression, - numericLiteral, - sequenceExpression, - unaryExpression -} = _t; - -function simplifyAccess(path, bindingNames) { - path.traverse(simpleAssignmentVisitor, { - scope: path.scope, - bindingNames, - seen: new WeakSet() - }); -} - -const simpleAssignmentVisitor = { - UpdateExpression: { - exit(path) { - const { - scope, - bindingNames - } = this; - const arg = path.get("argument"); - if (!arg.isIdentifier()) return; - const localName = arg.node.name; - if (!bindingNames.has(localName)) return; - - if (scope.getBinding(localName) !== path.scope.getBinding(localName)) { - return; - } - - if (path.parentPath.isExpressionStatement() && !path.isCompletionRecord()) { - const operator = path.node.operator == "++" ? "+=" : "-="; - path.replaceWith(assignmentExpression(operator, arg.node, numericLiteral(1))); - } else if (path.node.prefix) { - path.replaceWith(assignmentExpression("=", identifier(localName), binaryExpression(path.node.operator[0], unaryExpression("+", arg.node), numericLiteral(1)))); - } else { - const old = path.scope.generateUidIdentifierBasedOnNode(arg.node, "old"); - const varName = old.name; - path.scope.push({ - id: old - }); - const binary = binaryExpression(path.node.operator[0], identifier(varName), numericLiteral(1)); - path.replaceWith(sequenceExpression([assignmentExpression("=", identifier(varName), unaryExpression("+", arg.node)), assignmentExpression("=", cloneNode(arg.node), binary), identifier(varName)])); - } - } - - }, - AssignmentExpression: { - exit(path) { - const { - scope, - seen, - bindingNames - } = this; - if (path.node.operator === "=") return; - if (seen.has(path.node)) return; - seen.add(path.node); - const left = path.get("left"); - if (!left.isIdentifier()) return; - const localName = left.node.name; - if (!bindingNames.has(localName)) return; - - if (scope.getBinding(localName) !== path.scope.getBinding(localName)) { - return; - } - - const operator = path.node.operator.slice(0, -1); - - if (LOGICAL_OPERATORS.includes(operator)) { - path.replaceWith(logicalExpression(operator, path.node.left, assignmentExpression("=", cloneNode(path.node.left), path.node.right))); - } else { - path.node.right = binaryExpression(operator, cloneNode(path.node.left), path.node.right); - path.node.operator = "="; - } - } - - } -}; \ No newline at end of file diff --git a/node_modules/@babel/helper-simple-access/package.json b/node_modules/@babel/helper-simple-access/package.json deleted file mode 100644 index e30c7ed..0000000 --- a/node_modules/@babel/helper-simple-access/package.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "@babel/helper-simple-access", - "version": "7.16.7", - "description": "Babel helper for ensuring that access to a given value is performed through simple accesses", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helper-simple-access", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-simple-access" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "devDependencies": { - "@babel/traverse": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/helper-split-export-declaration/LICENSE b/node_modules/@babel/helper-split-export-declaration/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-split-export-declaration/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-split-export-declaration/README.md b/node_modules/@babel/helper-split-export-declaration/README.md deleted file mode 100644 index b76e8ef..0000000 --- a/node_modules/@babel/helper-split-export-declaration/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-split-export-declaration - -> - -See our website [@babel/helper-split-export-declaration](https://babeljs.io/docs/en/babel-helper-split-export-declaration) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-split-export-declaration -``` - -or using yarn: - -```sh -yarn add @babel/helper-split-export-declaration -``` diff --git a/node_modules/@babel/helper-split-export-declaration/lib/index.js b/node_modules/@babel/helper-split-export-declaration/lib/index.js deleted file mode 100644 index 6007f89..0000000 --- a/node_modules/@babel/helper-split-export-declaration/lib/index.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = splitExportDeclaration; - -var _t = require("@babel/types"); - -const { - cloneNode, - exportNamedDeclaration, - exportSpecifier, - identifier, - variableDeclaration, - variableDeclarator -} = _t; - -function splitExportDeclaration(exportDeclaration) { - if (!exportDeclaration.isExportDeclaration()) { - throw new Error("Only export declarations can be split."); - } - - const isDefault = exportDeclaration.isExportDefaultDeclaration(); - const declaration = exportDeclaration.get("declaration"); - const isClassDeclaration = declaration.isClassDeclaration(); - - if (isDefault) { - const standaloneDeclaration = declaration.isFunctionDeclaration() || isClassDeclaration; - const scope = declaration.isScope() ? declaration.scope.parent : declaration.scope; - let id = declaration.node.id; - let needBindingRegistration = false; - - if (!id) { - needBindingRegistration = true; - id = scope.generateUidIdentifier("default"); - - if (standaloneDeclaration || declaration.isFunctionExpression() || declaration.isClassExpression()) { - declaration.node.id = cloneNode(id); - } - } - - const updatedDeclaration = standaloneDeclaration ? declaration : variableDeclaration("var", [variableDeclarator(cloneNode(id), declaration.node)]); - const updatedExportDeclaration = exportNamedDeclaration(null, [exportSpecifier(cloneNode(id), identifier("default"))]); - exportDeclaration.insertAfter(updatedExportDeclaration); - exportDeclaration.replaceWith(updatedDeclaration); - - if (needBindingRegistration) { - scope.registerDeclaration(exportDeclaration); - } - - return exportDeclaration; - } - - if (exportDeclaration.get("specifiers").length > 0) { - throw new Error("It doesn't make sense to split exported specifiers."); - } - - const bindingIdentifiers = declaration.getOuterBindingIdentifiers(); - const specifiers = Object.keys(bindingIdentifiers).map(name => { - return exportSpecifier(identifier(name), identifier(name)); - }); - const aliasDeclar = exportNamedDeclaration(null, specifiers); - exportDeclaration.insertAfter(aliasDeclar); - exportDeclaration.replaceWith(declaration.node); - return exportDeclaration; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-split-export-declaration/package.json b/node_modules/@babel/helper-split-export-declaration/package.json deleted file mode 100644 index 3836b19..0000000 --- a/node_modules/@babel/helper-split-export-declaration/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@babel/helper-split-export-declaration", - "version": "7.16.7", - "description": "", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-split-export-declaration" - }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-split-export-declaration", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/LICENSE b/node_modules/@babel/helper-validator-identifier/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-validator-identifier/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-validator-identifier/README.md b/node_modules/@babel/helper-validator-identifier/README.md deleted file mode 100644 index 4f704c4..0000000 --- a/node_modules/@babel/helper-validator-identifier/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-validator-identifier - -> Validate identifier/keywords name - -See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/en/babel-helper-validator-identifier) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-validator-identifier -``` - -or using yarn: - -```sh -yarn add @babel/helper-validator-identifier -``` diff --git a/node_modules/@babel/helper-validator-identifier/lib/identifier.js b/node_modules/@babel/helper-validator-identifier/lib/identifier.js deleted file mode 100644 index cbade22..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/identifier.js +++ /dev/null @@ -1,84 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.isIdentifierChar = isIdentifierChar; -exports.isIdentifierName = isIdentifierName; -exports.isIdentifierStart = isIdentifierStart; -let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; -let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; -const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); -const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); -nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; -const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1070, 4050, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 46, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 482, 44, 11, 6, 17, 0, 322, 29, 19, 43, 1269, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4152, 8, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938]; -const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 357, 0, 62, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; - -function isInAstralSet(code, set) { - let pos = 0x10000; - - for (let i = 0, length = set.length; i < length; i += 2) { - pos += set[i]; - if (pos > code) return false; - pos += set[i + 1]; - if (pos >= code) return true; - } - - return false; -} - -function isIdentifierStart(code) { - if (code < 65) return code === 36; - if (code <= 90) return true; - if (code < 97) return code === 95; - if (code <= 122) return true; - - if (code <= 0xffff) { - return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code)); - } - - return isInAstralSet(code, astralIdentifierStartCodes); -} - -function isIdentifierChar(code) { - if (code < 48) return code === 36; - if (code < 58) return true; - if (code < 65) return false; - if (code <= 90) return true; - if (code < 97) return code === 95; - if (code <= 122) return true; - - if (code <= 0xffff) { - return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code)); - } - - return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); -} - -function isIdentifierName(name) { - let isFirst = true; - - for (let i = 0; i < name.length; i++) { - let cp = name.charCodeAt(i); - - if ((cp & 0xfc00) === 0xd800 && i + 1 < name.length) { - const trail = name.charCodeAt(++i); - - if ((trail & 0xfc00) === 0xdc00) { - cp = 0x10000 + ((cp & 0x3ff) << 10) + (trail & 0x3ff); - } - } - - if (isFirst) { - isFirst = false; - - if (!isIdentifierStart(cp)) { - return false; - } - } else if (!isIdentifierChar(cp)) { - return false; - } - } - - return !isFirst; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/index.js b/node_modules/@babel/helper-validator-identifier/lib/index.js deleted file mode 100644 index ca9decf..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/index.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "isIdentifierChar", { - enumerable: true, - get: function () { - return _identifier.isIdentifierChar; - } -}); -Object.defineProperty(exports, "isIdentifierName", { - enumerable: true, - get: function () { - return _identifier.isIdentifierName; - } -}); -Object.defineProperty(exports, "isIdentifierStart", { - enumerable: true, - get: function () { - return _identifier.isIdentifierStart; - } -}); -Object.defineProperty(exports, "isKeyword", { - enumerable: true, - get: function () { - return _keyword.isKeyword; - } -}); -Object.defineProperty(exports, "isReservedWord", { - enumerable: true, - get: function () { - return _keyword.isReservedWord; - } -}); -Object.defineProperty(exports, "isStrictBindOnlyReservedWord", { - enumerable: true, - get: function () { - return _keyword.isStrictBindOnlyReservedWord; - } -}); -Object.defineProperty(exports, "isStrictBindReservedWord", { - enumerable: true, - get: function () { - return _keyword.isStrictBindReservedWord; - } -}); -Object.defineProperty(exports, "isStrictReservedWord", { - enumerable: true, - get: function () { - return _keyword.isStrictReservedWord; - } -}); - -var _identifier = require("./identifier"); - -var _keyword = require("./keyword"); \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/keyword.js b/node_modules/@babel/helper-validator-identifier/lib/keyword.js deleted file mode 100644 index 0939e9a..0000000 --- a/node_modules/@babel/helper-validator-identifier/lib/keyword.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.isKeyword = isKeyword; -exports.isReservedWord = isReservedWord; -exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord; -exports.isStrictBindReservedWord = isStrictBindReservedWord; -exports.isStrictReservedWord = isStrictReservedWord; -const reservedWords = { - keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], - strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], - strictBind: ["eval", "arguments"] -}; -const keywords = new Set(reservedWords.keyword); -const reservedWordsStrictSet = new Set(reservedWords.strict); -const reservedWordsStrictBindSet = new Set(reservedWords.strictBind); - -function isReservedWord(word, inModule) { - return inModule && word === "await" || word === "enum"; -} - -function isStrictReservedWord(word, inModule) { - return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); -} - -function isStrictBindOnlyReservedWord(word) { - return reservedWordsStrictBindSet.has(word); -} - -function isStrictBindReservedWord(word, inModule) { - return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); -} - -function isKeyword(word) { - return keywords.has(word); -} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/package.json b/node_modules/@babel/helper-validator-identifier/package.json deleted file mode 100644 index 972fdf1..0000000 --- a/node_modules/@babel/helper-validator-identifier/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "@babel/helper-validator-identifier", - "version": "7.16.7", - "description": "Validate identifier/keywords name", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-validator-identifier" - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" - }, - "devDependencies": { - "@unicode/unicode-14.0.0": "^1.2.1", - "charcodes": "^0.2.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js b/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js deleted file mode 100644 index f644d77..0000000 --- a/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +++ /dev/null @@ -1,75 +0,0 @@ -"use strict"; - -// Always use the latest available version of Unicode! -// https://tc39.github.io/ecma262/#sec-conformance -const version = "14.0.0"; - -const start = require("@unicode/unicode-" + - version + - "/Binary_Property/ID_Start/code-points.js").filter(function (ch) { - return ch > 0x7f; -}); -let last = -1; -const cont = [0x200c, 0x200d].concat( - require("@unicode/unicode-" + - version + - "/Binary_Property/ID_Continue/code-points.js").filter(function (ch) { - return ch > 0x7f && search(start, ch, last + 1) == -1; - }) -); - -function search(arr, ch, starting) { - for (let i = starting; arr[i] <= ch && i < arr.length; last = i++) { - if (arr[i] === ch) return i; - } - return -1; -} - -function pad(str, width) { - while (str.length < width) str = "0" + str; - return str; -} - -function esc(code) { - const hex = code.toString(16); - if (hex.length <= 2) return "\\x" + pad(hex, 2); - else return "\\u" + pad(hex, 4); -} - -function generate(chars) { - const astral = []; - let re = ""; - for (let i = 0, at = 0x10000; i < chars.length; i++) { - const from = chars[i]; - let to = from; - while (i < chars.length - 1 && chars[i + 1] == to + 1) { - i++; - to++; - } - if (to <= 0xffff) { - if (from == to) re += esc(from); - else if (from + 1 == to) re += esc(from) + esc(to); - else re += esc(from) + "-" + esc(to); - } else { - astral.push(from - at, to - from); - at = to; - } - } - return { nonASCII: re, astral: astral }; -} - -const startData = generate(start); -const contData = generate(cont); - -console.log("/* prettier-ignore */"); -console.log('let nonASCIIidentifierStartChars = "' + startData.nonASCII + '";'); -console.log("/* prettier-ignore */"); -console.log('let nonASCIIidentifierChars = "' + contData.nonASCII + '";'); -console.log("/* prettier-ignore */"); -console.log( - "const astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";" -); -console.log("/* prettier-ignore */"); -console.log( - "const astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";" -); diff --git a/node_modules/@babel/helper-validator-option/LICENSE b/node_modules/@babel/helper-validator-option/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helper-validator-option/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helper-validator-option/README.md b/node_modules/@babel/helper-validator-option/README.md deleted file mode 100644 index 94ab428..0000000 --- a/node_modules/@babel/helper-validator-option/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helper-validator-option - -> Validate plugin/preset options - -See our website [@babel/helper-validator-option](https://babeljs.io/docs/en/babel-helper-validator-option) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/helper-validator-option -``` - -or using yarn: - -```sh -yarn add @babel/helper-validator-option -``` diff --git a/node_modules/@babel/helper-validator-option/lib/find-suggestion.js b/node_modules/@babel/helper-validator-option/lib/find-suggestion.js deleted file mode 100644 index 019ea93..0000000 --- a/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +++ /dev/null @@ -1,45 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.findSuggestion = findSuggestion; -const { - min -} = Math; - -function levenshtein(a, b) { - let t = [], - u = [], - i, - j; - const m = a.length, - n = b.length; - - if (!m) { - return n; - } - - if (!n) { - return m; - } - - for (j = 0; j <= n; j++) { - t[j] = j; - } - - for (i = 1; i <= m; i++) { - for (u = [i], j = 1; j <= n; j++) { - u[j] = a[i - 1] === b[j - 1] ? t[j - 1] : min(t[j - 1], t[j], u[j - 1]) + 1; - } - - t = u; - } - - return u[n]; -} - -function findSuggestion(str, arr) { - const distances = arr.map(el => levenshtein(el, str)); - return arr[distances.indexOf(min(...distances))]; -} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-option/lib/index.js b/node_modules/@babel/helper-validator-option/lib/index.js deleted file mode 100644 index 8afe861..0000000 --- a/node_modules/@babel/helper-validator-option/lib/index.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "OptionValidator", { - enumerable: true, - get: function () { - return _validator.OptionValidator; - } -}); -Object.defineProperty(exports, "findSuggestion", { - enumerable: true, - get: function () { - return _findSuggestion.findSuggestion; - } -}); - -var _validator = require("./validator"); - -var _findSuggestion = require("./find-suggestion"); \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-option/lib/validator.js b/node_modules/@babel/helper-validator-option/lib/validator.js deleted file mode 100644 index 5b4bad1..0000000 --- a/node_modules/@babel/helper-validator-option/lib/validator.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.OptionValidator = void 0; - -var _findSuggestion = require("./find-suggestion"); - -class OptionValidator { - constructor(descriptor) { - this.descriptor = descriptor; - } - - validateTopLevelOptions(options, TopLevelOptionShape) { - const validOptionNames = Object.keys(TopLevelOptionShape); - - for (const option of Object.keys(options)) { - if (!validOptionNames.includes(option)) { - throw new Error(this.formatMessage(`'${option}' is not a valid top-level option. -- Did you mean '${(0, _findSuggestion.findSuggestion)(option, validOptionNames)}'?`)); - } - } - } - - validateBooleanOption(name, value, defaultValue) { - if (value === undefined) { - return defaultValue; - } else { - this.invariant(typeof value === "boolean", `'${name}' option must be a boolean.`); - } - - return value; - } - - validateStringOption(name, value, defaultValue) { - if (value === undefined) { - return defaultValue; - } else { - this.invariant(typeof value === "string", `'${name}' option must be a string.`); - } - - return value; - } - - invariant(condition, message) { - if (!condition) { - throw new Error(this.formatMessage(message)); - } - } - - formatMessage(message) { - return `${this.descriptor}: ${message}`; - } - -} - -exports.OptionValidator = OptionValidator; \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-option/package.json b/node_modules/@babel/helper-validator-option/package.json deleted file mode 100644 index 1fe2da8..0000000 --- a/node_modules/@babel/helper-validator-option/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@babel/helper-validator-option", - "version": "7.16.7", - "description": "Validate plugin/preset options", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-validator-option" - }, - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" - }, - "engines": { - "node": ">=6.9.0" - }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/LICENSE b/node_modules/@babel/helpers/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/helpers/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/helpers/README.md b/node_modules/@babel/helpers/README.md deleted file mode 100644 index 3b79dbf..0000000 --- a/node_modules/@babel/helpers/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/helpers - -> Collection of helper functions used by Babel transforms. - -See our website [@babel/helpers](https://babeljs.io/docs/en/babel-helpers) for more information. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/helpers -``` - -or using yarn: - -```sh -yarn add @babel/helpers --dev -``` diff --git a/node_modules/@babel/helpers/lib/helpers-generated.js b/node_modules/@babel/helpers/lib/helpers-generated.js deleted file mode 100644 index 9ef543e..0000000 --- a/node_modules/@babel/helpers/lib/helpers-generated.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _template = require("@babel/template"); - -function helper(minVersion, source) { - return Object.freeze({ - minVersion, - ast: () => _template.default.program.ast(source) - }); -} - -var _default = Object.freeze({ - applyDecs: helper("7.17.0", 'function createMetadataMethodsForProperty(metadataMap,kind,property){return{getMetadata:function(key){if("symbol"!=typeof key)throw new TypeError("Metadata keys must be symbols, received: "+key);var metadataForKey=metadataMap[key];if(void 0!==metadataForKey)if(1===kind){var pub=metadataForKey.public;if(void 0!==pub)return pub[property]}else if(2===kind){var priv=metadataForKey.private;if(void 0!==priv)return priv.get(property)}else if(Object.hasOwnProperty.call(metadataForKey,"constructor"))return metadataForKey.constructor},setMetadata:function(key,value){if("symbol"!=typeof key)throw new TypeError("Metadata keys must be symbols, received: "+key);var metadataForKey=metadataMap[key];if(void 0===metadataForKey&&(metadataForKey=metadataMap[key]={}),1===kind){var pub=metadataForKey.public;void 0===pub&&(pub=metadataForKey.public={}),pub[property]=value}else if(2===kind){var priv=metadataForKey.priv;void 0===priv&&(priv=metadataForKey.private=new Map),priv.set(property,value)}else metadataForKey.constructor=value}}}function convertMetadataMapToFinal(obj,metadataMap){var parentMetadataMap=obj[Symbol.metadata||Symbol.for("Symbol.metadata")],metadataKeys=Object.getOwnPropertySymbols(metadataMap);if(0!==metadataKeys.length){for(var i=0;i=0;i--){var newInit;if(void 0!==(newValue=(0,decs[i])(value,ctx)))assertValidReturnValue(kind,newValue),0===kind?newInit=newValue:1===kind?(newInit=newValue.initializer,get=newValue.get||value.get,set=newValue.set||value.set,value={get:get,set:set}):value=newValue,void 0!==newInit&&(void 0===initializer?initializer=newInit:"function"==typeof initializer?initializer=[initializer,newInit]:initializer.push(newInit))}if(0===kind||1===kind){if(void 0===initializer)initializer=function(instance,init){return init};else if("function"!=typeof initializer){var ownInitializers=initializer;initializer=function(instance,init){for(var value=init,i=0;i3,isStatic=kind>=5;if(isStatic?(base=Class,metadataMap=staticMetadataMap,kind-=5,initializers=staticInitializers):(base=Class.prototype,metadataMap=protoMetadataMap,initializers=protoInitializers),0!==kind&&!isPrivate){var existingNonFields=isStatic?existingStaticNonFields:existingProtoNonFields,existingKind=existingNonFields.get(name)||0;if(!0===existingKind||3===existingKind&&4!==kind||4===existingKind&&3!==kind)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+name);!existingKind&&kind>2?existingNonFields.set(name,kind):existingNonFields.set(name,!0)}applyMemberDec(ret,base,decInfo,name,kind,isStatic,isPrivate,metadataMap,initializers)}}protoInitializers.length>0&&pushInitializers(ret,protoInitializers),staticInitializers.length>0&&pushInitializers(ret,staticInitializers)}function pushInitializers(ret,initializers){initializers.length>0?(initializers=initializers.slice(),ret.push((function(instance){for(var i=0;i=0;i--)newClass=classDecs[i](newClass,ctx)||newClass;ret.push(newClass),initializers.length>0?ret.push((function(){for(var i=0;i1){for(var childArray=new Array(childrenLength),i=0;i]+)>/g,(function(_,name){return"$"+groups[name]})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!=typeof args[args.length-1]&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}') -}); - -exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers.js b/node_modules/@babel/helpers/lib/helpers.js deleted file mode 100644 index 3b8eea2..0000000 --- a/node_modules/@babel/helpers/lib/helpers.js +++ /dev/null @@ -1,1959 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _template = require("@babel/template"); - -var _helpersGenerated = require("./helpers-generated"); - -const helpers = Object.assign({ - __proto__: null -}, _helpersGenerated.default); -var _default = helpers; -exports.default = _default; - -const helper = minVersion => tpl => ({ - minVersion, - ast: () => _template.default.program.ast(tpl) -}); - -helpers.AwaitValue = helper("7.0.0-beta.0")` - export default function _AwaitValue(value) { - this.wrapped = value; - } -`; -helpers.AsyncGenerator = helper("7.0.0-beta.0")` - import AwaitValue from "AwaitValue"; - - export default function AsyncGenerator(gen) { - var front, back; - - function send(key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null, - }; - - if (back) { - back = back.next = request; - } else { - front = back = request; - resume(key, arg); - } - }); - } - - function resume(key, arg) { - try { - var result = gen[key](arg) - var value = result.value; - var wrappedAwait = value instanceof AwaitValue; - - Promise.resolve(wrappedAwait ? value.wrapped : value).then( - function (arg) { - if (wrappedAwait) { - resume(key === "return" ? "return" : "next", arg); - return - } - - settle(result.done ? "return" : "normal", arg); - }, - function (err) { resume("throw", err); }); - } catch (err) { - settle("throw", err); - } - } - - function settle(type, value) { - switch (type) { - case "return": - front.resolve({ value: value, done: true }); - break; - case "throw": - front.reject(value); - break; - default: - front.resolve({ value: value, done: false }); - break; - } - - front = front.next; - if (front) { - resume(front.key, front.arg); - } else { - back = null; - } - } - - this._invoke = send; - - // Hide "return" method if generator return is not supported - if (typeof gen.return !== "function") { - this.return = undefined; - } - } - - AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; }; - - AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; - AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; - AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; -`; -helpers.wrapAsyncGenerator = helper("7.0.0-beta.0")` - import AsyncGenerator from "AsyncGenerator"; - - export default function _wrapAsyncGenerator(fn) { - return function () { - return new AsyncGenerator(fn.apply(this, arguments)); - }; - } -`; -helpers.awaitAsyncGenerator = helper("7.0.0-beta.0")` - import AwaitValue from "AwaitValue"; - - export default function _awaitAsyncGenerator(value) { - return new AwaitValue(value); - } -`; -helpers.asyncGeneratorDelegate = helper("7.0.0-beta.0")` - export default function _asyncGeneratorDelegate(inner, awaitWrap) { - var iter = {}, waiting = false; - - function pump(key, value) { - waiting = true; - value = new Promise(function (resolve) { resolve(inner[key](value)); }); - return { done: false, value: awaitWrap(value) }; - }; - - iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { return this; }; - - iter.next = function (value) { - if (waiting) { - waiting = false; - return value; - } - return pump("next", value); - }; - - if (typeof inner.throw === "function") { - iter.throw = function (value) { - if (waiting) { - waiting = false; - throw value; - } - return pump("throw", value); - }; - } - - if (typeof inner.return === "function") { - iter.return = function (value) { - if (waiting) { - waiting = false; - return value; - } - return pump("return", value); - }; - } - - return iter; - } -`; -helpers.asyncToGenerator = helper("7.0.0-beta.0")` - function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } - } - - export default function _asyncToGenerator(fn) { - return function () { - var self = this, args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - - _next(undefined); - }); - }; - } -`; -helpers.classCallCheck = helper("7.0.0-beta.0")` - export default function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } - } -`; -helpers.createClass = helper("7.0.0-beta.0")` - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i ++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } - } - - export default function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { writable: false }); - return Constructor; - } -`; -helpers.defineEnumerableProperties = helper("7.0.0-beta.0")` - export default function _defineEnumerableProperties(obj, descs) { - for (var key in descs) { - var desc = descs[key]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, key, desc); - } - - // Symbols are not enumerated over by for-in loops. If native - // Symbols are available, fetch all of the descs object's own - // symbol properties and define them on our target object too. - if (Object.getOwnPropertySymbols) { - var objectSymbols = Object.getOwnPropertySymbols(descs); - for (var i = 0; i < objectSymbols.length; i++) { - var sym = objectSymbols[i]; - var desc = descs[sym]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, sym, desc); - } - } - return obj; - } -`; -helpers.defaults = helper("7.0.0-beta.0")` - export default function _defaults(obj, defaults) { - var keys = Object.getOwnPropertyNames(defaults); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var value = Object.getOwnPropertyDescriptor(defaults, key); - if (value && value.configurable && obj[key] === undefined) { - Object.defineProperty(obj, key, value); - } - } - return obj; - } -`; -helpers.defineProperty = helper("7.0.0-beta.0")` - export default function _defineProperty(obj, key, value) { - // Shortcircuit the slow defineProperty path when possible. - // We are trying to avoid issues where setters defined on the - // prototype cause side effects under the fast path of simple - // assignment. By checking for existence of the property with - // the in operator, we can optimize most of this overhead away. - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } -`; -helpers.extends = helper("7.0.0-beta.0")` - export default function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - return target; - }; - - return _extends.apply(this, arguments); - } -`; -helpers.objectSpread = helper("7.0.0-beta.0")` - import defineProperty from "defineProperty"; - - export default function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = (arguments[i] != null) ? Object(arguments[i]) : {}; - var ownKeys = Object.keys(source); - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - ownKeys.forEach(function(key) { - defineProperty(target, key, source[key]); - }); - } - return target; - } -`; -helpers.inherits = helper("7.0.0-beta.0")` - import setPrototypeOf from "setPrototypeOf"; - - export default function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - // We can't use defineProperty to set the prototype in a single step because it - // doesn't work in Chrome <= 36. https://github.com/babel/babel/issues/14056 - // V8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=3334 - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - Object.defineProperty(subClass, "prototype", { writable: false }); - if (superClass) setPrototypeOf(subClass, superClass); - } -`; -helpers.inheritsLoose = helper("7.0.0-beta.0")` - import setPrototypeOf from "setPrototypeOf"; - - export default function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - setPrototypeOf(subClass, superClass); - } -`; -helpers.getPrototypeOf = helper("7.0.0-beta.0")` - export default function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf - ? Object.getPrototypeOf - : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); - } -`; -helpers.setPrototypeOf = helper("7.0.0-beta.0")` - export default function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - return _setPrototypeOf(o, p); - } -`; -helpers.isNativeReflectConstruct = helper("7.9.0")` - export default function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - - // core-js@3 - if (Reflect.construct.sham) return false; - - // Proxy can't be polyfilled. Every browser implemented - // proxies before or at the same time as Reflect.construct, - // so if they support Proxy they also support Reflect.construct. - if (typeof Proxy === "function") return true; - - // Since Reflect.construct can't be properly polyfilled, some - // implementations (e.g. core-js@2) don't set the correct internal slots. - // Those polyfills don't allow us to subclass built-ins, so we need to - // use our fallback implementation. - try { - // If the internal slots aren't set, this throws an error similar to - // TypeError: this is not a Boolean object. - - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); - return true; - } catch (e) { - return false; - } - } -`; -helpers.construct = helper("7.0.0-beta.0")` - import setPrototypeOf from "setPrototypeOf"; - import isNativeReflectConstruct from "isNativeReflectConstruct"; - - export default function _construct(Parent, args, Class) { - if (isNativeReflectConstruct()) { - _construct = Reflect.construct; - } else { - // NOTE: If Parent !== Class, the correct __proto__ is set *after* - // calling the constructor. - _construct = function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var Constructor = Function.bind.apply(Parent, a); - var instance = new Constructor(); - if (Class) setPrototypeOf(instance, Class.prototype); - return instance; - }; - } - // Avoid issues with Class being present but undefined when it wasn't - // present in the original call. - return _construct.apply(null, arguments); - } -`; -helpers.isNativeFunction = helper("7.0.0-beta.0")` - export default function _isNativeFunction(fn) { - // Note: This function returns "true" for core-js functions. - return Function.toString.call(fn).indexOf("[native code]") !== -1; - } -`; -helpers.wrapNativeSuper = helper("7.0.0-beta.0")` - import getPrototypeOf from "getPrototypeOf"; - import setPrototypeOf from "setPrototypeOf"; - import isNativeFunction from "isNativeFunction"; - import construct from "construct"; - - export default function _wrapNativeSuper(Class) { - var _cache = typeof Map === "function" ? new Map() : undefined; - - _wrapNativeSuper = function _wrapNativeSuper(Class) { - if (Class === null || !isNativeFunction(Class)) return Class; - if (typeof Class !== "function") { - throw new TypeError("Super expression must either be null or a function"); - } - if (typeof _cache !== "undefined") { - if (_cache.has(Class)) return _cache.get(Class); - _cache.set(Class, Wrapper); - } - function Wrapper() { - return construct(Class, arguments, getPrototypeOf(this).constructor) - } - Wrapper.prototype = Object.create(Class.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true, - } - }); - - return setPrototypeOf(Wrapper, Class); - } - - return _wrapNativeSuper(Class) - } -`; -helpers.instanceof = helper("7.0.0-beta.0")` - export default function _instanceof(left, right) { - if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { - return !!right[Symbol.hasInstance](left); - } else { - return left instanceof right; - } - } -`; -helpers.interopRequireDefault = helper("7.0.0-beta.0")` - export default function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } -`; -helpers.interopRequireWildcard = helper("7.14.0")` - function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== "function") return null; - - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); - } - - export default function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - - if (obj === null || (typeof obj !== "object" && typeof obj !== "function")) { - return { default: obj } - } - - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - - var newObj = {}; - var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== "default" && 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; - } -`; -helpers.newArrowCheck = helper("7.0.0-beta.0")` - export default function _newArrowCheck(innerThis, boundThis) { - if (innerThis !== boundThis) { - throw new TypeError("Cannot instantiate an arrow function"); - } - } -`; -helpers.objectDestructuringEmpty = helper("7.0.0-beta.0")` - export default function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure undefined"); - } -`; -helpers.objectWithoutPropertiesLoose = helper("7.0.0-beta.0")` - export default function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; - } -`; -helpers.objectWithoutProperties = helper("7.0.0-beta.0")` - import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; - - export default function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - - var target = objectWithoutPropertiesLoose(source, excluded); - var key, i; - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - - return target; - } -`; -helpers.assertThisInitialized = helper("7.0.0-beta.0")` - export default function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - return self; - } -`; -helpers.possibleConstructorReturn = helper("7.0.0-beta.0")` - import assertThisInitialized from "assertThisInitialized"; - - export default function _possibleConstructorReturn(self, call) { - if (call && (typeof call === "object" || typeof call === "function")) { - return call; - } else if (call !== void 0) { - throw new TypeError("Derived constructors may only return object or undefined"); - } - - return assertThisInitialized(self); - } -`; -helpers.createSuper = helper("7.9.0")` - import getPrototypeOf from "getPrototypeOf"; - import isNativeReflectConstruct from "isNativeReflectConstruct"; - import possibleConstructorReturn from "possibleConstructorReturn"; - - export default function _createSuper(Derived) { - var hasNativeReflectConstruct = isNativeReflectConstruct(); - - return function _createSuperInternal() { - var Super = getPrototypeOf(Derived), result; - if (hasNativeReflectConstruct) { - // NOTE: This doesn't work if this.__proto__.constructor has been modified. - var NewTarget = getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - return possibleConstructorReturn(this, result); - } - } - `; -helpers.superPropBase = helper("7.0.0-beta.0")` - import getPrototypeOf from "getPrototypeOf"; - - export default function _superPropBase(object, property) { - // Yes, this throws if object is null to being with, that's on purpose. - while (!Object.prototype.hasOwnProperty.call(object, property)) { - object = getPrototypeOf(object); - if (object === null) break; - } - return object; - } -`; -helpers.get = helper("7.0.0-beta.0")` - import superPropBase from "superPropBase"; - - export default function _get() { - if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; - } else { - _get = function _get(target, property, receiver) { - var base = superPropBase(target, property); - - if (!base) return; - - var desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.get) { - // STEP 3. If receiver is not present, then set receiver to target. - return desc.get.call(arguments.length < 3 ? target : receiver); - } - - return desc.value; - }; - } - return _get.apply(this, arguments); - } -`; -helpers.set = helper("7.0.0-beta.0")` - import superPropBase from "superPropBase"; - import defineProperty from "defineProperty"; - - function set(target, property, value, receiver) { - if (typeof Reflect !== "undefined" && Reflect.set) { - set = Reflect.set; - } else { - set = function set(target, property, value, receiver) { - var base = superPropBase(target, property); - var desc; - - if (base) { - desc = Object.getOwnPropertyDescriptor(base, property); - if (desc.set) { - desc.set.call(receiver, value); - return true; - } else if (!desc.writable) { - // Both getter and non-writable fall into this. - return false; - } - } - - // Without a super that defines the property, spec boils down to - // "define on receiver" for some reason. - desc = Object.getOwnPropertyDescriptor(receiver, property); - if (desc) { - if (!desc.writable) { - // Setter, getter, and non-writable fall into this. - return false; - } - - desc.value = value; - Object.defineProperty(receiver, property, desc); - } else { - // Avoid setters that may be defined on Sub's prototype, but not on - // the instance. - defineProperty(receiver, property, value); - } - - return true; - }; - } - - return set(target, property, value, receiver); - } - - export default function _set(target, property, value, receiver, isStrict) { - var s = set(target, property, value, receiver || target); - if (!s && isStrict) { - throw new Error('failed to set property'); - } - - return value; - } -`; -helpers.taggedTemplateLiteral = helper("7.0.0-beta.0")` - export default function _taggedTemplateLiteral(strings, raw) { - if (!raw) { raw = strings.slice(0); } - return Object.freeze(Object.defineProperties(strings, { - raw: { value: Object.freeze(raw) } - })); - } -`; -helpers.taggedTemplateLiteralLoose = helper("7.0.0-beta.0")` - export default function _taggedTemplateLiteralLoose(strings, raw) { - if (!raw) { raw = strings.slice(0); } - strings.raw = raw; - return strings; - } -`; -helpers.readOnlyError = helper("7.0.0-beta.0")` - export default function _readOnlyError(name) { - throw new TypeError("\\"" + name + "\\" is read-only"); - } -`; -helpers.writeOnlyError = helper("7.12.13")` - export default function _writeOnlyError(name) { - throw new TypeError("\\"" + name + "\\" is write-only"); - } -`; -helpers.classNameTDZError = helper("7.0.0-beta.0")` - export default function _classNameTDZError(name) { - throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); - } -`; -helpers.temporalUndefined = helper("7.0.0-beta.0")` - // This function isn't mean to be called, but to be used as a reference. - // We can't use a normal object because it isn't hoisted. - export default function _temporalUndefined() {} -`; -helpers.tdz = helper("7.5.5")` - export default function _tdzError(name) { - throw new ReferenceError(name + " is not defined - temporal dead zone"); - } -`; -helpers.temporalRef = helper("7.0.0-beta.0")` - import undef from "temporalUndefined"; - import err from "tdz"; - - export default function _temporalRef(val, name) { - return val === undef ? err(name) : val; - } -`; -helpers.slicedToArray = helper("7.0.0-beta.0")` - import arrayWithHoles from "arrayWithHoles"; - import iterableToArrayLimit from "iterableToArrayLimit"; - import unsupportedIterableToArray from "unsupportedIterableToArray"; - import nonIterableRest from "nonIterableRest"; - - export default function _slicedToArray(arr, i) { - return ( - arrayWithHoles(arr) || - iterableToArrayLimit(arr, i) || - unsupportedIterableToArray(arr, i) || - nonIterableRest() - ); - } -`; -helpers.slicedToArrayLoose = helper("7.0.0-beta.0")` - import arrayWithHoles from "arrayWithHoles"; - import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; - import unsupportedIterableToArray from "unsupportedIterableToArray"; - import nonIterableRest from "nonIterableRest"; - - export default function _slicedToArrayLoose(arr, i) { - return ( - arrayWithHoles(arr) || - iterableToArrayLimitLoose(arr, i) || - unsupportedIterableToArray(arr, i) || - nonIterableRest() - ); - } -`; -helpers.toArray = helper("7.0.0-beta.0")` - import arrayWithHoles from "arrayWithHoles"; - import iterableToArray from "iterableToArray"; - import unsupportedIterableToArray from "unsupportedIterableToArray"; - import nonIterableRest from "nonIterableRest"; - - export default function _toArray(arr) { - return ( - arrayWithHoles(arr) || - iterableToArray(arr) || - unsupportedIterableToArray(arr) || - nonIterableRest() - ); - } -`; -helpers.toConsumableArray = helper("7.0.0-beta.0")` - import arrayWithoutHoles from "arrayWithoutHoles"; - import iterableToArray from "iterableToArray"; - import unsupportedIterableToArray from "unsupportedIterableToArray"; - import nonIterableSpread from "nonIterableSpread"; - - export default function _toConsumableArray(arr) { - return ( - arrayWithoutHoles(arr) || - iterableToArray(arr) || - unsupportedIterableToArray(arr) || - nonIterableSpread() - ); - } -`; -helpers.arrayWithoutHoles = helper("7.0.0-beta.0")` - import arrayLikeToArray from "arrayLikeToArray"; - - export default function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return arrayLikeToArray(arr); - } -`; -helpers.arrayWithHoles = helper("7.0.0-beta.0")` - export default function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - } -`; -helpers.maybeArrayLike = helper("7.9.0")` - import arrayLikeToArray from "arrayLikeToArray"; - - export default function _maybeArrayLike(next, arr, i) { - if (arr && !Array.isArray(arr) && typeof arr.length === "number") { - var len = arr.length; - return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); - } - return next(arr, i); - } -`; -helpers.iterableToArray = helper("7.0.0-beta.0")` - export default function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); - } -`; -helpers.iterableToArrayLimit = helper("7.0.0-beta.0")` - export default function _iterableToArrayLimit(arr, i) { - // this is an expanded form of \`for...of\` that properly supports abrupt completions of - // iterators etc. variable names have been minimised to reduce the size of this massive - // helper. sometimes spec compliance is annoying :( - // - // _n = _iteratorNormalCompletion - // _d = _didIteratorError - // _e = _iteratorError - // _i = _iterator - // _s = _step - - var _i = arr == null ? null : (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); - if (_i == null) return; - - var _arr = []; - var _n = true; - var _d = false; - var _s, _e; - try { - for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"] != null) _i["return"](); - } finally { - if (_d) throw _e; - } - } - return _arr; - } -`; -helpers.iterableToArrayLimitLoose = helper("7.0.0-beta.0")` - export default function _iterableToArrayLimitLoose(arr, i) { - var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); - if (_i == null) return; - - var _arr = []; - for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { - _arr.push(_step.value); - if (i && _arr.length === i) break; - } - return _arr; - } -`; -helpers.unsupportedIterableToArray = helper("7.9.0")` - import arrayLikeToArray from "arrayLikeToArray"; - - export default function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) - return arrayLikeToArray(o, minLen); - } -`; -helpers.arrayLikeToArray = helper("7.9.0")` - export default function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; - return arr2; - } -`; -helpers.nonIterableSpread = helper("7.0.0-beta.0")` - export default function _nonIterableSpread() { - throw new TypeError( - "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." - ); - } -`; -helpers.nonIterableRest = helper("7.0.0-beta.0")` - export default function _nonIterableRest() { - throw new TypeError( - "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." - ); - } -`; -helpers.createForOfIteratorHelper = helper("7.9.0")` - import unsupportedIterableToArray from "unsupportedIterableToArray"; - - // s: start (create the iterator) - // n: next - // e: error (called whenever something throws) - // f: finish (always called at the end) - - export default function _createForOfIteratorHelper(o, allowArrayLike) { - var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - - if (!it) { - // Fallback for engines without symbol support - if ( - Array.isArray(o) || - (it = unsupportedIterableToArray(o)) || - (allowArrayLike && o && typeof o.length === "number") - ) { - if (it) o = it; - var i = 0; - var F = function(){}; - return { - s: F, - n: function() { - if (i >= o.length) return { done: true }; - return { done: false, value: o[i++] }; - }, - e: function(e) { throw e; }, - f: F, - }; - } - - throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - - var normalCompletion = true, didErr = false, err; - - return { - s: function() { - it = it.call(o); - }, - n: function() { - var step = it.next(); - normalCompletion = step.done; - return step; - }, - e: function(e) { - didErr = true; - err = e; - }, - f: function() { - try { - if (!normalCompletion && it.return != null) it.return(); - } finally { - if (didErr) throw err; - } - } - }; - } -`; -helpers.createForOfIteratorHelperLoose = helper("7.9.0")` - import unsupportedIterableToArray from "unsupportedIterableToArray"; - - export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { - var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - - if (it) return (it = it.call(o)).next.bind(it); - - // Fallback for engines without symbol support - if ( - Array.isArray(o) || - (it = unsupportedIterableToArray(o)) || - (allowArrayLike && o && typeof o.length === "number") - ) { - if (it) o = it; - var i = 0; - return function() { - if (i >= o.length) return { done: true }; - return { done: false, value: o[i++] }; - } - } - - throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } -`; -helpers.skipFirstGeneratorNext = helper("7.0.0-beta.0")` - export default function _skipFirstGeneratorNext(fn) { - return function () { - var it = fn.apply(this, arguments); - it.next(); - return it; - } - } -`; -helpers.toPrimitive = helper("7.1.5")` - export default function _toPrimitive( - input, - hint /*: "default" | "string" | "number" | void */ - ) { - if (typeof input !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (typeof res !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } -`; -helpers.toPropertyKey = helper("7.1.5")` - import toPrimitive from "toPrimitive"; - - export default function _toPropertyKey(arg) { - var key = toPrimitive(arg, "string"); - return typeof key === "symbol" ? key : String(key); - } -`; -helpers.initializerWarningHelper = helper("7.0.0-beta.0")` - export default function _initializerWarningHelper(descriptor, context){ - throw new Error( - 'Decorating class property failed. Please ensure that ' + - 'proposal-class-properties is enabled and runs after the decorators transform.' - ); - } -`; -helpers.initializerDefineProperty = helper("7.0.0-beta.0")` - export default function _initializerDefineProperty(target, property, descriptor, context){ - if (!descriptor) return; - - Object.defineProperty(target, property, { - enumerable: descriptor.enumerable, - configurable: descriptor.configurable, - writable: descriptor.writable, - value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, - }); - } -`; -helpers.applyDecoratedDescriptor = helper("7.0.0-beta.0")` - export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ - var desc = {}; - Object.keys(descriptor).forEach(function(key){ - desc[key] = descriptor[key]; - }); - desc.enumerable = !!desc.enumerable; - desc.configurable = !!desc.configurable; - if ('value' in desc || desc.initializer){ - desc.writable = true; - } - - desc = decorators.slice().reverse().reduce(function(desc, decorator){ - return decorator(target, property, desc) || desc; - }, desc); - - if (context && desc.initializer !== void 0){ - desc.value = desc.initializer ? desc.initializer.call(context) : void 0; - desc.initializer = undefined; - } - - if (desc.initializer === void 0){ - Object.defineProperty(target, property, desc); - desc = null; - } - - return desc; - } -`; -helpers.classPrivateFieldLooseKey = helper("7.0.0-beta.0")` - var id = 0; - export default function _classPrivateFieldKey(name) { - return "__private_" + (id++) + "_" + name; - } -`; -helpers.classPrivateFieldLooseBase = helper("7.0.0-beta.0")` - export default function _classPrivateFieldBase(receiver, privateKey) { - if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { - throw new TypeError("attempted to use private field on non-instance"); - } - return receiver; - } -`; -helpers.classPrivateFieldGet = helper("7.0.0-beta.0")` - import classApplyDescriptorGet from "classApplyDescriptorGet"; - import classExtractFieldDescriptor from "classExtractFieldDescriptor"; - export default function _classPrivateFieldGet(receiver, privateMap) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get"); - return classApplyDescriptorGet(receiver, descriptor); - } -`; -helpers.classPrivateFieldSet = helper("7.0.0-beta.0")` - import classApplyDescriptorSet from "classApplyDescriptorSet"; - import classExtractFieldDescriptor from "classExtractFieldDescriptor"; - export default function _classPrivateFieldSet(receiver, privateMap, value) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); - classApplyDescriptorSet(receiver, descriptor, value); - return value; - } -`; -helpers.classPrivateFieldDestructureSet = helper("7.4.4")` - import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; - import classExtractFieldDescriptor from "classExtractFieldDescriptor"; - export default function _classPrivateFieldDestructureSet(receiver, privateMap) { - var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set"); - return classApplyDescriptorDestructureSet(receiver, descriptor); - } -`; -helpers.classExtractFieldDescriptor = helper("7.13.10")` - export default function _classExtractFieldDescriptor(receiver, privateMap, action) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to " + action + " private field on non-instance"); - } - return privateMap.get(receiver); - } -`; -helpers.classStaticPrivateFieldSpecGet = helper("7.0.2")` - import classApplyDescriptorGet from "classApplyDescriptorGet"; - import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; - import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; - export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "get"); - return classApplyDescriptorGet(receiver, descriptor); - } -`; -helpers.classStaticPrivateFieldSpecSet = helper("7.0.2")` - import classApplyDescriptorSet from "classApplyDescriptorSet"; - import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; - import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; - export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "set"); - classApplyDescriptorSet(receiver, descriptor, value); - return value; - } -`; -helpers.classStaticPrivateMethodGet = helper("7.3.2")` - import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; - export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { - classCheckPrivateStaticAccess(receiver, classConstructor); - return method; - } -`; -helpers.classStaticPrivateMethodSet = helper("7.3.2")` - export default function _classStaticPrivateMethodSet() { - throw new TypeError("attempted to set read only static private field"); - } -`; -helpers.classApplyDescriptorGet = helper("7.13.10")` - export default function _classApplyDescriptorGet(receiver, descriptor) { - if (descriptor.get) { - return descriptor.get.call(receiver); - } - return descriptor.value; - } -`; -helpers.classApplyDescriptorSet = helper("7.13.10")` - export default function _classApplyDescriptorSet(receiver, descriptor, value) { - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - // This should only throw in strict mode, but class bodies are - // always strict and private fields can only be used inside - // class bodies. - throw new TypeError("attempted to set read only private field"); - } - descriptor.value = value; - } - } -`; -helpers.classApplyDescriptorDestructureSet = helper("7.13.10")` - export default function _classApplyDescriptorDestructureSet(receiver, descriptor) { - if (descriptor.set) { - if (!("__destrObj" in descriptor)) { - descriptor.__destrObj = { - set value(v) { - descriptor.set.call(receiver, v) - }, - }; - } - return descriptor.__destrObj; - } else { - if (!descriptor.writable) { - // This should only throw in strict mode, but class bodies are - // always strict and private fields can only be used inside - // class bodies. - throw new TypeError("attempted to set read only private field"); - } - - return descriptor; - } - } -`; -helpers.classStaticPrivateFieldDestructureSet = helper("7.13.10")` - import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet"; - import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess"; - import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor"; - export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) { - classCheckPrivateStaticAccess(receiver, classConstructor); - classCheckPrivateStaticFieldDescriptor(descriptor, "set"); - return classApplyDescriptorDestructureSet(receiver, descriptor); - } -`; -helpers.classCheckPrivateStaticAccess = helper("7.13.10")` - export default function _classCheckPrivateStaticAccess(receiver, classConstructor) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - } -`; -helpers.classCheckPrivateStaticFieldDescriptor = helper("7.13.10")` - export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) { - if (descriptor === undefined) { - throw new TypeError("attempted to " + action + " private static field before its declaration"); - } - } -`; -helpers.decorate = helper("7.1.5")` - import toArray from "toArray"; - import toPropertyKey from "toPropertyKey"; - - // These comments are stripped by @babel/template - /*:: - type PropertyDescriptor = - | { - value: any, - writable: boolean, - configurable: boolean, - enumerable: boolean, - } - | { - get?: () => any, - set?: (v: any) => void, - configurable: boolean, - enumerable: boolean, - }; - - type FieldDescriptor ={ - writable: boolean, - configurable: boolean, - enumerable: boolean, - }; - - type Placement = "static" | "prototype" | "own"; - type Key = string | symbol; // PrivateName is not supported yet. - - type ElementDescriptor = - | { - kind: "method", - key: Key, - placement: Placement, - descriptor: PropertyDescriptor - } - | { - kind: "field", - key: Key, - placement: Placement, - descriptor: FieldDescriptor, - initializer?: () => any, - }; - - // This is exposed to the user code - type ElementObjectInput = ElementDescriptor & { - [@@toStringTag]?: "Descriptor" - }; - - // This is exposed to the user code - type ElementObjectOutput = ElementDescriptor & { - [@@toStringTag]?: "Descriptor" - extras?: ElementDescriptor[], - finisher?: ClassFinisher, - }; - - // This is exposed to the user code - type ClassObject = { - [@@toStringTag]?: "Descriptor", - kind: "class", - elements: ElementDescriptor[], - }; - - type ElementDecorator = (descriptor: ElementObjectInput) => ?ElementObjectOutput; - type ClassDecorator = (descriptor: ClassObject) => ?ClassObject; - type ClassFinisher = (cl: Class) => Class; - - // Only used by Babel in the transform output, not part of the spec. - type ElementDefinition = - | { - kind: "method", - value: any, - key: Key, - static?: boolean, - decorators?: ElementDecorator[], - } - | { - kind: "field", - value: () => any, - key: Key, - static?: boolean, - decorators?: ElementDecorator[], - }; - - declare function ClassFactory(initialize: (instance: C) => void): { - F: Class, - d: ElementDefinition[] - } - - */ - - /*:: - // Various combinations with/without extras and with one or many finishers - - type ElementFinisherExtras = { - element: ElementDescriptor, - finisher?: ClassFinisher, - extras?: ElementDescriptor[], - }; - - type ElementFinishersExtras = { - element: ElementDescriptor, - finishers: ClassFinisher[], - extras: ElementDescriptor[], - }; - - type ElementsFinisher = { - elements: ElementDescriptor[], - finisher?: ClassFinisher, - }; - - type ElementsFinishers = { - elements: ElementDescriptor[], - finishers: ClassFinisher[], - }; - - */ - - /*:: - - type Placements = { - static: Key[], - prototype: Key[], - own: Key[], - }; - - */ - - // ClassDefinitionEvaluation (Steps 26-*) - export default function _decorate( - decorators /*: ClassDecorator[] */, - factory /*: ClassFactory */, - superClass /*: ?Class<*> */, - mixins /*: ?Array */, - ) /*: Class<*> */ { - var api = _getDecoratorsApi(); - if (mixins) { - for (var i = 0; i < mixins.length; i++) { - api = mixins[i](api); - } - } - - var r = factory(function initialize(O) { - api.initializeInstanceElements(O, decorated.elements); - }, superClass); - var decorated = api.decorateClass( - _coalesceClassElements(r.d.map(_createElementDescriptor)), - decorators, - ); - - api.initializeClassElements(r.F, decorated.elements); - - return api.runClassFinishers(r.F, decorated.finishers); - } - - function _getDecoratorsApi() { - _getDecoratorsApi = function() { - return api; - }; - - var api = { - elementsDefinitionOrder: [["method"], ["field"]], - - // InitializeInstanceElements - initializeInstanceElements: function( - /*::*/ O /*: C */, - elements /*: ElementDescriptor[] */, - ) { - ["method", "field"].forEach(function(kind) { - elements.forEach(function(element /*: ElementDescriptor */) { - if (element.kind === kind && element.placement === "own") { - this.defineClassElement(O, element); - } - }, this); - }, this); - }, - - // InitializeClassElements - initializeClassElements: function( - /*::*/ F /*: Class */, - elements /*: ElementDescriptor[] */, - ) { - var proto = F.prototype; - - ["method", "field"].forEach(function(kind) { - elements.forEach(function(element /*: ElementDescriptor */) { - var placement = element.placement; - if ( - element.kind === kind && - (placement === "static" || placement === "prototype") - ) { - var receiver = placement === "static" ? F : proto; - this.defineClassElement(receiver, element); - } - }, this); - }, this); - }, - - // DefineClassElement - defineClassElement: function( - /*::*/ receiver /*: C | Class */, - element /*: ElementDescriptor */, - ) { - var descriptor /*: PropertyDescriptor */ = element.descriptor; - if (element.kind === "field") { - var initializer = element.initializer; - descriptor = { - enumerable: descriptor.enumerable, - writable: descriptor.writable, - configurable: descriptor.configurable, - value: initializer === void 0 ? void 0 : initializer.call(receiver), - }; - } - Object.defineProperty(receiver, element.key, descriptor); - }, - - // DecorateClass - decorateClass: function( - elements /*: ElementDescriptor[] */, - decorators /*: ClassDecorator[] */, - ) /*: ElementsFinishers */ { - var newElements /*: ElementDescriptor[] */ = []; - var finishers /*: ClassFinisher[] */ = []; - var placements /*: Placements */ = { - static: [], - prototype: [], - own: [], - }; - - elements.forEach(function(element /*: ElementDescriptor */) { - this.addElementPlacement(element, placements); - }, this); - - elements.forEach(function(element /*: ElementDescriptor */) { - if (!_hasDecorators(element)) return newElements.push(element); - - var elementFinishersExtras /*: ElementFinishersExtras */ = this.decorateElement( - element, - placements, - ); - newElements.push(elementFinishersExtras.element); - newElements.push.apply(newElements, elementFinishersExtras.extras); - finishers.push.apply(finishers, elementFinishersExtras.finishers); - }, this); - - if (!decorators) { - return { elements: newElements, finishers: finishers }; - } - - var result /*: ElementsFinishers */ = this.decorateConstructor( - newElements, - decorators, - ); - finishers.push.apply(finishers, result.finishers); - result.finishers = finishers; - - return result; - }, - - // AddElementPlacement - addElementPlacement: function( - element /*: ElementDescriptor */, - placements /*: Placements */, - silent /*: boolean */, - ) { - var keys = placements[element.placement]; - if (!silent && keys.indexOf(element.key) !== -1) { - throw new TypeError("Duplicated element (" + element.key + ")"); - } - keys.push(element.key); - }, - - // DecorateElement - decorateElement: function( - element /*: ElementDescriptor */, - placements /*: Placements */, - ) /*: ElementFinishersExtras */ { - var extras /*: ElementDescriptor[] */ = []; - var finishers /*: ClassFinisher[] */ = []; - - for ( - var decorators = element.decorators, i = decorators.length - 1; - i >= 0; - i-- - ) { - // (inlined) RemoveElementPlacement - var keys = placements[element.placement]; - keys.splice(keys.indexOf(element.key), 1); - - var elementObject /*: ElementObjectInput */ = this.fromElementDescriptor( - element, - ); - var elementFinisherExtras /*: ElementFinisherExtras */ = this.toElementFinisherExtras( - (0, decorators[i])(elementObject) /*: ElementObjectOutput */ || - elementObject, - ); - - element = elementFinisherExtras.element; - this.addElementPlacement(element, placements); - - if (elementFinisherExtras.finisher) { - finishers.push(elementFinisherExtras.finisher); - } - - var newExtras /*: ElementDescriptor[] | void */ = - elementFinisherExtras.extras; - if (newExtras) { - for (var j = 0; j < newExtras.length; j++) { - this.addElementPlacement(newExtras[j], placements); - } - extras.push.apply(extras, newExtras); - } - } - - return { element: element, finishers: finishers, extras: extras }; - }, - - // DecorateConstructor - decorateConstructor: function( - elements /*: ElementDescriptor[] */, - decorators /*: ClassDecorator[] */, - ) /*: ElementsFinishers */ { - var finishers /*: ClassFinisher[] */ = []; - - for (var i = decorators.length - 1; i >= 0; i--) { - var obj /*: ClassObject */ = this.fromClassDescriptor(elements); - var elementsAndFinisher /*: ElementsFinisher */ = this.toClassDescriptor( - (0, decorators[i])(obj) /*: ClassObject */ || obj, - ); - - if (elementsAndFinisher.finisher !== undefined) { - finishers.push(elementsAndFinisher.finisher); - } - - if (elementsAndFinisher.elements !== undefined) { - elements = elementsAndFinisher.elements; - - for (var j = 0; j < elements.length - 1; j++) { - for (var k = j + 1; k < elements.length; k++) { - if ( - elements[j].key === elements[k].key && - elements[j].placement === elements[k].placement - ) { - throw new TypeError( - "Duplicated element (" + elements[j].key + ")", - ); - } - } - } - } - } - - return { elements: elements, finishers: finishers }; - }, - - // FromElementDescriptor - fromElementDescriptor: function( - element /*: ElementDescriptor */, - ) /*: ElementObject */ { - var obj /*: ElementObject */ = { - kind: element.kind, - key: element.key, - placement: element.placement, - descriptor: element.descriptor, - }; - - var desc = { - value: "Descriptor", - configurable: true, - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - - if (element.kind === "field") obj.initializer = element.initializer; - - return obj; - }, - - // ToElementDescriptors - toElementDescriptors: function( - elementObjects /*: ElementObject[] */, - ) /*: ElementDescriptor[] */ { - if (elementObjects === undefined) return; - return toArray(elementObjects).map(function(elementObject) { - var element = this.toElementDescriptor(elementObject); - this.disallowProperty(elementObject, "finisher", "An element descriptor"); - this.disallowProperty(elementObject, "extras", "An element descriptor"); - return element; - }, this); - }, - - // ToElementDescriptor - toElementDescriptor: function( - elementObject /*: ElementObject */, - ) /*: ElementDescriptor */ { - var kind = String(elementObject.kind); - if (kind !== "method" && kind !== "field") { - throw new TypeError( - 'An element descriptor\\'s .kind property must be either "method" or' + - ' "field", but a decorator created an element descriptor with' + - ' .kind "' + - kind + - '"', - ); - } - - var key = toPropertyKey(elementObject.key); - - var placement = String(elementObject.placement); - if ( - placement !== "static" && - placement !== "prototype" && - placement !== "own" - ) { - throw new TypeError( - 'An element descriptor\\'s .placement property must be one of "static",' + - ' "prototype" or "own", but a decorator created an element descriptor' + - ' with .placement "' + - placement + - '"', - ); - } - - var descriptor /*: PropertyDescriptor */ = elementObject.descriptor; - - this.disallowProperty(elementObject, "elements", "An element descriptor"); - - var element /*: ElementDescriptor */ = { - kind: kind, - key: key, - placement: placement, - descriptor: Object.assign({}, descriptor), - }; - - if (kind !== "field") { - this.disallowProperty(elementObject, "initializer", "A method descriptor"); - } else { - this.disallowProperty( - descriptor, - "get", - "The property descriptor of a field descriptor", - ); - this.disallowProperty( - descriptor, - "set", - "The property descriptor of a field descriptor", - ); - this.disallowProperty( - descriptor, - "value", - "The property descriptor of a field descriptor", - ); - - element.initializer = elementObject.initializer; - } - - return element; - }, - - toElementFinisherExtras: function( - elementObject /*: ElementObject */, - ) /*: ElementFinisherExtras */ { - var element /*: ElementDescriptor */ = this.toElementDescriptor( - elementObject, - ); - var finisher /*: ClassFinisher */ = _optionalCallableProperty( - elementObject, - "finisher", - ); - var extras /*: ElementDescriptors[] */ = this.toElementDescriptors( - elementObject.extras, - ); - - return { element: element, finisher: finisher, extras: extras }; - }, - - // FromClassDescriptor - fromClassDescriptor: function( - elements /*: ElementDescriptor[] */, - ) /*: ClassObject */ { - var obj = { - kind: "class", - elements: elements.map(this.fromElementDescriptor, this), - }; - - var desc = { value: "Descriptor", configurable: true }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - - return obj; - }, - - // ToClassDescriptor - toClassDescriptor: function( - obj /*: ClassObject */, - ) /*: ElementsFinisher */ { - var kind = String(obj.kind); - if (kind !== "class") { - throw new TypeError( - 'A class descriptor\\'s .kind property must be "class", but a decorator' + - ' created a class descriptor with .kind "' + - kind + - '"', - ); - } - - this.disallowProperty(obj, "key", "A class descriptor"); - this.disallowProperty(obj, "placement", "A class descriptor"); - this.disallowProperty(obj, "descriptor", "A class descriptor"); - this.disallowProperty(obj, "initializer", "A class descriptor"); - this.disallowProperty(obj, "extras", "A class descriptor"); - - var finisher = _optionalCallableProperty(obj, "finisher"); - var elements = this.toElementDescriptors(obj.elements); - - return { elements: elements, finisher: finisher }; - }, - - // RunClassFinishers - runClassFinishers: function( - constructor /*: Class<*> */, - finishers /*: ClassFinisher[] */, - ) /*: Class<*> */ { - for (var i = 0; i < finishers.length; i++) { - var newConstructor /*: ?Class<*> */ = (0, finishers[i])(constructor); - if (newConstructor !== undefined) { - // NOTE: This should check if IsConstructor(newConstructor) is false. - if (typeof newConstructor !== "function") { - throw new TypeError("Finishers must return a constructor."); - } - constructor = newConstructor; - } - } - return constructor; - }, - - disallowProperty: function(obj, name, objectType) { - if (obj[name] !== undefined) { - throw new TypeError(objectType + " can't have a ." + name + " property."); - } - } - }; - - return api; - } - - // ClassElementEvaluation - function _createElementDescriptor( - def /*: ElementDefinition */, - ) /*: ElementDescriptor */ { - var key = toPropertyKey(def.key); - - var descriptor /*: PropertyDescriptor */; - if (def.kind === "method") { - descriptor = { - value: def.value, - writable: true, - configurable: true, - enumerable: false, - }; - } else if (def.kind === "get") { - descriptor = { get: def.value, configurable: true, enumerable: false }; - } else if (def.kind === "set") { - descriptor = { set: def.value, configurable: true, enumerable: false }; - } else if (def.kind === "field") { - descriptor = { configurable: true, writable: true, enumerable: true }; - } - - var element /*: ElementDescriptor */ = { - kind: def.kind === "field" ? "field" : "method", - key: key, - placement: def.static - ? "static" - : def.kind === "field" - ? "own" - : "prototype", - descriptor: descriptor, - }; - if (def.decorators) element.decorators = def.decorators; - if (def.kind === "field") element.initializer = def.value; - - return element; - } - - // CoalesceGetterSetter - function _coalesceGetterSetter( - element /*: ElementDescriptor */, - other /*: ElementDescriptor */, - ) { - if (element.descriptor.get !== undefined) { - other.descriptor.get = element.descriptor.get; - } else { - other.descriptor.set = element.descriptor.set; - } - } - - // CoalesceClassElements - function _coalesceClassElements( - elements /*: ElementDescriptor[] */, - ) /*: ElementDescriptor[] */ { - var newElements /*: ElementDescriptor[] */ = []; - - var isSameElement = function( - other /*: ElementDescriptor */, - ) /*: boolean */ { - return ( - other.kind === "method" && - other.key === element.key && - other.placement === element.placement - ); - }; - - for (var i = 0; i < elements.length; i++) { - var element /*: ElementDescriptor */ = elements[i]; - var other /*: ElementDescriptor */; - - if ( - element.kind === "method" && - (other = newElements.find(isSameElement)) - ) { - if ( - _isDataDescriptor(element.descriptor) || - _isDataDescriptor(other.descriptor) - ) { - if (_hasDecorators(element) || _hasDecorators(other)) { - throw new ReferenceError( - "Duplicated methods (" + element.key + ") can't be decorated.", - ); - } - other.descriptor = element.descriptor; - } else { - if (_hasDecorators(element)) { - if (_hasDecorators(other)) { - throw new ReferenceError( - "Decorators can't be placed on different accessors with for " + - "the same property (" + - element.key + - ").", - ); - } - other.decorators = element.decorators; - } - _coalesceGetterSetter(element, other); - } - } else { - newElements.push(element); - } - } - - return newElements; - } - - function _hasDecorators(element /*: ElementDescriptor */) /*: boolean */ { - return element.decorators && element.decorators.length; - } - - function _isDataDescriptor(desc /*: PropertyDescriptor */) /*: boolean */ { - return ( - desc !== undefined && - !(desc.value === undefined && desc.writable === undefined) - ); - } - - function _optionalCallableProperty /*::*/( - obj /*: T */, - name /*: $Keys */, - ) /*: ?Function */ { - var value = obj[name]; - if (value !== undefined && typeof value !== "function") { - throw new TypeError("Expected '" + name + "' to be a function"); - } - return value; - } - -`; -helpers.classPrivateMethodGet = helper("7.1.6")` - export default function _classPrivateMethodGet(receiver, privateSet, fn) { - if (!privateSet.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - return fn; - } -`; -helpers.checkPrivateRedeclaration = helper("7.14.1")` - export default function _checkPrivateRedeclaration(obj, privateCollection) { - if (privateCollection.has(obj)) { - throw new TypeError("Cannot initialize the same private elements twice on an object"); - } - } -`; -helpers.classPrivateFieldInitSpec = helper("7.14.1")` - import checkPrivateRedeclaration from "checkPrivateRedeclaration"; - - export default function _classPrivateFieldInitSpec(obj, privateMap, value) { - checkPrivateRedeclaration(obj, privateMap); - privateMap.set(obj, value); - } -`; -helpers.classPrivateMethodInitSpec = helper("7.14.1")` - import checkPrivateRedeclaration from "checkPrivateRedeclaration"; - - export default function _classPrivateMethodInitSpec(obj, privateSet) { - checkPrivateRedeclaration(obj, privateSet); - privateSet.add(obj); - } -`; -{ - helpers.classPrivateMethodSet = helper("7.1.6")` - export default function _classPrivateMethodSet() { - throw new TypeError("attempted to reassign private method"); - } - `; -} -helpers.identity = helper("7.17.0")` - export default function _identity(x) { - return x; - } -`; \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/applyDecs.js b/node_modules/@babel/helpers/lib/helpers/applyDecs.js deleted file mode 100644 index 27dc4e2..0000000 --- a/node_modules/@babel/helpers/lib/helpers/applyDecs.js +++ /dev/null @@ -1,483 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = applyDecs; - -function createMetadataMethodsForProperty(metadataMap, kind, property) { - return { - getMetadata: function (key) { - if (typeof key !== "symbol") { - throw new TypeError("Metadata keys must be symbols, received: " + key); - } - - var metadataForKey = metadataMap[key]; - if (metadataForKey === void 0) return void 0; - - if (kind === 1) { - var pub = metadataForKey.public; - - if (pub !== void 0) { - return pub[property]; - } - } else if (kind === 2) { - var priv = metadataForKey.private; - - if (priv !== void 0) { - return priv.get(property); - } - } else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) { - return metadataForKey.constructor; - } - }, - setMetadata: function (key, value) { - if (typeof key !== "symbol") { - throw new TypeError("Metadata keys must be symbols, received: " + key); - } - - var metadataForKey = metadataMap[key]; - - if (metadataForKey === void 0) { - metadataForKey = metadataMap[key] = {}; - } - - if (kind === 1) { - var pub = metadataForKey.public; - - if (pub === void 0) { - pub = metadataForKey.public = {}; - } - - pub[property] = value; - } else if (kind === 2) { - var priv = metadataForKey.priv; - - if (priv === void 0) { - priv = metadataForKey.private = new Map(); - } - - priv.set(property, value); - } else { - metadataForKey.constructor = value; - } - } - }; -} - -function convertMetadataMapToFinal(obj, metadataMap) { - var parentMetadataMap = obj[Symbol.metadata || Symbol.for("Symbol.metadata")]; - var metadataKeys = Object.getOwnPropertySymbols(metadataMap); - if (metadataKeys.length === 0) return; - - for (var i = 0; i < metadataKeys.length; i++) { - var key = metadataKeys[i]; - var metaForKey = metadataMap[key]; - var parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null; - var pub = metaForKey.public; - var parentPub = parentMetaForKey ? parentMetaForKey.public : null; - - if (pub && parentPub) { - Object.setPrototypeOf(pub, parentPub); - } - - var priv = metaForKey.private; - - if (priv) { - var privArr = Array.from(priv.values()); - var parentPriv = parentMetaForKey ? parentMetaForKey.private : null; - - if (parentPriv) { - privArr = privArr.concat(parentPriv); - } - - metaForKey.private = privArr; - } - - if (parentMetaForKey) { - Object.setPrototypeOf(metaForKey, parentMetaForKey); - } - } - - if (parentMetadataMap) { - Object.setPrototypeOf(metadataMap, parentMetadataMap); - } - - obj[Symbol.metadata || Symbol.for("Symbol.metadata")] = metadataMap; -} - -function createAddInitializerMethod(initializers) { - return function addInitializer(initializer) { - assertValidInitializer(initializer); - initializers.push(initializer); - }; -} - -function memberDecCtx(base, name, desc, metadataMap, initializers, kind, isStatic, isPrivate) { - var kindStr; - - switch (kind) { - case 1: - kindStr = "accessor"; - break; - - case 2: - kindStr = "method"; - break; - - case 3: - kindStr = "getter"; - break; - - case 4: - kindStr = "setter"; - break; - - default: - kindStr = "field"; - } - - var ctx = { - kind: kindStr, - name: isPrivate ? "#" + name : name, - isStatic: isStatic, - isPrivate: isPrivate - }; - - if (kind !== 0) { - ctx.addInitializer = createAddInitializerMethod(initializers); - } - - var metadataKind, metadataName; - - if (isPrivate) { - metadataKind = 2; - metadataName = Symbol(name); - var access = {}; - - if (kind === 0) { - access.get = desc.get; - access.set = desc.set; - } else if (kind === 2) { - access.get = function () { - return desc.value; - }; - } else { - if (kind === 1 || kind === 3) { - access.get = function () { - return desc.get.call(this); - }; - } - - if (kind === 1 || kind === 4) { - access.set = function (v) { - desc.set.call(this, v); - }; - } - } - - ctx.access = access; - } else { - metadataKind = 1; - metadataName = name; - } - - return Object.assign(ctx, createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName)); -} - -function assertValidInitializer(initializer) { - if (typeof initializer !== "function") { - throw new Error("initializers must be functions"); - } -} - -function assertValidReturnValue(kind, value) { - var type = typeof value; - - if (kind === 1) { - if (type !== "object" || value === null) { - throw new Error("accessor decorators must return an object with get, set, or initializer properties or void 0"); - } - } else if (type !== "function") { - if (kind === 0) { - throw new Error("field decorators must return a initializer function or void 0"); - } else { - throw new Error("method decorators must return a function or void 0"); - } - } -} - -function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) { - var decs = decInfo[0]; - var desc, initializer, value; - - if (isPrivate) { - if (kind === 0 || kind === 1) { - desc = { - get: decInfo[3], - set: decInfo[4] - }; - } else if (kind === 3) { - desc = { - get: decInfo[3] - }; - } else if (kind === 4) { - desc = { - set: decInfo[3] - }; - } else { - desc = { - value: decInfo[3] - }; - } - } else if (kind !== 0) { - desc = Object.getOwnPropertyDescriptor(base, name); - } - - if (kind === 1) { - value = { - get: desc.get, - set: desc.set - }; - } else if (kind === 2) { - value = desc.value; - } else if (kind === 3) { - value = desc.get; - } else if (kind === 4) { - value = desc.set; - } - - var ctx = memberDecCtx(base, name, desc, metadataMap, initializers, kind, isStatic, isPrivate); - var newValue, get, set; - - if (typeof decs === "function") { - newValue = decs(value, ctx); - - if (newValue !== void 0) { - assertValidReturnValue(kind, newValue); - - if (kind === 0) { - initializer = newValue; - } else if (kind === 1) { - initializer = newValue.initializer; - get = newValue.get || value.get; - set = newValue.set || value.set; - value = { - get: get, - set: set - }; - } else { - value = newValue; - } - } - } else { - for (var i = decs.length - 1; i >= 0; i--) { - var dec = decs[i]; - newValue = dec(value, ctx); - - if (newValue !== void 0) { - assertValidReturnValue(kind, newValue); - var newInit; - - if (kind === 0) { - newInit = newValue; - } else if (kind === 1) { - newInit = newValue.initializer; - get = newValue.get || value.get; - set = newValue.set || value.set; - value = { - get: get, - set: set - }; - } else { - value = newValue; - } - - if (newInit !== void 0) { - if (initializer === void 0) { - initializer = newInit; - } else if (typeof initializer === "function") { - initializer = [initializer, newInit]; - } else { - initializer.push(newInit); - } - } - } - } - } - - if (kind === 0 || kind === 1) { - if (initializer === void 0) { - initializer = function (instance, init) { - return init; - }; - } else if (typeof initializer !== "function") { - var ownInitializers = initializer; - - initializer = function (instance, init) { - var value = init; - - for (var i = 0; i < ownInitializers.length; i++) { - value = ownInitializers[i].call(instance, value); - } - - return value; - }; - } else { - var originalInitializer = initializer; - - initializer = function (instance, init) { - return originalInitializer.call(instance, init); - }; - } - - ret.push(initializer); - } - - if (kind !== 0) { - if (kind === 1) { - desc.get = value.get; - desc.set = value.set; - } else if (kind === 2) { - desc.value = value; - } else if (kind === 3) { - desc.get = value; - } else if (kind === 4) { - desc.set = value; - } - - if (isPrivate) { - if (kind === 1) { - ret.push(function (instance, args) { - return value.get.call(instance, args); - }); - ret.push(function (instance, args) { - return value.set.call(instance, args); - }); - } else if (kind === 2) { - ret.push(value); - } else { - ret.push(function (instance, args) { - return value.call(instance, args); - }); - } - } else { - Object.defineProperty(base, name, desc); - } - } -} - -function applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) { - var protoInitializers = []; - var staticInitializers = []; - var existingProtoNonFields = new Map(); - var existingStaticNonFields = new Map(); - - for (var i = 0; i < decInfos.length; i++) { - var decInfo = decInfos[i]; - if (!Array.isArray(decInfo)) continue; - var kind = decInfo[1]; - var name = decInfo[2]; - var isPrivate = decInfo.length > 3; - var isStatic = kind >= 5; - var base; - var metadataMap; - var initializers; - - if (isStatic) { - base = Class; - metadataMap = staticMetadataMap; - kind = kind - 5; - initializers = staticInitializers; - } else { - base = Class.prototype; - metadataMap = protoMetadataMap; - initializers = protoInitializers; - } - - if (kind !== 0 && !isPrivate) { - var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields; - var existingKind = existingNonFields.get(name) || 0; - - if (existingKind === true || existingKind === 3 && kind !== 4 || existingKind === 4 && kind !== 3) { - throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name); - } else if (!existingKind && kind > 2) { - existingNonFields.set(name, kind); - } else { - existingNonFields.set(name, true); - } - } - - applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers); - } - - if (protoInitializers.length > 0) { - pushInitializers(ret, protoInitializers); - } - - if (staticInitializers.length > 0) { - pushInitializers(ret, staticInitializers); - } -} - -function pushInitializers(ret, initializers) { - if (initializers.length > 0) { - initializers = initializers.slice(); - ret.push(function (instance) { - for (var i = 0; i < initializers.length; i++) { - initializers[i].call(instance, instance); - } - - return instance; - }); - } else { - ret.push(function (instance) { - return instance; - }); - } -} - -function applyClassDecs(ret, targetClass, metadataMap, classDecs) { - var initializers = []; - var newClass = targetClass; - var name = targetClass.name; - var ctx = Object.assign({ - kind: "class", - name: name, - addInitializer: createAddInitializerMethod(initializers) - }, createMetadataMethodsForProperty(metadataMap, 0, name)); - - for (var i = classDecs.length - 1; i >= 0; i--) { - newClass = classDecs[i](newClass, ctx) || newClass; - } - - ret.push(newClass); - - if (initializers.length > 0) { - ret.push(function () { - for (var i = 0; i < initializers.length; i++) { - initializers[i].call(newClass, newClass); - } - }); - } else { - ret.push(function () {}); - } -} - -function applyDecs(targetClass, memberDecs, classDecs) { - var ret = []; - var staticMetadataMap = {}; - - if (memberDecs) { - var protoMetadataMap = {}; - applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs); - convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap); - } - - if (classDecs) { - applyClassDecs(ret, targetClass, staticMetadataMap, classDecs); - } - - convertMetadataMapToFinal(targetClass, staticMetadataMap); - return ret; -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/asyncIterator.js b/node_modules/@babel/helpers/lib/helpers/asyncIterator.js deleted file mode 100644 index 0a6d9de..0000000 --- a/node_modules/@babel/helpers/lib/helpers/asyncIterator.js +++ /dev/null @@ -1,81 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _asyncIterator; - -function _asyncIterator(iterable) { - var method, - async, - sync, - retry = 2; - - if (typeof Symbol !== "undefined") { - async = Symbol.asyncIterator; - sync = Symbol.iterator; - } - - while (retry--) { - if (async && (method = iterable[async]) != null) { - return method.call(iterable); - } - - if (sync && (method = iterable[sync]) != null) { - return new AsyncFromSyncIterator(method.call(iterable)); - } - - async = "@@asyncIterator"; - sync = "@@iterator"; - } - - throw new TypeError("Object is not async iterable"); -} - -function AsyncFromSyncIterator(s) { - AsyncFromSyncIterator = function (s) { - this.s = s; - this.n = s.next; - }; - - AsyncFromSyncIterator.prototype = { - s: null, - n: null, - next: function () { - return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); - }, - return: function (value) { - var ret = this.s.return; - - if (ret === undefined) { - return Promise.resolve({ - value: value, - done: true - }); - } - - return AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); - }, - throw: function (value) { - var thr = this.s.return; - if (thr === undefined) return Promise.reject(value); - return AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); - } - }; - - function AsyncFromSyncIteratorContinuation(r) { - if (Object(r) !== r) { - return Promise.reject(new TypeError(r + " is not an object.")); - } - - var done = r.done; - return Promise.resolve(r.value).then(function (value) { - return { - value: value, - done: done - }; - }); - } - - return new AsyncFromSyncIterator(s); -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/jsx.js b/node_modules/@babel/helpers/lib/helpers/jsx.js deleted file mode 100644 index 68de168..0000000 --- a/node_modules/@babel/helpers/lib/helpers/jsx.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _createRawReactElement; -var REACT_ELEMENT_TYPE; - -function _createRawReactElement(type, props, key, children) { - if (!REACT_ELEMENT_TYPE) { - REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; - } - - var defaultProps = type && type.defaultProps; - var childrenLength = arguments.length - 3; - - if (!props && childrenLength !== 0) { - props = { - children: void 0 - }; - } - - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = new Array(childrenLength); - - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 3]; - } - - props.children = childArray; - } - - if (props && defaultProps) { - for (var propName in defaultProps) { - if (props[propName] === void 0) { - props[propName] = defaultProps[propName]; - } - } - } else if (!props) { - props = defaultProps || {}; - } - - return { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: key === undefined ? null : "" + key, - ref: null, - props: props, - _owner: null - }; -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/objectSpread2.js b/node_modules/@babel/helpers/lib/helpers/objectSpread2.js deleted file mode 100644 index 03db006..0000000 --- a/node_modules/@babel/helpers/lib/helpers/objectSpread2.js +++ /dev/null @@ -1,46 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _objectSpread2; - -var _defineProperty = require("defineProperty"); - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - - if (enumerableOnly) { - symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - } - - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - _defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/typeof.js b/node_modules/@babel/helpers/lib/helpers/typeof.js deleted file mode 100644 index b1a728b..0000000 --- a/node_modules/@babel/helpers/lib/helpers/typeof.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _typeof; - -function _typeof(obj) { - "@babel/helpers - typeof"; - - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - exports.default = _typeof = function (obj) { - return typeof obj; - }; - } else { - exports.default = _typeof = function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - } - - return _typeof(obj); -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js b/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js deleted file mode 100644 index 6375b71..0000000 --- a/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +++ /dev/null @@ -1,73 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _wrapRegExp; - -var _setPrototypeOf = require("setPrototypeOf"); - -var _inherits = require("inherits"); - -function _wrapRegExp() { - exports.default = _wrapRegExp = function (re, groups) { - return new BabelRegExp(re, undefined, groups); - }; - - var _super = RegExp.prototype; - - var _groups = new WeakMap(); - - function BabelRegExp(re, flags, groups) { - var _this = new RegExp(re, flags); - - _groups.set(_this, groups || _groups.get(re)); - - return _setPrototypeOf(_this, BabelRegExp.prototype); - } - - _inherits(BabelRegExp, RegExp); - - BabelRegExp.prototype.exec = function (str) { - var result = _super.exec.call(this, str); - - if (result) result.groups = buildGroups(result, this); - return result; - }; - - BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { - if (typeof substitution === "string") { - var groups = _groups.get(this); - - return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { - return "$" + groups[name]; - })); - } else if (typeof substitution === "function") { - var _this = this; - - return _super[Symbol.replace].call(this, str, function () { - var args = arguments; - - if (typeof args[args.length - 1] !== "object") { - args = [].slice.call(args); - args.push(buildGroups(args, _this)); - } - - return substitution.apply(this, args); - }); - } else { - return _super[Symbol.replace].call(this, str, substitution); - } - }; - - function buildGroups(result, re) { - var g = _groups.get(re); - - return Object.keys(g).reduce(function (groups, name) { - groups[name] = result[g[name]]; - return groups; - }, Object.create(null)); - } - - return _wrapRegExp.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/index.js b/node_modules/@babel/helpers/lib/index.js deleted file mode 100644 index 5e793d5..0000000 --- a/node_modules/@babel/helpers/lib/index.js +++ /dev/null @@ -1,300 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -exports.ensure = ensure; -exports.get = get; -exports.getDependencies = getDependencies; -exports.list = void 0; -exports.minVersion = minVersion; - -var _traverse = require("@babel/traverse"); - -var _t = require("@babel/types"); - -var _helpers = require("./helpers"); - -const { - assignmentExpression, - cloneNode, - expressionStatement, - file: t_file, - identifier, - variableDeclaration, - variableDeclarator -} = _t; - -function makePath(path) { - const parts = []; - - for (; path.parentPath; path = path.parentPath) { - parts.push(path.key); - if (path.inList) parts.push(path.listKey); - } - - return parts.reverse().join("."); -} - -let fileClass = undefined; - -function getHelperMetadata(file) { - const globals = new Set(); - const localBindingNames = new Set(); - const dependencies = new Map(); - let exportName; - let exportPath; - const exportBindingAssignments = []; - const importPaths = []; - const importBindingsReferences = []; - const dependencyVisitor = { - ImportDeclaration(child) { - const name = child.node.source.value; - - if (!_helpers.default[name]) { - throw child.buildCodeFrameError(`Unknown helper ${name}`); - } - - if (child.get("specifiers").length !== 1 || !child.get("specifiers.0").isImportDefaultSpecifier()) { - throw child.buildCodeFrameError("Helpers can only import a default value"); - } - - const bindingIdentifier = child.node.specifiers[0].local; - dependencies.set(bindingIdentifier, name); - importPaths.push(makePath(child)); - }, - - ExportDefaultDeclaration(child) { - const decl = child.get("declaration"); - - if (decl.isFunctionDeclaration()) { - if (!decl.node.id) { - throw decl.buildCodeFrameError("Helpers should give names to their exported func declaration"); - } - - exportName = decl.node.id.name; - } - - exportPath = makePath(child); - }, - - ExportAllDeclaration(child) { - throw child.buildCodeFrameError("Helpers can only export default"); - }, - - ExportNamedDeclaration(child) { - throw child.buildCodeFrameError("Helpers can only export default"); - }, - - Statement(child) { - if (child.isModuleDeclaration()) return; - child.skip(); - } - - }; - const referenceVisitor = { - Program(path) { - const bindings = path.scope.getAllBindings(); - Object.keys(bindings).forEach(name => { - if (name === exportName) return; - if (dependencies.has(bindings[name].identifier)) return; - localBindingNames.add(name); - }); - }, - - ReferencedIdentifier(child) { - const name = child.node.name; - const binding = child.scope.getBinding(name); - - if (!binding) { - globals.add(name); - } else if (dependencies.has(binding.identifier)) { - importBindingsReferences.push(makePath(child)); - } - }, - - AssignmentExpression(child) { - const left = child.get("left"); - if (!(exportName in left.getBindingIdentifiers())) return; - - if (!left.isIdentifier()) { - throw left.buildCodeFrameError("Only simple assignments to exports are allowed in helpers"); - } - - const binding = child.scope.getBinding(exportName); - - if (binding != null && binding.scope.path.isProgram()) { - exportBindingAssignments.push(makePath(child)); - } - } - - }; - (0, _traverse.default)(file.ast, dependencyVisitor, file.scope); - (0, _traverse.default)(file.ast, referenceVisitor, file.scope); - if (!exportPath) throw new Error("Helpers must default-export something."); - exportBindingAssignments.reverse(); - return { - globals: Array.from(globals), - localBindingNames: Array.from(localBindingNames), - dependencies, - exportBindingAssignments, - exportPath, - exportName, - importBindingsReferences, - importPaths - }; -} - -function permuteHelperAST(file, metadata, id, localBindings, getDependency) { - if (localBindings && !id) { - throw new Error("Unexpected local bindings for module-based helpers."); - } - - if (!id) return; - const { - localBindingNames, - dependencies, - exportBindingAssignments, - exportPath, - exportName, - importBindingsReferences, - importPaths - } = metadata; - const dependenciesRefs = {}; - dependencies.forEach((name, id) => { - dependenciesRefs[id.name] = typeof getDependency === "function" && getDependency(name) || id; - }); - const toRename = {}; - const bindings = new Set(localBindings || []); - localBindingNames.forEach(name => { - let newName = name; - - while (bindings.has(newName)) newName = "_" + newName; - - if (newName !== name) toRename[name] = newName; - }); - - if (id.type === "Identifier" && exportName !== id.name) { - toRename[exportName] = id.name; - } - - const visitor = { - Program(path) { - const exp = path.get(exportPath); - const imps = importPaths.map(p => path.get(p)); - const impsBindingRefs = importBindingsReferences.map(p => path.get(p)); - const decl = exp.get("declaration"); - - if (id.type === "Identifier") { - if (decl.isFunctionDeclaration()) { - exp.replaceWith(decl); - } else { - exp.replaceWith(variableDeclaration("var", [variableDeclarator(id, decl.node)])); - } - } else if (id.type === "MemberExpression") { - if (decl.isFunctionDeclaration()) { - exportBindingAssignments.forEach(assignPath => { - const assign = path.get(assignPath); - assign.replaceWith(assignmentExpression("=", id, assign.node)); - }); - exp.replaceWith(decl); - path.pushContainer("body", expressionStatement(assignmentExpression("=", id, identifier(exportName)))); - } else { - exp.replaceWith(expressionStatement(assignmentExpression("=", id, decl.node))); - } - } else { - throw new Error("Unexpected helper format."); - } - - Object.keys(toRename).forEach(name => { - path.scope.rename(name, toRename[name]); - }); - - for (const path of imps) path.remove(); - - for (const path of impsBindingRefs) { - const node = cloneNode(dependenciesRefs[path.node.name]); - path.replaceWith(node); - } - - path.stop(); - } - - }; - (0, _traverse.default)(file.ast, visitor, file.scope); -} - -const helperData = Object.create(null); - -function loadHelper(name) { - if (!helperData[name]) { - const helper = _helpers.default[name]; - - if (!helper) { - throw Object.assign(new ReferenceError(`Unknown helper ${name}`), { - code: "BABEL_HELPER_UNKNOWN", - helper: name - }); - } - - const fn = () => { - const file = { - ast: t_file(helper.ast()) - }; - - if (fileClass) { - return new fileClass({ - filename: `babel-helper://${name}` - }, file); - } - - return file; - }; - - const metadata = getHelperMetadata(fn()); - helperData[name] = { - build(getDependency, id, localBindings) { - const file = fn(); - permuteHelperAST(file, metadata, id, localBindings, getDependency); - return { - nodes: file.ast.program.body, - globals: metadata.globals - }; - }, - - minVersion() { - return helper.minVersion; - }, - - dependencies: metadata.dependencies - }; - } - - return helperData[name]; -} - -function get(name, getDependency, id, localBindings) { - return loadHelper(name).build(getDependency, id, localBindings); -} - -function minVersion(name) { - return loadHelper(name).minVersion(); -} - -function getDependencies(name) { - return Array.from(loadHelper(name).dependencies.values()); -} - -function ensure(name, newFileClass) { - if (!fileClass) { - fileClass = newFileClass; - } - - loadHelper(name); -} - -const list = Object.keys(_helpers.default).map(name => name.replace(/^_/, "")); -exports.list = list; -var _default = get; -exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/helpers/package.json b/node_modules/@babel/helpers/package.json deleted file mode 100644 index 95203cd..0000000 --- a/node_modules/@babel/helpers/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "@babel/helpers", - "version": "7.17.2", - "description": "Collection of helper functions used by Babel transforms.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helpers", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helpers" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.17.0", - "@babel/types": "^7.17.0" - }, - "devDependencies": { - "@babel/helper-plugin-test-runner": "^7.16.7", - "terser": "^5.9.0" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file diff --git a/node_modules/@babel/helpers/scripts/generate-helpers.js b/node_modules/@babel/helpers/scripts/generate-helpers.js deleted file mode 100644 index 1c59746..0000000 --- a/node_modules/@babel/helpers/scripts/generate-helpers.js +++ /dev/null @@ -1,64 +0,0 @@ -import fs from "fs"; -import { join } from "path"; -import { URL, fileURLToPath } from "url"; -import { minify } from "terser"; // eslint-disable-line - -const HELPERS_FOLDER = new URL("../src/helpers", import.meta.url); -const IGNORED_FILES = new Set(["package.json"]); - -export default async function generateHelpers() { - let output = `/* - * This file is auto-generated! Do not modify it directly. - * To re-generate run 'yarn gulp generate-runtime-helpers' - */ - -import template from "@babel/template"; - -function helper(minVersion, source) { - return Object.freeze({ - minVersion, - ast: () => template.program.ast(source), - }) -} - -export default Object.freeze({ -`; - - for (const file of (await fs.promises.readdir(HELPERS_FOLDER)).sort()) { - if (IGNORED_FILES.has(file)) continue; - if (file.startsWith(".")) continue; // ignore e.g. vim swap files - - const [helperName] = file.split("."); - - const filePath = join(fileURLToPath(HELPERS_FOLDER), file); - if (!file.endsWith(".js")) { - console.error("ignoring", filePath); - continue; - } - - const fileContents = await fs.promises.readFile(filePath, "utf8"); - const minVersionMatch = fileContents.match( - /^\s*\/\*\s*@minVersion\s+(?\S+)\s*\*\/\s*$/m - ); - if (!minVersionMatch) { - throw new Error(`@minVersion number missing in ${filePath}`); - } - const { minVersion } = minVersionMatch.groups; - - const source = await minify(fileContents, { - mangle: false, - // The _typeof helper has a custom directive that we must keep - compress: { directives: false }, - }); - - output += `\ - ${JSON.stringify(helperName)}: helper( - ${JSON.stringify(minVersion)}, - ${JSON.stringify(source.code)}, - ), -`; - } - - output += "});"; - return output; -} diff --git a/node_modules/@babel/helpers/scripts/package.json b/node_modules/@babel/helpers/scripts/package.json deleted file mode 100644 index 5ffd980..0000000 --- a/node_modules/@babel/helpers/scripts/package.json +++ /dev/null @@ -1 +0,0 @@ -{ "type": "module" } diff --git a/node_modules/@babel/highlight/LICENSE b/node_modules/@babel/highlight/LICENSE deleted file mode 100644 index f31575e..0000000 --- a/node_modules/@babel/highlight/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -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/@babel/highlight/README.md b/node_modules/@babel/highlight/README.md deleted file mode 100644 index f8887ad..0000000 --- a/node_modules/@babel/highlight/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/highlight - -> Syntax highlight JavaScript strings for output in terminals. - -See our website [@babel/highlight](https://babeljs.io/docs/en/babel-highlight) for more information. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/highlight -``` - -or using yarn: - -```sh -yarn add @babel/highlight --dev -``` diff --git a/node_modules/@babel/highlight/lib/index.js b/node_modules/@babel/highlight/lib/index.js deleted file mode 100644 index d323b39..0000000 --- a/node_modules/@babel/highlight/lib/index.js +++ /dev/null @@ -1,116 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = highlight; -exports.getChalk = getChalk; -exports.shouldHighlight = shouldHighlight; - -var _jsTokens = require("js-tokens"); - -var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); - -var _chalk = require("chalk"); - -const sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]); - -function getDefs(chalk) { - return { - keyword: chalk.cyan, - capitalized: chalk.yellow, - jsxIdentifier: chalk.yellow, - punctuator: chalk.yellow, - number: chalk.magenta, - string: chalk.green, - regex: chalk.magenta, - comment: chalk.grey, - invalid: chalk.white.bgRed.bold - }; -} - -const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; -const BRACKET = /^[()[\]{}]$/; -let tokenize; -{ - const JSX_TAG = /^[a-z][\w-]*$/i; - - const getTokenType = function (token, offset, text) { - if (token.type === "name") { - if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) { - return "keyword"; - } - - if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.substr(offset - 2, 2) == " colorize(str)).join("\n"); - } else { - highlighted += value; - } - } - - return highlighted; -} - -function shouldHighlight(options) { - return !!_chalk.supportsColor || options.forceColor; -} - -function getChalk(options) { - return options.forceColor ? new _chalk.constructor({ - enabled: true, - level: 1 - }) : _chalk; -} - -function highlight(code, options = {}) { - if (code !== "" && shouldHighlight(options)) { - const chalk = getChalk(options); - const defs = getDefs(chalk); - return highlightTokens(defs, code); - } else { - return code; - } -} \ No newline at end of file diff --git a/node_modules/@babel/highlight/node_modules/ansi-styles/index.js b/node_modules/@babel/highlight/node_modules/ansi-styles/index.js deleted file mode 100644 index 90a871c..0000000 --- a/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +++ /dev/null @@ -1,165 +0,0 @@ -'use strict'; -const colorConvert = require('color-convert'); - -const wrapAnsi16 = (fn, offset) => function () { - const code = fn.apply(colorConvert, arguments); - return `\u001B[${code + offset}m`; -}; - -const wrapAnsi256 = (fn, offset) => function () { - const code = fn.apply(colorConvert, arguments); - return `\u001B[${38 + offset};5;${code}m`; -}; - -const wrapAnsi16m = (fn, offset) => function () { - const rgb = fn.apply(colorConvert, arguments); - return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; -}; - -function assembleStyles() { - const codes = new Map(); - const styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - gray: [90, 39], - - // Bright color - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - - // Bright color - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] - } - }; - - // Fix humans - styles.color.grey = styles.color.gray; - - for (const groupName of Object.keys(styles)) { - const group = styles[groupName]; - - for (const styleName of Object.keys(group)) { - const style = group[styleName]; - - styles[styleName] = { - open: `\u001B[${style[0]}m`, - close: `\u001B[${style[1]}m` - }; - - group[styleName] = styles[styleName]; - - codes.set(style[0], style[1]); - } - - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - - Object.defineProperty(styles, 'codes', { - value: codes, - enumerable: false - }); - } - - const ansi2ansi = n => n; - const rgb2rgb = (r, g, b) => [r, g, b]; - - styles.color.close = '\u001B[39m'; - styles.bgColor.close = '\u001B[49m'; - - styles.color.ansi = { - ansi: wrapAnsi16(ansi2ansi, 0) - }; - styles.color.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 0) - }; - styles.color.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 0) - }; - - styles.bgColor.ansi = { - ansi: wrapAnsi16(ansi2ansi, 10) - }; - styles.bgColor.ansi256 = { - ansi256: wrapAnsi256(ansi2ansi, 10) - }; - styles.bgColor.ansi16m = { - rgb: wrapAnsi16m(rgb2rgb, 10) - }; - - for (let key of Object.keys(colorConvert)) { - if (typeof colorConvert[key] !== 'object') { - continue; - } - - const suite = colorConvert[key]; - - if (key === 'ansi16') { - key = 'ansi'; - } - - if ('ansi16' in suite) { - styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0); - styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10); - } - - if ('ansi256' in suite) { - styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0); - styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10); - } - - if ('rgb' in suite) { - styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0); - styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10); - } - } - - return styles; -} - -// Make the export immutable -Object.defineProperty(module, 'exports', { - enumerable: true, - get: assembleStyles -}); diff --git a/node_modules/@babel/highlight/node_modules/ansi-styles/license b/node_modules/@babel/highlight/node_modules/ansi-styles/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/@babel/highlight/node_modules/ansi-styles/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/@babel/highlight/node_modules/ansi-styles/package.json b/node_modules/@babel/highlight/node_modules/ansi-styles/package.json deleted file mode 100644 index 65edb48..0000000 --- a/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "ansi-styles", - "version": "3.2.1", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "color-convert": "^1.9.0" - }, - "devDependencies": { - "ava": "*", - "babel-polyfill": "^6.23.0", - "svg-term-cli": "^2.1.1", - "xo": "*" - }, - "ava": { - "require": "babel-polyfill" - } -} diff --git a/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md b/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md deleted file mode 100644 index 3158e2d..0000000 --- a/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +++ /dev/null @@ -1,147 +0,0 @@ -# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) - -> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal - -You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. - - - - -## Install - -``` -$ npm install ansi-styles -``` - - -## Usage - -```js -const style = require('ansi-styles'); - -console.log(`${style.green.open}Hello world!${style.green.close}`); - - -// Color conversion between 16/256/truecolor -// NOTE: If conversion goes to 16 colors or 256 colors, the original color -// may be degraded to fit that color palette. This means terminals -// that do not support 16 million colors will best-match the -// original color. -console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close); -console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close); -console.log(style.color.ansi16m.hex('#ABCDEF') + 'Hello world!' + style.color.close); -``` - -## API - -Each style has an `open` and `close` property. - - -## Styles - -### Modifiers - -- `reset` -- `bold` -- `dim` -- `italic` *(Not widely supported)* -- `underline` -- `inverse` -- `hidden` -- `strikethrough` *(Not widely supported)* - -### Colors - -- `black` -- `red` -- `green` -- `yellow` -- `blue` -- `magenta` -- `cyan` -- `white` -- `gray` ("bright black") -- `redBright` -- `greenBright` -- `yellowBright` -- `blueBright` -- `magentaBright` -- `cyanBright` -- `whiteBright` - -### Background colors - -- `bgBlack` -- `bgRed` -- `bgGreen` -- `bgYellow` -- `bgBlue` -- `bgMagenta` -- `bgCyan` -- `bgWhite` -- `bgBlackBright` -- `bgRedBright` -- `bgGreenBright` -- `bgYellowBright` -- `bgBlueBright` -- `bgMagentaBright` -- `bgCyanBright` -- `bgWhiteBright` - - -## Advanced usage - -By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. - -- `style.modifier` -- `style.color` -- `style.bgColor` - -###### Example - -```js -console.log(style.color.green.open); -``` - -Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values. - -###### Example - -```js -console.log(style.codes.get(36)); -//=> 39 -``` - - -## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728) - -`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors. - -To use these, call the associated conversion function with the intended output, for example: - -```js -style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code -style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code - -style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code -style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code - -style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code -style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code -``` - - -## Related - -- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal - - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Josh Junon](https://github.com/qix-) - - -## License - -MIT diff --git a/node_modules/@babel/highlight/node_modules/chalk/index.js b/node_modules/@babel/highlight/node_modules/chalk/index.js deleted file mode 100644 index 1cc5fa8..0000000 --- a/node_modules/@babel/highlight/node_modules/chalk/index.js +++ /dev/null @@ -1,228 +0,0 @@ -'use strict'; -const escapeStringRegexp = require('escape-string-regexp'); -const ansiStyles = require('ansi-styles'); -const stdoutColor = require('supports-color').stdout; - -const template = require('./templates.js'); - -const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm'); - -// `supportsColor.level` → `ansiStyles.color[name]` mapping -const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m']; - -// `color-convert` models to exclude from the Chalk API due to conflicts and such -const skipModels = new Set(['gray']); - -const styles = Object.create(null); - -function applyOptions(obj, options) { - options = options || {}; - - // Detect level if not set manually - const scLevel = stdoutColor ? stdoutColor.level : 0; - obj.level = options.level === undefined ? scLevel : options.level; - obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0; -} - -function Chalk(options) { - // We check for this.template here since calling `chalk.constructor()` - // by itself will have a `this` of a previously constructed chalk object - if (!this || !(this instanceof Chalk) || this.template) { - const chalk = {}; - applyOptions(chalk, options); - - chalk.template = function () { - const args = [].slice.call(arguments); - return chalkTag.apply(null, [chalk.template].concat(args)); - }; - - Object.setPrototypeOf(chalk, Chalk.prototype); - Object.setPrototypeOf(chalk.template, chalk); - - chalk.template.constructor = Chalk; - - return chalk.template; - } - - applyOptions(this, options); -} - -// Use bright blue on Windows as the normal blue color is illegible -if (isSimpleWindowsTerm) { - ansiStyles.blue.open = '\u001B[94m'; -} - -for (const key of Object.keys(ansiStyles)) { - ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g'); - - styles[key] = { - get() { - const codes = ansiStyles[key]; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key); - } - }; -} - -styles.visible = { - get() { - return build.call(this, this._styles || [], true, 'visible'); - } -}; - -ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g'); -for (const model of Object.keys(ansiStyles.color.ansi)) { - if (skipModels.has(model)) { - continue; - } - - styles[model] = { - get() { - const level = this.level; - return function () { - const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.color.close, - closeRe: ansiStyles.color.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; -} - -ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g'); -for (const model of Object.keys(ansiStyles.bgColor.ansi)) { - if (skipModels.has(model)) { - continue; - } - - const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1); - styles[bgModel] = { - get() { - const level = this.level; - return function () { - const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); - const codes = { - open, - close: ansiStyles.bgColor.close, - closeRe: ansiStyles.bgColor.closeRe - }; - return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); - }; - } - }; -} - -const proto = Object.defineProperties(() => {}, styles); - -function build(_styles, _empty, key) { - const builder = function () { - return applyStyle.apply(builder, arguments); - }; - - builder._styles = _styles; - builder._empty = _empty; - - const self = this; - - Object.defineProperty(builder, 'level', { - enumerable: true, - get() { - return self.level; - }, - set(level) { - self.level = level; - } - }); - - Object.defineProperty(builder, 'enabled', { - enumerable: true, - get() { - return self.enabled; - }, - set(enabled) { - self.enabled = enabled; - } - }); - - // See below for fix regarding invisible grey/dim combination on Windows - builder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey'; - - // `__proto__` is used because we must return a function, but there is - // no way to create a function with a different prototype - builder.__proto__ = proto; // eslint-disable-line no-proto - - return builder; -} - -function applyStyle() { - // Support varags, but simply cast to string in case there's only one arg - const args = arguments; - const argsLen = args.length; - let str = String(arguments[0]); - - if (argsLen === 0) { - return ''; - } - - if (argsLen > 1) { - // Don't slice `arguments`, it prevents V8 optimizations - for (let a = 1; a < argsLen; a++) { - str += ' ' + args[a]; - } - } - - if (!this.enabled || this.level <= 0 || !str) { - return this._empty ? '' : str; - } - - // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe, - // see https://github.com/chalk/chalk/issues/58 - // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop. - const originalDim = ansiStyles.dim.open; - if (isSimpleWindowsTerm && this.hasGrey) { - ansiStyles.dim.open = ''; - } - - for (const code of this._styles.slice().reverse()) { - // Replace any instances already present with a re-opening code - // otherwise only the part of the string until said closing code - // will be colored, and the rest will simply be 'plain'. - str = code.open + str.replace(code.closeRe, code.open) + code.close; - - // Close the styling before a linebreak and reopen - // after next line to fix a bleed issue on macOS - // https://github.com/chalk/chalk/pull/92 - str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); - } - - // Reset the original `dim` if we changed it to work around the Windows dimmed gray issue - ansiStyles.dim.open = originalDim; - - return str; -} - -function chalkTag(chalk, strings) { - if (!Array.isArray(strings)) { - // If chalk() was called by itself or with a string, - // return the string itself as a string. - return [].slice.call(arguments, 1).join(' '); - } - - const args = [].slice.call(arguments, 2); - const parts = [strings.raw[0]]; - - for (let i = 1; i < strings.length; i++) { - parts.push(String(args[i - 1]).replace(/[{}\\]/g, '\\$&')); - parts.push(String(strings.raw[i])); - } - - return template(chalk, parts.join('')); -} - -Object.defineProperties(Chalk.prototype, styles); - -module.exports = Chalk(); // eslint-disable-line new-cap -module.exports.supportsColor = stdoutColor; -module.exports.default = module.exports; // For TypeScript diff --git a/node_modules/@babel/highlight/node_modules/chalk/index.js.flow b/node_modules/@babel/highlight/node_modules/chalk/index.js.flow deleted file mode 100644 index 622caaa..0000000 --- a/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +++ /dev/null @@ -1,93 +0,0 @@ -// @flow strict - -type TemplateStringsArray = $ReadOnlyArray; - -export type Level = $Values<{ - None: 0, - Basic: 1, - Ansi256: 2, - TrueColor: 3 -}>; - -export type ChalkOptions = {| - enabled?: boolean, - level?: Level -|}; - -export type ColorSupport = {| - level: Level, - hasBasic: boolean, - has256: boolean, - has16m: boolean -|}; - -export interface Chalk { - (...text: string[]): string, - (text: TemplateStringsArray, ...placeholders: string[]): string, - constructor(options?: ChalkOptions): Chalk, - enabled: boolean, - level: Level, - rgb(r: number, g: number, b: number): Chalk, - hsl(h: number, s: number, l: number): Chalk, - hsv(h: number, s: number, v: number): Chalk, - hwb(h: number, w: number, b: number): Chalk, - bgHex(color: string): Chalk, - bgKeyword(color: string): Chalk, - bgRgb(r: number, g: number, b: number): Chalk, - bgHsl(h: number, s: number, l: number): Chalk, - bgHsv(h: number, s: number, v: number): Chalk, - bgHwb(h: number, w: number, b: number): Chalk, - hex(color: string): Chalk, - keyword(color: string): Chalk, - - +reset: Chalk, - +bold: Chalk, - +dim: Chalk, - +italic: Chalk, - +underline: Chalk, - +inverse: Chalk, - +hidden: Chalk, - +strikethrough: Chalk, - - +visible: Chalk, - - +black: Chalk, - +red: Chalk, - +green: Chalk, - +yellow: Chalk, - +blue: Chalk, - +magenta: Chalk, - +cyan: Chalk, - +white: Chalk, - +gray: Chalk, - +grey: Chalk, - +blackBright: Chalk, - +redBright: Chalk, - +greenBright: Chalk, - +yellowBright: Chalk, - +blueBright: Chalk, - +magentaBright: Chalk, - +cyanBright: Chalk, - +whiteBright: Chalk, - - +bgBlack: Chalk, - +bgRed: Chalk, - +bgGreen: Chalk, - +bgYellow: Chalk, - +bgBlue: Chalk, - +bgMagenta: Chalk, - +bgCyan: Chalk, - +bgWhite: Chalk, - +bgBlackBright: Chalk, - +bgRedBright: Chalk, - +bgGreenBright: Chalk, - +bgYellowBright: Chalk, - +bgBlueBright: Chalk, - +bgMagentaBright: Chalk, - +bgCyanBright: Chalk, - +bgWhiteBrigh: Chalk, - - supportsColor: ColorSupport -}; - -declare module.exports: Chalk; diff --git a/node_modules/@babel/highlight/node_modules/chalk/license b/node_modules/@babel/highlight/node_modules/chalk/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/@babel/highlight/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/@babel/highlight/node_modules/chalk/package.json b/node_modules/@babel/highlight/node_modules/chalk/package.json deleted file mode 100644 index bc32468..0000000 --- a/node_modules/@babel/highlight/node_modules/chalk/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "chalk", - "version": "2.4.2", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava", - "bench": "matcha benchmark.js", - "coveralls": "nyc report --reporter=text-lcov | coveralls" - }, - "files": [ - "index.js", - "templates.js", - "types/index.d.ts", - "index.js.flow" - ], - "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": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "devDependencies": { - "ava": "*", - "coveralls": "^3.0.0", - "execa": "^0.9.0", - "flow-bin": "^0.68.0", - "import-fresh": "^2.0.0", - "matcha": "^0.7.0", - "nyc": "^11.0.2", - "resolve-from": "^4.0.0", - "typescript": "^2.5.3", - "xo": "*" - }, - "types": "types/index.d.ts", - "xo": { - "envs": [ - "node", - "mocha" - ], - "ignores": [ - "test/_flow.js" - ] - } -} diff --git a/node_modules/@babel/highlight/node_modules/chalk/readme.md b/node_modules/@babel/highlight/node_modules/chalk/readme.md deleted file mode 100644 index d298e2c..0000000 --- a/node_modules/@babel/highlight/node_modules/chalk/readme.md +++ /dev/null @@ -1,314 +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) [![](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) [![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs) - -### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0) - - - - -## 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 ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017 - - -## 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.` or - - `; -} - -function headerTemplate(details) { - function metricsTemplate({ pct, covered, total }, kind) { - return ` -
- ${pct}% - ${kind} - ${covered}/${total} -
- `; - } - - function skipTemplate(metrics) { - const statements = metrics.statements.skipped; - const branches = metrics.branches.skipped; - const functions = metrics.functions.skipped; - - const countLabel = (c, label, plural) => - c === 0 ? [] : `${c} ${label}${c === 1 ? '' : plural}`; - const skips = [].concat( - countLabel(statements, 'statement', 's'), - countLabel(functions, 'function', 's'), - countLabel(branches, 'branch', 'es') - ); - - if (skips.length === 0) { - return ''; - } - - return ` -
- ${skips.join(', ')} - Ignored      -
- `; - } - - return ` - - -${htmlHead(details)} - -
-
-

${details.pathHtml}

-
- ${metricsTemplate(details.metrics.statements, 'Statements')} - ${metricsTemplate(details.metrics.branches, 'Branches')} - ${metricsTemplate(details.metrics.functions, 'Functions')} - ${metricsTemplate(details.metrics.lines, 'Lines')} - ${skipTemplate(details.metrics)} -
-

- Press n or j to go to the next uncovered block, b, p or k for the previous block. -

- -
-
- `; -} - -function footerTemplate(details) { - return ` -
-
- - - - - - - - `; -} - -function detailTemplate(data) { - const lineNumbers = new Array(data.maxLines).fill().map((_, i) => i + 1); - const lineLink = num => - `${num}`; - const lineCount = line => - `${line.hits}`; - - /* This is rendered in a `
`, need control of all whitespace. */
-    return [
-        '',
-        `${lineNumbers
-            .map(lineLink)
-            .join('\n')}`,
-        `${data.lineCoverage
-            .map(lineCount)
-            .join('\n')}`,
-        `
${data.annotatedCode.join(
-            '\n'
-        )}
`, - '' - ].join(''); -} -const summaryTableHeader = [ - '
', - '', - '', - '', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - ' ', - '', - '', - '' -].join('\n'); - -function summaryLineTemplate(details) { - const { reportClasses, metrics, file, output } = details; - const percentGraph = pct => { - if (!isFinite(pct)) { - return ''; - } - - const cls = ['cover-fill']; - if (pct === 100) { - cls.push('cover-full'); - } - - pct = Math.floor(pct); - return [ - `
`, - `
` - ].join(''); - }; - const summaryType = (type, showGraph = false) => { - const info = metrics[type]; - const reportClass = reportClasses[type]; - const result = [ - ``, - `` - ]; - if (showGraph) { - result.unshift( - `` - ); - } - - return result; - }; - - return [] - .concat( - '', - ``, - summaryType('statements', true), - summaryType('branches'), - summaryType('functions'), - summaryType('lines'), - '\n' - ) - .join('\n\t'); -} - -const summaryTableFooter = ['', '
FileStatementsBranchesFunctionsLines
${info.pct}%${info.covered}/${info.total}`, - `
${percentGraph(info.pct)}
`, - `
${html.escape(file)}
', '
'].join('\n'); -const emptyClasses = { - statements: 'empty', - lines: 'empty', - functions: 'empty', - branches: 'empty' -}; - -const standardLinkMapper = { - getPath(node) { - if (typeof node === 'string') { - return node; - } - let filePath = node.getQualifiedName(); - if (node.isSummary()) { - if (filePath !== '') { - filePath += '/index.html'; - } else { - filePath = 'index.html'; - } - } else { - filePath += '.html'; - } - return filePath; - }, - - relativePath(source, target) { - const targetPath = this.getPath(target); - const sourcePath = path.dirname(this.getPath(source)); - return path.posix.relative(sourcePath, targetPath); - }, - - assetPath(node, name) { - return this.relativePath(this.getPath(node), name); - } -}; - -function fixPct(metrics) { - Object.keys(emptyClasses).forEach(key => { - metrics[key].pct = 0; - }); - return metrics; -} - -class HtmlReport extends ReportBase { - constructor(opts) { - super(); - - this.verbose = opts.verbose; - this.linkMapper = opts.linkMapper || standardLinkMapper; - this.subdir = opts.subdir || ''; - this.date = Date(); - this.skipEmpty = opts.skipEmpty; - } - - getBreadcrumbHtml(node) { - let parent = node.getParent(); - const nodePath = []; - - while (parent) { - nodePath.push(parent); - parent = parent.getParent(); - } - - const linkPath = nodePath.map(ancestor => { - const target = this.linkMapper.relativePath(node, ancestor); - const name = ancestor.getRelativeName() || 'All files'; - return '' + name + ''; - }); - - linkPath.reverse(); - return linkPath.length > 0 - ? linkPath.join(' / ') + ' ' + node.getRelativeName() - : 'All files'; - } - - fillTemplate(node, templateData, context) { - const linkMapper = this.linkMapper; - const summary = node.getCoverageSummary(); - templateData.entity = node.getQualifiedName() || 'All files'; - templateData.metrics = summary; - templateData.reportClass = context.classForPercent( - 'statements', - summary.statements.pct - ); - templateData.pathHtml = this.getBreadcrumbHtml(node); - templateData.base = { - css: linkMapper.assetPath(node, 'base.css') - }; - templateData.sorter = { - js: linkMapper.assetPath(node, 'sorter.js'), - image: linkMapper.assetPath(node, 'sort-arrow-sprite.png') - }; - templateData.blockNavigation = { - js: linkMapper.assetPath(node, 'block-navigation.js') - }; - templateData.prettify = { - js: linkMapper.assetPath(node, 'prettify.js'), - css: linkMapper.assetPath(node, 'prettify.css') - }; - templateData.favicon = linkMapper.assetPath(node, 'favicon.png'); - } - - getTemplateData() { - return { datetime: this.date }; - } - - getWriter(context) { - if (!this.subdir) { - return context.writer; - } - return context.writer.writerForDir(this.subdir); - } - - onStart(root, context) { - const assetHeaders = { - '.js': '/* eslint-disable */\n' - }; - - ['.', 'vendor'].forEach(subdir => { - const writer = this.getWriter(context); - const srcDir = path.resolve(__dirname, 'assets', subdir); - fs.readdirSync(srcDir).forEach(f => { - const resolvedSource = path.resolve(srcDir, f); - const resolvedDestination = '.'; - const stat = fs.statSync(resolvedSource); - let dest; - - if (stat.isFile()) { - dest = resolvedDestination + '/' + f; - if (this.verbose) { - console.log('Write asset: ' + dest); - } - writer.copyFile( - resolvedSource, - dest, - assetHeaders[path.extname(f)] - ); - } - }); - }); - } - - onSummary(node, context) { - const linkMapper = this.linkMapper; - const templateData = this.getTemplateData(); - const children = node.getChildren(); - const skipEmpty = this.skipEmpty; - - this.fillTemplate(node, templateData, context); - const cw = this.getWriter(context).writeFile(linkMapper.getPath(node)); - cw.write(headerTemplate(templateData)); - cw.write(summaryTableHeader); - children.forEach(child => { - const metrics = child.getCoverageSummary(); - const isEmpty = metrics.isEmpty(); - if (skipEmpty && isEmpty) { - return; - } - const reportClasses = isEmpty - ? emptyClasses - : { - statements: context.classForPercent( - 'statements', - metrics.statements.pct - ), - lines: context.classForPercent( - 'lines', - metrics.lines.pct - ), - functions: context.classForPercent( - 'functions', - metrics.functions.pct - ), - branches: context.classForPercent( - 'branches', - metrics.branches.pct - ) - }; - const data = { - metrics: isEmpty ? fixPct(metrics) : metrics, - reportClasses, - file: child.getRelativeName(), - output: linkMapper.relativePath(node, child) - }; - cw.write(summaryLineTemplate(data) + '\n'); - }); - cw.write(summaryTableFooter); - cw.write(footerTemplate(templateData)); - cw.close(); - } - - onDetail(node, context) { - const linkMapper = this.linkMapper; - const templateData = this.getTemplateData(); - - this.fillTemplate(node, templateData, context); - const cw = this.getWriter(context).writeFile(linkMapper.getPath(node)); - cw.write(headerTemplate(templateData)); - cw.write('
\n');
-        cw.write(detailTemplate(annotator(node.getFileCoverage(), context)));
-        cw.write('
\n'); - cw.write(footerTemplate(templateData)); - cw.close(); - } -} - -module.exports = HtmlReport; diff --git a/node_modules/istanbul-reports/lib/html/insertion-text.js b/node_modules/istanbul-reports/lib/html/insertion-text.js deleted file mode 100644 index 6f80642..0000000 --- a/node_modules/istanbul-reports/lib/html/insertion-text.js +++ /dev/null @@ -1,114 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -function InsertionText(text, consumeBlanks) { - this.text = text; - this.origLength = text.length; - this.offsets = []; - this.consumeBlanks = consumeBlanks; - this.startPos = this.findFirstNonBlank(); - this.endPos = this.findLastNonBlank(); -} - -const WHITE_RE = /[ \f\n\r\t\v\u00A0\u2028\u2029]/; - -InsertionText.prototype = { - findFirstNonBlank() { - let pos = -1; - const text = this.text; - const len = text.length; - let i; - for (i = 0; i < len; i += 1) { - if (!text.charAt(i).match(WHITE_RE)) { - pos = i; - break; - } - } - return pos; - }, - findLastNonBlank() { - const text = this.text; - const len = text.length; - let pos = text.length + 1; - let i; - for (i = len - 1; i >= 0; i -= 1) { - if (!text.charAt(i).match(WHITE_RE)) { - pos = i; - break; - } - } - return pos; - }, - originalLength() { - return this.origLength; - }, - - insertAt(col, str, insertBefore, consumeBlanks) { - consumeBlanks = - typeof consumeBlanks === 'undefined' - ? this.consumeBlanks - : consumeBlanks; - col = col > this.originalLength() ? this.originalLength() : col; - col = col < 0 ? 0 : col; - - if (consumeBlanks) { - if (col <= this.startPos) { - col = 0; - } - if (col > this.endPos) { - col = this.origLength; - } - } - - const len = str.length; - const offset = this.findOffset(col, len, insertBefore); - const realPos = col + offset; - const text = this.text; - this.text = text.substring(0, realPos) + str + text.substring(realPos); - return this; - }, - - findOffset(pos, len, insertBefore) { - const offsets = this.offsets; - let offsetObj; - let cumulativeOffset = 0; - let i; - - for (i = 0; i < offsets.length; i += 1) { - offsetObj = offsets[i]; - if ( - offsetObj.pos < pos || - (offsetObj.pos === pos && !insertBefore) - ) { - cumulativeOffset += offsetObj.len; - } - if (offsetObj.pos >= pos) { - break; - } - } - if (offsetObj && offsetObj.pos === pos) { - offsetObj.len += len; - } else { - offsets.splice(i, 0, { pos, len }); - } - return cumulativeOffset; - }, - - wrap(startPos, startText, endPos, endText, consumeBlanks) { - this.insertAt(startPos, startText, true, consumeBlanks); - this.insertAt(endPos, endText, false, consumeBlanks); - return this; - }, - - wrapLine(startText, endText) { - this.wrap(0, startText, this.originalLength(), endText); - }, - - toString() { - return this.text; - } -}; - -module.exports = InsertionText; diff --git a/node_modules/istanbul-reports/lib/json-summary/index.js b/node_modules/istanbul-reports/lib/json-summary/index.js deleted file mode 100644 index 318a47f..0000000 --- a/node_modules/istanbul-reports/lib/json-summary/index.js +++ /dev/null @@ -1,56 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; -const { ReportBase } = require('istanbul-lib-report'); - -class JsonSummaryReport extends ReportBase { - constructor(opts) { - super(); - - this.file = opts.file || 'coverage-summary.json'; - this.contentWriter = null; - this.first = true; - } - - onStart(root, context) { - this.contentWriter = context.writer.writeFile(this.file); - this.contentWriter.write('{'); - } - - writeSummary(filePath, sc) { - const cw = this.contentWriter; - if (this.first) { - this.first = false; - } else { - cw.write(','); - } - cw.write(JSON.stringify(filePath)); - cw.write(': '); - cw.write(JSON.stringify(sc)); - cw.println(''); - } - - onSummary(node) { - if (!node.isRoot()) { - return; - } - this.writeSummary('total', node.getCoverageSummary()); - } - - onDetail(node) { - this.writeSummary( - node.getFileCoverage().path, - node.getCoverageSummary() - ); - } - - onEnd() { - const cw = this.contentWriter; - cw.println('}'); - cw.close(); - } -} - -module.exports = JsonSummaryReport; diff --git a/node_modules/istanbul-reports/lib/json/index.js b/node_modules/istanbul-reports/lib/json/index.js deleted file mode 100644 index bcae6ae..0000000 --- a/node_modules/istanbul-reports/lib/json/index.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; -const { ReportBase } = require('istanbul-lib-report'); - -class JsonReport extends ReportBase { - constructor(opts) { - super(); - - this.file = opts.file || 'coverage-final.json'; - this.first = true; - } - - onStart(root, context) { - this.contentWriter = context.writer.writeFile(this.file); - this.contentWriter.write('{'); - } - - onDetail(node) { - const fc = node.getFileCoverage(); - const key = fc.path; - const cw = this.contentWriter; - - if (this.first) { - this.first = false; - } else { - cw.write(','); - } - cw.write(JSON.stringify(key)); - cw.write(': '); - cw.write(JSON.stringify(fc)); - cw.println(''); - } - - onEnd() { - const cw = this.contentWriter; - cw.println('}'); - cw.close(); - } -} - -module.exports = JsonReport; diff --git a/node_modules/istanbul-reports/lib/lcov/index.js b/node_modules/istanbul-reports/lib/lcov/index.js deleted file mode 100644 index 383c202..0000000 --- a/node_modules/istanbul-reports/lib/lcov/index.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const { ReportBase } = require('istanbul-lib-report'); -const LcovOnlyReport = require('../lcovonly'); -const HtmlReport = require('../html'); - -class LcovReport extends ReportBase { - constructor(opts) { - super(); - this.lcov = new LcovOnlyReport({ file: 'lcov.info', ...opts }); - this.html = new HtmlReport({ subdir: 'lcov-report' }); - } -} - -['Start', 'End', 'Summary', 'SummaryEnd', 'Detail'].forEach(what => { - const meth = 'on' + what; - LcovReport.prototype[meth] = function(...args) { - const lcov = this.lcov; - const html = this.html; - - if (lcov[meth]) { - lcov[meth](...args); - } - if (html[meth]) { - html[meth](...args); - } - }; -}); - -module.exports = LcovReport; diff --git a/node_modules/istanbul-reports/lib/lcovonly/index.js b/node_modules/istanbul-reports/lib/lcovonly/index.js deleted file mode 100644 index 0720e46..0000000 --- a/node_modules/istanbul-reports/lib/lcovonly/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; -const { ReportBase } = require('istanbul-lib-report'); - -class LcovOnlyReport extends ReportBase { - constructor(opts) { - super(); - opts = opts || {}; - this.file = opts.file || 'lcov.info'; - this.projectRoot = opts.projectRoot || process.cwd(); - this.contentWriter = null; - } - - onStart(root, context) { - this.contentWriter = context.writer.writeFile(this.file); - } - - onDetail(node) { - const fc = node.getFileCoverage(); - const writer = this.contentWriter; - const functions = fc.f; - const functionMap = fc.fnMap; - const lines = fc.getLineCoverage(); - const branches = fc.b; - const branchMap = fc.branchMap; - const summary = node.getCoverageSummary(); - const path = require('path'); - - writer.println('TN:'); - const fileName = path.relative(this.projectRoot, fc.path); - writer.println('SF:' + fileName); - - Object.values(functionMap).forEach(meta => { - // Some versions of the instrumenter in the wild populate 'loc' - // but not 'decl': - const decl = meta.decl || meta.loc; - writer.println('FN:' + [decl.start.line, meta.name].join(',')); - }); - writer.println('FNF:' + summary.functions.total); - writer.println('FNH:' + summary.functions.covered); - - Object.entries(functionMap).forEach(([key, meta]) => { - const stats = functions[key]; - writer.println('FNDA:' + [stats, meta.name].join(',')); - }); - - Object.entries(lines).forEach(entry => { - writer.println('DA:' + entry.join(',')); - }); - writer.println('LF:' + summary.lines.total); - writer.println('LH:' + summary.lines.covered); - - Object.entries(branches).forEach(([key, branchArray]) => { - const meta = branchMap[key]; - if (meta) { - const { line } = meta.loc.start; - branchArray.forEach((b, i) => { - writer.println('BRDA:' + [line, key, i, b].join(',')); - }); - } else { - console.warn('Missing coverage entries in', fileName, key); - } - }); - writer.println('BRF:' + summary.branches.total); - writer.println('BRH:' + summary.branches.covered); - writer.println('end_of_record'); - } - - onEnd() { - this.contentWriter.close(); - } -} - -module.exports = LcovOnlyReport; diff --git a/node_modules/istanbul-reports/lib/none/index.js b/node_modules/istanbul-reports/lib/none/index.js deleted file mode 100644 index 81c1408..0000000 --- a/node_modules/istanbul-reports/lib/none/index.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const { ReportBase } = require('istanbul-lib-report'); - -class NoneReport extends ReportBase {} - -module.exports = NoneReport; diff --git a/node_modules/istanbul-reports/lib/teamcity/index.js b/node_modules/istanbul-reports/lib/teamcity/index.js deleted file mode 100644 index 2bca26a..0000000 --- a/node_modules/istanbul-reports/lib/teamcity/index.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; -const { ReportBase } = require('istanbul-lib-report'); - -class TeamcityReport extends ReportBase { - constructor(opts) { - super(); - - opts = opts || {}; - this.file = opts.file || null; - this.blockName = opts.blockName || 'Code Coverage Summary'; - } - - onStart(node, context) { - const metrics = node.getCoverageSummary(); - const cw = context.writer.writeFile(this.file); - - cw.println(''); - cw.println("##teamcity[blockOpened name='" + this.blockName + "']"); - - //Statements Covered - cw.println( - lineForKey(metrics.statements.covered, 'CodeCoverageAbsBCovered') - ); - cw.println( - lineForKey(metrics.statements.total, 'CodeCoverageAbsBTotal') - ); - - //Branches Covered - cw.println( - lineForKey(metrics.branches.covered, 'CodeCoverageAbsRCovered') - ); - cw.println(lineForKey(metrics.branches.total, 'CodeCoverageAbsRTotal')); - - //Functions Covered - cw.println( - lineForKey(metrics.functions.covered, 'CodeCoverageAbsMCovered') - ); - cw.println( - lineForKey(metrics.functions.total, 'CodeCoverageAbsMTotal') - ); - - //Lines Covered - cw.println( - lineForKey(metrics.lines.covered, 'CodeCoverageAbsLCovered') - ); - cw.println(lineForKey(metrics.lines.total, 'CodeCoverageAbsLTotal')); - - cw.println("##teamcity[blockClosed name='" + this.blockName + "']"); - cw.close(); - } -} - -function lineForKey(value, teamcityVar) { - return ( - "##teamcity[buildStatisticValue key='" + - teamcityVar + - "' value='" + - value + - "']" - ); -} - -module.exports = TeamcityReport; diff --git a/node_modules/istanbul-reports/lib/text-lcov/index.js b/node_modules/istanbul-reports/lib/text-lcov/index.js deleted file mode 100644 index 847aedf..0000000 --- a/node_modules/istanbul-reports/lib/text-lcov/index.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const LcovOnly = require('../lcovonly'); - -class TextLcov extends LcovOnly { - constructor(opts) { - super({ - ...opts, - file: '-' - }); - } -} - -module.exports = TextLcov; diff --git a/node_modules/istanbul-reports/lib/text-summary/index.js b/node_modules/istanbul-reports/lib/text-summary/index.js deleted file mode 100644 index a9e6eab..0000000 --- a/node_modules/istanbul-reports/lib/text-summary/index.js +++ /dev/null @@ -1,62 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; -const { ReportBase } = require('istanbul-lib-report'); - -class TextSummaryReport extends ReportBase { - constructor(opts) { - super(); - - opts = opts || {}; - this.file = opts.file || null; - } - - onStart(node, context) { - const summary = node.getCoverageSummary(); - const cw = context.writer.writeFile(this.file); - const printLine = function(key) { - const str = lineForKey(summary, key); - const clazz = context.classForPercent(key, summary[key].pct); - cw.println(cw.colorize(str, clazz)); - }; - - cw.println(''); - cw.println( - '=============================== Coverage summary ===============================' - ); - printLine('statements'); - printLine('branches'); - printLine('functions'); - printLine('lines'); - cw.println( - '================================================================================' - ); - cw.close(); - } -} - -function lineForKey(summary, key) { - const metrics = summary[key]; - - key = key.substring(0, 1).toUpperCase() + key.substring(1); - if (key.length < 12) { - key += ' '.substring(0, 12 - key.length); - } - const result = [ - key, - ':', - metrics.pct + '%', - '(', - metrics.covered + '/' + metrics.total, - ')' - ].join(' '); - const skipped = metrics.skipped; - if (skipped > 0) { - return result + ', ' + skipped + ' ignored'; - } - return result; -} - -module.exports = TextSummaryReport; diff --git a/node_modules/istanbul-reports/lib/text/index.js b/node_modules/istanbul-reports/lib/text/index.js deleted file mode 100644 index c28cedb..0000000 --- a/node_modules/istanbul-reports/lib/text/index.js +++ /dev/null @@ -1,298 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE - file for terms. - */ -'use strict'; -const { ReportBase } = require('istanbul-lib-report'); - -const NAME_COL = 4; -const PCT_COLS = 7; -const MISSING_COL = 17; -const TAB_SIZE = 1; -const DELIM = ' | '; - -function padding(num, ch) { - let str = ''; - let i; - ch = ch || ' '; - for (i = 0; i < num; i += 1) { - str += ch; - } - return str; -} - -function fill(str, width, right, tabs) { - tabs = tabs || 0; - str = String(str); - - const leadingSpaces = tabs * TAB_SIZE; - const remaining = width - leadingSpaces; - const leader = padding(leadingSpaces); - let fmtStr = ''; - - if (remaining > 0) { - const strlen = str.length; - let fillStr; - - if (remaining >= strlen) { - fillStr = padding(remaining - strlen); - } else { - fillStr = '...'; - const length = remaining - fillStr.length; - - str = str.substring(strlen - length); - right = true; - } - fmtStr = right ? fillStr + str : str + fillStr; - } - - return leader + fmtStr; -} - -function formatName(name, maxCols, level) { - return fill(name, maxCols, false, level); -} - -function formatPct(pct, width) { - return fill(pct, width || PCT_COLS, true, 0); -} - -function nodeMissing(node) { - if (node.isSummary()) { - return ''; - } - - const metrics = node.getCoverageSummary(); - const isEmpty = metrics.isEmpty(); - const lines = isEmpty ? 0 : metrics.lines.pct; - - let coveredLines; - - const fileCoverage = node.getFileCoverage(); - if (lines === 100) { - const branches = fileCoverage.getBranchCoverageByLine(); - coveredLines = Object.entries(branches).map(([key, { coverage }]) => [ - key, - coverage === 100 - ]); - } else { - coveredLines = Object.entries(fileCoverage.getLineCoverage()); - } - - let newRange = true; - const ranges = coveredLines - .reduce((acum, [line, hit]) => { - if (hit) newRange = true; - else { - line = parseInt(line); - if (newRange) { - acum.push([line]); - newRange = false; - } else acum[acum.length - 1][1] = line; - } - - return acum; - }, []) - .map(range => { - const { length } = range; - - if (length === 1) return range[0]; - - return `${range[0]}-${range[1]}`; - }); - - return [].concat(...ranges).join(','); -} - -function nodeName(node) { - return node.getRelativeName() || 'All files'; -} - -function depthFor(node) { - let ret = 0; - node = node.getParent(); - while (node) { - ret += 1; - node = node.getParent(); - } - return ret; -} - -function nullDepthFor() { - return 0; -} - -function findWidth(node, context, nodeExtractor, depthFor = nullDepthFor) { - let last = 0; - function compareWidth(node) { - last = Math.max( - last, - TAB_SIZE * depthFor(node) + nodeExtractor(node).length - ); - } - const visitor = { - onSummary: compareWidth, - onDetail: compareWidth - }; - node.visit(context.getVisitor(visitor)); - return last; -} - -function makeLine(nameWidth, missingWidth) { - const name = padding(nameWidth, '-'); - const pct = padding(PCT_COLS, '-'); - const elements = []; - - elements.push(name); - elements.push(pct); - elements.push(padding(PCT_COLS + 1, '-')); - elements.push(pct); - elements.push(pct); - elements.push(padding(missingWidth, '-')); - return elements.join(DELIM.replace(/ /g, '-')) + '-'; -} - -function tableHeader(maxNameCols, missingWidth) { - const elements = []; - elements.push(formatName('File', maxNameCols, 0)); - elements.push(formatPct('% Stmts')); - elements.push(formatPct('% Branch', PCT_COLS + 1)); - elements.push(formatPct('% Funcs')); - elements.push(formatPct('% Lines')); - elements.push(formatName('Uncovered Line #s', missingWidth)); - return elements.join(DELIM) + ' '; -} - -function isFull(metrics) { - return ( - metrics.statements.pct === 100 && - metrics.branches.pct === 100 && - metrics.functions.pct === 100 && - metrics.lines.pct === 100 - ); -} - -function tableRow( - node, - context, - colorizer, - maxNameCols, - level, - skipEmpty, - skipFull, - missingWidth -) { - const name = nodeName(node); - const metrics = node.getCoverageSummary(); - const isEmpty = metrics.isEmpty(); - if (skipEmpty && isEmpty) { - return ''; - } - if (skipFull && isFull(metrics)) { - return ''; - } - - const mm = { - statements: isEmpty ? 0 : metrics.statements.pct, - branches: isEmpty ? 0 : metrics.branches.pct, - functions: isEmpty ? 0 : metrics.functions.pct, - lines: isEmpty ? 0 : metrics.lines.pct - }; - const colorize = isEmpty - ? function(str) { - return str; - } - : function(str, key) { - return colorizer(str, context.classForPercent(key, mm[key])); - }; - const elements = []; - - elements.push(colorize(formatName(name, maxNameCols, level), 'statements')); - elements.push(colorize(formatPct(mm.statements), 'statements')); - elements.push(colorize(formatPct(mm.branches, PCT_COLS + 1), 'branches')); - elements.push(colorize(formatPct(mm.functions), 'functions')); - elements.push(colorize(formatPct(mm.lines), 'lines')); - elements.push( - colorizer( - formatName(nodeMissing(node), missingWidth), - mm.lines === 100 ? 'medium' : 'low' - ) - ); - - return elements.join(DELIM) + ' '; -} - -class TextReport extends ReportBase { - constructor(opts) { - super(opts); - - opts = opts || {}; - const { maxCols } = opts; - - this.file = opts.file || null; - this.maxCols = maxCols != null ? maxCols : process.stdout.columns || 80; - this.cw = null; - this.skipEmpty = opts.skipEmpty; - this.skipFull = opts.skipFull; - } - - onStart(root, context) { - this.cw = context.writer.writeFile(this.file); - this.nameWidth = Math.max( - NAME_COL, - findWidth(root, context, nodeName, depthFor) - ); - this.missingWidth = Math.max( - MISSING_COL, - findWidth(root, context, nodeMissing) - ); - - if (this.maxCols > 0) { - const pct_cols = DELIM.length + 4 * (PCT_COLS + DELIM.length) + 2; - - const maxRemaining = this.maxCols - (pct_cols + MISSING_COL); - if (this.nameWidth > maxRemaining) { - this.nameWidth = maxRemaining; - this.missingWidth = MISSING_COL; - } else if (this.nameWidth < maxRemaining) { - const maxRemaining = this.maxCols - (this.nameWidth + pct_cols); - if (this.missingWidth > maxRemaining) { - this.missingWidth = maxRemaining; - } - } - } - const line = makeLine(this.nameWidth, this.missingWidth); - this.cw.println(line); - this.cw.println(tableHeader(this.nameWidth, this.missingWidth)); - this.cw.println(line); - } - - onSummary(node, context) { - const nodeDepth = depthFor(node); - const row = tableRow( - node, - context, - this.cw.colorize.bind(this.cw), - this.nameWidth, - nodeDepth, - this.skipEmpty, - this.skipFull, - this.missingWidth - ); - if (row) { - this.cw.println(row); - } - } - - onDetail(node, context) { - return this.onSummary(node, context); - } - - onEnd() { - this.cw.println(makeLine(this.nameWidth, this.missingWidth)); - this.cw.close(); - } -} - -module.exports = TextReport; diff --git a/node_modules/istanbul-reports/package.json b/node_modules/istanbul-reports/package.json deleted file mode 100644 index 1fdf9c5..0000000 --- a/node_modules/istanbul-reports/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "istanbul-reports", - "version": "3.1.4", - "description": "istanbul reports", - "author": "Krishnan Anantheswaran ", - "main": "index.js", - "files": [ - "index.js", - "lib" - ], - "scripts": { - "test": "nyc mocha --recursive", - "prepare": "webpack --config lib/html-spa/webpack.config.js --mode production", - "prepare:watch": "webpack --config lib/html-spa/webpack.config.js --watch --mode development" - }, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "devDependencies": { - "@babel/core": "^7.7.5", - "@babel/preset-env": "^7.7.5", - "@babel/preset-react": "^7.7.4", - "babel-loader": "^8.0.6", - "chai": "^4.2.0", - "is-windows": "^1.0.2", - "istanbul-lib-coverage": "^3.0.0", - "mocha": "^6.2.2", - "nyc": "^15.0.0-beta.2", - "react": "^16.12.0", - "react-dom": "^16.12.0", - "webpack": "^4.41.2", - "webpack-cli": "^3.3.10" - }, - "license": "BSD-3-Clause", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/istanbuljs/istanbuljs.git", - "directory": "packages/istanbul-reports" - }, - "keywords": [ - "istanbul", - "reports" - ], - "bugs": { - "url": "https://github.com/istanbuljs/istanbuljs/issues" - }, - "homepage": "https://istanbul.js.org/", - "nyc": { - "exclude": [ - "lib/html/assets/**", - "lib/html-spa/assets/**", - "lib/html-spa/rollup.config.js", - "test/**" - ] - }, - "engines": { - "node": ">=8" - } -} diff --git a/node_modules/jest-changed-files/LICENSE b/node_modules/jest-changed-files/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-changed-files/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-changed-files/README.md b/node_modules/jest-changed-files/README.md deleted file mode 100644 index d0c8539..0000000 --- a/node_modules/jest-changed-files/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# jest-changed-files - -A module used internally by Jest to check which files have changed since you last committed in git or hg. - -## Install - -```sh -$ npm install --save jest-changed-files -``` - -## API - -### `getChangedFilesForRoots(roots: >, options: ?object): Promise` - -Get the list of files and repos that have changed since the last commit. - -#### Parameters - -roots: Array of string paths gathered from [jest roots](https://jestjs.io/docs/configuration#roots-arraystring). - -options: Object literal with keys - -- lastCommit: boolean -- withAncestor: boolean - -### findRepos(roots: >): Promise - -Get a set of git and hg repositories. - -#### Parameters - -roots: Array of string paths gathered from [jest roots](https://jestjs.io/docs/configuration#roots-arraystring). - -## Usage - -```javascript -import {getChangedFilesForRoots} from 'jest-changed-files'; - -getChangedFilesForRoots(['/path/to/test'], { - lastCommit: true, - withAncestor: true, -}).then(files => { - /* - { - repos: [], - changedFiles: [] - } - */ -}); -``` - -```javascript -import {findRepos} from 'jest-changed-files'; - -findRepos(['/path/to/test']).then(repos => { - /* - { - git: Set, - hg: Set - } - */ -}); -``` diff --git a/node_modules/jest-changed-files/build/git.d.ts b/node_modules/jest-changed-files/build/git.d.ts deleted file mode 100644 index 498733b..0000000 --- a/node_modules/jest-changed-files/build/git.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 type { SCMAdapter } from './types'; -declare const adapter: SCMAdapter; -export default adapter; diff --git a/node_modules/jest-changed-files/build/git.js b/node_modules/jest-changed-files/build/git.js deleted file mode 100644 index 8beb629..0000000 --- a/node_modules/jest-changed-files/build/git.js +++ /dev/null @@ -1,179 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _execa() { - const data = _interopRequireDefault(require('execa')); - - _execa = function () { - return data; - }; - - return data; -} - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - * - */ -const findChangedFilesUsingCommand = async (args, cwd) => { - let result; - - try { - result = await (0, _execa().default)('git', args, { - cwd - }); - } catch (e) { - // TODO: Should we keep the original `message`? - e.message = e.stderr; - throw e; - } - - return result.stdout - .split('\n') - .filter(s => s !== '') - .map(changedPath => path().resolve(cwd, changedPath)); -}; - -const adapter = { - findChangedFiles: async (cwd, options) => { - var _options$includePaths; - - const changedSince = options.withAncestor ? 'HEAD^' : options.changedSince; - const includePaths = ( - (_options$includePaths = options.includePaths) !== null && - _options$includePaths !== void 0 - ? _options$includePaths - : [] - ).map(absoluteRoot => path().normalize(path().relative(cwd, absoluteRoot))); - - if (options.lastCommit) { - return findChangedFilesUsingCommand( - ['show', '--name-only', '--pretty=format:', 'HEAD', '--'].concat( - includePaths - ), - cwd - ); - } - - if (changedSince) { - const [committed, staged, unstaged] = await Promise.all([ - findChangedFilesUsingCommand( - ['diff', '--name-only', `${changedSince}...HEAD`, '--'].concat( - includePaths - ), - cwd - ), - findChangedFilesUsingCommand( - ['diff', '--cached', '--name-only', '--'].concat(includePaths), - cwd - ), - findChangedFilesUsingCommand( - [ - 'ls-files', - '--other', - '--modified', - '--exclude-standard', - '--' - ].concat(includePaths), - cwd - ) - ]); - return [...committed, ...staged, ...unstaged]; - } - - const [staged, unstaged] = await Promise.all([ - findChangedFilesUsingCommand( - ['diff', '--cached', '--name-only', '--'].concat(includePaths), - cwd - ), - findChangedFilesUsingCommand( - [ - 'ls-files', - '--other', - '--modified', - '--exclude-standard', - '--' - ].concat(includePaths), - cwd - ) - ]); - return [...staged, ...unstaged]; - }, - getRoot: async cwd => { - const options = ['rev-parse', '--show-cdup']; - - try { - const result = await (0, _execa().default)('git', options, { - cwd - }); - return path().resolve(cwd, result.stdout); - } catch { - return null; - } - } -}; -var _default = adapter; -exports.default = _default; diff --git a/node_modules/jest-changed-files/build/hg.d.ts b/node_modules/jest-changed-files/build/hg.d.ts deleted file mode 100644 index 498733b..0000000 --- a/node_modules/jest-changed-files/build/hg.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 type { SCMAdapter } from './types'; -declare const adapter: SCMAdapter; -export default adapter; diff --git a/node_modules/jest-changed-files/build/hg.js b/node_modules/jest-changed-files/build/hg.js deleted file mode 100644 index 9277b8d..0000000 --- a/node_modules/jest-changed-files/build/hg.js +++ /dev/null @@ -1,133 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _execa() { - const data = _interopRequireDefault(require('execa')); - - _execa = function () { - return data; - }; - - return data; -} - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - * - */ -const env = {...process.env, HGPLAIN: '1'}; -const adapter = { - findChangedFiles: async (cwd, options) => { - var _options$includePaths; - - const includePaths = - (_options$includePaths = options.includePaths) !== null && - _options$includePaths !== void 0 - ? _options$includePaths - : []; - const args = ['status', '-amnu']; - - if (options.withAncestor) { - args.push('--rev', 'min((!public() & ::.)+.)^'); - } else if (options.changedSince) { - args.push('--rev', `ancestor(., ${options.changedSince})`); - } else if (options.lastCommit === true) { - args.push('--change', '.'); - } - - args.push(...includePaths); - let result; - - try { - result = await (0, _execa().default)('hg', args, { - cwd, - env - }); - } catch (e) { - // TODO: Should we keep the original `message`? - e.message = e.stderr; - throw e; - } - - return result.stdout - .split('\n') - .filter(s => s !== '') - .map(changedPath => path().resolve(cwd, changedPath)); - }, - getRoot: async cwd => { - try { - const result = await (0, _execa().default)('hg', ['root'], { - cwd, - env - }); - return result.stdout; - } catch { - return null; - } - } -}; -var _default = adapter; -exports.default = _default; diff --git a/node_modules/jest-changed-files/build/index.d.ts b/node_modules/jest-changed-files/build/index.d.ts deleted file mode 100644 index 0c134ab..0000000 --- a/node_modules/jest-changed-files/build/index.d.ts +++ /dev/null @@ -1,12 +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 } from '@jest/types'; -import type { ChangedFilesPromise, Options, Repos } from './types'; -export type { ChangedFiles, ChangedFilesPromise } from './types'; -export declare const getChangedFilesForRoots: (roots: Array, options: Options) => ChangedFilesPromise; -export declare const findRepos: (roots: Array) => Promise; diff --git a/node_modules/jest-changed-files/build/index.js b/node_modules/jest-changed-files/build/index.js deleted file mode 100644 index e230af2..0000000 --- a/node_modules/jest-changed-files/build/index.js +++ /dev/null @@ -1,86 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.getChangedFilesForRoots = exports.findRepos = void 0; - -function _throat() { - const data = _interopRequireDefault(require('throat')); - - _throat = function () { - return data; - }; - - return data; -} - -var _git = _interopRequireDefault(require('./git')); - -var _hg = _interopRequireDefault(require('./hg')); - -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. - * - */ -function notEmpty(value) { - return value != null; -} // This is an arbitrary number. The main goal is to prevent projects with -// many roots (50+) from spawning too many processes at once. - -const mutex = (0, _throat().default)(5); - -const findGitRoot = dir => mutex(() => _git.default.getRoot(dir)); - -const findHgRoot = dir => mutex(() => _hg.default.getRoot(dir)); - -const getChangedFilesForRoots = async (roots, options) => { - const repos = await findRepos(roots); - const changedFilesOptions = { - includePaths: roots, - ...options - }; - const gitPromises = Array.from(repos.git).map(repo => - _git.default.findChangedFiles(repo, changedFilesOptions) - ); - const hgPromises = Array.from(repos.hg).map(repo => - _hg.default.findChangedFiles(repo, changedFilesOptions) - ); - const changedFiles = ( - await Promise.all(gitPromises.concat(hgPromises)) - ).reduce((allFiles, changedFilesInTheRepo) => { - for (const file of changedFilesInTheRepo) { - allFiles.add(file); - } - - return allFiles; - }, new Set()); - return { - changedFiles, - repos - }; -}; - -exports.getChangedFilesForRoots = getChangedFilesForRoots; - -const findRepos = async roots => { - const gitRepos = await Promise.all( - roots.reduce((promises, root) => promises.concat(findGitRoot(root)), []) - ); - const hgRepos = await Promise.all( - roots.reduce((promises, root) => promises.concat(findHgRoot(root)), []) - ); - return { - git: new Set(gitRepos.filter(notEmpty)), - hg: new Set(hgRepos.filter(notEmpty)) - }; -}; - -exports.findRepos = findRepos; diff --git a/node_modules/jest-changed-files/build/types.d.ts b/node_modules/jest-changed-files/build/types.d.ts deleted file mode 100644 index 9ac5d3d..0000000 --- a/node_modules/jest-changed-files/build/types.d.ts +++ /dev/null @@ -1,28 +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 } from '@jest/types'; -export declare type Options = { - lastCommit?: boolean; - withAncestor?: boolean; - changedSince?: string; - includePaths?: Array; -}; -declare type Paths = Set; -export declare type Repos = { - git: Paths; - hg: Paths; -}; -export declare type ChangedFiles = { - repos: Repos; - changedFiles: Paths; -}; -export declare type ChangedFilesPromise = Promise; -export declare type SCMAdapter = { - findChangedFiles: (cwd: Config.Path, options: Options) => Promise>; - getRoot: (cwd: Config.Path) => Promise; -}; -export {}; diff --git a/node_modules/jest-changed-files/build/types.js b/node_modules/jest-changed-files/build/types.js deleted file mode 100644 index ad9a93a..0000000 --- a/node_modules/jest-changed-files/build/types.js +++ /dev/null @@ -1 +0,0 @@ -'use strict'; diff --git a/node_modules/jest-changed-files/package.json b/node_modules/jest-changed-files/package.json deleted file mode 100644 index e310ed5..0000000 --- a/node_modules/jest-changed-files/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "jest-changed-files", - "version": "27.5.1", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-changed-files" - }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" - }, - "dependencies": { - "@jest/types": "^27.5.1", - "execa": "^5.0.0", - "throat": "^6.0.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" -} diff --git a/node_modules/jest-circus/LICENSE b/node_modules/jest-circus/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-circus/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-circus/README.md b/node_modules/jest-circus/README.md deleted file mode 100644 index 67305ed..0000000 --- a/node_modules/jest-circus/README.md +++ /dev/null @@ -1,65 +0,0 @@ -[type-definitions]: https://github.com/facebook/jest/blob/main/packages/jest-types/src/Circus.ts - -

- - -

jest-circus

-

The next-gen test runner for Jest

-

- -## Overview - -Circus is a flux-based test runner for Jest that is fast, maintainable, and simple to extend. - -Circus allows you to bind to events via an optional event handler on any [custom environment](https://jestjs.io/docs/configuration#testenvironment-string). See the [type definitions][type-definitions] for more information on the events and state data currently available. - -```js -import {Event, State} from 'jest-circus'; -import NodeEnvironment from 'jest-environment-node'; - -class MyCustomEnvironment extends NodeEnvironment { - //... - - async handleTestEvent(event: Event, state: State) { - if (event.name === 'test_start') { - // ... - } - } -} -``` - -Mutating event or state data is currently unsupported and may cause unexpected behavior or break in a future release without warning. New events, event data, and/or state data will not be considered a breaking change and may be added in any minor release. - -Note, that `jest-circus` test runner would pause until a promise returned from `handleTestEvent` gets fulfilled. **However, there are a few events that do not conform to this rule, namely**: `start_describe_definition`, `finish_describe_definition`, `add_hook`, `add_test` or `error` (for the up-to-date list you can look at [SyncEvent type in the types definitions][type-definitions]). That is caused by backward compatibility reasons and `process.on('unhandledRejection', callback)` signature, but that usually should not be a problem for most of the use cases. - -## Installation - -> Note: As of Jest 27, `jest-circus` is the default test runner, so you do not have to install it to use it. - -Install `jest-circus` using yarn: - -```bash -yarn add --dev jest-circus -``` - -Or via npm: - -```bash -npm install --save-dev jest-circus -``` - -## Configure - -Configure Jest to use `jest-circus` via the [`testRunner`](https://jestjs.io/docs/configuration#testrunner-string) option: - -```json -{ - "testRunner": "jest-circus/runner" -} -``` - -Or via CLI: - -```bash -jest --testRunner='jest-circus/runner' -``` diff --git a/node_modules/jest-circus/build/eventHandler.d.ts b/node_modules/jest-circus/build/eventHandler.d.ts deleted file mode 100644 index 666bd20..0000000 --- a/node_modules/jest-circus/build/eventHandler.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 type { Circus } from '@jest/types'; -declare const eventHandler: Circus.EventHandler; -export default eventHandler; diff --git a/node_modules/jest-circus/build/eventHandler.js b/node_modules/jest-circus/build/eventHandler.js deleted file mode 100644 index 1dac46b..0000000 --- a/node_modules/jest-circus/build/eventHandler.js +++ /dev/null @@ -1,338 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -var _globalErrorHandlers = require('./globalErrorHandlers'); - -var _types = require('./types'); - -var _utils = require('./utils'); - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var jestNow = global[Symbol.for('jest-native-now')] || global.Date.now; - -// TODO: investigate why a shorter (event, state) signature results into TS7006 compiler error -const eventHandler = (event, state) => { - switch (event.name) { - case 'include_test_location_in_result': { - state.includeTestLocationInResult = true; - break; - } - - case 'hook_start': { - event.hook.seenDone = false; - break; - } - - case 'start_describe_definition': { - const {blockName, mode} = event; - const {currentDescribeBlock, currentlyRunningTest} = state; - - if (currentlyRunningTest) { - currentlyRunningTest.errors.push( - new Error( - `Cannot nest a describe inside a test. Describe block "${blockName}" cannot run because it is nested within "${currentlyRunningTest.name}".` - ) - ); - break; - } - - const describeBlock = (0, _utils.makeDescribe)( - blockName, - currentDescribeBlock, - mode - ); - currentDescribeBlock.children.push(describeBlock); - state.currentDescribeBlock = describeBlock; - break; - } - - case 'finish_describe_definition': { - const {currentDescribeBlock} = state; - (0, _utils.invariant)( - currentDescribeBlock, - 'currentDescribeBlock must be there' - ); - - if (!(0, _utils.describeBlockHasTests)(currentDescribeBlock)) { - currentDescribeBlock.hooks.forEach(hook => { - hook.asyncError.message = `Invalid: ${hook.type}() may not be used in a describe block containing no tests.`; - state.unhandledErrors.push(hook.asyncError); - }); - } // pass mode of currentDescribeBlock to tests - // but do not when there is already a single test with "only" mode - - const shouldPassMode = !( - currentDescribeBlock.mode === 'only' && - currentDescribeBlock.children.some( - child => child.type === 'test' && child.mode === 'only' - ) - ); - - if (shouldPassMode) { - currentDescribeBlock.children.forEach(child => { - if (child.type === 'test' && !child.mode) { - child.mode = currentDescribeBlock.mode; - } - }); - } - - if ( - !state.hasFocusedTests && - currentDescribeBlock.mode !== 'skip' && - currentDescribeBlock.children.some( - child => child.type === 'test' && child.mode === 'only' - ) - ) { - state.hasFocusedTests = true; - } - - if (currentDescribeBlock.parent) { - state.currentDescribeBlock = currentDescribeBlock.parent; - } - - break; - } - - case 'add_hook': { - const {currentDescribeBlock, currentlyRunningTest, hasStarted} = state; - const {asyncError, fn, hookType: type, timeout} = event; - - if (currentlyRunningTest) { - currentlyRunningTest.errors.push( - new Error( - `Hooks cannot be defined inside tests. Hook of type "${type}" is nested within "${currentlyRunningTest.name}".` - ) - ); - break; - } else if (hasStarted) { - state.unhandledErrors.push( - new Error( - 'Cannot add a hook after tests have started running. Hooks must be defined synchronously.' - ) - ); - break; - } - - const parent = currentDescribeBlock; - currentDescribeBlock.hooks.push({ - asyncError, - fn, - parent, - seenDone: false, - timeout, - type - }); - break; - } - - case 'add_test': { - const {currentDescribeBlock, currentlyRunningTest, hasStarted} = state; - const {asyncError, fn, mode, testName: name, timeout} = event; - - if (currentlyRunningTest) { - currentlyRunningTest.errors.push( - new Error( - `Tests cannot be nested. Test "${name}" cannot run because it is nested within "${currentlyRunningTest.name}".` - ) - ); - break; - } else if (hasStarted) { - state.unhandledErrors.push( - new Error( - 'Cannot add a test after tests have started running. Tests must be defined synchronously.' - ) - ); - break; - } - - const test = (0, _utils.makeTest)( - fn, - mode, - name, - currentDescribeBlock, - timeout, - asyncError - ); - - if (currentDescribeBlock.mode !== 'skip' && test.mode === 'only') { - state.hasFocusedTests = true; - } - - currentDescribeBlock.children.push(test); - currentDescribeBlock.tests.push(test); - break; - } - - case 'hook_failure': { - const {test, describeBlock, error, hook} = event; - const {asyncError, type} = hook; - - if (type === 'beforeAll') { - (0, _utils.invariant)(describeBlock, 'always present for `*All` hooks'); - (0, _utils.addErrorToEachTestUnderDescribe)( - describeBlock, - error, - asyncError - ); - } else if (type === 'afterAll') { - // Attaching `afterAll` errors to each test makes execution flow - // too complicated, so we'll consider them to be global. - state.unhandledErrors.push([error, asyncError]); - } else { - (0, _utils.invariant)(test, 'always present for `*Each` hooks'); - test.errors.push([error, asyncError]); - } - - break; - } - - case 'test_skip': { - event.test.status = 'skip'; - break; - } - - case 'test_todo': { - event.test.status = 'todo'; - break; - } - - case 'test_done': { - event.test.duration = (0, _utils.getTestDuration)(event.test); - event.test.status = 'done'; - state.currentlyRunningTest = null; - break; - } - - case 'test_start': { - state.currentlyRunningTest = event.test; - event.test.startedAt = jestNow(); - event.test.invocations += 1; - break; - } - - case 'test_fn_start': { - event.test.seenDone = false; - break; - } - - case 'test_fn_failure': { - const { - error, - test: {asyncError} - } = event; - event.test.errors.push([error, asyncError]); - break; - } - - case 'test_retry': { - event.test.errors = []; - break; - } - - case 'run_start': { - state.hasStarted = true; - global[_types.TEST_TIMEOUT_SYMBOL] && - (state.testTimeout = global[_types.TEST_TIMEOUT_SYMBOL]); - break; - } - - case 'run_finish': { - break; - } - - case 'setup': { - // Uncaught exception handlers should be defined on the parent process - // object. If defined on the VM's process object they just no op and let - // the parent process crash. It might make sense to return a `dispatch` - // function to the parent process and register handlers there instead, but - // i'm not sure if this is works. For now i just replicated whatever - // jasmine was doing -- dabramov - state.parentProcess = event.parentProcess; - (0, _utils.invariant)(state.parentProcess); - state.originalGlobalErrorHandlers = (0, - _globalErrorHandlers.injectGlobalErrorHandlers)(state.parentProcess); - - if (event.testNamePattern) { - state.testNamePattern = new RegExp(event.testNamePattern, 'i'); - } - - break; - } - - case 'teardown': { - (0, _utils.invariant)(state.originalGlobalErrorHandlers); - (0, _utils.invariant)(state.parentProcess); - (0, _globalErrorHandlers.restoreGlobalErrorHandlers)( - state.parentProcess, - state.originalGlobalErrorHandlers - ); - break; - } - - case 'error': { - // It's very likely for long-running async tests to throw errors. In this - // case we want to catch them and fail the current test. At the same time - // there's a possibility that one test sets a long timeout, that will - // eventually throw after this test finishes but during some other test - // execution, which will result in one test's error failing another test. - // In any way, it should be possible to track where the error was thrown - // from. - state.currentlyRunningTest - ? state.currentlyRunningTest.errors.push(event.error) - : state.unhandledErrors.push(event.error); - break; - } - } -}; - -var _default = eventHandler; -exports.default = _default; diff --git a/node_modules/jest-circus/build/formatNodeAssertErrors.d.ts b/node_modules/jest-circus/build/formatNodeAssertErrors.d.ts deleted file mode 100644 index 0e70ecb..0000000 --- a/node_modules/jest-circus/build/formatNodeAssertErrors.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 type { Circus } from '@jest/types'; -declare const formatNodeAssertErrors: (event: Circus.Event, state: Circus.State) => void; -export default formatNodeAssertErrors; diff --git a/node_modules/jest-circus/build/formatNodeAssertErrors.js b/node_modules/jest-circus/build/formatNodeAssertErrors.js deleted file mode 100644 index 38d5799..0000000 --- a/node_modules/jest-circus/build/formatNodeAssertErrors.js +++ /dev/null @@ -1,204 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -var _assert = require('assert'); - -var _chalk = _interopRequireDefault(require('chalk')); - -var _jestMatcherUtils = require('jest-matcher-utils'); - -var _prettyFormat = require('pretty-format'); - -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 assertOperatorsMap = { - '!=': 'notEqual', - '!==': 'notStrictEqual', - '==': 'equal', - '===': 'strictEqual' -}; -const humanReadableOperators = { - deepEqual: 'to deeply equal', - deepStrictEqual: 'to deeply and strictly equal', - equal: 'to be equal', - notDeepEqual: 'not to deeply equal', - notDeepStrictEqual: 'not to deeply and strictly equal', - notEqual: 'to not be equal', - notStrictEqual: 'not be strictly equal', - strictEqual: 'to strictly be equal' -}; - -const formatNodeAssertErrors = (event, state) => { - if (event.name === 'test_done') { - event.test.errors = event.test.errors.map(errors => { - let error; - - if (Array.isArray(errors)) { - const [originalError, asyncError] = errors; - - if (originalError == null) { - error = asyncError; - } else if (!originalError.stack) { - error = asyncError; - error.message = originalError.message - ? originalError.message - : `thrown: ${(0, _prettyFormat.format)(originalError, { - maxDepth: 3 - })}`; - } else { - error = originalError; - } - } else { - error = errors; - } - - return isAssertionError(error) - ? { - message: assertionErrorMessage(error, { - expand: state.expand - }) - } - : errors; - }); - } -}; - -const getOperatorName = (operator, stack) => { - if (typeof operator === 'string') { - return assertOperatorsMap[operator] || operator; - } - - if (stack.match('.doesNotThrow')) { - return 'doesNotThrow'; - } - - if (stack.match('.throws')) { - return 'throws'; - } // this fallback is only needed for versions older than node 10 - - if (stack.match('.fail')) { - return 'fail'; - } - - return ''; -}; - -const operatorMessage = operator => { - const niceOperatorName = getOperatorName(operator, ''); - const humanReadableOperator = humanReadableOperators[niceOperatorName]; - return typeof operator === 'string' - ? `${humanReadableOperator || niceOperatorName} to:\n` - : ''; -}; - -const assertThrowingMatcherHint = operatorName => - operatorName - ? _chalk.default.dim('assert') + - _chalk.default.dim('.' + operatorName + '(') + - _chalk.default.red('function') + - _chalk.default.dim(')') - : ''; - -const assertMatcherHint = (operator, operatorName, expected) => { - let message = ''; - - if (operator === '==' && expected === true) { - message = - _chalk.default.dim('assert') + - _chalk.default.dim('(') + - _chalk.default.red('received') + - _chalk.default.dim(')'); - } else if (operatorName) { - message = - _chalk.default.dim('assert') + - _chalk.default.dim('.' + operatorName + '(') + - _chalk.default.red('received') + - _chalk.default.dim(', ') + - _chalk.default.green('expected') + - _chalk.default.dim(')'); - } - - return message; -}; - -function assertionErrorMessage(error, options) { - const {expected, actual, generatedMessage, message, operator, stack} = error; - const diffString = (0, _jestMatcherUtils.diff)(expected, actual, options); - const hasCustomMessage = !generatedMessage; - const operatorName = getOperatorName(operator, stack); - const trimmedStack = stack - .replace(message, '') - .replace(/AssertionError(.*)/g, ''); - - if (operatorName === 'doesNotThrow') { - return ( - buildHintString(assertThrowingMatcherHint(operatorName)) + - _chalk.default.reset('Expected the function not to throw an error.\n') + - _chalk.default.reset('Instead, it threw:\n') + - ` ${(0, _jestMatcherUtils.printReceived)(actual)}` + - _chalk.default.reset( - hasCustomMessage ? '\n\nMessage:\n ' + message : '' - ) + - trimmedStack - ); - } - - if (operatorName === 'throws') { - return ( - buildHintString(assertThrowingMatcherHint(operatorName)) + - _chalk.default.reset('Expected the function to throw an error.\n') + - _chalk.default.reset("But it didn't throw anything.") + - _chalk.default.reset( - hasCustomMessage ? '\n\nMessage:\n ' + message : '' - ) + - trimmedStack - ); - } - - if (operatorName === 'fail') { - return ( - buildHintString(assertMatcherHint(operator, operatorName, expected)) + - _chalk.default.reset(hasCustomMessage ? 'Message:\n ' + message : '') + - trimmedStack - ); - } - - return ( - buildHintString(assertMatcherHint(operator, operatorName, expected)) + - _chalk.default.reset(`Expected value ${operatorMessage(operator)}`) + - ` ${(0, _jestMatcherUtils.printExpected)(expected)}\n` + - _chalk.default.reset('Received:\n') + - ` ${(0, _jestMatcherUtils.printReceived)(actual)}` + - _chalk.default.reset(hasCustomMessage ? '\n\nMessage:\n ' + message : '') + - (diffString ? `\n\nDifference:\n\n${diffString}` : '') + - trimmedStack - ); -} - -function isAssertionError(error) { - return ( - error && - (error instanceof _assert.AssertionError || - error.name === _assert.AssertionError.name || - error.code === 'ERR_ASSERTION') - ); -} - -function buildHintString(hint) { - return hint ? hint + '\n\n' : ''; -} - -var _default = formatNodeAssertErrors; -exports.default = _default; diff --git a/node_modules/jest-circus/build/globalErrorHandlers.d.ts b/node_modules/jest-circus/build/globalErrorHandlers.d.ts deleted file mode 100644 index d25393f..0000000 --- a/node_modules/jest-circus/build/globalErrorHandlers.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 type { Circus } from '@jest/types'; -export declare const injectGlobalErrorHandlers: (parentProcess: NodeJS.Process) => Circus.GlobalErrorHandlers; -export declare const restoreGlobalErrorHandlers: (parentProcess: NodeJS.Process, originalErrorHandlers: Circus.GlobalErrorHandlers) => void; diff --git a/node_modules/jest-circus/build/globalErrorHandlers.js b/node_modules/jest-circus/build/globalErrorHandlers.js deleted file mode 100644 index bc889f3..0000000 --- a/node_modules/jest-circus/build/globalErrorHandlers.js +++ /dev/null @@ -1,51 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.restoreGlobalErrorHandlers = exports.injectGlobalErrorHandlers = void 0; - -var _state = require('./state'); - -/** - * 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 uncaught = error => { - (0, _state.dispatchSync)({ - error, - name: 'error' - }); -}; - -const injectGlobalErrorHandlers = parentProcess => { - const uncaughtException = process.listeners('uncaughtException').slice(); - const unhandledRejection = process.listeners('unhandledRejection').slice(); - parentProcess.removeAllListeners('uncaughtException'); - parentProcess.removeAllListeners('unhandledRejection'); - parentProcess.on('uncaughtException', uncaught); - parentProcess.on('unhandledRejection', uncaught); - return { - uncaughtException, - unhandledRejection - }; -}; - -exports.injectGlobalErrorHandlers = injectGlobalErrorHandlers; - -const restoreGlobalErrorHandlers = (parentProcess, originalErrorHandlers) => { - parentProcess.removeListener('uncaughtException', uncaught); - parentProcess.removeListener('unhandledRejection', uncaught); - - for (const listener of originalErrorHandlers.uncaughtException) { - parentProcess.on('uncaughtException', listener); - } - - for (const listener of originalErrorHandlers.unhandledRejection) { - parentProcess.on('unhandledRejection', listener); - } -}; - -exports.restoreGlobalErrorHandlers = restoreGlobalErrorHandlers; diff --git a/node_modules/jest-circus/build/index.d.ts b/node_modules/jest-circus/build/index.d.ts deleted file mode 100644 index d51b3bc..0000000 --- a/node_modules/jest-circus/build/index.d.ts +++ /dev/null @@ -1,52 +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 { Circus, Global } from '@jest/types'; -export { setState, getState, resetState } from './state'; -export { default as run } from './run'; -declare type THook = (fn: Circus.HookFn, timeout?: number) => void; -declare const describe: { - (blockName: Circus.BlockName, blockFn: Circus.BlockFn): void; - each: (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: { - (blockName: Circus.BlockName, blockFn: Circus.BlockFn): void; - each: (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - skip: { - (blockName: Circus.BlockName, blockFn: Circus.BlockFn): void; - each: (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; -}; -declare const beforeEach: THook; -declare const beforeAll: THook; -declare const afterEach: THook; -declare const afterAll: THook; -declare const test: Global.It; -declare const it: Global.It; -export declare type Event = Circus.Event; -export declare type State = Circus.State; -export { afterAll, afterEach, beforeAll, beforeEach, describe, it, test }; -declare const _default: { - afterAll: THook; - afterEach: THook; - beforeAll: THook; - beforeEach: THook; - describe: { - (blockName: string, blockFn: Global.BlockFn): void; - each: (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: { - (blockName: string, blockFn: Global.BlockFn): void; - each: (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - skip: { - (blockName: string, blockFn: Global.BlockFn): void; - each: (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - }; - it: Global.It; - test: Global.It; -}; -export default _default; diff --git a/node_modules/jest-circus/build/index.js b/node_modules/jest-circus/build/index.js deleted file mode 100644 index 4155567..0000000 --- a/node_modules/jest-circus/build/index.js +++ /dev/null @@ -1,226 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.describe = - exports.default = - exports.beforeEach = - exports.beforeAll = - exports.afterEach = - exports.afterAll = - void 0; -Object.defineProperty(exports, 'getState', { - enumerable: true, - get: function () { - return _state.getState; - } -}); -exports.it = void 0; -Object.defineProperty(exports, 'resetState', { - enumerable: true, - get: function () { - return _state.resetState; - } -}); -Object.defineProperty(exports, 'run', { - enumerable: true, - get: function () { - return _run.default; - } -}); -Object.defineProperty(exports, 'setState', { - enumerable: true, - get: function () { - return _state.setState; - } -}); -exports.test = void 0; - -var _jestEach = require('jest-each'); - -var _jestUtil = require('jest-util'); - -var _state = require('./state'); - -var _run = _interopRequireDefault(require('./run')); - -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 describe = (() => { - const describe = (blockName, blockFn) => - _dispatchDescribe(blockFn, blockName, describe); - - const only = (blockName, blockFn) => - _dispatchDescribe(blockFn, blockName, only, 'only'); - - const skip = (blockName, blockFn) => - _dispatchDescribe(blockFn, blockName, skip, 'skip'); - - describe.each = (0, _jestEach.bind)(describe, false); - only.each = (0, _jestEach.bind)(only, false); - skip.each = (0, _jestEach.bind)(skip, false); - describe.only = only; - describe.skip = skip; - return describe; -})(); - -exports.describe = describe; - -const _dispatchDescribe = (blockFn, blockName, describeFn, mode) => { - const asyncError = new _jestUtil.ErrorWithStack(undefined, describeFn); - - if (blockFn === undefined) { - asyncError.message = - 'Missing second argument. It must be a callback function.'; - throw asyncError; - } - - if (typeof blockFn !== 'function') { - asyncError.message = `Invalid second argument, ${blockFn}. It must be a callback function.`; - throw asyncError; - } - - (0, _state.dispatchSync)({ - asyncError, - blockName, - mode, - name: 'start_describe_definition' - }); - const describeReturn = blockFn(); - - if ((0, _jestUtil.isPromise)(describeReturn)) { - throw new _jestUtil.ErrorWithStack( - 'Returning a Promise from "describe" is not supported. Tests must be defined synchronously.', - describeFn - ); - } else if (describeReturn !== undefined) { - throw new _jestUtil.ErrorWithStack( - 'A "describe" callback must not return a value.', - describeFn - ); - } - - (0, _state.dispatchSync)({ - blockName, - mode, - name: 'finish_describe_definition' - }); -}; - -const _addHook = (fn, hookType, hookFn, timeout) => { - const asyncError = new _jestUtil.ErrorWithStack(undefined, hookFn); - - if (typeof fn !== 'function') { - asyncError.message = - 'Invalid first argument. It must be a callback function.'; - throw asyncError; - } - - (0, _state.dispatchSync)({ - asyncError, - fn, - hookType, - name: 'add_hook', - timeout - }); -}; // Hooks have to pass themselves to the HOF in order for us to trim stack traces. - -const beforeEach = (fn, timeout) => - _addHook(fn, 'beforeEach', beforeEach, timeout); - -exports.beforeEach = beforeEach; - -const beforeAll = (fn, timeout) => - _addHook(fn, 'beforeAll', beforeAll, timeout); - -exports.beforeAll = beforeAll; - -const afterEach = (fn, timeout) => - _addHook(fn, 'afterEach', afterEach, timeout); - -exports.afterEach = afterEach; - -const afterAll = (fn, timeout) => _addHook(fn, 'afterAll', afterAll, timeout); - -exports.afterAll = afterAll; - -const test = (() => { - const test = (testName, fn, timeout) => - _addTest(testName, undefined, fn, test, timeout); - - const skip = (testName, fn, timeout) => - _addTest(testName, 'skip', fn, skip, timeout); - - const only = (testName, fn, timeout) => - _addTest(testName, 'only', fn, test.only, timeout); - - test.todo = (testName, ...rest) => { - if (rest.length > 0 || typeof testName !== 'string') { - throw new _jestUtil.ErrorWithStack( - 'Todo must be called with only a description.', - test.todo - ); - } - - return _addTest(testName, 'todo', () => {}, test.todo); - }; - - const _addTest = (testName, mode, fn, testFn, timeout) => { - const asyncError = new _jestUtil.ErrorWithStack(undefined, testFn); - - if (typeof testName !== 'string') { - asyncError.message = `Invalid first argument, ${testName}. It must be a string.`; - throw asyncError; - } - - if (fn === undefined) { - asyncError.message = - 'Missing second argument. It must be a callback function. Perhaps you want to use `test.todo` for a test placeholder.'; - throw asyncError; - } - - if (typeof fn !== 'function') { - asyncError.message = `Invalid second argument, ${fn}. It must be a callback function.`; - throw asyncError; - } - - return (0, _state.dispatchSync)({ - asyncError, - fn, - mode, - name: 'add_test', - testName, - timeout - }); - }; - - test.each = (0, _jestEach.bind)(test); - only.each = (0, _jestEach.bind)(only); - skip.each = (0, _jestEach.bind)(skip); - test.only = only; - test.skip = skip; - return test; -})(); - -exports.test = test; -const it = test; -exports.it = it; -var _default = { - afterAll, - afterEach, - beforeAll, - beforeEach, - describe, - it, - test -}; -exports.default = _default; diff --git a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.d.ts b/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.d.ts deleted file mode 100644 index 7aa430a..0000000 --- a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.d.ts +++ /dev/null @@ -1,12 +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 { JestEnvironment } from '@jest/environment'; -import type { TestFileEvent, TestResult } from '@jest/test-result'; -import type { Config } from '@jest/types'; -import type Runtime from 'jest-runtime'; -declare const jestAdapter: (globalConfig: Config.GlobalConfig, config: Config.ProjectConfig, environment: JestEnvironment, runtime: Runtime, testPath: string, sendMessageToJest?: TestFileEvent<"test-file-start" | "test-file-success" | "test-file-failure" | "test-case-result"> | undefined) => Promise; -export = jestAdapter; diff --git a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js b/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js deleted file mode 100644 index 1c36d4e..0000000 --- a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js +++ /dev/null @@ -1,123 +0,0 @@ -'use strict'; - -var _jestUtil = require('jest-util'); - -/** - * 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 FRAMEWORK_INITIALIZER = require.resolve('./jestAdapterInit'); - -const jestAdapter = async ( - globalConfig, - config, - environment, - runtime, - testPath, - sendMessageToJest -) => { - const {initialize, runAndTransformResultsToJestFormat} = - runtime.requireInternalModule(FRAMEWORK_INITIALIZER); - const {globals, snapshotState} = await initialize({ - config, - environment, - globalConfig, - localRequire: runtime.requireModule.bind(runtime), - parentProcess: process, - sendMessageToJest, - setGlobalsForRuntime: runtime.setGlobalsForRuntime.bind(runtime), - testPath - }); - - if (config.timers === 'fake' || config.timers === 'modern') { - // during setup, this cannot be null (and it's fine to explode if it is) - environment.fakeTimersModern.useFakeTimers(); - } else if (config.timers === 'legacy') { - environment.fakeTimers.useFakeTimers(); - } - - globals.beforeEach(() => { - if (config.resetModules) { - runtime.resetModules(); - } - - if (config.clearMocks) { - runtime.clearAllMocks(); - } - - if (config.resetMocks) { - runtime.resetAllMocks(); - - if (config.timers === 'legacy') { - // during setup, this cannot be null (and it's fine to explode if it is) - environment.fakeTimers.useFakeTimers(); - } - } - - if (config.restoreMocks) { - runtime.restoreAllMocks(); - } - }); - - for (const path of config.setupFilesAfterEnv) { - const esm = runtime.unstable_shouldLoadAsEsm(path); - - if (esm) { - await runtime.unstable_importModule(path); - } else { - runtime.requireModule(path); - } - } - - const esm = runtime.unstable_shouldLoadAsEsm(testPath); - - if (esm) { - await runtime.unstable_importModule(testPath); - } else { - runtime.requireModule(testPath); - } - - const results = await runAndTransformResultsToJestFormat({ - config, - globalConfig, - testPath - }); - - _addSnapshotData(results, snapshotState); // We need to copy the results object to ensure we don't leaks the prototypes - // from the VM. Jasmine creates the result objects in the parent process, we - // should consider doing that for circus as well. - - return (0, _jestUtil.deepCyclicCopy)(results, { - keepPrototype: false - }); -}; - -const _addSnapshotData = (results, snapshotState) => { - results.testResults.forEach(({fullName, status}) => { - if (status === 'pending' || status === 'failed') { - // if test is skipped or failed, we don't want to mark - // its snapshots as obsolete. - snapshotState.markSnapshotsAsCheckedForTest(fullName); - } - }); - const uncheckedCount = snapshotState.getUncheckedCount(); - const uncheckedKeys = snapshotState.getUncheckedKeys(); - - if (uncheckedCount) { - snapshotState.removeUncheckedKeys(); - } - - const status = snapshotState.save(); - results.snapshot.fileDeleted = status.deleted; - results.snapshot.added = snapshotState.added; - results.snapshot.matched = snapshotState.matched; - results.snapshot.unmatched = snapshotState.unmatched; - results.snapshot.updated = snapshotState.updated; - results.snapshot.unchecked = !status.deleted ? uncheckedCount : 0; // Copy the array to prevent memory leaks - - results.snapshot.uncheckedKeys = Array.from(uncheckedKeys); -}; - -module.exports = jestAdapter; diff --git a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts b/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts deleted file mode 100644 index b09ec31..0000000 --- a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts +++ /dev/null @@ -1,36 +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 { JestEnvironment } from '@jest/environment'; -import { TestFileEvent, TestResult } from '@jest/test-result'; -import type { Config, Global } from '@jest/types'; -import { SnapshotStateType } from 'jest-snapshot'; -import globals from '..'; -import { Expect } from './jestExpect'; -declare type Process = NodeJS.Process; -interface JestGlobals extends Global.TestFrameworkGlobals { - expect: Expect; -} -export declare const initialize: ({ config, environment, globalConfig, localRequire, parentProcess, sendMessageToJest, setGlobalsForRuntime, testPath, }: { - config: Config.ProjectConfig; - environment: JestEnvironment; - globalConfig: Config.GlobalConfig; - localRequire: (path: Config.Path) => T; - testPath: Config.Path; - parentProcess: Process; - sendMessageToJest?: TestFileEvent<"test-file-start" | "test-file-success" | "test-file-failure" | "test-case-result"> | undefined; - setGlobalsForRuntime: (globals: JestGlobals) => void; -}) => Promise<{ - globals: Global.TestFrameworkGlobals; - snapshotState: SnapshotStateType; -}>; -export declare const runAndTransformResultsToJestFormat: ({ config, globalConfig, testPath, }: { - config: Config.ProjectConfig; - globalConfig: Config.GlobalConfig; - testPath: string; -}) => Promise; -export {}; diff --git a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js b/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js deleted file mode 100644 index 7059ad2..0000000 --- a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js +++ /dev/null @@ -1,299 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.runAndTransformResultsToJestFormat = exports.initialize = void 0; - -var _throat = _interopRequireDefault(require('throat')); - -var _testResult = require('@jest/test-result'); - -var _expect = require('expect'); - -var _jestEach = require('jest-each'); - -var _jestMessageUtil = require('jest-message-util'); - -var _jestSnapshot = require('jest-snapshot'); - -var _ = _interopRequireDefault(require('..')); - -var _run = _interopRequireDefault(require('../run')); - -var _state = require('../state'); - -var _testCaseReportHandler = _interopRequireDefault( - require('../testCaseReportHandler') -); - -var _utils = require('../utils'); - -var _jestExpect = _interopRequireDefault(require('./jestExpect')); - -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 initialize = async ({ - config, - environment, - globalConfig, - localRequire, - parentProcess, - sendMessageToJest, - setGlobalsForRuntime, - testPath -}) => { - if (globalConfig.testTimeout) { - (0, _state.getState)().testTimeout = globalConfig.testTimeout; - } - - const mutex = (0, _throat.default)(globalConfig.maxConcurrency); // @ts-expect-error - - const globalsObject = { - ..._.default, - fdescribe: _.default.describe.only, - fit: _.default.it.only, - xdescribe: _.default.describe.skip, - xit: _.default.it.skip, - xtest: _.default.it.skip - }; - - globalsObject.test.concurrent = (test => { - const concurrent = (testName, testFn, timeout) => { - // For concurrent tests we first run the function that returns promise, and then register a - // normal test that will be waiting on the returned promise (when we start the test, the promise - // will already be in the process of execution). - // Unfortunately at this stage there's no way to know if there are any `.only` tests in the suite - // that will result in this test to be skipped, so we'll be executing the promise function anyway, - // even if it ends up being skipped. - const promise = mutex(() => testFn()); // Avoid triggering the uncaught promise rejection handler in case the test errors before - // being awaited on. - - promise.catch(() => {}); - globalsObject.test(testName, () => promise, timeout); - }; - - const only = (testName, testFn, timeout) => { - const promise = mutex(() => testFn()); // eslint-disable-next-line jest/no-focused-tests - - test.only(testName, () => promise, timeout); - }; - - concurrent.only = only; - concurrent.skip = test.skip; - concurrent.each = (0, _jestEach.bind)(test, false); - concurrent.skip.each = (0, _jestEach.bind)(test.skip, false); - only.each = (0, _jestEach.bind)(test.only, false); - return concurrent; - })(globalsObject.test); - - (0, _state.addEventHandler)(eventHandler); - - if (environment.handleTestEvent) { - (0, _state.addEventHandler)(environment.handleTestEvent.bind(environment)); - } - - const runtimeGlobals = { - ...globalsObject, - expect: (0, _jestExpect.default)(globalConfig) - }; - setGlobalsForRuntime(runtimeGlobals); - - if (config.injectGlobals) { - Object.assign(environment.global, runtimeGlobals); - } - - await (0, _state.dispatch)({ - name: 'setup', - parentProcess, - runtimeGlobals, - testNamePattern: globalConfig.testNamePattern - }); - - if (config.testLocationInResults) { - await (0, _state.dispatch)({ - name: 'include_test_location_in_result' - }); - } // Jest tests snapshotSerializers in order preceding built-in serializers. - // Therefore, add in reverse because the last added is the first tested. - - config.snapshotSerializers - .concat() - .reverse() - .forEach(path => (0, _jestSnapshot.addSerializer)(localRequire(path))); - const {expand, updateSnapshot} = globalConfig; - const snapshotResolver = await (0, _jestSnapshot.buildSnapshotResolver)( - config, - localRequire - ); - const snapshotPath = snapshotResolver.resolveSnapshotPath(testPath); - const snapshotState = new _jestSnapshot.SnapshotState(snapshotPath, { - expand, - prettierPath: config.prettierPath, - snapshotFormat: config.snapshotFormat, - updateSnapshot - }); // @ts-expect-error: snapshotState is a jest extension of `expect` - - (0, _expect.setState)({ - snapshotState, - testPath - }); - (0, _state.addEventHandler)(handleSnapshotStateAfterRetry(snapshotState)); - - if (sendMessageToJest) { - (0, _state.addEventHandler)( - (0, _testCaseReportHandler.default)(testPath, sendMessageToJest) - ); - } // Return it back to the outer scope (test runner outside the VM). - - return { - globals: globalsObject, - snapshotState - }; -}; - -exports.initialize = initialize; - -const runAndTransformResultsToJestFormat = async ({ - config, - globalConfig, - testPath -}) => { - const runResult = await (0, _run.default)(); - let numFailingTests = 0; - let numPassingTests = 0; - let numPendingTests = 0; - let numTodoTests = 0; - const assertionResults = runResult.testResults.map(testResult => { - let status; - - if (testResult.status === 'skip') { - status = 'pending'; - numPendingTests += 1; - } else if (testResult.status === 'todo') { - status = 'todo'; - numTodoTests += 1; - } else if (testResult.errors.length) { - status = 'failed'; - numFailingTests += 1; - } else { - status = 'passed'; - numPassingTests += 1; - } - - const ancestorTitles = testResult.testPath.filter( - name => name !== _state.ROOT_DESCRIBE_BLOCK_NAME - ); - const title = ancestorTitles.pop(); - return { - ancestorTitles, - duration: testResult.duration, - failureDetails: testResult.errorsDetailed, - failureMessages: testResult.errors, - fullName: title - ? ancestorTitles.concat(title).join(' ') - : ancestorTitles.join(' '), - invocations: testResult.invocations, - location: testResult.location, - numPassingAsserts: 0, - status, - title: testResult.testPath[testResult.testPath.length - 1] - }; - }); - let failureMessage = (0, _jestMessageUtil.formatResultsErrors)( - assertionResults, - config, - globalConfig, - testPath - ); - let testExecError; - - if (runResult.unhandledErrors.length) { - testExecError = { - message: '', - stack: runResult.unhandledErrors.join('\n') - }; - failureMessage = - (failureMessage || '') + - '\n\n' + - runResult.unhandledErrors - .map(err => - (0, _jestMessageUtil.formatExecError)(err, config, globalConfig) - ) - .join('\n'); - } - - await (0, _state.dispatch)({ - name: 'teardown' - }); - return { - ...(0, _testResult.createEmptyTestResult)(), - console: undefined, - displayName: config.displayName, - failureMessage, - numFailingTests, - numPassingTests, - numPendingTests, - numTodoTests, - testExecError, - testFilePath: testPath, - testResults: assertionResults - }; -}; - -exports.runAndTransformResultsToJestFormat = runAndTransformResultsToJestFormat; - -const handleSnapshotStateAfterRetry = snapshotState => event => { - switch (event.name) { - case 'test_retry': { - // Clear any snapshot data that occurred in previous test run - snapshotState.clear(); - } - } -}; - -const eventHandler = async event => { - switch (event.name) { - case 'test_start': { - (0, _expect.setState)({ - currentTestName: (0, _utils.getTestID)(event.test) - }); - break; - } - - case 'test_done': { - _addSuppressedErrors(event.test); - - _addExpectedAssertionErrors(event.test); - - break; - } - } -}; - -const _addExpectedAssertionErrors = test => { - const failures = (0, _expect.extractExpectedAssertionsErrors)(); - const errors = failures.map(failure => failure.error); - test.errors = test.errors.concat(errors); -}; // Get suppressed errors from ``jest-matchers`` that weren't throw during -// test execution and add them to the test result, potentially failing -// a passing test. - -const _addSuppressedErrors = test => { - const {suppressedErrors} = (0, _expect.getState)(); - (0, _expect.setState)({ - suppressedErrors: [] - }); - - if (suppressedErrors.length) { - test.errors = test.errors.concat(suppressedErrors); - } -}; diff --git a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.d.ts b/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.d.ts deleted file mode 100644 index 8902dc0..0000000 --- a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.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 type { Config } from '@jest/types'; -import expect = require('expect'); -export declare type Expect = typeof expect; -export default function jestExpect(config: Pick): Expect; diff --git a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.js b/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.js deleted file mode 100644 index d361766..0000000 --- a/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestExpect.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = jestExpect; - -var _expect = _interopRequireDefault(require('expect')); - -var _jestSnapshot = require('jest-snapshot'); - -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. - */ -function jestExpect(config) { - _expect.default.setState({ - expand: config.expand - }); - - _expect.default.extend({ - toMatchInlineSnapshot: _jestSnapshot.toMatchInlineSnapshot, - toMatchSnapshot: _jestSnapshot.toMatchSnapshot, - toThrowErrorMatchingInlineSnapshot: - _jestSnapshot.toThrowErrorMatchingInlineSnapshot, - toThrowErrorMatchingSnapshot: _jestSnapshot.toThrowErrorMatchingSnapshot - }); - - _expect.default.addSnapshotSerializer = _jestSnapshot.addSerializer; - return _expect.default; -} diff --git a/node_modules/jest-circus/build/run.d.ts b/node_modules/jest-circus/build/run.d.ts deleted file mode 100644 index 6e83136..0000000 --- a/node_modules/jest-circus/build/run.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 type { Circus } from '@jest/types'; -declare const run: () => Promise; -export default run; diff --git a/node_modules/jest-circus/build/run.js b/node_modules/jest-circus/build/run.js deleted file mode 100644 index c12ee96..0000000 --- a/node_modules/jest-circus/build/run.js +++ /dev/null @@ -1,236 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -var _state = require('./state'); - -var _types = require('./types'); - -var _utils = require('./utils'); - -/** - * 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 run = async () => { - const {rootDescribeBlock} = (0, _state.getState)(); - await (0, _state.dispatch)({ - name: 'run_start' - }); - await _runTestsForDescribeBlock(rootDescribeBlock); - await (0, _state.dispatch)({ - name: 'run_finish' - }); - return (0, _utils.makeRunResult)( - (0, _state.getState)().rootDescribeBlock, - (0, _state.getState)().unhandledErrors - ); -}; - -const _runTestsForDescribeBlock = async describeBlock => { - await (0, _state.dispatch)({ - describeBlock, - name: 'run_describe_start' - }); - const {beforeAll, afterAll} = (0, _utils.getAllHooksForDescribe)( - describeBlock - ); - const isSkipped = describeBlock.mode === 'skip'; - - if (!isSkipped) { - for (const hook of beforeAll) { - await _callCircusHook({ - describeBlock, - hook - }); - } - } // Tests that fail and are retried we run after other tests - - const retryTimes = parseInt(global[_types.RETRY_TIMES], 10) || 0; - const deferredRetryTests = []; - - for (const child of describeBlock.children) { - switch (child.type) { - case 'describeBlock': { - await _runTestsForDescribeBlock(child); - break; - } - - case 'test': { - const hasErrorsBeforeTestRun = child.errors.length > 0; - await _runTest(child, isSkipped); - - if ( - hasErrorsBeforeTestRun === false && - retryTimes > 0 && - child.errors.length > 0 - ) { - deferredRetryTests.push(child); - } - - break; - } - } - } // Re-run failed tests n-times if configured - - for (const test of deferredRetryTests) { - let numRetriesAvailable = retryTimes; - - while (numRetriesAvailable > 0 && test.errors.length > 0) { - // Clear errors so retries occur - await (0, _state.dispatch)({ - name: 'test_retry', - test - }); - await _runTest(test, isSkipped); - numRetriesAvailable--; - } - } - - if (!isSkipped) { - for (const hook of afterAll) { - await _callCircusHook({ - describeBlock, - hook - }); - } - } - - await (0, _state.dispatch)({ - describeBlock, - name: 'run_describe_finish' - }); -}; - -const _runTest = async (test, parentSkipped) => { - await (0, _state.dispatch)({ - name: 'test_start', - test - }); - const testContext = Object.create(null); - const {hasFocusedTests, testNamePattern} = (0, _state.getState)(); - const isSkipped = - parentSkipped || - test.mode === 'skip' || - (hasFocusedTests && test.mode !== 'only') || - (testNamePattern && !testNamePattern.test((0, _utils.getTestID)(test))); - - if (isSkipped) { - await (0, _state.dispatch)({ - name: 'test_skip', - test - }); - return; - } - - if (test.mode === 'todo') { - await (0, _state.dispatch)({ - name: 'test_todo', - test - }); - return; - } - - const {afterEach, beforeEach} = (0, _utils.getEachHooksForTest)(test); - - for (const hook of beforeEach) { - if (test.errors.length) { - // If any of the before hooks failed already, we don't run any - // hooks after that. - break; - } - - await _callCircusHook({ - hook, - test, - testContext - }); - } - - await _callCircusTest(test, testContext); - - for (const hook of afterEach) { - await _callCircusHook({ - hook, - test, - testContext - }); - } // `afterAll` hooks should not affect test status (pass or fail), because if - // we had a global `afterAll` hook it would block all existing tests until - // this hook is executed. So we dispatch `test_done` right away. - - await (0, _state.dispatch)({ - name: 'test_done', - test - }); -}; - -const _callCircusHook = async ({hook, test, describeBlock, testContext}) => { - await (0, _state.dispatch)({ - hook, - name: 'hook_start' - }); - const timeout = hook.timeout || (0, _state.getState)().testTimeout; - - try { - await (0, _utils.callAsyncCircusFn)(hook, testContext, { - isHook: true, - timeout - }); - await (0, _state.dispatch)({ - describeBlock, - hook, - name: 'hook_success', - test - }); - } catch (error) { - await (0, _state.dispatch)({ - describeBlock, - error, - hook, - name: 'hook_failure', - test - }); - } -}; - -const _callCircusTest = async (test, testContext) => { - await (0, _state.dispatch)({ - name: 'test_fn_start', - test - }); - const timeout = test.timeout || (0, _state.getState)().testTimeout; - (0, _utils.invariant)( - test.fn, - "Tests with no 'fn' should have 'mode' set to 'skipped'" - ); - - if (test.errors.length) { - return; // We don't run the test if there's already an error in before hooks. - } - - try { - await (0, _utils.callAsyncCircusFn)(test, testContext, { - isHook: false, - timeout - }); - await (0, _state.dispatch)({ - name: 'test_fn_success', - test - }); - } catch (error) { - await (0, _state.dispatch)({ - error, - name: 'test_fn_failure', - test - }); - } -}; - -var _default = run; -exports.default = _default; diff --git a/node_modules/jest-circus/build/state.d.ts b/node_modules/jest-circus/build/state.d.ts deleted file mode 100644 index e686aef..0000000 --- a/node_modules/jest-circus/build/state.d.ts +++ /dev/null @@ -1,14 +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 { Circus } from '@jest/types'; -export declare const ROOT_DESCRIBE_BLOCK_NAME = "ROOT_DESCRIBE_BLOCK"; -export declare const resetState: () => void; -export declare const getState: () => Circus.State; -export declare const setState: (state: Circus.State) => Circus.State; -export declare const dispatch: (event: Circus.AsyncEvent) => Promise; -export declare const dispatchSync: (event: Circus.SyncEvent) => void; -export declare const addEventHandler: (handler: Circus.EventHandler) => void; diff --git a/node_modules/jest-circus/build/state.js b/node_modules/jest-circus/build/state.js deleted file mode 100644 index d9d3ca2..0000000 --- a/node_modules/jest-circus/build/state.js +++ /dev/null @@ -1,93 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.setState = - exports.resetState = - exports.getState = - exports.dispatchSync = - exports.dispatch = - exports.addEventHandler = - exports.ROOT_DESCRIBE_BLOCK_NAME = - void 0; - -var _eventHandler = _interopRequireDefault(require('./eventHandler')); - -var _formatNodeAssertErrors = _interopRequireDefault( - require('./formatNodeAssertErrors') -); - -var _types = require('./types'); - -var _utils = require('./utils'); - -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 eventHandlers = [_eventHandler.default, _formatNodeAssertErrors.default]; -const ROOT_DESCRIBE_BLOCK_NAME = 'ROOT_DESCRIBE_BLOCK'; -exports.ROOT_DESCRIBE_BLOCK_NAME = ROOT_DESCRIBE_BLOCK_NAME; - -const createState = () => { - const ROOT_DESCRIBE_BLOCK = (0, _utils.makeDescribe)( - ROOT_DESCRIBE_BLOCK_NAME - ); - return { - currentDescribeBlock: ROOT_DESCRIBE_BLOCK, - currentlyRunningTest: null, - expand: undefined, - hasFocusedTests: false, - hasStarted: false, - includeTestLocationInResult: false, - parentProcess: null, - rootDescribeBlock: ROOT_DESCRIBE_BLOCK, - testNamePattern: null, - testTimeout: 5000, - unhandledErrors: [] - }; -}; - -const resetState = () => { - global[_types.STATE_SYM] = createState(); -}; - -exports.resetState = resetState; -resetState(); - -const getState = () => global[_types.STATE_SYM]; - -exports.getState = getState; - -const setState = state => (global[_types.STATE_SYM] = state); - -exports.setState = setState; - -const dispatch = async event => { - for (const handler of eventHandlers) { - await handler(event, getState()); - } -}; - -exports.dispatch = dispatch; - -const dispatchSync = event => { - for (const handler of eventHandlers) { - handler(event, getState()); - } -}; - -exports.dispatchSync = dispatchSync; - -const addEventHandler = handler => { - eventHandlers.push(handler); -}; - -exports.addEventHandler = addEventHandler; diff --git a/node_modules/jest-circus/build/testCaseReportHandler.d.ts b/node_modules/jest-circus/build/testCaseReportHandler.d.ts deleted file mode 100644 index 093fe9b..0000000 --- a/node_modules/jest-circus/build/testCaseReportHandler.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 type { TestFileEvent } from '@jest/test-result'; -import type { Circus } from '@jest/types'; -declare const testCaseReportHandler: (testPath: string, sendMessageToJest: TestFileEvent) => (event: Circus.Event) => void; -export default testCaseReportHandler; diff --git a/node_modules/jest-circus/build/testCaseReportHandler.js b/node_modules/jest-circus/build/testCaseReportHandler.js deleted file mode 100644 index 4c8beb1..0000000 --- a/node_modules/jest-circus/build/testCaseReportHandler.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -var _utils = require('./utils'); - -/** - * 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 testCaseReportHandler = (testPath, sendMessageToJest) => event => { - switch (event.name) { - case 'test_done': { - const testResult = (0, _utils.makeSingleTestResult)(event.test); - const testCaseResult = (0, _utils.parseSingleTestResult)(testResult); - sendMessageToJest('test-case-result', [testPath, testCaseResult]); - break; - } - } -}; - -var _default = testCaseReportHandler; -exports.default = _default; diff --git a/node_modules/jest-circus/build/types.d.ts b/node_modules/jest-circus/build/types.d.ts deleted file mode 100644 index 930a49c..0000000 --- a/node_modules/jest-circus/build/types.d.ts +++ /dev/null @@ -1,21 +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 { Circus } from '@jest/types'; -import expect = require('expect'); -export declare const STATE_SYM: "STATE_SYM_SYMBOL"; -export declare const RETRY_TIMES: "RETRY_TIMES_SYMBOL"; -export declare const TEST_TIMEOUT_SYMBOL: "TEST_TIMEOUT_SYMBOL"; -declare global { - namespace NodeJS { - interface Global { - STATE_SYM_SYMBOL: Circus.State; - RETRY_TIMES_SYMBOL: string; - TEST_TIMEOUT_SYMBOL: number; - expect: typeof expect; - } - } -} diff --git a/node_modules/jest-circus/build/types.js b/node_modules/jest-circus/build/types.js deleted file mode 100644 index 2b2ade0..0000000 --- a/node_modules/jest-circus/build/types.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.TEST_TIMEOUT_SYMBOL = exports.STATE_SYM = exports.RETRY_TIMES = void 0; - -var _expect = _interopRequireDefault(require('expect')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; -const STATE_SYM = Symbol('JEST_STATE_SYMBOL'); -exports.STATE_SYM = STATE_SYM; -const RETRY_TIMES = Symbol.for('RETRY_TIMES'); // To pass this value from Runtime object to state we need to use global[sym] - -exports.RETRY_TIMES = RETRY_TIMES; -const TEST_TIMEOUT_SYMBOL = Symbol.for('TEST_TIMEOUT_SYMBOL'); -exports.TEST_TIMEOUT_SYMBOL = TEST_TIMEOUT_SYMBOL; diff --git a/node_modules/jest-circus/build/utils.d.ts b/node_modules/jest-circus/build/utils.d.ts deleted file mode 100644 index f22b4fc..0000000 --- a/node_modules/jest-circus/build/utils.d.ts +++ /dev/null @@ -1,33 +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 { AssertionResult } from '@jest/test-result'; -import type { Circus } from '@jest/types'; -export declare const makeDescribe: (name: Circus.BlockName, parent?: Circus.DescribeBlock | undefined, mode?: void | "skip" | "only" | "todo" | undefined) => Circus.DescribeBlock; -export declare const makeTest: (fn: Circus.TestFn, mode: Circus.TestMode, name: Circus.TestName, parent: Circus.DescribeBlock, timeout: number | undefined, asyncError: Circus.Exception) => Circus.TestEntry; -declare type DescribeHooks = { - beforeAll: Array; - afterAll: Array; -}; -export declare const getAllHooksForDescribe: (describe: Circus.DescribeBlock) => DescribeHooks; -declare type TestHooks = { - beforeEach: Array; - afterEach: Array; -}; -export declare const getEachHooksForTest: (test: Circus.TestEntry) => TestHooks; -export declare const describeBlockHasTests: (describe: Circus.DescribeBlock) => boolean; -export declare const callAsyncCircusFn: (testOrHook: Circus.TestEntry | Circus.Hook, testContext: Circus.TestContext | undefined, { isHook, timeout }: { - isHook: boolean; - timeout: number; -}) => Promise; -export declare const getTestDuration: (test: Circus.TestEntry) => number | null; -export declare const makeRunResult: (describeBlock: Circus.DescribeBlock, unhandledErrors: Array) => Circus.RunResult; -export declare const makeSingleTestResult: (test: Circus.TestEntry) => Circus.TestResult; -export declare const getTestID: (test: Circus.TestEntry) => string; -export declare const addErrorToEachTestUnderDescribe: (describeBlock: Circus.DescribeBlock, error: Circus.Exception, asyncError: Circus.Exception) => void; -export declare function invariant(condition: unknown, message?: string): asserts condition; -export declare const parseSingleTestResult: (testResult: Circus.TestResult) => AssertionResult; -export {}; diff --git a/node_modules/jest-circus/build/utils.js b/node_modules/jest-circus/build/utils.js deleted file mode 100644 index 521a296..0000000 --- a/node_modules/jest-circus/build/utils.js +++ /dev/null @@ -1,637 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.getTestID = - exports.getTestDuration = - exports.getEachHooksForTest = - exports.getAllHooksForDescribe = - exports.describeBlockHasTests = - exports.callAsyncCircusFn = - exports.addErrorToEachTestUnderDescribe = - void 0; -exports.invariant = invariant; -exports.parseSingleTestResult = - exports.makeTest = - exports.makeSingleTestResult = - exports.makeRunResult = - exports.makeDescribe = - void 0; - -var path = _interopRequireWildcard(require('path')); - -var _co = _interopRequireDefault(require('co')); - -var _dedent = _interopRequireDefault(require('dedent')); - -var _isGeneratorFn = _interopRequireDefault(require('is-generator-fn')); - -var _slash = _interopRequireDefault(require('slash')); - -var _stackUtils = _interopRequireDefault(require('stack-utils')); - -var _jestUtil = require('jest-util'); - -var _prettyFormat = require('pretty-format'); - -var _state = require('./state'); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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; -} - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var jestNow = global[Symbol.for('jest-native-now')] || global.Date.now; - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol; - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -var Promise = global[Symbol.for('jest-native-promise')] || global.Promise; -const stackUtils = new _stackUtils.default({ - cwd: 'A path that does not exist' -}); -const jestEachBuildDir = (0, _slash.default)( - path.dirname(require.resolve('jest-each')) -); - -function takesDoneCallback(fn) { - return fn.length > 0; -} - -function isGeneratorFunction(fn) { - return (0, _isGeneratorFn.default)(fn); -} - -const makeDescribe = (name, parent, mode) => { - let _mode = mode; - - if (parent && !mode) { - // If not set explicitly, inherit from the parent describe. - _mode = parent.mode; - } - - return { - type: 'describeBlock', - // eslint-disable-next-line sort-keys - children: [], - hooks: [], - mode: _mode, - name: (0, _jestUtil.convertDescriptorToString)(name), - parent, - tests: [] - }; -}; - -exports.makeDescribe = makeDescribe; - -const makeTest = (fn, mode, name, parent, timeout, asyncError) => ({ - type: 'test', - // eslint-disable-next-line sort-keys - asyncError, - duration: null, - errors: [], - fn, - invocations: 0, - mode, - name: (0, _jestUtil.convertDescriptorToString)(name), - parent, - seenDone: false, - startedAt: null, - status: null, - timeout -}); // Traverse the tree of describe blocks and return true if at least one describe -// block has an enabled test. - -exports.makeTest = makeTest; - -const hasEnabledTest = describeBlock => { - const {hasFocusedTests, testNamePattern} = (0, _state.getState)(); - return describeBlock.children.some(child => - child.type === 'describeBlock' - ? hasEnabledTest(child) - : !( - child.mode === 'skip' || - (hasFocusedTests && child.mode !== 'only') || - (testNamePattern && !testNamePattern.test(getTestID(child))) - ) - ); -}; - -const getAllHooksForDescribe = describe => { - const result = { - afterAll: [], - beforeAll: [] - }; - - if (hasEnabledTest(describe)) { - for (const hook of describe.hooks) { - switch (hook.type) { - case 'beforeAll': - result.beforeAll.push(hook); - break; - - case 'afterAll': - result.afterAll.push(hook); - break; - } - } - } - - return result; -}; - -exports.getAllHooksForDescribe = getAllHooksForDescribe; - -const getEachHooksForTest = test => { - const result = { - afterEach: [], - beforeEach: [] - }; - let block = test.parent; - - do { - const beforeEachForCurrentBlock = []; // TODO: inline after https://github.com/microsoft/TypeScript/pull/34840 is released - - let hook; - - for (hook of block.hooks) { - switch (hook.type) { - case 'beforeEach': - beforeEachForCurrentBlock.push(hook); - break; - - case 'afterEach': - result.afterEach.push(hook); - break; - } - } // 'beforeEach' hooks are executed from top to bottom, the opposite of the - // way we traversed it. - - result.beforeEach = [...beforeEachForCurrentBlock, ...result.beforeEach]; - } while ((block = block.parent)); - - return result; -}; - -exports.getEachHooksForTest = getEachHooksForTest; - -const describeBlockHasTests = describe => - describe.children.some( - child => child.type === 'test' || describeBlockHasTests(child) - ); - -exports.describeBlockHasTests = describeBlockHasTests; - -const _makeTimeoutMessage = (timeout, isHook) => - `Exceeded timeout of ${(0, _jestUtil.formatTime)(timeout)} for a ${ - isHook ? 'hook' : 'test' - }.\nUse jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test.`; // Global values can be overwritten by mocks or tests. We'll capture -// the original values in the variables before we require any files. - -const {setTimeout, clearTimeout} = global; - -function checkIsError(error) { - return !!(error && error.message && error.stack); -} - -const callAsyncCircusFn = (testOrHook, testContext, {isHook, timeout}) => { - let timeoutID; - let completed = false; - const {fn, asyncError} = testOrHook; - return new Promise((resolve, reject) => { - timeoutID = setTimeout( - () => reject(_makeTimeoutMessage(timeout, isHook)), - timeout - ); // If this fn accepts `done` callback we return a promise that fulfills as - // soon as `done` called. - - if (takesDoneCallback(fn)) { - let returnedValue = undefined; - - const done = reason => { - // We need to keep a stack here before the promise tick - const errorAtDone = new _jestUtil.ErrorWithStack(undefined, done); - - if (!completed && testOrHook.seenDone) { - errorAtDone.message = - 'Expected done to be called once, but it was called multiple times.'; - - if (reason) { - errorAtDone.message += - ' Reason: ' + - (0, _prettyFormat.format)(reason, { - maxDepth: 3 - }); - } - - reject(errorAtDone); - throw errorAtDone; - } else { - testOrHook.seenDone = true; - } // Use `Promise.resolve` to allow the event loop to go a single tick in case `done` is called synchronously - - Promise.resolve().then(() => { - if (returnedValue !== undefined) { - asyncError.message = (0, _dedent.default)` - Test functions cannot both take a 'done' callback and return something. Either use a 'done' callback, or return a promise. - Returned value: ${(0, _prettyFormat.format)(returnedValue, { - maxDepth: 3 - })} - `; - return reject(asyncError); - } - - let errorAsErrorObject; - - if (checkIsError(reason)) { - errorAsErrorObject = reason; - } else { - errorAsErrorObject = errorAtDone; - errorAtDone.message = `Failed: ${(0, _prettyFormat.format)(reason, { - maxDepth: 3 - })}`; - } // Consider always throwing, regardless if `reason` is set or not - - if (completed && reason) { - errorAsErrorObject.message = - 'Caught error after test environment was torn down\n\n' + - errorAsErrorObject.message; - throw errorAsErrorObject; - } - - return reason ? reject(errorAsErrorObject) : resolve(); - }); - }; - - returnedValue = fn.call(testContext, done); - return; - } - - let returnedValue; - - if (isGeneratorFunction(fn)) { - returnedValue = _co.default.wrap(fn).call({}); - } else { - try { - returnedValue = fn.call(testContext); - } catch (error) { - reject(error); - return; - } - } // If it's a Promise, return it. Test for an object with a `then` function - // to support custom Promise implementations. - - if ( - typeof returnedValue === 'object' && - returnedValue !== null && - typeof returnedValue.then === 'function' - ) { - returnedValue.then(() => resolve(), reject); - return; - } - - if (!isHook && returnedValue !== undefined) { - reject( - new Error((0, _dedent.default)` - test functions can only return Promise or undefined. - Returned value: ${(0, _prettyFormat.format)(returnedValue, { - maxDepth: 3 - })} - `) - ); - return; - } // Otherwise this test is synchronous, and if it didn't throw it means - // it passed. - - resolve(); - }) - .then(() => { - var _timeoutID$unref, _timeoutID; - - completed = true; // If timeout is not cleared/unrefed the node process won't exit until - // it's resolved. - - (_timeoutID$unref = (_timeoutID = timeoutID).unref) === null || - _timeoutID$unref === void 0 - ? void 0 - : _timeoutID$unref.call(_timeoutID); - clearTimeout(timeoutID); - }) - .catch(error => { - var _timeoutID$unref2, _timeoutID2; - - completed = true; - (_timeoutID$unref2 = (_timeoutID2 = timeoutID).unref) === null || - _timeoutID$unref2 === void 0 - ? void 0 - : _timeoutID$unref2.call(_timeoutID2); - clearTimeout(timeoutID); - throw error; - }); -}; - -exports.callAsyncCircusFn = callAsyncCircusFn; - -const getTestDuration = test => { - const {startedAt} = test; - return typeof startedAt === 'number' ? jestNow() - startedAt : null; -}; - -exports.getTestDuration = getTestDuration; - -const makeRunResult = (describeBlock, unhandledErrors) => ({ - testResults: makeTestResults(describeBlock), - unhandledErrors: unhandledErrors.map(_getError).map(getErrorStack) -}); - -exports.makeRunResult = makeRunResult; - -const makeSingleTestResult = test => { - const {includeTestLocationInResult} = (0, _state.getState)(); - const testPath = []; - let parent = test; - const {status} = test; - invariant(status, 'Status should be present after tests are run.'); - - do { - testPath.unshift(parent.name); - } while ((parent = parent.parent)); - - let location = null; - - if (includeTestLocationInResult) { - var _parsedLine, _parsedLine$file; - - const stackLines = test.asyncError.stack.split('\n'); - const stackLine = stackLines[1]; - let parsedLine = stackUtils.parseLine(stackLine); - - if ( - (_parsedLine = parsedLine) !== null && - _parsedLine !== void 0 && - (_parsedLine$file = _parsedLine.file) !== null && - _parsedLine$file !== void 0 && - _parsedLine$file.startsWith(jestEachBuildDir) - ) { - const stackLine = stackLines[4]; - parsedLine = stackUtils.parseLine(stackLine); - } - - if ( - parsedLine && - typeof parsedLine.column === 'number' && - typeof parsedLine.line === 'number' - ) { - location = { - column: parsedLine.column, - line: parsedLine.line - }; - } - } - - const errorsDetailed = test.errors.map(_getError); - return { - duration: test.duration, - errors: errorsDetailed.map(getErrorStack), - errorsDetailed, - invocations: test.invocations, - location, - status, - testPath: Array.from(testPath) - }; -}; - -exports.makeSingleTestResult = makeSingleTestResult; - -const makeTestResults = describeBlock => { - const testResults = []; - - for (const child of describeBlock.children) { - switch (child.type) { - case 'describeBlock': { - testResults.push(...makeTestResults(child)); - break; - } - - case 'test': { - testResults.push(makeSingleTestResult(child)); - break; - } - } - } - - return testResults; -}; // Return a string that identifies the test (concat of parent describe block -// names + test title) - -const getTestID = test => { - const titles = []; - let parent = test; - - do { - titles.unshift(parent.name); - } while ((parent = parent.parent)); - - titles.shift(); // remove TOP_DESCRIBE_BLOCK_NAME - - return titles.join(' '); -}; - -exports.getTestID = getTestID; - -const _getError = errors => { - let error; - let asyncError; - - if (Array.isArray(errors)) { - error = errors[0]; - asyncError = errors[1]; - } else { - error = errors; - asyncError = new Error(); - } - - if (error && (typeof error.stack === 'string' || error.message)) { - return error; - } - - asyncError.message = `thrown: ${(0, _prettyFormat.format)(error, { - maxDepth: 3 - })}`; - return asyncError; -}; - -const getErrorStack = error => - typeof error.stack === 'string' ? error.stack : error.message; - -const addErrorToEachTestUnderDescribe = (describeBlock, error, asyncError) => { - for (const child of describeBlock.children) { - switch (child.type) { - case 'describeBlock': - addErrorToEachTestUnderDescribe(child, error, asyncError); - break; - - case 'test': - child.errors.push([error, asyncError]); - break; - } - } -}; - -exports.addErrorToEachTestUnderDescribe = addErrorToEachTestUnderDescribe; - -function invariant(condition, message) { - if (!condition) { - throw new Error(message); - } -} - -const parseSingleTestResult = testResult => { - let status; - - if (testResult.status === 'skip') { - status = 'pending'; - } else if (testResult.status === 'todo') { - status = 'todo'; - } else if (testResult.errors.length > 0) { - status = 'failed'; - } else { - status = 'passed'; - } - - const ancestorTitles = testResult.testPath.filter( - name => name !== _state.ROOT_DESCRIBE_BLOCK_NAME - ); - const title = ancestorTitles.pop(); - return { - ancestorTitles, - duration: testResult.duration, - failureDetails: testResult.errorsDetailed, - failureMessages: Array.from(testResult.errors), - fullName: title - ? ancestorTitles.concat(title).join(' ') - : ancestorTitles.join(' '), - invocations: testResult.invocations, - location: testResult.location, - numPassingAsserts: 0, - status, - title: testResult.testPath[testResult.testPath.length - 1] - }; -}; - -exports.parseSingleTestResult = parseSingleTestResult; diff --git a/node_modules/jest-circus/package.json b/node_modules/jest-circus/package.json deleted file mode 100644 index 8ea4112..0000000 --- a/node_modules/jest-circus/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "jest-circus", - "version": "27.5.1", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-circus" - }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json", - "./runner": "./runner.js" - }, - "dependencies": { - "@jest/environment": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^0.7.0", - "expect": "^27.5.1", - "is-generator-fn": "^2.0.0", - "jest-each": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-snapshot": "^27.5.1", - "jest-util": "^27.5.1", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "stack-utils": "^2.0.3", - "throat": "^6.0.1" - }, - "devDependencies": { - "@babel/core": "^7.1.0", - "@babel/register": "^7.0.0", - "@types/co": "^4.6.0", - "@types/dedent": "^0.7.0", - "@types/graceful-fs": "^4.1.3", - "@types/stack-utils": "^2.0.0", - "execa": "^5.0.0", - "graceful-fs": "^4.2.9" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" -} diff --git a/node_modules/jest-circus/runner.js b/node_modules/jest-circus/runner.js deleted file mode 100644 index cb1360d..0000000 --- a/node_modules/jest-circus/runner.js +++ /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. - */ - -// Allow people to use `jest-circus/runner` as a runner. -const runner = require('./build/legacy-code-todo-rewrite/jestAdapter'); -module.exports = runner; diff --git a/node_modules/jest-cli/LICENSE b/node_modules/jest-cli/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-cli/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-cli/README.md b/node_modules/jest-cli/README.md deleted file mode 100644 index 9c3d31e..0000000 --- a/node_modules/jest-cli/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Jest - -🃏 Delightful JavaScript Testing - -- **👩🏻‍💻 Developer Ready**: Complete and ready to set-up JavaScript testing solution. Works out of the box for any React project. - -- **🏃🏽 Instant Feedback**: Failed tests run first. Fast interactive mode can switch between running all tests or only test files related to changed files. - -- **📸 Snapshot Testing**: Jest can [capture snapshots](https://jestjs.io/docs/snapshot-testing) of React trees or other serializable values to simplify UI testing. - -Read More: https://jestjs.io/ diff --git a/node_modules/jest-cli/bin/jest.js b/node_modules/jest-cli/bin/jest.js deleted file mode 100755 index 146fb2c..0000000 --- a/node_modules/jest-cli/bin/jest.js +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env node -/** - * 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 importLocal = require('import-local'); - -if (!importLocal(__filename)) { - if (process.env.NODE_ENV == null) { - process.env.NODE_ENV = 'test'; - } - - require('..').run(); -} diff --git a/node_modules/jest-cli/build/cli/args.d.ts b/node_modules/jest-cli/build/cli/args.d.ts deleted file mode 100644 index 28d4fee..0000000 --- a/node_modules/jest-cli/build/cli/args.d.ts +++ /dev/null @@ -1,448 +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 } from '@jest/types'; -export declare function check(argv: Config.Argv): true; -export declare const usage = "Usage: $0 [--config=] [TestPathPattern]"; -export declare const docs = "Documentation: https://jestjs.io/"; -export declare const options: { - readonly all: { - readonly description: string; - readonly type: "boolean"; - }; - readonly automock: { - readonly description: "Automock all files by default."; - readonly type: "boolean"; - }; - readonly bail: { - readonly alias: "b"; - readonly description: "Exit the test suite immediately after `n` number of failing tests."; - readonly type: "boolean"; - }; - readonly cache: { - readonly description: string; - readonly type: "boolean"; - }; - readonly cacheDirectory: { - readonly description: string; - readonly type: "string"; - }; - readonly changedFilesWithAncestor: { - readonly description: string; - readonly type: "boolean"; - }; - readonly changedSince: { - readonly description: string; - readonly nargs: 1; - readonly type: "string"; - }; - readonly ci: { - readonly description: string; - readonly type: "boolean"; - }; - readonly clearCache: { - readonly description: string; - readonly type: "boolean"; - }; - readonly clearMocks: { - readonly description: string; - readonly type: "boolean"; - }; - readonly collectCoverage: { - readonly description: "Alias for --coverage."; - readonly type: "boolean"; - }; - readonly collectCoverageFrom: { - readonly description: string; - readonly type: "string"; - }; - readonly collectCoverageOnlyFrom: { - readonly description: "Explicit list of paths coverage will be restricted to."; - readonly string: true; - readonly type: "array"; - }; - readonly color: { - readonly description: string; - readonly type: "boolean"; - }; - readonly colors: { - readonly description: "Alias for `--color`."; - readonly type: "boolean"; - }; - readonly config: { - readonly alias: "c"; - readonly description: string; - readonly type: "string"; - }; - readonly coverage: { - readonly description: string; - readonly type: "boolean"; - }; - readonly coverageDirectory: { - readonly description: "The directory where Jest should output its coverage files."; - readonly type: "string"; - }; - readonly coveragePathIgnorePatterns: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly coverageProvider: { - readonly choices: readonly ["babel", "v8"]; - readonly description: "Select between Babel and V8 to collect coverage"; - }; - readonly coverageReporters: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly coverageThreshold: { - readonly description: string; - readonly type: "string"; - }; - readonly debug: { - readonly description: "Print debugging info about your jest config."; - readonly type: "boolean"; - }; - readonly detectLeaks: { - readonly description: string; - readonly type: "boolean"; - }; - readonly detectOpenHandles: { - readonly description: string; - readonly type: "boolean"; - }; - readonly env: { - readonly description: string; - readonly type: "string"; - }; - readonly errorOnDeprecated: { - readonly description: "Make calling deprecated APIs throw helpful error messages."; - readonly type: "boolean"; - }; - readonly expand: { - readonly alias: "e"; - readonly description: "Use this flag to show full diffs instead of a patch."; - readonly type: "boolean"; - }; - readonly filter: { - readonly description: string; - readonly type: "string"; - }; - readonly findRelatedTests: { - readonly description: string; - readonly type: "boolean"; - }; - readonly forceExit: { - readonly description: string; - readonly type: "boolean"; - }; - readonly globalSetup: { - readonly description: "The path to a module that runs before All Tests."; - readonly type: "string"; - }; - readonly globalTeardown: { - readonly description: "The path to a module that runs after All Tests."; - readonly type: "string"; - }; - readonly globals: { - readonly description: string; - readonly type: "string"; - }; - readonly haste: { - readonly description: "A JSON string with map of variables for the haste module system"; - readonly type: "string"; - }; - readonly init: { - readonly description: "Generate a basic configuration file"; - readonly type: "boolean"; - }; - readonly injectGlobals: { - readonly description: "Should Jest inject global variables or not"; - readonly type: "boolean"; - }; - readonly json: { - readonly description: string; - readonly type: "boolean"; - }; - readonly lastCommit: { - readonly description: string; - readonly type: "boolean"; - }; - readonly listTests: { - readonly description: string; - readonly type: "boolean"; - }; - readonly logHeapUsage: { - readonly description: string; - readonly type: "boolean"; - }; - readonly maxConcurrency: { - readonly description: string; - readonly type: "number"; - }; - readonly maxWorkers: { - readonly alias: "w"; - readonly description: string; - readonly type: "string"; - }; - readonly moduleDirectories: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly moduleFileExtensions: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly moduleNameMapper: { - readonly description: string; - readonly type: "string"; - }; - readonly modulePathIgnorePatterns: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly modulePaths: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly noStackTrace: { - readonly description: "Disables stack trace in test results output"; - readonly type: "boolean"; - }; - readonly notify: { - readonly description: "Activates notifications for test results."; - readonly type: "boolean"; - }; - readonly notifyMode: { - readonly description: "Specifies when notifications will appear for test results."; - readonly type: "string"; - }; - readonly onlyChanged: { - readonly alias: "o"; - readonly description: string; - readonly type: "boolean"; - }; - readonly onlyFailures: { - readonly alias: "f"; - readonly description: "Run tests that failed in the previous execution."; - readonly type: "boolean"; - }; - readonly outputFile: { - readonly description: string; - readonly type: "string"; - }; - readonly passWithNoTests: { - readonly description: "Will not fail if no tests are found (for example while using `--testPathPattern`.)"; - readonly type: "boolean"; - }; - readonly preset: { - readonly description: "A preset that is used as a base for Jest's configuration."; - readonly type: "string"; - }; - readonly prettierPath: { - readonly description: "The path to the \"prettier\" module used for inline snapshots."; - readonly type: "string"; - }; - readonly projects: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly reporters: { - readonly description: "A list of custom reporters for the test suite."; - readonly string: true; - readonly type: "array"; - }; - readonly resetMocks: { - readonly description: string; - readonly type: "boolean"; - }; - readonly resetModules: { - readonly description: string; - readonly type: "boolean"; - }; - readonly resolver: { - readonly description: "A JSON string which allows the use of a custom resolver."; - readonly type: "string"; - }; - readonly restoreMocks: { - readonly description: string; - readonly type: "boolean"; - }; - readonly rootDir: { - readonly description: string; - readonly type: "string"; - }; - readonly roots: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly runInBand: { - readonly alias: "i"; - readonly description: string; - readonly type: "boolean"; - }; - readonly runTestsByPath: { - readonly description: string; - readonly type: "boolean"; - }; - readonly runner: { - readonly description: "Allows to use a custom runner instead of Jest's default test runner."; - readonly type: "string"; - }; - readonly selectProjects: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly setupFiles: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly setupFilesAfterEnv: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly showConfig: { - readonly description: "Print your jest config and then exits."; - readonly type: "boolean"; - }; - readonly silent: { - readonly description: "Prevent tests from printing messages through the console."; - readonly type: "boolean"; - }; - readonly skipFilter: { - readonly description: string; - readonly type: "boolean"; - }; - readonly snapshotSerializers: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly testEnvironment: { - readonly description: "Alias for --env"; - readonly type: "string"; - }; - readonly testEnvironmentOptions: { - readonly description: string; - readonly type: "string"; - }; - readonly testFailureExitCode: { - readonly description: "Exit code of `jest` command if the test run failed"; - readonly type: "string"; - }; - readonly testLocationInResults: { - readonly description: "Add `location` information to the test results"; - readonly type: "boolean"; - }; - readonly testMatch: { - readonly description: "The glob patterns Jest uses to detect test files."; - readonly string: true; - readonly type: "array"; - }; - readonly testNamePattern: { - readonly alias: "t"; - readonly description: "Run only tests with a name that matches the regex pattern."; - readonly type: "string"; - }; - readonly testPathIgnorePatterns: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly testPathPattern: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly testRegex: { - readonly description: "A string or array of string regexp patterns that Jest uses to detect test files."; - readonly string: true; - readonly type: "array"; - }; - readonly testResultsProcessor: { - readonly description: string; - readonly type: "string"; - }; - readonly testRunner: { - readonly description: string; - readonly type: "string"; - }; - readonly testSequencer: { - readonly description: string; - readonly type: "string"; - }; - readonly testTimeout: { - readonly description: "This option sets the default timeouts of test cases."; - readonly type: "number"; - }; - readonly testURL: { - readonly description: "This option sets the URL for the jsdom environment."; - readonly type: "string"; - }; - readonly timers: { - readonly description: string; - readonly type: "string"; - }; - readonly transform: { - readonly description: string; - readonly type: "string"; - }; - readonly transformIgnorePatterns: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly unmockedModulePathPatterns: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly updateSnapshot: { - readonly alias: "u"; - readonly description: string; - readonly type: "boolean"; - }; - readonly useStderr: { - readonly description: "Divert all output to stderr."; - readonly type: "boolean"; - }; - readonly verbose: { - readonly description: "Display individual test results with the test suite hierarchy."; - readonly type: "boolean"; - }; - readonly version: { - readonly alias: "v"; - readonly description: "Print the version and exit"; - readonly type: "boolean"; - }; - readonly watch: { - readonly description: string; - readonly type: "boolean"; - }; - readonly watchAll: { - readonly description: string; - readonly type: "boolean"; - }; - readonly watchPathIgnorePatterns: { - readonly description: string; - readonly string: true; - readonly type: "array"; - }; - readonly watchman: { - readonly description: string; - readonly type: "boolean"; - }; -}; diff --git a/node_modules/jest-cli/build/cli/args.js b/node_modules/jest-cli/build/cli/args.js deleted file mode 100644 index fac8d87..0000000 --- a/node_modules/jest-cli/build/cli/args.js +++ /dev/null @@ -1,710 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.check = check; -exports.usage = exports.options = exports.docs = void 0; - -function _jestConfig() { - const data = require('jest-config'); - - _jestConfig = function () { - return data; - }; - - return data; -} - -/** - * 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 check(argv) { - if (argv.runInBand && argv.hasOwnProperty('maxWorkers')) { - throw new Error( - 'Both --runInBand and --maxWorkers were specified, but these two ' + - 'options do not make sense together. Which is it?' - ); - } - - for (const key of [ - 'onlyChanged', - 'lastCommit', - 'changedFilesWithAncestor', - 'changedSince' - ]) { - if (argv[key] && argv.watchAll) { - throw new Error( - `Both --${key} and --watchAll were specified, but these two ` + - 'options do not make sense together. Try the --watch option which ' + - 'reruns only tests related to changed files.' - ); - } - } - - if (argv.onlyFailures && argv.watchAll) { - throw new Error( - 'Both --onlyFailures and --watchAll were specified, but these two ' + - 'options do not make sense together.' - ); - } - - if (argv.findRelatedTests && argv._.length === 0) { - throw new Error( - 'The --findRelatedTests option requires file paths to be specified.\n' + - 'Example usage: jest --findRelatedTests ./src/source.js ' + - './src/index.js.' - ); - } - - if (argv.hasOwnProperty('maxWorkers') && argv.maxWorkers === undefined) { - throw new Error( - 'The --maxWorkers (-w) option requires a number or string to be specified.\n' + - 'Example usage: jest --maxWorkers 2\n' + - 'Example usage: jest --maxWorkers 50%\n' + - 'Or did you mean --watch?' - ); - } - - if (argv.selectProjects && argv.selectProjects.length === 0) { - throw new Error( - 'The --selectProjects option requires the name of at least one project to be specified.\n' + - 'Example usage: jest --selectProjects my-first-project my-second-project' - ); - } - - if ( - argv.config && - !(0, _jestConfig().isJSONString)(argv.config) && - !argv.config.match( - new RegExp( - `\\.(${_jestConfig() - .constants.JEST_CONFIG_EXT_ORDER.map(e => e.substring(1)) - .join('|')})$`, - 'i' - ) - ) - ) { - throw new Error( - `The --config option requires a JSON string literal, or a file path with one of these extensions: ${_jestConfig().constants.JEST_CONFIG_EXT_ORDER.join( - ', ' - )}.\nExample usage: jest --config ./jest.config.js` - ); - } - - return true; -} - -const usage = 'Usage: $0 [--config=] [TestPathPattern]'; -exports.usage = usage; -const docs = 'Documentation: https://jestjs.io/'; // The default values are all set in jest-config - -exports.docs = docs; -const options = { - all: { - description: - 'The opposite of `onlyChanged`. If `onlyChanged` is set by ' + - 'default, running jest with `--all` will force Jest to run all tests ' + - 'instead of running only tests related to changed files.', - type: 'boolean' - }, - automock: { - description: 'Automock all files by default.', - type: 'boolean' - }, - bail: { - alias: 'b', - description: - 'Exit the test suite immediately after `n` number of failing tests.', - type: 'boolean' - }, - cache: { - description: - 'Whether to use the transform cache. Disable the cache ' + - 'using --no-cache.', - type: 'boolean' - }, - cacheDirectory: { - description: - 'The directory where Jest should store its cached ' + - ' dependency information.', - type: 'string' - }, - changedFilesWithAncestor: { - description: - 'Runs tests related to the current changes and the changes made in the ' + - 'last commit. Behaves similarly to `--onlyChanged`.', - type: 'boolean' - }, - changedSince: { - description: - 'Runs tests related to the changes since the provided branch. If the ' + - 'current branch has diverged from the given branch, then only changes ' + - 'made locally will be tested. Behaves similarly to `--onlyChanged`.', - nargs: 1, - type: 'string' - }, - ci: { - description: - 'Whether to run Jest in continuous integration (CI) mode. ' + - 'This option is on by default in most popular CI environments. It will ' + - 'prevent snapshots from being written unless explicitly requested.', - type: 'boolean' - }, - clearCache: { - description: - 'Clears the configured Jest cache directory and then exits. ' + - 'Default directory can be found by calling jest --showConfig', - type: 'boolean' - }, - clearMocks: { - description: - 'Automatically clear mock calls, instances and results before every test. ' + - 'Equivalent to calling jest.clearAllMocks() before each test.', - type: 'boolean' - }, - collectCoverage: { - description: 'Alias for --coverage.', - type: 'boolean' - }, - collectCoverageFrom: { - description: - 'A glob pattern relative to matching the files that coverage ' + - 'info needs to be collected from.', - type: 'string' - }, - collectCoverageOnlyFrom: { - description: 'Explicit list of paths coverage will be restricted to.', - string: true, - type: 'array' - }, - color: { - description: - 'Forces test results output color highlighting (even if ' + - 'stdout is not a TTY). Set to false if you would like to have no colors.', - type: 'boolean' - }, - colors: { - description: 'Alias for `--color`.', - type: 'boolean' - }, - config: { - alias: 'c', - description: - 'The path to a jest config file specifying how to find ' + - 'and execute tests. If no rootDir is set in the config, the directory ' + - 'containing the config file is assumed to be the rootDir for the project.' + - 'This can also be a JSON encoded value which Jest will use as configuration.', - type: 'string' - }, - coverage: { - description: - 'Indicates that test coverage information should be ' + - 'collected and reported in the output.', - type: 'boolean' - }, - coverageDirectory: { - description: 'The directory where Jest should output its coverage files.', - type: 'string' - }, - coveragePathIgnorePatterns: { - description: - 'An array of regexp pattern strings that are matched ' + - 'against all file paths before executing the test. If the file path' + - 'matches any of the patterns, coverage information will be skipped.', - string: true, - type: 'array' - }, - coverageProvider: { - choices: ['babel', 'v8'], - description: 'Select between Babel and V8 to collect coverage' - }, - coverageReporters: { - description: - 'A list of reporter names that Jest uses when writing ' + - 'coverage reports. Any istanbul reporter can be used.', - string: true, - type: 'array' - }, - coverageThreshold: { - description: - 'A JSON string with which will be used to configure ' + - 'minimum threshold enforcement for coverage results', - type: 'string' - }, - debug: { - description: 'Print debugging info about your jest config.', - type: 'boolean' - }, - detectLeaks: { - description: - '**EXPERIMENTAL**: Detect memory leaks in tests. After executing a ' + - 'test, it will try to garbage collect the global object used, and fail ' + - 'if it was leaked', - type: 'boolean' - }, - detectOpenHandles: { - description: - 'Print out remaining open handles preventing Jest from exiting at the ' + - 'end of a test run. Implies `runInBand`.', - type: 'boolean' - }, - env: { - description: - 'The test environment used for all tests. This can point to ' + - 'any file or node module. Examples: `jsdom`, `node` or ' + - '`path/to/my-environment.js`', - type: 'string' - }, - errorOnDeprecated: { - description: 'Make calling deprecated APIs throw helpful error messages.', - type: 'boolean' - }, - expand: { - alias: 'e', - description: 'Use this flag to show full diffs instead of a patch.', - type: 'boolean' - }, - filter: { - description: - 'Path to a module exporting a filtering function. This method receives ' + - 'a list of tests which can be manipulated to exclude tests from ' + - 'running. Especially useful when used in conjunction with a testing ' + - 'infrastructure to filter known broken tests.', - type: 'string' - }, - findRelatedTests: { - description: - 'Find related tests for a list of source files that were ' + - 'passed in as arguments. Useful for pre-commit hook integration to run ' + - 'the minimal amount of tests necessary.', - type: 'boolean' - }, - forceExit: { - description: - 'Force Jest to exit after all tests have completed running. ' + - 'This is useful when resources set up by test code cannot be ' + - 'adequately cleaned up.', - type: 'boolean' - }, - globalSetup: { - description: 'The path to a module that runs before All Tests.', - type: 'string' - }, - globalTeardown: { - description: 'The path to a module that runs after All Tests.', - type: 'string' - }, - globals: { - description: - 'A JSON string with map of global variables that need ' + - 'to be available in all test environments.', - type: 'string' - }, - haste: { - description: - 'A JSON string with map of variables for the haste module system', - type: 'string' - }, - init: { - description: 'Generate a basic configuration file', - type: 'boolean' - }, - injectGlobals: { - description: 'Should Jest inject global variables or not', - type: 'boolean' - }, - json: { - description: - 'Prints the test results in JSON. This mode will send all ' + - 'other test output and user messages to stderr.', - type: 'boolean' - }, - lastCommit: { - description: - 'Run all tests affected by file changes in the last commit made. ' + - 'Behaves similarly to `--onlyChanged`.', - type: 'boolean' - }, - listTests: { - description: - 'Lists all tests Jest will run given the arguments and ' + - 'exits. Most useful in a CI system together with `--findRelatedTests` ' + - 'to determine the tests Jest will run based on specific files', - type: 'boolean' - }, - logHeapUsage: { - description: - 'Logs the heap usage after every test. Useful to debug ' + - 'memory leaks. Use together with `--runInBand` and `--expose-gc` in ' + - 'node.', - type: 'boolean' - }, - maxConcurrency: { - description: - 'Specifies the maximum number of tests that are allowed to run' + - 'concurrently. This only affects tests using `test.concurrent`.', - type: 'number' - }, - maxWorkers: { - alias: 'w', - description: - 'Specifies the maximum number of workers the worker-pool ' + - 'will spawn for running tests. This defaults to the number of the ' + - 'cores available on your machine. (its usually best not to override ' + - 'this default)', - type: 'string' - }, - moduleDirectories: { - description: - 'An array of directory names to be searched recursively ' + - "up from the requiring module's location.", - string: true, - type: 'array' - }, - moduleFileExtensions: { - description: - 'An array of file extensions your modules use. If you ' + - 'require modules without specifying a file extension, these are the ' + - 'extensions Jest will look for. ', - string: true, - type: 'array' - }, - moduleNameMapper: { - description: - 'A JSON string with a map from regular expressions to ' + - 'module names or to arrays of module names that allow to stub ' + - 'out resources, like images or styles with a single module', - type: 'string' - }, - modulePathIgnorePatterns: { - description: - 'An array of regexp pattern strings that are matched ' + - 'against all module paths before those paths are to be considered ' + - '"visible" to the module loader.', - string: true, - type: 'array' - }, - modulePaths: { - description: - 'An alternative API to setting the NODE_PATH env variable, ' + - 'modulePaths is an array of absolute paths to additional locations to ' + - 'search when resolving modules.', - string: true, - type: 'array' - }, - noStackTrace: { - description: 'Disables stack trace in test results output', - type: 'boolean' - }, - notify: { - description: 'Activates notifications for test results.', - type: 'boolean' - }, - notifyMode: { - description: 'Specifies when notifications will appear for test results.', - type: 'string' - }, - onlyChanged: { - alias: 'o', - description: - 'Attempts to identify which tests to run based on which ' + - "files have changed in the current repository. Only works if you're " + - 'running tests in a git or hg repository at the moment.', - type: 'boolean' - }, - onlyFailures: { - alias: 'f', - description: 'Run tests that failed in the previous execution.', - type: 'boolean' - }, - outputFile: { - description: - 'Write test results to a file when the --json option is ' + - 'also specified.', - type: 'string' - }, - passWithNoTests: { - description: - 'Will not fail if no tests are found (for example while using `--testPathPattern`.)', - type: 'boolean' - }, - preset: { - description: "A preset that is used as a base for Jest's configuration.", - type: 'string' - }, - prettierPath: { - description: 'The path to the "prettier" module used for inline snapshots.', - type: 'string' - }, - projects: { - description: - 'A list of projects that use Jest to run all tests of all ' + - 'projects in a single instance of Jest.', - string: true, - type: 'array' - }, - reporters: { - description: 'A list of custom reporters for the test suite.', - string: true, - type: 'array' - }, - resetMocks: { - description: - 'Automatically reset mock state before every test. ' + - 'Equivalent to calling jest.resetAllMocks() before each test.', - type: 'boolean' - }, - resetModules: { - description: - 'If enabled, the module registry for every test file will ' + - 'be reset before running each individual test.', - type: 'boolean' - }, - resolver: { - description: 'A JSON string which allows the use of a custom resolver.', - type: 'string' - }, - restoreMocks: { - description: - 'Automatically restore mock state and implementation before every test. ' + - 'Equivalent to calling jest.restoreAllMocks() before each test.', - type: 'boolean' - }, - rootDir: { - description: - 'The root directory that Jest should scan for tests and ' + - 'modules within.', - type: 'string' - }, - roots: { - description: - 'A list of paths to directories that Jest should use to ' + - 'search for files in.', - string: true, - type: 'array' - }, - runInBand: { - alias: 'i', - description: - 'Run all tests serially in the current process (rather than ' + - 'creating a worker pool of child processes that run tests). This ' + - 'is sometimes useful for debugging, but such use cases are pretty ' + - 'rare.', - type: 'boolean' - }, - runTestsByPath: { - description: - 'Used when provided patterns are exact file paths. This avoids ' + - 'converting them into a regular expression and matching it against ' + - 'every single file.', - type: 'boolean' - }, - runner: { - description: - "Allows to use a custom runner instead of Jest's default test runner.", - type: 'string' - }, - selectProjects: { - description: - 'Run only the tests of the specified projects.' + - 'Jest uses the attribute `displayName` in the configuration to identify each project.', - string: true, - type: 'array' - }, - setupFiles: { - description: - 'A list of paths to modules that run some code to configure or ' + - 'set up the testing environment before each test. ', - string: true, - type: 'array' - }, - setupFilesAfterEnv: { - description: - 'A list of paths to modules that run some code to configure or ' + - 'set up the testing framework before each test ', - string: true, - type: 'array' - }, - showConfig: { - description: 'Print your jest config and then exits.', - type: 'boolean' - }, - silent: { - description: 'Prevent tests from printing messages through the console.', - type: 'boolean' - }, - skipFilter: { - description: - 'Disables the filter provided by --filter. Useful for CI jobs, or ' + - 'local enforcement when fixing tests.', - type: 'boolean' - }, - snapshotSerializers: { - description: - 'A list of paths to snapshot serializer modules Jest should ' + - 'use for snapshot testing.', - string: true, - type: 'array' - }, - testEnvironment: { - description: 'Alias for --env', - type: 'string' - }, - testEnvironmentOptions: { - description: - 'A JSON string with options that will be passed to the `testEnvironment`. ' + - 'The relevant options depend on the environment.', - type: 'string' - }, - testFailureExitCode: { - description: 'Exit code of `jest` command if the test run failed', - type: 'string' // number - }, - testLocationInResults: { - description: 'Add `location` information to the test results', - type: 'boolean' - }, - testMatch: { - description: 'The glob patterns Jest uses to detect test files.', - string: true, - type: 'array' - }, - testNamePattern: { - alias: 't', - description: 'Run only tests with a name that matches the regex pattern.', - type: 'string' - }, - testPathIgnorePatterns: { - description: - 'An array of regexp pattern strings that are matched ' + - 'against all test paths before executing the test. If the test path ' + - 'matches any of the patterns, it will be skipped.', - string: true, - type: 'array' - }, - testPathPattern: { - description: - 'A regexp pattern string that is matched against all tests ' + - 'paths before executing the test.', - string: true, - type: 'array' - }, - testRegex: { - description: - 'A string or array of string regexp patterns that Jest uses to detect test files.', - string: true, - type: 'array' - }, - testResultsProcessor: { - description: - 'Allows the use of a custom results processor. ' + - 'This processor must be a node module that exports ' + - 'a function expecting as the first argument the result object.', - type: 'string' - }, - testRunner: { - description: - 'Allows to specify a custom test runner. The default is' + - ' `jest-circus/runner`. A path to a custom test runner can be provided:' + - ' `/path/to/testRunner.js`.', - type: 'string' - }, - testSequencer: { - description: - 'Allows to specify a custom test sequencer. The default is ' + - '`@jest/test-sequencer`. A path to a custom test sequencer can be ' + - 'provided: `/path/to/testSequencer.js`', - type: 'string' - }, - testTimeout: { - description: 'This option sets the default timeouts of test cases.', - type: 'number' - }, - testURL: { - description: 'This option sets the URL for the jsdom environment.', - type: 'string' - }, - timers: { - description: - 'Setting this value to fake allows the use of fake timers ' + - 'for functions such as setTimeout.', - type: 'string' - }, - transform: { - description: - 'A JSON string which maps from regular expressions to paths ' + - 'to transformers.', - type: 'string' - }, - transformIgnorePatterns: { - description: - 'An array of regexp pattern strings that are matched ' + - 'against all source file paths before transformation.', - string: true, - type: 'array' - }, - unmockedModulePathPatterns: { - description: - 'An array of regexp pattern strings that are matched ' + - 'against all modules before the module loader will automatically ' + - 'return a mock for them.', - string: true, - type: 'array' - }, - updateSnapshot: { - alias: 'u', - description: - 'Use this flag to re-record snapshots. ' + - 'Can be used together with a test suite pattern or with ' + - '`--testNamePattern` to re-record snapshot for test matching ' + - 'the pattern', - type: 'boolean' - }, - useStderr: { - description: 'Divert all output to stderr.', - type: 'boolean' - }, - verbose: { - description: - 'Display individual test results with the test suite hierarchy.', - type: 'boolean' - }, - version: { - alias: 'v', - description: 'Print the version and exit', - type: 'boolean' - }, - watch: { - description: - 'Watch files for changes and rerun tests related to ' + - 'changed files. If you want to re-run all tests when a file has ' + - 'changed, use the `--watchAll` option.', - type: 'boolean' - }, - watchAll: { - description: - 'Watch files for changes and rerun all tests. If you want ' + - 'to re-run only the tests related to the changed files, use the ' + - '`--watch` option.', - type: 'boolean' - }, - watchPathIgnorePatterns: { - description: - 'An array of regexp pattern strings that are matched ' + - 'against all paths before trigger test re-run in watch mode. ' + - 'If the test path matches any of the patterns, it will be skipped.', - string: true, - type: 'array' - }, - watchman: { - description: - 'Whether to use watchman for file crawling. Disable using ' + - '--no-watchman.', - type: 'boolean' - } -}; -exports.options = options; diff --git a/node_modules/jest-cli/build/cli/index.d.ts b/node_modules/jest-cli/build/cli/index.d.ts deleted file mode 100644 index f93e0bf..0000000 --- a/node_modules/jest-cli/build/cli/index.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 type { Config } from '@jest/types'; -export declare function run(maybeArgv?: Array, project?: Config.Path): Promise; -export declare const buildArgv: (maybeArgv?: string[] | undefined) => Config.Argv; diff --git a/node_modules/jest-cli/build/cli/index.js b/node_modules/jest-cli/build/cli/index.js deleted file mode 100644 index fed680b..0000000 --- a/node_modules/jest-cli/build/cli/index.js +++ /dev/null @@ -1,265 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.buildArgv = void 0; -exports.run = run; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function _exit() { - const data = _interopRequireDefault(require('exit')); - - _exit = function () { - return data; - }; - - return data; -} - -function _yargs() { - const data = _interopRequireDefault(require('yargs')); - - _yargs = function () { - return data; - }; - - return data; -} - -function _core() { - const data = require('@jest/core'); - - _core = function () { - return data; - }; - - return data; -} - -function _jestConfig() { - const data = require('jest-config'); - - _jestConfig = function () { - return data; - }; - - return data; -} - -function _jestUtil() { - const data = require('jest-util'); - - _jestUtil = function () { - return data; - }; - - return data; -} - -function _jestValidate() { - const data = require('jest-validate'); - - _jestValidate = function () { - return data; - }; - - return data; -} - -var _init = _interopRequireDefault(require('../init')); - -var args = _interopRequireWildcard(require('./args')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -async function run(maybeArgv, project) { - try { - const argv = buildArgv(maybeArgv); - - if (argv.init) { - await (0, _init.default)(); - return; - } - - const projects = getProjectListFromCLIArgs(argv, project); - const {results, globalConfig} = await (0, _core().runCLI)(argv, projects); - readResultsAndExit(results, globalConfig); - } catch (error) { - (0, _jestUtil().clearLine)(process.stderr); - (0, _jestUtil().clearLine)(process.stdout); - - if (error !== null && error !== void 0 && error.stack) { - console.error(_chalk().default.red(error.stack)); - } else { - console.error(_chalk().default.red(error)); - } - - (0, _exit().default)(1); - throw error; - } -} - -const buildArgv = maybeArgv => { - const version = - (0, _core().getVersion)() + - (__dirname.includes(`packages${path().sep}jest-cli`) ? '-dev' : ''); - const rawArgv = maybeArgv || process.argv.slice(2); - const argv = (0, _yargs().default)(rawArgv) - .usage(args.usage) - .version(version) - .alias('help', 'h') - .options(args.options) - .epilogue(args.docs) - .check(args.check).argv; - (0, _jestValidate().validateCLIOptions)( - argv, - {...args.options, deprecationEntries: _jestConfig().deprecationEntries}, // strip leading dashes - Array.isArray(rawArgv) - ? rawArgv.map(rawArgv => rawArgv.replace(/^--?/, '')) - : Object.keys(rawArgv) - ); // strip dashed args - - return Object.keys(argv).reduce( - (result, key) => { - if (!key.includes('-')) { - result[key] = argv[key]; - } - - return result; - }, - { - $0: argv.$0, - _: argv._ - } - ); -}; - -exports.buildArgv = buildArgv; - -const getProjectListFromCLIArgs = (argv, project) => { - const projects = argv.projects ? argv.projects : []; - - if (project) { - projects.push(project); - } - - if (!projects.length && process.platform === 'win32') { - try { - projects.push((0, _jestUtil().tryRealpath)(process.cwd())); - } catch { - // do nothing, just catch error - // process.binding('fs').realpath can throw, e.g. on mapped drives - } - } - - if (!projects.length) { - projects.push(process.cwd()); - } - - return projects; -}; - -const readResultsAndExit = (result, globalConfig) => { - const code = !result || result.success ? 0 : globalConfig.testFailureExitCode; // Only exit if needed - - process.on('exit', () => { - if (typeof code === 'number' && code !== 0) { - process.exitCode = code; - } - }); - - if (globalConfig.forceExit) { - if (!globalConfig.detectOpenHandles) { - console.warn( - _chalk().default.bold('Force exiting Jest: ') + - 'Have you considered using `--detectOpenHandles` to detect ' + - 'async operations that kept running after all tests finished?' - ); - } - - (0, _exit().default)(code); - } else if (!globalConfig.detectOpenHandles) { - setTimeout(() => { - console.warn( - _chalk().default.yellow.bold( - 'Jest did not exit one second after the test run has completed.\n\n' - ) + - _chalk().default.yellow( - 'This usually means that there are asynchronous operations that ' + - "weren't stopped in your tests. Consider running Jest with " + - '`--detectOpenHandles` to troubleshoot this issue.' - ) - ); - }, 1000).unref(); - } -}; diff --git a/node_modules/jest-cli/build/index.d.ts b/node_modules/jest-cli/build/index.d.ts deleted file mode 100644 index 00cb5fe..0000000 --- a/node_modules/jest-cli/build/index.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 { run } from './cli'; diff --git a/node_modules/jest-cli/build/index.js b/node_modules/jest-cli/build/index.js deleted file mode 100644 index fdfb92e..0000000 --- a/node_modules/jest-cli/build/index.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -Object.defineProperty(exports, 'run', { - enumerable: true, - get: function () { - return _cli.run; - } -}); - -var _cli = require('./cli'); diff --git a/node_modules/jest-cli/build/init/errors.d.ts b/node_modules/jest-cli/build/init/errors.d.ts deleted file mode 100644 index 426fdc0..0000000 --- a/node_modules/jest-cli/build/init/errors.d.ts +++ /dev/null @@ -1,12 +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 class NotFoundPackageJsonError extends Error { - constructor(rootDir: string); -} -export declare class MalformedPackageJsonError extends Error { - constructor(packageJsonPath: string); -} diff --git a/node_modules/jest-cli/build/init/errors.js b/node_modules/jest-cli/build/init/errors.js deleted file mode 100644 index 5059519..0000000 --- a/node_modules/jest-cli/build/init/errors.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.NotFoundPackageJsonError = exports.MalformedPackageJsonError = void 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. - */ -class NotFoundPackageJsonError extends Error { - constructor(rootDir) { - super(`Could not find a "package.json" file in ${rootDir}`); - this.name = ''; - Error.captureStackTrace(this, () => {}); - } -} - -exports.NotFoundPackageJsonError = NotFoundPackageJsonError; - -class MalformedPackageJsonError extends Error { - constructor(packageJsonPath) { - super( - `There is malformed json in ${packageJsonPath}\n` + - 'Fix it, and then run "jest --init"' - ); - this.name = ''; - Error.captureStackTrace(this, () => {}); - } -} - -exports.MalformedPackageJsonError = MalformedPackageJsonError; diff --git a/node_modules/jest-cli/build/init/generateConfigFile.d.ts b/node_modules/jest-cli/build/init/generateConfigFile.d.ts deleted file mode 100644 index c5afd8d..0000000 --- a/node_modules/jest-cli/build/init/generateConfigFile.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. - */ -declare const generateConfigFile: (results: Record, generateEsm?: boolean) => string; -export default generateConfigFile; diff --git a/node_modules/jest-cli/build/init/generateConfigFile.js b/node_modules/jest-cli/build/init/generateConfigFile.js deleted file mode 100644 index 773e692..0000000 --- a/node_modules/jest-cli/build/init/generateConfigFile.js +++ /dev/null @@ -1,104 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -function _jestConfig() { - const data = require('jest-config'); - - _jestConfig = function () { - return data; - }; - - return data; -} - -/** - * 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 stringifyOption = (option, map, linePrefix = '') => { - const optionDescription = ` // ${_jestConfig().descriptions[option]}`; - const stringifiedObject = `${option}: ${JSON.stringify( - map[option], - null, - 2 - )}`; - return ( - optionDescription + - '\n' + - stringifiedObject - .split('\n') - .map(line => ' ' + linePrefix + line) - .join('\n') + - ',\n' - ); -}; - -const generateConfigFile = (results, generateEsm = false) => { - const {useTypescript, coverage, coverageProvider, clearMocks, environment} = - results; - const overrides = {}; - - if (coverage) { - Object.assign(overrides, { - collectCoverage: true, - coverageDirectory: 'coverage' - }); - } - - if (coverageProvider === 'v8') { - Object.assign(overrides, { - coverageProvider: 'v8' - }); - } - - if (environment === 'jsdom') { - Object.assign(overrides, { - testEnvironment: 'jsdom' - }); - } - - if (clearMocks) { - Object.assign(overrides, { - clearMocks: true - }); - } - - const overrideKeys = Object.keys(overrides); - const properties = []; - - for (const option in _jestConfig().descriptions) { - const opt = option; - - if (overrideKeys.includes(opt)) { - properties.push(stringifyOption(opt, overrides)); - } else { - properties.push(stringifyOption(opt, _jestConfig().defaults, '// ')); - } - } - - const configHeaderMessage = `/* - * For a detailed explanation regarding each configuration property${ - useTypescript ? ' and type check' : '' - }, visit: - * https://jestjs.io/docs/configuration - */ - -`; - return ( - configHeaderMessage + - (useTypescript || generateEsm - ? 'export default {\n' - : 'module.exports = {\n') + - properties.join('\n') + - '};\n' - ); -}; - -var _default = generateConfigFile; -exports.default = _default; diff --git a/node_modules/jest-cli/build/init/index.d.ts b/node_modules/jest-cli/build/init/index.d.ts deleted file mode 100644 index a412b5a..0000000 --- a/node_modules/jest-cli/build/init/index.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 init(rootDir?: string): Promise; diff --git a/node_modules/jest-cli/build/init/index.js b/node_modules/jest-cli/build/init/index.js deleted file mode 100644 index 839c659..0000000 --- a/node_modules/jest-cli/build/init/index.js +++ /dev/null @@ -1,246 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = init; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function fs() { - const data = _interopRequireWildcard(require('graceful-fs')); - - fs = function () { - return data; - }; - - return data; -} - -function _prompts() { - const data = _interopRequireDefault(require('prompts')); - - _prompts = function () { - return data; - }; - - return data; -} - -function _jestConfig() { - const data = require('jest-config'); - - _jestConfig = function () { - return data; - }; - - return data; -} - -function _jestUtil() { - const data = require('jest-util'); - - _jestUtil = function () { - return data; - }; - - return data; -} - -var _errors = require('./errors'); - -var _generateConfigFile = _interopRequireDefault( - require('./generateConfigFile') -); - -var _modifyPackageJson = _interopRequireDefault(require('./modifyPackageJson')); - -var _questions = _interopRequireWildcard(require('./questions')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -const { - JEST_CONFIG_BASE_NAME, - JEST_CONFIG_EXT_MJS, - JEST_CONFIG_EXT_JS, - JEST_CONFIG_EXT_TS, - JEST_CONFIG_EXT_ORDER, - PACKAGE_JSON -} = _jestConfig().constants; - -const getConfigFilename = ext => JEST_CONFIG_BASE_NAME + ext; - -async function init(rootDir = (0, _jestUtil().tryRealpath)(process.cwd())) { - // prerequisite checks - const projectPackageJsonPath = path().join(rootDir, PACKAGE_JSON); - - if (!fs().existsSync(projectPackageJsonPath)) { - throw new _errors.NotFoundPackageJsonError(rootDir); - } - - const questions = _questions.default.slice(0); - - let hasJestProperty = false; - let projectPackageJson; - - try { - projectPackageJson = JSON.parse( - fs().readFileSync(projectPackageJsonPath, 'utf-8') - ); - } catch { - throw new _errors.MalformedPackageJsonError(projectPackageJsonPath); - } - - if (projectPackageJson.jest) { - hasJestProperty = true; - } - - const existingJestConfigExt = JEST_CONFIG_EXT_ORDER.find(ext => - fs().existsSync(path().join(rootDir, getConfigFilename(ext))) - ); - - if (hasJestProperty || existingJestConfigExt) { - const result = await (0, _prompts().default)({ - initial: true, - message: - 'It seems that you already have a jest configuration, do you want to override it?', - name: 'continue', - type: 'confirm' - }); - - if (!result.continue) { - console.log(); - console.log('Aborting...'); - return; - } - } // Add test script installation only if needed - - if ( - !projectPackageJson.scripts || - projectPackageJson.scripts.test !== 'jest' - ) { - questions.unshift(_questions.testScriptQuestion); - } // Start the init process - - console.log(); - console.log( - _chalk().default.underline( - 'The following questions will help Jest to create a suitable configuration for your project\n' - ) - ); - let promptAborted = false; // @ts-expect-error: Return type cannot be object - faulty typings - - const results = await (0, _prompts().default)(questions, { - onCancel: () => { - promptAborted = true; - } - }); - - if (promptAborted) { - console.log(); - console.log('Aborting...'); - return; - } // Determine if Jest should use JS or TS for the config file - - const jestConfigFileExt = results.useTypescript - ? JEST_CONFIG_EXT_TS - : projectPackageJson.type === 'module' - ? JEST_CONFIG_EXT_MJS - : JEST_CONFIG_EXT_JS; // Determine Jest config path - - const jestConfigPath = existingJestConfigExt - ? getConfigFilename(existingJestConfigExt) - : path().join(rootDir, getConfigFilename(jestConfigFileExt)); - const shouldModifyScripts = results.scripts; - - if (shouldModifyScripts || hasJestProperty) { - const modifiedPackageJson = (0, _modifyPackageJson.default)({ - projectPackageJson, - shouldModifyScripts - }); - fs().writeFileSync(projectPackageJsonPath, modifiedPackageJson); - console.log(''); - console.log( - `✏️ Modified ${_chalk().default.cyan(projectPackageJsonPath)}` - ); - } - - const generatedConfig = (0, _generateConfigFile.default)( - results, - projectPackageJson.type === 'module' || - jestConfigPath.endsWith(JEST_CONFIG_EXT_MJS) - ); - fs().writeFileSync(jestConfigPath, generatedConfig); - console.log(''); - console.log( - `📝 Configuration file created at ${_chalk().default.cyan(jestConfigPath)}` - ); -} diff --git a/node_modules/jest-cli/build/init/modifyPackageJson.d.ts b/node_modules/jest-cli/build/init/modifyPackageJson.d.ts deleted file mode 100644 index 30e92fe..0000000 --- a/node_modules/jest-cli/build/init/modifyPackageJson.d.ts +++ /dev/null @@ -1,12 +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 { ProjectPackageJson } from './types'; -declare const modifyPackageJson: ({ projectPackageJson, shouldModifyScripts, }: { - projectPackageJson: ProjectPackageJson; - shouldModifyScripts: boolean; -}) => string; -export default modifyPackageJson; diff --git a/node_modules/jest-cli/build/init/modifyPackageJson.js b/node_modules/jest-cli/build/init/modifyPackageJson.js deleted file mode 100644 index 526b485..0000000 --- a/node_modules/jest-cli/build/init/modifyPackageJson.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 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. - */ -const modifyPackageJson = ({projectPackageJson, shouldModifyScripts}) => { - if (shouldModifyScripts) { - projectPackageJson.scripts - ? (projectPackageJson.scripts.test = 'jest') - : (projectPackageJson.scripts = { - test: 'jest' - }); - } - - delete projectPackageJson.jest; - return JSON.stringify(projectPackageJson, null, 2) + '\n'; -}; - -var _default = modifyPackageJson; -exports.default = _default; diff --git a/node_modules/jest-cli/build/init/questions.d.ts b/node_modules/jest-cli/build/init/questions.d.ts deleted file mode 100644 index 4d261ad..0000000 --- a/node_modules/jest-cli/build/init/questions.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 type { PromptObject } from 'prompts'; -declare const defaultQuestions: Array; -export default defaultQuestions; -export declare const testScriptQuestion: PromptObject; diff --git a/node_modules/jest-cli/build/init/questions.js b/node_modules/jest-cli/build/init/questions.js deleted file mode 100644 index 42fc582..0000000 --- a/node_modules/jest-cli/build/init/questions.js +++ /dev/null @@ -1,76 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.testScriptQuestion = exports.default = void 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. - */ -const defaultQuestions = [ - { - initial: false, - message: 'Would you like to use Typescript for the configuration file?', - name: 'useTypescript', - type: 'confirm' - }, - { - choices: [ - { - title: 'node', - value: 'node' - }, - { - title: 'jsdom (browser-like)', - value: 'jsdom' - } - ], - initial: 0, - message: 'Choose the test environment that will be used for testing', - name: 'environment', - type: 'select' - }, - { - initial: false, - message: 'Do you want Jest to add coverage reports?', - name: 'coverage', - type: 'confirm' - }, - { - choices: [ - { - title: 'v8', - value: 'v8' - }, - { - title: 'babel', - value: 'babel' - } - ], - initial: 0, - message: 'Which provider should be used to instrument code for coverage?', - name: 'coverageProvider', - type: 'select' - }, - { - initial: false, - message: - 'Automatically clear mock calls, instances and results before every test?', - name: 'clearMocks', - type: 'confirm' - } -]; -var _default = defaultQuestions; -exports.default = _default; -const testScriptQuestion = { - initial: true, - message: - 'Would you like to use Jest when running "test" script in "package.json"?', - name: 'scripts', - type: 'confirm' -}; -exports.testScriptQuestion = testScriptQuestion; diff --git a/node_modules/jest-cli/build/init/types.d.ts b/node_modules/jest-cli/build/init/types.d.ts deleted file mode 100644 index 5b5a340..0000000 --- a/node_modules/jest-cli/build/init/types.d.ts +++ /dev/null @@ -1,12 +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 } from '@jest/types'; -export declare type ProjectPackageJson = { - jest?: Partial; - scripts?: Record; - type?: 'commonjs' | 'module'; -}; diff --git a/node_modules/jest-cli/build/init/types.js b/node_modules/jest-cli/build/init/types.js deleted file mode 100644 index ad9a93a..0000000 --- a/node_modules/jest-cli/build/init/types.js +++ /dev/null @@ -1 +0,0 @@ -'use strict'; diff --git a/node_modules/jest-cli/node_modules/.bin/import-local-fixture b/node_modules/jest-cli/node_modules/.bin/import-local-fixture deleted file mode 120000 index 653f8d9..0000000 --- a/node_modules/jest-cli/node_modules/.bin/import-local-fixture +++ /dev/null @@ -1 +0,0 @@ -../../../import-local/fixtures/cli.js \ No newline at end of file diff --git a/node_modules/jest-cli/package.json b/node_modules/jest-cli/package.json deleted file mode 100644 index 519ac1f..0000000 --- a/node_modules/jest-cli/package.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "name": "jest-cli", - "description": "Delightful JavaScript Testing.", - "version": "27.5.1", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json", - "./bin/jest": "./bin/jest.js" - }, - "dependencies": { - "@jest/core": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "import-local": "^3.0.2", - "jest-config": "^27.5.1", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "prompts": "^2.0.1", - "yargs": "^16.2.0" - }, - "devDependencies": { - "@types/exit": "^0.1.30", - "@types/graceful-fs": "^4.1.3", - "@types/prompts": "^2.0.1", - "@types/yargs": "^16.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - }, - "bin": { - "jest": "./bin/jest.js" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest", - "directory": "packages/jest-cli" - }, - "bugs": { - "url": "https://github.com/facebook/jest/issues" - }, - "homepage": "https://jestjs.io/", - "license": "MIT", - "keywords": [ - "ava", - "babel", - "coverage", - "easy", - "expect", - "facebook", - "immersive", - "instant", - "jasmine", - "jest", - "jsdom", - "mocha", - "mocking", - "painless", - "qunit", - "runner", - "sandboxed", - "snapshot", - "tap", - "tape", - "test", - "testing", - "typescript", - "watch" - ], - "publishConfig": { - "access": "public" - }, - "gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" -} diff --git a/node_modules/jest-config/LICENSE b/node_modules/jest-config/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-config/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/build/Defaults.d.ts b/node_modules/jest-config/build/Defaults.d.ts deleted file mode 100644 index 8a26ee6..0000000 --- a/node_modules/jest-config/build/Defaults.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 type { Config } from '@jest/types'; -declare const defaultOptions: Config.DefaultOptions; -export default defaultOptions; diff --git a/node_modules/jest-config/build/Defaults.js b/node_modules/jest-config/build/Defaults.js deleted file mode 100644 index 988fd9f..0000000 --- a/node_modules/jest-config/build/Defaults.js +++ /dev/null @@ -1,125 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -function _path() { - const data = require('path'); - - _path = function () { - return data; - }; - - return data; -} - -function _ciInfo() { - const data = require('ci-info'); - - _ciInfo = function () { - return data; - }; - - return data; -} - -function _jestRegexUtil() { - const data = require('jest-regex-util'); - - _jestRegexUtil = function () { - return data; - }; - - return data; -} - -var _constants = require('./constants'); - -var _getCacheDirectory = _interopRequireDefault(require('./getCacheDirectory')); - -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 NODE_MODULES_REGEXP = (0, _jestRegexUtil().replacePathSepForRegex)( - _constants.NODE_MODULES -); -const defaultOptions = { - automock: false, - bail: 0, - cache: true, - cacheDirectory: (0, _getCacheDirectory.default)(), - changedFilesWithAncestor: false, - ci: _ciInfo().isCI, - clearMocks: false, - collectCoverage: false, - coveragePathIgnorePatterns: [NODE_MODULES_REGEXP], - coverageProvider: 'babel', - coverageReporters: ['json', 'text', 'lcov', 'clover'], - detectLeaks: false, - detectOpenHandles: false, - errorOnDeprecated: false, - expand: false, - extensionsToTreatAsEsm: [], - forceCoverageMatch: [], - globals: {}, - haste: { - computeSha1: false, - enableSymlinks: false, - forceNodeFilesystemAPI: false, - throwOnModuleCollision: false - }, - injectGlobals: true, - listTests: false, - maxConcurrency: 5, - maxWorkers: '50%', - moduleDirectories: ['node_modules'], - moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json', 'node'], - moduleNameMapper: {}, - modulePathIgnorePatterns: [], - noStackTrace: false, - notify: false, - notifyMode: 'failure-change', - passWithNoTests: false, - prettierPath: 'prettier', - resetMocks: false, - resetModules: false, - restoreMocks: false, - roots: [''], - runTestsByPath: false, - runner: 'jest-runner', - setupFiles: [], - setupFilesAfterEnv: [], - skipFilter: false, - slowTestThreshold: 5, - snapshotSerializers: [], - testEnvironment: 'jest-environment-node', - testEnvironmentOptions: {}, - testFailureExitCode: 1, - testLocationInResults: false, - testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[tj]s?(x)'], - testPathIgnorePatterns: [NODE_MODULES_REGEXP], - testRegex: [], - testRunner: 'jest-circus/runner', - testSequencer: '@jest/test-sequencer', - testURL: 'http://localhost', - timers: 'real', - transformIgnorePatterns: [ - NODE_MODULES_REGEXP, - `\\.pnp\\.[^\\${_path().sep}]+$` - ], - useStderr: false, - watch: false, - watchPathIgnorePatterns: [], - watchman: true -}; -var _default = defaultOptions; -exports.default = _default; diff --git a/node_modules/jest-config/build/Deprecated.d.ts b/node_modules/jest-config/build/Deprecated.d.ts deleted file mode 100644 index 4c05472..0000000 --- a/node_modules/jest-config/build/Deprecated.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 type { DeprecatedOptions } from 'jest-validate'; -declare const deprecatedOptions: DeprecatedOptions; -export default deprecatedOptions; diff --git a/node_modules/jest-config/build/Deprecated.js b/node_modules/jest-config/build/Deprecated.js deleted file mode 100644 index 1ba4fc1..0000000 --- a/node_modules/jest-config/build/Deprecated.js +++ /dev/null @@ -1,98 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function _prettyFormat() { - const data = require('pretty-format'); - - _prettyFormat = function () { - return data; - }; - - return data; -} - -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 format = value => - (0, _prettyFormat().format)(value, { - min: true - }); - -const deprecatedOptions = { - browser: () => - ` Option ${_chalk().default.bold( - '"browser"' - )} has been deprecated. Please install "browser-resolve" and use the "resolver" option in Jest configuration as shown in the documentation: https://jestjs.io/docs/configuration#resolver-string`, - preprocessorIgnorePatterns: options => ` Option ${_chalk().default.bold( - '"preprocessorIgnorePatterns"' - )} was replaced by ${_chalk().default.bold( - '"transformIgnorePatterns"' - )}, which support multiple preprocessors. - - Jest now treats your current configuration as: - { - ${_chalk().default.bold( - '"transformIgnorePatterns"' - )}: ${_chalk().default.bold(format(options.preprocessorIgnorePatterns))} - } - - Please update your configuration.`, - scriptPreprocessor: options => ` Option ${_chalk().default.bold( - '"scriptPreprocessor"' - )} was replaced by ${_chalk().default.bold( - '"transform"' - )}, which support multiple preprocessors. - - Jest now treats your current configuration as: - { - ${_chalk().default.bold('"transform"')}: ${_chalk().default.bold( - `{".*": ${format(options.scriptPreprocessor)}}` - )} - } - - Please update your configuration.`, - setupTestFrameworkScriptFile: _options => ` Option ${_chalk().default.bold( - '"setupTestFrameworkScriptFile"' - )} was replaced by configuration ${_chalk().default.bold( - '"setupFilesAfterEnv"' - )}, which supports multiple paths. - - Please update your configuration.`, - testPathDirs: options => ` Option ${_chalk().default.bold( - '"testPathDirs"' - )} was replaced by ${_chalk().default.bold('"roots"')}. - - Jest now treats your current configuration as: - { - ${_chalk().default.bold('"roots"')}: ${_chalk().default.bold( - format(options.testPathDirs) - )} - } - - Please update your configuration. - ` -}; -var _default = deprecatedOptions; -exports.default = _default; diff --git a/node_modules/jest-config/build/Descriptions.d.ts b/node_modules/jest-config/build/Descriptions.d.ts deleted file mode 100644 index acf6e3b..0000000 --- a/node_modules/jest-config/build/Descriptions.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 { Config } from '@jest/types'; -declare const descriptions: { - [key in keyof Config.InitialOptions]: string; -}; -export default descriptions; diff --git a/node_modules/jest-config/build/Descriptions.js b/node_modules/jest-config/build/Descriptions.js deleted file mode 100644 index 1c05241..0000000 --- a/node_modules/jest-config/build/Descriptions.js +++ /dev/null @@ -1,107 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 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. - */ -const descriptions = { - automock: 'All imported modules in your tests should be mocked automatically', - bail: 'Stop running tests after `n` failures', - cacheDirectory: - 'The directory where Jest should store its cached dependency information', - clearMocks: - 'Automatically clear mock calls, instances and results before every test', - collectCoverage: - 'Indicates whether the coverage information should be collected while executing the test', - collectCoverageFrom: - 'An array of glob patterns indicating a set of files for which coverage information should be collected', - coverageDirectory: - 'The directory where Jest should output its coverage files', - coveragePathIgnorePatterns: - 'An array of regexp pattern strings used to skip coverage collection', - coverageProvider: - 'Indicates which provider should be used to instrument code for coverage', - coverageReporters: - 'A list of reporter names that Jest uses when writing coverage reports', - coverageThreshold: - 'An object that configures minimum threshold enforcement for coverage results', - dependencyExtractor: 'A path to a custom dependency extractor', - errorOnDeprecated: - 'Make calling deprecated APIs throw helpful error messages', - forceCoverageMatch: - 'Force coverage collection from ignored files using an array of glob patterns', - globalSetup: - 'A path to a module which exports an async function that is triggered once before all test suites', - globalTeardown: - 'A path to a module which exports an async function that is triggered once after all test suites', - globals: - 'A set of global variables that need to be available in all test environments', - maxWorkers: - 'The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.', - moduleDirectories: - "An array of directory names to be searched recursively up from the requiring module's location", - moduleFileExtensions: 'An array of file extensions your modules use', - moduleNameMapper: - 'A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module', - modulePathIgnorePatterns: - "An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader", - notify: 'Activates notifications for test results', - notifyMode: - 'An enum that specifies notification mode. Requires { notify: true }', - preset: "A preset that is used as a base for Jest's configuration", - projects: 'Run tests from one or more projects', - reporters: 'Use this configuration option to add custom reporters to Jest', - resetMocks: 'Automatically reset mock state before every test', - resetModules: 'Reset the module registry before running each individual test', - resolver: 'A path to a custom resolver', - restoreMocks: - 'Automatically restore mock state and implementation before every test', - rootDir: - 'The root directory that Jest should scan for tests and modules within', - roots: - 'A list of paths to directories that Jest should use to search for files in', - runner: - "Allows you to use a custom runner instead of Jest's default test runner", - setupFiles: - 'The paths to modules that run some code to configure or set up the testing environment before each test', - setupFilesAfterEnv: - 'A list of paths to modules that run some code to configure or set up the testing framework before each test', - slowTestThreshold: - 'The number of seconds after which a test is considered as slow and reported as such in the results.', - snapshotSerializers: - 'A list of paths to snapshot serializer modules Jest should use for snapshot testing', - testEnvironment: 'The test environment that will be used for testing', - testEnvironmentOptions: 'Options that will be passed to the testEnvironment', - testLocationInResults: 'Adds a location field to test results', - testMatch: 'The glob patterns Jest uses to detect test files', - testPathIgnorePatterns: - 'An array of regexp pattern strings that are matched against all test paths, matched tests are skipped', - testRegex: - 'The regexp pattern or array of patterns that Jest uses to detect test files', - testResultsProcessor: - 'This option allows the use of a custom results processor', - testRunner: 'This option allows use of a custom test runner', - testURL: - 'This option sets the URL for the jsdom environment. It is reflected in properties such as location.href', - timers: - 'Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"', - transform: 'A map from regular expressions to paths to transformers', - transformIgnorePatterns: - 'An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation', - unmockedModulePathPatterns: - 'An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them', - verbose: - 'Indicates whether each individual test should be reported during the run', - watchPathIgnorePatterns: - 'An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode', - watchman: 'Whether to use watchman for file crawling' -}; -var _default = descriptions; -exports.default = _default; diff --git a/node_modules/jest-config/build/ReporterValidationErrors.d.ts b/node_modules/jest-config/build/ReporterValidationErrors.d.ts deleted file mode 100644 index 642fdae..0000000 --- a/node_modules/jest-config/build/ReporterValidationErrors.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. - */ -import type { Config } from '@jest/types'; -import { ValidationError } from 'jest-validate'; -/** - * Reporter Validation Error is thrown if the given arguments - * within the reporter are not valid. - * - * This is a highly specific reporter error and in the future will be - * merged with jest-validate. Till then, we can make use of it. It works - * and that's what counts most at this time. - */ -export declare function createReporterError(reporterIndex: number, reporterValue: Array | string): ValidationError; -export declare function createArrayReporterError(arrayReporter: Config.ReporterConfig, reporterIndex: number, valueIndex: number, value: string | Record, expectedType: string, valueName: string): ValidationError; -export declare function validateReporters(reporterConfig: Array): boolean; diff --git a/node_modules/jest-config/build/ReporterValidationErrors.js b/node_modules/jest-config/build/ReporterValidationErrors.js deleted file mode 100644 index 9e576e6..0000000 --- a/node_modules/jest-config/build/ReporterValidationErrors.js +++ /dev/null @@ -1,138 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.createArrayReporterError = createArrayReporterError; -exports.createReporterError = createReporterError; -exports.validateReporters = validateReporters; - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function _jestGetType() { - const data = require('jest-get-type'); - - _jestGetType = function () { - return data; - }; - - return data; -} - -function _jestValidate() { - const data = require('jest-validate'); - - _jestValidate = function () { - return data; - }; - - return data; -} - -var _utils = require('./utils'); - -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 validReporterTypes = ['array', 'string']; -const ERROR = `${_utils.BULLET}Reporter Validation Error`; -/** - * Reporter Validation Error is thrown if the given arguments - * within the reporter are not valid. - * - * This is a highly specific reporter error and in the future will be - * merged with jest-validate. Till then, we can make use of it. It works - * and that's what counts most at this time. - */ - -function createReporterError(reporterIndex, reporterValue) { - const errorMessage = - ` Reporter at index ${reporterIndex} must be of type:\n` + - ` ${_chalk().default.bold.green(validReporterTypes.join(' or '))}\n` + - ' but instead received:\n' + - ` ${_chalk().default.bold.red( - (0, _jestGetType().getType)(reporterValue) - )}`; - return new (_jestValidate().ValidationError)( - ERROR, - errorMessage, - _utils.DOCUMENTATION_NOTE - ); -} - -function createArrayReporterError( - arrayReporter, - reporterIndex, - valueIndex, - value, - expectedType, - valueName -) { - const errorMessage = - ` Unexpected value for ${valueName} ` + - `at index ${valueIndex} of reporter at index ${reporterIndex}\n` + - ' Expected:\n' + - ` ${_chalk().default.bold.red(expectedType)}\n` + - ' Got:\n' + - ` ${_chalk().default.bold.green((0, _jestGetType().getType)(value))}\n` + - ' Reporter configuration:\n' + - ` ${_chalk().default.bold.green( - JSON.stringify(arrayReporter, null, 2).split('\n').join('\n ') - )}`; - return new (_jestValidate().ValidationError)( - ERROR, - errorMessage, - _utils.DOCUMENTATION_NOTE - ); -} - -function validateReporters(reporterConfig) { - return reporterConfig.every((reporter, index) => { - if (Array.isArray(reporter)) { - validateArrayReporter(reporter, index); - } else if (typeof reporter !== 'string') { - throw createReporterError(index, reporter); - } - - return true; - }); -} - -function validateArrayReporter(arrayReporter, reporterIndex) { - const [path, options] = arrayReporter; - - if (typeof path !== 'string') { - throw createArrayReporterError( - arrayReporter, - reporterIndex, - 0, - path, - 'string', - 'Path' - ); - } else if (typeof options !== 'object') { - throw createArrayReporterError( - arrayReporter, - reporterIndex, - 1, - options, - 'object', - 'Reporter Configuration' - ); - } -} diff --git a/node_modules/jest-config/build/ValidConfig.d.ts b/node_modules/jest-config/build/ValidConfig.d.ts deleted file mode 100644 index a58484f..0000000 --- a/node_modules/jest-config/build/ValidConfig.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 type { Config } from '@jest/types'; -declare const initialOptions: Config.InitialOptions; -export default initialOptions; diff --git a/node_modules/jest-config/build/ValidConfig.js b/node_modules/jest-config/build/ValidConfig.js deleted file mode 100644 index fcd5815..0000000 --- a/node_modules/jest-config/build/ValidConfig.js +++ /dev/null @@ -1,199 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -function _jestRegexUtil() { - const data = require('jest-regex-util'); - - _jestRegexUtil = function () { - return data; - }; - - return data; -} - -function _jestValidate() { - const data = require('jest-validate'); - - _jestValidate = function () { - return data; - }; - - return data; -} - -function _prettyFormat() { - const data = require('pretty-format'); - - _prettyFormat = function () { - return data; - }; - - return data; -} - -var _constants = require('./constants'); - -/** - * 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 NODE_MODULES_REGEXP = (0, _jestRegexUtil().replacePathSepForRegex)( - _constants.NODE_MODULES -); -const initialOptions = { - automock: false, - bail: (0, _jestValidate().multipleValidOptions)(false, 0), - cache: true, - cacheDirectory: '/tmp/user/jest', - changedFilesWithAncestor: false, - changedSince: 'master', - ci: false, - clearMocks: false, - collectCoverage: true, - collectCoverageFrom: ['src', '!public'], - collectCoverageOnlyFrom: { - '/this-directory-is-covered/Covered.js': true - }, - coverageDirectory: 'coverage', - coveragePathIgnorePatterns: [NODE_MODULES_REGEXP], - coverageProvider: 'v8', - coverageReporters: ['json', 'text', 'lcov', 'clover'], - coverageThreshold: { - global: { - branches: 50, - functions: 100, - lines: 100, - statements: 100 - } - }, - dependencyExtractor: '/dependencyExtractor.js', - detectLeaks: false, - detectOpenHandles: false, - displayName: (0, _jestValidate().multipleValidOptions)('test-config', { - color: 'blue', - name: 'test-config' - }), - errorOnDeprecated: false, - expand: false, - extensionsToTreatAsEsm: [], - extraGlobals: [], - filter: '/filter.js', - forceCoverageMatch: ['**/*.t.js'], - forceExit: false, - globalSetup: 'setup.js', - globalTeardown: 'teardown.js', - globals: { - __DEV__: true - }, - haste: { - computeSha1: true, - defaultPlatform: 'ios', - enableSymlinks: false, - forceNodeFilesystemAPI: false, - hasteImplModulePath: '/haste_impl.js', - hasteMapModulePath: '', - platforms: ['ios', 'android'], - throwOnModuleCollision: false - }, - injectGlobals: true, - json: false, - lastCommit: false, - listTests: false, - logHeapUsage: true, - maxConcurrency: 5, - maxWorkers: '50%', - moduleDirectories: ['node_modules'], - moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx', 'node'], - moduleLoader: '', - moduleNameMapper: { - '^React$': '/node_modules/react' - }, - modulePathIgnorePatterns: ['/build/'], - modulePaths: ['/shared/vendor/modules'], - name: 'string', - noStackTrace: false, - notify: false, - notifyMode: 'failure-change', - onlyChanged: false, - onlyFailures: false, - passWithNoTests: false, - preset: 'react-native', - prettierPath: '/node_modules/prettier', - projects: ['project-a', 'project-b/'], - reporters: [ - 'default', - 'custom-reporter-1', - [ - 'custom-reporter-2', - { - configValue: true - } - ] - ], - resetMocks: false, - resetModules: false, - resolver: '/resolver.js', - restoreMocks: false, - rootDir: '/', - roots: [''], - runTestsByPath: false, - runner: 'jest-runner', - setupFiles: ['/setup.js'], - setupFilesAfterEnv: ['/testSetupFile.js'], - silent: true, - skipFilter: false, - skipNodeResolution: false, - slowTestThreshold: 5, - snapshotFormat: _prettyFormat().DEFAULT_OPTIONS, - snapshotResolver: '/snapshotResolver.js', - snapshotSerializers: ['my-serializer-module'], - testEnvironment: 'jest-environment-jsdom', - testEnvironmentOptions: { - userAgent: 'Agent/007' - }, - testFailureExitCode: 1, - testLocationInResults: false, - testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'], - testNamePattern: 'test signature', - testPathIgnorePatterns: [NODE_MODULES_REGEXP], - testRegex: (0, _jestValidate().multipleValidOptions)( - '(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$', - ['/__tests__/\\.test\\.[jt]sx?$', '/__tests__/\\.spec\\.[jt]sx?$'] - ), - testResultsProcessor: 'processor-node-module', - testRunner: 'circus', - testSequencer: '@jest/test-sequencer', - testTimeout: 5000, - testURL: 'http://localhost', - timers: 'real', - transform: { - '\\.js$': '/preprocessor.js' - }, - transformIgnorePatterns: [NODE_MODULES_REGEXP], - unmockedModulePathPatterns: ['mock'], - updateSnapshot: true, - useStderr: false, - verbose: false, - watch: false, - watchAll: false, - watchPathIgnorePatterns: ['/e2e/'], - watchPlugins: [ - 'path/to/yourWatchPlugin', - [ - 'jest-watch-typeahead/filename', - { - key: 'k', - prompt: 'do something with my custom prompt' - } - ] - ], - watchman: true -}; -var _default = initialOptions; -exports.default = _default; diff --git a/node_modules/jest-config/build/color.d.ts b/node_modules/jest-config/build/color.d.ts deleted file mode 100644 index e6822a5..0000000 --- a/node_modules/jest-config/build/color.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 type { ForegroundColor } from 'chalk'; -declare type Color = typeof ForegroundColor; -export declare const getDisplayNameColor: (seed?: string | undefined) => Color; -export {}; diff --git a/node_modules/jest-config/build/color.js b/node_modules/jest-config/build/color.js deleted file mode 100644 index 4955faf..0000000 --- a/node_modules/jest-config/build/color.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.getDisplayNameColor = void 0; - -function _crypto() { - const data = require('crypto'); - - _crypto = function () { - return data; - }; - - return data; -} - -/** - * 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 colors = ['red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white']; - -const getDisplayNameColor = seed => { - if (seed === undefined) { - return 'white'; - } - - const hash = (0, _crypto().createHash)('sha256'); - hash.update(seed); - const num = hash.digest().readUInt32LE(0); - return colors[num % colors.length]; -}; - -exports.getDisplayNameColor = getDisplayNameColor; diff --git a/node_modules/jest-config/build/constants.d.ts b/node_modules/jest-config/build/constants.d.ts deleted file mode 100644 index 90de36b..0000000 --- a/node_modules/jest-config/build/constants.d.ts +++ /dev/null @@ -1,17 +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 NODE_MODULES: string; -export declare const DEFAULT_JS_PATTERN = "\\.[jt]sx?$"; -export declare const DEFAULT_REPORTER_LABEL = "default"; -export declare const PACKAGE_JSON = "package.json"; -export declare const JEST_CONFIG_BASE_NAME = "jest.config"; -export declare const JEST_CONFIG_EXT_CJS = ".cjs"; -export declare const JEST_CONFIG_EXT_MJS = ".mjs"; -export declare const JEST_CONFIG_EXT_JS = ".js"; -export declare const JEST_CONFIG_EXT_TS = ".ts"; -export declare const JEST_CONFIG_EXT_JSON = ".json"; -export declare const JEST_CONFIG_EXT_ORDER: readonly string[]; diff --git a/node_modules/jest-config/build/constants.js b/node_modules/jest-config/build/constants.js deleted file mode 100644 index 3b86d59..0000000 --- a/node_modules/jest-config/build/constants.js +++ /dev/null @@ -1,104 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.PACKAGE_JSON = - exports.NODE_MODULES = - exports.JEST_CONFIG_EXT_TS = - exports.JEST_CONFIG_EXT_ORDER = - exports.JEST_CONFIG_EXT_MJS = - exports.JEST_CONFIG_EXT_JSON = - exports.JEST_CONFIG_EXT_JS = - exports.JEST_CONFIG_EXT_CJS = - exports.JEST_CONFIG_BASE_NAME = - exports.DEFAULT_REPORTER_LABEL = - exports.DEFAULT_JS_PATTERN = - void 0; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -const NODE_MODULES = path().sep + 'node_modules' + path().sep; -exports.NODE_MODULES = NODE_MODULES; -const DEFAULT_JS_PATTERN = '\\.[jt]sx?$'; -exports.DEFAULT_JS_PATTERN = DEFAULT_JS_PATTERN; -const DEFAULT_REPORTER_LABEL = 'default'; -exports.DEFAULT_REPORTER_LABEL = DEFAULT_REPORTER_LABEL; -const PACKAGE_JSON = 'package.json'; -exports.PACKAGE_JSON = PACKAGE_JSON; -const JEST_CONFIG_BASE_NAME = 'jest.config'; -exports.JEST_CONFIG_BASE_NAME = JEST_CONFIG_BASE_NAME; -const JEST_CONFIG_EXT_CJS = '.cjs'; -exports.JEST_CONFIG_EXT_CJS = JEST_CONFIG_EXT_CJS; -const JEST_CONFIG_EXT_MJS = '.mjs'; -exports.JEST_CONFIG_EXT_MJS = JEST_CONFIG_EXT_MJS; -const JEST_CONFIG_EXT_JS = '.js'; -exports.JEST_CONFIG_EXT_JS = JEST_CONFIG_EXT_JS; -const JEST_CONFIG_EXT_TS = '.ts'; -exports.JEST_CONFIG_EXT_TS = JEST_CONFIG_EXT_TS; -const JEST_CONFIG_EXT_JSON = '.json'; -exports.JEST_CONFIG_EXT_JSON = JEST_CONFIG_EXT_JSON; -const JEST_CONFIG_EXT_ORDER = Object.freeze([ - JEST_CONFIG_EXT_JS, - JEST_CONFIG_EXT_TS, - JEST_CONFIG_EXT_MJS, - JEST_CONFIG_EXT_CJS, - JEST_CONFIG_EXT_JSON -]); -exports.JEST_CONFIG_EXT_ORDER = JEST_CONFIG_EXT_ORDER; diff --git a/node_modules/jest-config/build/getCacheDirectory.d.ts b/node_modules/jest-config/build/getCacheDirectory.d.ts deleted file mode 100644 index c642e93..0000000 --- a/node_modules/jest-config/build/getCacheDirectory.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 type { Config } from '@jest/types'; -declare const getCacheDirectory: () => Config.Path; -export default getCacheDirectory; diff --git a/node_modules/jest-config/build/getCacheDirectory.js b/node_modules/jest-config/build/getCacheDirectory.js deleted file mode 100644 index 5373c1c..0000000 --- a/node_modules/jest-config/build/getCacheDirectory.js +++ /dev/null @@ -1,104 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -function _os() { - const data = require('os'); - - _os = function () { - return data; - }; - - return data; -} - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _jestUtil() { - const data = require('jest-util'); - - _jestUtil = function () { - return data; - }; - - return data; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -const getCacheDirectory = () => { - const {getuid} = process; - const tmpdirPath = path().join( - (0, _jestUtil().tryRealpath)((0, _os().tmpdir)()), - 'jest' - ); - - if (getuid == null) { - return tmpdirPath; - } else { - // On some platforms tmpdir() is `/tmp`, causing conflicts between different - // users and permission issues. Adding an additional subdivision by UID can - // help. - return `${tmpdirPath}_${getuid.call(process).toString(36)}`; - } -}; - -var _default = getCacheDirectory; -exports.default = _default; diff --git a/node_modules/jest-config/build/getMaxWorkers.d.ts b/node_modules/jest-config/build/getMaxWorkers.d.ts deleted file mode 100644 index 81dfedc..0000000 --- a/node_modules/jest-config/build/getMaxWorkers.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. - */ -import type { Config } from '@jest/types'; -export default function getMaxWorkers(argv: Partial>, defaultOptions?: Partial>): number; diff --git a/node_modules/jest-config/build/getMaxWorkers.js b/node_modules/jest-config/build/getMaxWorkers.js deleted file mode 100644 index 30b7afa..0000000 --- a/node_modules/jest-config/build/getMaxWorkers.js +++ /dev/null @@ -1,65 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = getMaxWorkers; - -function _os() { - const data = require('os'); - - _os = function () { - return data; - }; - - return data; -} - -/** - * 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 getMaxWorkers(argv, defaultOptions) { - if (argv.runInBand) { - return 1; - } else if (argv.maxWorkers) { - return parseWorkers(argv.maxWorkers); - } else if (defaultOptions && defaultOptions.maxWorkers) { - return parseWorkers(defaultOptions.maxWorkers); - } else { - var _cpusInfo$length; - - // In watch mode, Jest should be unobtrusive and not use all available CPUs. - const cpusInfo = (0, _os().cpus)(); - const numCpus = - (_cpusInfo$length = - cpusInfo === null || cpusInfo === void 0 ? void 0 : cpusInfo.length) !== - null && _cpusInfo$length !== void 0 - ? _cpusInfo$length - : 1; - const isWatchModeEnabled = argv.watch || argv.watchAll; - return Math.max( - isWatchModeEnabled ? Math.floor(numCpus / 2) : numCpus - 1, - 1 - ); - } -} - -const parseWorkers = maxWorkers => { - const parsed = parseInt(maxWorkers.toString(), 10); - - if ( - typeof maxWorkers === 'string' && - maxWorkers.trim().endsWith('%') && - parsed > 0 && - parsed <= 100 - ) { - const numCpus = (0, _os().cpus)().length; - const workers = Math.floor((parsed / 100) * numCpus); - return Math.max(workers, 1); - } - - return parsed > 0 ? parsed : 1; -}; diff --git a/node_modules/jest-config/build/index.d.ts b/node_modules/jest-config/build/index.d.ts deleted file mode 100644 index d9a107d..0000000 --- a/node_modules/jest-config/build/index.d.ts +++ /dev/null @@ -1,28 +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 } from '@jest/types'; -import * as constants from './constants'; -export { resolveTestEnvironment as getTestEnvironment } from 'jest-resolve'; -export { isJSONString } from './utils'; -export { default as normalize } from './normalize'; -export { default as deprecationEntries } from './Deprecated'; -export { replaceRootDirInPath } from './utils'; -export { default as defaults } from './Defaults'; -export { default as descriptions } from './Descriptions'; -export { constants }; -declare type ReadConfig = { - configPath: Config.Path | null | undefined; - globalConfig: Config.GlobalConfig; - hasDeprecationWarnings: boolean; - projectConfig: Config.ProjectConfig; -}; -export declare function readConfig(argv: Config.Argv, packageRootOrConfig: Config.Path | Config.InitialOptions, skipArgvConfigOption?: boolean, parentConfigDirname?: Config.Path | null, projectIndex?: number, skipMultipleConfigWarning?: boolean): Promise; -export declare function readConfigs(argv: Config.Argv, projectPaths: Array): Promise<{ - globalConfig: Config.GlobalConfig; - configs: Array; - hasDeprecationWarnings: boolean; -}>; diff --git a/node_modules/jest-config/build/index.js b/node_modules/jest-config/build/index.js deleted file mode 100644 index b346c01..0000000 --- a/node_modules/jest-config/build/index.js +++ /dev/null @@ -1,495 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.constants = void 0; -Object.defineProperty(exports, 'defaults', { - enumerable: true, - get: function () { - return _Defaults.default; - } -}); -Object.defineProperty(exports, 'deprecationEntries', { - enumerable: true, - get: function () { - return _Deprecated.default; - } -}); -Object.defineProperty(exports, 'descriptions', { - enumerable: true, - get: function () { - return _Descriptions.default; - } -}); -Object.defineProperty(exports, 'getTestEnvironment', { - enumerable: true, - get: function () { - return _jestResolve().resolveTestEnvironment; - } -}); -Object.defineProperty(exports, 'isJSONString', { - enumerable: true, - get: function () { - return _utils.isJSONString; - } -}); -Object.defineProperty(exports, 'normalize', { - enumerable: true, - get: function () { - return _normalize.default; - } -}); -exports.readConfig = readConfig; -exports.readConfigs = readConfigs; -Object.defineProperty(exports, 'replaceRootDirInPath', { - enumerable: true, - get: function () { - return _utils.replaceRootDirInPath; - } -}); - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function fs() { - const data = _interopRequireWildcard(require('graceful-fs')); - - fs = function () { - return data; - }; - - return data; -} - -function _jestUtil() { - const data = require('jest-util'); - - _jestUtil = function () { - return data; - }; - - return data; -} - -var constants = _interopRequireWildcard(require('./constants')); - -exports.constants = constants; - -var _normalize = _interopRequireDefault(require('./normalize')); - -var _readConfigFileAndSetRootDir = _interopRequireDefault( - require('./readConfigFileAndSetRootDir') -); - -var _resolveConfigPath = _interopRequireDefault(require('./resolveConfigPath')); - -var _utils = require('./utils'); - -function _jestResolve() { - const data = require('jest-resolve'); - - _jestResolve = function () { - return data; - }; - - return data; -} - -var _Deprecated = _interopRequireDefault(require('./Deprecated')); - -var _Defaults = _interopRequireDefault(require('./Defaults')); - -var _Descriptions = _interopRequireDefault(require('./Descriptions')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -// TODO: remove export in Jest 28 -async function readConfig( - argv, - packageRootOrConfig, // Whether it needs to look into `--config` arg passed to CLI. - // It only used to read initial config. If the initial config contains - // `project` property, we don't want to read `--config` value and rather - // read individual configs for every project. - skipArgvConfigOption, - parentConfigDirname, - projectIndex = Infinity, - skipMultipleConfigWarning = false -) { - let rawOptions; - let configPath = null; - - if (typeof packageRootOrConfig !== 'string') { - if (parentConfigDirname) { - rawOptions = packageRootOrConfig; - rawOptions.rootDir = rawOptions.rootDir - ? (0, _utils.replaceRootDirInPath)( - parentConfigDirname, - rawOptions.rootDir - ) - : parentConfigDirname; - } else { - throw new Error( - 'Jest: Cannot use configuration as an object without a file path.' - ); - } - } else if ((0, _utils.isJSONString)(argv.config)) { - // A JSON string was passed to `--config` argument and we can parse it - // and use as is. - let config; - - try { - config = JSON.parse(argv.config); - } catch { - throw new Error( - 'There was an error while parsing the `--config` argument as a JSON string.' - ); - } // NOTE: we might need to resolve this dir to an absolute path in the future - - config.rootDir = config.rootDir || packageRootOrConfig; - rawOptions = config; // A string passed to `--config`, which is either a direct path to the config - // or a path to directory containing `package.json`, `jest.config.js` or `jest.config.ts` - } else if (!skipArgvConfigOption && typeof argv.config == 'string') { - configPath = (0, _resolveConfigPath.default)( - argv.config, - process.cwd(), - skipMultipleConfigWarning - ); - rawOptions = await (0, _readConfigFileAndSetRootDir.default)(configPath); - } else { - // Otherwise just try to find config in the current rootDir. - configPath = (0, _resolveConfigPath.default)( - packageRootOrConfig, - process.cwd(), - skipMultipleConfigWarning - ); - rawOptions = await (0, _readConfigFileAndSetRootDir.default)(configPath); - } - - const {options, hasDeprecationWarnings} = await (0, _normalize.default)( - rawOptions, - argv, - configPath, - projectIndex - ); - const {globalConfig, projectConfig} = groupOptions(options); - return { - configPath, - globalConfig, - hasDeprecationWarnings, - projectConfig - }; -} - -const groupOptions = options => ({ - globalConfig: Object.freeze({ - bail: options.bail, - changedFilesWithAncestor: options.changedFilesWithAncestor, - changedSince: options.changedSince, - collectCoverage: options.collectCoverage, - collectCoverageFrom: options.collectCoverageFrom, - collectCoverageOnlyFrom: options.collectCoverageOnlyFrom, - coverageDirectory: options.coverageDirectory, - coverageProvider: options.coverageProvider, - coverageReporters: options.coverageReporters, - coverageThreshold: options.coverageThreshold, - detectLeaks: options.detectLeaks, - detectOpenHandles: options.detectOpenHandles, - errorOnDeprecated: options.errorOnDeprecated, - expand: options.expand, - filter: options.filter, - findRelatedTests: options.findRelatedTests, - forceExit: options.forceExit, - globalSetup: options.globalSetup, - globalTeardown: options.globalTeardown, - json: options.json, - lastCommit: options.lastCommit, - listTests: options.listTests, - logHeapUsage: options.logHeapUsage, - maxConcurrency: options.maxConcurrency, - maxWorkers: options.maxWorkers, - noSCM: undefined, - noStackTrace: options.noStackTrace, - nonFlagArgs: options.nonFlagArgs, - notify: options.notify, - notifyMode: options.notifyMode, - onlyChanged: options.onlyChanged, - onlyFailures: options.onlyFailures, - outputFile: options.outputFile, - passWithNoTests: options.passWithNoTests, - projects: options.projects, - replname: options.replname, - reporters: options.reporters, - rootDir: options.rootDir, - runTestsByPath: options.runTestsByPath, - silent: options.silent, - skipFilter: options.skipFilter, - snapshotFormat: options.snapshotFormat, - testFailureExitCode: options.testFailureExitCode, - testNamePattern: options.testNamePattern, - testPathPattern: options.testPathPattern, - testResultsProcessor: options.testResultsProcessor, - testSequencer: options.testSequencer, - testTimeout: options.testTimeout, - updateSnapshot: options.updateSnapshot, - useStderr: options.useStderr, - verbose: options.verbose, - watch: options.watch, - watchAll: options.watchAll, - watchPlugins: options.watchPlugins, - watchman: options.watchman - }), - projectConfig: Object.freeze({ - automock: options.automock, - cache: options.cache, - cacheDirectory: options.cacheDirectory, - clearMocks: options.clearMocks, - coveragePathIgnorePatterns: options.coveragePathIgnorePatterns, - cwd: options.cwd, - dependencyExtractor: options.dependencyExtractor, - detectLeaks: options.detectLeaks, - detectOpenHandles: options.detectOpenHandles, - displayName: options.displayName, - errorOnDeprecated: options.errorOnDeprecated, - extensionsToTreatAsEsm: options.extensionsToTreatAsEsm, - extraGlobals: options.extraGlobals, - filter: options.filter, - forceCoverageMatch: options.forceCoverageMatch, - globalSetup: options.globalSetup, - globalTeardown: options.globalTeardown, - globals: options.globals, - haste: options.haste, - injectGlobals: options.injectGlobals, - moduleDirectories: options.moduleDirectories, - moduleFileExtensions: options.moduleFileExtensions, - moduleLoader: options.moduleLoader, - moduleNameMapper: options.moduleNameMapper, - modulePathIgnorePatterns: options.modulePathIgnorePatterns, - modulePaths: options.modulePaths, - name: options.name, - prettierPath: options.prettierPath, - resetMocks: options.resetMocks, - resetModules: options.resetModules, - resolver: options.resolver, - restoreMocks: options.restoreMocks, - rootDir: options.rootDir, - roots: options.roots, - runner: options.runner, - setupFiles: options.setupFiles, - setupFilesAfterEnv: options.setupFilesAfterEnv, - skipFilter: options.skipFilter, - skipNodeResolution: options.skipNodeResolution, - slowTestThreshold: options.slowTestThreshold, - snapshotFormat: options.snapshotFormat, - snapshotResolver: options.snapshotResolver, - snapshotSerializers: options.snapshotSerializers, - testEnvironment: options.testEnvironment, - testEnvironmentOptions: options.testEnvironmentOptions, - testLocationInResults: options.testLocationInResults, - testMatch: options.testMatch, - testPathIgnorePatterns: options.testPathIgnorePatterns, - testRegex: options.testRegex, - testRunner: options.testRunner, - testURL: options.testURL, - timers: options.timers, - transform: options.transform, - transformIgnorePatterns: options.transformIgnorePatterns, - unmockedModulePathPatterns: options.unmockedModulePathPatterns, - watchPathIgnorePatterns: options.watchPathIgnorePatterns - }) -}); - -const ensureNoDuplicateConfigs = (parsedConfigs, projects) => { - if (projects.length <= 1) { - return; - } - - const configPathMap = new Map(); - - for (const config of parsedConfigs) { - const {configPath} = config; - - if (configPathMap.has(configPath)) { - const message = `Whoops! Two projects resolved to the same config path: ${_chalk().default.bold( - String(configPath) - )}: - - Project 1: ${_chalk().default.bold( - projects[parsedConfigs.findIndex(x => x === config)] - )} - Project 2: ${_chalk().default.bold( - projects[parsedConfigs.findIndex(x => x === configPathMap.get(configPath))] - )} - -This usually means that your ${_chalk().default.bold( - '"projects"' - )} config includes a directory that doesn't have any configuration recognizable by Jest. Please fix it. -`; - throw new Error(message); - } - - if (configPath !== null) { - configPathMap.set(configPath, config); - } - } -}; // Possible scenarios: -// 1. jest --config config.json -// 2. jest --projects p1 p2 -// 3. jest --projects p1 p2 --config config.json -// 4. jest --projects p1 -// 5. jest -// -// If no projects are specified, process.cwd() will be used as the default -// (and only) project. - -async function readConfigs(argv, projectPaths) { - let globalConfig; - let hasDeprecationWarnings; - let configs = []; - let projects = projectPaths; - let configPath; - - if (projectPaths.length === 1) { - const parsedConfig = await readConfig(argv, projects[0]); - configPath = parsedConfig.configPath; - hasDeprecationWarnings = parsedConfig.hasDeprecationWarnings; - globalConfig = parsedConfig.globalConfig; - configs = [parsedConfig.projectConfig]; - - if (globalConfig.projects && globalConfig.projects.length) { - // Even though we had one project in CLI args, there might be more - // projects defined in the config. - // In other words, if this was a single project, - // and its config has `projects` settings, use that value instead. - projects = globalConfig.projects; - } - } - - if (projects.length > 0) { - const cwd = - process.platform === 'win32' - ? (0, _jestUtil().tryRealpath)(process.cwd()) - : process.cwd(); - const projectIsCwd = projects[0] === cwd; - const parsedConfigs = await Promise.all( - projects - .filter(root => { - // Ignore globbed files that cannot be `require`d. - if ( - typeof root === 'string' && - fs().existsSync(root) && - !fs().lstatSync(root).isDirectory() && - !constants.JEST_CONFIG_EXT_ORDER.some(ext => root.endsWith(ext)) - ) { - return false; - } - - return true; - }) - .map((root, projectIndex) => { - const projectIsTheOnlyProject = - projectIndex === 0 && projects.length === 1; - const skipArgvConfigOption = !( - projectIsTheOnlyProject && projectIsCwd - ); - return readConfig( - argv, - root, - skipArgvConfigOption, - configPath ? path().dirname(configPath) : cwd, - projectIndex, // we wanna skip the warning if this is the "main" project - projectIsCwd - ); - }) - ); - ensureNoDuplicateConfigs(parsedConfigs, projects); - configs = parsedConfigs.map(({projectConfig}) => projectConfig); - - if (!hasDeprecationWarnings) { - hasDeprecationWarnings = parsedConfigs.some( - ({hasDeprecationWarnings}) => !!hasDeprecationWarnings - ); - } // If no config was passed initially, use the one from the first project - - if (!globalConfig) { - globalConfig = parsedConfigs[0].globalConfig; - } - } - - if (!globalConfig || !configs.length) { - throw new Error('jest: No configuration found for any project.'); - } - - return { - configs, - globalConfig, - hasDeprecationWarnings: !!hasDeprecationWarnings - }; -} diff --git a/node_modules/jest-config/build/normalize.d.ts b/node_modules/jest-config/build/normalize.d.ts deleted file mode 100644 index 657c94a..0000000 --- a/node_modules/jest-config/build/normalize.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 } from '@jest/types'; -declare type AllOptions = Config.ProjectConfig & Config.GlobalConfig; -export default function normalize(initialOptions: Config.InitialOptions, argv: Config.Argv, configPath?: Config.Path | null, projectIndex?: number): Promise<{ - hasDeprecationWarnings: boolean; - options: AllOptions; -}>; -export {}; diff --git a/node_modules/jest-config/build/normalize.js b/node_modules/jest-config/build/normalize.js deleted file mode 100644 index 78f2b20..0000000 --- a/node_modules/jest-config/build/normalize.js +++ /dev/null @@ -1,1372 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = normalize; - -function _crypto() { - const data = require('crypto'); - - _crypto = function () { - return data; - }; - - return data; -} - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function _deepmerge() { - const data = _interopRequireDefault(require('deepmerge')); - - _deepmerge = function () { - return data; - }; - - return data; -} - -function _glob() { - const data = require('glob'); - - _glob = function () { - return data; - }; - - return data; -} - -function _gracefulFs() { - const data = require('graceful-fs'); - - _gracefulFs = function () { - return data; - }; - - return data; -} - -function _micromatch() { - const data = _interopRequireDefault(require('micromatch')); - - _micromatch = function () { - return data; - }; - - return data; -} - -function _jestRegexUtil() { - const data = require('jest-regex-util'); - - _jestRegexUtil = function () { - return data; - }; - - return data; -} - -function _jestResolve() { - const data = _interopRequireWildcard(require('jest-resolve')); - - _jestResolve = function () { - return data; - }; - - return data; -} - -function _jestUtil() { - const data = require('jest-util'); - - _jestUtil = function () { - return data; - }; - - return data; -} - -function _jestValidate() { - const data = require('jest-validate'); - - _jestValidate = function () { - return data; - }; - - return data; -} - -var _Defaults = _interopRequireDefault(require('./Defaults')); - -var _Deprecated = _interopRequireDefault(require('./Deprecated')); - -var _ReporterValidationErrors = require('./ReporterValidationErrors'); - -var _ValidConfig = _interopRequireDefault(require('./ValidConfig')); - -var _color = require('./color'); - -var _constants = require('./constants'); - -var _getMaxWorkers = _interopRequireDefault(require('./getMaxWorkers')); - -var _setFromArgv = _interopRequireDefault(require('./setFromArgv')); - -var _utils = require('./utils'); - -var _validatePattern = _interopRequireDefault(require('./validatePattern')); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -const ERROR = `${_utils.BULLET}Validation Error`; -const PRESET_EXTENSIONS = ['.json', '.js', '.cjs', '.mjs']; -const PRESET_NAME = 'jest-preset'; - -const createConfigError = message => - new (_jestValidate().ValidationError)( - ERROR, - message, - _utils.DOCUMENTATION_NOTE - ); - -function verifyDirectoryExists(path, key) { - try { - const rootStat = (0, _gracefulFs().statSync)(path); - - if (!rootStat.isDirectory()) { - throw createConfigError( - ` ${_chalk().default.bold(path)} in the ${_chalk().default.bold( - key - )} option is not a directory.` - ); - } - } catch (err) { - if (err instanceof _jestValidate().ValidationError) { - throw err; - } - - if (err.code === 'ENOENT') { - throw createConfigError( - ` Directory ${_chalk().default.bold( - path - )} in the ${_chalk().default.bold(key)} option was not found.` - ); - } // Not sure in which cases `statSync` can throw, so let's just show the underlying error to the user - - throw createConfigError( - ` Got an error trying to find ${_chalk().default.bold( - path - )} in the ${_chalk().default.bold(key)} option.\n\n Error was: ${ - err.message - }` - ); - } -} // TS 3.5 forces us to split these into 2 - -const mergeModuleNameMapperWithPreset = (options, preset) => { - if (options['moduleNameMapper'] && preset['moduleNameMapper']) { - options['moduleNameMapper'] = { - ...options['moduleNameMapper'], - ...preset['moduleNameMapper'], - ...options['moduleNameMapper'] - }; - } -}; - -const mergeTransformWithPreset = (options, preset) => { - if (options['transform'] && preset['transform']) { - options['transform'] = { - ...options['transform'], - ...preset['transform'], - ...options['transform'] - }; - } -}; - -const mergeGlobalsWithPreset = (options, preset) => { - if (options['globals'] && preset['globals']) { - options['globals'] = (0, _deepmerge().default)( - preset['globals'], - options['globals'] - ); - } -}; - -const setupPreset = async (options, optionsPreset) => { - let preset; - const presetPath = (0, _utils.replaceRootDirInPath)( - options.rootDir, - optionsPreset - ); - - const presetModule = _jestResolve().default.findNodeModule( - presetPath.startsWith('.') - ? presetPath - : path().join(presetPath, PRESET_NAME), - { - basedir: options.rootDir, - extensions: PRESET_EXTENSIONS - } - ); - - try { - if (!presetModule) { - throw new Error(`Cannot find module '${presetPath}'`); - } // Force re-evaluation to support multiple projects - - try { - delete require.cache[require.resolve(presetModule)]; - } catch {} - - preset = await (0, _jestUtil().requireOrImportModule)(presetModule); - } catch (error) { - if (error instanceof SyntaxError || error instanceof TypeError) { - throw createConfigError( - ` Preset ${_chalk().default.bold(presetPath)} is invalid:\n\n ${ - error.message - }\n ${error.stack}` - ); - } - - if (error.message.includes('Cannot find module')) { - if (error.message.includes(presetPath)) { - const preset = _jestResolve().default.findNodeModule(presetPath, { - basedir: options.rootDir - }); - - if (preset) { - throw createConfigError( - ` Module ${_chalk().default.bold( - presetPath - )} should have "jest-preset.js" or "jest-preset.json" file at the root.` - ); - } - - throw createConfigError( - ` Preset ${_chalk().default.bold(presetPath)} not found.` - ); - } - - throw createConfigError( - ` Missing dependency in ${_chalk().default.bold(presetPath)}:\n\n ${ - error.message - }\n ${error.stack}` - ); - } - - throw createConfigError( - ` An unknown error occurred in ${_chalk().default.bold( - presetPath - )}:\n\n ${error.message}\n ${error.stack}` - ); - } - - if (options.setupFiles) { - options.setupFiles = (preset.setupFiles || []).concat(options.setupFiles); - } - - if (options.setupFilesAfterEnv) { - options.setupFilesAfterEnv = (preset.setupFilesAfterEnv || []).concat( - options.setupFilesAfterEnv - ); - } - - if (options.modulePathIgnorePatterns && preset.modulePathIgnorePatterns) { - options.modulePathIgnorePatterns = preset.modulePathIgnorePatterns.concat( - options.modulePathIgnorePatterns - ); - } - - mergeModuleNameMapperWithPreset(options, preset); - mergeTransformWithPreset(options, preset); - mergeGlobalsWithPreset(options, preset); - return {...preset, ...options}; -}; - -const setupBabelJest = options => { - const transform = options.transform; - let babelJest; - - if (transform) { - const customJSPattern = Object.keys(transform).find(pattern => { - const regex = new RegExp(pattern); - return regex.test('a.js') || regex.test('a.jsx'); - }); - const customTSPattern = Object.keys(transform).find(pattern => { - const regex = new RegExp(pattern); - return regex.test('a.ts') || regex.test('a.tsx'); - }); - [customJSPattern, customTSPattern].forEach(pattern => { - if (pattern) { - const customTransformer = transform[pattern]; - - if (Array.isArray(customTransformer)) { - if (customTransformer[0] === 'babel-jest') { - babelJest = require.resolve('babel-jest'); - customTransformer[0] = babelJest; - } else if (customTransformer[0].includes('babel-jest')) { - babelJest = customTransformer[0]; - } - } else { - if (customTransformer === 'babel-jest') { - babelJest = require.resolve('babel-jest'); - transform[pattern] = babelJest; - } else if (customTransformer.includes('babel-jest')) { - babelJest = customTransformer; - } - } - } - }); - } else { - babelJest = require.resolve('babel-jest'); - options.transform = { - [_constants.DEFAULT_JS_PATTERN]: babelJest - }; - } -}; - -const normalizeCollectCoverageOnlyFrom = (options, key) => { - const initialCollectCoverageFrom = options[key]; - const collectCoverageOnlyFrom = Array.isArray(initialCollectCoverageFrom) - ? initialCollectCoverageFrom // passed from argv - : Object.keys(initialCollectCoverageFrom); // passed from options - - return collectCoverageOnlyFrom.reduce((map, filePath) => { - filePath = path().resolve( - options.rootDir, - (0, _utils.replaceRootDirInPath)(options.rootDir, filePath) - ); - map[filePath] = true; - return map; - }, Object.create(null)); -}; - -const normalizeCollectCoverageFrom = (options, key) => { - const initialCollectCoverageFrom = options[key]; - let value; - - if (!initialCollectCoverageFrom) { - value = []; - } - - if (!Array.isArray(initialCollectCoverageFrom)) { - try { - value = JSON.parse(initialCollectCoverageFrom); - } catch {} - - if (options[key] && !Array.isArray(value)) { - value = [initialCollectCoverageFrom]; - } - } else { - value = initialCollectCoverageFrom; - } - - if (value) { - value = value.map(filePath => - filePath.replace(/^(!?)(\/)(.*)/, '$1$3') - ); - } - - return value; -}; - -const normalizeUnmockedModulePathPatterns = ( - options, - key // _replaceRootDirTags is specifically well-suited for substituting -) => - // in paths (it deals with properly interpreting relative path - // separators, etc). - // - // For patterns, direct global substitution is far more ideal, so we - // special case substitutions for patterns here. - options[key].map(pattern => - (0, _jestRegexUtil().replacePathSepForRegex)( - pattern.replace(//g, options.rootDir) - ) - ); - -const normalizePreprocessor = options => { - if (options.scriptPreprocessor && options.transform) { - throw createConfigError(` Options: ${_chalk().default.bold( - 'scriptPreprocessor' - )} and ${_chalk().default.bold('transform')} cannot be used together. - Please change your configuration to only use ${_chalk().default.bold( - 'transform' - )}.`); - } - - if (options.preprocessorIgnorePatterns && options.transformIgnorePatterns) { - throw createConfigError(` Options ${_chalk().default.bold( - 'preprocessorIgnorePatterns' - )} and ${_chalk().default.bold( - 'transformIgnorePatterns' - )} cannot be used together. - Please change your configuration to only use ${_chalk().default.bold( - 'transformIgnorePatterns' - )}.`); - } - - if (options.scriptPreprocessor) { - options.transform = { - '.*': options.scriptPreprocessor - }; - } - - if (options.preprocessorIgnorePatterns) { - options.transformIgnorePatterns = options.preprocessorIgnorePatterns; - } - - delete options.scriptPreprocessor; - delete options.preprocessorIgnorePatterns; - return options; -}; - -const normalizeMissingOptions = (options, configPath, projectIndex) => { - if (!options.name) { - options.name = (0, _crypto().createHash)('md5') - .update(options.rootDir) // In case we load config from some path that has the same root dir - .update(configPath || '') - .update(String(projectIndex)) - .digest('hex'); - } - - if (!options.setupFiles) { - options.setupFiles = []; - } - - return options; -}; - -const normalizeRootDir = options => { - // Assert that there *is* a rootDir - if (!options.rootDir) { - throw createConfigError( - ` Configuration option ${_chalk().default.bold( - 'rootDir' - )} must be specified.` - ); - } - - options.rootDir = path().normalize(options.rootDir); - - try { - // try to resolve windows short paths, ignoring errors (permission errors, mostly) - options.rootDir = (0, _jestUtil().tryRealpath)(options.rootDir); - } catch { - // ignored - } - - verifyDirectoryExists(options.rootDir, 'rootDir'); - return {...options, rootDir: options.rootDir}; -}; - -const normalizeReporters = options => { - const reporters = options.reporters; - - if (!reporters || !Array.isArray(reporters)) { - return options; - } - - (0, _ReporterValidationErrors.validateReporters)(reporters); - options.reporters = reporters.map(reporterConfig => { - const normalizedReporterConfig = - typeof reporterConfig === 'string' // if reporter config is a string, we wrap it in an array - ? // and pass an empty object for options argument, to normalize - // the shape. - [reporterConfig, {}] - : reporterConfig; - const reporterPath = (0, _utils.replaceRootDirInPath)( - options.rootDir, - normalizedReporterConfig[0] - ); - - if (reporterPath !== _constants.DEFAULT_REPORTER_LABEL) { - const reporter = _jestResolve().default.findNodeModule(reporterPath, { - basedir: options.rootDir - }); - - if (!reporter) { - throw new (_jestResolve().default.ModuleNotFoundError)( - 'Could not resolve a module for a custom reporter.\n' + - ` Module name: ${reporterPath}` - ); - } - - normalizedReporterConfig[0] = reporter; - } - - return normalizedReporterConfig; - }); - return options; -}; - -const buildTestPathPattern = argv => { - const patterns = []; - - if (argv._) { - patterns.push(...argv._); - } - - if (argv.testPathPattern) { - patterns.push(...argv.testPathPattern); - } - - const replacePosixSep = pattern => { - // yargs coerces positional args into numbers - const patternAsString = pattern.toString(); - - if (path().sep === '/') { - return patternAsString; - } - - return patternAsString.replace(/\//g, '\\\\'); - }; - - const testPathPattern = patterns.map(replacePosixSep).join('|'); - - if ((0, _validatePattern.default)(testPathPattern)) { - return testPathPattern; - } else { - showTestPathPatternError(testPathPattern); - return ''; - } -}; - -const showTestPathPatternError = testPathPattern => { - (0, _jestUtil().clearLine)(process.stdout); // eslint-disable-next-line no-console - - console.log( - _chalk().default.red( - ` Invalid testPattern ${testPathPattern} supplied. ` + - 'Running all tests instead.' - ) - ); -}; - -function validateExtensionsToTreatAsEsm(extensionsToTreatAsEsm) { - if (!extensionsToTreatAsEsm || extensionsToTreatAsEsm.length === 0) { - return; - } - - function printConfig(opts) { - const string = opts.map(ext => `'${ext}'`).join(', '); - return _chalk().default.bold(`extensionsToTreatAsEsm: [${string}]`); - } - - const extensionWithoutDot = extensionsToTreatAsEsm.some( - ext => !ext.startsWith('.') - ); - - if (extensionWithoutDot) { - throw createConfigError(` Option: ${printConfig( - extensionsToTreatAsEsm - )} includes a string that does not start with a period (${_chalk().default.bold( - '.' - )}). - Please change your configuration to ${printConfig( - extensionsToTreatAsEsm.map(ext => (ext.startsWith('.') ? ext : `.${ext}`)) - )}.`); - } - - if (extensionsToTreatAsEsm.includes('.js')) { - throw createConfigError( - ` Option: ${printConfig( - extensionsToTreatAsEsm - )} includes ${_chalk().default.bold( - "'.js'" - )} which is always inferred based on ${_chalk().default.bold( - 'type' - )} in its nearest ${_chalk().default.bold('package.json')}.` - ); - } - - if (extensionsToTreatAsEsm.includes('.cjs')) { - throw createConfigError( - ` Option: ${printConfig( - extensionsToTreatAsEsm - )} includes ${_chalk().default.bold( - "'.cjs'" - )} which is always treated as CommonJS.` - ); - } - - if (extensionsToTreatAsEsm.includes('.mjs')) { - throw createConfigError( - ` Option: ${printConfig( - extensionsToTreatAsEsm - )} includes ${_chalk().default.bold( - "'.mjs'" - )} which is always treated as an ECMAScript Module.` - ); - } -} - -async function normalize( - initialOptions, - argv, - configPath, - projectIndex = Infinity -) { - var _options$haste, _argv$_; - - const {hasDeprecationWarnings} = (0, _jestValidate().validate)( - initialOptions, - { - comment: _utils.DOCUMENTATION_NOTE, - deprecatedConfig: _Deprecated.default, - exampleConfig: _ValidConfig.default, - recursiveDenylist: [ - 'collectCoverageOnlyFrom', // 'coverageThreshold' allows to use 'global' and glob strings on the same - // level, there's currently no way we can deal with such config - 'coverageThreshold', - 'globals', - 'moduleNameMapper', - 'testEnvironmentOptions', - 'transform' - ] - } - ); - let options = normalizePreprocessor( - normalizeReporters( - normalizeMissingOptions( - normalizeRootDir((0, _setFromArgv.default)(initialOptions, argv)), - configPath, - projectIndex - ) - ) - ); - - if (options.preset) { - options = await setupPreset(options, options.preset); - } - - if (!options.setupFilesAfterEnv) { - options.setupFilesAfterEnv = []; - } - - if ( - options.setupTestFrameworkScriptFile && - options.setupFilesAfterEnv.length > 0 - ) { - throw createConfigError(` Options: ${_chalk().default.bold( - 'setupTestFrameworkScriptFile' - )} and ${_chalk().default.bold( - 'setupFilesAfterEnv' - )} cannot be used together. - Please change your configuration to only use ${_chalk().default.bold( - 'setupFilesAfterEnv' - )}.`); - } - - if (options.setupTestFrameworkScriptFile) { - options.setupFilesAfterEnv.push(options.setupTestFrameworkScriptFile); - } - - options.testEnvironment = (0, _jestResolve().resolveTestEnvironment)({ - requireResolveFunction: require.resolve, - rootDir: options.rootDir, - testEnvironment: - options.testEnvironment || - require.resolve(_Defaults.default.testEnvironment) - }); - - if (!options.roots && options.testPathDirs) { - options.roots = options.testPathDirs; - delete options.testPathDirs; - } - - if (!options.roots) { - options.roots = [options.rootDir]; - } - - if ( - !options.testRunner || - options.testRunner === 'circus' || - options.testRunner === 'jest-circus' - ) { - options.testRunner = require.resolve('jest-circus/runner'); - } else if (options.testRunner === 'jasmine2') { - options.testRunner = require.resolve('jest-jasmine2'); - } - - if (!options.coverageDirectory) { - options.coverageDirectory = path().resolve(options.rootDir, 'coverage'); - } - - setupBabelJest(options); // TODO: Type this properly - - const newOptions = {..._Defaults.default}; - - if (options.resolver) { - newOptions.resolver = (0, _utils.resolve)(null, { - filePath: options.resolver, - key: 'resolver', - rootDir: options.rootDir - }); - } - - validateExtensionsToTreatAsEsm(options.extensionsToTreatAsEsm); - - if (options.watchman == null) { - options.watchman = _Defaults.default.watchman; - } - - const optionKeys = Object.keys(options); - optionKeys.reduce((newOptions, key) => { - // The resolver has been resolved separately; skip it - if (key === 'resolver') { - return newOptions; - } // This is cheating, because it claims that all keys of InitialOptions are Required. - // We only really know it's Required for oldOptions[key], not for oldOptions.someOtherKey, - // so oldOptions[key] is the only way it should be used. - - const oldOptions = options; - let value; - - switch (key) { - case 'collectCoverageOnlyFrom': - value = normalizeCollectCoverageOnlyFrom(oldOptions, key); - break; - - case 'setupFiles': - case 'setupFilesAfterEnv': - case 'snapshotSerializers': - { - const option = oldOptions[key]; - value = - option && - option.map(filePath => - (0, _utils.resolve)(newOptions.resolver, { - filePath, - key, - rootDir: options.rootDir - }) - ); - } - break; - - case 'modulePaths': - case 'roots': - { - const option = oldOptions[key]; - value = - option && - option.map(filePath => - path().resolve( - options.rootDir, - (0, _utils.replaceRootDirInPath)(options.rootDir, filePath) - ) - ); - } - break; - - case 'collectCoverageFrom': - value = normalizeCollectCoverageFrom(oldOptions, key); - break; - - case 'cacheDirectory': - case 'coverageDirectory': - { - const option = oldOptions[key]; - value = - option && - path().resolve( - options.rootDir, - (0, _utils.replaceRootDirInPath)(options.rootDir, option) - ); - } - break; - - case 'dependencyExtractor': - case 'globalSetup': - case 'globalTeardown': - case 'moduleLoader': - case 'snapshotResolver': - case 'testResultsProcessor': - case 'testRunner': - case 'filter': - { - const option = oldOptions[key]; - value = - option && - (0, _utils.resolve)(newOptions.resolver, { - filePath: option, - key, - rootDir: options.rootDir - }); - } - break; - - case 'runner': - { - const option = oldOptions[key]; - value = - option && - (0, _jestResolve().resolveRunner)(newOptions.resolver, { - filePath: option, - requireResolveFunction: require.resolve, - rootDir: options.rootDir - }); - } - break; - - case 'prettierPath': - { - // We only want this to throw if "prettierPath" is explicitly passed - // from config or CLI, and the requested path isn't found. Otherwise we - // set it to null and throw an error lazily when it is used. - const option = oldOptions[key]; - value = - option && - (0, _utils.resolve)(newOptions.resolver, { - filePath: option, - key, - optional: option === _Defaults.default[key], - rootDir: options.rootDir - }); - } - break; - - case 'moduleNameMapper': - const moduleNameMapper = oldOptions[key]; - value = - moduleNameMapper && - Object.keys(moduleNameMapper).map(regex => { - const item = moduleNameMapper && moduleNameMapper[regex]; - return ( - item && [ - regex, - (0, _utils._replaceRootDirTags)(options.rootDir, item) - ] - ); - }); - break; - - case 'transform': - const transform = oldOptions[key]; - value = - transform && - Object.keys(transform).map(regex => { - const transformElement = transform[regex]; - return [ - regex, - (0, _utils.resolve)(newOptions.resolver, { - filePath: Array.isArray(transformElement) - ? transformElement[0] - : transformElement, - key, - rootDir: options.rootDir - }), - Array.isArray(transformElement) ? transformElement[1] : {} - ]; - }); - break; - - case 'coveragePathIgnorePatterns': - case 'modulePathIgnorePatterns': - case 'testPathIgnorePatterns': - case 'transformIgnorePatterns': - case 'watchPathIgnorePatterns': - case 'unmockedModulePathPatterns': - value = normalizeUnmockedModulePathPatterns(oldOptions, key); - break; - - case 'haste': - value = {...oldOptions[key]}; - - if (value.hasteImplModulePath != null) { - const resolvedHasteImpl = (0, _utils.resolve)(newOptions.resolver, { - filePath: (0, _utils.replaceRootDirInPath)( - options.rootDir, - value.hasteImplModulePath - ), - key: 'haste.hasteImplModulePath', - rootDir: options.rootDir - }); - value.hasteImplModulePath = resolvedHasteImpl || undefined; - } - - break; - - case 'projects': - value = (oldOptions[key] || []) - .map(project => - typeof project === 'string' - ? (0, _utils._replaceRootDirTags)(options.rootDir, project) - : project - ) - .reduce((projects, project) => { - // Project can be specified as globs. If a glob matches any files, - // We expand it to these paths. If not, we keep the original path - // for the future resolution. - const globMatches = - typeof project === 'string' ? (0, _glob().sync)(project) : []; - return projects.concat(globMatches.length ? globMatches : project); - }, []); - break; - - case 'moduleDirectories': - case 'testMatch': - { - const replacedRootDirTags = (0, _utils._replaceRootDirTags)( - (0, _utils.escapeGlobCharacters)(options.rootDir), - oldOptions[key] - ); - - if (replacedRootDirTags) { - value = Array.isArray(replacedRootDirTags) - ? replacedRootDirTags.map(_jestUtil().replacePathSepForGlob) - : (0, _jestUtil().replacePathSepForGlob)(replacedRootDirTags); - } else { - value = replacedRootDirTags; - } - } - break; - - case 'testRegex': - { - const option = oldOptions[key]; - value = option - ? (Array.isArray(option) ? option : [option]).map( - _jestRegexUtil().replacePathSepForRegex - ) - : []; - } - break; - - case 'moduleFileExtensions': { - value = oldOptions[key]; - - if ( - Array.isArray(value) && // If it's the wrong type, it can throw at a later time - (options.runner === undefined || - options.runner === _Defaults.default.runner) && // Only require 'js' for the default jest-runner - !value.includes('js') - ) { - const errorMessage = - " moduleFileExtensions must include 'js':\n" + - ' but instead received:\n' + - ` ${_chalk().default.bold.red(JSON.stringify(value))}`; // If `js` is not included, any dependency Jest itself injects into - // the environment, like jasmine or sourcemap-support, will need to - // `require` its modules with a file extension. This is not plausible - // in the long run, so it's way easier to just fail hard early. - // We might consider throwing if `json` is missing as well, as it's a - // fair assumption from modules that they can do - // `require('some-package/package') without the trailing `.json` as it - // works in Node normally. - - throw createConfigError( - errorMessage + - "\n Please change your configuration to include 'js'." - ); - } - - break; - } - - case 'bail': { - const bail = oldOptions[key]; - - if (typeof bail === 'boolean') { - value = bail ? 1 : 0; - } else if (typeof bail === 'string') { - value = 1; // If Jest is invoked as `jest --bail someTestPattern` then need to - // move the pattern from the `bail` configuration and into `argv._` - // to be processed as an extra parameter - - argv._.push(bail); - } else { - value = oldOptions[key]; - } - - break; - } - - case 'displayName': { - const displayName = oldOptions[key]; - /** - * Ensuring that displayName shape is correct here so that the - * reporters can trust the shape of the data - */ - - if (typeof displayName === 'object') { - const {name, color} = displayName; - - if ( - !name || - !color || - typeof name !== 'string' || - typeof color !== 'string' - ) { - const errorMessage = - ` Option "${_chalk().default.bold( - 'displayName' - )}" must be of type:\n\n` + - ' {\n' + - ' name: string;\n' + - ' color: string;\n' + - ' }\n'; - throw createConfigError(errorMessage); - } - - value = oldOptions[key]; - } else { - value = { - color: (0, _color.getDisplayNameColor)(options.runner), - name: displayName - }; - } - - break; - } - - case 'testTimeout': { - if (oldOptions[key] < 0) { - throw createConfigError( - ` Option "${_chalk().default.bold( - 'testTimeout' - )}" must be a natural number.` - ); - } - - value = oldOptions[key]; - break; - } - - case 'automock': - case 'cache': - case 'changedSince': - case 'changedFilesWithAncestor': - case 'clearMocks': - case 'collectCoverage': - case 'coverageProvider': - case 'coverageReporters': - case 'coverageThreshold': - case 'detectLeaks': - case 'detectOpenHandles': - case 'errorOnDeprecated': - case 'expand': - case 'extensionsToTreatAsEsm': - case 'extraGlobals': - case 'globals': - case 'findRelatedTests': - case 'forceCoverageMatch': - case 'forceExit': - case 'injectGlobals': - case 'lastCommit': - case 'listTests': - case 'logHeapUsage': - case 'maxConcurrency': - case 'name': - case 'noStackTrace': - case 'notify': - case 'notifyMode': - case 'onlyChanged': - case 'onlyFailures': - case 'outputFile': - case 'passWithNoTests': - case 'replname': - case 'reporters': - case 'resetMocks': - case 'resetModules': - case 'restoreMocks': - case 'rootDir': - case 'runTestsByPath': - case 'silent': - case 'skipFilter': - case 'skipNodeResolution': - case 'slowTestThreshold': - case 'snapshotFormat': - case 'testEnvironment': - case 'testEnvironmentOptions': - case 'testFailureExitCode': - case 'testLocationInResults': - case 'testNamePattern': - case 'testURL': - case 'timers': - case 'useStderr': - case 'verbose': - case 'watch': - case 'watchAll': - case 'watchman': - value = oldOptions[key]; - break; - - case 'watchPlugins': - value = (oldOptions[key] || []).map(watchPlugin => { - if (typeof watchPlugin === 'string') { - return { - config: {}, - path: (0, _jestResolve().resolveWatchPlugin)( - newOptions.resolver, - { - filePath: watchPlugin, - requireResolveFunction: require.resolve, - rootDir: options.rootDir - } - ) - }; - } else { - return { - config: watchPlugin[1] || {}, - path: (0, _jestResolve().resolveWatchPlugin)( - newOptions.resolver, - { - filePath: watchPlugin[0], - requireResolveFunction: require.resolve, - rootDir: options.rootDir - } - ) - }; - } - }); - break; - } // @ts-expect-error: automock is missing in GlobalConfig, so what - - newOptions[key] = value; - return newOptions; - }, newOptions); - - if ( - options.watchman && - (_options$haste = options.haste) !== null && - _options$haste !== void 0 && - _options$haste.enableSymlinks - ) { - throw new (_jestValidate().ValidationError)( - 'Validation Error', - 'haste.enableSymlinks is incompatible with watchman', - 'Either set haste.enableSymlinks to false or do not use watchman' - ); - } - - newOptions.roots.forEach((root, i) => { - verifyDirectoryExists(root, `roots[${i}]`); - }); - - try { - // try to resolve windows short paths, ignoring errors (permission errors, mostly) - newOptions.cwd = (0, _jestUtil().tryRealpath)(process.cwd()); - } catch { - // ignored - } - - newOptions.testSequencer = (0, _jestResolve().resolveSequencer)( - newOptions.resolver, - { - filePath: - options.testSequencer || - require.resolve(_Defaults.default.testSequencer), - requireResolveFunction: require.resolve, - rootDir: options.rootDir - } - ); - - if (newOptions.runner === _Defaults.default.runner) { - newOptions.runner = require.resolve(newOptions.runner); - } - - newOptions.nonFlagArgs = - (_argv$_ = argv._) === null || _argv$_ === void 0 - ? void 0 - : _argv$_.map(arg => `${arg}`); - newOptions.testPathPattern = buildTestPathPattern(argv); - newOptions.json = !!argv.json; - newOptions.testFailureExitCode = parseInt(newOptions.testFailureExitCode, 10); - - if ( - newOptions.lastCommit || - newOptions.changedFilesWithAncestor || - newOptions.changedSince - ) { - newOptions.onlyChanged = true; - } - - if (argv.all) { - newOptions.onlyChanged = false; - newOptions.onlyFailures = false; - } else if (newOptions.testPathPattern) { - // When passing a test path pattern we don't want to only monitor changed - // files unless `--watch` is also passed. - newOptions.onlyChanged = newOptions.watch; - } - - if (!newOptions.onlyChanged) { - newOptions.onlyChanged = false; - } - - if (!newOptions.lastCommit) { - newOptions.lastCommit = false; - } - - if (!newOptions.onlyFailures) { - newOptions.onlyFailures = false; - } - - if (!newOptions.watchAll) { - newOptions.watchAll = false; - } // as unknown since it can happen. We really need to fix the types here - - if (newOptions.moduleNameMapper === _Defaults.default.moduleNameMapper) { - newOptions.moduleNameMapper = []; - } - - newOptions.updateSnapshot = - argv.ci && !argv.updateSnapshot - ? 'none' - : argv.updateSnapshot - ? 'all' - : 'new'; - newOptions.maxConcurrency = parseInt(newOptions.maxConcurrency, 10); - newOptions.maxWorkers = (0, _getMaxWorkers.default)(argv, options); - - if (newOptions.testRegex.length && options.testMatch) { - throw createConfigError( - ` Configuration options ${_chalk().default.bold('testMatch')} and` + - ` ${_chalk().default.bold('testRegex')} cannot be used together.` - ); - } - - if (newOptions.testRegex.length && !options.testMatch) { - // Prevent the default testMatch conflicting with any explicitly - // configured `testRegex` value - newOptions.testMatch = []; - } // If argv.json is set, coverageReporters shouldn't print a text report. - - if (argv.json) { - newOptions.coverageReporters = (newOptions.coverageReporters || []).filter( - reporter => reporter !== 'text' - ); - } // If collectCoverage is enabled while using --findRelatedTests we need to - // avoid having false negatives in the generated coverage report. - // The following: `--findRelatedTests '/rootDir/file1.js' --coverage` - // Is transformed to: `--findRelatedTests '/rootDir/file1.js' --coverage --collectCoverageFrom 'file1.js'` - // where arguments to `--collectCoverageFrom` should be globs (or relative - // paths to the rootDir) - - if (newOptions.collectCoverage && argv.findRelatedTests) { - let collectCoverageFrom = newOptions.nonFlagArgs.map(filename => { - filename = (0, _utils.replaceRootDirInPath)(options.rootDir, filename); - return path().isAbsolute(filename) - ? path().relative(options.rootDir, filename) - : filename; - }); // Don't override existing collectCoverageFrom options - - if (newOptions.collectCoverageFrom) { - collectCoverageFrom = collectCoverageFrom.reduce((patterns, filename) => { - if ( - (0, _micromatch().default)( - [ - (0, _jestUtil().replacePathSepForGlob)( - path().relative(options.rootDir, filename) - ) - ], - newOptions.collectCoverageFrom - ).length === 0 - ) { - return patterns; - } - - return [...patterns, filename]; - }, newOptions.collectCoverageFrom); - } - - newOptions.collectCoverageFrom = collectCoverageFrom; - } else if (!newOptions.collectCoverageFrom) { - newOptions.collectCoverageFrom = []; - } - - if (!newOptions.findRelatedTests) { - newOptions.findRelatedTests = false; - } - - if (!newOptions.projects) { - newOptions.projects = []; - } - - if (!newOptions.extraGlobals) { - newOptions.extraGlobals = []; - } - - if (!newOptions.forceExit) { - newOptions.forceExit = false; - } - - if (!newOptions.logHeapUsage) { - newOptions.logHeapUsage = false; - } - - return { - hasDeprecationWarnings, - options: newOptions - }; -} diff --git a/node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts b/node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts deleted file mode 100644 index 0b5a48f..0000000 --- a/node_modules/jest-config/build/readConfigFileAndSetRootDir.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. - */ -import type { Config } from '@jest/types'; -export default function readConfigFileAndSetRootDir(configPath: Config.Path): Promise; diff --git a/node_modules/jest-config/build/readConfigFileAndSetRootDir.js b/node_modules/jest-config/build/readConfigFileAndSetRootDir.js deleted file mode 100644 index af94d21..0000000 --- a/node_modules/jest-config/build/readConfigFileAndSetRootDir.js +++ /dev/null @@ -1,204 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = readConfigFileAndSetRootDir; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function fs() { - const data = _interopRequireWildcard(require('graceful-fs')); - - fs = function () { - return data; - }; - - return data; -} - -function _parseJson() { - const data = _interopRequireDefault(require('parse-json')); - - _parseJson = function () { - return data; - }; - - return data; -} - -function _stripJsonComments() { - const data = _interopRequireDefault(require('strip-json-comments')); - - _stripJsonComments = function () { - return data; - }; - - return data; -} - -function _jestUtil() { - const data = require('jest-util'); - - _jestUtil = function () { - return data; - }; - - return data; -} - -var _constants = require('./constants'); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -// Read the configuration and set its `rootDir` -// 1. If it's a `package.json` file, we look into its "jest" property -// 2. If it's a `jest.config.ts` file, we use `ts-node` to transpile & require it -// 3. For any other file, we just require it. If we receive an 'ERR_REQUIRE_ESM' -// from node, perform a dynamic import instead. -async function readConfigFileAndSetRootDir(configPath) { - const isTS = configPath.endsWith(_constants.JEST_CONFIG_EXT_TS); - const isJSON = configPath.endsWith(_constants.JEST_CONFIG_EXT_JSON); - let configObject; - - try { - if (isTS) { - configObject = await loadTSConfigFile(configPath); - } else if (isJSON) { - const fileContent = fs().readFileSync(configPath, 'utf8'); - configObject = (0, _parseJson().default)( - (0, _stripJsonComments().default)(fileContent), - configPath - ); - } else { - configObject = await (0, _jestUtil().requireOrImportModule)(configPath); - } - } catch (error) { - if (isTS) { - throw new Error( - `Jest: Failed to parse the TypeScript config file ${configPath}\n` + - ` ${error}` - ); - } - - throw error; - } - - if (configPath.endsWith(_constants.PACKAGE_JSON)) { - // Event if there's no "jest" property in package.json we will still use - // an empty object. - configObject = configObject.jest || {}; - } - - if (typeof configObject === 'function') { - configObject = await configObject(); - } - - if (configObject.rootDir) { - // We don't touch it if it has an absolute path specified - if (!path().isAbsolute(configObject.rootDir)) { - // otherwise, we'll resolve it relative to the file's __dirname - configObject.rootDir = path().resolve( - path().dirname(configPath), - configObject.rootDir - ); - } - } else { - // If rootDir is not there, we'll set it to this file's __dirname - configObject.rootDir = path().dirname(configPath); - } - - return configObject; -} - -let registerer; // Load the TypeScript configuration - -const loadTSConfigFile = async configPath => { - // Register TypeScript compiler instance - try { - registerer || - (registerer = require('ts-node').register({ - compilerOptions: { - module: 'CommonJS' - } - })); - } catch (e) { - if (e.code === 'MODULE_NOT_FOUND') { - throw new Error( - `Jest: 'ts-node' is required for the TypeScript configuration files. Make sure it is installed\nError: ${e.message}` - ); - } - - throw e; - } - - registerer.enabled(true); - let configObject = (0, _jestUtil().interopRequireDefault)( - require(configPath) - ).default; // In case the config is a function which imports more Typescript code - - if (typeof configObject === 'function') { - configObject = await configObject(); - } - - registerer.enabled(false); - return configObject; -}; diff --git a/node_modules/jest-config/build/resolveConfigPath.d.ts b/node_modules/jest-config/build/resolveConfigPath.d.ts deleted file mode 100644 index cb7ae74..0000000 --- a/node_modules/jest-config/build/resolveConfigPath.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. - */ -import type { Config } from '@jest/types'; -export default function resolveConfigPath(pathToResolve: Config.Path, cwd: Config.Path, skipMultipleConfigWarning?: boolean): Config.Path; diff --git a/node_modules/jest-config/build/resolveConfigPath.js b/node_modules/jest-config/build/resolveConfigPath.js deleted file mode 100644 index 12472b0..0000000 --- a/node_modules/jest-config/build/resolveConfigPath.js +++ /dev/null @@ -1,247 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = resolveConfigPath; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function fs() { - const data = _interopRequireWildcard(require('graceful-fs')); - - fs = function () { - return data; - }; - - return data; -} - -function _slash() { - const data = _interopRequireDefault(require('slash')); - - _slash = function () { - return data; - }; - - return data; -} - -var _constants = require('./constants'); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -const isFile = filePath => - fs().existsSync(filePath) && !fs().lstatSync(filePath).isDirectory(); - -const getConfigFilename = ext => _constants.JEST_CONFIG_BASE_NAME + ext; - -function resolveConfigPath( - pathToResolve, - cwd, - skipMultipleConfigWarning = false -) { - if (!path().isAbsolute(cwd)) { - throw new Error(`"cwd" must be an absolute path. cwd: ${cwd}`); - } - - const absolutePath = path().isAbsolute(pathToResolve) - ? pathToResolve - : path().resolve(cwd, pathToResolve); - - if (isFile(absolutePath)) { - return absolutePath; - } // This is a guard against passing non existing path as a project/config, - // that will otherwise result in a very confusing situation. - // e.g. - // With a directory structure like this: - // my_project/ - // package.json - // - // Passing a `my_project/some_directory_that_doesnt_exist` as a project - // name will resolve into a (possibly empty) `my_project/package.json` and - // try to run all tests it finds under `my_project` directory. - - if (!fs().existsSync(absolutePath)) { - throw new Error( - "Can't find a root directory while resolving a config file path.\n" + - `Provided path to resolve: ${pathToResolve}\n` + - `cwd: ${cwd}` - ); - } - - return resolveConfigPathByTraversing( - absolutePath, - pathToResolve, - cwd, - skipMultipleConfigWarning - ); -} - -const resolveConfigPathByTraversing = ( - pathToResolve, - initialPath, - cwd, - skipMultipleConfigWarning -) => { - const configFiles = _constants.JEST_CONFIG_EXT_ORDER.map(ext => - path().resolve(pathToResolve, getConfigFilename(ext)) - ).filter(isFile); - - const packageJson = findPackageJson(pathToResolve); - - if (packageJson && hasPackageJsonJestKey(packageJson)) { - configFiles.push(packageJson); - } - - if (!skipMultipleConfigWarning && configFiles.length > 1) { - console.warn(makeMultipleConfigsWarning(configFiles)); - } - - if (configFiles.length > 0 || packageJson) { - var _configFiles$; - - return (_configFiles$ = configFiles[0]) !== null && _configFiles$ !== void 0 - ? _configFiles$ - : packageJson; - } // This is the system root. - // We tried everything, config is nowhere to be found ¯\_(ツ)_/¯ - - if (pathToResolve === path().dirname(pathToResolve)) { - throw new Error(makeResolutionErrorMessage(initialPath, cwd)); - } // go up a level and try it again - - return resolveConfigPathByTraversing( - path().dirname(pathToResolve), - initialPath, - cwd, - skipMultipleConfigWarning - ); -}; - -const findPackageJson = pathToResolve => { - const packagePath = path().resolve(pathToResolve, _constants.PACKAGE_JSON); - - if (isFile(packagePath)) { - return packagePath; - } - - return undefined; -}; - -const hasPackageJsonJestKey = packagePath => { - const content = fs().readFileSync(packagePath, 'utf8'); - - try { - return 'jest' in JSON.parse(content); - } catch { - // If package is not a valid JSON - return false; - } -}; - -const makeResolutionErrorMessage = (initialPath, cwd) => - 'Could not find a config file based on provided values:\n' + - `path: "${initialPath}"\n` + - `cwd: "${cwd}"\n` + - 'Config paths must be specified by either a direct path to a config\n' + - 'file, or a path to a directory. If directory is given, Jest will try to\n' + - `traverse directory tree up, until it finds one of those files in exact order: ${_constants.JEST_CONFIG_EXT_ORDER.map( - ext => `"${getConfigFilename(ext)}"` - ).join(' or ')}.`; - -function extraIfPackageJson(configPath) { - if (configPath.endsWith(_constants.PACKAGE_JSON)) { - return '`jest` key in '; - } - - return ''; -} - -const makeMultipleConfigsWarning = configPaths => - _chalk().default.yellow( - [ - _chalk().default.bold('\u25cf Multiple configurations found:'), - ...configPaths.map( - configPath => - ` * ${extraIfPackageJson(configPath)}${(0, _slash().default)( - configPath - )}` - ), - '', - ' Implicit config resolution does not allow multiple configuration files.', - ' Either remove unused config files or select one explicitly with `--config`.', - '', - ' Configuration Documentation:', - ' https://jestjs.io/docs/configuration.html', - '' - ].join('\n') - ); diff --git a/node_modules/jest-config/build/setFromArgv.d.ts b/node_modules/jest-config/build/setFromArgv.d.ts deleted file mode 100644 index 1e45a95..0000000 --- a/node_modules/jest-config/build/setFromArgv.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. - */ -import type { Config } from '@jest/types'; -export default function setFromArgv(options: Config.InitialOptions, argv: Config.Argv): Config.InitialOptions; diff --git a/node_modules/jest-config/build/setFromArgv.js b/node_modules/jest-config/build/setFromArgv.js deleted file mode 100644 index 1cc08bd..0000000 --- a/node_modules/jest-config/build/setFromArgv.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = setFromArgv; - -var _utils = require('./utils'); - -/** - * 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 specialArgs = ['_', '$0', 'h', 'help', 'config']; - -function setFromArgv(options, argv) { - const argvToOptions = Object.keys(argv) - .filter(key => argv[key] !== undefined && specialArgs.indexOf(key) === -1) - .reduce((options, key) => { - switch (key) { - case 'coverage': - options.collectCoverage = argv[key]; - break; - - case 'json': - options.useStderr = argv[key]; - break; - - case 'watchAll': - options.watch = false; - options.watchAll = argv[key]; - break; - - case 'env': - options.testEnvironment = argv[key]; - break; - - case 'config': - break; - - case 'coverageThreshold': - case 'globals': - case 'haste': - case 'moduleNameMapper': - case 'testEnvironmentOptions': - case 'transform': - const str = argv[key]; - - if ((0, _utils.isJSONString)(str)) { - options[key] = JSON.parse(str); - } - - break; - - default: - options[key] = argv[key]; - } - - return options; - }, {}); - return { - ...options, - ...((0, _utils.isJSONString)(argv.config) ? JSON.parse(argv.config) : null), - ...argvToOptions - }; -} diff --git a/node_modules/jest-config/build/utils.d.ts b/node_modules/jest-config/build/utils.d.ts deleted file mode 100644 index 11fe1af..0000000 --- a/node_modules/jest-config/build/utils.d.ts +++ /dev/null @@ -1,27 +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 } from '@jest/types'; -declare type ResolveOptions = { - rootDir: Config.Path; - key: string; - filePath: Config.Path; - optional?: boolean; -}; -export declare const BULLET: string; -export declare const DOCUMENTATION_NOTE: string; -export declare const resolve: (resolver: string | null | undefined, { key, filePath, rootDir, optional }: ResolveOptions) => string; -export declare const escapeGlobCharacters: (path: Config.Path) => Config.Glob; -export declare const replaceRootDirInPath: (rootDir: Config.Path, filePath: Config.Path) => string; -declare type OrArray = T | Array; -declare type ReplaceRootDirConfigObj = Record; -declare type ReplaceRootDirConfigValues = OrArray | OrArray | OrArray; -export declare const _replaceRootDirTags: (rootDir: Config.Path, config: T) => T; -declare type JSONString = string & { - readonly $$type: never; -}; -export declare const isJSONString: (text?: string | JSONString | undefined) => text is JSONString; -export {}; diff --git a/node_modules/jest-config/build/utils.js b/node_modules/jest-config/build/utils.js deleted file mode 100644 index 21fde86..0000000 --- a/node_modules/jest-config/build/utils.js +++ /dev/null @@ -1,209 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.resolve = - exports.replaceRootDirInPath = - exports.isJSONString = - exports.escapeGlobCharacters = - exports._replaceRootDirTags = - exports.DOCUMENTATION_NOTE = - exports.BULLET = - void 0; - -function path() { - const data = _interopRequireWildcard(require('path')); - - path = function () { - return data; - }; - - return data; -} - -function _chalk() { - const data = _interopRequireDefault(require('chalk')); - - _chalk = function () { - return data; - }; - - return data; -} - -function _jestResolve() { - const data = _interopRequireDefault(require('jest-resolve')); - - _jestResolve = function () { - return data; - }; - - return data; -} - -function _jestValidate() { - const data = require('jest-validate'); - - _jestValidate = function () { - return data; - }; - - return data; -} - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - */ -const BULLET = _chalk().default.bold('\u25cf '); - -exports.BULLET = BULLET; -const DOCUMENTATION_NOTE = ` ${_chalk().default.bold( - 'Configuration Documentation:' -)} - https://jestjs.io/docs/configuration -`; -exports.DOCUMENTATION_NOTE = DOCUMENTATION_NOTE; - -const createValidationError = message => - new (_jestValidate().ValidationError)( - `${BULLET}Validation Error`, - message, - DOCUMENTATION_NOTE - ); - -const resolve = (resolver, {key, filePath, rootDir, optional}) => { - const module = _jestResolve().default.findNodeModule( - replaceRootDirInPath(rootDir, filePath), - { - basedir: rootDir, - resolver: resolver || undefined - } - ); - - if (!module && !optional) { - throw createValidationError(` Module ${_chalk().default.bold( - filePath - )} in the ${_chalk().default.bold(key)} option was not found. - ${_chalk().default.bold('')} is: ${rootDir}`); - } /// can cast as string since nulls will be thrown - - return module; -}; - -exports.resolve = resolve; - -const escapeGlobCharacters = path => path.replace(/([()*{}\[\]!?\\])/g, '\\$1'); - -exports.escapeGlobCharacters = escapeGlobCharacters; - -const replaceRootDirInPath = (rootDir, filePath) => { - if (!/^/.test(filePath)) { - return filePath; - } - - return path().resolve( - rootDir, - path().normalize('./' + filePath.substring(''.length)) - ); -}; - -exports.replaceRootDirInPath = replaceRootDirInPath; - -const _replaceRootDirInObject = (rootDir, config) => { - const newConfig = {}; - - for (const configKey in config) { - newConfig[configKey] = - configKey === 'rootDir' - ? config[configKey] - : _replaceRootDirTags(rootDir, config[configKey]); - } - - return newConfig; -}; - -const _replaceRootDirTags = (rootDir, config) => { - if (config == null) { - return config; - } - - switch (typeof config) { - case 'object': - if (Array.isArray(config)) { - /// can be string[] or {}[] - return config.map(item => _replaceRootDirTags(rootDir, item)); - } - - if (config instanceof RegExp) { - return config; - } - - return _replaceRootDirInObject(rootDir, config); - - case 'string': - return replaceRootDirInPath(rootDir, config); - } - - return config; -}; - -exports._replaceRootDirTags = _replaceRootDirTags; - -// newtype -const isJSONString = text => - text != null && - typeof text === 'string' && - text.startsWith('{') && - text.endsWith('}'); - -exports.isJSONString = isJSONString; diff --git a/node_modules/jest-config/build/validatePattern.d.ts b/node_modules/jest-config/build/validatePattern.d.ts deleted file mode 100644 index 8f15207..0000000 --- a/node_modules/jest-config/build/validatePattern.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 validatePattern(pattern?: string): boolean; diff --git a/node_modules/jest-config/build/validatePattern.js b/node_modules/jest-config/build/validatePattern.js deleted file mode 100644 index d18752e..0000000 --- a/node_modules/jest-config/build/validatePattern.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = validatePattern; - -/** - * 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 validatePattern(pattern) { - if (pattern) { - try { - // eslint-disable-next-line no-new - new RegExp(pattern, 'i'); - } catch { - return false; - } - } - - return true; -} diff --git a/node_modules/jest-config/package.json b/node_modules/jest-config/package.json deleted file mode 100644 index 307634d..0000000 --- a/node_modules/jest-config/package.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "name": "jest-config", - "version": "27.5.1", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-config" - }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" - }, - "peerDependencies": { - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "ts-node": { - "optional": true - } - }, - "dependencies": { - "@babel/core": "^7.8.0", - "@jest/test-sequencer": "^27.5.1", - "@jest/types": "^27.5.1", - "babel-jest": "^27.5.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.1", - "graceful-fs": "^4.2.9", - "jest-circus": "^27.5.1", - "jest-environment-jsdom": "^27.5.1", - "jest-environment-node": "^27.5.1", - "jest-get-type": "^27.5.1", - "jest-jasmine2": "^27.5.1", - "jest-regex-util": "^27.5.1", - "jest-resolve": "^27.5.1", - "jest-runner": "^27.5.1", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "devDependencies": { - "@types/glob": "^7.1.1", - "@types/graceful-fs": "^4.1.3", - "@types/micromatch": "^4.0.1", - "semver": "^7.3.5", - "ts-node": "^9.0.0", - "typescript": "^4.0.3" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" -} diff --git a/node_modules/jest-diff/LICENSE b/node_modules/jest-diff/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-diff/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-diff/README.md b/node_modules/jest-diff/README.md deleted file mode 100644 index d52f821..0000000 --- a/node_modules/jest-diff/README.md +++ /dev/null @@ -1,671 +0,0 @@ -# jest-diff - -Display differences clearly so people can review changes confidently. - -The `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines. - -Two named exports compare **strings** character-by-character: - -- `diffStringsUnified` returns a string. -- `diffStringsRaw` returns an array of `Diff` objects. - -Three named exports compare **arrays of strings** line-by-line: - -- `diffLinesUnified` and `diffLinesUnified2` return a string. -- `diffLinesRaw` returns an array of `Diff` objects. - -## Installation - -To add this package as a dependency of a project, run either of the following commands: - -- `npm install jest-diff` -- `yarn add jest-diff` - -## Usage of `diff()` - -Given JavaScript **values**, `diff(a, b, options?)` does the following: - -1. **serialize** the values as strings using the `pretty-format` package -2. **compare** the strings line-by-line using the `diff-sequences` package -3. **format** the changed or common lines using the `chalk` package - -To use this function, write either of the following: - -- `const {diff} = require('jest-diff');` in CommonJS modules -- `import {diff} from 'jest-diff';` in ECMAScript modules - -### Example of `diff()` - -```js -const a = ['delete', 'common', 'changed from']; -const b = ['common', 'changed to', 'insert']; - -const difference = diff(a, b); -``` - -The returned **string** consists of: - -- annotation lines: describe the two change indicators with labels, and a blank line -- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options) - -```diff -- Expected -+ Received - - Array [ -- "delete", - "common", -- "changed from", -+ "changed to", -+ "insert", - ] -``` - -### Edge cases of `diff()` - -Here are edge cases for the return value: - -- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type) -- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package -- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest - -## Usage of diffStringsUnified - -Given **strings**, `diffStringsUnified(a, b, options?)` does the following: - -1. **compare** the strings character-by-character using the `diff-sequences` package -2. **clean up** small (often coincidental) common substrings, also known as chaff -3. **format** the changed or common lines using the `chalk` package - -Although the function is mainly for **multiline** strings, it compares any strings. - -Write either of the following: - -- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules -- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules - -### Example of diffStringsUnified - -```js -const a = 'common\nchanged from'; -const b = 'common\nchanged to'; - -const difference = diffStringsUnified(a, b); -``` - -The returned **string** consists of: - -- annotation lines: describe the two change indicators with labels, and a blank line -- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show) - -```diff -- Expected -+ Received - - common -- changed from -+ changed to -``` - -### Performance of diffStringsUnified - -To get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison. - -If the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters. - -## Usage of diffLinesUnified - -Given **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following: - -1. **compare** the arrays line-by-line using the `diff-sequences` package -2. **format** the changed or common lines using the `chalk` package - -You might call this function when strings have been split into lines and you do not need to see changed substrings within lines. - -### Example of diffLinesUnified - -```js -const aLines = ['delete', 'common', 'changed from']; -const bLines = ['common', 'changed to', 'insert']; - -const difference = diffLinesUnified(aLines, bLines); -``` - -```diff -- Expected -+ Received - -- delete - common -- changed from -+ changed to -+ insert -``` - -### Edge cases of diffLinesUnified or diffStringsUnified - -Here are edge cases for arguments and return values: - -- both `a` and `b` are empty strings: no comparison lines -- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options) -- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options) -- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options) - -## Usage of diffLinesUnified2 - -Given two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following: - -1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package -2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package - -Jest calls this function to consider lines as common instead of changed if the only difference is indentation. - -You might call this function for case insensitive or Unicode equivalence comparison of lines. - -### Example of diffLinesUnified2 - -```js -import {format} from 'pretty-format'; - -const a = { - text: 'Ignore indentation in serialized object', - time: '2019-09-19T12:34:56.000Z', - type: 'CREATE_ITEM', -}; -const b = { - payload: { - text: 'Ignore indentation in serialized object', - time: '2019-09-19T12:34:56.000Z', - }, - type: 'CREATE_ITEM', -}; - -const difference = diffLinesUnified2( - // serialize with indentation to display lines - format(a).split('\n'), - format(b).split('\n'), - // serialize without indentation to compare lines - format(a, {indent: 0}).split('\n'), - format(b, {indent: 0}).split('\n'), -); -``` - -The `text` and `time` properties are common, because their only difference is indentation: - -```diff -- Expected -+ Received - - Object { -+ payload: Object { - text: 'Ignore indentation in serialized object', - time: '2019-09-19T12:34:56.000Z', -+ }, - type: 'CREATE_ITEM', - } -``` - -The preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array. - -## Usage of diffStringsRaw - -Given **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following: - -1. **compare** the strings character-by-character using the `diff-sequences` package -2. optionally **clean up** small (often coincidental) common substrings, also known as chaff - -Because `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console). - -The returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples: - -The value at index `0` is one of the following: - -| value | named export | description | -| ----: | :------------ | :-------------------- | -| `0` | `DIFF_EQUAL` | in `a` and in `b` | -| `-1` | `DIFF_DELETE` | in `a` but not in `b` | -| `1` | `DIFF_INSERT` | in `b` but not in `a` | - -The value at index `1` is a substring of `a` or `b` or both. - -### Example of diffStringsRaw with cleanup - -```js -const diffs = diffStringsRaw('changed from', 'changed to', true); -``` - -| `i` | `diffs[i][0]` | `diffs[i][1]` | -| --: | ------------: | :------------ | -| `0` | `0` | `'changed '` | -| `1` | `-1` | `'from'` | -| `2` | `1` | `'to'` | - -### Example of diffStringsRaw without cleanup - -```js -const diffs = diffStringsRaw('changed from', 'changed to', false); -``` - -| `i` | `diffs[i][0]` | `diffs[i][1]` | -| --: | ------------: | :------------ | -| `0` | `0` | `'changed '` | -| `1` | `-1` | `'fr'` | -| `2` | `1` | `'t'` | -| `3` | `0` | `'o'` | -| `4` | `-1` | `'m'` | - -### Advanced import for diffStringsRaw - -Here are all the named imports that you might need for the `diffStringsRaw` function: - -- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules -- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules - -To write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations). - -If you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor: - -```js -const diffCommon = new Diff(DIFF_EQUAL, 'changed '); -const diffDelete = new Diff(DIFF_DELETE, 'from'); -const diffInsert = new Diff(DIFF_INSERT, 'to'); -``` - -## Usage of diffLinesRaw - -Given **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following: - -- **compare** the arrays line-by-line using the `diff-sequences` package - -Because `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires. - -### Example of diffLinesRaw - -```js -const aLines = ['delete', 'common', 'changed from']; -const bLines = ['common', 'changed to', 'insert']; - -const diffs = diffLinesRaw(aLines, bLines); -``` - -| `i` | `diffs[i][0]` | `diffs[i][1]` | -| --: | ------------: | :--------------- | -| `0` | `-1` | `'delete'` | -| `1` | `0` | `'common'` | -| `2` | `-1` | `'changed from'` | -| `3` | `1` | `'changed to'` | -| `4` | `1` | `'insert'` | - -### Edge case of diffLinesRaw - -If you call `string.split('\n')` for an empty string: - -- the result is `['']` an array which contains an empty string -- instead of `[]` an empty array - -Depending of your application, you might call `diffLinesRaw` with either array. - -### Example of split method - -```js -import {diffLinesRaw} from 'jest-diff'; - -const a = 'non-empty string'; -const b = ''; - -const diffs = diffLinesRaw(a.split('\n'), b.split('\n')); -``` - -| `i` | `diffs[i][0]` | `diffs[i][1]` | -| --: | ------------: | :------------------- | -| `0` | `-1` | `'non-empty string'` | -| `1` | `1` | `''` | - -Which you might format as follows: - -```diff -- Expected - 1 -+ Received + 1 - -- non-empty string -+ -``` - -### Example of splitLines0 function - -For edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array: - -```js -export const splitLines0 = string => - string.length === 0 ? [] : string.split('\n'); -``` - -```js -import {diffLinesRaw} from 'jest-diff'; - -const a = ''; -const b = 'line 1\nline 2\nline 3'; - -const diffs = diffLinesRaw(a.split('\n'), b.split('\n')); -``` - -| `i` | `diffs[i][0]` | `diffs[i][1]` | -| --: | ------------: | :------------ | -| `0` | `1` | `'line 1'` | -| `1` | `1` | `'line 2'` | -| `2` | `1` | `'line 3'` | - -Which you might format as follows: - -```diff -- Expected - 0 -+ Received + 3 - -+ line 1 -+ line 2 -+ line 3 -``` - -In contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function. - -## Options - -The default options are for the report when an assertion fails from the `expect` package used by Jest. - -For other applications, you can provide an options object as a third argument: - -- `diff(a, b, options)` -- `diffStringsUnified(a, b, options)` -- `diffLinesUnified(aLines, bLines, options)` -- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)` - -### Properties of options object - -| name | default | -| :-------------------------------- | :----------------- | -| `aAnnotation` | `'Expected'` | -| `aColor` | `chalk.green` | -| `aIndicator` | `'-'` | -| `bAnnotation` | `'Received'` | -| `bColor` | `chalk.red` | -| `bIndicator` | `'+'` | -| `changeColor` | `chalk.inverse` | -| `changeLineTrailingSpaceColor` | `string => string` | -| `commonColor` | `chalk.dim` | -| `commonIndicator` | `' '` | -| `commonLineTrailingSpaceColor` | `string => string` | -| `compareKeys` | `undefined` | -| `contextLines` | `5` | -| `emptyFirstOrLastLinePlaceholder` | `''` | -| `expand` | `true` | -| `includeChangeCounts` | `false` | -| `omitAnnotationLines` | `false` | -| `patchColor` | `chalk.yellow` | - -For more information about the options, see the following examples. - -### Example of options for labels - -If the application is code modification, you might replace the labels: - -```js -const options = { - aAnnotation: 'Original', - bAnnotation: 'Modified', -}; -``` - -```diff -- Original -+ Modified - - common -- changed from -+ changed to -``` - -The `jest-diff` package does not assume that the 2 labels have equal length. - -### Example of options for colors of changed lines - -For consistency with most diff tools, you might exchange the colors: - -```ts -import chalk = require('chalk'); - -const options = { - aColor: chalk.red, - bColor: chalk.green, -}; -``` - -### Example of option for color of changed substrings - -Although the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color: - -```ts -import chalk = require('chalk'); - -const options = { - changeColor: chalk.bold.bgYellowBright, -}; -``` - -### Example of option to format trailing spaces - -Because `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\s+$/` regular expression. - -- If change lines have a background color, then you can see trailing spaces. -- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them. - -```js -const options = { - aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta - bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green - commonLineTrailingSpaceColor: chalk.bgYellow, -}; -``` - -The value of a Color option is a function, which given a string, returns a string. - -If you want to replace trailing spaces with middle dot characters: - -```js -const replaceSpacesWithMiddleDot = string => '·'.repeat(string.length); - -const options = { - changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot, - commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot, -}; -``` - -If you need the TypeScript type of a Color option: - -```ts -import {DiffOptionsColor} from 'jest-diff'; -``` - -### Example of options for no colors - -To store the difference in a file without escape codes for colors, provide an identity function: - -```js -const noColor = string => string; - -const options = { - aColor: noColor, - bColor: noColor, - changeColor: noColor, - commonColor: noColor, - patchColor: noColor, -}; -``` - -### Example of options for indicators - -For consistency with the `diff` command, you might replace the indicators: - -```js -const options = { - aIndicator: '<', - bIndicator: '>', -}; -``` - -The `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length. - -### Example of options to limit common lines - -By default, the output includes all common lines. - -To emphasize the changes, you might limit the number of common “context” lines: - -```js -const options = { - contextLines: 1, - expand: false, -}; -``` - -A patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines. - -### Example of option for color of patch marks - -If you want patch marks to have the same dim color as common lines: - -```ts -import chalk = require('chalk'); - -const options = { - expand: false, - patchColor: chalk.dim, -}; -``` - -### Example of option to include change counts - -To display the number of changed lines at the right of annotation lines: - -```js -const a = ['common', 'changed from']; -const b = ['common', 'changed to', 'insert']; - -const options = { - includeChangeCounts: true, -}; - -const difference = diff(a, b, options); -``` - -```diff -- Expected - 1 -+ Received + 2 - - Array [ - "common", -- "changed from", -+ "changed to", -+ "insert", - ] -``` - -### Example of option to omit annotation lines - -To display only the comparison lines: - -```js -const a = 'common\nchanged from'; -const b = 'common\nchanged to'; - -const options = { - omitAnnotationLines: true, -}; - -const difference = diffStringsUnified(a, b, options); -``` - -```diff - common -- changed from -+ changed to -``` - -### Example of option for empty first or last lines - -If the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it. - -The replacement option is a string whose default value is `''` empty string. - -Because Jest trims the report when a matcher fails, it deletes an empty last line. - -Therefore, Jest uses as placeholder the downwards arrow with corner leftwards: - -```js -const options = { - emptyFirstOrLastLinePlaceholder: '↵', // U+21B5 -}; -``` - -If a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators: - -| Indicator | untrimmed | trimmed | -| ----------------: | :-------- | :------ | -| `aIndicator` | `'-·'` | `'-'` | -| `bIndicator` | `'+·'` | `'+'` | -| `commonIndicator` | `' ·'` | `''` | - -### Example of option for sorting object keys - -When two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position. - -Use `compareKeys` to pass a function which will be used when sorting the object keys. - -```js -const a = {c: 'c', b: 'b1', a: 'a'}; -const b = {c: 'c', b: 'b2', a: 'a'}; - -const options = { - // The keys will be in their original order - compareKeys: () => 0, -}; - -const difference = diff(a, b, options); -``` - -```diff -- Expected -+ Received - - Object { - "c": "c", -- "b": "b1", -+ "b": "b2", - "a": "a", - } -``` - -Depending on the implementation of `compareKeys` any sort order can be used. - -```js -const a = {c: 'c', b: 'b1', a: 'a'}; -const b = {c: 'c', b: 'b2', a: 'a'}; - -const options = { - // The keys will be in reverse order - compareKeys: (a, b) => (a > b ? -1 : 1), -}; - -const difference = diff(a, b, options); -``` - -```diff -- Expected -+ Received - - Object { - "a": "a", -- "b": "b1", -+ "b": "b2", - "c": "c", - } -``` diff --git a/node_modules/jest-diff/build/cleanupSemantic.d.ts b/node_modules/jest-diff/build/cleanupSemantic.d.ts deleted file mode 100644 index fe662af..0000000 --- a/node_modules/jest-diff/build/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: Array) => void; -export { Diff, DIFF_EQUAL, DIFF_DELETE, DIFF_INSERT, diff_cleanupSemantic as cleanupSemantic, }; diff --git a/node_modules/jest-diff/build/cleanupSemantic.js b/node_modules/jest-diff/build/cleanupSemantic.js deleted file mode 100644 index 3ea0f01..0000000 --- a/node_modules/jest-diff/build/cleanupSemantic.js +++ /dev/null @@ -1,655 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.cleanupSemantic = - exports.Diff = - exports.DIFF_INSERT = - exports.DIFF_EQUAL = - exports.DIFF_DELETE = - void 0; - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; -} - -/** - * 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.' - */ -var DIFF_DELETE = -1; -exports.DIFF_DELETE = DIFF_DELETE; -var DIFF_INSERT = 1; -exports.DIFF_INSERT = DIFF_INSERT; -var DIFF_EQUAL = 0; -/** - * 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 - */ - -exports.DIFF_EQUAL = DIFF_EQUAL; - -class Diff { - constructor(op, text) { - _defineProperty(this, 0, void 0); - - _defineProperty(this, 1, void 0); - - this[0] = op; - this[1] = text; - } -} -/** - * Determine the common prefix of two strings. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {number} The number of characters common to the start of each - * string. - */ - -exports.Diff = Diff; - -var diff_commonPrefix = function (text1, text2) { - // Quick check for common null cases. - if (!text1 || !text2 || text1.charAt(0) != text2.charAt(0)) { - return 0; - } // Binary search. - // Performance analysis: https://neil.fraser.name/news/2007/10/09/ - - var pointermin = 0; - var pointermax = Math.min(text1.length, text2.length); - var pointermid = pointermax; - var pointerstart = 0; - - while (pointermin < pointermid) { - if ( - text1.substring(pointerstart, pointermid) == - text2.substring(pointerstart, pointermid) - ) { - pointermin = pointermid; - pointerstart = pointermin; - } else { - pointermax = pointermid; - } - - pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin); - } - - return pointermid; -}; -/** - * Determine the common suffix of two strings. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {number} The number of characters common to the end of each string. - */ - -var diff_commonSuffix = function (text1, text2) { - // Quick check for common null cases. - if ( - !text1 || - !text2 || - text1.charAt(text1.length - 1) != text2.charAt(text2.length - 1) - ) { - return 0; - } // Binary search. - // Performance analysis: https://neil.fraser.name/news/2007/10/09/ - - var pointermin = 0; - var pointermax = Math.min(text1.length, text2.length); - var pointermid = pointermax; - var pointerend = 0; - - while (pointermin < pointermid) { - if ( - text1.substring(text1.length - pointermid, text1.length - pointerend) == - text2.substring(text2.length - pointermid, text2.length - pointerend) - ) { - pointermin = pointermid; - pointerend = pointermin; - } else { - pointermax = pointermid; - } - - pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin); - } - - return pointermid; -}; -/** - * Determine if the suffix of one string is the prefix of another. - * @param {string} text1 First string. - * @param {string} text2 Second string. - * @return {number} The number of characters common to the end of the first - * string and the start of the second string. - * @private - */ - -var diff_commonOverlap_ = function (text1, text2) { - // Cache the text lengths to prevent multiple calls. - var text1_length = text1.length; - var text2_length = text2.length; // Eliminate the null case. - - if (text1_length == 0 || text2_length == 0) { - return 0; - } // Truncate the longer string. - - if (text1_length > text2_length) { - text1 = text1.substring(text1_length - text2_length); - } else if (text1_length < text2_length) { - text2 = text2.substring(0, text1_length); - } - - var text_length = Math.min(text1_length, text2_length); // Quick check for the worst case. - - if (text1 == text2) { - return text_length; - } // Start by looking for a single character match - // and increase length until no match is found. - // Performance analysis: https://neil.fraser.name/news/2010/11/04/ - - var best = 0; - var length = 1; - - while (true) { - var pattern = text1.substring(text_length - length); - var found = text2.indexOf(pattern); - - if (found == -1) { - return best; - } - - length += found; - - if ( - found == 0 || - text1.substring(text_length - length) == text2.substring(0, length) - ) { - best = length; - length++; - } - } -}; -/** - * Reduce the number of edits by eliminating semantically trivial equalities. - * @param {!Array.} diffs Array of diff tuples. - */ - -var diff_cleanupSemantic = function (diffs) { - var changes = false; - var equalities = []; // Stack of indices where equalities are found. - - var equalitiesLength = 0; // Keeping our own length var is faster in JS. - - /** @type {?string} */ - - var lastEquality = null; // Always equal to diffs[equalities[equalitiesLength - 1]][1] - - var pointer = 0; // Index of current position. - // Number of characters that changed prior to the equality. - - var length_insertions1 = 0; - var length_deletions1 = 0; // Number of characters that changed after the equality. - - var length_insertions2 = 0; - var length_deletions2 = 0; - - while (pointer < diffs.length) { - if (diffs[pointer][0] == DIFF_EQUAL) { - // Equality found. - equalities[equalitiesLength++] = pointer; - length_insertions1 = length_insertions2; - length_deletions1 = length_deletions2; - length_insertions2 = 0; - length_deletions2 = 0; - lastEquality = diffs[pointer][1]; - } else { - // An insertion or deletion. - if (diffs[pointer][0] == DIFF_INSERT) { - length_insertions2 += diffs[pointer][1].length; - } else { - length_deletions2 += diffs[pointer][1].length; - } // Eliminate an equality that is smaller or equal to the edits on both - // sides of it. - - if ( - lastEquality && - lastEquality.length <= - Math.max(length_insertions1, length_deletions1) && - lastEquality.length <= Math.max(length_insertions2, length_deletions2) - ) { - // Duplicate record. - diffs.splice( - equalities[equalitiesLength - 1], - 0, - new Diff(DIFF_DELETE, lastEquality) - ); // Change second copy to insert. - - diffs[equalities[equalitiesLength - 1] + 1][0] = DIFF_INSERT; // Throw away the equality we just deleted. - - equalitiesLength--; // Throw away the previous equality (it needs to be reevaluated). - - equalitiesLength--; - pointer = equalitiesLength > 0 ? equalities[equalitiesLength - 1] : -1; - length_insertions1 = 0; // Reset the counters. - - length_deletions1 = 0; - length_insertions2 = 0; - length_deletions2 = 0; - lastEquality = null; - changes = true; - } - } - - pointer++; - } // Normalize the diff. - - if (changes) { - diff_cleanupMerge(diffs); - } - - diff_cleanupSemanticLossless(diffs); // Find any overlaps between deletions and insertions. - // e.g: abcxxxxxxdef - // -> abcxxxdef - // e.g: xxxabcdefxxx - // -> defxxxabc - // Only extract an overlap if it is as big as the edit ahead or behind it. - - pointer = 1; - - while (pointer < diffs.length) { - if ( - diffs[pointer - 1][0] == DIFF_DELETE && - diffs[pointer][0] == DIFF_INSERT - ) { - var deletion = diffs[pointer - 1][1]; - var insertion = diffs[pointer][1]; - var overlap_length1 = diff_commonOverlap_(deletion, insertion); - var overlap_length2 = diff_commonOverlap_(insertion, deletion); - - if (overlap_length1 >= overlap_length2) { - if ( - overlap_length1 >= deletion.length / 2 || - overlap_length1 >= insertion.length / 2 - ) { - // Overlap found. Insert an equality and trim the surrounding edits. - diffs.splice( - pointer, - 0, - new Diff(DIFF_EQUAL, insertion.substring(0, overlap_length1)) - ); - diffs[pointer - 1][1] = deletion.substring( - 0, - deletion.length - overlap_length1 - ); - diffs[pointer + 1][1] = insertion.substring(overlap_length1); - pointer++; - } - } else { - if ( - overlap_length2 >= deletion.length / 2 || - overlap_length2 >= insertion.length / 2 - ) { - // Reverse overlap found. - // Insert an equality and swap and trim the surrounding edits. - diffs.splice( - pointer, - 0, - new Diff(DIFF_EQUAL, deletion.substring(0, overlap_length2)) - ); - diffs[pointer - 1][0] = DIFF_INSERT; - diffs[pointer - 1][1] = insertion.substring( - 0, - insertion.length - overlap_length2 - ); - diffs[pointer + 1][0] = DIFF_DELETE; - diffs[pointer + 1][1] = deletion.substring(overlap_length2); - pointer++; - } - } - - pointer++; - } - - pointer++; - } -}; -/** - * Look for single edits surrounded on both sides by equalities - * which can be shifted sideways to align the edit to a word boundary. - * e.g: The cat came. -> The cat came. - * @param {!Array.} diffs Array of diff tuples. - */ - -exports.cleanupSemantic = diff_cleanupSemantic; - -var diff_cleanupSemanticLossless = function (diffs) { - /** - * Given two strings, compute a score representing whether the internal - * boundary falls on logical boundaries. - * Scores range from 6 (best) to 0 (worst). - * Closure, but does not reference any external variables. - * @param {string} one First string. - * @param {string} two Second string. - * @return {number} The score. - * @private - */ - function diff_cleanupSemanticScore_(one, two) { - if (!one || !two) { - // Edges are the best. - return 6; - } // Each port of this function behaves slightly differently due to - // subtle differences in each language's definition of things like - // 'whitespace'. Since this function's purpose is largely cosmetic, - // the choice has been made to use each language's native features - // rather than force total conformity. - - var char1 = one.charAt(one.length - 1); - var char2 = two.charAt(0); - var nonAlphaNumeric1 = char1.match(nonAlphaNumericRegex_); - var nonAlphaNumeric2 = char2.match(nonAlphaNumericRegex_); - var whitespace1 = nonAlphaNumeric1 && char1.match(whitespaceRegex_); - var whitespace2 = nonAlphaNumeric2 && char2.match(whitespaceRegex_); - var lineBreak1 = whitespace1 && char1.match(linebreakRegex_); - var lineBreak2 = whitespace2 && char2.match(linebreakRegex_); - var blankLine1 = lineBreak1 && one.match(blanklineEndRegex_); - var blankLine2 = lineBreak2 && two.match(blanklineStartRegex_); - - if (blankLine1 || blankLine2) { - // Five points for blank lines. - return 5; - } else if (lineBreak1 || lineBreak2) { - // Four points for line breaks. - return 4; - } else if (nonAlphaNumeric1 && !whitespace1 && whitespace2) { - // Three points for end of sentences. - return 3; - } else if (whitespace1 || whitespace2) { - // Two points for whitespace. - return 2; - } else if (nonAlphaNumeric1 || nonAlphaNumeric2) { - // One point for non-alphanumeric. - return 1; - } - - return 0; - } - - var pointer = 1; // Intentionally ignore the first and last element (don't need checking). - - while (pointer < diffs.length - 1) { - if ( - diffs[pointer - 1][0] == DIFF_EQUAL && - diffs[pointer + 1][0] == DIFF_EQUAL - ) { - // This is a single edit surrounded by equalities. - var equality1 = diffs[pointer - 1][1]; - var edit = diffs[pointer][1]; - var equality2 = diffs[pointer + 1][1]; // First, shift the edit as far left as possible. - - var commonOffset = diff_commonSuffix(equality1, edit); - - if (commonOffset) { - var commonString = edit.substring(edit.length - commonOffset); - equality1 = equality1.substring(0, equality1.length - commonOffset); - edit = commonString + edit.substring(0, edit.length - commonOffset); - equality2 = commonString + equality2; - } // Second, step character by character right, looking for the best fit. - - var bestEquality1 = equality1; - var bestEdit = edit; - var bestEquality2 = equality2; - var bestScore = - diff_cleanupSemanticScore_(equality1, edit) + - diff_cleanupSemanticScore_(edit, equality2); - - while (edit.charAt(0) === equality2.charAt(0)) { - equality1 += edit.charAt(0); - edit = edit.substring(1) + equality2.charAt(0); - equality2 = equality2.substring(1); - var score = - diff_cleanupSemanticScore_(equality1, edit) + - diff_cleanupSemanticScore_(edit, equality2); // The >= encourages trailing rather than leading whitespace on edits. - - if (score >= bestScore) { - bestScore = score; - bestEquality1 = equality1; - bestEdit = edit; - bestEquality2 = equality2; - } - } - - if (diffs[pointer - 1][1] != bestEquality1) { - // We have an improvement, save it back to the diff. - if (bestEquality1) { - diffs[pointer - 1][1] = bestEquality1; - } else { - diffs.splice(pointer - 1, 1); - pointer--; - } - - diffs[pointer][1] = bestEdit; - - if (bestEquality2) { - diffs[pointer + 1][1] = bestEquality2; - } else { - diffs.splice(pointer + 1, 1); - pointer--; - } - } - } - - pointer++; - } -}; // Define some regex patterns for matching boundaries. - -var nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/; -var whitespaceRegex_ = /\s/; -var linebreakRegex_ = /[\r\n]/; -var blanklineEndRegex_ = /\n\r?\n$/; -var blanklineStartRegex_ = /^\r?\n\r?\n/; -/** - * Reorder and merge like edit sections. Merge equalities. - * Any edit section can move as long as it doesn't cross an equality. - * @param {!Array.} diffs Array of diff tuples. - */ - -var diff_cleanupMerge = function (diffs) { - // Add a dummy entry at the end. - diffs.push(new Diff(DIFF_EQUAL, '')); - var pointer = 0; - var count_delete = 0; - var count_insert = 0; - var text_delete = ''; - var text_insert = ''; - var commonlength; - - while (pointer < diffs.length) { - switch (diffs[pointer][0]) { - case DIFF_INSERT: - count_insert++; - text_insert += diffs[pointer][1]; - pointer++; - break; - - case DIFF_DELETE: - count_delete++; - text_delete += diffs[pointer][1]; - pointer++; - break; - - case DIFF_EQUAL: - // Upon reaching an equality, check for prior redundancies. - if (count_delete + count_insert > 1) { - if (count_delete !== 0 && count_insert !== 0) { - // Factor out any common prefixies. - commonlength = diff_commonPrefix(text_insert, text_delete); - - if (commonlength !== 0) { - if ( - pointer - count_delete - count_insert > 0 && - diffs[pointer - count_delete - count_insert - 1][0] == - DIFF_EQUAL - ) { - diffs[pointer - count_delete - count_insert - 1][1] += - text_insert.substring(0, commonlength); - } else { - diffs.splice( - 0, - 0, - new Diff(DIFF_EQUAL, text_insert.substring(0, commonlength)) - ); - pointer++; - } - - text_insert = text_insert.substring(commonlength); - text_delete = text_delete.substring(commonlength); - } // Factor out any common suffixies. - - commonlength = diff_commonSuffix(text_insert, text_delete); - - if (commonlength !== 0) { - diffs[pointer][1] = - text_insert.substring(text_insert.length - commonlength) + - diffs[pointer][1]; - text_insert = text_insert.substring( - 0, - text_insert.length - commonlength - ); - text_delete = text_delete.substring( - 0, - text_delete.length - commonlength - ); - } - } // Delete the offending records and add the merged ones. - - pointer -= count_delete + count_insert; - diffs.splice(pointer, count_delete + count_insert); - - if (text_delete.length) { - diffs.splice(pointer, 0, new Diff(DIFF_DELETE, text_delete)); - pointer++; - } - - if (text_insert.length) { - diffs.splice(pointer, 0, new Diff(DIFF_INSERT, text_insert)); - pointer++; - } - - pointer++; - } else if (pointer !== 0 && diffs[pointer - 1][0] == DIFF_EQUAL) { - // Merge this equality with the previous one. - diffs[pointer - 1][1] += diffs[pointer][1]; - diffs.splice(pointer, 1); - } else { - pointer++; - } - - count_insert = 0; - count_delete = 0; - text_delete = ''; - text_insert = ''; - break; - } - } - - if (diffs[diffs.length - 1][1] === '') { - diffs.pop(); // Remove the dummy entry at the end. - } // Second pass: look for single edits surrounded on both sides by equalities - // which can be shifted sideways to eliminate an equality. - // e.g: ABAC -> ABAC - - var changes = false; - pointer = 1; // Intentionally ignore the first and last element (don't need checking). - - while (pointer < diffs.length - 1) { - if ( - diffs[pointer - 1][0] == DIFF_EQUAL && - diffs[pointer + 1][0] == DIFF_EQUAL - ) { - // This is a single edit surrounded by equalities. - if ( - diffs[pointer][1].substring( - diffs[pointer][1].length - diffs[pointer - 1][1].length - ) == diffs[pointer - 1][1] - ) { - // Shift the edit over the previous equality. - diffs[pointer][1] = - diffs[pointer - 1][1] + - diffs[pointer][1].substring( - 0, - diffs[pointer][1].length - diffs[pointer - 1][1].length - ); - diffs[pointer + 1][1] = diffs[pointer - 1][1] + diffs[pointer + 1][1]; - diffs.splice(pointer - 1, 1); - changes = true; - } else if ( - diffs[pointer][1].substring(0, diffs[pointer + 1][1].length) == - diffs[pointer + 1][1] - ) { - // Shift the edit over the next equality. - diffs[pointer - 1][1] += diffs[pointer + 1][1]; - diffs[pointer][1] = - diffs[pointer][1].substring(diffs[pointer + 1][1].length) + - diffs[pointer + 1][1]; - diffs.splice(pointer + 1, 1); - changes = true; - } - } - - pointer++; - } // If shifts were made, the diff needs reordering and another shift sweep. - - if (changes) { - diff_cleanupMerge(diffs); - } -}; diff --git a/node_modules/jest-diff/build/constants.d.ts b/node_modules/jest-diff/build/constants.d.ts deleted file mode 100644 index a8f7e8a..0000000 --- a/node_modules/jest-diff/build/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 = "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 deleted file mode 100644 index ccf73e5..0000000 --- a/node_modules/jest-diff/build/constants.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.SIMILAR_MESSAGE = exports.NO_DIFF_MESSAGE = void 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. - */ -const NO_DIFF_MESSAGE = 'Compared values have no visual difference.'; -exports.NO_DIFF_MESSAGE = NO_DIFF_MESSAGE; -const SIMILAR_MESSAGE = - 'Compared values serialize to the same structure.\n' + - '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 deleted file mode 100644 index f6d6392..0000000 --- a/node_modules/jest-diff/build/diffLines.d.ts +++ /dev/null @@ -1,12 +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 type { DiffOptions, DiffOptionsNormalized } from './types'; -export declare const printDiffLines: (diffs: Array, options: DiffOptionsNormalized) => string; -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/diffLines.js b/node_modules/jest-diff/build/diffLines.js deleted file mode 100644 index 89e7aae..0000000 --- a/node_modules/jest-diff/build/diffLines.js +++ /dev/null @@ -1,220 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.printDiffLines = - exports.diffLinesUnified2 = - exports.diffLinesUnified = - exports.diffLinesRaw = - void 0; - -var _diffSequences = _interopRequireDefault(require('diff-sequences')); - -var _cleanupSemantic = require('./cleanupSemantic'); - -var _joinAlignedDiffs = require('./joinAlignedDiffs'); - -var _normalizeDiffOptions = require('./normalizeDiffOptions'); - -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 isEmptyString = lines => lines.length === 1 && lines[0].length === 0; - -const countChanges = diffs => { - let a = 0; - let b = 0; - diffs.forEach(diff => { - switch (diff[0]) { - case _cleanupSemantic.DIFF_DELETE: - a += 1; - break; - - case _cleanupSemantic.DIFF_INSERT: - b += 1; - break; - } - }); - return { - a, - b - }; -}; - -const printAnnotation = ( - { - aAnnotation, - aColor, - aIndicator, - bAnnotation, - bColor, - bIndicator, - includeChangeCounts, - omitAnnotationLines - }, - changeCounts -) => { - if (omitAnnotationLines) { - return ''; - } - - let aRest = ''; - let bRest = ''; - - if (includeChangeCounts) { - const aCount = String(changeCounts.a); - const bCount = String(changeCounts.b); // Padding right aligns the ends of the annotations. - - const baAnnotationLengthDiff = bAnnotation.length - aAnnotation.length; - const aAnnotationPadding = ' '.repeat(Math.max(0, baAnnotationLengthDiff)); - const bAnnotationPadding = ' '.repeat(Math.max(0, -baAnnotationLengthDiff)); // Padding left aligns the ends of the counts. - - const baCountLengthDiff = bCount.length - aCount.length; - const aCountPadding = ' '.repeat(Math.max(0, baCountLengthDiff)); - const bCountPadding = ' '.repeat(Math.max(0, -baCountLengthDiff)); - aRest = - aAnnotationPadding + ' ' + aIndicator + ' ' + aCountPadding + aCount; - bRest = - bAnnotationPadding + ' ' + bIndicator + ' ' + bCountPadding + bCount; - } - - return ( - aColor(aIndicator + ' ' + aAnnotation + aRest) + - '\n' + - bColor(bIndicator + ' ' + bAnnotation + bRest) + - '\n\n' - ); -}; - -const printDiffLines = (diffs, options) => - printAnnotation(options, countChanges(diffs)) + - (options.expand - ? (0, _joinAlignedDiffs.joinAlignedDiffsExpand)(diffs, options) - : (0, _joinAlignedDiffs.joinAlignedDiffsNoExpand)(diffs, options)); // Compare two arrays of strings line-by-line. Format as comparison lines. - -exports.printDiffLines = printDiffLines; - -const diffLinesUnified = (aLines, bLines, options) => - printDiffLines( - diffLinesRaw( - isEmptyString(aLines) ? [] : aLines, - isEmptyString(bLines) ? [] : bLines - ), - (0, _normalizeDiffOptions.normalizeDiffOptions)(options) - ); // Given two pairs of arrays of strings: -// Compare the pair of comparison arrays line-by-line. -// Format the corresponding lines in the pair of displayable arrays. - -exports.diffLinesUnified = diffLinesUnified; - -const diffLinesUnified2 = ( - aLinesDisplay, - bLinesDisplay, - aLinesCompare, - bLinesCompare, - options -) => { - if (isEmptyString(aLinesDisplay) && isEmptyString(aLinesCompare)) { - aLinesDisplay = []; - aLinesCompare = []; - } - - if (isEmptyString(bLinesDisplay) && isEmptyString(bLinesCompare)) { - bLinesDisplay = []; - bLinesCompare = []; - } - - if ( - aLinesDisplay.length !== aLinesCompare.length || - bLinesDisplay.length !== bLinesCompare.length - ) { - // Fall back to diff of display lines. - return diffLinesUnified(aLinesDisplay, bLinesDisplay, options); - } - - const diffs = diffLinesRaw(aLinesCompare, bLinesCompare); // Replace comparison lines with displayable lines. - - let aIndex = 0; - let bIndex = 0; - diffs.forEach(diff => { - switch (diff[0]) { - case _cleanupSemantic.DIFF_DELETE: - diff[1] = aLinesDisplay[aIndex]; - aIndex += 1; - break; - - case _cleanupSemantic.DIFF_INSERT: - diff[1] = bLinesDisplay[bIndex]; - bIndex += 1; - break; - - default: - diff[1] = bLinesDisplay[bIndex]; - aIndex += 1; - bIndex += 1; - } - }); - return printDiffLines( - diffs, - (0, _normalizeDiffOptions.normalizeDiffOptions)(options) - ); -}; // Compare two arrays of strings line-by-line. - -exports.diffLinesUnified2 = diffLinesUnified2; - -const diffLinesRaw = (aLines, bLines) => { - const aLength = aLines.length; - const bLength = bLines.length; - - const isCommon = (aIndex, bIndex) => aLines[aIndex] === bLines[bIndex]; - - const diffs = []; - let aIndex = 0; - let bIndex = 0; - - const foundSubsequence = (nCommon, aCommon, bCommon) => { - for (; aIndex !== aCommon; aIndex += 1) { - diffs.push( - new _cleanupSemantic.Diff(_cleanupSemantic.DIFF_DELETE, aLines[aIndex]) - ); - } - - for (; bIndex !== bCommon; bIndex += 1) { - diffs.push( - new _cleanupSemantic.Diff(_cleanupSemantic.DIFF_INSERT, bLines[bIndex]) - ); - } - - for (; nCommon !== 0; nCommon -= 1, aIndex += 1, bIndex += 1) { - diffs.push( - new _cleanupSemantic.Diff(_cleanupSemantic.DIFF_EQUAL, bLines[bIndex]) - ); - } - }; - - (0, _diffSequences.default)(aLength, bLength, isCommon, foundSubsequence); // After the last common subsequence, push remaining change items. - - for (; aIndex !== aLength; aIndex += 1) { - diffs.push( - new _cleanupSemantic.Diff(_cleanupSemantic.DIFF_DELETE, aLines[aIndex]) - ); - } - - for (; bIndex !== bLength; bIndex += 1) { - diffs.push( - new _cleanupSemantic.Diff(_cleanupSemantic.DIFF_INSERT, bLines[bIndex]) - ); - } - - return diffs; -}; - -exports.diffLinesRaw = diffLinesRaw; diff --git a/node_modules/jest-diff/build/diffStrings.d.ts b/node_modules/jest-diff/build/diffStrings.d.ts deleted file mode 100644 index 5146c55..0000000 --- a/node_modules/jest-diff/build/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) => Array; -export default diffStrings; diff --git a/node_modules/jest-diff/build/diffStrings.js b/node_modules/jest-diff/build/diffStrings.js deleted file mode 100644 index 3ad4f1a..0000000 --- a/node_modules/jest-diff/build/diffStrings.js +++ /dev/null @@ -1,78 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -var _diffSequences = _interopRequireDefault(require('diff-sequences')); - -var _cleanupSemantic = require('./cleanupSemantic'); - -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 diffStrings = (a, b) => { - const isCommon = (aIndex, bIndex) => a[aIndex] === b[bIndex]; - - let aIndex = 0; - let bIndex = 0; - const diffs = []; - - const foundSubsequence = (nCommon, aCommon, bCommon) => { - if (aIndex !== aCommon) { - diffs.push( - new _cleanupSemantic.Diff( - _cleanupSemantic.DIFF_DELETE, - a.slice(aIndex, aCommon) - ) - ); - } - - if (bIndex !== bCommon) { - diffs.push( - new _cleanupSemantic.Diff( - _cleanupSemantic.DIFF_INSERT, - b.slice(bIndex, bCommon) - ) - ); - } - - aIndex = aCommon + nCommon; // number of characters compared in a - - bIndex = bCommon + nCommon; // number of characters compared in b - - diffs.push( - new _cleanupSemantic.Diff( - _cleanupSemantic.DIFF_EQUAL, - b.slice(bCommon, bIndex) - ) - ); - }; - - (0, _diffSequences.default)(a.length, b.length, isCommon, foundSubsequence); // After the last common subsequence, push remaining change items. - - if (aIndex !== a.length) { - diffs.push( - new _cleanupSemantic.Diff(_cleanupSemantic.DIFF_DELETE, a.slice(aIndex)) - ); - } - - if (bIndex !== b.length) { - diffs.push( - new _cleanupSemantic.Diff(_cleanupSemantic.DIFF_INSERT, b.slice(bIndex)) - ); - } - - return diffs; -}; - -var _default = diffStrings; -exports.default = _default; diff --git a/node_modules/jest-diff/build/getAlignedDiffs.d.ts b/node_modules/jest-diff/build/getAlignedDiffs.d.ts deleted file mode 100644 index 7838cfa..0000000 --- a/node_modules/jest-diff/build/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 type { DiffOptionsColor } from './types'; -declare const getAlignedDiffs: (diffs: Array, changeColor: DiffOptionsColor) => Array; -export default getAlignedDiffs; diff --git a/node_modules/jest-diff/build/getAlignedDiffs.js b/node_modules/jest-diff/build/getAlignedDiffs.js deleted file mode 100644 index 2110a34..0000000 --- a/node_modules/jest-diff/build/getAlignedDiffs.js +++ /dev/null @@ -1,244 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = void 0; - -var _cleanupSemantic = require('./cleanupSemantic'); - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; -} - -// Given change op and array of diffs, return concatenated string: -// * include common strings -// * include change strings which have argument op with changeColor -// * exclude change strings which have opposite op -const concatenateRelevantDiffs = (op, diffs, changeColor) => - diffs.reduce( - (reduced, diff) => - reduced + - (diff[0] === _cleanupSemantic.DIFF_EQUAL - ? diff[1] - : diff[0] === op && diff[1].length !== 0 // empty if change is newline - ? changeColor(diff[1]) - : ''), - '' - ); // Encapsulate change lines until either a common newline or the end. - -class ChangeBuffer { - // incomplete line - // complete lines - constructor(op, changeColor) { - _defineProperty(this, 'op', void 0); - - _defineProperty(this, 'line', void 0); - - _defineProperty(this, 'lines', void 0); - - _defineProperty(this, 'changeColor', void 0); - - this.op = op; - this.line = []; - this.lines = []; - this.changeColor = changeColor; - } - - pushSubstring(substring) { - this.pushDiff(new _cleanupSemantic.Diff(this.op, substring)); - } - - pushLine() { - // Assume call only if line has at least one diff, - // therefore an empty line must have a diff which has an empty string. - // If line has multiple diffs, then assume it has a common diff, - // therefore change diffs have change color; - // otherwise then it has line color only. - this.lines.push( - this.line.length !== 1 - ? new _cleanupSemantic.Diff( - this.op, - concatenateRelevantDiffs(this.op, this.line, this.changeColor) - ) - : this.line[0][0] === this.op - ? this.line[0] // can use instance - : new _cleanupSemantic.Diff(this.op, this.line[0][1]) // was common diff - ); - this.line.length = 0; - } - - isLineEmpty() { - return this.line.length === 0; - } // Minor input to buffer. - - pushDiff(diff) { - this.line.push(diff); - } // Main input to buffer. - - align(diff) { - const string = diff[1]; - - if (string.includes('\n')) { - const substrings = string.split('\n'); - const iLast = substrings.length - 1; - substrings.forEach((substring, i) => { - if (i < iLast) { - // The first substring completes the current change line. - // A middle substring is a change line. - this.pushSubstring(substring); - this.pushLine(); - } else if (substring.length !== 0) { - // The last substring starts a change line, if it is not empty. - // Important: This non-empty condition also automatically omits - // the newline appended to the end of expected and received strings. - this.pushSubstring(substring); - } - }); - } else { - // Append non-multiline string to current change line. - this.pushDiff(diff); - } - } // Output from buffer. - - moveLinesTo(lines) { - if (!this.isLineEmpty()) { - this.pushLine(); - } - - lines.push(...this.lines); - this.lines.length = 0; - } -} // Encapsulate common and change lines. - -class CommonBuffer { - constructor(deleteBuffer, insertBuffer) { - _defineProperty(this, 'deleteBuffer', void 0); - - _defineProperty(this, 'insertBuffer', void 0); - - _defineProperty(this, 'lines', void 0); - - this.deleteBuffer = deleteBuffer; - this.insertBuffer = insertBuffer; - this.lines = []; - } - - pushDiffCommonLine(diff) { - this.lines.push(diff); - } - - pushDiffChangeLines(diff) { - const isDiffEmpty = diff[1].length === 0; // An empty diff string is redundant, unless a change line is empty. - - if (!isDiffEmpty || this.deleteBuffer.isLineEmpty()) { - this.deleteBuffer.pushDiff(diff); - } - - if (!isDiffEmpty || this.insertBuffer.isLineEmpty()) { - this.insertBuffer.pushDiff(diff); - } - } - - flushChangeLines() { - this.deleteBuffer.moveLinesTo(this.lines); - this.insertBuffer.moveLinesTo(this.lines); - } // Input to buffer. - - align(diff) { - const op = diff[0]; - const string = diff[1]; - - if (string.includes('\n')) { - const substrings = string.split('\n'); - const iLast = substrings.length - 1; - substrings.forEach((substring, i) => { - if (i === 0) { - const subdiff = new _cleanupSemantic.Diff(op, substring); - - if ( - this.deleteBuffer.isLineEmpty() && - this.insertBuffer.isLineEmpty() - ) { - // If both current change lines are empty, - // then the first substring is a common line. - this.flushChangeLines(); - this.pushDiffCommonLine(subdiff); - } else { - // If either current change line is non-empty, - // then the first substring completes the change lines. - this.pushDiffChangeLines(subdiff); - this.flushChangeLines(); - } - } else if (i < iLast) { - // A middle substring is a common line. - this.pushDiffCommonLine(new _cleanupSemantic.Diff(op, substring)); - } else if (substring.length !== 0) { - // The last substring starts a change line, if it is not empty. - // Important: This non-empty condition also automatically omits - // the newline appended to the end of expected and received strings. - this.pushDiffChangeLines(new _cleanupSemantic.Diff(op, substring)); - } - }); - } else { - // Append non-multiline string to current change lines. - // Important: It cannot be at the end following empty change lines, - // because newline appended to the end of expected and received strings. - this.pushDiffChangeLines(diff); - } - } // Output from buffer. - - getLines() { - this.flushChangeLines(); - return this.lines; - } -} // Given diffs from expected and received strings, -// return new array of diffs split or joined into lines. -// -// To correctly align a change line at the end, the algorithm: -// * assumes that a newline was appended to the strings -// * omits the last newline from the output array -// -// Assume the function is not called: -// * if either expected or received is empty string -// * if neither expected nor received is multiline string - -const getAlignedDiffs = (diffs, changeColor) => { - const deleteBuffer = new ChangeBuffer( - _cleanupSemantic.DIFF_DELETE, - changeColor - ); - const insertBuffer = new ChangeBuffer( - _cleanupSemantic.DIFF_INSERT, - changeColor - ); - const commonBuffer = new CommonBuffer(deleteBuffer, insertBuffer); - diffs.forEach(diff => { - switch (diff[0]) { - case _cleanupSemantic.DIFF_DELETE: - deleteBuffer.align(diff); - break; - - case _cleanupSemantic.DIFF_INSERT: - insertBuffer.align(diff); - break; - - default: - commonBuffer.align(diff); - } - }); - return commonBuffer.getLines(); -}; - -var _default = getAlignedDiffs; -exports.default = _default; diff --git a/node_modules/jest-diff/build/index.d.ts b/node_modules/jest-diff/build/index.d.ts deleted file mode 100644 index bc0a36f..0000000 --- a/node_modules/jest-diff/build/index.d.ts +++ /dev/null @@ -1,15 +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 type { DiffOptions } from './types'; -export type { DiffOptions, DiffOptionsColor } from './types'; -export { diffLinesRaw, diffLinesUnified, diffLinesUnified2 }; -export { diffStringsRaw, diffStringsUnified }; -export { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff }; -export declare function diff(a: any, b: any, options?: DiffOptions): string | null; diff --git a/node_modules/jest-diff/build/index.js b/node_modules/jest-diff/build/index.js deleted file mode 100644 index e3f2c45..0000000 --- a/node_modules/jest-diff/build/index.js +++ /dev/null @@ -1,267 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -Object.defineProperty(exports, 'DIFF_DELETE', { - enumerable: true, - get: function () { - return _cleanupSemantic.DIFF_DELETE; - } -}); -Object.defineProperty(exports, 'DIFF_EQUAL', { - enumerable: true, - get: function () { - return _cleanupSemantic.DIFF_EQUAL; - } -}); -Object.defineProperty(exports, 'DIFF_INSERT', { - enumerable: true, - get: function () { - return _cleanupSemantic.DIFF_INSERT; - } -}); -Object.defineProperty(exports, 'Diff', { - enumerable: true, - get: function () { - return _cleanupSemantic.Diff; - } -}); -exports.diff = diff; -Object.defineProperty(exports, 'diffLinesRaw', { - enumerable: true, - get: function () { - return _diffLines.diffLinesRaw; - } -}); -Object.defineProperty(exports, 'diffLinesUnified', { - enumerable: true, - get: function () { - return _diffLines.diffLinesUnified; - } -}); -Object.defineProperty(exports, 'diffLinesUnified2', { - enumerable: true, - get: function () { - return _diffLines.diffLinesUnified2; - } -}); -Object.defineProperty(exports, 'diffStringsRaw', { - enumerable: true, - get: function () { - return _printDiffs.diffStringsRaw; - } -}); -Object.defineProperty(exports, 'diffStringsUnified', { - enumerable: true, - get: function () { - return _printDiffs.diffStringsUnified; - } -}); - -var _chalk = _interopRequireDefault(require('chalk')); - -var _jestGetType = require('jest-get-type'); - -var _prettyFormat = require('pretty-format'); - -var _cleanupSemantic = require('./cleanupSemantic'); - -var _constants = require('./constants'); - -var _diffLines = require('./diffLines'); - -var _normalizeDiffOptions = require('./normalizeDiffOptions'); - -var _printDiffs = require('./printDiffs'); - -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : {default: obj}; -} - -var global = (function () { - if (typeof globalThis !== 'undefined') { - return globalThis; - } else if (typeof global !== 'undefined') { - return global; - } else if (typeof self !== 'undefined') { - return self; - } else if (typeof window !== 'undefined') { - return window; - } else { - return Function('return this')(); - } -})(); - -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, - DOMElement, - Immutable, - ReactElement, - ReactTestComponent -} = _prettyFormat.plugins; -const PLUGINS = [ - ReactTestComponent, - ReactElement, - DOMElement, - DOMCollection, - Immutable, - AsymmetricMatcher -]; -const FORMAT_OPTIONS = { - plugins: PLUGINS -}; -const FALLBACK_FORMAT_OPTIONS = { - callToJSON: false, - maxDepth: 10, - plugins: PLUGINS -}; // 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 getCommonMessage(_constants.NO_DIFF_MESSAGE, options); - } - - const aType = (0, _jestGetType.getType)(a); - let expectedType = aType; - let omitDifference = false; - - if (aType === 'object' && typeof a.asymmetricMatch === 'function') { - if (a.$$typeof !== Symbol.for('jest.asymmetricMatcher')) { - // Do not know expected type of user-defined asymmetric matcher. - return null; - } - - if (typeof a.getExpectedType !== 'function') { - // For example, expect.anything() matches either null or undefined - return null; - } - - expectedType = a.getExpectedType(); // Primitive types boolean and number omit difference below. - // For example, omit difference for expect.stringMatching(regexp) - - omitDifference = expectedType === 'string'; - } - - if (expectedType !== (0, _jestGetType.getType)(b)) { - return ( - ' Comparing two different types of values.' + - ` Expected ${_chalk.default.green(expectedType)} but ` + - `received ${_chalk.default.red((0, _jestGetType.getType)(b))}.` - ); - } - - if (omitDifference) { - return null; - } - - switch (aType) { - case 'string': - return (0, _diffLines.diffLinesUnified)( - a.split('\n'), - b.split('\n'), - options - ); - - case 'boolean': - case 'number': - return comparePrimitive(a, b, options); - - case 'map': - return compareObjects(sortMap(a), sortMap(b), options); - - case 'set': - return compareObjects(sortSet(a), sortSet(b), options); - - default: - return compareObjects(a, b, options); - } -} - -function comparePrimitive(a, b, options) { - const aFormat = (0, _prettyFormat.format)(a, FORMAT_OPTIONS); - const bFormat = (0, _prettyFormat.format)(b, FORMAT_OPTIONS); - return aFormat === bFormat - ? getCommonMessage(_constants.NO_DIFF_MESSAGE, options) - : (0, _diffLines.diffLinesUnified)( - aFormat.split('\n'), - bFormat.split('\n'), - options - ); -} - -function sortMap(map) { - return new Map(Array.from(map.entries()).sort()); -} - -function sortSet(set) { - return new Set(Array.from(set.values()).sort()); -} - -function compareObjects(a, b, options) { - let difference; - let hasThrown = false; - - try { - const formatOptions = getFormatOptions(FORMAT_OPTIONS, options); - difference = getObjectsDifference(a, b, formatOptions, options); - } catch { - hasThrown = true; - } - - const noDiffMessage = getCommonMessage(_constants.NO_DIFF_MESSAGE, options); // 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 === noDiffMessage) { - const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options); - difference = getObjectsDifference(a, b, formatOptions, options); - - if (difference !== noDiffMessage && !hasThrown) { - difference = - getCommonMessage(_constants.SIMILAR_MESSAGE, options) + - '\n\n' + - difference; - } - } - - return difference; -} - -function getFormatOptions(formatOptions, options) { - const {compareKeys} = (0, _normalizeDiffOptions.normalizeDiffOptions)( - options - ); - return {...formatOptions, compareKeys}; -} - -function getObjectsDifference(a, b, formatOptions, options) { - const formatOptionsZeroIndent = {...formatOptions, indent: 0}; - const aCompare = (0, _prettyFormat.format)(a, formatOptionsZeroIndent); - const bCompare = (0, _prettyFormat.format)(b, formatOptionsZeroIndent); - - if (aCompare === bCompare) { - return getCommonMessage(_constants.NO_DIFF_MESSAGE, options); - } else { - const aDisplay = (0, _prettyFormat.format)(a, formatOptions); - const bDisplay = (0, _prettyFormat.format)(b, formatOptions); - return (0, _diffLines.diffLinesUnified2)( - aDisplay.split('\n'), - bDisplay.split('\n'), - aCompare.split('\n'), - bCompare.split('\n'), - options - ); - } -} diff --git a/node_modules/jest-diff/build/joinAlignedDiffs.d.ts b/node_modules/jest-diff/build/joinAlignedDiffs.d.ts deleted file mode 100644 index 80cdf6d..0000000 --- a/node_modules/jest-diff/build/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 type { DiffOptionsNormalized } from './types'; -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/joinAlignedDiffs.js b/node_modules/jest-diff/build/joinAlignedDiffs.js deleted file mode 100644 index 6b72c9c..0000000 --- a/node_modules/jest-diff/build/joinAlignedDiffs.js +++ /dev/null @@ -1,303 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.joinAlignedDiffsNoExpand = exports.joinAlignedDiffsExpand = void 0; - -var _cleanupSemantic = require('./cleanupSemantic'); - -/** - * 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 formatTrailingSpaces = (line, trailingSpaceFormatter) => - line.replace(/\s+$/, match => trailingSpaceFormatter(match)); - -const printDiffLine = ( - line, - isFirstOrLast, - color, - indicator, - trailingSpaceFormatter, - emptyFirstOrLastLinePlaceholder -) => - line.length !== 0 - ? color( - indicator + ' ' + formatTrailingSpaces(line, trailingSpaceFormatter) - ) - : indicator !== ' ' - ? color(indicator) - : isFirstOrLast && emptyFirstOrLastLinePlaceholder.length !== 0 - ? color(indicator + ' ' + emptyFirstOrLastLinePlaceholder) - : ''; - -const printDeleteLine = ( - line, - isFirstOrLast, - { - aColor, - aIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder - } -) => - printDiffLine( - line, - isFirstOrLast, - aColor, - aIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder - ); - -const printInsertLine = ( - line, - isFirstOrLast, - { - bColor, - bIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder - } -) => - printDiffLine( - line, - isFirstOrLast, - bColor, - bIndicator, - changeLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder - ); - -const printCommonLine = ( - line, - isFirstOrLast, - { - commonColor, - commonIndicator, - commonLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder - } -) => - printDiffLine( - line, - isFirstOrLast, - commonColor, - commonIndicator, - commonLineTrailingSpaceColor, - emptyFirstOrLastLinePlaceholder - ); // In GNU diff format, indexes are one-based instead of zero-based. - -const createPatchMark = (aStart, aEnd, bStart, bEnd, {patchColor}) => - patchColor( - `@@ -${aStart + 1},${aEnd - aStart} +${bStart + 1},${bEnd - bStart} @@` - ); // jest --no-expand -// -// Given array of aligned strings with inverse highlight formatting, -// return joined lines with diff formatting (and patch marks, if needed). - -const joinAlignedDiffsNoExpand = (diffs, options) => { - const iLength = diffs.length; - const nContextLines = options.contextLines; - const nContextLines2 = nContextLines + nContextLines; // First pass: count output lines and see if it has patches. - - let jLength = iLength; - let hasExcessAtStartOrEnd = false; - let nExcessesBetweenChanges = 0; - let i = 0; - - while (i !== iLength) { - const iStart = i; - - while (i !== iLength && diffs[i][0] === _cleanupSemantic.DIFF_EQUAL) { - i += 1; - } - - if (iStart !== i) { - if (iStart === 0) { - // at start - if (i > nContextLines) { - jLength -= i - nContextLines; // subtract excess common lines - - hasExcessAtStartOrEnd = true; - } - } else if (i === iLength) { - // at end - const n = i - iStart; - - if (n > nContextLines) { - jLength -= n - nContextLines; // subtract excess common lines - - hasExcessAtStartOrEnd = true; - } - } else { - // between changes - const n = i - iStart; - - if (n > nContextLines2) { - jLength -= n - nContextLines2; // subtract excess common lines - - nExcessesBetweenChanges += 1; - } - } - } - - while (i !== iLength && diffs[i][0] !== _cleanupSemantic.DIFF_EQUAL) { - i += 1; - } - } - - const hasPatch = nExcessesBetweenChanges !== 0 || hasExcessAtStartOrEnd; - - if (nExcessesBetweenChanges !== 0) { - jLength += nExcessesBetweenChanges + 1; // add patch lines - } else if (hasExcessAtStartOrEnd) { - jLength += 1; // add patch line - } - - const jLast = jLength - 1; - const lines = []; - let jPatchMark = 0; // index of placeholder line for current patch mark - - if (hasPatch) { - lines.push(''); // placeholder line for first patch mark - } // Indexes of expected or received lines in current patch: - - let aStart = 0; - let bStart = 0; - let aEnd = 0; - let bEnd = 0; - - const pushCommonLine = line => { - const j = lines.length; - lines.push(printCommonLine(line, j === 0 || j === jLast, options)); - aEnd += 1; - bEnd += 1; - }; - - const pushDeleteLine = line => { - const j = lines.length; - lines.push(printDeleteLine(line, j === 0 || j === jLast, options)); - aEnd += 1; - }; - - const pushInsertLine = line => { - const j = lines.length; - lines.push(printInsertLine(line, j === 0 || j === jLast, options)); - bEnd += 1; - }; // Second pass: push lines with diff formatting (and patch marks, if needed). - - i = 0; - - while (i !== iLength) { - let iStart = i; - - while (i !== iLength && diffs[i][0] === _cleanupSemantic.DIFF_EQUAL) { - i += 1; - } - - if (iStart !== i) { - if (iStart === 0) { - // at beginning - if (i > nContextLines) { - iStart = i - nContextLines; - aStart = iStart; - bStart = iStart; - aEnd = aStart; - bEnd = bStart; - } - - for (let iCommon = iStart; iCommon !== i; iCommon += 1) { - pushCommonLine(diffs[iCommon][1]); - } - } else if (i === iLength) { - // at end - const iEnd = i - iStart > nContextLines ? iStart + nContextLines : i; - - for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) { - pushCommonLine(diffs[iCommon][1]); - } - } else { - // between changes - const nCommon = i - iStart; - - if (nCommon > nContextLines2) { - const iEnd = iStart + nContextLines; - - for (let iCommon = iStart; iCommon !== iEnd; iCommon += 1) { - pushCommonLine(diffs[iCommon][1]); - } - - lines[jPatchMark] = createPatchMark( - aStart, - aEnd, - bStart, - bEnd, - options - ); - jPatchMark = lines.length; - lines.push(''); // placeholder line for next patch mark - - const nOmit = nCommon - nContextLines2; - aStart = aEnd + nOmit; - bStart = bEnd + nOmit; - aEnd = aStart; - bEnd = bStart; - - for (let iCommon = i - nContextLines; iCommon !== i; iCommon += 1) { - pushCommonLine(diffs[iCommon][1]); - } - } else { - for (let iCommon = iStart; iCommon !== i; iCommon += 1) { - pushCommonLine(diffs[iCommon][1]); - } - } - } - } - - while (i !== iLength && diffs[i][0] === _cleanupSemantic.DIFF_DELETE) { - pushDeleteLine(diffs[i][1]); - i += 1; - } - - while (i !== iLength && diffs[i][0] === _cleanupSemantic.DIFF_INSERT) { - pushInsertLine(diffs[i][1]); - i += 1; - } - } - - if (hasPatch) { - lines[jPatchMark] = createPatchMark(aStart, aEnd, bStart, bEnd, options); - } - - return lines.join('\n'); -}; // jest --expand -// -// Given array of aligned strings with inverse highlight formatting, -// return joined lines with diff formatting. - -exports.joinAlignedDiffsNoExpand = joinAlignedDiffsNoExpand; - -const joinAlignedDiffsExpand = (diffs, options) => - diffs - .map((diff, i, diffs) => { - const line = diff[1]; - const isFirstOrLast = i === 0 || i === diffs.length - 1; - - switch (diff[0]) { - case _cleanupSemantic.DIFF_DELETE: - return printDeleteLine(line, isFirstOrLast, options); - - case _cleanupSemantic.DIFF_INSERT: - return printInsertLine(line, isFirstOrLast, options); - - default: - return printCommonLine(line, isFirstOrLast, options); - } - }) - .join('\n'); - -exports.joinAlignedDiffsExpand = joinAlignedDiffsExpand; diff --git a/node_modules/jest-diff/build/normalizeDiffOptions.d.ts b/node_modules/jest-diff/build/normalizeDiffOptions.d.ts deleted file mode 100644 index 00db0a6..0000000 --- a/node_modules/jest-diff/build/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 type { 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/normalizeDiffOptions.js b/node_modules/jest-diff/build/normalizeDiffOptions.js deleted file mode 100644 index b22a804..0000000 --- a/node_modules/jest-diff/build/normalizeDiffOptions.js +++ /dev/null @@ -1,64 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.normalizeDiffOptions = exports.noColor = 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 noColor = string => string; - -exports.noColor = noColor; -const DIFF_CONTEXT_DEFAULT = 5; -const OPTIONS_DEFAULT = { - aAnnotation: 'Expected', - aColor: _chalk.default.green, - aIndicator: '-', - bAnnotation: 'Received', - bColor: _chalk.default.red, - bIndicator: '+', - changeColor: _chalk.default.inverse, - changeLineTrailingSpaceColor: noColor, - commonColor: _chalk.default.dim, - commonIndicator: ' ', - commonLineTrailingSpaceColor: noColor, - compareKeys: undefined, - contextLines: DIFF_CONTEXT_DEFAULT, - emptyFirstOrLastLinePlaceholder: '', - expand: true, - includeChangeCounts: false, - omitAnnotationLines: false, - patchColor: _chalk.default.yellow -}; - -const getCompareKeys = compareKeys => - compareKeys && typeof compareKeys === 'function' - ? compareKeys - : OPTIONS_DEFAULT.compareKeys; - -const getContextLines = contextLines => - typeof contextLines === 'number' && - Number.isSafeInteger(contextLines) && - contextLines >= 0 - ? contextLines - : DIFF_CONTEXT_DEFAULT; // Pure function returns options with all properties. - -const normalizeDiffOptions = (options = {}) => ({ - ...OPTIONS_DEFAULT, - ...options, - compareKeys: getCompareKeys(options.compareKeys), - contextLines: getContextLines(options.contextLines) -}); - -exports.normalizeDiffOptions = normalizeDiffOptions; diff --git a/node_modules/jest-diff/build/printDiffs.d.ts b/node_modules/jest-diff/build/printDiffs.d.ts deleted file mode 100644 index 38edb61..0000000 --- a/node_modules/jest-diff/build/printDiffs.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 type { DiffOptions } from './types'; -export declare const diffStringsUnified: (a: string, b: string, options?: DiffOptions | undefined) => string; -export declare const diffStringsRaw: (a: string, b: string, cleanup: boolean) => Array; diff --git a/node_modules/jest-diff/build/printDiffs.js b/node_modules/jest-diff/build/printDiffs.js deleted file mode 100644 index b247e10..0000000 --- a/node_modules/jest-diff/build/printDiffs.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.diffStringsUnified = exports.diffStringsRaw = void 0; - -var _cleanupSemantic = require('./cleanupSemantic'); - -var _diffLines = require('./diffLines'); - -var _diffStrings = _interopRequireDefault(require('./diffStrings')); - -var _getAlignedDiffs = _interopRequireDefault(require('./getAlignedDiffs')); - -var _normalizeDiffOptions = require('./normalizeDiffOptions'); - -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 hasCommonDiff = (diffs, isMultiline) => { - if (isMultiline) { - // Important: Ignore common newline that was appended to multiline strings! - const iLast = diffs.length - 1; - return diffs.some( - (diff, i) => - diff[0] === _cleanupSemantic.DIFF_EQUAL && - (i !== iLast || diff[1] !== '\n') - ); - } - - return diffs.some(diff => diff[0] === _cleanupSemantic.DIFF_EQUAL); -}; // Compare two strings character-by-character. -// Format as comparison lines in which changed substrings have inverse colors. - -const diffStringsUnified = (a, b, options) => { - if (a !== b && a.length !== 0 && b.length !== 0) { - const isMultiline = a.includes('\n') || b.includes('\n'); // getAlignedDiffs assumes that a newline was appended to the strings. - - const diffs = diffStringsRaw( - isMultiline ? a + '\n' : a, - isMultiline ? b + '\n' : b, - true // cleanupSemantic - ); - - if (hasCommonDiff(diffs, isMultiline)) { - const optionsNormalized = (0, _normalizeDiffOptions.normalizeDiffOptions)( - options - ); - const lines = (0, _getAlignedDiffs.default)( - diffs, - optionsNormalized.changeColor - ); - return (0, _diffLines.printDiffLines)(lines, optionsNormalized); - } - } // Fall back to line-by-line diff. - - return (0, _diffLines.diffLinesUnified)( - a.split('\n'), - b.split('\n'), - options - ); -}; // Compare two strings character-by-character. -// Optionally clean up small common substrings, also known as chaff. - -exports.diffStringsUnified = diffStringsUnified; - -const diffStringsRaw = (a, b, cleanup) => { - const diffs = (0, _diffStrings.default)(a, b); - - if (cleanup) { - (0, _cleanupSemantic.cleanupSemantic)(diffs); // impure function - } - - return diffs; -}; - -exports.diffStringsRaw = diffStringsRaw; diff --git a/node_modules/jest-diff/build/types.d.ts b/node_modules/jest-diff/build/types.d.ts deleted file mode 100644 index a3c7b78..0000000 --- a/node_modules/jest-diff/build/types.d.ts +++ /dev/null @@ -1,48 +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 { CompareKeys } from 'pretty-format'; -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; - compareKeys?: CompareKeys; -}; -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; - compareKeys: CompareKeys; - contextLines: number; - emptyFirstOrLastLinePlaceholder: string; - expand: boolean; - includeChangeCounts: boolean; - omitAnnotationLines: boolean; - patchColor: DiffOptionsColor; -}; diff --git a/node_modules/jest-diff/build/types.js b/node_modules/jest-diff/build/types.js deleted file mode 100644 index ad9a93a..0000000 --- a/node_modules/jest-diff/build/types.js +++ /dev/null @@ -1 +0,0 @@ -'use strict'; diff --git a/node_modules/jest-diff/package.json b/node_modules/jest-diff/package.json deleted file mode 100644 index 81d809b..0000000 --- a/node_modules/jest-diff/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "jest-diff", - "version": "27.5.1", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-diff" - }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" - }, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^27.5.1", - "jest-get-type": "^27.5.1", - "pretty-format": "^27.5.1" - }, - "devDependencies": { - "@jest/test-utils": "^27.5.1", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" -} diff --git a/node_modules/jest-docblock/LICENSE b/node_modules/jest-docblock/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-docblock/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-docblock/README.md b/node_modules/jest-docblock/README.md deleted file mode 100644 index ba3fc7b..0000000 --- a/node_modules/jest-docblock/README.md +++ /dev/null @@ -1,108 +0,0 @@ -# jest-docblock - -`jest-docblock` is a package that can extract and parse a specially-formatted comment called a "docblock" at the top of a file. - -A docblock looks like this: - -```js -/** - * Stuff goes here! - */ -``` - -Docblocks can contain pragmas, which are words prefixed by `@`: - -```js -/** - * Pragma incoming! - * - * @flow - */ -``` - -Pragmas can also take arguments: - -```js -/** - * Check this out: - * - * @myPragma it is so cool - */ -``` - -`jest-docblock` can: - -- extract the docblock from some code as a string -- parse a docblock string's pragmas into an object -- print an object and some comments back to a string - -## Installation - -```sh -# with yarn -$ yarn add jest-docblock -# with npm -$ npm install jest-docblock -``` - -## Usage - -```js -const code = ` -/** - * Everything is awesome! - * - * @everything is:awesome - * @flow - */ - - export const everything = Object.create(null); - export default function isAwesome(something) { - return something === everything; - } -`; - -const { - extract, - strip, - parse, - parseWithComments, - print, -} = require('jest-docblock'); - -const docblock = extract(code); -console.log(docblock); // "/**\n * Everything is awesome!\n * \n * @everything is:awesome\n * @flow\n */" - -const stripped = strip(code); -console.log(stripped); // "export const everything = Object.create(null);\n export default function isAwesome(something) {\n return something === everything;\n }" - -const pragmas = parse(docblock); -console.log(pragmas); // { everything: "is:awesome", flow: "" } - -const parsed = parseWithComments(docblock); -console.log(parsed); // { comments: "Everything is awesome!", pragmas: { everything: "is:awesome", flow: "" } } - -console.log(print({pragmas, comments: 'hi!'})); // /**\n * hi!\n *\n * @everything is:awesome\n * @flow\n */; -``` - -## API Documentation - -### `extract(contents: string): string` - -Extracts a docblock from some file contents. Returns the docblock contained in `contents`. If `contents` did not contain a docblock, it will return the empty string (`""`). - -### `strip(contents: string): string` - -Strips the top docblock from a file and return the result. If a file does not have a docblock at the top, then return the file unchanged. - -### `parse(docblock: string): {[key: string]: string | string[] }` - -Parses the pragmas in a docblock string into an object whose keys are the pragma tags and whose values are the arguments to those pragmas. - -### `parseWithComments(docblock: string): { comments: string, pragmas: {[key: string]: string | string[]} }` - -Similar to `parse` except this method also returns the comments from the docblock. Useful when used with `print()`. - -### `print({ comments?: string, pragmas?: {[key: string]: string | string[]} }): string` - -Prints an object of key-value pairs back into a docblock. If `comments` are provided, they will be positioned on the top of the docblock. diff --git a/node_modules/jest-docblock/build/index.d.ts b/node_modules/jest-docblock/build/index.d.ts deleted file mode 100644 index c457121..0000000 --- a/node_modules/jest-docblock/build/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 Pragmas = Record>; -export declare function extract(contents: string): string; -export declare function strip(contents: string): string; -export declare function parse(docblock: string): Pragmas; -export declare function parseWithComments(docblock: string): { - comments: string; - pragmas: Pragmas; -}; -export declare function print({ comments, pragmas, }: { - comments?: string; - pragmas?: Pragmas; -}): string; -export {}; diff --git a/node_modules/jest-docblock/build/index.js b/node_modules/jest-docblock/build/index.js deleted file mode 100644 index 66450dd..0000000 --- a/node_modules/jest-docblock/build/index.js +++ /dev/null @@ -1,153 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.extract = extract; -exports.parse = parse; -exports.parseWithComments = parseWithComments; -exports.print = print; -exports.strip = strip; - -function _os() { - const data = require('os'); - - _os = function () { - return data; - }; - - return data; -} - -function _detectNewline() { - const data = _interopRequireDefault(require('detect-newline')); - - _detectNewline = function () { - return data; - }; - - return data; -} - -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 commentEndRe = /\*\/$/; -const commentStartRe = /^\/\*\*/; -const docblockRe = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/; -const lineCommentRe = /(^|\s+)\/\/([^\r\n]*)/g; -const ltrimNewlineRe = /^(\r?\n)+/; -const multilineRe = - /(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g; -const propertyRe = /(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g; -const stringStartRe = /(\r?\n|^) *\* ?/g; -const STRING_ARRAY = []; - -function extract(contents) { - const match = contents.match(docblockRe); - return match ? match[0].trimLeft() : ''; -} - -function strip(contents) { - const match = contents.match(docblockRe); - return match && match[0] ? contents.substring(match[0].length) : contents; -} - -function parse(docblock) { - return parseWithComments(docblock).pragmas; -} - -function parseWithComments(docblock) { - const line = (0, _detectNewline().default)(docblock) || _os().EOL; - - docblock = docblock - .replace(commentStartRe, '') - .replace(commentEndRe, '') - .replace(stringStartRe, '$1'); // Normalize multi-line directives - - let prev = ''; - - while (prev !== docblock) { - prev = docblock; - docblock = docblock.replace(multilineRe, `${line}$1 $2${line}`); - } - - docblock = docblock.replace(ltrimNewlineRe, '').trimRight(); - const result = Object.create(null); - const comments = docblock - .replace(propertyRe, '') - .replace(ltrimNewlineRe, '') - .trimRight(); - let match; - - while ((match = propertyRe.exec(docblock))) { - // strip linecomments from pragmas - const nextPragma = match[2].replace(lineCommentRe, ''); - - if ( - typeof result[match[1]] === 'string' || - Array.isArray(result[match[1]]) - ) { - result[match[1]] = STRING_ARRAY.concat(result[match[1]], nextPragma); - } else { - result[match[1]] = nextPragma; - } - } - - return { - comments, - pragmas: result - }; -} - -function print({comments = '', pragmas = {}}) { - const line = (0, _detectNewline().default)(comments) || _os().EOL; - - const head = '/**'; - const start = ' *'; - const tail = ' */'; - const keys = Object.keys(pragmas); - const printedObject = keys - .map(key => printKeyValues(key, pragmas[key])) - .reduce((arr, next) => arr.concat(next), []) - .map(keyValue => start + ' ' + keyValue + line) - .join(''); - - if (!comments) { - if (keys.length === 0) { - return ''; - } - - if (keys.length === 1 && !Array.isArray(pragmas[keys[0]])) { - const value = pragmas[keys[0]]; - return `${head} ${printKeyValues(keys[0], value)[0]}${tail}`; - } - } - - const printedComments = - comments - .split(line) - .map(textLine => `${start} ${textLine}`) - .join(line) + line; - return ( - head + - line + - (comments ? printedComments : '') + - (comments && keys.length ? start + line : '') + - printedObject + - tail - ); -} - -function printKeyValues(key, valueOrArray) { - return STRING_ARRAY.concat(valueOrArray).map(value => - `@${key} ${value}`.trim() - ); -} diff --git a/node_modules/jest-docblock/package.json b/node_modules/jest-docblock/package.json deleted file mode 100644 index 5a15045..0000000 --- a/node_modules/jest-docblock/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "jest-docblock", - "version": "27.5.1", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-docblock" - }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" - }, - "dependencies": { - "detect-newline": "^3.0.0" - }, - "devDependencies": { - "@types/node": "*" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850" -} diff --git a/node_modules/jest-each/LICENSE b/node_modules/jest-each/LICENSE deleted file mode 100644 index b96dcb0..0000000 --- a/node_modules/jest-each/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-each/README.md b/node_modules/jest-each/README.md deleted file mode 100644 index da3b2ad..0000000 --- a/node_modules/jest-each/README.md +++ /dev/null @@ -1,548 +0,0 @@ -
-

jest-each

- Jest Parameterised Testing -
- -
- -[![version](https://img.shields.io/npm/v/jest-each.svg?style=flat-square)](https://www.npmjs.com/package/jest-each) [![downloads](https://img.shields.io/npm/dm/jest-each.svg?style=flat-square)](http://npm-stat.com/charts.html?package=jest-each&from=2017-03-21) [![MIT License](https://img.shields.io/npm/l/jest-each.svg?style=flat-square)](https://github.com/facebook/jest/blob/main/LICENSE) - -A parameterised testing library for [Jest](https://jestjs.io/) inspired by [mocha-each](https://github.com/ryym/mocha-each). - -jest-each allows you to provide multiple arguments to your `test`/`describe` which results in the test/suite being run once per row of parameters. - -## Features - -- `.test` to runs multiple tests with parameterised data - - Also under the alias: `.it` -- `.test.only` to only run the parameterised tests - - Also under the aliases: `.it.only` or `.fit` -- `.test.skip` to skip the parameterised tests - - Also under the aliases: `.it.skip` or `.xit` or `.xtest` -- `.test.concurrent` - - Also under the alias: `.it.concurrent` -- `.test.concurrent.only` - - Also under the alias: `.it.concurrent.only` -- `.test.concurrent.skip` - - Also under the alias: `.it.concurrent.skip` -- `.describe` to runs test suites with parameterised data -- `.describe.only` to only run the parameterised suite of tests - - Also under the aliases: `.fdescribe` -- `.describe.skip` to skip the parameterised suite of tests - - Also under the aliases: `.xdescribe` -- Asynchronous tests with `done` -- Unique test titles with [`printf` formatting](https://nodejs.org/api/util.html#util_util_format_format_args): - - `%p` - [pretty-format](https://www.npmjs.com/package/pretty-format). - - `%s`- String. - - `%d`- Number. - - `%i` - Integer. - - `%f` - Floating point value. - - `%j` - JSON. - - `%o` - Object. - - `%#` - Index of the test case. - - `%%` - single percent sign ('%'). This does not consume an argument. -- Unique test titles by injecting properties of test case object -- 🖖 Spock like data tables with [Tagged Template Literals](#tagged-template-literal-of-rows) - ---- - -- [Demo](#demo) -- [Installation](#installation) -- [Importing](#importing) -- APIs - - [Array of Rows](#array-of-rows) - - [Usage](#usage) - - [Tagged Template Literal of rows](#tagged-template-literal-of-rows) - - [Usage](#usage-1) - -## Demo - -#### Tests without jest-each - -![Current jest tests](assets/default-demo.gif) - -#### Tests can be re-written with jest-each to: - -**`.test`** - -![Current jest tests](assets/test-demo.gif) - -**`.test` with Tagged Template Literals** - -![Current jest tests](assets/tagged-template-literal.gif) - -**`.describe`** - -![Current jest tests](assets/describe-demo.gif) - -## Installation - -`npm i --save-dev jest-each` - -`yarn add -D jest-each` - -## Importing - -jest-each is a default export so it can be imported with whatever name you like. - -```js -// es6 -import each from 'jest-each'; -``` - -```js -// es5 -const each = require('jest-each').default; -``` - -## Array of rows - -### API - -#### `each([parameters]).test(name, testFn)` - -##### `each`: - -- parameters: `Array` of Arrays with the arguments that are passed into the `testFn` for each row - - _Note_ If you pass in a 1D array of primitives, internally it will be mapped to a table i.e. `[1, 2, 3] -> [[1], [2], [3]]` - -##### `.test`: - -- name: `String` the title of the `test`. - - Generate unique test titles by positionally injecting parameters with [`printf` formatting](https://nodejs.org/api/util.html#util_util_format_format_args): - - `%p` - [pretty-format](https://www.npmjs.com/package/pretty-format). - - `%s`- String. - - `%d`- Number. - - `%i` - Integer. - - `%f` - Floating point value. - - `%j` - JSON. - - `%o` - Object. - - `%#` - Index of the test case. - - `%%` - single percent sign ('%'). This does not consume an argument. - - Or generate unique test titles by injecting properties of test case object with `$variable` - - To inject nested object values use you can supply a keyPath i.e. `$variable.path.to.value` - - You can use `$#` to inject the index of the test case - - You cannot use `$variable` with the `printf` formatting except for `%%` -- testFn: `Function` the test logic, this is the function that will receive the parameters of each row as function arguments - -#### `each([parameters]).describe(name, suiteFn)` - -##### `each`: - -- parameters: `Array` of Arrays with the arguments that are passed into the `suiteFn` for each row - - _Note_ If you pass in a 1D array of primitives, internally it will be mapped to a table i.e. `[1, 2, 3] -> [[1], [2], [3]]` - -##### `.describe`: - -- name: `String` the title of the `describe` - - Generate unique test titles by positionally injecting parameters with [`printf` formatting](https://nodejs.org/api/util.html#util_util_format_format_args): - - `%p` - [pretty-format](https://www.npmjs.com/package/pretty-format). - - `%s`- String. - - `%d`- Number. - - `%i` - Integer. - - `%f` - Floating point value. - - `%j` - JSON. - - `%o` - Object. - - `%#` - Index of the test case. - - `%%` - single percent sign ('%'). This does not consume an argument. - - Or generate unique test titles by injecting properties of test case object with `$variable` - - To inject nested object values use you can supply a keyPath i.e. `$variable.path.to.value` - - You can use `$#` to inject the index of the test case - - You cannot use `$variable` with the `printf` formatting except for `%%` -- suiteFn: `Function` the suite of `test`/`it`s to be ran, this is the function that will receive the parameters in each row as function arguments - -### Usage - -#### `.test(name, fn)` - -Alias: `.it(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).test('returns the result of adding %d to %d', (a, b, expected) => { - expect(a + b).toBe(expected); -}); -``` - -```js -each([ - {a: 1, b: 1, expected: 2}, - {a: 1, b: 2, expected: 3}, - {a: 2, b: 1, expected: 3}, -]).test('returns the result of adding $a to $b', ({a, b, expected}) => { - expect(a + b).toBe(expected); -}); -``` - -#### `.test.only(name, fn)` - -Aliases: `.it.only(name, fn)` or `.fit(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).test.only('returns the result of adding %d to %d', (a, b, expected) => { - expect(a + b).toBe(expected); -}); -``` - -#### `.test.skip(name, fn)` - -Aliases: `.it.skip(name, fn)` or `.xit(name, fn)` or `.xtest(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).test.skip('returns the result of adding %d to %d', (a, b, expected) => { - expect(a + b).toBe(expected); -}); -``` - -#### `.test.concurrent(name, fn)` - -Aliases: `.it.concurrent(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).test.concurrent( - 'returns the result of adding %d to %d', - (a, b, expected) => { - expect(a + b).toBe(expected); - }, -); -``` - -#### `.test.concurrent.only(name, fn)` - -Aliases: `.it.concurrent.only(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).test.concurrent.only( - 'returns the result of adding %d to %d', - (a, b, expected) => { - expect(a + b).toBe(expected); - }, -); -``` - -#### `.test.concurrent.skip(name, fn)` - -Aliases: `.it.concurrent.skip(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).test.concurrent.skip( - 'returns the result of adding %d to %d', - (a, b, expected) => { - expect(a + b).toBe(expected); - }, -); -``` - -#### Asynchronous `.test(name, fn(done))` - -Alias: `.it(name, fn(done))` - -```js -each([['hello'], ['mr'], ['spy']]).test( - 'gives 007 secret message: %s', - (str, done) => { - const asynchronousSpy = message => { - expect(message).toBe(str); - done(); - }; - callSomeAsynchronousFunction(asynchronousSpy)(str); - }, -); -``` - -#### `.describe(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).describe('.add(%d, %d)', (a, b, expected) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); - - test('does not mutate first arg', () => { - a + b; - expect(a).toBe(a); - }); - - test('does not mutate second arg', () => { - a + b; - expect(b).toBe(b); - }); -}); -``` - -```js -each([ - {a: 1, b: 1, expected: 2}, - {a: 1, b: 2, expected: 3}, - {a: 2, b: 1, expected: 3}, -]).describe('.add($a, $b)', ({a, b, expected}) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); - - test('does not mutate first arg', () => { - a + b; - expect(a).toBe(a); - }); - - test('does not mutate second arg', () => { - a + b; - expect(b).toBe(b); - }); -}); -``` - -#### `.describe.only(name, fn)` - -Aliases: `.fdescribe(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).describe.only('.add(%d, %d)', (a, b, expected) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); -}); -``` - -#### `.describe.skip(name, fn)` - -Aliases: `.xdescribe(name, fn)` - -```js -each([ - [1, 1, 2], - [1, 2, 3], - [2, 1, 3], -]).describe.skip('.add(%d, %d)', (a, b, expected) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); -}); -``` - ---- - -## Tagged Template Literal of rows - -### API - -#### `each[tagged template].test(name, suiteFn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.test('returns $expected when adding $a to $b', ({a, b, expected}) => { - expect(a + b).toBe(expected); -}); -``` - -##### `each` takes a tagged template string with: - -- First row of variable name column headings separated with `|` -- One or more subsequent rows of data supplied as template literal expressions using `${value}` syntax. - -##### `.test`: - -- name: `String` the title of the `test`, use `$variable` in the name string to inject test values into the test title from the tagged template expressions - - To inject nested object values use you can supply a keyPath i.e. `$variable.path.to.value` - - You can use `$#` to inject the index of the table row. -- testFn: `Function` the test logic, this is the function that will receive the parameters of each row as function arguments - -#### `each[tagged template].describe(name, suiteFn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.describe('$a + $b', ({a, b, expected}) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); - - test('does not mutate first arg', () => { - a + b; - expect(a).toBe(a); - }); - - test('does not mutate second arg', () => { - a + b; - expect(b).toBe(b); - }); -}); -``` - -##### `each` takes a tagged template string with: - -- First row of variable name column headings separated with `|` -- One or more subsequent rows of data supplied as template literal expressions using `${value}` syntax. - -##### `.describe`: - -- name: `String` the title of the `test`, use `$variable` in the name string to inject test values into the test title from the tagged template expressions - - To inject nested object values use you can supply a keyPath i.e. `$variable.path.to.value` -- suiteFn: `Function` the suite of `test`/`it`s to be ran, this is the function that will receive the parameters in each row as function arguments - -### Usage - -#### `.test(name, fn)` - -Alias: `.it(name, fn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.test('returns $expected when adding $a to $b', ({a, b, expected}) => { - expect(a + b).toBe(expected); -}); -``` - -#### `.test.only(name, fn)` - -Aliases: `.it.only(name, fn)` or `.fit(name, fn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.test.only('returns $expected when adding $a to $b', ({a, b, expected}) => { - expect(a + b).toBe(expected); -}); -``` - -#### `.test.skip(name, fn)` - -Aliases: `.it.skip(name, fn)` or `.xit(name, fn)` or `.xtest(name, fn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.test.skip('returns $expected when adding $a to $b', ({a, b, expected}) => { - expect(a + b).toBe(expected); -}); -``` - -#### Asynchronous `.test(name, fn(done))` - -Alias: `.it(name, fn(done))` - -```js -each` - str - ${'hello'} - ${'mr'} - ${'spy'} -`.test('gives 007 secret message: $str', ({str}, done) => { - const asynchronousSpy = message => { - expect(message).toBe(str); - done(); - }; - callSomeAsynchronousFunction(asynchronousSpy)(str); -}); -``` - -#### `.describe(name, fn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.describe('$a + $b', ({a, b, expected}) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); - - test('does not mutate first arg', () => { - a + b; - expect(a).toBe(a); - }); - - test('does not mutate second arg', () => { - a + b; - expect(b).toBe(b); - }); -}); -``` - -#### `.describe.only(name, fn)` - -Aliases: `.fdescribe(name, fn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.describe.only('$a + $b', ({a, b, expected}) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); -}); -``` - -#### `.describe.skip(name, fn)` - -Aliases: `.xdescribe(name, fn)` - -```js -each` - a | b | expected - ${1} | ${1} | ${2} - ${1} | ${2} | ${3} - ${2} | ${1} | ${3} -`.describe.skip('$a + $b', ({a, b, expected}) => { - test(`returns ${expected}`, () => { - expect(a + b).toBe(expected); - }); -}); -``` - -## License - -MIT diff --git a/node_modules/jest-each/build/bind.d.ts b/node_modules/jest-each/build/bind.d.ts deleted file mode 100644 index 1bce7a3..0000000 --- a/node_modules/jest-each/build/bind.d.ts +++ /dev/null @@ -1,15 +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 { Global } from '@jest/types'; -export declare type EachTests = ReadonlyArray<{ - title: string; - arguments: ReadonlyArray; -}>; -declare type GlobalCallback = (testName: string, fn: Global.ConcurrentTestFn, timeout?: number) => void; -export default function bind(cb: GlobalCallback, supportsDone?: boolean): (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; -export {}; diff --git a/node_modules/jest-each/build/bind.js b/node_modules/jest-each/build/bind.js deleted file mode 100644 index 5514ed4..0000000 --- a/node_modules/jest-each/build/bind.js +++ /dev/null @@ -1,79 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = bind; - -function _jestUtil() { - const data = require('jest-util'); - - _jestUtil = function () { - return data; - }; - - return data; -} - -var _array = _interopRequireDefault(require('./table/array')); - -var _template = _interopRequireDefault(require('./table/template')); - -var _validation = require('./validation'); - -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. - * - */ -function bind(cb, supportsDone = true) { - return (table, ...taggedTemplateData) => - function eachBind(title, test, timeout) { - try { - const tests = isArrayTable(taggedTemplateData) - ? buildArrayTests(title, table) - : buildTemplateTests(title, table, taggedTemplateData); - return tests.forEach(row => - cb( - row.title, - applyArguments(supportsDone, row.arguments, test), - timeout - ) - ); - } catch (e) { - const error = new (_jestUtil().ErrorWithStack)(e.message, eachBind); - return cb(title, () => { - throw error; - }); - } - }; -} - -const isArrayTable = data => data.length === 0; - -const buildArrayTests = (title, table) => { - (0, _validation.validateArrayTable)(table); - return (0, _array.default)(title, table); -}; - -const buildTemplateTests = (title, table, taggedTemplateData) => { - const headings = getHeadingKeys(table[0]); - (0, _validation.validateTemplateTableArguments)(headings, taggedTemplateData); - return (0, _template.default)(title, headings, taggedTemplateData); -}; - -const getHeadingKeys = headings => - (0, _validation.extractValidTemplateHeadings)(headings) - .replace(/\s/g, '') - .split('|'); - -const applyArguments = (supportsDone, params, test) => - supportsDone && params.length < test.length - ? done => test(...params, done) - : () => test(...params); diff --git a/node_modules/jest-each/build/index.d.ts b/node_modules/jest-each/build/index.d.ts deleted file mode 100644 index 31fa8d2..0000000 --- a/node_modules/jest-each/build/index.d.ts +++ /dev/null @@ -1,79 +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 { Global } from '@jest/types'; -import bind from './bind'; -declare type Global = Global.Global; -declare const install: (g: Global, table: Global.EachTable, ...data: Global.TemplateData) => { - describe: { - (title: string, suite: Global.EachTestFn, timeout?: number | undefined): void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - fdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - fit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - it: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - concurrent: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - }; - test: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - concurrent: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - }; - xdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - xit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - xtest: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; -}; -declare const each: { - (table: Global.EachTable, ...data: Global.TemplateData): ReturnType; - withGlobal(g: Global): (table: Global.EachTable, ...data: Global.TemplateData) => { - describe: { - (title: string, suite: Global.EachTestFn, timeout?: number | undefined): void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - fdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - fit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - it: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - concurrent: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - }; - test: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - concurrent: { - (title: string, test: Global.EachTestFn, timeout?: number | undefined): void; - only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; - }; - xdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - xit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - xtest: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void; - }; -}; -export { bind }; -export default each; diff --git a/node_modules/jest-each/build/index.js b/node_modules/jest-each/build/index.js deleted file mode 100644 index 6d7809d..0000000 --- a/node_modules/jest-each/build/index.js +++ /dev/null @@ -1,97 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -Object.defineProperty(exports, 'bind', { - enumerable: true, - get: function () { - return _bind.default; - } -}); -exports.default = void 0; - -var _bind = _interopRequireDefault(require('./bind')); - -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 install = (g, table, ...data) => { - const bindingWithArray = data.length === 0; - const bindingWithTemplate = Array.isArray(table) && !!table.raw; - - if (!bindingWithArray && !bindingWithTemplate) { - throw new Error( - '`.each` must only be called with an Array or Tagged Template Literal.' - ); - } - - const test = (title, test, timeout) => - (0, _bind.default)(g.test)(table, ...data)(title, test, timeout); - - test.skip = (0, _bind.default)(g.test.skip)(table, ...data); - test.only = (0, _bind.default)(g.test.only)(table, ...data); - - const testConcurrent = (title, test, timeout) => - (0, _bind.default)(g.test.concurrent)(table, ...data)(title, test, timeout); - - test.concurrent = testConcurrent; - testConcurrent.only = (0, _bind.default)(g.test.concurrent.only)( - table, - ...data - ); - testConcurrent.skip = (0, _bind.default)(g.test.concurrent.skip)( - table, - ...data - ); - - const it = (title, test, timeout) => - (0, _bind.default)(g.it)(table, ...data)(title, test, timeout); - - it.skip = (0, _bind.default)(g.it.skip)(table, ...data); - it.only = (0, _bind.default)(g.it.only)(table, ...data); - it.concurrent = testConcurrent; - const xit = (0, _bind.default)(g.xit)(table, ...data); - const fit = (0, _bind.default)(g.fit)(table, ...data); - const xtest = (0, _bind.default)(g.xtest)(table, ...data); - - const describe = (title, suite, timeout) => - (0, _bind.default)(g.describe, false)(table, ...data)( - title, - suite, - timeout - ); - - describe.skip = (0, _bind.default)(g.describe.skip, false)(table, ...data); - describe.only = (0, _bind.default)(g.describe.only, false)(table, ...data); - const fdescribe = (0, _bind.default)(g.fdescribe, false)(table, ...data); - const xdescribe = (0, _bind.default)(g.xdescribe, false)(table, ...data); - return { - describe, - fdescribe, - fit, - it, - test, - xdescribe, - xit, - xtest - }; -}; - -const each = (table, ...data) => install(global, table, ...data); - -each.withGlobal = - g => - (table, ...data) => - install(g, table, ...data); - -var _default = each; -exports.default = _default; diff --git a/node_modules/jest-each/build/table/array.d.ts b/node_modules/jest-each/build/table/array.d.ts deleted file mode 100644 index a2f4cfb..0000000 --- a/node_modules/jest-each/build/table/array.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 type { Global } from '@jest/types'; -import type { EachTests } from '../bind'; -export default function array(title: string, arrayTable: Global.ArrayTable): EachTests; diff --git a/node_modules/jest-each/build/table/array.js b/node_modules/jest-each/build/table/array.js deleted file mode 100644 index c687c81..0000000 --- a/node_modules/jest-each/build/table/array.js +++ /dev/null @@ -1,151 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = array; - -function util() { - const data = _interopRequireWildcard(require('util')); - - util = function () { - return data; - }; - - return data; -} - -function _prettyFormat() { - const data = require('pretty-format'); - - _prettyFormat = function () { - return data; - }; - - return data; -} - -var _interpolation = require('./interpolation'); - -function _getRequireWildcardCache(nodeInterop) { - if (typeof WeakMap !== 'function') return null; - var cacheBabelInterop = new WeakMap(); - var cacheNodeInterop = new WeakMap(); - return (_getRequireWildcardCache = function (nodeInterop) { - return nodeInterop ? cacheNodeInterop : cacheBabelInterop; - })(nodeInterop); -} - -function _interopRequireWildcard(obj, nodeInterop) { - if (!nodeInterop && obj && obj.__esModule) { - return obj; - } - if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) { - return {default: obj}; - } - var cache = _getRequireWildcardCache(nodeInterop); - if (cache && cache.has(obj)) { - return cache.get(obj); - } - var newObj = {}; - var hasPropertyDescriptor = - Object.defineProperty && Object.getOwnPropertyDescriptor; - for (var key in obj) { - if (key !== 'default' && 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. - * - */ -const SUPPORTED_PLACEHOLDERS = /%[sdifjoOp]/g; -const PRETTY_PLACEHOLDER = '%p'; -const INDEX_PLACEHOLDER = '%#'; -const PLACEHOLDER_PREFIX = '%'; -const ESCAPED_PLACEHOLDER_PREFIX = /%%/g; -const JEST_EACH_PLACEHOLDER_ESCAPE = '@@__JEST_EACH_PLACEHOLDER_ESCAPE__@@'; - -function array(title, arrayTable) { - if (isTemplates(title, arrayTable)) { - return arrayTable.map((template, index) => ({ - arguments: [template], - title: (0, _interpolation.interpolateVariables)( - title, - template, - index - ).replace(ESCAPED_PLACEHOLDER_PREFIX, PLACEHOLDER_PREFIX) - })); - } - - return normaliseTable(arrayTable).map((row, index) => ({ - arguments: row, - title: formatTitle(title, row, index) - })); -} - -const isTemplates = (title, arrayTable) => - !SUPPORTED_PLACEHOLDERS.test(interpolateEscapedPlaceholders(title)) && - !isTable(arrayTable) && - arrayTable.every(col => col != null && typeof col === 'object'); - -const normaliseTable = table => (isTable(table) ? table : table.map(colToRow)); - -const isTable = table => table.every(Array.isArray); - -const colToRow = col => [col]; - -const formatTitle = (title, row, rowIndex) => - row - .reduce((formattedTitle, value) => { - const [placeholder] = getMatchingPlaceholders(formattedTitle); - const normalisedValue = normalisePlaceholderValue(value); - if (!placeholder) return formattedTitle; - if (placeholder === PRETTY_PLACEHOLDER) - return interpolatePrettyPlaceholder(formattedTitle, normalisedValue); - return util().format(formattedTitle, normalisedValue); - }, interpolateTitleIndex(interpolateEscapedPlaceholders(title), rowIndex)) - .replace(new RegExp(JEST_EACH_PLACEHOLDER_ESCAPE, 'g'), PLACEHOLDER_PREFIX); - -const normalisePlaceholderValue = value => - typeof value === 'string' - ? value.replace( - new RegExp(PLACEHOLDER_PREFIX, 'g'), - JEST_EACH_PLACEHOLDER_ESCAPE - ) - : value; - -const getMatchingPlaceholders = title => - title.match(SUPPORTED_PLACEHOLDERS) || []; - -const interpolateEscapedPlaceholders = title => - title.replace(ESCAPED_PLACEHOLDER_PREFIX, JEST_EACH_PLACEHOLDER_ESCAPE); - -const interpolateTitleIndex = (title, index) => - title.replace(INDEX_PLACEHOLDER, index.toString()); - -const interpolatePrettyPlaceholder = (title, value) => - title.replace( - PRETTY_PLACEHOLDER, - (0, _prettyFormat().format)(value, { - maxDepth: 1, - min: true - }) - ); diff --git a/node_modules/jest-each/build/table/interpolation.d.ts b/node_modules/jest-each/build/table/interpolation.d.ts deleted file mode 100644 index 7319506..0000000 --- a/node_modules/jest-each/build/table/interpolation.d.ts +++ /dev/null @@ -1,17 +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 Template = Record; -export declare type Templates = Array