mathjs 10.4.1 → 10.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +17 -0
- package/docs/datatypes/units.md +2 -2
- package/docs/reference/functions/format.md +3 -0
- package/examples/node_modules/.bin/acorn +12 -0
- package/examples/node_modules/.bin/acorn.cmd +17 -0
- package/examples/node_modules/.bin/acorn.ps1 +28 -0
- package/examples/node_modules/.bin/browserslist +12 -0
- package/examples/node_modules/.bin/browserslist.cmd +17 -0
- package/examples/node_modules/.bin/browserslist.ps1 +28 -0
- package/examples/node_modules/.bin/envinfo +2 -5
- package/examples/node_modules/.bin/envinfo.cmd +6 -6
- package/examples/node_modules/.bin/envinfo.ps1 +12 -2
- package/examples/node_modules/.bin/import-local-fixture +2 -5
- package/examples/node_modules/.bin/import-local-fixture.cmd +6 -6
- package/examples/node_modules/.bin/import-local-fixture.ps1 +12 -2
- package/examples/node_modules/.bin/node-which +2 -5
- package/examples/node_modules/.bin/node-which.cmd +6 -6
- package/examples/node_modules/.bin/node-which.ps1 +12 -2
- package/examples/node_modules/.bin/resolve +12 -0
- package/examples/node_modules/.bin/resolve.cmd +17 -0
- package/examples/node_modules/.bin/resolve.ps1 +28 -0
- package/examples/node_modules/.bin/terser +12 -0
- package/examples/node_modules/.bin/terser.cmd +17 -0
- package/examples/node_modules/.bin/terser.ps1 +28 -0
- package/examples/node_modules/.bin/webpack +12 -0
- package/examples/node_modules/.bin/webpack-cli +2 -5
- package/examples/node_modules/.bin/webpack-cli.cmd +6 -6
- package/examples/node_modules/.bin/webpack-cli.ps1 +12 -2
- package/examples/node_modules/.bin/webpack.cmd +17 -0
- package/examples/node_modules/.bin/webpack.ps1 +28 -0
- package/examples/node_modules/.package-lock.json +1407 -0
- package/examples/node_modules/@discoveryjs/json-ext/README.md +2 -1
- package/examples/node_modules/@discoveryjs/json-ext/dist/json-ext.js +147 -164
- package/examples/node_modules/@discoveryjs/json-ext/dist/json-ext.min.js +1 -1
- package/examples/node_modules/@discoveryjs/json-ext/dist/version.js +1 -0
- package/examples/node_modules/@discoveryjs/json-ext/index.d.ts +31 -0
- package/examples/node_modules/@discoveryjs/json-ext/package.json +53 -90
- package/examples/node_modules/@discoveryjs/json-ext/src/index.js +1 -1
- package/examples/node_modules/@discoveryjs/json-ext/src/parse-chunked.js +89 -44
- package/examples/node_modules/@discoveryjs/json-ext/src/stringify-info.js +11 -4
- package/examples/node_modules/@discoveryjs/json-ext/src/stringify-stream.js +17 -3
- package/examples/node_modules/@discoveryjs/json-ext/src/utils.js +6 -5
- package/examples/node_modules/@discoveryjs/json-ext/src/version.js +1 -0
- package/examples/node_modules/@types/eslint/LICENSE +21 -0
- package/examples/node_modules/@types/eslint/README.md +16 -0
- package/examples/node_modules/@types/eslint/helpers.d.ts +3 -0
- package/examples/node_modules/@types/eslint/index.d.ts +953 -0
- package/examples/node_modules/@types/eslint/package.json +65 -0
- package/examples/node_modules/@types/eslint/rules/best-practices.d.ts +931 -0
- package/examples/node_modules/@types/eslint/rules/deprecated.d.ts +267 -0
- package/examples/node_modules/@types/eslint/rules/ecmascript-6.d.ts +502 -0
- package/examples/node_modules/@types/eslint/rules/index.d.ts +21 -0
- package/examples/node_modules/@types/eslint/rules/node-commonjs.d.ts +133 -0
- package/examples/node_modules/@types/eslint/rules/possible-errors.d.ts +484 -0
- package/examples/node_modules/@types/eslint/rules/strict-mode.d.ts +11 -0
- package/examples/node_modules/@types/eslint/rules/stylistic-issues.d.ts +1893 -0
- package/examples/node_modules/@types/eslint/rules/variables.d.ts +187 -0
- package/examples/node_modules/@types/eslint/use-at-your-own-risk.d.ts +8 -0
- package/examples/node_modules/@types/eslint-scope/LICENSE +21 -0
- package/examples/node_modules/@types/eslint-scope/README.md +84 -0
- package/examples/node_modules/@types/eslint-scope/index.d.ts +64 -0
- package/examples/node_modules/@types/eslint-scope/package.json +28 -0
- package/examples/node_modules/@types/estree/LICENSE +21 -0
- package/examples/node_modules/@types/estree/README.md +16 -0
- package/examples/node_modules/@types/estree/flow.d.ts +174 -0
- package/examples/node_modules/@types/estree/index.d.ts +595 -0
- package/examples/node_modules/@types/estree/package.json +25 -0
- package/examples/node_modules/@types/json-schema/LICENSE +21 -0
- package/examples/node_modules/@types/json-schema/README.md +16 -0
- package/examples/node_modules/@types/json-schema/index.d.ts +758 -0
- package/examples/node_modules/@types/json-schema/package.json +40 -0
- package/examples/node_modules/@types/node/LICENSE +21 -0
- package/examples/node_modules/@types/node/README.md +16 -0
- package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/node_modules/@types/node/assert.d.ts +912 -0
- package/examples/node_modules/@types/node/async_hooks.d.ts +501 -0
- package/examples/node_modules/@types/node/buffer.d.ts +2232 -0
- package/examples/node_modules/@types/node/child_process.d.ts +1366 -0
- package/examples/node_modules/@types/node/cluster.d.ts +414 -0
- package/examples/node_modules/@types/node/console.d.ts +412 -0
- package/examples/node_modules/@types/node/constants.d.ts +18 -0
- package/examples/node_modules/@types/node/crypto.d.ts +3307 -0
- package/examples/node_modules/@types/node/dgram.d.ts +545 -0
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +134 -0
- package/examples/node_modules/@types/node/dns/promises.d.ts +370 -0
- package/examples/node_modules/@types/node/dns.d.ts +659 -0
- package/examples/node_modules/@types/node/domain.d.ts +169 -0
- package/examples/node_modules/@types/node/events.d.ts +651 -0
- package/examples/node_modules/@types/node/fs/promises.d.ts +1091 -0
- package/examples/node_modules/@types/node/fs.d.ts +3869 -0
- package/examples/node_modules/@types/node/globals.d.ts +284 -0
- package/examples/node_modules/@types/node/globals.global.d.ts +1 -0
- package/examples/node_modules/@types/node/http.d.ts +1396 -0
- package/examples/node_modules/@types/node/http2.d.ts +2100 -0
- package/examples/node_modules/@types/node/https.d.ts +391 -0
- package/examples/node_modules/@types/node/index.d.ts +129 -0
- package/examples/node_modules/@types/node/inspector.d.ts +2744 -0
- package/examples/node_modules/@types/node/module.d.ts +114 -0
- package/examples/node_modules/@types/node/net.d.ts +784 -0
- package/examples/node_modules/@types/node/os.d.ts +455 -0
- package/examples/node_modules/@types/node/package.json +220 -0
- package/examples/node_modules/@types/node/path.d.ts +180 -0
- package/examples/node_modules/@types/node/perf_hooks.d.ts +557 -0
- package/examples/node_modules/@types/node/process.d.ts +1481 -0
- package/examples/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/node_modules/@types/node/querystring.d.ts +131 -0
- package/examples/node_modules/@types/node/readline.d.ts +650 -0
- package/examples/node_modules/@types/node/repl.d.ts +424 -0
- package/examples/node_modules/@types/node/stream/consumers.d.ts +24 -0
- package/examples/node_modules/@types/node/stream/promises.d.ts +42 -0
- package/examples/node_modules/@types/node/stream/web.d.ts +330 -0
- package/examples/node_modules/@types/node/stream.d.ts +1249 -0
- package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/node_modules/@types/node/timers/promises.d.ts +68 -0
- package/examples/node_modules/@types/node/timers.d.ts +94 -0
- package/examples/node_modules/@types/node/tls.d.ts +1020 -0
- package/examples/node_modules/@types/node/trace_events.d.ts +161 -0
- package/examples/node_modules/@types/node/tty.d.ts +204 -0
- package/examples/node_modules/@types/node/url.d.ts +891 -0
- package/examples/node_modules/@types/node/util.d.ts +1594 -0
- package/examples/node_modules/@types/node/v8.d.ts +378 -0
- package/examples/node_modules/@types/node/vm.d.ts +507 -0
- package/examples/node_modules/@types/node/wasi.d.ts +158 -0
- package/examples/node_modules/@types/node/worker_threads.d.ts +649 -0
- package/examples/node_modules/@types/node/zlib.d.ts +517 -0
- package/examples/node_modules/@webassemblyjs/ast/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/ast/README.md +167 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/clone.js +3 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/definitions.js +668 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/index.js +7 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/node-helpers.js +84 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/node-path.js +137 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/nodes.js +925 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/signatures.js +199 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js +378 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/transform/denormalize-type-references/index.js +76 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/transform/wast-identifier-to-index/index.js +216 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/traverse.js +96 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-all-lock/pnpm-lock.yaml → @webassemblyjs/ast/esm/types/basic.js} +0 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-all-lock/yarn.lock → @webassemblyjs/ast/esm/types/nodes.js} +0 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-npm-and-pnpm/pnpm-lock.yaml → @webassemblyjs/ast/esm/types/traverse.js} +0 -0
- package/examples/node_modules/@webassemblyjs/ast/esm/utils.js +265 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/clone.js +10 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/definitions.js +668 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/index.js +127 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/node-helpers.js +107 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/node-path.js +144 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/nodes.js +1144 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/signatures.js +207 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/transform/ast-module-to-module-context/index.js +389 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/transform/denormalize-type-references/index.js +83 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/transform/wast-identifier-to-index/index.js +225 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/traverse.js +105 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-npm-and-yarn/yarn.lock → @webassemblyjs/ast/lib/types/basic.js} +0 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-pnpm-lock/pnpm-lock.yaml → @webassemblyjs/ast/lib/types/nodes.js} +0 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-yarn-and-pnpm/pnpm-lock.yaml → @webassemblyjs/ast/lib/types/traverse.js} +0 -0
- package/examples/node_modules/@webassemblyjs/ast/lib/utils.js +306 -0
- package/examples/node_modules/@webassemblyjs/ast/package.json +32 -0
- package/examples/node_modules/@webassemblyjs/ast/scripts/generateNodeUtils.js +219 -0
- package/examples/node_modules/@webassemblyjs/ast/scripts/generateTypeDefinitions.js +47 -0
- package/examples/node_modules/@webassemblyjs/ast/scripts/util.js +38 -0
- package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/README.md +34 -0
- package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/esm/index.js +42 -0
- package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/lib/index.js +49 -0
- package/examples/node_modules/@webassemblyjs/floating-point-hex-parser/package.json +24 -0
- package/examples/node_modules/@webassemblyjs/helper-api-error/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/helper-api-error/esm/index.js +47 -0
- package/examples/node_modules/@webassemblyjs/helper-api-error/lib/index.js +62 -0
- package/examples/node_modules/@webassemblyjs/helper-api-error/package.json +18 -0
- package/examples/node_modules/@webassemblyjs/helper-buffer/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/helper-buffer/esm/compare.js +65 -0
- package/examples/node_modules/@webassemblyjs/helper-buffer/esm/index.js +67 -0
- package/examples/node_modules/@webassemblyjs/helper-buffer/lib/compare.js +73 -0
- package/examples/node_modules/@webassemblyjs/helper-buffer/lib/index.js +78 -0
- package/examples/node_modules/@webassemblyjs/helper-buffer/package.json +24 -0
- package/examples/node_modules/@webassemblyjs/helper-numbers/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/helper-numbers/esm/index.js +91 -0
- package/examples/node_modules/@webassemblyjs/helper-numbers/lib/index.js +116 -0
- package/examples/node_modules/@webassemblyjs/helper-numbers/package.json +25 -0
- package/examples/node_modules/@webassemblyjs/helper-numbers/src/index.js +105 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/esm/index.js +391 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/esm/section.js +31 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/index.js +406 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/lib/section.js +38 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-bytecode/package.json +20 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/create.js +107 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/index.js +3 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/remove.js +36 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/esm/resize.js +78 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/create.js +121 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/index.js +35 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/remove.js +45 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/lib/resize.js +90 -0
- package/examples/node_modules/@webassemblyjs/helper-wasm-section/package.json +29 -0
- package/examples/node_modules/@webassemblyjs/ieee754/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/ieee754/esm/index.js +33 -0
- package/examples/node_modules/@webassemblyjs/ieee754/lib/index.js +52 -0
- package/examples/node_modules/@webassemblyjs/ieee754/package.json +23 -0
- package/examples/node_modules/@webassemblyjs/ieee754/src/index.js +47 -0
- package/examples/node_modules/@webassemblyjs/leb128/LICENSE.txt +194 -0
- package/examples/node_modules/@webassemblyjs/leb128/esm/bits.js +145 -0
- package/examples/node_modules/@webassemblyjs/leb128/esm/bufs.js +218 -0
- package/examples/node_modules/@webassemblyjs/leb128/esm/index.js +34 -0
- package/examples/node_modules/@webassemblyjs/leb128/esm/leb.js +316 -0
- package/examples/node_modules/@webassemblyjs/leb128/lib/bits.js +156 -0
- package/examples/node_modules/@webassemblyjs/leb128/lib/bufs.js +236 -0
- package/examples/node_modules/@webassemblyjs/leb128/lib/index.js +59 -0
- package/examples/node_modules/@webassemblyjs/leb128/lib/leb.js +332 -0
- package/examples/node_modules/@webassemblyjs/leb128/package.json +23 -0
- package/examples/node_modules/@webassemblyjs/utf8/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/utf8/esm/decoder.js +95 -0
- package/examples/node_modules/@webassemblyjs/utf8/esm/encoder.js +46 -0
- package/examples/node_modules/@webassemblyjs/utf8/esm/index.js +2 -0
- package/examples/node_modules/@webassemblyjs/utf8/lib/decoder.js +102 -0
- package/examples/node_modules/@webassemblyjs/utf8/lib/encoder.js +53 -0
- package/examples/node_modules/@webassemblyjs/utf8/lib/index.js +21 -0
- package/examples/node_modules/@webassemblyjs/utf8/package.json +20 -0
- package/examples/node_modules/@webassemblyjs/utf8/src/decoder.js +86 -0
- package/examples/node_modules/@webassemblyjs/utf8/src/encoder.js +44 -0
- package/examples/node_modules/@webassemblyjs/utf8/src/index.js +4 -0
- package/examples/node_modules/@webassemblyjs/utf8/test/index.js +13 -0
- package/examples/node_modules/@webassemblyjs/wasm-edit/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/wasm-edit/README.md +86 -0
- package/examples/node_modules/@webassemblyjs/wasm-edit/esm/apply.js +299 -0
- package/examples/node_modules/@webassemblyjs/wasm-edit/esm/index.js +114 -0
- package/examples/node_modules/@webassemblyjs/wasm-edit/lib/apply.js +311 -0
- package/examples/node_modules/@webassemblyjs/wasm-edit/lib/index.js +133 -0
- package/examples/node_modules/@webassemblyjs/wasm-edit/package.json +33 -0
- package/examples/node_modules/@webassemblyjs/wasm-gen/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/wasm-gen/esm/encoder/index.js +301 -0
- package/examples/node_modules/@webassemblyjs/wasm-gen/esm/index.js +51 -0
- package/examples/node_modules/@webassemblyjs/wasm-gen/lib/encoder/index.js +357 -0
- package/examples/node_modules/@webassemblyjs/wasm-gen/lib/index.js +64 -0
- package/examples/node_modules/@webassemblyjs/wasm-gen/package.json +27 -0
- package/examples/node_modules/@webassemblyjs/wasm-opt/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/wasm-opt/esm/index.js +41 -0
- package/examples/node_modules/@webassemblyjs/wasm-opt/esm/leb128.js +47 -0
- package/examples/node_modules/@webassemblyjs/wasm-opt/lib/index.js +50 -0
- package/examples/node_modules/@webassemblyjs/wasm-opt/lib/leb128.js +56 -0
- package/examples/node_modules/@webassemblyjs/wasm-opt/package.json +26 -0
- package/examples/node_modules/@webassemblyjs/wasm-parser/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/wasm-parser/README.md +28 -0
- package/examples/node_modules/@webassemblyjs/wasm-parser/esm/decoder.js +1776 -0
- package/examples/node_modules/@webassemblyjs/wasm-parser/esm/index.js +247 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-yarn-and-pnpm/yarn.lock → @webassemblyjs/wasm-parser/esm/types/decoder.js} +0 -0
- package/examples/node_modules/@webassemblyjs/wasm-parser/lib/decoder.js +1792 -0
- package/examples/node_modules/@webassemblyjs/wasm-parser/lib/index.js +257 -0
- package/examples/node_modules/{webpack-cli/lib/utils/__tests__/test-yarn-lock/yarn.lock → @webassemblyjs/wasm-parser/lib/types/decoder.js} +0 -0
- package/examples/node_modules/@webassemblyjs/wasm-parser/package.json +44 -0
- package/examples/node_modules/@webassemblyjs/wast-printer/LICENSE +21 -0
- package/examples/node_modules/@webassemblyjs/wast-printer/README.md +17 -0
- package/examples/node_modules/@webassemblyjs/wast-printer/esm/index.js +904 -0
- package/examples/node_modules/@webassemblyjs/wast-printer/lib/index.js +915 -0
- package/examples/node_modules/@webassemblyjs/wast-printer/package.json +36 -0
- package/examples/node_modules/@webpack-cli/configtest/README.md +27 -0
- package/examples/node_modules/@webpack-cli/configtest/lib/index.js +18 -25
- package/examples/node_modules/@webpack-cli/configtest/package.json +14 -36
- package/examples/node_modules/@webpack-cli/info/README.md +6 -5
- package/examples/node_modules/@webpack-cli/info/lib/index.js +57 -38
- package/examples/node_modules/@webpack-cli/info/package.json +19 -37
- package/examples/node_modules/@webpack-cli/serve/README.md +4 -0
- package/examples/node_modules/@webpack-cli/serve/lib/index.js +214 -41
- package/examples/node_modules/@webpack-cli/serve/lib/types.d.ts +62 -19
- package/examples/node_modules/@webpack-cli/serve/lib/types.js +21 -2
- package/examples/node_modules/@webpack-cli/serve/package.json +15 -36
- package/examples/node_modules/@xtuc/ieee754/LICENSE +28 -0
- package/examples/node_modules/@xtuc/ieee754/README.md +51 -0
- package/examples/node_modules/@xtuc/ieee754/dist/.gitkeep +0 -0
- package/examples/node_modules/@xtuc/ieee754/dist/index.cjs.js +96 -0
- package/examples/node_modules/@xtuc/ieee754/index.js +84 -0
- package/examples/node_modules/@xtuc/ieee754/package.json +42 -0
- package/examples/node_modules/@xtuc/long/LICENSE +202 -0
- package/examples/node_modules/@xtuc/long/README.md +257 -0
- package/examples/node_modules/@xtuc/long/dist/long.js +2 -0
- package/examples/node_modules/@xtuc/long/dist/long.js.map +1 -0
- package/examples/node_modules/@xtuc/long/index.d.ts +429 -0
- package/examples/node_modules/@xtuc/long/index.js +1 -0
- package/examples/node_modules/@xtuc/long/package.json +36 -0
- package/examples/node_modules/@xtuc/long/src/long.js +1405 -0
- package/examples/node_modules/acorn/CHANGELOG.md +788 -0
- package/examples/node_modules/acorn/LICENSE +21 -0
- package/examples/node_modules/acorn/README.md +280 -0
- package/examples/node_modules/acorn/bin/acorn +4 -0
- package/examples/node_modules/acorn/dist/acorn.d.ts +214 -0
- package/examples/node_modules/acorn/dist/acorn.js +5619 -0
- package/examples/node_modules/acorn/dist/acorn.mjs +5588 -0
- package/examples/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
- package/examples/node_modules/acorn/dist/bin.js +91 -0
- package/examples/node_modules/acorn/package.json +46 -0
- package/examples/node_modules/acorn-import-assertions/README.md +15 -0
- package/examples/node_modules/acorn-import-assertions/lib/index.js +287 -0
- package/examples/node_modules/acorn-import-assertions/lib/index.mjs +242 -0
- package/examples/node_modules/acorn-import-assertions/package.json +49 -0
- package/examples/node_modules/acorn-import-assertions/src/index.js +242 -0
- package/examples/node_modules/ajv/.tonic_example.js +20 -0
- package/examples/node_modules/ajv/LICENSE +22 -0
- package/examples/node_modules/ajv/README.md +1497 -0
- package/examples/node_modules/ajv/dist/ajv.bundle.js +7189 -0
- package/examples/node_modules/ajv/dist/ajv.min.js +3 -0
- package/examples/node_modules/ajv/dist/ajv.min.js.map +1 -0
- package/examples/node_modules/ajv/lib/ajv.d.ts +397 -0
- package/examples/node_modules/ajv/lib/ajv.js +506 -0
- package/examples/node_modules/ajv/lib/cache.js +26 -0
- package/examples/node_modules/ajv/lib/compile/async.js +90 -0
- package/examples/node_modules/ajv/lib/compile/equal.js +5 -0
- package/examples/node_modules/ajv/lib/compile/error_classes.js +34 -0
- package/examples/node_modules/ajv/lib/compile/formats.js +142 -0
- package/examples/node_modules/ajv/lib/compile/index.js +387 -0
- package/examples/node_modules/ajv/lib/compile/resolve.js +270 -0
- package/examples/node_modules/ajv/lib/compile/rules.js +66 -0
- package/examples/node_modules/ajv/lib/compile/schema_obj.js +9 -0
- package/examples/node_modules/ajv/lib/compile/ucs2length.js +20 -0
- package/examples/node_modules/ajv/lib/compile/util.js +239 -0
- package/examples/node_modules/ajv/lib/data.js +49 -0
- package/examples/node_modules/ajv/lib/definition_schema.js +37 -0
- package/examples/node_modules/ajv/lib/dot/_limit.jst +113 -0
- package/examples/node_modules/ajv/lib/dot/_limitItems.jst +12 -0
- package/examples/node_modules/ajv/lib/dot/_limitLength.jst +12 -0
- package/examples/node_modules/ajv/lib/dot/_limitProperties.jst +12 -0
- package/examples/node_modules/ajv/lib/dot/allOf.jst +32 -0
- package/examples/node_modules/ajv/lib/dot/anyOf.jst +46 -0
- package/examples/node_modules/ajv/lib/dot/coerce.def +51 -0
- package/examples/node_modules/ajv/lib/dot/comment.jst +9 -0
- package/examples/node_modules/ajv/lib/dot/const.jst +11 -0
- package/examples/node_modules/ajv/lib/dot/contains.jst +55 -0
- package/examples/node_modules/ajv/lib/dot/custom.jst +191 -0
- package/examples/node_modules/ajv/lib/dot/defaults.def +47 -0
- package/examples/node_modules/ajv/lib/dot/definitions.def +203 -0
- package/examples/node_modules/ajv/lib/dot/dependencies.jst +79 -0
- package/examples/node_modules/ajv/lib/dot/enum.jst +30 -0
- package/examples/node_modules/ajv/lib/dot/errors.def +194 -0
- package/examples/node_modules/ajv/lib/dot/format.jst +106 -0
- package/examples/node_modules/ajv/lib/dot/if.jst +73 -0
- package/examples/node_modules/ajv/lib/dot/items.jst +98 -0
- package/examples/node_modules/ajv/lib/dot/missing.def +39 -0
- package/examples/node_modules/ajv/lib/dot/multipleOf.jst +22 -0
- package/examples/node_modules/ajv/lib/dot/not.jst +43 -0
- package/examples/node_modules/ajv/lib/dot/oneOf.jst +54 -0
- package/examples/node_modules/ajv/lib/dot/pattern.jst +14 -0
- package/examples/node_modules/ajv/lib/dot/properties.jst +245 -0
- package/examples/node_modules/ajv/lib/dot/propertyNames.jst +52 -0
- package/examples/node_modules/ajv/lib/dot/ref.jst +85 -0
- package/examples/node_modules/ajv/lib/dot/required.jst +108 -0
- package/examples/node_modules/ajv/lib/dot/uniqueItems.jst +62 -0
- package/examples/node_modules/ajv/lib/dot/validate.jst +276 -0
- package/examples/node_modules/ajv/lib/dotjs/README.md +3 -0
- package/examples/node_modules/ajv/lib/dotjs/_limit.js +163 -0
- package/examples/node_modules/ajv/lib/dotjs/_limitItems.js +80 -0
- package/examples/node_modules/ajv/lib/dotjs/_limitLength.js +85 -0
- package/examples/node_modules/ajv/lib/dotjs/_limitProperties.js +80 -0
- package/examples/node_modules/ajv/lib/dotjs/allOf.js +42 -0
- package/examples/node_modules/ajv/lib/dotjs/anyOf.js +73 -0
- package/examples/node_modules/ajv/lib/dotjs/comment.js +14 -0
- package/examples/node_modules/ajv/lib/dotjs/const.js +56 -0
- package/examples/node_modules/ajv/lib/dotjs/contains.js +81 -0
- package/examples/node_modules/ajv/lib/dotjs/custom.js +228 -0
- package/examples/node_modules/ajv/lib/dotjs/dependencies.js +168 -0
- package/examples/node_modules/ajv/lib/dotjs/enum.js +66 -0
- package/examples/node_modules/ajv/lib/dotjs/format.js +150 -0
- package/examples/node_modules/ajv/lib/dotjs/if.js +103 -0
- package/examples/node_modules/ajv/lib/dotjs/index.js +33 -0
- package/examples/node_modules/ajv/lib/dotjs/items.js +140 -0
- package/examples/node_modules/ajv/lib/dotjs/multipleOf.js +80 -0
- package/examples/node_modules/ajv/lib/dotjs/not.js +84 -0
- package/examples/node_modules/ajv/lib/dotjs/oneOf.js +73 -0
- package/examples/node_modules/ajv/lib/dotjs/pattern.js +75 -0
- package/examples/node_modules/ajv/lib/dotjs/properties.js +335 -0
- package/examples/node_modules/ajv/lib/dotjs/propertyNames.js +81 -0
- package/examples/node_modules/ajv/lib/dotjs/ref.js +124 -0
- package/examples/node_modules/ajv/lib/dotjs/required.js +270 -0
- package/examples/node_modules/ajv/lib/dotjs/uniqueItems.js +86 -0
- package/examples/node_modules/ajv/lib/dotjs/validate.js +482 -0
- package/examples/node_modules/ajv/lib/keyword.js +146 -0
- package/examples/node_modules/ajv/lib/refs/data.json +17 -0
- package/examples/node_modules/ajv/lib/refs/json-schema-draft-04.json +149 -0
- package/examples/node_modules/ajv/lib/refs/json-schema-draft-06.json +154 -0
- package/examples/node_modules/ajv/lib/refs/json-schema-draft-07.json +168 -0
- package/examples/node_modules/ajv/lib/refs/json-schema-secure.json +94 -0
- package/examples/node_modules/ajv/package.json +106 -0
- package/examples/node_modules/ajv/scripts/.eslintrc.yml +3 -0
- package/examples/node_modules/ajv/scripts/bundle.js +61 -0
- package/examples/node_modules/ajv/scripts/compile-dots.js +73 -0
- package/examples/node_modules/ajv/scripts/info +10 -0
- package/examples/node_modules/ajv/scripts/prepare-tests +12 -0
- package/examples/node_modules/ajv/scripts/publish-built-version +32 -0
- package/examples/node_modules/ajv/scripts/travis-gh-pages +23 -0
- package/examples/node_modules/ajv-keywords/LICENSE +21 -0
- package/examples/node_modules/ajv-keywords/README.md +836 -0
- package/examples/node_modules/ajv-keywords/ajv-keywords.d.ts +7 -0
- package/examples/node_modules/ajv-keywords/index.js +35 -0
- package/examples/node_modules/ajv-keywords/keywords/_formatLimit.js +101 -0
- package/examples/node_modules/ajv-keywords/keywords/_util.js +15 -0
- package/examples/node_modules/ajv-keywords/keywords/allRequired.js +18 -0
- package/examples/node_modules/ajv-keywords/keywords/anyRequired.js +24 -0
- package/examples/node_modules/ajv-keywords/keywords/deepProperties.js +54 -0
- package/examples/node_modules/ajv-keywords/keywords/deepRequired.js +57 -0
- package/examples/node_modules/ajv-keywords/keywords/dot/_formatLimit.jst +116 -0
- package/examples/node_modules/ajv-keywords/keywords/dot/patternRequired.jst +33 -0
- package/examples/node_modules/ajv-keywords/keywords/dot/switch.jst +71 -0
- package/examples/node_modules/ajv-keywords/keywords/dotjs/README.md +3 -0
- package/examples/node_modules/ajv-keywords/keywords/dotjs/_formatLimit.js +178 -0
- package/examples/node_modules/ajv-keywords/keywords/dotjs/patternRequired.js +58 -0
- package/examples/node_modules/ajv-keywords/keywords/dotjs/switch.js +129 -0
- package/examples/node_modules/ajv-keywords/keywords/dynamicDefaults.js +72 -0
- package/examples/node_modules/ajv-keywords/keywords/formatMaximum.js +3 -0
- package/examples/node_modules/ajv-keywords/keywords/formatMinimum.js +3 -0
- package/examples/node_modules/ajv-keywords/keywords/index.js +22 -0
- package/examples/node_modules/ajv-keywords/keywords/instanceof.js +58 -0
- package/examples/node_modules/ajv-keywords/keywords/oneRequired.js +24 -0
- package/examples/node_modules/ajv-keywords/keywords/patternRequired.js +21 -0
- package/examples/node_modules/ajv-keywords/keywords/prohibited.js +24 -0
- package/examples/node_modules/ajv-keywords/keywords/range.js +36 -0
- package/examples/node_modules/ajv-keywords/keywords/regexp.js +36 -0
- package/examples/node_modules/ajv-keywords/keywords/select.js +79 -0
- package/examples/node_modules/ajv-keywords/keywords/switch.js +38 -0
- package/examples/node_modules/ajv-keywords/keywords/transform.js +80 -0
- package/examples/node_modules/ajv-keywords/keywords/typeof.js +32 -0
- package/examples/node_modules/ajv-keywords/keywords/uniqueItemProperties.js +59 -0
- package/examples/node_modules/ajv-keywords/package.json +53 -0
- package/examples/node_modules/browserslist/LICENSE +20 -0
- package/examples/node_modules/browserslist/README.md +66 -0
- package/examples/node_modules/browserslist/browser.js +50 -0
- package/examples/node_modules/browserslist/cli.js +152 -0
- package/examples/node_modules/browserslist/error.d.ts +7 -0
- package/examples/node_modules/browserslist/error.js +12 -0
- package/examples/node_modules/browserslist/index.d.ts +178 -0
- package/examples/node_modules/browserslist/index.js +1235 -0
- package/examples/node_modules/browserslist/node.js +393 -0
- package/examples/node_modules/browserslist/package.json +41 -0
- package/examples/node_modules/browserslist/update-db.js +317 -0
- package/examples/node_modules/buffer-from/LICENSE +21 -0
- package/examples/node_modules/buffer-from/index.js +72 -0
- package/examples/node_modules/buffer-from/package.json +19 -0
- package/examples/node_modules/buffer-from/readme.md +69 -0
- package/examples/node_modules/caniuse-lite/LICENSE +395 -0
- package/examples/node_modules/caniuse-lite/README.md +92 -0
- package/examples/node_modules/caniuse-lite/data/agents.js +1 -0
- package/examples/node_modules/caniuse-lite/data/browserVersions.js +1 -0
- package/examples/node_modules/caniuse-lite/data/browsers.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/aac.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/accelerometer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ambient-light.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/apng.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/array-find-index.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/array-find.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/array-flat.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/array-includes.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/asmjs.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/async-functions.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/audio-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/audio.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/audiotracks.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/autofocus.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/auxclick.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/av1.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/avif.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/background-attachment.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/background-sync.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/battery-status.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/beacon.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/bigint.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/bloburls.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/border-image.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/border-radius.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/brotli.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/calc.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/canvas-text.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/canvas.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ch-unit.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/classlist.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/clipboard.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/colr-v1.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/colr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/console-basic.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/console-time.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/const.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/contenteditable.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/cors.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/credential-management.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/cryptography.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-all.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-animation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-any-link.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-appearance.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-autofill.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-canvas.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-color-function.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-containment.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-counters.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-element-function.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-env-function.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-filters.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-first-line.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-fixed.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-gradients.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-grid.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-has.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-hyphenate.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-image-set.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-masks.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-nesting.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-opacity.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-overflow.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-page-break.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-reflections.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-regions.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-resize.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-sel2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-sel3.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-selection.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-shapes.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-sticky.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-table.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-touch-action-2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-transitions.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-variables.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-when-else.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css-zoom.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css3-attr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css3-colors.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/currentcolor.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/custom-elements.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/customevent.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/datalist.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dataset.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/datauri.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/decorators.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/details.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dialog.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dnssec.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/do-not-track.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/document-policy.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/documenthead.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dom-range.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dommatrix.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/download.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/dragndrop.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/element-closest.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/element-from-point.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/eme.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/eot.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es5.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es6-class.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es6-generators.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es6-module.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es6-number.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/es6.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/eventsource.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/feature-policy.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/fetch.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/fileapi.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/filereader.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/filereadersync.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/filesystem.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/flac.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/flexbox.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/flow-root.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-feature.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-kerning.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-loading.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-metrics-overrides.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-smooth.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-variant-east-asian.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/fontface.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/form-attribute.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/form-validation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/forms.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/fullscreen.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/gamepad.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/geolocation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/gyroscope.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/hashchange.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/heif.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/hevc.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/hidden.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/history.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/html5semantic.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/http2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/http3.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/imagecapture.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ime.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/import-maps.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/imports.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/indexeddb.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/inline-block.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/innertext.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-color.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-datetime.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-event.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-minlength.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-number.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-pattern.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-range.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-search.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/input-selection.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/internationalization.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/jpegxl.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/jpegxr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/json.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/lazyload.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/let.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/localecompare.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/magnetometer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/matchesselector.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/matchmedia.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mathml.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/maxlength.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/media-attribute.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/media-fragments.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/media-session-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mediasource.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/menu.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/meter.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/midi.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mp3.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mpeg4.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/multicolumn.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mutation-events.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/nav-timing.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/navigator-language.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/netinfo.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/notifications.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/object-entries.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/object-fit.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/object-observe.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/object-values.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/objectrtc.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/offline-apps.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ogv.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/online-status.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/opus.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/outline.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/passwordrules.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/path2d.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/payment-request.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/permissions-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/picture.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ping.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/png-alpha.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/pointer-events.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/pointer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/pointerlock.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/portals.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/private-class-fields.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/progress.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/promise-finally.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/promises.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/proximity.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/proxy.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/public-class-fields.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/push-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/queryselector.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/rellist.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/rem.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/resource-timing.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ruby.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/run-in.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/script-async.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/script-defer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/sdch.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/selection-api.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/server-timing.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/setimmediate.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/sha-2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/shadowdom.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/sni.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/spdy.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/sql-storage.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/srcset.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/stream.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/streams.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/style-scoped.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-css.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-filters.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-html.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-html5.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-img.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg-smil.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/svg.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/sxg.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/template-literals.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/template.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/temporal.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/testfeat.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/text-decoration.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/text-overflow.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/text-stroke.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/text-underline-offset.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/textcontent.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/textencoder.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/tls1-1.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/tls1-2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/tls1-3.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/token-binding.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/touch.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/transforms2d.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/transforms3d.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/trusted-types.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/ttf.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/typedarrays.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/u2f.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/url.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/use-strict.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/user-select-none.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/user-timing.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/vector-effect.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/vibration.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/video.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/videotracks.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/viewport-units.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/wai-aria.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/wake-lock.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/wasm.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/wav.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/wbr-element.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/web-animation.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/web-serial.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/web-share.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webauthn.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webgl.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webgl2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webhid.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webm.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webnfc.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webp.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/websockets.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webusb.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webvr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webvtt.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webworkers.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/webxr.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/will-change.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/woff.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/woff2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/word-break.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/wordwrap.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/xhr2.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/xhtml.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -0
- package/examples/node_modules/caniuse-lite/data/features.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AD.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AF.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AX.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/AZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BB.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BD.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BF.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BJ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/BZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CD.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CF.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CV.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CX.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/CZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/DE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/DJ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/DK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/DM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/DO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/DZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/EC.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/EE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/EG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ER.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ES.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ET.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/FI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/FJ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/FK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/FM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/FO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/FR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GB.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GD.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GF.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GP.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GQ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/GY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/HK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/HN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/HR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/HT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/HU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ID.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IQ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/IT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/JE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/JM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/JO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/JP.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KP.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/KZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LB.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LC.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LV.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/LY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MC.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MD.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ME.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ML.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MP.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MQ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MV.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MX.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/MZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NC.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NF.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NP.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/NZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/OM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PF.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/PY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/QA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/RE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/RO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/RS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/RU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/RW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SB.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SC.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SD.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ST.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SV.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/SZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TC.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TD.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TH.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TJ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TK.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TL.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TO.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TR.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TV.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/TZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/UA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/UG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/US.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/UY.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/UZ.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/VA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/VC.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/VE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/VG.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/VI.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/VN.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/VU.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/WF.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/WS.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/YE.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/YT.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ZA.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ZM.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/ZW.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-af.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-an.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-as.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-na.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -0
- package/examples/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -0
- package/examples/node_modules/caniuse-lite/dist/lib/statuses.js +9 -0
- package/examples/node_modules/caniuse-lite/dist/lib/supported.js +9 -0
- package/examples/node_modules/caniuse-lite/dist/unpacker/agents.js +47 -0
- package/examples/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +1 -0
- package/examples/node_modules/caniuse-lite/dist/unpacker/browsers.js +1 -0
- package/examples/node_modules/caniuse-lite/dist/unpacker/feature.js +48 -0
- package/examples/node_modules/caniuse-lite/dist/unpacker/features.js +6 -0
- package/examples/node_modules/caniuse-lite/dist/unpacker/index.js +4 -0
- package/examples/node_modules/caniuse-lite/dist/unpacker/region.js +22 -0
- package/examples/node_modules/caniuse-lite/package.json +34 -0
- package/examples/node_modules/chrome-trace-event/CHANGES.md +26 -0
- package/examples/node_modules/chrome-trace-event/LICENSE.txt +23 -0
- package/examples/node_modules/chrome-trace-event/README.md +31 -0
- package/examples/node_modules/chrome-trace-event/dist/trace-event.d.ts +52 -0
- package/examples/node_modules/chrome-trace-event/dist/trace-event.js +170 -0
- package/examples/node_modules/chrome-trace-event/dist/trace-event.js.map +1 -0
- package/examples/node_modules/chrome-trace-event/package.json +38 -0
- package/examples/node_modules/clone-deep/package.json +17 -48
- package/examples/node_modules/colorette/README.md +54 -22
- package/examples/node_modules/colorette/index.cjs +213 -71
- package/examples/node_modules/colorette/index.d.ts +91 -47
- package/examples/node_modules/colorette/index.js +142 -68
- package/examples/node_modules/colorette/package.json +17 -51
- package/examples/node_modules/commander/CHANGELOG.md +339 -360
- package/examples/node_modules/commander/Readme.md +254 -743
- package/examples/node_modules/commander/index.js +1003 -1996
- package/examples/node_modules/commander/package.json +24 -86
- package/examples/node_modules/commander/typings/index.d.ts +153 -470
- package/examples/node_modules/cross-spawn/package.json +40 -71
- package/examples/node_modules/electron-to-chromium/CHANGELOG.md +14 -0
- package/examples/node_modules/electron-to-chromium/LICENSE +5 -0
- package/examples/node_modules/electron-to-chromium/README.md +186 -0
- package/examples/node_modules/electron-to-chromium/chromium-versions.js +45 -0
- package/examples/node_modules/electron-to-chromium/chromium-versions.json +1 -0
- package/examples/node_modules/electron-to-chromium/full-chromium-versions.js +1833 -0
- package/examples/node_modules/electron-to-chromium/full-chromium-versions.json +1 -0
- package/examples/node_modules/electron-to-chromium/full-versions.js +1335 -0
- package/examples/node_modules/electron-to-chromium/full-versions.json +1 -0
- package/examples/node_modules/electron-to-chromium/index.js +36 -0
- package/examples/node_modules/electron-to-chromium/package.json +42 -0
- package/examples/node_modules/electron-to-chromium/versions.js +89 -0
- package/examples/node_modules/electron-to-chromium/versions.json +1 -0
- package/examples/node_modules/enhanced-resolve/LICENSE +20 -0
- package/examples/node_modules/enhanced-resolve/README.md +167 -0
- package/examples/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js +96 -0
- package/examples/node_modules/enhanced-resolve/lib/AliasPlugin.js +120 -0
- package/examples/node_modules/enhanced-resolve/lib/AppendPlugin.js +47 -0
- package/examples/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js +477 -0
- package/examples/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js +45 -0
- package/examples/node_modules/enhanced-resolve/lib/ConditionalPlugin.js +59 -0
- package/examples/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js +96 -0
- package/examples/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js +170 -0
- package/examples/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js +63 -0
- package/examples/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +149 -0
- package/examples/node_modules/enhanced-resolve/lib/FileExistsPlugin.js +58 -0
- package/examples/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +171 -0
- package/examples/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js +64 -0
- package/examples/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js +41 -0
- package/examples/node_modules/enhanced-resolve/lib/LogInfoPlugin.js +50 -0
- package/examples/node_modules/enhanced-resolve/lib/MainFieldPlugin.js +81 -0
- package/examples/node_modules/enhanced-resolve/lib/ModulesInHierachicDirectoriesPlugin.js +9 -0
- package/examples/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js +80 -0
- package/examples/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js +47 -0
- package/examples/node_modules/enhanced-resolve/lib/NextPlugin.js +33 -0
- package/examples/node_modules/enhanced-resolve/lib/ParsePlugin.js +74 -0
- package/examples/node_modules/enhanced-resolve/lib/PnpPlugin.js +103 -0
- package/examples/node_modules/enhanced-resolve/lib/Resolver.js +500 -0
- package/examples/node_modules/enhanced-resolve/lib/ResolverFactory.js +661 -0
- package/examples/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js +65 -0
- package/examples/node_modules/enhanced-resolve/lib/ResultPlugin.js +42 -0
- package/examples/node_modules/enhanced-resolve/lib/RootsPlugin.js +62 -0
- package/examples/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js +80 -0
- package/examples/node_modules/enhanced-resolve/lib/SymlinkPlugin.js +88 -0
- package/examples/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js +95 -0
- package/examples/node_modules/enhanced-resolve/lib/TryNextPlugin.js +41 -0
- package/examples/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js +99 -0
- package/examples/node_modules/enhanced-resolve/lib/UseFilePlugin.js +49 -0
- package/examples/node_modules/enhanced-resolve/lib/createInnerContext.js +37 -0
- package/examples/node_modules/enhanced-resolve/lib/forEachBail.js +25 -0
- package/examples/node_modules/enhanced-resolve/lib/getInnerRequest.js +27 -0
- package/examples/node_modules/enhanced-resolve/lib/getPaths.js +37 -0
- package/examples/node_modules/enhanced-resolve/lib/index.js +131 -0
- package/examples/node_modules/enhanced-resolve/lib/util/entrypoints.js +667 -0
- package/examples/node_modules/enhanced-resolve/lib/util/identifier.js +26 -0
- package/examples/node_modules/enhanced-resolve/lib/util/path.js +221 -0
- package/examples/node_modules/enhanced-resolve/lib/util/process-browser.js +16 -0
- package/examples/node_modules/enhanced-resolve/package.json +70 -0
- package/examples/node_modules/enhanced-resolve/types.d.ts +506 -0
- package/examples/node_modules/envinfo/dist/cli.js +1 -1
- package/examples/node_modules/envinfo/dist/envinfo.js +1 -1
- package/examples/node_modules/envinfo/package.json +55 -89
- package/examples/node_modules/es-module-lexer/LICENSE +10 -0
- package/examples/node_modules/es-module-lexer/README.md +251 -0
- package/examples/node_modules/es-module-lexer/dist/lexer.asm.js +1 -0
- package/examples/node_modules/es-module-lexer/dist/lexer.cjs +1 -0
- package/examples/node_modules/es-module-lexer/dist/lexer.js +2 -0
- package/examples/node_modules/es-module-lexer/lexer.js +899 -0
- package/examples/node_modules/es-module-lexer/package.json +53 -0
- package/examples/node_modules/es-module-lexer/types/lexer.d.ts +86 -0
- package/examples/node_modules/escalade/dist/index.js +22 -0
- package/examples/node_modules/escalade/dist/index.mjs +22 -0
- package/examples/node_modules/escalade/index.d.ts +3 -0
- package/examples/node_modules/escalade/license +9 -0
- package/examples/node_modules/escalade/package.json +61 -0
- package/examples/node_modules/escalade/readme.md +211 -0
- package/examples/node_modules/escalade/sync/index.d.ts +2 -0
- package/examples/node_modules/escalade/sync/index.js +18 -0
- package/examples/node_modules/escalade/sync/index.mjs +18 -0
- package/examples/node_modules/eslint-scope/CHANGELOG.md +70 -0
- package/examples/node_modules/eslint-scope/LICENSE +22 -0
- package/examples/node_modules/eslint-scope/README.md +54 -0
- package/examples/node_modules/eslint-scope/lib/definition.js +86 -0
- package/examples/node_modules/eslint-scope/lib/index.js +165 -0
- package/examples/node_modules/eslint-scope/lib/pattern-visitor.js +152 -0
- package/examples/node_modules/eslint-scope/lib/reference.js +167 -0
- package/examples/node_modules/eslint-scope/lib/referencer.js +629 -0
- package/examples/node_modules/eslint-scope/lib/scope-manager.js +247 -0
- package/examples/node_modules/eslint-scope/lib/scope.js +748 -0
- package/examples/node_modules/eslint-scope/lib/variable.js +88 -0
- package/examples/node_modules/eslint-scope/package.json +48 -0
- package/examples/node_modules/esrecurse/.babelrc +3 -0
- package/examples/node_modules/esrecurse/README.md +171 -0
- package/examples/node_modules/esrecurse/esrecurse.js +117 -0
- package/examples/node_modules/esrecurse/gulpfile.babel.js +92 -0
- package/examples/node_modules/esrecurse/node_modules/estraverse/.jshintrc +16 -0
- package/examples/node_modules/esrecurse/node_modules/estraverse/LICENSE.BSD +19 -0
- package/examples/node_modules/esrecurse/node_modules/estraverse/README.md +153 -0
- package/examples/node_modules/esrecurse/node_modules/estraverse/estraverse.js +805 -0
- package/examples/node_modules/esrecurse/node_modules/estraverse/gulpfile.js +70 -0
- package/examples/node_modules/esrecurse/node_modules/estraverse/package.json +40 -0
- package/examples/node_modules/esrecurse/package.json +52 -0
- package/examples/node_modules/estraverse/.jshintrc +16 -0
- package/examples/node_modules/estraverse/LICENSE.BSD +19 -0
- package/examples/node_modules/estraverse/README.md +153 -0
- package/examples/node_modules/estraverse/estraverse.js +782 -0
- package/examples/node_modules/estraverse/gulpfile.js +70 -0
- package/examples/node_modules/estraverse/package.json +40 -0
- package/examples/node_modules/events/.airtap.yml +15 -0
- package/examples/node_modules/events/.github/FUNDING.yml +12 -0
- package/examples/node_modules/events/.travis.yml +18 -0
- package/examples/node_modules/events/History.md +118 -0
- package/examples/node_modules/events/LICENSE +22 -0
- package/examples/node_modules/events/Readme.md +50 -0
- package/examples/node_modules/events/events.js +497 -0
- package/examples/node_modules/events/package.json +37 -0
- package/examples/node_modules/events/security.md +10 -0
- package/examples/node_modules/events/tests/add-listeners.js +111 -0
- package/examples/node_modules/events/tests/check-listener-leaks.js +101 -0
- package/examples/node_modules/events/tests/common.js +104 -0
- package/examples/node_modules/events/tests/errors.js +13 -0
- package/examples/node_modules/events/tests/events-list.js +28 -0
- package/examples/node_modules/events/tests/events-once.js +234 -0
- package/examples/node_modules/events/tests/index.js +64 -0
- package/examples/node_modules/events/tests/legacy-compat.js +16 -0
- package/examples/node_modules/events/tests/listener-count.js +37 -0
- package/examples/node_modules/events/tests/listeners-side-effects.js +56 -0
- package/examples/node_modules/events/tests/listeners.js +168 -0
- package/examples/node_modules/events/tests/max-listeners.js +47 -0
- package/examples/node_modules/events/tests/method-names.js +35 -0
- package/examples/node_modules/events/tests/modify-in-emit.js +90 -0
- package/examples/node_modules/events/tests/num-args.js +60 -0
- package/examples/node_modules/events/tests/once.js +83 -0
- package/examples/node_modules/events/tests/prepend.js +31 -0
- package/examples/node_modules/events/tests/remove-all-listeners.js +133 -0
- package/examples/node_modules/events/tests/remove-listeners.js +212 -0
- package/examples/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
- package/examples/node_modules/events/tests/special-event-names.js +45 -0
- package/examples/node_modules/events/tests/subclass.js +66 -0
- package/examples/node_modules/events/tests/symbols.js +25 -0
- package/examples/node_modules/execa/index.d.ts +12 -2
- package/examples/node_modules/execa/index.js +14 -4
- package/examples/node_modules/execa/lib/command.js +25 -5
- package/examples/node_modules/execa/lib/error.js +2 -0
- package/examples/node_modules/execa/lib/kill.js +7 -4
- package/examples/node_modules/execa/lib/stream.js +1 -1
- package/examples/node_modules/execa/package.json +72 -100
- package/examples/node_modules/execa/readme.md +16 -3
- package/examples/node_modules/fast-deep-equal/LICENSE +21 -0
- package/examples/node_modules/fast-deep-equal/README.md +96 -0
- package/examples/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/examples/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/examples/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/examples/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/examples/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/examples/node_modules/fast-deep-equal/index.js +46 -0
- package/examples/node_modules/fast-deep-equal/package.json +61 -0
- package/examples/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/examples/node_modules/fast-deep-equal/react.js +53 -0
- package/examples/node_modules/fast-json-stable-stringify/.eslintrc.yml +26 -0
- package/examples/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +1 -0
- package/examples/node_modules/fast-json-stable-stringify/.travis.yml +8 -0
- package/examples/node_modules/fast-json-stable-stringify/LICENSE +21 -0
- package/examples/node_modules/fast-json-stable-stringify/README.md +131 -0
- package/examples/node_modules/fast-json-stable-stringify/benchmark/index.js +31 -0
- package/examples/node_modules/fast-json-stable-stringify/benchmark/test.json +137 -0
- package/examples/node_modules/fast-json-stable-stringify/example/key_cmp.js +7 -0
- package/examples/node_modules/fast-json-stable-stringify/example/nested.js +3 -0
- package/examples/node_modules/fast-json-stable-stringify/example/str.js +3 -0
- package/examples/node_modules/fast-json-stable-stringify/example/value_cmp.js +7 -0
- package/examples/node_modules/fast-json-stable-stringify/index.d.ts +4 -0
- package/examples/node_modules/fast-json-stable-stringify/index.js +59 -0
- package/examples/node_modules/fast-json-stable-stringify/package.json +52 -0
- package/examples/node_modules/fast-json-stable-stringify/test/cmp.js +13 -0
- package/examples/node_modules/fast-json-stable-stringify/test/nested.js +44 -0
- package/examples/node_modules/fast-json-stable-stringify/test/str.js +46 -0
- package/examples/node_modules/fast-json-stable-stringify/test/to-json.js +22 -0
- package/examples/node_modules/fastest-levenshtein/package.json +33 -60
- package/examples/node_modules/find-up/package.json +51 -83
- package/examples/node_modules/function-bind/package.json +23 -54
- package/examples/node_modules/get-stream/index.d.ts +1 -1
- package/examples/node_modules/get-stream/package.json +45 -77
- package/examples/node_modules/get-stream/readme.md +1 -1
- package/examples/node_modules/glob-to-regexp/.travis.yml +4 -0
- package/examples/node_modules/glob-to-regexp/README.md +75 -0
- package/examples/node_modules/glob-to-regexp/index.js +130 -0
- package/examples/node_modules/glob-to-regexp/package.json +23 -0
- package/examples/node_modules/glob-to-regexp/test.js +235 -0
- package/examples/node_modules/graceful-fs/LICENSE +15 -0
- package/examples/node_modules/graceful-fs/README.md +143 -0
- package/examples/node_modules/graceful-fs/clone.js +23 -0
- package/examples/node_modules/graceful-fs/graceful-fs.js +429 -0
- package/examples/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/examples/node_modules/graceful-fs/package.json +50 -0
- package/examples/node_modules/graceful-fs/polyfills.js +348 -0
- package/examples/node_modules/has/package.json +21 -46
- package/examples/node_modules/has-flag/index.d.ts +39 -0
- package/examples/node_modules/has-flag/index.js +8 -0
- package/examples/node_modules/has-flag/license +9 -0
- package/examples/node_modules/has-flag/package.json +46 -0
- package/examples/node_modules/has-flag/readme.md +89 -0
- package/examples/node_modules/human-signals/package.json +27 -59
- package/examples/node_modules/import-local/index.js +9 -4
- package/examples/node_modules/import-local/package.json +50 -81
- package/examples/node_modules/import-local/readme.md +7 -8
- package/examples/node_modules/interpret/package.json +24 -67
- package/examples/node_modules/is-core-module/.eslintrc +0 -1
- package/examples/node_modules/is-core-module/.nycrc +0 -4
- package/examples/node_modules/is-core-module/CHANGELOG.md +69 -0
- package/examples/node_modules/is-core-module/README.md +6 -3
- package/examples/node_modules/is-core-module/core.json +85 -16
- package/examples/node_modules/is-core-module/index.js +1 -1
- package/examples/node_modules/is-core-module/package.json +67 -92
- package/examples/node_modules/is-core-module/test/index.js +47 -0
- package/examples/node_modules/is-plain-object/package.json +26 -68
- package/examples/node_modules/is-stream/index.d.ts +0 -1
- package/examples/node_modules/is-stream/index.js +1 -2
- package/examples/node_modules/is-stream/license +1 -1
- package/examples/node_modules/is-stream/package.json +40 -71
- package/examples/node_modules/is-stream/readme.md +12 -9
- package/examples/node_modules/isexe/package.json +16 -45
- package/examples/node_modules/isobject/package.json +24 -69
- package/examples/node_modules/jest-worker/LICENSE +21 -0
- package/examples/node_modules/jest-worker/README.md +247 -0
- package/examples/node_modules/jest-worker/build/Farm.d.ts +29 -0
- package/examples/node_modules/jest-worker/build/Farm.js +206 -0
- package/examples/node_modules/jest-worker/build/FifoQueue.d.ts +18 -0
- package/examples/node_modules/jest-worker/build/FifoQueue.js +171 -0
- package/examples/node_modules/jest-worker/build/PriorityQueue.d.ts +41 -0
- package/examples/node_modules/jest-worker/build/PriorityQueue.js +188 -0
- package/examples/node_modules/jest-worker/build/WorkerPool.d.ts +13 -0
- package/examples/node_modules/jest-worker/build/WorkerPool.js +49 -0
- package/examples/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +21 -0
- package/examples/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
- package/examples/node_modules/jest-worker/build/index.d.ts +49 -0
- package/examples/node_modules/jest-worker/build/index.js +223 -0
- package/examples/node_modules/jest-worker/build/types.d.ts +143 -0
- package/examples/node_modules/jest-worker/build/types.js +39 -0
- package/examples/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +51 -0
- package/examples/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
- package/examples/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +34 -0
- package/examples/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
- package/examples/node_modules/jest-worker/build/workers/messageParent.d.ts +8 -0
- package/examples/node_modules/jest-worker/build/workers/messageParent.js +38 -0
- package/examples/node_modules/jest-worker/build/workers/processChild.d.ts +7 -0
- package/examples/node_modules/jest-worker/build/workers/processChild.js +148 -0
- package/examples/node_modules/jest-worker/build/workers/threadChild.d.ts +7 -0
- package/examples/node_modules/jest-worker/build/workers/threadChild.js +159 -0
- package/examples/node_modules/jest-worker/package.json +38 -0
- package/examples/node_modules/json-parse-better-errors/CHANGELOG.md +46 -0
- package/examples/node_modules/json-parse-better-errors/LICENSE.md +7 -0
- package/examples/node_modules/json-parse-better-errors/README.md +46 -0
- package/examples/node_modules/json-parse-better-errors/index.js +38 -0
- package/examples/node_modules/json-parse-better-errors/package.json +45 -0
- package/examples/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/examples/node_modules/json-schema-traverse/.travis.yml +8 -0
- package/examples/node_modules/json-schema-traverse/LICENSE +21 -0
- package/examples/node_modules/json-schema-traverse/README.md +83 -0
- package/examples/node_modules/json-schema-traverse/index.js +89 -0
- package/examples/node_modules/json-schema-traverse/package.json +43 -0
- package/examples/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/examples/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/examples/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/examples/node_modules/kind-of/package.json +27 -83
- package/examples/node_modules/loader-runner/LICENSE +21 -0
- package/examples/node_modules/loader-runner/README.md +53 -0
- package/examples/node_modules/loader-runner/lib/LoaderLoadingError.js +11 -0
- package/examples/node_modules/loader-runner/lib/LoaderRunner.js +415 -0
- package/examples/node_modules/loader-runner/lib/loadLoader.js +54 -0
- package/examples/node_modules/loader-runner/package.json +45 -0
- package/examples/node_modules/locate-path/package.json +43 -75
- package/examples/node_modules/merge-stream/package.json +10 -45
- package/examples/node_modules/mime-db/HISTORY.md +507 -0
- package/examples/node_modules/mime-db/LICENSE +23 -0
- package/examples/node_modules/mime-db/README.md +100 -0
- package/examples/node_modules/mime-db/db.json +8519 -0
- package/examples/node_modules/mime-db/index.js +12 -0
- package/examples/node_modules/mime-db/package.json +60 -0
- package/examples/node_modules/mime-types/HISTORY.md +397 -0
- package/examples/node_modules/mime-types/LICENSE +23 -0
- package/examples/node_modules/mime-types/README.md +113 -0
- package/examples/node_modules/mime-types/index.js +188 -0
- package/examples/node_modules/mime-types/package.json +44 -0
- package/examples/node_modules/mimic-fn/package.json +40 -72
- package/examples/node_modules/neo-async/LICENSE +22 -0
- package/examples/node_modules/neo-async/README.md +273 -0
- package/examples/node_modules/neo-async/all.js +3 -0
- package/examples/node_modules/neo-async/allLimit.js +3 -0
- package/examples/node_modules/neo-async/allSeries.js +3 -0
- package/examples/node_modules/neo-async/angelFall.js +3 -0
- package/examples/node_modules/neo-async/any.js +3 -0
- package/examples/node_modules/neo-async/anyLimit.js +3 -0
- package/examples/node_modules/neo-async/anySeries.js +3 -0
- package/examples/node_modules/neo-async/apply.js +3 -0
- package/examples/node_modules/neo-async/applyEach.js +3 -0
- package/examples/node_modules/neo-async/applyEachSeries.js +3 -0
- package/examples/node_modules/neo-async/async.js +9184 -0
- package/examples/node_modules/neo-async/async.min.js +80 -0
- package/examples/node_modules/neo-async/asyncify.js +3 -0
- package/examples/node_modules/neo-async/auto.js +3 -0
- package/examples/node_modules/neo-async/autoInject.js +3 -0
- package/examples/node_modules/neo-async/cargo.js +3 -0
- package/examples/node_modules/neo-async/compose.js +3 -0
- package/examples/node_modules/neo-async/concat.js +3 -0
- package/examples/node_modules/neo-async/concatLimit.js +3 -0
- package/examples/node_modules/neo-async/concatSeries.js +3 -0
- package/examples/node_modules/neo-async/constant.js +3 -0
- package/examples/node_modules/neo-async/createLogger.js +3 -0
- package/examples/node_modules/neo-async/detect.js +3 -0
- package/examples/node_modules/neo-async/detectLimit.js +3 -0
- package/examples/node_modules/neo-async/detectSeries.js +3 -0
- package/examples/node_modules/neo-async/dir.js +3 -0
- package/examples/node_modules/neo-async/doDuring.js +3 -0
- package/examples/node_modules/neo-async/doUntil.js +3 -0
- package/examples/node_modules/neo-async/doWhilst.js +3 -0
- package/examples/node_modules/neo-async/during.js +3 -0
- package/examples/node_modules/neo-async/each.js +3 -0
- package/examples/node_modules/neo-async/eachLimit.js +3 -0
- package/examples/node_modules/neo-async/eachOf.js +3 -0
- package/examples/node_modules/neo-async/eachOfLimit.js +3 -0
- package/examples/node_modules/neo-async/eachOfSeries.js +3 -0
- package/examples/node_modules/neo-async/eachSeries.js +3 -0
- package/examples/node_modules/neo-async/ensureAsync.js +3 -0
- package/examples/node_modules/neo-async/every.js +3 -0
- package/examples/node_modules/neo-async/everyLimit.js +3 -0
- package/examples/node_modules/neo-async/everySeries.js +3 -0
- package/examples/node_modules/neo-async/fast.js +3 -0
- package/examples/node_modules/neo-async/filter.js +3 -0
- package/examples/node_modules/neo-async/filterLimit.js +3 -0
- package/examples/node_modules/neo-async/filterSeries.js +3 -0
- package/examples/node_modules/neo-async/find.js +3 -0
- package/examples/node_modules/neo-async/findLimit.js +3 -0
- package/examples/node_modules/neo-async/findSeries.js +3 -0
- package/examples/node_modules/neo-async/foldl.js +3 -0
- package/examples/node_modules/neo-async/foldr.js +3 -0
- package/examples/node_modules/neo-async/forEach.js +3 -0
- package/examples/node_modules/neo-async/forEachLimit.js +3 -0
- package/examples/node_modules/neo-async/forEachOf.js +3 -0
- package/examples/node_modules/neo-async/forEachOfLimit.js +3 -0
- package/examples/node_modules/neo-async/forEachOfSeries.js +3 -0
- package/examples/node_modules/neo-async/forEachSeries.js +3 -0
- package/examples/node_modules/neo-async/forever.js +3 -0
- package/examples/node_modules/neo-async/groupBy.js +3 -0
- package/examples/node_modules/neo-async/groupByLimit.js +3 -0
- package/examples/node_modules/neo-async/groupBySeries.js +3 -0
- package/examples/node_modules/neo-async/inject.js +3 -0
- package/examples/node_modules/neo-async/iterator.js +3 -0
- package/examples/node_modules/neo-async/log.js +3 -0
- package/examples/node_modules/neo-async/map.js +3 -0
- package/examples/node_modules/neo-async/mapLimit.js +3 -0
- package/examples/node_modules/neo-async/mapSeries.js +3 -0
- package/examples/node_modules/neo-async/mapValues.js +3 -0
- package/examples/node_modules/neo-async/mapValuesLimit.js +3 -0
- package/examples/node_modules/neo-async/mapValuesSeries.js +3 -0
- package/examples/node_modules/neo-async/memoize.js +3 -0
- package/examples/node_modules/neo-async/nextTick.js +3 -0
- package/examples/node_modules/neo-async/omit.js +3 -0
- package/examples/node_modules/neo-async/omitLimit.js +3 -0
- package/examples/node_modules/neo-async/omitSeries.js +3 -0
- package/examples/node_modules/neo-async/package.json +57 -0
- package/examples/node_modules/neo-async/parallel.js +3 -0
- package/examples/node_modules/neo-async/parallelLimit.js +3 -0
- package/examples/node_modules/neo-async/pick.js +3 -0
- package/examples/node_modules/neo-async/pickLimit.js +3 -0
- package/examples/node_modules/neo-async/pickSeries.js +3 -0
- package/examples/node_modules/neo-async/priorityQueue.js +3 -0
- package/examples/node_modules/neo-async/queue.js +3 -0
- package/examples/node_modules/neo-async/race.js +3 -0
- package/examples/node_modules/neo-async/reduce.js +3 -0
- package/examples/node_modules/neo-async/reduceRight.js +3 -0
- package/examples/node_modules/neo-async/reflect.js +3 -0
- package/examples/node_modules/neo-async/reflectAll.js +3 -0
- package/examples/node_modules/neo-async/reject.js +3 -0
- package/examples/node_modules/neo-async/rejectLimit.js +3 -0
- package/examples/node_modules/neo-async/rejectSeries.js +3 -0
- package/examples/node_modules/neo-async/retry.js +3 -0
- package/examples/node_modules/neo-async/retryable.js +3 -0
- package/examples/node_modules/neo-async/safe.js +3 -0
- package/examples/node_modules/neo-async/select.js +3 -0
- package/examples/node_modules/neo-async/selectLimit.js +3 -0
- package/examples/node_modules/neo-async/selectSeries.js +3 -0
- package/examples/node_modules/neo-async/seq.js +3 -0
- package/examples/node_modules/neo-async/series.js +3 -0
- package/examples/node_modules/neo-async/setImmediate.js +3 -0
- package/examples/node_modules/neo-async/some.js +3 -0
- package/examples/node_modules/neo-async/someLimit.js +3 -0
- package/examples/node_modules/neo-async/someSeries.js +3 -0
- package/examples/node_modules/neo-async/sortBy.js +3 -0
- package/examples/node_modules/neo-async/sortByLimit.js +3 -0
- package/examples/node_modules/neo-async/sortBySeries.js +3 -0
- package/examples/node_modules/neo-async/timeout.js +3 -0
- package/examples/node_modules/neo-async/times.js +3 -0
- package/examples/node_modules/neo-async/timesLimit.js +3 -0
- package/examples/node_modules/neo-async/timesSeries.js +3 -0
- package/examples/node_modules/neo-async/transform.js +3 -0
- package/examples/node_modules/neo-async/transformLimit.js +3 -0
- package/examples/node_modules/neo-async/transformSeries.js +3 -0
- package/examples/node_modules/neo-async/tryEach.js +3 -0
- package/examples/node_modules/neo-async/unmemoize.js +3 -0
- package/examples/node_modules/neo-async/until.js +3 -0
- package/examples/node_modules/neo-async/waterfall.js +3 -0
- package/examples/node_modules/neo-async/whilst.js +3 -0
- package/examples/node_modules/neo-async/wrapSync.js +3 -0
- package/examples/node_modules/node-releases/LICENSE +21 -0
- package/examples/node_modules/node-releases/README.md +31 -0
- package/examples/node_modules/node-releases/data/processed/envs.json +1 -0
- package/examples/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
- package/examples/node_modules/node-releases/package.json +18 -0
- package/examples/node_modules/npm-run-path/package.json +42 -74
- package/examples/node_modules/onetime/package.json +41 -73
- package/examples/node_modules/p-limit/package.json +50 -82
- package/examples/node_modules/p-locate/package.json +51 -83
- package/examples/node_modules/p-try/package.json +40 -72
- package/examples/node_modules/path-exists/package.json +37 -69
- package/examples/node_modules/path-key/package.json +37 -70
- package/examples/node_modules/path-parse/index.js +17 -35
- package/examples/node_modules/path-parse/package.json +13 -41
- package/examples/node_modules/picocolors/LICENSE +15 -0
- package/examples/node_modules/picocolors/README.md +21 -0
- package/examples/node_modules/picocolors/package.json +25 -0
- package/examples/node_modules/picocolors/picocolors.browser.js +4 -0
- package/examples/node_modules/picocolors/picocolors.d.ts +5 -0
- package/examples/node_modules/picocolors/picocolors.js +58 -0
- package/examples/node_modules/picocolors/types.ts +30 -0
- package/examples/node_modules/pkg-dir/package.json +54 -86
- package/examples/node_modules/punycode/LICENSE-MIT.txt +20 -0
- package/examples/node_modules/punycode/README.md +122 -0
- package/examples/node_modules/punycode/package.json +58 -0
- package/examples/node_modules/punycode/punycode.es6.js +441 -0
- package/examples/node_modules/punycode/punycode.js +440 -0
- package/examples/node_modules/randombytes/.travis.yml +15 -0
- package/examples/node_modules/randombytes/.zuul.yml +1 -0
- package/examples/node_modules/randombytes/LICENSE +21 -0
- package/examples/node_modules/randombytes/README.md +14 -0
- package/examples/node_modules/randombytes/browser.js +50 -0
- package/examples/node_modules/randombytes/index.js +1 -0
- package/examples/node_modules/randombytes/package.json +36 -0
- package/examples/node_modules/randombytes/test.js +81 -0
- package/examples/node_modules/rechoir/README.md +9 -0
- package/examples/node_modules/rechoir/lib/extension.js +35 -10
- package/examples/node_modules/rechoir/package.json +24 -67
- package/examples/node_modules/resolve/.eslintrc +34 -8
- package/examples/node_modules/resolve/.github/FUNDING.yml +12 -0
- package/examples/node_modules/resolve/appveyor.yml +4 -2
- package/examples/node_modules/resolve/async.js +3 -0
- package/examples/node_modules/resolve/bin/resolve +50 -0
- package/examples/node_modules/resolve/lib/async.js +10 -1
- package/examples/node_modules/resolve/lib/core.js +1 -2
- package/examples/node_modules/resolve/lib/core.json +85 -16
- package/examples/node_modules/resolve/lib/homedir.js +24 -0
- package/examples/node_modules/resolve/lib/node-modules-paths.js +1 -1
- package/examples/node_modules/resolve/lib/sync.js +14 -5
- package/examples/node_modules/resolve/package.json +60 -78
- package/examples/node_modules/resolve/readme.markdown +35 -13
- package/examples/node_modules/resolve/sync.js +3 -0
- package/examples/node_modules/resolve/test/home_paths.js +127 -0
- package/examples/node_modules/resolve/test/home_paths_sync.js +114 -0
- package/examples/node_modules/resolve/test/mock_sync.js +2 -4
- package/examples/node_modules/resolve/test/node_path.js +1 -1
- package/examples/node_modules/resolve/test/resolver/invalid_main/package.json +1 -1
- package/examples/node_modules/resolve/test/resolver/malformed_package_json/index.js +0 -0
- package/examples/node_modules/resolve/test/resolver/malformed_package_json/package.json +1 -0
- package/examples/node_modules/resolve/test/resolver.js +99 -3
- package/examples/node_modules/resolve/test/resolver_sync.js +310 -23
- package/examples/node_modules/resolve-cwd/package.json +41 -73
- package/examples/node_modules/resolve-from/package.json +34 -66
- package/examples/node_modules/safe-buffer/LICENSE +21 -0
- package/examples/node_modules/safe-buffer/README.md +584 -0
- package/examples/node_modules/safe-buffer/index.d.ts +187 -0
- package/examples/node_modules/safe-buffer/index.js +65 -0
- package/examples/node_modules/safe-buffer/package.json +51 -0
- package/examples/node_modules/schema-utils/LICENSE +20 -0
- package/examples/node_modules/schema-utils/README.md +290 -0
- package/examples/node_modules/schema-utils/declarations/ValidationError.d.ts +74 -0
- package/examples/node_modules/schema-utils/declarations/index.d.ts +3 -0
- package/examples/node_modules/schema-utils/declarations/keywords/absolutePath.d.ts +10 -0
- package/examples/node_modules/schema-utils/declarations/util/Range.d.ts +79 -0
- package/examples/node_modules/schema-utils/declarations/util/hints.d.ts +3 -0
- package/examples/node_modules/schema-utils/declarations/validate.d.ts +37 -0
- package/examples/node_modules/schema-utils/dist/ValidationError.js +1271 -0
- package/examples/node_modules/schema-utils/dist/index.js +11 -0
- package/examples/node_modules/schema-utils/dist/keywords/absolutePath.js +93 -0
- package/examples/node_modules/schema-utils/dist/util/Range.js +163 -0
- package/examples/node_modules/schema-utils/dist/util/hints.js +105 -0
- package/examples/node_modules/schema-utils/dist/validate.js +163 -0
- package/examples/node_modules/schema-utils/package.json +78 -0
- package/examples/node_modules/serialize-javascript/LICENSE +27 -0
- package/examples/node_modules/serialize-javascript/README.md +142 -0
- package/examples/node_modules/serialize-javascript/index.js +268 -0
- package/examples/node_modules/serialize-javascript/package.json +36 -0
- package/examples/node_modules/shallow-clone/package.json +20 -57
- package/examples/node_modules/shebang-command/package.json +32 -64
- package/examples/node_modules/shebang-regex/package.json +33 -65
- package/examples/node_modules/signal-exit/README.md +1 -1
- package/examples/node_modules/signal-exit/index.js +169 -130
- package/examples/node_modules/signal-exit/package.json +24 -52
- package/examples/node_modules/source-map/CHANGELOG.md +301 -0
- package/examples/node_modules/source-map/LICENSE +28 -0
- package/examples/node_modules/source-map/README.md +742 -0
- package/examples/node_modules/source-map/dist/source-map.debug.js +3234 -0
- package/examples/node_modules/source-map/dist/source-map.js +3233 -0
- package/examples/node_modules/source-map/dist/source-map.min.js +2 -0
- package/examples/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/examples/node_modules/source-map/lib/array-set.js +121 -0
- package/examples/node_modules/source-map/lib/base64-vlq.js +140 -0
- package/examples/node_modules/source-map/lib/base64.js +67 -0
- package/examples/node_modules/source-map/lib/binary-search.js +111 -0
- package/examples/node_modules/source-map/lib/mapping-list.js +79 -0
- package/examples/node_modules/source-map/lib/quick-sort.js +114 -0
- package/examples/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- package/examples/node_modules/source-map/lib/source-map-generator.js +425 -0
- package/examples/node_modules/source-map/lib/source-node.js +413 -0
- package/examples/node_modules/source-map/lib/util.js +488 -0
- package/examples/node_modules/source-map/package.json +73 -0
- package/examples/node_modules/source-map/source-map.d.ts +98 -0
- package/examples/node_modules/source-map/source-map.js +8 -0
- package/examples/node_modules/source-map-support/LICENSE.md +21 -0
- package/examples/node_modules/source-map-support/README.md +284 -0
- package/examples/node_modules/source-map-support/browser-source-map-support.js +114 -0
- package/examples/node_modules/source-map-support/package.json +31 -0
- package/examples/node_modules/source-map-support/register-hook-require.js +1 -0
- package/examples/node_modules/source-map-support/register.js +1 -0
- package/examples/node_modules/source-map-support/source-map-support.js +625 -0
- package/examples/node_modules/strip-final-newline/package.json +38 -70
- package/examples/node_modules/supports-color/browser.js +24 -0
- package/examples/node_modules/supports-color/index.js +152 -0
- package/examples/node_modules/supports-color/license +9 -0
- package/examples/node_modules/supports-color/package.json +58 -0
- package/examples/node_modules/supports-color/readme.md +77 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
- package/examples/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- package/examples/node_modules/tapable/LICENSE +21 -0
- package/examples/node_modules/tapable/README.md +296 -0
- package/examples/node_modules/tapable/lib/AsyncParallelBailHook.js +85 -0
- package/examples/node_modules/tapable/lib/AsyncParallelHook.js +37 -0
- package/examples/node_modules/tapable/lib/AsyncSeriesBailHook.js +42 -0
- package/examples/node_modules/tapable/lib/AsyncSeriesHook.js +37 -0
- package/examples/node_modules/tapable/lib/AsyncSeriesLoopHook.js +37 -0
- package/examples/node_modules/tapable/lib/AsyncSeriesWaterfallHook.js +47 -0
- package/examples/node_modules/tapable/lib/Hook.js +175 -0
- package/examples/node_modules/tapable/lib/HookCodeFactory.js +468 -0
- package/examples/node_modules/tapable/lib/HookMap.js +61 -0
- package/examples/node_modules/tapable/lib/MultiHook.js +54 -0
- package/examples/node_modules/tapable/lib/SyncBailHook.js +51 -0
- package/examples/node_modules/tapable/lib/SyncHook.js +46 -0
- package/examples/node_modules/tapable/lib/SyncLoopHook.js +46 -0
- package/examples/node_modules/tapable/lib/SyncWaterfallHook.js +57 -0
- package/examples/node_modules/tapable/lib/index.js +19 -0
- package/examples/node_modules/tapable/lib/util-browser.js +16 -0
- package/examples/node_modules/tapable/package.json +44 -0
- package/examples/node_modules/tapable/tapable.d.ts +116 -0
- package/examples/node_modules/terser/CHANGELOG.md +480 -0
- package/examples/node_modules/terser/LICENSE +29 -0
- package/examples/node_modules/terser/PATRONS.md +15 -0
- package/examples/node_modules/terser/README.md +1374 -0
- package/examples/node_modules/terser/bin/package.json +10 -0
- package/examples/node_modules/terser/bin/terser +21 -0
- package/examples/node_modules/terser/bin/uglifyjs +10 -0
- package/examples/node_modules/terser/dist/.gitkeep +0 -0
- package/examples/node_modules/terser/dist/bundle.min.js +28332 -0
- package/examples/node_modules/terser/dist/package.json +10 -0
- package/examples/node_modules/terser/lib/ast.js +1858 -0
- package/examples/node_modules/terser/lib/cli.js +479 -0
- package/examples/node_modules/terser/lib/compress/common.js +296 -0
- package/examples/node_modules/terser/lib/compress/compressor-flags.js +63 -0
- package/examples/node_modules/terser/lib/compress/drop-side-effect-free.js +350 -0
- package/examples/node_modules/terser/lib/compress/evaluate.js +461 -0
- package/examples/node_modules/terser/lib/compress/index.js +4667 -0
- package/examples/node_modules/terser/lib/compress/inference.js +948 -0
- package/examples/node_modules/terser/lib/compress/native-objects.js +184 -0
- package/examples/node_modules/terser/lib/compress/reduce-vars.js +675 -0
- package/examples/node_modules/terser/lib/compress/tighten-body.js +1461 -0
- package/examples/node_modules/terser/lib/equivalent-to.js +313 -0
- package/examples/node_modules/terser/lib/minify.js +335 -0
- package/examples/node_modules/terser/lib/mozilla-ast.js +1376 -0
- package/examples/node_modules/terser/lib/output.js +2347 -0
- package/examples/node_modules/terser/lib/parse.js +3362 -0
- package/examples/node_modules/terser/lib/propmangle.js +376 -0
- package/examples/node_modules/terser/lib/scope.js +1042 -0
- package/examples/node_modules/terser/lib/size.js +490 -0
- package/examples/node_modules/terser/lib/sourcemap.js +114 -0
- package/examples/node_modules/terser/lib/transform.js +318 -0
- package/examples/node_modules/terser/lib/utils/first_in_statement.js +50 -0
- package/examples/node_modules/terser/lib/utils/index.js +302 -0
- package/examples/node_modules/terser/main.js +27 -0
- package/examples/node_modules/terser/node_modules/source-map/CHANGELOG.md +344 -0
- package/examples/node_modules/terser/node_modules/source-map/LICENSE +28 -0
- package/examples/node_modules/terser/node_modules/source-map/README.md +822 -0
- package/examples/node_modules/terser/node_modules/source-map/dist/source-map.js +3351 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/array-set.js +100 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/base64-vlq.js +111 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/base64.js +18 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/binary-search.js +107 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/mapping-list.js +80 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/mappings.wasm +0 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/read-wasm.js +40 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/source-map-consumer.js +1254 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/source-map-generator.js +413 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/source-node.js +404 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/util.js +546 -0
- package/examples/node_modules/terser/node_modules/source-map/lib/wasm.js +107 -0
- package/examples/node_modules/terser/node_modules/source-map/package.json +90 -0
- package/examples/node_modules/terser/node_modules/source-map/source-map.d.ts +369 -0
- package/examples/node_modules/terser/node_modules/source-map/source-map.js +8 -0
- package/examples/node_modules/terser/package.json +152 -0
- package/examples/node_modules/terser/tools/domprops.js +7771 -0
- package/examples/node_modules/terser/tools/exit.cjs +7 -0
- package/examples/node_modules/terser/tools/props.html +55 -0
- package/examples/node_modules/terser/tools/terser.d.ts +207 -0
- package/examples/node_modules/terser-webpack-plugin/LICENSE +20 -0
- package/examples/node_modules/terser-webpack-plugin/README.md +742 -0
- package/examples/node_modules/terser-webpack-plugin/dist/index.js +798 -0
- package/examples/node_modules/terser-webpack-plugin/dist/minify.js +50 -0
- package/examples/node_modules/terser-webpack-plugin/dist/options.json +164 -0
- package/examples/node_modules/terser-webpack-plugin/dist/utils.js +687 -0
- package/examples/node_modules/terser-webpack-plugin/package.json +114 -0
- package/examples/node_modules/terser-webpack-plugin/types/index.d.ts +329 -0
- package/examples/node_modules/terser-webpack-plugin/types/minify.d.ts +17 -0
- package/examples/node_modules/terser-webpack-plugin/types/utils.d.ts +100 -0
- package/examples/node_modules/uri-js/LICENSE +11 -0
- package/examples/node_modules/uri-js/README.md +203 -0
- package/examples/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -0
- package/examples/node_modules/uri-js/dist/es5/uri.all.js +1443 -0
- package/examples/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
- package/examples/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -0
- package/examples/node_modules/uri-js/dist/es5/uri.all.min.js +3 -0
- package/examples/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/index.d.ts +1 -0
- package/examples/node_modules/uri-js/dist/esnext/index.js +17 -0
- package/examples/node_modules/uri-js/dist/esnext/index.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -0
- package/examples/node_modules/uri-js/dist/esnext/regexps-iri.js +3 -0
- package/examples/node_modules/uri-js/dist/esnext/regexps-iri.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -0
- package/examples/node_modules/uri-js/dist/esnext/regexps-uri.js +42 -0
- package/examples/node_modules/uri-js/dist/esnext/regexps-uri.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/http.js +28 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/https.js +9 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/https.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/mailto.js +148 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +23 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/urn.js +49 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/urn.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
- package/examples/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/uri.d.ts +59 -0
- package/examples/node_modules/uri-js/dist/esnext/uri.js +480 -0
- package/examples/node_modules/uri-js/dist/esnext/uri.js.map +1 -0
- package/examples/node_modules/uri-js/dist/esnext/util.d.ts +6 -0
- package/examples/node_modules/uri-js/dist/esnext/util.js +36 -0
- package/examples/node_modules/uri-js/dist/esnext/util.js.map +1 -0
- package/examples/node_modules/uri-js/package.json +77 -0
- package/examples/node_modules/uri-js/yarn.lock +2558 -0
- package/examples/node_modules/watchpack/LICENSE +20 -0
- package/examples/node_modules/watchpack/README.md +149 -0
- package/examples/node_modules/watchpack/lib/DirectoryWatcher.js +785 -0
- package/examples/node_modules/watchpack/lib/LinkResolver.js +107 -0
- package/examples/node_modules/watchpack/lib/getWatcherManager.js +52 -0
- package/examples/node_modules/watchpack/lib/reducePlan.js +138 -0
- package/examples/node_modules/watchpack/lib/watchEventSource.js +335 -0
- package/examples/node_modules/watchpack/lib/watchpack.js +383 -0
- package/examples/node_modules/watchpack/package.json +49 -0
- package/examples/node_modules/webpack/LICENSE +20 -0
- package/examples/node_modules/webpack/README.md +711 -0
- package/examples/node_modules/webpack/SECURITY.md +9 -0
- package/examples/node_modules/webpack/bin/webpack.js +163 -0
- package/examples/node_modules/webpack/hot/dev-server.js +61 -0
- package/examples/node_modules/webpack/hot/emitter.js +2 -0
- package/examples/node_modules/webpack/hot/lazy-compilation-node.js +40 -0
- package/examples/node_modules/webpack/hot/lazy-compilation-web.js +74 -0
- package/examples/node_modules/webpack/hot/log-apply-result.js +44 -0
- package/examples/node_modules/webpack/hot/log.js +59 -0
- package/examples/node_modules/webpack/hot/only-dev-server.js +102 -0
- package/examples/node_modules/webpack/hot/poll.js +37 -0
- package/examples/node_modules/webpack/hot/signal.js +62 -0
- package/examples/node_modules/webpack/lib/APIPlugin.js +253 -0
- package/examples/node_modules/webpack/lib/AbstractMethodError.js +49 -0
- package/examples/node_modules/webpack/lib/AsyncDependenciesBlock.js +106 -0
- package/examples/node_modules/webpack/lib/AsyncDependencyToInitialChunkError.js +31 -0
- package/examples/node_modules/webpack/lib/AutomaticPrefetchPlugin.js +65 -0
- package/examples/node_modules/webpack/lib/BannerPlugin.js +123 -0
- package/examples/node_modules/webpack/lib/Cache.js +161 -0
- package/examples/node_modules/webpack/lib/CacheFacade.js +345 -0
- package/examples/node_modules/webpack/lib/CaseSensitiveModulesWarning.js +71 -0
- package/examples/node_modules/webpack/lib/Chunk.js +820 -0
- package/examples/node_modules/webpack/lib/ChunkGraph.js +1727 -0
- package/examples/node_modules/webpack/lib/ChunkGroup.js +584 -0
- package/examples/node_modules/webpack/lib/ChunkRenderError.js +31 -0
- package/examples/node_modules/webpack/lib/ChunkTemplate.js +138 -0
- package/examples/node_modules/webpack/lib/CleanPlugin.js +420 -0
- package/examples/node_modules/webpack/lib/CodeGenerationError.js +29 -0
- package/examples/node_modules/webpack/lib/CodeGenerationResults.js +155 -0
- package/examples/node_modules/webpack/lib/CommentCompilationWarning.js +33 -0
- package/examples/node_modules/webpack/lib/CompatibilityPlugin.js +152 -0
- package/examples/node_modules/webpack/lib/Compilation.js +5292 -0
- package/examples/node_modules/webpack/lib/Compiler.js +1217 -0
- package/examples/node_modules/webpack/lib/ConcatenationScope.js +159 -0
- package/examples/node_modules/webpack/lib/ConcurrentCompilationError.js +18 -0
- package/examples/node_modules/webpack/lib/ConditionalInitFragment.js +112 -0
- package/examples/node_modules/webpack/lib/ConstPlugin.js +497 -0
- package/examples/node_modules/webpack/lib/ContextExclusionPlugin.js +32 -0
- package/examples/node_modules/webpack/lib/ContextModule.js +1147 -0
- package/examples/node_modules/webpack/lib/ContextModuleFactory.js +437 -0
- package/examples/node_modules/webpack/lib/ContextReplacementPlugin.js +157 -0
- package/examples/node_modules/webpack/lib/DefinePlugin.js +601 -0
- package/examples/node_modules/webpack/lib/DelegatedModule.js +239 -0
- package/examples/node_modules/webpack/lib/DelegatedModuleFactoryPlugin.js +91 -0
- package/examples/node_modules/webpack/lib/DelegatedPlugin.js +43 -0
- package/examples/node_modules/webpack/lib/DependenciesBlock.js +107 -0
- package/examples/node_modules/webpack/lib/Dependency.js +348 -0
- package/examples/node_modules/webpack/lib/DependencyTemplate.js +57 -0
- package/examples/node_modules/webpack/lib/DependencyTemplates.js +67 -0
- package/examples/node_modules/webpack/lib/DllEntryPlugin.js +55 -0
- package/examples/node_modules/webpack/lib/DllModule.js +157 -0
- package/examples/node_modules/webpack/lib/DllModuleFactory.js +37 -0
- package/examples/node_modules/webpack/lib/DllPlugin.js +68 -0
- package/examples/node_modules/webpack/lib/DllReferencePlugin.js +162 -0
- package/examples/node_modules/webpack/lib/DynamicEntryPlugin.js +79 -0
- package/examples/node_modules/webpack/lib/EntryOptionPlugin.js +93 -0
- package/examples/node_modules/webpack/lib/EntryPlugin.js +67 -0
- package/examples/node_modules/webpack/lib/Entrypoint.js +101 -0
- package/examples/node_modules/webpack/lib/EnvironmentPlugin.js +63 -0
- package/examples/node_modules/webpack/lib/ErrorHelpers.js +61 -0
- package/examples/node_modules/webpack/lib/EvalDevToolModulePlugin.js +117 -0
- package/examples/node_modules/webpack/lib/EvalSourceMapDevToolPlugin.js +206 -0
- package/examples/node_modules/webpack/lib/ExportsInfo.js +1523 -0
- package/examples/node_modules/webpack/lib/ExportsInfoApiPlugin.js +71 -0
- package/examples/node_modules/webpack/lib/ExternalModule.js +758 -0
- package/examples/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js +254 -0
- package/examples/node_modules/webpack/lib/ExternalsPlugin.js +37 -0
- package/examples/node_modules/webpack/lib/FileSystemInfo.js +3559 -0
- package/examples/node_modules/webpack/lib/FlagAllModulesAsUsedPlugin.js +55 -0
- package/examples/node_modules/webpack/lib/FlagDependencyExportsPlugin.js +417 -0
- package/examples/node_modules/webpack/lib/FlagDependencyUsagePlugin.js +347 -0
- package/examples/node_modules/webpack/lib/FlagEntryExportAsUsedPlugin.js +53 -0
- package/examples/node_modules/webpack/lib/Generator.js +149 -0
- package/examples/node_modules/webpack/lib/GraphHelpers.js +37 -0
- package/examples/node_modules/webpack/lib/HarmonyLinkingError.js +16 -0
- package/examples/node_modules/webpack/lib/HookWebpackError.js +93 -0
- package/examples/node_modules/webpack/lib/HotModuleReplacementPlugin.js +778 -0
- package/examples/node_modules/webpack/lib/HotUpdateChunk.js +19 -0
- package/examples/node_modules/webpack/lib/IgnoreErrorModuleFactory.js +39 -0
- package/examples/node_modules/webpack/lib/IgnorePlugin.js +83 -0
- package/examples/node_modules/webpack/lib/IgnoreWarningsPlugin.js +39 -0
- package/examples/node_modules/webpack/lib/InitFragment.js +161 -0
- package/examples/node_modules/webpack/lib/InvalidDependenciesModuleWarning.js +44 -0
- package/examples/node_modules/webpack/lib/JavascriptMetaInfoPlugin.js +68 -0
- package/examples/node_modules/webpack/lib/LibManifestPlugin.js +115 -0
- package/examples/node_modules/webpack/lib/LibraryTemplatePlugin.js +48 -0
- package/examples/node_modules/webpack/lib/LoaderOptionsPlugin.js +71 -0
- package/examples/node_modules/webpack/lib/LoaderTargetPlugin.js +37 -0
- package/examples/node_modules/webpack/lib/MainTemplate.js +329 -0
- package/examples/node_modules/webpack/lib/Module.js +1091 -0
- package/examples/node_modules/webpack/lib/ModuleBuildError.js +77 -0
- package/examples/node_modules/webpack/lib/ModuleDependencyError.js +40 -0
- package/examples/node_modules/webpack/lib/ModuleDependencyWarning.js +45 -0
- package/examples/node_modules/webpack/lib/ModuleError.js +61 -0
- package/examples/node_modules/webpack/lib/ModuleFactory.js +50 -0
- package/examples/node_modules/webpack/lib/ModuleFilenameHelpers.js +277 -0
- package/examples/node_modules/webpack/lib/ModuleGraph.js +856 -0
- package/examples/node_modules/webpack/lib/ModuleGraphConnection.js +191 -0
- package/examples/node_modules/webpack/lib/ModuleHashingError.js +29 -0
- package/examples/node_modules/webpack/lib/ModuleInfoHeaderPlugin.js +255 -0
- package/examples/node_modules/webpack/lib/ModuleNotFoundError.js +86 -0
- package/examples/node_modules/webpack/lib/ModuleParseError.js +109 -0
- package/examples/node_modules/webpack/lib/ModuleProfile.js +107 -0
- package/examples/node_modules/webpack/lib/ModuleRestoreError.js +42 -0
- package/examples/node_modules/webpack/lib/ModuleStoreError.js +42 -0
- package/examples/node_modules/webpack/lib/ModuleTemplate.js +142 -0
- package/examples/node_modules/webpack/lib/ModuleWarning.js +61 -0
- package/examples/node_modules/webpack/lib/MultiCompiler.js +582 -0
- package/examples/node_modules/webpack/lib/MultiStats.js +166 -0
- package/examples/node_modules/webpack/lib/MultiWatching.js +77 -0
- package/examples/node_modules/webpack/lib/NoEmitOnErrorsPlugin.js +28 -0
- package/examples/node_modules/webpack/lib/NoModeWarning.js +22 -0
- package/examples/node_modules/webpack/lib/NodeStuffInWebError.js +34 -0
- package/examples/node_modules/webpack/lib/NodeStuffPlugin.js +186 -0
- package/examples/node_modules/webpack/lib/NormalModule.js +1411 -0
- package/examples/node_modules/webpack/lib/NormalModuleFactory.js +1118 -0
- package/examples/node_modules/webpack/lib/NormalModuleReplacementPlugin.js +71 -0
- package/examples/node_modules/webpack/lib/NullFactory.js +23 -0
- package/examples/node_modules/webpack/lib/OptimizationStages.js +10 -0
- package/examples/node_modules/webpack/lib/OptionsApply.js +11 -0
- package/examples/node_modules/webpack/lib/Parser.js +38 -0
- package/examples/node_modules/webpack/lib/PrefetchPlugin.js +50 -0
- package/examples/node_modules/webpack/lib/ProgressPlugin.js +613 -0
- package/examples/node_modules/webpack/lib/ProvidePlugin.js +101 -0
- package/examples/node_modules/webpack/lib/RawModule.js +152 -0
- package/examples/node_modules/webpack/lib/RecordIdsPlugin.js +238 -0
- package/examples/node_modules/webpack/lib/RequestShortener.js +34 -0
- package/examples/node_modules/webpack/lib/RequireJsStuffPlugin.js +77 -0
- package/examples/node_modules/webpack/lib/ResolverFactory.js +151 -0
- package/examples/node_modules/webpack/lib/RuntimeGlobals.js +381 -0
- package/examples/node_modules/webpack/lib/RuntimeModule.js +213 -0
- package/examples/node_modules/webpack/lib/RuntimePlugin.js +444 -0
- package/examples/node_modules/webpack/lib/RuntimeTemplate.js +1041 -0
- package/examples/node_modules/webpack/lib/SelfModuleFactory.js +21 -0
- package/examples/node_modules/webpack/lib/SingleEntryPlugin.js +8 -0
- package/examples/node_modules/webpack/lib/SizeFormatHelpers.js +27 -0
- package/examples/node_modules/webpack/lib/SourceMapDevToolModuleOptionsPlugin.js +57 -0
- package/examples/node_modules/webpack/lib/SourceMapDevToolPlugin.js +560 -0
- package/examples/node_modules/webpack/lib/Stats.js +84 -0
- package/examples/node_modules/webpack/lib/Template.js +419 -0
- package/examples/node_modules/webpack/lib/TemplatedPathPlugin.js +346 -0
- package/examples/node_modules/webpack/lib/UnhandledSchemeError.js +33 -0
- package/examples/node_modules/webpack/lib/UnsupportedFeatureWarning.js +32 -0
- package/examples/node_modules/webpack/lib/UseStrictPlugin.js +56 -0
- package/examples/node_modules/webpack/lib/WarnCaseSensitiveModulesPlugin.js +53 -0
- package/examples/node_modules/webpack/lib/WarnDeprecatedOptionPlugin.js +54 -0
- package/examples/node_modules/webpack/lib/WarnNoModeSetPlugin.js +25 -0
- package/examples/node_modules/webpack/lib/WatchIgnorePlugin.js +132 -0
- package/examples/node_modules/webpack/lib/Watching.js +479 -0
- package/examples/node_modules/webpack/lib/WebpackError.js +61 -0
- package/examples/node_modules/webpack/lib/WebpackIsIncludedPlugin.js +85 -0
- package/examples/node_modules/webpack/lib/WebpackOptionsApply.js +700 -0
- package/examples/node_modules/webpack/lib/WebpackOptionsDefaulter.js +19 -0
- package/examples/node_modules/webpack/lib/asset/AssetGenerator.js +464 -0
- package/examples/node_modules/webpack/lib/asset/AssetModulesPlugin.js +223 -0
- package/examples/node_modules/webpack/lib/asset/AssetParser.js +56 -0
- package/examples/node_modules/webpack/lib/asset/AssetSourceGenerator.js +71 -0
- package/examples/node_modules/webpack/lib/asset/AssetSourceParser.js +31 -0
- package/examples/node_modules/webpack/lib/asset/RawDataUrlModule.js +148 -0
- package/examples/node_modules/webpack/lib/async-modules/AwaitDependenciesInitFragment.js +69 -0
- package/examples/node_modules/webpack/lib/async-modules/InferAsyncModulesPlugin.js +55 -0
- package/examples/node_modules/webpack/lib/buildChunkGraph.js +1401 -0
- package/examples/node_modules/webpack/lib/cache/AddBuildDependenciesPlugin.js +33 -0
- package/examples/node_modules/webpack/lib/cache/AddManagedPathsPlugin.js +35 -0
- package/examples/node_modules/webpack/lib/cache/IdleFileCachePlugin.js +227 -0
- package/examples/node_modules/webpack/lib/cache/MemoryCachePlugin.js +57 -0
- package/examples/node_modules/webpack/lib/cache/MemoryWithGcCachePlugin.js +129 -0
- package/examples/node_modules/webpack/lib/cache/PackFileCacheStrategy.js +1426 -0
- package/examples/node_modules/webpack/lib/cache/ResolverCachePlugin.js +354 -0
- package/examples/node_modules/webpack/lib/cache/getLazyHashedEtag.js +81 -0
- package/examples/node_modules/webpack/lib/cache/mergeEtags.js +74 -0
- package/examples/node_modules/webpack/lib/cli.js +655 -0
- package/examples/node_modules/webpack/lib/config/browserslistTargetHandler.js +333 -0
- package/examples/node_modules/webpack/lib/config/defaults.js +1309 -0
- package/examples/node_modules/webpack/lib/config/normalization.js +529 -0
- package/examples/node_modules/webpack/lib/config/target.js +348 -0
- package/examples/node_modules/webpack/lib/container/ContainerEntryDependency.js +47 -0
- package/examples/node_modules/webpack/lib/container/ContainerEntryModule.js +283 -0
- package/examples/node_modules/webpack/lib/container/ContainerEntryModuleFactory.js +27 -0
- package/examples/node_modules/webpack/lib/container/ContainerExposedDependency.js +52 -0
- package/examples/node_modules/webpack/lib/container/ContainerPlugin.js +105 -0
- package/examples/node_modules/webpack/lib/container/ContainerReferencePlugin.js +142 -0
- package/examples/node_modules/webpack/lib/container/FallbackDependency.js +51 -0
- package/examples/node_modules/webpack/lib/container/FallbackItemDependency.js +30 -0
- package/examples/node_modules/webpack/lib/container/FallbackModule.js +173 -0
- package/examples/node_modules/webpack/lib/container/FallbackModuleFactory.js +27 -0
- package/examples/node_modules/webpack/lib/container/ModuleFederationPlugin.js +92 -0
- package/examples/node_modules/webpack/lib/container/RemoteModule.js +171 -0
- package/examples/node_modules/webpack/lib/container/RemoteRuntimeModule.js +128 -0
- package/examples/node_modules/webpack/lib/container/RemoteToExternalDependency.js +30 -0
- package/examples/node_modules/webpack/lib/container/options.js +91 -0
- package/examples/node_modules/webpack/lib/css/CssExportsGenerator.js +139 -0
- package/examples/node_modules/webpack/lib/css/CssGenerator.js +109 -0
- package/examples/node_modules/webpack/lib/css/CssLoadingRuntimeModule.js +440 -0
- package/examples/node_modules/webpack/lib/css/CssModulesPlugin.js +462 -0
- package/examples/node_modules/webpack/lib/css/CssParser.js +618 -0
- package/examples/node_modules/webpack/lib/css/walkCssTokens.js +659 -0
- package/examples/node_modules/webpack/lib/debug/ProfilingPlugin.js +454 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDDefineDependency.js +221 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDDefineDependencyParserPlugin.js +354 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDPlugin.js +216 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDRequireArrayDependency.js +99 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDRequireContextDependency.js +53 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlock.js +22 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDRequireDependenciesBlockParserPlugin.js +279 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDRequireDependency.js +174 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDRequireItemDependency.js +35 -0
- package/examples/node_modules/webpack/lib/dependencies/AMDRuntimeModules.js +48 -0
- package/examples/node_modules/webpack/lib/dependencies/CachedConstDependency.js +106 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsDependencyHelpers.js +49 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js +374 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsExportsDependency.js +160 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js +336 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsFullRequireDependency.js +136 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsImportsParserPlugin.js +388 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsPlugin.js +280 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsRequireContextDependency.js +55 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsRequireDependency.js +34 -0
- package/examples/node_modules/webpack/lib/dependencies/CommonJsSelfReferenceDependency.js +141 -0
- package/examples/node_modules/webpack/lib/dependencies/ConstDependency.js +108 -0
- package/examples/node_modules/webpack/lib/dependencies/ContextDependency.js +147 -0
- package/examples/node_modules/webpack/lib/dependencies/ContextDependencyHelpers.js +232 -0
- package/examples/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsId.js +61 -0
- package/examples/node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js +59 -0
- package/examples/node_modules/webpack/lib/dependencies/ContextElementDependency.js +77 -0
- package/examples/node_modules/webpack/lib/dependencies/CreateScriptUrlDependency.js +66 -0
- package/examples/node_modules/webpack/lib/dependencies/CriticalDependencyWarning.js +25 -0
- package/examples/node_modules/webpack/lib/dependencies/CssExportDependency.js +85 -0
- package/examples/node_modules/webpack/lib/dependencies/CssImportDependency.js +75 -0
- package/examples/node_modules/webpack/lib/dependencies/CssLocalIdentifierDependency.js +119 -0
- package/examples/node_modules/webpack/lib/dependencies/CssSelfLocalIdentifierDependency.js +101 -0
- package/examples/node_modules/webpack/lib/dependencies/CssUrlDependency.js +132 -0
- package/examples/node_modules/webpack/lib/dependencies/DelegatedSourceDependency.js +30 -0
- package/examples/node_modules/webpack/lib/dependencies/DllEntryDependency.js +47 -0
- package/examples/node_modules/webpack/lib/dependencies/DynamicExports.js +69 -0
- package/examples/node_modules/webpack/lib/dependencies/EntryDependency.js +30 -0
- package/examples/node_modules/webpack/lib/dependencies/ExportsInfoDependency.js +143 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyAcceptDependency.js +134 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyAcceptImportDependency.js +37 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyCompatibilityDependency.js +91 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyDetectionParserPlugin.js +97 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js +185 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyExportExpressionDependency.js +190 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyExportHeaderDependency.js +65 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +1271 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyExportInitFragment.js +168 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyExportSpecifierDependency.js +111 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyExports.js +40 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyImportDependency.js +359 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyImportDependencyParserPlugin.js +256 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyImportSideEffectDependency.js +80 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js +331 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyModulesPlugin.js +121 -0
- package/examples/node_modules/webpack/lib/dependencies/HarmonyTopLevelThisParserPlugin.js +27 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportContextDependency.js +52 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportDependency.js +101 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportEagerDependency.js +69 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportMetaContextDependency.js +35 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js +252 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportMetaContextPlugin.js +59 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportMetaHotAcceptDependency.js +35 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportMetaHotDeclineDependency.js +36 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportMetaPlugin.js +203 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportParserPlugin.js +267 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportPlugin.js +82 -0
- package/examples/node_modules/webpack/lib/dependencies/ImportWeakDependency.js +67 -0
- package/examples/node_modules/webpack/lib/dependencies/JsonExportsDependency.js +103 -0
- package/examples/node_modules/webpack/lib/dependencies/LoaderDependency.js +27 -0
- package/examples/node_modules/webpack/lib/dependencies/LoaderImportDependency.js +28 -0
- package/examples/node_modules/webpack/lib/dependencies/LoaderPlugin.js +261 -0
- package/examples/node_modules/webpack/lib/dependencies/LocalModule.js +44 -0
- package/examples/node_modules/webpack/lib/dependencies/LocalModuleDependency.js +69 -0
- package/examples/node_modules/webpack/lib/dependencies/LocalModulesHelpers.js +50 -0
- package/examples/node_modules/webpack/lib/dependencies/ModuleDecoratorDependency.js +129 -0
- package/examples/node_modules/webpack/lib/dependencies/ModuleDependency.js +81 -0
- package/examples/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsId.js +34 -0
- package/examples/node_modules/webpack/lib/dependencies/ModuleDependencyTemplateAsRequireId.js +38 -0
- package/examples/node_modules/webpack/lib/dependencies/ModuleHotAcceptDependency.js +35 -0
- package/examples/node_modules/webpack/lib/dependencies/ModuleHotDeclineDependency.js +36 -0
- package/examples/node_modules/webpack/lib/dependencies/NullDependency.js +40 -0
- package/examples/node_modules/webpack/lib/dependencies/PrefetchDependency.js +24 -0
- package/examples/node_modules/webpack/lib/dependencies/ProvidedDependency.js +122 -0
- package/examples/node_modules/webpack/lib/dependencies/PureExpressionDependency.js +128 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireContextDependency.js +31 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireContextDependencyParserPlugin.js +58 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireContextPlugin.js +150 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlock.js +22 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireEnsureDependenciesBlockParserPlugin.js +121 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireEnsureDependency.js +101 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js +33 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireEnsurePlugin.js +66 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireHeaderDependency.js +57 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireIncludeDependency.js +74 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireIncludeDependencyParserPlugin.js +77 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireIncludePlugin.js +42 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireResolveContextDependency.js +50 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireResolveDependency.js +51 -0
- package/examples/node_modules/webpack/lib/dependencies/RequireResolveHeaderDependency.js +63 -0
- package/examples/node_modules/webpack/lib/dependencies/RuntimeRequirementsDependency.js +77 -0
- package/examples/node_modules/webpack/lib/dependencies/StaticExportsDependency.js +66 -0
- package/examples/node_modules/webpack/lib/dependencies/SystemPlugin.js +140 -0
- package/examples/node_modules/webpack/lib/dependencies/SystemRuntimeModule.js +35 -0
- package/examples/node_modules/webpack/lib/dependencies/URLDependency.js +158 -0
- package/examples/node_modules/webpack/lib/dependencies/URLPlugin.js +114 -0
- package/examples/node_modules/webpack/lib/dependencies/UnsupportedDependency.js +69 -0
- package/examples/node_modules/webpack/lib/dependencies/WebAssemblyExportImportedDependency.js +79 -0
- package/examples/node_modules/webpack/lib/dependencies/WebAssemblyImportDependency.js +100 -0
- package/examples/node_modules/webpack/lib/dependencies/WebpackIsIncludedDependency.js +80 -0
- package/examples/node_modules/webpack/lib/dependencies/WorkerDependency.js +89 -0
- package/examples/node_modules/webpack/lib/dependencies/WorkerPlugin.js +416 -0
- package/examples/node_modules/webpack/lib/dependencies/getFunctionExpression.js +55 -0
- package/examples/node_modules/webpack/lib/dependencies/processExportInfo.js +65 -0
- package/examples/node_modules/webpack/lib/electron/ElectronTargetPlugin.js +68 -0
- package/examples/node_modules/webpack/lib/errors/BuildCycleError.js +27 -0
- package/examples/node_modules/webpack/lib/esm/ExportWebpackRequireRuntimeModule.js +29 -0
- package/examples/node_modules/webpack/lib/esm/ModuleChunkFormatPlugin.js +202 -0
- package/examples/node_modules/webpack/lib/esm/ModuleChunkLoadingPlugin.js +76 -0
- package/examples/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js +242 -0
- package/examples/node_modules/webpack/lib/formatLocation.js +68 -0
- package/examples/node_modules/webpack/lib/hmr/HotModuleReplacement.runtime.js +394 -0
- package/examples/node_modules/webpack/lib/hmr/HotModuleReplacementRuntimeModule.js +42 -0
- package/examples/node_modules/webpack/lib/hmr/JavascriptHotModuleReplacement.runtime.js +462 -0
- package/examples/node_modules/webpack/lib/hmr/LazyCompilationPlugin.js +418 -0
- package/examples/node_modules/webpack/lib/hmr/lazyCompilationBackend.js +143 -0
- package/examples/node_modules/webpack/lib/ids/ChunkModuleIdRangePlugin.js +80 -0
- package/examples/node_modules/webpack/lib/ids/DeterministicChunkIdsPlugin.js +70 -0
- package/examples/node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js +93 -0
- package/examples/node_modules/webpack/lib/ids/HashedModuleIdsPlugin.js +77 -0
- package/examples/node_modules/webpack/lib/ids/IdHelpers.js +477 -0
- package/examples/node_modules/webpack/lib/ids/NamedChunkIdsPlugin.js +81 -0
- package/examples/node_modules/webpack/lib/ids/NamedModuleIdsPlugin.js +58 -0
- package/examples/node_modules/webpack/lib/ids/NaturalChunkIdsPlugin.js +33 -0
- package/examples/node_modules/webpack/lib/ids/NaturalModuleIdsPlugin.js +39 -0
- package/examples/node_modules/webpack/lib/ids/OccurrenceChunkIdsPlugin.js +80 -0
- package/examples/node_modules/webpack/lib/ids/OccurrenceModuleIdsPlugin.js +159 -0
- package/examples/node_modules/webpack/lib/ids/SyncModuleIdsPlugin.js +140 -0
- package/examples/node_modules/webpack/lib/index.js +579 -0
- package/examples/node_modules/webpack/lib/javascript/ArrayPushCallbackChunkFormatPlugin.js +154 -0
- package/examples/node_modules/webpack/lib/javascript/BasicEvaluatedExpression.js +480 -0
- package/examples/node_modules/webpack/lib/javascript/ChunkHelpers.js +33 -0
- package/examples/node_modules/webpack/lib/javascript/CommonJsChunkFormatPlugin.js +172 -0
- package/examples/node_modules/webpack/lib/javascript/EnableChunkLoadingPlugin.js +118 -0
- package/examples/node_modules/webpack/lib/javascript/JavascriptGenerator.js +225 -0
- package/examples/node_modules/webpack/lib/javascript/JavascriptModulesPlugin.js +1370 -0
- package/examples/node_modules/webpack/lib/javascript/JavascriptParser.js +3776 -0
- package/examples/node_modules/webpack/lib/javascript/JavascriptParserHelpers.js +107 -0
- package/examples/node_modules/webpack/lib/javascript/StartupHelpers.js +132 -0
- package/examples/node_modules/webpack/lib/json/JsonData.js +41 -0
- package/examples/node_modules/webpack/lib/json/JsonGenerator.js +191 -0
- package/examples/node_modules/webpack/lib/json/JsonModulesPlugin.js +50 -0
- package/examples/node_modules/webpack/lib/json/JsonParser.js +57 -0
- package/examples/node_modules/webpack/lib/library/AbstractLibraryPlugin.js +297 -0
- package/examples/node_modules/webpack/lib/library/AmdLibraryPlugin.js +162 -0
- package/examples/node_modules/webpack/lib/library/AssignLibraryPlugin.js +375 -0
- package/examples/node_modules/webpack/lib/library/EnableLibraryPlugin.js +248 -0
- package/examples/node_modules/webpack/lib/library/ExportPropertyLibraryPlugin.js +113 -0
- package/examples/node_modules/webpack/lib/library/JsonpLibraryPlugin.js +88 -0
- package/examples/node_modules/webpack/lib/library/ModuleLibraryPlugin.js +104 -0
- package/examples/node_modules/webpack/lib/library/SystemLibraryPlugin.js +233 -0
- package/examples/node_modules/webpack/lib/library/UmdLibraryPlugin.js +324 -0
- package/examples/node_modules/webpack/lib/logging/Logger.js +163 -0
- package/examples/node_modules/webpack/lib/logging/createConsoleLogger.js +228 -0
- package/examples/node_modules/webpack/lib/logging/runtime.js +46 -0
- package/examples/node_modules/webpack/lib/logging/truncateArgs.js +82 -0
- package/examples/node_modules/webpack/lib/node/CommonJsChunkLoadingPlugin.js +105 -0
- package/examples/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js +60 -0
- package/examples/node_modules/webpack/lib/node/NodeSourcePlugin.js +19 -0
- package/examples/node_modules/webpack/lib/node/NodeTargetPlugin.js +81 -0
- package/examples/node_modules/webpack/lib/node/NodeTemplatePlugin.js +33 -0
- package/examples/node_modules/webpack/lib/node/NodeWatchFileSystem.js +194 -0
- package/examples/node_modules/webpack/lib/node/ReadFileChunkLoadingRuntimeModule.js +291 -0
- package/examples/node_modules/webpack/lib/node/ReadFileCompileAsyncWasmPlugin.js +107 -0
- package/examples/node_modules/webpack/lib/node/ReadFileCompileWasmPlugin.js +93 -0
- package/examples/node_modules/webpack/lib/node/RequireChunkLoadingRuntimeModule.js +238 -0
- package/examples/node_modules/webpack/lib/node/nodeConsole.js +143 -0
- package/examples/node_modules/webpack/lib/optimize/AggressiveMergingPlugin.js +92 -0
- package/examples/node_modules/webpack/lib/optimize/AggressiveSplittingPlugin.js +329 -0
- package/examples/node_modules/webpack/lib/optimize/ConcatenatedModule.js +1879 -0
- package/examples/node_modules/webpack/lib/optimize/EnsureChunkConditionsPlugin.js +85 -0
- package/examples/node_modules/webpack/lib/optimize/FlagIncludedChunksPlugin.js +118 -0
- package/examples/node_modules/webpack/lib/optimize/InnerGraph.js +346 -0
- package/examples/node_modules/webpack/lib/optimize/InnerGraphPlugin.js +368 -0
- package/examples/node_modules/webpack/lib/optimize/LimitChunkCountPlugin.js +256 -0
- package/examples/node_modules/webpack/lib/optimize/MangleExportsPlugin.js +177 -0
- package/examples/node_modules/webpack/lib/optimize/MergeDuplicateChunksPlugin.js +115 -0
- package/examples/node_modules/webpack/lib/optimize/MinChunkSizePlugin.js +113 -0
- package/examples/node_modules/webpack/lib/optimize/MinMaxSizeWarning.js +30 -0
- package/examples/node_modules/webpack/lib/optimize/ModuleConcatenationPlugin.js +866 -0
- package/examples/node_modules/webpack/lib/optimize/RealContentHashPlugin.js +408 -0
- package/examples/node_modules/webpack/lib/optimize/RemoveEmptyChunksPlugin.js +57 -0
- package/examples/node_modules/webpack/lib/optimize/RemoveParentModulesPlugin.js +121 -0
- package/examples/node_modules/webpack/lib/optimize/RuntimeChunkPlugin.js +44 -0
- package/examples/node_modules/webpack/lib/optimize/SideEffectsFlagPlugin.js +337 -0
- package/examples/node_modules/webpack/lib/optimize/SplitChunksPlugin.js +1723 -0
- package/examples/node_modules/webpack/lib/performance/AssetsOverSizeLimitWarning.js +32 -0
- package/examples/node_modules/webpack/lib/performance/EntrypointsOverSizeLimitWarning.js +35 -0
- package/examples/node_modules/webpack/lib/performance/NoAsyncChunksWarning.js +20 -0
- package/examples/node_modules/webpack/lib/performance/SizeLimitsPlugin.js +165 -0
- package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchFunctionRuntimeModule.js +44 -0
- package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchPreloadPlugin.js +95 -0
- package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js +52 -0
- package/examples/node_modules/webpack/lib/prefetch/ChunkPrefetchTriggerRuntimeModule.js +49 -0
- package/examples/node_modules/webpack/lib/prefetch/ChunkPreloadTriggerRuntimeModule.js +43 -0
- package/examples/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js +39 -0
- package/examples/node_modules/webpack/lib/rules/BasicMatcherRulePlugin.js +47 -0
- package/examples/node_modules/webpack/lib/rules/ObjectMatcherRulePlugin.js +47 -0
- package/examples/node_modules/webpack/lib/rules/RuleSetCompiler.js +379 -0
- package/examples/node_modules/webpack/lib/rules/UseEffectRulePlugin.js +194 -0
- package/examples/node_modules/webpack/lib/runtime/AsyncModuleRuntimeModule.js +156 -0
- package/examples/node_modules/webpack/lib/runtime/AutoPublicPathRuntimeModule.js +69 -0
- package/examples/node_modules/webpack/lib/runtime/ChunkNameRuntimeModule.js +27 -0
- package/examples/node_modules/webpack/lib/runtime/CompatGetDefaultExportRuntimeModule.js +37 -0
- package/examples/node_modules/webpack/lib/runtime/CompatRuntimeModule.js +78 -0
- package/examples/node_modules/webpack/lib/runtime/CreateFakeNamespaceObjectRuntimeModule.js +66 -0
- package/examples/node_modules/webpack/lib/runtime/CreateScriptRuntimeModule.js +36 -0
- package/examples/node_modules/webpack/lib/runtime/CreateScriptUrlRuntimeModule.js +36 -0
- package/examples/node_modules/webpack/lib/runtime/DefinePropertyGettersRuntimeModule.js +39 -0
- package/examples/node_modules/webpack/lib/runtime/EnsureChunkRuntimeModule.js +54 -0
- package/examples/node_modules/webpack/lib/runtime/GetChunkFilenameRuntimeModule.js +282 -0
- package/examples/node_modules/webpack/lib/runtime/GetFullHashRuntimeModule.js +29 -0
- package/examples/node_modules/webpack/lib/runtime/GetMainFilenameRuntimeModule.js +44 -0
- package/examples/node_modules/webpack/lib/runtime/GetTrustedTypesPolicyRuntimeModule.js +76 -0
- package/examples/node_modules/webpack/lib/runtime/GlobalRuntimeModule.js +47 -0
- package/examples/node_modules/webpack/lib/runtime/HasOwnPropertyRuntimeModule.js +32 -0
- package/examples/node_modules/webpack/lib/runtime/HelperRuntimeModule.js +18 -0
- package/examples/node_modules/webpack/lib/runtime/LoadScriptRuntimeModule.js +158 -0
- package/examples/node_modules/webpack/lib/runtime/MakeNamespaceObjectRuntimeModule.js +36 -0
- package/examples/node_modules/webpack/lib/runtime/OnChunksLoadedRuntimeModule.js +76 -0
- package/examples/node_modules/webpack/lib/runtime/PublicPathRuntimeModule.js +30 -0
- package/examples/node_modules/webpack/lib/runtime/RelativeUrlRuntimeModule.js +41 -0
- package/examples/node_modules/webpack/lib/runtime/RuntimeIdRuntimeModule.js +28 -0
- package/examples/node_modules/webpack/lib/runtime/StartupChunkDependenciesPlugin.js +74 -0
- package/examples/node_modules/webpack/lib/runtime/StartupChunkDependenciesRuntimeModule.js +67 -0
- package/examples/node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js +50 -0
- package/examples/node_modules/webpack/lib/runtime/SystemContextRuntimeModule.js +25 -0
- package/examples/node_modules/webpack/lib/schemes/DataUriPlugin.js +56 -0
- package/examples/node_modules/webpack/lib/schemes/FileUriPlugin.js +49 -0
- package/examples/node_modules/webpack/lib/schemes/HttpUriPlugin.js +1118 -0
- package/examples/node_modules/webpack/lib/serialization/ArraySerializer.js +22 -0
- package/examples/node_modules/webpack/lib/serialization/BinaryMiddleware.js +950 -0
- package/examples/node_modules/webpack/lib/serialization/DateObjectSerializer.js +16 -0
- package/examples/node_modules/webpack/lib/serialization/ErrorObjectSerializer.js +27 -0
- package/examples/node_modules/webpack/lib/serialization/FileMiddleware.js +665 -0
- package/examples/node_modules/webpack/lib/serialization/MapObjectSerializer.js +31 -0
- package/examples/node_modules/webpack/lib/serialization/NullPrototypeObjectSerializer.js +33 -0
- package/examples/node_modules/webpack/lib/serialization/ObjectMiddleware.js +734 -0
- package/examples/node_modules/webpack/lib/serialization/PlainObjectSerializer.js +80 -0
- package/examples/node_modules/webpack/lib/serialization/RegExpObjectSerializer.js +17 -0
- package/examples/node_modules/webpack/lib/serialization/Serializer.js +46 -0
- package/examples/node_modules/webpack/lib/serialization/SerializerMiddleware.js +153 -0
- package/examples/node_modules/webpack/lib/serialization/SetObjectSerializer.js +24 -0
- package/examples/node_modules/webpack/lib/serialization/SingleItemMiddleware.js +34 -0
- package/examples/node_modules/webpack/lib/serialization/types.js +13 -0
- package/examples/node_modules/webpack/lib/sharing/ConsumeSharedFallbackDependency.js +30 -0
- package/examples/node_modules/webpack/lib/sharing/ConsumeSharedModule.js +251 -0
- package/examples/node_modules/webpack/lib/sharing/ConsumeSharedPlugin.js +319 -0
- package/examples/node_modules/webpack/lib/sharing/ConsumeSharedRuntimeModule.js +360 -0
- package/examples/node_modules/webpack/lib/sharing/ProvideForSharedDependency.js +34 -0
- package/examples/node_modules/webpack/lib/sharing/ProvideSharedDependency.js +63 -0
- package/examples/node_modules/webpack/lib/sharing/ProvideSharedModule.js +184 -0
- package/examples/node_modules/webpack/lib/sharing/ProvideSharedModuleFactory.js +35 -0
- package/examples/node_modules/webpack/lib/sharing/ProvideSharedPlugin.js +237 -0
- package/examples/node_modules/webpack/lib/sharing/SharePlugin.js +92 -0
- package/examples/node_modules/webpack/lib/sharing/ShareRuntimeModule.js +141 -0
- package/examples/node_modules/webpack/lib/sharing/resolveMatchedConfigs.js +91 -0
- package/examples/node_modules/webpack/lib/sharing/utils.js +90 -0
- package/examples/node_modules/webpack/lib/stats/DefaultStatsFactoryPlugin.js +2398 -0
- package/examples/node_modules/webpack/lib/stats/DefaultStatsPresetPlugin.js +326 -0
- package/examples/node_modules/webpack/lib/stats/DefaultStatsPrinterPlugin.js +1380 -0
- package/examples/node_modules/webpack/lib/stats/StatsFactory.js +292 -0
- package/examples/node_modules/webpack/lib/stats/StatsPrinter.js +249 -0
- package/examples/node_modules/webpack/lib/util/ArrayHelpers.js +44 -0
- package/examples/node_modules/webpack/lib/util/ArrayQueue.js +111 -0
- package/examples/node_modules/webpack/lib/util/AsyncQueue.js +373 -0
- package/examples/node_modules/webpack/lib/util/Hash.js +35 -0
- package/examples/node_modules/webpack/lib/util/IterableHelpers.js +46 -0
- package/examples/node_modules/webpack/lib/util/LazyBucketSortedSet.js +236 -0
- package/examples/node_modules/webpack/lib/util/LazySet.js +208 -0
- package/examples/node_modules/webpack/lib/util/MapHelpers.js +22 -0
- package/examples/node_modules/webpack/lib/util/ParallelismFactorCalculator.js +59 -0
- package/examples/node_modules/webpack/lib/util/Queue.js +51 -0
- package/examples/node_modules/webpack/lib/util/Semaphore.js +54 -0
- package/examples/node_modules/webpack/lib/util/SetHelpers.js +94 -0
- package/examples/node_modules/webpack/lib/util/SortableSet.js +160 -0
- package/examples/node_modules/webpack/lib/util/StackedCacheMap.js +110 -0
- package/examples/node_modules/webpack/lib/util/StackedMap.js +166 -0
- package/examples/node_modules/webpack/lib/util/StringXor.js +55 -0
- package/examples/node_modules/webpack/lib/util/TupleQueue.js +61 -0
- package/examples/node_modules/webpack/lib/util/TupleSet.js +150 -0
- package/examples/node_modules/webpack/lib/util/URLAbsoluteSpecifier.js +87 -0
- package/examples/node_modules/webpack/lib/util/WeakTupleMap.js +171 -0
- package/examples/node_modules/webpack/lib/util/binarySearchBounds.js +86 -0
- package/examples/node_modules/webpack/lib/util/cleverMerge.js +568 -0
- package/examples/node_modules/webpack/lib/util/comparators.js +459 -0
- package/examples/node_modules/webpack/lib/util/compileBooleanMatcher.js +206 -0
- package/examples/node_modules/webpack/lib/util/create-schema-validation.js +28 -0
- package/examples/node_modules/webpack/lib/util/createHash.js +171 -0
- package/examples/node_modules/webpack/lib/util/deprecation.js +264 -0
- package/examples/node_modules/webpack/lib/util/deterministicGrouping.js +508 -0
- package/examples/node_modules/webpack/lib/util/extractUrlAndGlobal.js +18 -0
- package/examples/node_modules/webpack/lib/util/findGraphRoots.js +229 -0
- package/examples/node_modules/webpack/lib/util/fs.js +337 -0
- package/examples/node_modules/webpack/lib/util/hash/BatchedHash.js +68 -0
- package/examples/node_modules/webpack/lib/util/hash/md4.js +20 -0
- package/examples/node_modules/webpack/lib/util/hash/wasm-hash.js +163 -0
- package/examples/node_modules/webpack/lib/util/hash/xxhash64.js +20 -0
- package/examples/node_modules/webpack/lib/util/identifier.js +377 -0
- package/examples/node_modules/webpack/lib/util/internalSerializables.js +211 -0
- package/examples/node_modules/webpack/lib/util/makeSerializable.js +30 -0
- package/examples/node_modules/webpack/lib/util/memoize.js +32 -0
- package/examples/node_modules/webpack/lib/util/nonNumericOnlyHash.js +22 -0
- package/examples/node_modules/webpack/lib/util/numberHash.js +45 -0
- package/examples/node_modules/webpack/lib/util/objectToMap.js +15 -0
- package/examples/node_modules/webpack/lib/util/processAsyncTree.js +62 -0
- package/examples/node_modules/webpack/lib/util/propertyAccess.js +78 -0
- package/examples/node_modules/webpack/lib/util/registerExternalSerializer.js +337 -0
- package/examples/node_modules/webpack/lib/util/runtime.js +623 -0
- package/examples/node_modules/webpack/lib/util/semver.js +484 -0
- package/examples/node_modules/webpack/lib/util/serialization.js +128 -0
- package/examples/node_modules/webpack/lib/util/smartGrouping.js +206 -0
- package/examples/node_modules/webpack/lib/util/source.js +61 -0
- package/examples/node_modules/webpack/lib/validateSchema.js +175 -0
- package/examples/node_modules/webpack/lib/wasm/EnableWasmLoadingPlugin.js +118 -0
- package/examples/node_modules/webpack/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js +78 -0
- package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyGenerator.js +53 -0
- package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +194 -0
- package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyModulesPlugin.js +198 -0
- package/examples/node_modules/webpack/lib/wasm-async/AsyncWebAssemblyParser.js +75 -0
- package/examples/node_modules/webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatureError.js +16 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js +372 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WasmFinalizeExportsPlugin.js +82 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyGenerator.js +501 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyInInitialChunkError.js +106 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +216 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyModulesPlugin.js +142 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyParser.js +192 -0
- package/examples/node_modules/webpack/lib/wasm-sync/WebAssemblyUtils.js +65 -0
- package/examples/node_modules/webpack/lib/web/FetchCompileAsyncWasmPlugin.js +62 -0
- package/examples/node_modules/webpack/lib/web/FetchCompileWasmPlugin.js +71 -0
- package/examples/node_modules/webpack/lib/web/JsonpChunkLoadingPlugin.js +91 -0
- package/examples/node_modules/webpack/lib/web/JsonpChunkLoadingRuntimeModule.js +450 -0
- package/examples/node_modules/webpack/lib/web/JsonpTemplatePlugin.js +38 -0
- package/examples/node_modules/webpack/lib/webpack.js +171 -0
- package/examples/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingPlugin.js +94 -0
- package/examples/node_modules/webpack/lib/webworker/ImportScriptsChunkLoadingRuntimeModule.js +238 -0
- package/examples/node_modules/webpack/lib/webworker/WebWorkerTemplatePlugin.js +25 -0
- package/examples/node_modules/webpack/module.d.ts +215 -0
- package/examples/node_modules/webpack/package.json +242 -0
- package/examples/node_modules/webpack/schemas/WebpackOptions.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/WebpackOptions.check.js +6 -0
- package/examples/node_modules/webpack/schemas/WebpackOptions.json +5321 -0
- package/examples/node_modules/webpack/schemas/_container.json +155 -0
- package/examples/node_modules/webpack/schemas/_sharing.json +118 -0
- package/examples/node_modules/webpack/schemas/plugins/BannerPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/BannerPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/BannerPlugin.json +103 -0
- package/examples/node_modules/webpack/schemas/plugins/DllPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/DllPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/DllPlugin.json +36 -0
- package/examples/node_modules/webpack/schemas/plugins/DllReferencePlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/DllReferencePlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/DllReferencePlugin.json +206 -0
- package/examples/node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/HashedModuleIdsPlugin.json +44 -0
- package/examples/node_modules/webpack/schemas/plugins/IgnorePlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/IgnorePlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/IgnorePlugin.json +34 -0
- package/examples/node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/JsonModulesPluginParser.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/JsonModulesPluginParser.json +12 -0
- package/examples/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/LoaderOptionsPlugin.json +27 -0
- package/examples/node_modules/webpack/schemas/plugins/ProgressPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/ProgressPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/ProgressPlugin.json +65 -0
- package/examples/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json +143 -0
- package/examples/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/WatchIgnorePlugin.json +25 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetGeneratorOptions.json +3 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetInlineGeneratorOptions.json +3 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetParserOptions.json +3 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/asset/AssetResourceGeneratorOptions.json +3 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ContainerPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ContainerPlugin.json +286 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ContainerReferencePlugin.json +128 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ExternalsType.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ExternalsType.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ExternalsType.json +3 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.json +513 -0
- package/examples/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/css/CssGeneratorOptions.json +3 -0
- package/examples/node_modules/webpack/schemas/plugins/css/CssParserOptions.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/css/CssParserOptions.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/css/CssParserOptions.json +3 -0
- package/examples/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/debug/ProfilingPlugin.json +12 -0
- package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceChunkIdsPlugin.json +11 -0
- package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/ids/OccurrenceModuleIdsPlugin.json +11 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/AggressiveSplittingPlugin.json +23 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/LimitChunkCountPlugin.json +21 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/optimize/MinChunkSizePlugin.json +20 -0
- package/examples/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/schemes/HttpUriPlugin.json +74 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json +120 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/ProvideSharedPlugin.json +94 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/SharePlugin.check.d.ts +7 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/SharePlugin.check.js +6 -0
- package/examples/node_modules/webpack/schemas/plugins/sharing/SharePlugin.json +133 -0
- package/examples/node_modules/webpack/types.d.ts +13072 -0
- package/examples/node_modules/webpack-cli/README.md +45 -14
- package/examples/node_modules/webpack-cli/bin/cli.js +9 -32
- package/examples/node_modules/webpack-cli/lib/bootstrap.js +12 -15
- package/examples/node_modules/webpack-cli/lib/index.js +3 -3
- package/examples/node_modules/webpack-cli/lib/plugins/CLIPlugin.js +101 -68
- package/examples/node_modules/webpack-cli/lib/utils/dynamic-import-loader.js +7 -7
- package/examples/node_modules/webpack-cli/lib/webpack-cli.js +2093 -1553
- package/examples/node_modules/webpack-cli/node_modules/commander/CHANGELOG.md +440 -0
- package/examples/node_modules/webpack-cli/node_modules/commander/LICENSE +22 -0
- package/examples/node_modules/webpack-cli/node_modules/commander/Readme.md +917 -0
- package/examples/node_modules/{commander → webpack-cli/node_modules/commander}/esm.mjs +0 -0
- package/examples/node_modules/webpack-cli/node_modules/commander/index.js +2217 -0
- package/examples/node_modules/{commander → webpack-cli/node_modules/commander}/package-support.json +0 -0
- package/examples/node_modules/webpack-cli/node_modules/commander/package.json +68 -0
- package/examples/node_modules/webpack-cli/node_modules/commander/typings/index.d.ts +627 -0
- package/examples/node_modules/webpack-cli/package.json +30 -63
- package/examples/node_modules/webpack-merge/CHANGELOG.md +5 -0
- package/examples/node_modules/webpack-merge/README.md +3 -3
- package/examples/node_modules/webpack-merge/dist/index.d.ts +4 -4
- package/examples/node_modules/webpack-merge/dist/index.js +8 -7
- package/examples/node_modules/webpack-merge/dist/index.js.map +1 -1
- package/examples/node_modules/webpack-merge/dist/join-arrays.js +7 -6
- package/examples/node_modules/webpack-merge/dist/join-arrays.js.map +1 -1
- package/examples/node_modules/webpack-merge/dist/types.d.ts +1 -0
- package/examples/node_modules/webpack-merge/dist/unique.js +5 -4
- package/examples/node_modules/webpack-merge/dist/unique.js.map +1 -1
- package/examples/node_modules/webpack-merge/dist/utils.d.ts +1 -1
- package/examples/node_modules/webpack-merge/package.json +37 -65
- package/examples/node_modules/webpack-sources/LICENSE +21 -0
- package/examples/node_modules/webpack-sources/README.md +228 -0
- package/examples/node_modules/webpack-sources/lib/CachedSource.js +274 -0
- package/examples/node_modules/webpack-sources/lib/CompatSource.js +66 -0
- package/examples/node_modules/webpack-sources/lib/ConcatSource.js +319 -0
- package/examples/node_modules/webpack-sources/lib/OriginalSource.js +135 -0
- package/examples/node_modules/webpack-sources/lib/PrefixSource.js +114 -0
- package/examples/node_modules/webpack-sources/lib/RawSource.js +81 -0
- package/examples/node_modules/webpack-sources/lib/ReplaceSource.js +467 -0
- package/examples/node_modules/webpack-sources/lib/SizeOnlySource.js +42 -0
- package/examples/node_modules/webpack-sources/lib/Source.js +38 -0
- package/examples/node_modules/webpack-sources/lib/SourceMapSource.js +247 -0
- package/examples/node_modules/webpack-sources/lib/helpers/createMappingsSerializer.js +206 -0
- package/examples/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js +129 -0
- package/examples/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js +33 -0
- package/examples/node_modules/webpack-sources/lib/helpers/getName.js +14 -0
- package/examples/node_modules/webpack-sources/lib/helpers/getSource.js +17 -0
- package/examples/node_modules/webpack-sources/lib/helpers/readMappings.js +116 -0
- package/examples/node_modules/webpack-sources/lib/helpers/splitIntoLines.js +21 -0
- package/examples/node_modules/webpack-sources/lib/helpers/splitIntoPotentialTokens.js +41 -0
- package/examples/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js +102 -0
- package/examples/node_modules/webpack-sources/lib/helpers/streamChunks.js +36 -0
- package/examples/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js +329 -0
- package/examples/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js +34 -0
- package/examples/node_modules/webpack-sources/lib/helpers/streamChunksOfSourceMap.js +412 -0
- package/examples/node_modules/webpack-sources/lib/index.js +30 -0
- package/examples/node_modules/webpack-sources/package.json +58 -0
- package/examples/node_modules/which/package.json +22 -55
- package/examples/node_modules/wildcard/package.json +22 -51
- package/lib/browser/math.js +6 -6
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/forEach.js +1 -1
- package/lib/cjs/expression/node/FunctionNode.js +30 -8
- package/lib/cjs/function/arithmetic/sign.js +4 -0
- package/lib/cjs/function/string/format.js +3 -0
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/unit/Unit.js +67 -79
- package/lib/cjs/utils/string.js +17 -4
- package/lib/cjs/version.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/matrix/forEach.js +1 -1
- package/lib/esm/expression/node/FunctionNode.js +29 -9
- package/lib/esm/function/arithmetic/sign.js +4 -0
- package/lib/esm/function/string/format.js +3 -0
- package/lib/esm/type/unit/Unit.js +67 -79
- package/lib/esm/utils/string.js +18 -4
- package/lib/esm/version.js +1 -1
- package/package.json +2 -2
- package/examples/node_modules/@discoveryjs/json-ext/CHANGELOG.md +0 -42
- package/examples/node_modules/@webpack-cli/configtest/CHANGELOG.md +0 -18
- package/examples/node_modules/@webpack-cli/configtest/LICENSE +0 -20
- package/examples/node_modules/@webpack-cli/info/CHANGELOG.md +0 -61
- package/examples/node_modules/@webpack-cli/info/LICENSE +0 -20
- package/examples/node_modules/@webpack-cli/serve/CHANGELOG.md +0 -93
- package/examples/node_modules/@webpack-cli/serve/LICENSE +0 -20
- package/examples/node_modules/@webpack-cli/serve/lib/startDevServer.d.ts +0 -12
- package/examples/node_modules/@webpack-cli/serve/lib/startDevServer.js +0 -113
- package/examples/node_modules/ansi-colors/LICENSE +0 -21
- package/examples/node_modules/ansi-colors/README.md +0 -315
- package/examples/node_modules/ansi-colors/index.js +0 -177
- package/examples/node_modules/ansi-colors/package.json +0 -152
- package/examples/node_modules/ansi-colors/symbols.js +0 -70
- package/examples/node_modules/ansi-colors/types/index.d.ts +0 -161
- package/examples/node_modules/enquirer/CHANGELOG.md +0 -135
- package/examples/node_modules/enquirer/LICENSE +0 -21
- package/examples/node_modules/enquirer/README.md +0 -1752
- package/examples/node_modules/enquirer/index.d.ts +0 -151
- package/examples/node_modules/enquirer/index.js +0 -250
- package/examples/node_modules/enquirer/lib/ansi.js +0 -116
- package/examples/node_modules/enquirer/lib/combos.js +0 -75
- package/examples/node_modules/enquirer/lib/completer.js +0 -52
- package/examples/node_modules/enquirer/lib/interpolate.js +0 -266
- package/examples/node_modules/enquirer/lib/keypress.js +0 -243
- package/examples/node_modules/enquirer/lib/placeholder.js +0 -63
- package/examples/node_modules/enquirer/lib/prompt.js +0 -485
- package/examples/node_modules/enquirer/lib/prompts/autocomplete.js +0 -113
- package/examples/node_modules/enquirer/lib/prompts/basicauth.js +0 -41
- package/examples/node_modules/enquirer/lib/prompts/confirm.js +0 -13
- package/examples/node_modules/enquirer/lib/prompts/editable.js +0 -136
- package/examples/node_modules/enquirer/lib/prompts/form.js +0 -196
- package/examples/node_modules/enquirer/lib/prompts/index.js +0 -28
- package/examples/node_modules/enquirer/lib/prompts/input.js +0 -55
- package/examples/node_modules/enquirer/lib/prompts/invisible.js +0 -11
- package/examples/node_modules/enquirer/lib/prompts/list.js +0 -36
- package/examples/node_modules/enquirer/lib/prompts/multiselect.js +0 -11
- package/examples/node_modules/enquirer/lib/prompts/numeral.js +0 -1
- package/examples/node_modules/enquirer/lib/prompts/password.js +0 -18
- package/examples/node_modules/enquirer/lib/prompts/quiz.js +0 -37
- package/examples/node_modules/enquirer/lib/prompts/scale.js +0 -237
- package/examples/node_modules/enquirer/lib/prompts/select.js +0 -139
- package/examples/node_modules/enquirer/lib/prompts/snippet.js +0 -185
- package/examples/node_modules/enquirer/lib/prompts/sort.js +0 -37
- package/examples/node_modules/enquirer/lib/prompts/survey.js +0 -163
- package/examples/node_modules/enquirer/lib/prompts/text.js +0 -1
- package/examples/node_modules/enquirer/lib/prompts/toggle.js +0 -109
- package/examples/node_modules/enquirer/lib/render.js +0 -33
- package/examples/node_modules/enquirer/lib/roles.js +0 -46
- package/examples/node_modules/enquirer/lib/state.js +0 -69
- package/examples/node_modules/enquirer/lib/styles.js +0 -144
- package/examples/node_modules/enquirer/lib/symbols.js +0 -66
- package/examples/node_modules/enquirer/lib/theme.js +0 -11
- package/examples/node_modules/enquirer/lib/timer.js +0 -38
- package/examples/node_modules/enquirer/lib/types/array.js +0 -658
- package/examples/node_modules/enquirer/lib/types/auth.js +0 -29
- package/examples/node_modules/enquirer/lib/types/boolean.js +0 -88
- package/examples/node_modules/enquirer/lib/types/index.js +0 -7
- package/examples/node_modules/enquirer/lib/types/number.js +0 -86
- package/examples/node_modules/enquirer/lib/types/string.js +0 -185
- package/examples/node_modules/enquirer/lib/utils.js +0 -268
- package/examples/node_modules/enquirer/package.json +0 -148
- package/examples/node_modules/is-core-module/.eslintignore +0 -1
- package/examples/node_modules/is-core-module/.github/FUNDING.yml +0 -12
- package/examples/node_modules/is-core-module/.github/workflows/node-4+.yml +0 -54
- package/examples/node_modules/is-core-module/.github/workflows/node-iojs.yml +0 -58
- package/examples/node_modules/is-core-module/.github/workflows/node-pretest.yml +0 -26
- package/examples/node_modules/is-core-module/.github/workflows/node-zero.yml +0 -58
- package/examples/node_modules/is-core-module/.github/workflows/rebase.yml +0 -15
- package/examples/node_modules/is-core-module/.github/workflows/require-allow-edits.yml +0 -14
- package/examples/node_modules/path-parse/.travis.yml +0 -9
- package/examples/node_modules/path-parse/test.js +0 -77
- package/examples/node_modules/resolve/.eslintignore +0 -1
- package/examples/node_modules/resolve/test/.eslintrc +0 -5
- package/examples/node_modules/signal-exit/CHANGELOG.md +0 -35
- package/examples/node_modules/v8-compile-cache/CHANGELOG.md +0 -53
- package/examples/node_modules/v8-compile-cache/LICENSE +0 -21
- package/examples/node_modules/v8-compile-cache/README.md +0 -55
- package/examples/node_modules/v8-compile-cache/package.json +0 -66
- package/examples/node_modules/v8-compile-cache/v8-compile-cache.js +0 -371
- package/examples/node_modules/webpack-cli/CHANGELOG.md +0 -501
- package/examples/node_modules/webpack-cli/LICENSE +0 -20
- package/examples/node_modules/webpack-cli/lib/utils/__tests__/get-package-manager.test.js +0 -108
- package/examples/node_modules/webpack-cli/lib/utils/__tests__/prompt-installation.test.js +0 -118
- package/examples/node_modules/webpack-cli/lib/utils/capitalize-first-letter.js +0 -9
- package/examples/node_modules/webpack-cli/lib/utils/get-package-manager.js +0 -65
- package/examples/node_modules/webpack-cli/lib/utils/index.js +0 -49
- package/examples/node_modules/webpack-cli/lib/utils/logger.js +0 -11
- package/examples/node_modules/webpack-cli/lib/utils/package-exists.js +0 -9
- package/examples/node_modules/webpack-cli/lib/utils/prompt-installation.js +0 -58
- package/examples/node_modules/webpack-cli/lib/utils/run-command.js +0 -13
- package/examples/node_modules/webpack-cli/lib/utils/to-kebab-case.js +0 -5
@@ -0,0 +1,3233 @@
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory();
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define([], factory);
|
6
|
+
else if(typeof exports === 'object')
|
7
|
+
exports["sourceMap"] = factory();
|
8
|
+
else
|
9
|
+
root["sourceMap"] = factory();
|
10
|
+
})(this, function() {
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
12
|
+
/******/ // The module cache
|
13
|
+
/******/ var installedModules = {};
|
14
|
+
|
15
|
+
/******/ // The require function
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
17
|
+
|
18
|
+
/******/ // Check if module is in cache
|
19
|
+
/******/ if(installedModules[moduleId])
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
21
|
+
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
24
|
+
/******/ exports: {},
|
25
|
+
/******/ id: moduleId,
|
26
|
+
/******/ loaded: false
|
27
|
+
/******/ };
|
28
|
+
|
29
|
+
/******/ // Execute the module function
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31
|
+
|
32
|
+
/******/ // Flag the module as loaded
|
33
|
+
/******/ module.loaded = true;
|
34
|
+
|
35
|
+
/******/ // Return the exports of the module
|
36
|
+
/******/ return module.exports;
|
37
|
+
/******/ }
|
38
|
+
|
39
|
+
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
41
|
+
/******/ __webpack_require__.m = modules;
|
42
|
+
|
43
|
+
/******/ // expose the module cache
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
45
|
+
|
46
|
+
/******/ // __webpack_public_path__
|
47
|
+
/******/ __webpack_require__.p = "";
|
48
|
+
|
49
|
+
/******/ // Load entry module and return exports
|
50
|
+
/******/ return __webpack_require__(0);
|
51
|
+
/******/ })
|
52
|
+
/************************************************************************/
|
53
|
+
/******/ ([
|
54
|
+
/* 0 */
|
55
|
+
/***/ (function(module, exports, __webpack_require__) {
|
56
|
+
|
57
|
+
/*
|
58
|
+
* Copyright 2009-2011 Mozilla Foundation and contributors
|
59
|
+
* Licensed under the New BSD license. See LICENSE.txt or:
|
60
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
61
|
+
*/
|
62
|
+
exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
|
63
|
+
exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer;
|
64
|
+
exports.SourceNode = __webpack_require__(10).SourceNode;
|
65
|
+
|
66
|
+
|
67
|
+
/***/ }),
|
68
|
+
/* 1 */
|
69
|
+
/***/ (function(module, exports, __webpack_require__) {
|
70
|
+
|
71
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
72
|
+
/*
|
73
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
74
|
+
* Licensed under the New BSD license. See LICENSE or:
|
75
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
76
|
+
*/
|
77
|
+
|
78
|
+
var base64VLQ = __webpack_require__(2);
|
79
|
+
var util = __webpack_require__(4);
|
80
|
+
var ArraySet = __webpack_require__(5).ArraySet;
|
81
|
+
var MappingList = __webpack_require__(6).MappingList;
|
82
|
+
|
83
|
+
/**
|
84
|
+
* An instance of the SourceMapGenerator represents a source map which is
|
85
|
+
* being built incrementally. You may pass an object with the following
|
86
|
+
* properties:
|
87
|
+
*
|
88
|
+
* - file: The filename of the generated source.
|
89
|
+
* - sourceRoot: A root for all relative URLs in this source map.
|
90
|
+
*/
|
91
|
+
function SourceMapGenerator(aArgs) {
|
92
|
+
if (!aArgs) {
|
93
|
+
aArgs = {};
|
94
|
+
}
|
95
|
+
this._file = util.getArg(aArgs, 'file', null);
|
96
|
+
this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);
|
97
|
+
this._skipValidation = util.getArg(aArgs, 'skipValidation', false);
|
98
|
+
this._sources = new ArraySet();
|
99
|
+
this._names = new ArraySet();
|
100
|
+
this._mappings = new MappingList();
|
101
|
+
this._sourcesContents = null;
|
102
|
+
}
|
103
|
+
|
104
|
+
SourceMapGenerator.prototype._version = 3;
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Creates a new SourceMapGenerator based on a SourceMapConsumer
|
108
|
+
*
|
109
|
+
* @param aSourceMapConsumer The SourceMap.
|
110
|
+
*/
|
111
|
+
SourceMapGenerator.fromSourceMap =
|
112
|
+
function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {
|
113
|
+
var sourceRoot = aSourceMapConsumer.sourceRoot;
|
114
|
+
var generator = new SourceMapGenerator({
|
115
|
+
file: aSourceMapConsumer.file,
|
116
|
+
sourceRoot: sourceRoot
|
117
|
+
});
|
118
|
+
aSourceMapConsumer.eachMapping(function (mapping) {
|
119
|
+
var newMapping = {
|
120
|
+
generated: {
|
121
|
+
line: mapping.generatedLine,
|
122
|
+
column: mapping.generatedColumn
|
123
|
+
}
|
124
|
+
};
|
125
|
+
|
126
|
+
if (mapping.source != null) {
|
127
|
+
newMapping.source = mapping.source;
|
128
|
+
if (sourceRoot != null) {
|
129
|
+
newMapping.source = util.relative(sourceRoot, newMapping.source);
|
130
|
+
}
|
131
|
+
|
132
|
+
newMapping.original = {
|
133
|
+
line: mapping.originalLine,
|
134
|
+
column: mapping.originalColumn
|
135
|
+
};
|
136
|
+
|
137
|
+
if (mapping.name != null) {
|
138
|
+
newMapping.name = mapping.name;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
generator.addMapping(newMapping);
|
143
|
+
});
|
144
|
+
aSourceMapConsumer.sources.forEach(function (sourceFile) {
|
145
|
+
var sourceRelative = sourceFile;
|
146
|
+
if (sourceRoot !== null) {
|
147
|
+
sourceRelative = util.relative(sourceRoot, sourceFile);
|
148
|
+
}
|
149
|
+
|
150
|
+
if (!generator._sources.has(sourceRelative)) {
|
151
|
+
generator._sources.add(sourceRelative);
|
152
|
+
}
|
153
|
+
|
154
|
+
var content = aSourceMapConsumer.sourceContentFor(sourceFile);
|
155
|
+
if (content != null) {
|
156
|
+
generator.setSourceContent(sourceFile, content);
|
157
|
+
}
|
158
|
+
});
|
159
|
+
return generator;
|
160
|
+
};
|
161
|
+
|
162
|
+
/**
|
163
|
+
* Add a single mapping from original source line and column to the generated
|
164
|
+
* source's line and column for this source map being created. The mapping
|
165
|
+
* object should have the following properties:
|
166
|
+
*
|
167
|
+
* - generated: An object with the generated line and column positions.
|
168
|
+
* - original: An object with the original line and column positions.
|
169
|
+
* - source: The original source file (relative to the sourceRoot).
|
170
|
+
* - name: An optional original token name for this mapping.
|
171
|
+
*/
|
172
|
+
SourceMapGenerator.prototype.addMapping =
|
173
|
+
function SourceMapGenerator_addMapping(aArgs) {
|
174
|
+
var generated = util.getArg(aArgs, 'generated');
|
175
|
+
var original = util.getArg(aArgs, 'original', null);
|
176
|
+
var source = util.getArg(aArgs, 'source', null);
|
177
|
+
var name = util.getArg(aArgs, 'name', null);
|
178
|
+
|
179
|
+
if (!this._skipValidation) {
|
180
|
+
this._validateMapping(generated, original, source, name);
|
181
|
+
}
|
182
|
+
|
183
|
+
if (source != null) {
|
184
|
+
source = String(source);
|
185
|
+
if (!this._sources.has(source)) {
|
186
|
+
this._sources.add(source);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
if (name != null) {
|
191
|
+
name = String(name);
|
192
|
+
if (!this._names.has(name)) {
|
193
|
+
this._names.add(name);
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
this._mappings.add({
|
198
|
+
generatedLine: generated.line,
|
199
|
+
generatedColumn: generated.column,
|
200
|
+
originalLine: original != null && original.line,
|
201
|
+
originalColumn: original != null && original.column,
|
202
|
+
source: source,
|
203
|
+
name: name
|
204
|
+
});
|
205
|
+
};
|
206
|
+
|
207
|
+
/**
|
208
|
+
* Set the source content for a source file.
|
209
|
+
*/
|
210
|
+
SourceMapGenerator.prototype.setSourceContent =
|
211
|
+
function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {
|
212
|
+
var source = aSourceFile;
|
213
|
+
if (this._sourceRoot != null) {
|
214
|
+
source = util.relative(this._sourceRoot, source);
|
215
|
+
}
|
216
|
+
|
217
|
+
if (aSourceContent != null) {
|
218
|
+
// Add the source content to the _sourcesContents map.
|
219
|
+
// Create a new _sourcesContents map if the property is null.
|
220
|
+
if (!this._sourcesContents) {
|
221
|
+
this._sourcesContents = Object.create(null);
|
222
|
+
}
|
223
|
+
this._sourcesContents[util.toSetString(source)] = aSourceContent;
|
224
|
+
} else if (this._sourcesContents) {
|
225
|
+
// Remove the source file from the _sourcesContents map.
|
226
|
+
// If the _sourcesContents map is empty, set the property to null.
|
227
|
+
delete this._sourcesContents[util.toSetString(source)];
|
228
|
+
if (Object.keys(this._sourcesContents).length === 0) {
|
229
|
+
this._sourcesContents = null;
|
230
|
+
}
|
231
|
+
}
|
232
|
+
};
|
233
|
+
|
234
|
+
/**
|
235
|
+
* Applies the mappings of a sub-source-map for a specific source file to the
|
236
|
+
* source map being generated. Each mapping to the supplied source file is
|
237
|
+
* rewritten using the supplied source map. Note: The resolution for the
|
238
|
+
* resulting mappings is the minimium of this map and the supplied map.
|
239
|
+
*
|
240
|
+
* @param aSourceMapConsumer The source map to be applied.
|
241
|
+
* @param aSourceFile Optional. The filename of the source file.
|
242
|
+
* If omitted, SourceMapConsumer's file property will be used.
|
243
|
+
* @param aSourceMapPath Optional. The dirname of the path to the source map
|
244
|
+
* to be applied. If relative, it is relative to the SourceMapConsumer.
|
245
|
+
* This parameter is needed when the two source maps aren't in the same
|
246
|
+
* directory, and the source map to be applied contains relative source
|
247
|
+
* paths. If so, those relative source paths need to be rewritten
|
248
|
+
* relative to the SourceMapGenerator.
|
249
|
+
*/
|
250
|
+
SourceMapGenerator.prototype.applySourceMap =
|
251
|
+
function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
|
252
|
+
var sourceFile = aSourceFile;
|
253
|
+
// If aSourceFile is omitted, we will use the file property of the SourceMap
|
254
|
+
if (aSourceFile == null) {
|
255
|
+
if (aSourceMapConsumer.file == null) {
|
256
|
+
throw new Error(
|
257
|
+
'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +
|
258
|
+
'or the source map\'s "file" property. Both were omitted.'
|
259
|
+
);
|
260
|
+
}
|
261
|
+
sourceFile = aSourceMapConsumer.file;
|
262
|
+
}
|
263
|
+
var sourceRoot = this._sourceRoot;
|
264
|
+
// Make "sourceFile" relative if an absolute Url is passed.
|
265
|
+
if (sourceRoot != null) {
|
266
|
+
sourceFile = util.relative(sourceRoot, sourceFile);
|
267
|
+
}
|
268
|
+
// Applying the SourceMap can add and remove items from the sources and
|
269
|
+
// the names array.
|
270
|
+
var newSources = new ArraySet();
|
271
|
+
var newNames = new ArraySet();
|
272
|
+
|
273
|
+
// Find mappings for the "sourceFile"
|
274
|
+
this._mappings.unsortedForEach(function (mapping) {
|
275
|
+
if (mapping.source === sourceFile && mapping.originalLine != null) {
|
276
|
+
// Check if it can be mapped by the source map, then update the mapping.
|
277
|
+
var original = aSourceMapConsumer.originalPositionFor({
|
278
|
+
line: mapping.originalLine,
|
279
|
+
column: mapping.originalColumn
|
280
|
+
});
|
281
|
+
if (original.source != null) {
|
282
|
+
// Copy mapping
|
283
|
+
mapping.source = original.source;
|
284
|
+
if (aSourceMapPath != null) {
|
285
|
+
mapping.source = util.join(aSourceMapPath, mapping.source)
|
286
|
+
}
|
287
|
+
if (sourceRoot != null) {
|
288
|
+
mapping.source = util.relative(sourceRoot, mapping.source);
|
289
|
+
}
|
290
|
+
mapping.originalLine = original.line;
|
291
|
+
mapping.originalColumn = original.column;
|
292
|
+
if (original.name != null) {
|
293
|
+
mapping.name = original.name;
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
var source = mapping.source;
|
299
|
+
if (source != null && !newSources.has(source)) {
|
300
|
+
newSources.add(source);
|
301
|
+
}
|
302
|
+
|
303
|
+
var name = mapping.name;
|
304
|
+
if (name != null && !newNames.has(name)) {
|
305
|
+
newNames.add(name);
|
306
|
+
}
|
307
|
+
|
308
|
+
}, this);
|
309
|
+
this._sources = newSources;
|
310
|
+
this._names = newNames;
|
311
|
+
|
312
|
+
// Copy sourcesContents of applied map.
|
313
|
+
aSourceMapConsumer.sources.forEach(function (sourceFile) {
|
314
|
+
var content = aSourceMapConsumer.sourceContentFor(sourceFile);
|
315
|
+
if (content != null) {
|
316
|
+
if (aSourceMapPath != null) {
|
317
|
+
sourceFile = util.join(aSourceMapPath, sourceFile);
|
318
|
+
}
|
319
|
+
if (sourceRoot != null) {
|
320
|
+
sourceFile = util.relative(sourceRoot, sourceFile);
|
321
|
+
}
|
322
|
+
this.setSourceContent(sourceFile, content);
|
323
|
+
}
|
324
|
+
}, this);
|
325
|
+
};
|
326
|
+
|
327
|
+
/**
|
328
|
+
* A mapping can have one of the three levels of data:
|
329
|
+
*
|
330
|
+
* 1. Just the generated position.
|
331
|
+
* 2. The Generated position, original position, and original source.
|
332
|
+
* 3. Generated and original position, original source, as well as a name
|
333
|
+
* token.
|
334
|
+
*
|
335
|
+
* To maintain consistency, we validate that any new mapping being added falls
|
336
|
+
* in to one of these categories.
|
337
|
+
*/
|
338
|
+
SourceMapGenerator.prototype._validateMapping =
|
339
|
+
function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,
|
340
|
+
aName) {
|
341
|
+
// When aOriginal is truthy but has empty values for .line and .column,
|
342
|
+
// it is most likely a programmer error. In this case we throw a very
|
343
|
+
// specific error message to try to guide them the right way.
|
344
|
+
// For example: https://github.com/Polymer/polymer-bundler/pull/519
|
345
|
+
if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {
|
346
|
+
throw new Error(
|
347
|
+
'original.line and original.column are not numbers -- you probably meant to omit ' +
|
348
|
+
'the original mapping entirely and only map the generated position. If so, pass ' +
|
349
|
+
'null for the original mapping instead of an object with empty or null values.'
|
350
|
+
);
|
351
|
+
}
|
352
|
+
|
353
|
+
if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
|
354
|
+
&& aGenerated.line > 0 && aGenerated.column >= 0
|
355
|
+
&& !aOriginal && !aSource && !aName) {
|
356
|
+
// Case 1.
|
357
|
+
return;
|
358
|
+
}
|
359
|
+
else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated
|
360
|
+
&& aOriginal && 'line' in aOriginal && 'column' in aOriginal
|
361
|
+
&& aGenerated.line > 0 && aGenerated.column >= 0
|
362
|
+
&& aOriginal.line > 0 && aOriginal.column >= 0
|
363
|
+
&& aSource) {
|
364
|
+
// Cases 2 and 3.
|
365
|
+
return;
|
366
|
+
}
|
367
|
+
else {
|
368
|
+
throw new Error('Invalid mapping: ' + JSON.stringify({
|
369
|
+
generated: aGenerated,
|
370
|
+
source: aSource,
|
371
|
+
original: aOriginal,
|
372
|
+
name: aName
|
373
|
+
}));
|
374
|
+
}
|
375
|
+
};
|
376
|
+
|
377
|
+
/**
|
378
|
+
* Serialize the accumulated mappings in to the stream of base 64 VLQs
|
379
|
+
* specified by the source map format.
|
380
|
+
*/
|
381
|
+
SourceMapGenerator.prototype._serializeMappings =
|
382
|
+
function SourceMapGenerator_serializeMappings() {
|
383
|
+
var previousGeneratedColumn = 0;
|
384
|
+
var previousGeneratedLine = 1;
|
385
|
+
var previousOriginalColumn = 0;
|
386
|
+
var previousOriginalLine = 0;
|
387
|
+
var previousName = 0;
|
388
|
+
var previousSource = 0;
|
389
|
+
var result = '';
|
390
|
+
var next;
|
391
|
+
var mapping;
|
392
|
+
var nameIdx;
|
393
|
+
var sourceIdx;
|
394
|
+
|
395
|
+
var mappings = this._mappings.toArray();
|
396
|
+
for (var i = 0, len = mappings.length; i < len; i++) {
|
397
|
+
mapping = mappings[i];
|
398
|
+
next = ''
|
399
|
+
|
400
|
+
if (mapping.generatedLine !== previousGeneratedLine) {
|
401
|
+
previousGeneratedColumn = 0;
|
402
|
+
while (mapping.generatedLine !== previousGeneratedLine) {
|
403
|
+
next += ';';
|
404
|
+
previousGeneratedLine++;
|
405
|
+
}
|
406
|
+
}
|
407
|
+
else {
|
408
|
+
if (i > 0) {
|
409
|
+
if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {
|
410
|
+
continue;
|
411
|
+
}
|
412
|
+
next += ',';
|
413
|
+
}
|
414
|
+
}
|
415
|
+
|
416
|
+
next += base64VLQ.encode(mapping.generatedColumn
|
417
|
+
- previousGeneratedColumn);
|
418
|
+
previousGeneratedColumn = mapping.generatedColumn;
|
419
|
+
|
420
|
+
if (mapping.source != null) {
|
421
|
+
sourceIdx = this._sources.indexOf(mapping.source);
|
422
|
+
next += base64VLQ.encode(sourceIdx - previousSource);
|
423
|
+
previousSource = sourceIdx;
|
424
|
+
|
425
|
+
// lines are stored 0-based in SourceMap spec version 3
|
426
|
+
next += base64VLQ.encode(mapping.originalLine - 1
|
427
|
+
- previousOriginalLine);
|
428
|
+
previousOriginalLine = mapping.originalLine - 1;
|
429
|
+
|
430
|
+
next += base64VLQ.encode(mapping.originalColumn
|
431
|
+
- previousOriginalColumn);
|
432
|
+
previousOriginalColumn = mapping.originalColumn;
|
433
|
+
|
434
|
+
if (mapping.name != null) {
|
435
|
+
nameIdx = this._names.indexOf(mapping.name);
|
436
|
+
next += base64VLQ.encode(nameIdx - previousName);
|
437
|
+
previousName = nameIdx;
|
438
|
+
}
|
439
|
+
}
|
440
|
+
|
441
|
+
result += next;
|
442
|
+
}
|
443
|
+
|
444
|
+
return result;
|
445
|
+
};
|
446
|
+
|
447
|
+
SourceMapGenerator.prototype._generateSourcesContent =
|
448
|
+
function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {
|
449
|
+
return aSources.map(function (source) {
|
450
|
+
if (!this._sourcesContents) {
|
451
|
+
return null;
|
452
|
+
}
|
453
|
+
if (aSourceRoot != null) {
|
454
|
+
source = util.relative(aSourceRoot, source);
|
455
|
+
}
|
456
|
+
var key = util.toSetString(source);
|
457
|
+
return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)
|
458
|
+
? this._sourcesContents[key]
|
459
|
+
: null;
|
460
|
+
}, this);
|
461
|
+
};
|
462
|
+
|
463
|
+
/**
|
464
|
+
* Externalize the source map.
|
465
|
+
*/
|
466
|
+
SourceMapGenerator.prototype.toJSON =
|
467
|
+
function SourceMapGenerator_toJSON() {
|
468
|
+
var map = {
|
469
|
+
version: this._version,
|
470
|
+
sources: this._sources.toArray(),
|
471
|
+
names: this._names.toArray(),
|
472
|
+
mappings: this._serializeMappings()
|
473
|
+
};
|
474
|
+
if (this._file != null) {
|
475
|
+
map.file = this._file;
|
476
|
+
}
|
477
|
+
if (this._sourceRoot != null) {
|
478
|
+
map.sourceRoot = this._sourceRoot;
|
479
|
+
}
|
480
|
+
if (this._sourcesContents) {
|
481
|
+
map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);
|
482
|
+
}
|
483
|
+
|
484
|
+
return map;
|
485
|
+
};
|
486
|
+
|
487
|
+
/**
|
488
|
+
* Render the source map being generated to a string.
|
489
|
+
*/
|
490
|
+
SourceMapGenerator.prototype.toString =
|
491
|
+
function SourceMapGenerator_toString() {
|
492
|
+
return JSON.stringify(this.toJSON());
|
493
|
+
};
|
494
|
+
|
495
|
+
exports.SourceMapGenerator = SourceMapGenerator;
|
496
|
+
|
497
|
+
|
498
|
+
/***/ }),
|
499
|
+
/* 2 */
|
500
|
+
/***/ (function(module, exports, __webpack_require__) {
|
501
|
+
|
502
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
503
|
+
/*
|
504
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
505
|
+
* Licensed under the New BSD license. See LICENSE or:
|
506
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
507
|
+
*
|
508
|
+
* Based on the Base 64 VLQ implementation in Closure Compiler:
|
509
|
+
* https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
|
510
|
+
*
|
511
|
+
* Copyright 2011 The Closure Compiler Authors. All rights reserved.
|
512
|
+
* Redistribution and use in source and binary forms, with or without
|
513
|
+
* modification, are permitted provided that the following conditions are
|
514
|
+
* met:
|
515
|
+
*
|
516
|
+
* * Redistributions of source code must retain the above copyright
|
517
|
+
* notice, this list of conditions and the following disclaimer.
|
518
|
+
* * Redistributions in binary form must reproduce the above
|
519
|
+
* copyright notice, this list of conditions and the following
|
520
|
+
* disclaimer in the documentation and/or other materials provided
|
521
|
+
* with the distribution.
|
522
|
+
* * Neither the name of Google Inc. nor the names of its
|
523
|
+
* contributors may be used to endorse or promote products derived
|
524
|
+
* from this software without specific prior written permission.
|
525
|
+
*
|
526
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
527
|
+
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
528
|
+
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
529
|
+
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
530
|
+
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
531
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
532
|
+
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
533
|
+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
534
|
+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
535
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
536
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
537
|
+
*/
|
538
|
+
|
539
|
+
var base64 = __webpack_require__(3);
|
540
|
+
|
541
|
+
// A single base 64 digit can contain 6 bits of data. For the base 64 variable
|
542
|
+
// length quantities we use in the source map spec, the first bit is the sign,
|
543
|
+
// the next four bits are the actual value, and the 6th bit is the
|
544
|
+
// continuation bit. The continuation bit tells us whether there are more
|
545
|
+
// digits in this value following this digit.
|
546
|
+
//
|
547
|
+
// Continuation
|
548
|
+
// | Sign
|
549
|
+
// | |
|
550
|
+
// V V
|
551
|
+
// 101011
|
552
|
+
|
553
|
+
var VLQ_BASE_SHIFT = 5;
|
554
|
+
|
555
|
+
// binary: 100000
|
556
|
+
var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
|
557
|
+
|
558
|
+
// binary: 011111
|
559
|
+
var VLQ_BASE_MASK = VLQ_BASE - 1;
|
560
|
+
|
561
|
+
// binary: 100000
|
562
|
+
var VLQ_CONTINUATION_BIT = VLQ_BASE;
|
563
|
+
|
564
|
+
/**
|
565
|
+
* Converts from a two-complement value to a value where the sign bit is
|
566
|
+
* placed in the least significant bit. For example, as decimals:
|
567
|
+
* 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)
|
568
|
+
* 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)
|
569
|
+
*/
|
570
|
+
function toVLQSigned(aValue) {
|
571
|
+
return aValue < 0
|
572
|
+
? ((-aValue) << 1) + 1
|
573
|
+
: (aValue << 1) + 0;
|
574
|
+
}
|
575
|
+
|
576
|
+
/**
|
577
|
+
* Converts to a two-complement value from a value where the sign bit is
|
578
|
+
* placed in the least significant bit. For example, as decimals:
|
579
|
+
* 2 (10 binary) becomes 1, 3 (11 binary) becomes -1
|
580
|
+
* 4 (100 binary) becomes 2, 5 (101 binary) becomes -2
|
581
|
+
*/
|
582
|
+
function fromVLQSigned(aValue) {
|
583
|
+
var isNegative = (aValue & 1) === 1;
|
584
|
+
var shifted = aValue >> 1;
|
585
|
+
return isNegative
|
586
|
+
? -shifted
|
587
|
+
: shifted;
|
588
|
+
}
|
589
|
+
|
590
|
+
/**
|
591
|
+
* Returns the base 64 VLQ encoded value.
|
592
|
+
*/
|
593
|
+
exports.encode = function base64VLQ_encode(aValue) {
|
594
|
+
var encoded = "";
|
595
|
+
var digit;
|
596
|
+
|
597
|
+
var vlq = toVLQSigned(aValue);
|
598
|
+
|
599
|
+
do {
|
600
|
+
digit = vlq & VLQ_BASE_MASK;
|
601
|
+
vlq >>>= VLQ_BASE_SHIFT;
|
602
|
+
if (vlq > 0) {
|
603
|
+
// There are still more digits in this value, so we must make sure the
|
604
|
+
// continuation bit is marked.
|
605
|
+
digit |= VLQ_CONTINUATION_BIT;
|
606
|
+
}
|
607
|
+
encoded += base64.encode(digit);
|
608
|
+
} while (vlq > 0);
|
609
|
+
|
610
|
+
return encoded;
|
611
|
+
};
|
612
|
+
|
613
|
+
/**
|
614
|
+
* Decodes the next base 64 VLQ value from the given string and returns the
|
615
|
+
* value and the rest of the string via the out parameter.
|
616
|
+
*/
|
617
|
+
exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
|
618
|
+
var strLen = aStr.length;
|
619
|
+
var result = 0;
|
620
|
+
var shift = 0;
|
621
|
+
var continuation, digit;
|
622
|
+
|
623
|
+
do {
|
624
|
+
if (aIndex >= strLen) {
|
625
|
+
throw new Error("Expected more digits in base 64 VLQ value.");
|
626
|
+
}
|
627
|
+
|
628
|
+
digit = base64.decode(aStr.charCodeAt(aIndex++));
|
629
|
+
if (digit === -1) {
|
630
|
+
throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1));
|
631
|
+
}
|
632
|
+
|
633
|
+
continuation = !!(digit & VLQ_CONTINUATION_BIT);
|
634
|
+
digit &= VLQ_BASE_MASK;
|
635
|
+
result = result + (digit << shift);
|
636
|
+
shift += VLQ_BASE_SHIFT;
|
637
|
+
} while (continuation);
|
638
|
+
|
639
|
+
aOutParam.value = fromVLQSigned(result);
|
640
|
+
aOutParam.rest = aIndex;
|
641
|
+
};
|
642
|
+
|
643
|
+
|
644
|
+
/***/ }),
|
645
|
+
/* 3 */
|
646
|
+
/***/ (function(module, exports) {
|
647
|
+
|
648
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
649
|
+
/*
|
650
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
651
|
+
* Licensed under the New BSD license. See LICENSE or:
|
652
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
653
|
+
*/
|
654
|
+
|
655
|
+
var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');
|
656
|
+
|
657
|
+
/**
|
658
|
+
* Encode an integer in the range of 0 to 63 to a single base 64 digit.
|
659
|
+
*/
|
660
|
+
exports.encode = function (number) {
|
661
|
+
if (0 <= number && number < intToCharMap.length) {
|
662
|
+
return intToCharMap[number];
|
663
|
+
}
|
664
|
+
throw new TypeError("Must be between 0 and 63: " + number);
|
665
|
+
};
|
666
|
+
|
667
|
+
/**
|
668
|
+
* Decode a single base 64 character code digit to an integer. Returns -1 on
|
669
|
+
* failure.
|
670
|
+
*/
|
671
|
+
exports.decode = function (charCode) {
|
672
|
+
var bigA = 65; // 'A'
|
673
|
+
var bigZ = 90; // 'Z'
|
674
|
+
|
675
|
+
var littleA = 97; // 'a'
|
676
|
+
var littleZ = 122; // 'z'
|
677
|
+
|
678
|
+
var zero = 48; // '0'
|
679
|
+
var nine = 57; // '9'
|
680
|
+
|
681
|
+
var plus = 43; // '+'
|
682
|
+
var slash = 47; // '/'
|
683
|
+
|
684
|
+
var littleOffset = 26;
|
685
|
+
var numberOffset = 52;
|
686
|
+
|
687
|
+
// 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
688
|
+
if (bigA <= charCode && charCode <= bigZ) {
|
689
|
+
return (charCode - bigA);
|
690
|
+
}
|
691
|
+
|
692
|
+
// 26 - 51: abcdefghijklmnopqrstuvwxyz
|
693
|
+
if (littleA <= charCode && charCode <= littleZ) {
|
694
|
+
return (charCode - littleA + littleOffset);
|
695
|
+
}
|
696
|
+
|
697
|
+
// 52 - 61: 0123456789
|
698
|
+
if (zero <= charCode && charCode <= nine) {
|
699
|
+
return (charCode - zero + numberOffset);
|
700
|
+
}
|
701
|
+
|
702
|
+
// 62: +
|
703
|
+
if (charCode == plus) {
|
704
|
+
return 62;
|
705
|
+
}
|
706
|
+
|
707
|
+
// 63: /
|
708
|
+
if (charCode == slash) {
|
709
|
+
return 63;
|
710
|
+
}
|
711
|
+
|
712
|
+
// Invalid base64 digit.
|
713
|
+
return -1;
|
714
|
+
};
|
715
|
+
|
716
|
+
|
717
|
+
/***/ }),
|
718
|
+
/* 4 */
|
719
|
+
/***/ (function(module, exports) {
|
720
|
+
|
721
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
722
|
+
/*
|
723
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
724
|
+
* Licensed under the New BSD license. See LICENSE or:
|
725
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
726
|
+
*/
|
727
|
+
|
728
|
+
/**
|
729
|
+
* This is a helper function for getting values from parameter/options
|
730
|
+
* objects.
|
731
|
+
*
|
732
|
+
* @param args The object we are extracting values from
|
733
|
+
* @param name The name of the property we are getting.
|
734
|
+
* @param defaultValue An optional value to return if the property is missing
|
735
|
+
* from the object. If this is not specified and the property is missing, an
|
736
|
+
* error will be thrown.
|
737
|
+
*/
|
738
|
+
function getArg(aArgs, aName, aDefaultValue) {
|
739
|
+
if (aName in aArgs) {
|
740
|
+
return aArgs[aName];
|
741
|
+
} else if (arguments.length === 3) {
|
742
|
+
return aDefaultValue;
|
743
|
+
} else {
|
744
|
+
throw new Error('"' + aName + '" is a required argument.');
|
745
|
+
}
|
746
|
+
}
|
747
|
+
exports.getArg = getArg;
|
748
|
+
|
749
|
+
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
750
|
+
var dataUrlRegexp = /^data:.+\,.+$/;
|
751
|
+
|
752
|
+
function urlParse(aUrl) {
|
753
|
+
var match = aUrl.match(urlRegexp);
|
754
|
+
if (!match) {
|
755
|
+
return null;
|
756
|
+
}
|
757
|
+
return {
|
758
|
+
scheme: match[1],
|
759
|
+
auth: match[2],
|
760
|
+
host: match[3],
|
761
|
+
port: match[4],
|
762
|
+
path: match[5]
|
763
|
+
};
|
764
|
+
}
|
765
|
+
exports.urlParse = urlParse;
|
766
|
+
|
767
|
+
function urlGenerate(aParsedUrl) {
|
768
|
+
var url = '';
|
769
|
+
if (aParsedUrl.scheme) {
|
770
|
+
url += aParsedUrl.scheme + ':';
|
771
|
+
}
|
772
|
+
url += '//';
|
773
|
+
if (aParsedUrl.auth) {
|
774
|
+
url += aParsedUrl.auth + '@';
|
775
|
+
}
|
776
|
+
if (aParsedUrl.host) {
|
777
|
+
url += aParsedUrl.host;
|
778
|
+
}
|
779
|
+
if (aParsedUrl.port) {
|
780
|
+
url += ":" + aParsedUrl.port
|
781
|
+
}
|
782
|
+
if (aParsedUrl.path) {
|
783
|
+
url += aParsedUrl.path;
|
784
|
+
}
|
785
|
+
return url;
|
786
|
+
}
|
787
|
+
exports.urlGenerate = urlGenerate;
|
788
|
+
|
789
|
+
/**
|
790
|
+
* Normalizes a path, or the path portion of a URL:
|
791
|
+
*
|
792
|
+
* - Replaces consecutive slashes with one slash.
|
793
|
+
* - Removes unnecessary '.' parts.
|
794
|
+
* - Removes unnecessary '<dir>/..' parts.
|
795
|
+
*
|
796
|
+
* Based on code in the Node.js 'path' core module.
|
797
|
+
*
|
798
|
+
* @param aPath The path or url to normalize.
|
799
|
+
*/
|
800
|
+
function normalize(aPath) {
|
801
|
+
var path = aPath;
|
802
|
+
var url = urlParse(aPath);
|
803
|
+
if (url) {
|
804
|
+
if (!url.path) {
|
805
|
+
return aPath;
|
806
|
+
}
|
807
|
+
path = url.path;
|
808
|
+
}
|
809
|
+
var isAbsolute = exports.isAbsolute(path);
|
810
|
+
|
811
|
+
var parts = path.split(/\/+/);
|
812
|
+
for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
|
813
|
+
part = parts[i];
|
814
|
+
if (part === '.') {
|
815
|
+
parts.splice(i, 1);
|
816
|
+
} else if (part === '..') {
|
817
|
+
up++;
|
818
|
+
} else if (up > 0) {
|
819
|
+
if (part === '') {
|
820
|
+
// The first part is blank if the path is absolute. Trying to go
|
821
|
+
// above the root is a no-op. Therefore we can remove all '..' parts
|
822
|
+
// directly after the root.
|
823
|
+
parts.splice(i + 1, up);
|
824
|
+
up = 0;
|
825
|
+
} else {
|
826
|
+
parts.splice(i, 2);
|
827
|
+
up--;
|
828
|
+
}
|
829
|
+
}
|
830
|
+
}
|
831
|
+
path = parts.join('/');
|
832
|
+
|
833
|
+
if (path === '') {
|
834
|
+
path = isAbsolute ? '/' : '.';
|
835
|
+
}
|
836
|
+
|
837
|
+
if (url) {
|
838
|
+
url.path = path;
|
839
|
+
return urlGenerate(url);
|
840
|
+
}
|
841
|
+
return path;
|
842
|
+
}
|
843
|
+
exports.normalize = normalize;
|
844
|
+
|
845
|
+
/**
|
846
|
+
* Joins two paths/URLs.
|
847
|
+
*
|
848
|
+
* @param aRoot The root path or URL.
|
849
|
+
* @param aPath The path or URL to be joined with the root.
|
850
|
+
*
|
851
|
+
* - If aPath is a URL or a data URI, aPath is returned, unless aPath is a
|
852
|
+
* scheme-relative URL: Then the scheme of aRoot, if any, is prepended
|
853
|
+
* first.
|
854
|
+
* - Otherwise aPath is a path. If aRoot is a URL, then its path portion
|
855
|
+
* is updated with the result and aRoot is returned. Otherwise the result
|
856
|
+
* is returned.
|
857
|
+
* - If aPath is absolute, the result is aPath.
|
858
|
+
* - Otherwise the two paths are joined with a slash.
|
859
|
+
* - Joining for example 'http://' and 'www.example.com' is also supported.
|
860
|
+
*/
|
861
|
+
function join(aRoot, aPath) {
|
862
|
+
if (aRoot === "") {
|
863
|
+
aRoot = ".";
|
864
|
+
}
|
865
|
+
if (aPath === "") {
|
866
|
+
aPath = ".";
|
867
|
+
}
|
868
|
+
var aPathUrl = urlParse(aPath);
|
869
|
+
var aRootUrl = urlParse(aRoot);
|
870
|
+
if (aRootUrl) {
|
871
|
+
aRoot = aRootUrl.path || '/';
|
872
|
+
}
|
873
|
+
|
874
|
+
// `join(foo, '//www.example.org')`
|
875
|
+
if (aPathUrl && !aPathUrl.scheme) {
|
876
|
+
if (aRootUrl) {
|
877
|
+
aPathUrl.scheme = aRootUrl.scheme;
|
878
|
+
}
|
879
|
+
return urlGenerate(aPathUrl);
|
880
|
+
}
|
881
|
+
|
882
|
+
if (aPathUrl || aPath.match(dataUrlRegexp)) {
|
883
|
+
return aPath;
|
884
|
+
}
|
885
|
+
|
886
|
+
// `join('http://', 'www.example.com')`
|
887
|
+
if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {
|
888
|
+
aRootUrl.host = aPath;
|
889
|
+
return urlGenerate(aRootUrl);
|
890
|
+
}
|
891
|
+
|
892
|
+
var joined = aPath.charAt(0) === '/'
|
893
|
+
? aPath
|
894
|
+
: normalize(aRoot.replace(/\/+$/, '') + '/' + aPath);
|
895
|
+
|
896
|
+
if (aRootUrl) {
|
897
|
+
aRootUrl.path = joined;
|
898
|
+
return urlGenerate(aRootUrl);
|
899
|
+
}
|
900
|
+
return joined;
|
901
|
+
}
|
902
|
+
exports.join = join;
|
903
|
+
|
904
|
+
exports.isAbsolute = function (aPath) {
|
905
|
+
return aPath.charAt(0) === '/' || urlRegexp.test(aPath);
|
906
|
+
};
|
907
|
+
|
908
|
+
/**
|
909
|
+
* Make a path relative to a URL or another path.
|
910
|
+
*
|
911
|
+
* @param aRoot The root path or URL.
|
912
|
+
* @param aPath The path or URL to be made relative to aRoot.
|
913
|
+
*/
|
914
|
+
function relative(aRoot, aPath) {
|
915
|
+
if (aRoot === "") {
|
916
|
+
aRoot = ".";
|
917
|
+
}
|
918
|
+
|
919
|
+
aRoot = aRoot.replace(/\/$/, '');
|
920
|
+
|
921
|
+
// It is possible for the path to be above the root. In this case, simply
|
922
|
+
// checking whether the root is a prefix of the path won't work. Instead, we
|
923
|
+
// need to remove components from the root one by one, until either we find
|
924
|
+
// a prefix that fits, or we run out of components to remove.
|
925
|
+
var level = 0;
|
926
|
+
while (aPath.indexOf(aRoot + '/') !== 0) {
|
927
|
+
var index = aRoot.lastIndexOf("/");
|
928
|
+
if (index < 0) {
|
929
|
+
return aPath;
|
930
|
+
}
|
931
|
+
|
932
|
+
// If the only part of the root that is left is the scheme (i.e. http://,
|
933
|
+
// file:///, etc.), one or more slashes (/), or simply nothing at all, we
|
934
|
+
// have exhausted all components, so the path is not relative to the root.
|
935
|
+
aRoot = aRoot.slice(0, index);
|
936
|
+
if (aRoot.match(/^([^\/]+:\/)?\/*$/)) {
|
937
|
+
return aPath;
|
938
|
+
}
|
939
|
+
|
940
|
+
++level;
|
941
|
+
}
|
942
|
+
|
943
|
+
// Make sure we add a "../" for each component we removed from the root.
|
944
|
+
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
945
|
+
}
|
946
|
+
exports.relative = relative;
|
947
|
+
|
948
|
+
var supportsNullProto = (function () {
|
949
|
+
var obj = Object.create(null);
|
950
|
+
return !('__proto__' in obj);
|
951
|
+
}());
|
952
|
+
|
953
|
+
function identity (s) {
|
954
|
+
return s;
|
955
|
+
}
|
956
|
+
|
957
|
+
/**
|
958
|
+
* Because behavior goes wacky when you set `__proto__` on objects, we
|
959
|
+
* have to prefix all the strings in our set with an arbitrary character.
|
960
|
+
*
|
961
|
+
* See https://github.com/mozilla/source-map/pull/31 and
|
962
|
+
* https://github.com/mozilla/source-map/issues/30
|
963
|
+
*
|
964
|
+
* @param String aStr
|
965
|
+
*/
|
966
|
+
function toSetString(aStr) {
|
967
|
+
if (isProtoString(aStr)) {
|
968
|
+
return '$' + aStr;
|
969
|
+
}
|
970
|
+
|
971
|
+
return aStr;
|
972
|
+
}
|
973
|
+
exports.toSetString = supportsNullProto ? identity : toSetString;
|
974
|
+
|
975
|
+
function fromSetString(aStr) {
|
976
|
+
if (isProtoString(aStr)) {
|
977
|
+
return aStr.slice(1);
|
978
|
+
}
|
979
|
+
|
980
|
+
return aStr;
|
981
|
+
}
|
982
|
+
exports.fromSetString = supportsNullProto ? identity : fromSetString;
|
983
|
+
|
984
|
+
function isProtoString(s) {
|
985
|
+
if (!s) {
|
986
|
+
return false;
|
987
|
+
}
|
988
|
+
|
989
|
+
var length = s.length;
|
990
|
+
|
991
|
+
if (length < 9 /* "__proto__".length */) {
|
992
|
+
return false;
|
993
|
+
}
|
994
|
+
|
995
|
+
if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||
|
996
|
+
s.charCodeAt(length - 2) !== 95 /* '_' */ ||
|
997
|
+
s.charCodeAt(length - 3) !== 111 /* 'o' */ ||
|
998
|
+
s.charCodeAt(length - 4) !== 116 /* 't' */ ||
|
999
|
+
s.charCodeAt(length - 5) !== 111 /* 'o' */ ||
|
1000
|
+
s.charCodeAt(length - 6) !== 114 /* 'r' */ ||
|
1001
|
+
s.charCodeAt(length - 7) !== 112 /* 'p' */ ||
|
1002
|
+
s.charCodeAt(length - 8) !== 95 /* '_' */ ||
|
1003
|
+
s.charCodeAt(length - 9) !== 95 /* '_' */) {
|
1004
|
+
return false;
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
for (var i = length - 10; i >= 0; i--) {
|
1008
|
+
if (s.charCodeAt(i) !== 36 /* '$' */) {
|
1009
|
+
return false;
|
1010
|
+
}
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
return true;
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
/**
|
1017
|
+
* Comparator between two mappings where the original positions are compared.
|
1018
|
+
*
|
1019
|
+
* Optionally pass in `true` as `onlyCompareGenerated` to consider two
|
1020
|
+
* mappings with the same original source/line/column, but different generated
|
1021
|
+
* line and column the same. Useful when searching for a mapping with a
|
1022
|
+
* stubbed out mapping.
|
1023
|
+
*/
|
1024
|
+
function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {
|
1025
|
+
var cmp = strcmp(mappingA.source, mappingB.source);
|
1026
|
+
if (cmp !== 0) {
|
1027
|
+
return cmp;
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
cmp = mappingA.originalLine - mappingB.originalLine;
|
1031
|
+
if (cmp !== 0) {
|
1032
|
+
return cmp;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
cmp = mappingA.originalColumn - mappingB.originalColumn;
|
1036
|
+
if (cmp !== 0 || onlyCompareOriginal) {
|
1037
|
+
return cmp;
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
1041
|
+
if (cmp !== 0) {
|
1042
|
+
return cmp;
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
cmp = mappingA.generatedLine - mappingB.generatedLine;
|
1046
|
+
if (cmp !== 0) {
|
1047
|
+
return cmp;
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
return strcmp(mappingA.name, mappingB.name);
|
1051
|
+
}
|
1052
|
+
exports.compareByOriginalPositions = compareByOriginalPositions;
|
1053
|
+
|
1054
|
+
/**
|
1055
|
+
* Comparator between two mappings with deflated source and name indices where
|
1056
|
+
* the generated positions are compared.
|
1057
|
+
*
|
1058
|
+
* Optionally pass in `true` as `onlyCompareGenerated` to consider two
|
1059
|
+
* mappings with the same generated line and column, but different
|
1060
|
+
* source/name/original line and column the same. Useful when searching for a
|
1061
|
+
* mapping with a stubbed out mapping.
|
1062
|
+
*/
|
1063
|
+
function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
|
1064
|
+
var cmp = mappingA.generatedLine - mappingB.generatedLine;
|
1065
|
+
if (cmp !== 0) {
|
1066
|
+
return cmp;
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
1070
|
+
if (cmp !== 0 || onlyCompareGenerated) {
|
1071
|
+
return cmp;
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
cmp = strcmp(mappingA.source, mappingB.source);
|
1075
|
+
if (cmp !== 0) {
|
1076
|
+
return cmp;
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
cmp = mappingA.originalLine - mappingB.originalLine;
|
1080
|
+
if (cmp !== 0) {
|
1081
|
+
return cmp;
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
cmp = mappingA.originalColumn - mappingB.originalColumn;
|
1085
|
+
if (cmp !== 0) {
|
1086
|
+
return cmp;
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
return strcmp(mappingA.name, mappingB.name);
|
1090
|
+
}
|
1091
|
+
exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
1092
|
+
|
1093
|
+
function strcmp(aStr1, aStr2) {
|
1094
|
+
if (aStr1 === aStr2) {
|
1095
|
+
return 0;
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
if (aStr1 === null) {
|
1099
|
+
return 1; // aStr2 !== null
|
1100
|
+
}
|
1101
|
+
|
1102
|
+
if (aStr2 === null) {
|
1103
|
+
return -1; // aStr1 !== null
|
1104
|
+
}
|
1105
|
+
|
1106
|
+
if (aStr1 > aStr2) {
|
1107
|
+
return 1;
|
1108
|
+
}
|
1109
|
+
|
1110
|
+
return -1;
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
/**
|
1114
|
+
* Comparator between two mappings with inflated source and name strings where
|
1115
|
+
* the generated positions are compared.
|
1116
|
+
*/
|
1117
|
+
function compareByGeneratedPositionsInflated(mappingA, mappingB) {
|
1118
|
+
var cmp = mappingA.generatedLine - mappingB.generatedLine;
|
1119
|
+
if (cmp !== 0) {
|
1120
|
+
return cmp;
|
1121
|
+
}
|
1122
|
+
|
1123
|
+
cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
1124
|
+
if (cmp !== 0) {
|
1125
|
+
return cmp;
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
cmp = strcmp(mappingA.source, mappingB.source);
|
1129
|
+
if (cmp !== 0) {
|
1130
|
+
return cmp;
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
cmp = mappingA.originalLine - mappingB.originalLine;
|
1134
|
+
if (cmp !== 0) {
|
1135
|
+
return cmp;
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
cmp = mappingA.originalColumn - mappingB.originalColumn;
|
1139
|
+
if (cmp !== 0) {
|
1140
|
+
return cmp;
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
return strcmp(mappingA.name, mappingB.name);
|
1144
|
+
}
|
1145
|
+
exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
1146
|
+
|
1147
|
+
/**
|
1148
|
+
* Strip any JSON XSSI avoidance prefix from the string (as documented
|
1149
|
+
* in the source maps specification), and then parse the string as
|
1150
|
+
* JSON.
|
1151
|
+
*/
|
1152
|
+
function parseSourceMapInput(str) {
|
1153
|
+
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ''));
|
1154
|
+
}
|
1155
|
+
exports.parseSourceMapInput = parseSourceMapInput;
|
1156
|
+
|
1157
|
+
/**
|
1158
|
+
* Compute the URL of a source given the the source root, the source's
|
1159
|
+
* URL, and the source map's URL.
|
1160
|
+
*/
|
1161
|
+
function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
|
1162
|
+
sourceURL = sourceURL || '';
|
1163
|
+
|
1164
|
+
if (sourceRoot) {
|
1165
|
+
// This follows what Chrome does.
|
1166
|
+
if (sourceRoot[sourceRoot.length - 1] !== '/' && sourceURL[0] !== '/') {
|
1167
|
+
sourceRoot += '/';
|
1168
|
+
}
|
1169
|
+
// The spec says:
|
1170
|
+
// Line 4: An optional source root, useful for relocating source
|
1171
|
+
// files on a server or removing repeated values in the
|
1172
|
+
// “sources” entry. This value is prepended to the individual
|
1173
|
+
// entries in the “source” field.
|
1174
|
+
sourceURL = sourceRoot + sourceURL;
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
// Historically, SourceMapConsumer did not take the sourceMapURL as
|
1178
|
+
// a parameter. This mode is still somewhat supported, which is why
|
1179
|
+
// this code block is conditional. However, it's preferable to pass
|
1180
|
+
// the source map URL to SourceMapConsumer, so that this function
|
1181
|
+
// can implement the source URL resolution algorithm as outlined in
|
1182
|
+
// the spec. This block is basically the equivalent of:
|
1183
|
+
// new URL(sourceURL, sourceMapURL).toString()
|
1184
|
+
// ... except it avoids using URL, which wasn't available in the
|
1185
|
+
// older releases of node still supported by this library.
|
1186
|
+
//
|
1187
|
+
// The spec says:
|
1188
|
+
// If the sources are not absolute URLs after prepending of the
|
1189
|
+
// “sourceRoot”, the sources are resolved relative to the
|
1190
|
+
// SourceMap (like resolving script src in a html document).
|
1191
|
+
if (sourceMapURL) {
|
1192
|
+
var parsed = urlParse(sourceMapURL);
|
1193
|
+
if (!parsed) {
|
1194
|
+
throw new Error("sourceMapURL could not be parsed");
|
1195
|
+
}
|
1196
|
+
if (parsed.path) {
|
1197
|
+
// Strip the last path component, but keep the "/".
|
1198
|
+
var index = parsed.path.lastIndexOf('/');
|
1199
|
+
if (index >= 0) {
|
1200
|
+
parsed.path = parsed.path.substring(0, index + 1);
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
sourceURL = join(urlGenerate(parsed), sourceURL);
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
return normalize(sourceURL);
|
1207
|
+
}
|
1208
|
+
exports.computeSourceURL = computeSourceURL;
|
1209
|
+
|
1210
|
+
|
1211
|
+
/***/ }),
|
1212
|
+
/* 5 */
|
1213
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1214
|
+
|
1215
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
1216
|
+
/*
|
1217
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
1218
|
+
* Licensed under the New BSD license. See LICENSE or:
|
1219
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
1220
|
+
*/
|
1221
|
+
|
1222
|
+
var util = __webpack_require__(4);
|
1223
|
+
var has = Object.prototype.hasOwnProperty;
|
1224
|
+
var hasNativeMap = typeof Map !== "undefined";
|
1225
|
+
|
1226
|
+
/**
|
1227
|
+
* A data structure which is a combination of an array and a set. Adding a new
|
1228
|
+
* member is O(1), testing for membership is O(1), and finding the index of an
|
1229
|
+
* element is O(1). Removing elements from the set is not supported. Only
|
1230
|
+
* strings are supported for membership.
|
1231
|
+
*/
|
1232
|
+
function ArraySet() {
|
1233
|
+
this._array = [];
|
1234
|
+
this._set = hasNativeMap ? new Map() : Object.create(null);
|
1235
|
+
}
|
1236
|
+
|
1237
|
+
/**
|
1238
|
+
* Static method for creating ArraySet instances from an existing array.
|
1239
|
+
*/
|
1240
|
+
ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
|
1241
|
+
var set = new ArraySet();
|
1242
|
+
for (var i = 0, len = aArray.length; i < len; i++) {
|
1243
|
+
set.add(aArray[i], aAllowDuplicates);
|
1244
|
+
}
|
1245
|
+
return set;
|
1246
|
+
};
|
1247
|
+
|
1248
|
+
/**
|
1249
|
+
* Return how many unique items are in this ArraySet. If duplicates have been
|
1250
|
+
* added, than those do not count towards the size.
|
1251
|
+
*
|
1252
|
+
* @returns Number
|
1253
|
+
*/
|
1254
|
+
ArraySet.prototype.size = function ArraySet_size() {
|
1255
|
+
return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;
|
1256
|
+
};
|
1257
|
+
|
1258
|
+
/**
|
1259
|
+
* Add the given string to this set.
|
1260
|
+
*
|
1261
|
+
* @param String aStr
|
1262
|
+
*/
|
1263
|
+
ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
|
1264
|
+
var sStr = hasNativeMap ? aStr : util.toSetString(aStr);
|
1265
|
+
var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
|
1266
|
+
var idx = this._array.length;
|
1267
|
+
if (!isDuplicate || aAllowDuplicates) {
|
1268
|
+
this._array.push(aStr);
|
1269
|
+
}
|
1270
|
+
if (!isDuplicate) {
|
1271
|
+
if (hasNativeMap) {
|
1272
|
+
this._set.set(aStr, idx);
|
1273
|
+
} else {
|
1274
|
+
this._set[sStr] = idx;
|
1275
|
+
}
|
1276
|
+
}
|
1277
|
+
};
|
1278
|
+
|
1279
|
+
/**
|
1280
|
+
* Is the given string a member of this set?
|
1281
|
+
*
|
1282
|
+
* @param String aStr
|
1283
|
+
*/
|
1284
|
+
ArraySet.prototype.has = function ArraySet_has(aStr) {
|
1285
|
+
if (hasNativeMap) {
|
1286
|
+
return this._set.has(aStr);
|
1287
|
+
} else {
|
1288
|
+
var sStr = util.toSetString(aStr);
|
1289
|
+
return has.call(this._set, sStr);
|
1290
|
+
}
|
1291
|
+
};
|
1292
|
+
|
1293
|
+
/**
|
1294
|
+
* What is the index of the given string in the array?
|
1295
|
+
*
|
1296
|
+
* @param String aStr
|
1297
|
+
*/
|
1298
|
+
ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {
|
1299
|
+
if (hasNativeMap) {
|
1300
|
+
var idx = this._set.get(aStr);
|
1301
|
+
if (idx >= 0) {
|
1302
|
+
return idx;
|
1303
|
+
}
|
1304
|
+
} else {
|
1305
|
+
var sStr = util.toSetString(aStr);
|
1306
|
+
if (has.call(this._set, sStr)) {
|
1307
|
+
return this._set[sStr];
|
1308
|
+
}
|
1309
|
+
}
|
1310
|
+
|
1311
|
+
throw new Error('"' + aStr + '" is not in the set.');
|
1312
|
+
};
|
1313
|
+
|
1314
|
+
/**
|
1315
|
+
* What is the element at the given index?
|
1316
|
+
*
|
1317
|
+
* @param Number aIdx
|
1318
|
+
*/
|
1319
|
+
ArraySet.prototype.at = function ArraySet_at(aIdx) {
|
1320
|
+
if (aIdx >= 0 && aIdx < this._array.length) {
|
1321
|
+
return this._array[aIdx];
|
1322
|
+
}
|
1323
|
+
throw new Error('No element indexed by ' + aIdx);
|
1324
|
+
};
|
1325
|
+
|
1326
|
+
/**
|
1327
|
+
* Returns the array representation of this set (which has the proper indices
|
1328
|
+
* indicated by indexOf). Note that this is a copy of the internal array used
|
1329
|
+
* for storing the members so that no one can mess with internal state.
|
1330
|
+
*/
|
1331
|
+
ArraySet.prototype.toArray = function ArraySet_toArray() {
|
1332
|
+
return this._array.slice();
|
1333
|
+
};
|
1334
|
+
|
1335
|
+
exports.ArraySet = ArraySet;
|
1336
|
+
|
1337
|
+
|
1338
|
+
/***/ }),
|
1339
|
+
/* 6 */
|
1340
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1341
|
+
|
1342
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
1343
|
+
/*
|
1344
|
+
* Copyright 2014 Mozilla Foundation and contributors
|
1345
|
+
* Licensed under the New BSD license. See LICENSE or:
|
1346
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
1347
|
+
*/
|
1348
|
+
|
1349
|
+
var util = __webpack_require__(4);
|
1350
|
+
|
1351
|
+
/**
|
1352
|
+
* Determine whether mappingB is after mappingA with respect to generated
|
1353
|
+
* position.
|
1354
|
+
*/
|
1355
|
+
function generatedPositionAfter(mappingA, mappingB) {
|
1356
|
+
// Optimized for most common case
|
1357
|
+
var lineA = mappingA.generatedLine;
|
1358
|
+
var lineB = mappingB.generatedLine;
|
1359
|
+
var columnA = mappingA.generatedColumn;
|
1360
|
+
var columnB = mappingB.generatedColumn;
|
1361
|
+
return lineB > lineA || lineB == lineA && columnB >= columnA ||
|
1362
|
+
util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
/**
|
1366
|
+
* A data structure to provide a sorted view of accumulated mappings in a
|
1367
|
+
* performance conscious manner. It trades a neglibable overhead in general
|
1368
|
+
* case for a large speedup in case of mappings being added in order.
|
1369
|
+
*/
|
1370
|
+
function MappingList() {
|
1371
|
+
this._array = [];
|
1372
|
+
this._sorted = true;
|
1373
|
+
// Serves as infimum
|
1374
|
+
this._last = {generatedLine: -1, generatedColumn: 0};
|
1375
|
+
}
|
1376
|
+
|
1377
|
+
/**
|
1378
|
+
* Iterate through internal items. This method takes the same arguments that
|
1379
|
+
* `Array.prototype.forEach` takes.
|
1380
|
+
*
|
1381
|
+
* NOTE: The order of the mappings is NOT guaranteed.
|
1382
|
+
*/
|
1383
|
+
MappingList.prototype.unsortedForEach =
|
1384
|
+
function MappingList_forEach(aCallback, aThisArg) {
|
1385
|
+
this._array.forEach(aCallback, aThisArg);
|
1386
|
+
};
|
1387
|
+
|
1388
|
+
/**
|
1389
|
+
* Add the given source mapping.
|
1390
|
+
*
|
1391
|
+
* @param Object aMapping
|
1392
|
+
*/
|
1393
|
+
MappingList.prototype.add = function MappingList_add(aMapping) {
|
1394
|
+
if (generatedPositionAfter(this._last, aMapping)) {
|
1395
|
+
this._last = aMapping;
|
1396
|
+
this._array.push(aMapping);
|
1397
|
+
} else {
|
1398
|
+
this._sorted = false;
|
1399
|
+
this._array.push(aMapping);
|
1400
|
+
}
|
1401
|
+
};
|
1402
|
+
|
1403
|
+
/**
|
1404
|
+
* Returns the flat, sorted array of mappings. The mappings are sorted by
|
1405
|
+
* generated position.
|
1406
|
+
*
|
1407
|
+
* WARNING: This method returns internal data without copying, for
|
1408
|
+
* performance. The return value must NOT be mutated, and should be treated as
|
1409
|
+
* an immutable borrow. If you want to take ownership, you must make your own
|
1410
|
+
* copy.
|
1411
|
+
*/
|
1412
|
+
MappingList.prototype.toArray = function MappingList_toArray() {
|
1413
|
+
if (!this._sorted) {
|
1414
|
+
this._array.sort(util.compareByGeneratedPositionsInflated);
|
1415
|
+
this._sorted = true;
|
1416
|
+
}
|
1417
|
+
return this._array;
|
1418
|
+
};
|
1419
|
+
|
1420
|
+
exports.MappingList = MappingList;
|
1421
|
+
|
1422
|
+
|
1423
|
+
/***/ }),
|
1424
|
+
/* 7 */
|
1425
|
+
/***/ (function(module, exports, __webpack_require__) {
|
1426
|
+
|
1427
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
1428
|
+
/*
|
1429
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
1430
|
+
* Licensed under the New BSD license. See LICENSE or:
|
1431
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
1432
|
+
*/
|
1433
|
+
|
1434
|
+
var util = __webpack_require__(4);
|
1435
|
+
var binarySearch = __webpack_require__(8);
|
1436
|
+
var ArraySet = __webpack_require__(5).ArraySet;
|
1437
|
+
var base64VLQ = __webpack_require__(2);
|
1438
|
+
var quickSort = __webpack_require__(9).quickSort;
|
1439
|
+
|
1440
|
+
function SourceMapConsumer(aSourceMap, aSourceMapURL) {
|
1441
|
+
var sourceMap = aSourceMap;
|
1442
|
+
if (typeof aSourceMap === 'string') {
|
1443
|
+
sourceMap = util.parseSourceMapInput(aSourceMap);
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
return sourceMap.sections != null
|
1447
|
+
? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL)
|
1448
|
+
: new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
|
1449
|
+
}
|
1450
|
+
|
1451
|
+
SourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {
|
1452
|
+
return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
|
1453
|
+
}
|
1454
|
+
|
1455
|
+
/**
|
1456
|
+
* The version of the source mapping spec that we are consuming.
|
1457
|
+
*/
|
1458
|
+
SourceMapConsumer.prototype._version = 3;
|
1459
|
+
|
1460
|
+
// `__generatedMappings` and `__originalMappings` are arrays that hold the
|
1461
|
+
// parsed mapping coordinates from the source map's "mappings" attribute. They
|
1462
|
+
// are lazily instantiated, accessed via the `_generatedMappings` and
|
1463
|
+
// `_originalMappings` getters respectively, and we only parse the mappings
|
1464
|
+
// and create these arrays once queried for a source location. We jump through
|
1465
|
+
// these hoops because there can be many thousands of mappings, and parsing
|
1466
|
+
// them is expensive, so we only want to do it if we must.
|
1467
|
+
//
|
1468
|
+
// Each object in the arrays is of the form:
|
1469
|
+
//
|
1470
|
+
// {
|
1471
|
+
// generatedLine: The line number in the generated code,
|
1472
|
+
// generatedColumn: The column number in the generated code,
|
1473
|
+
// source: The path to the original source file that generated this
|
1474
|
+
// chunk of code,
|
1475
|
+
// originalLine: The line number in the original source that
|
1476
|
+
// corresponds to this chunk of generated code,
|
1477
|
+
// originalColumn: The column number in the original source that
|
1478
|
+
// corresponds to this chunk of generated code,
|
1479
|
+
// name: The name of the original symbol which generated this chunk of
|
1480
|
+
// code.
|
1481
|
+
// }
|
1482
|
+
//
|
1483
|
+
// All properties except for `generatedLine` and `generatedColumn` can be
|
1484
|
+
// `null`.
|
1485
|
+
//
|
1486
|
+
// `_generatedMappings` is ordered by the generated positions.
|
1487
|
+
//
|
1488
|
+
// `_originalMappings` is ordered by the original positions.
|
1489
|
+
|
1490
|
+
SourceMapConsumer.prototype.__generatedMappings = null;
|
1491
|
+
Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {
|
1492
|
+
configurable: true,
|
1493
|
+
enumerable: true,
|
1494
|
+
get: function () {
|
1495
|
+
if (!this.__generatedMappings) {
|
1496
|
+
this._parseMappings(this._mappings, this.sourceRoot);
|
1497
|
+
}
|
1498
|
+
|
1499
|
+
return this.__generatedMappings;
|
1500
|
+
}
|
1501
|
+
});
|
1502
|
+
|
1503
|
+
SourceMapConsumer.prototype.__originalMappings = null;
|
1504
|
+
Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {
|
1505
|
+
configurable: true,
|
1506
|
+
enumerable: true,
|
1507
|
+
get: function () {
|
1508
|
+
if (!this.__originalMappings) {
|
1509
|
+
this._parseMappings(this._mappings, this.sourceRoot);
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
return this.__originalMappings;
|
1513
|
+
}
|
1514
|
+
});
|
1515
|
+
|
1516
|
+
SourceMapConsumer.prototype._charIsMappingSeparator =
|
1517
|
+
function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
|
1518
|
+
var c = aStr.charAt(index);
|
1519
|
+
return c === ";" || c === ",";
|
1520
|
+
};
|
1521
|
+
|
1522
|
+
/**
|
1523
|
+
* Parse the mappings in a string in to a data structure which we can easily
|
1524
|
+
* query (the ordered arrays in the `this.__generatedMappings` and
|
1525
|
+
* `this.__originalMappings` properties).
|
1526
|
+
*/
|
1527
|
+
SourceMapConsumer.prototype._parseMappings =
|
1528
|
+
function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
|
1529
|
+
throw new Error("Subclasses must implement _parseMappings");
|
1530
|
+
};
|
1531
|
+
|
1532
|
+
SourceMapConsumer.GENERATED_ORDER = 1;
|
1533
|
+
SourceMapConsumer.ORIGINAL_ORDER = 2;
|
1534
|
+
|
1535
|
+
SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
|
1536
|
+
SourceMapConsumer.LEAST_UPPER_BOUND = 2;
|
1537
|
+
|
1538
|
+
/**
|
1539
|
+
* Iterate over each mapping between an original source/line/column and a
|
1540
|
+
* generated line/column in this source map.
|
1541
|
+
*
|
1542
|
+
* @param Function aCallback
|
1543
|
+
* The function that is called with each mapping.
|
1544
|
+
* @param Object aContext
|
1545
|
+
* Optional. If specified, this object will be the value of `this` every
|
1546
|
+
* time that `aCallback` is called.
|
1547
|
+
* @param aOrder
|
1548
|
+
* Either `SourceMapConsumer.GENERATED_ORDER` or
|
1549
|
+
* `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
|
1550
|
+
* iterate over the mappings sorted by the generated file's line/column
|
1551
|
+
* order or the original's source/line/column order, respectively. Defaults to
|
1552
|
+
* `SourceMapConsumer.GENERATED_ORDER`.
|
1553
|
+
*/
|
1554
|
+
SourceMapConsumer.prototype.eachMapping =
|
1555
|
+
function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
|
1556
|
+
var context = aContext || null;
|
1557
|
+
var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
|
1558
|
+
|
1559
|
+
var mappings;
|
1560
|
+
switch (order) {
|
1561
|
+
case SourceMapConsumer.GENERATED_ORDER:
|
1562
|
+
mappings = this._generatedMappings;
|
1563
|
+
break;
|
1564
|
+
case SourceMapConsumer.ORIGINAL_ORDER:
|
1565
|
+
mappings = this._originalMappings;
|
1566
|
+
break;
|
1567
|
+
default:
|
1568
|
+
throw new Error("Unknown order of iteration.");
|
1569
|
+
}
|
1570
|
+
|
1571
|
+
var sourceRoot = this.sourceRoot;
|
1572
|
+
mappings.map(function (mapping) {
|
1573
|
+
var source = mapping.source === null ? null : this._sources.at(mapping.source);
|
1574
|
+
source = util.computeSourceURL(sourceRoot, source, this._sourceMapURL);
|
1575
|
+
return {
|
1576
|
+
source: source,
|
1577
|
+
generatedLine: mapping.generatedLine,
|
1578
|
+
generatedColumn: mapping.generatedColumn,
|
1579
|
+
originalLine: mapping.originalLine,
|
1580
|
+
originalColumn: mapping.originalColumn,
|
1581
|
+
name: mapping.name === null ? null : this._names.at(mapping.name)
|
1582
|
+
};
|
1583
|
+
}, this).forEach(aCallback, context);
|
1584
|
+
};
|
1585
|
+
|
1586
|
+
/**
|
1587
|
+
* Returns all generated line and column information for the original source,
|
1588
|
+
* line, and column provided. If no column is provided, returns all mappings
|
1589
|
+
* corresponding to a either the line we are searching for or the next
|
1590
|
+
* closest line that has any mappings. Otherwise, returns all mappings
|
1591
|
+
* corresponding to the given line and either the column we are searching for
|
1592
|
+
* or the next closest column that has any offsets.
|
1593
|
+
*
|
1594
|
+
* The only argument is an object with the following properties:
|
1595
|
+
*
|
1596
|
+
* - source: The filename of the original source.
|
1597
|
+
* - line: The line number in the original source. The line number is 1-based.
|
1598
|
+
* - column: Optional. the column number in the original source.
|
1599
|
+
* The column number is 0-based.
|
1600
|
+
*
|
1601
|
+
* and an array of objects is returned, each with the following properties:
|
1602
|
+
*
|
1603
|
+
* - line: The line number in the generated source, or null. The
|
1604
|
+
* line number is 1-based.
|
1605
|
+
* - column: The column number in the generated source, or null.
|
1606
|
+
* The column number is 0-based.
|
1607
|
+
*/
|
1608
|
+
SourceMapConsumer.prototype.allGeneratedPositionsFor =
|
1609
|
+
function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
|
1610
|
+
var line = util.getArg(aArgs, 'line');
|
1611
|
+
|
1612
|
+
// When there is no exact match, BasicSourceMapConsumer.prototype._findMapping
|
1613
|
+
// returns the index of the closest mapping less than the needle. By
|
1614
|
+
// setting needle.originalColumn to 0, we thus find the last mapping for
|
1615
|
+
// the given line, provided such a mapping exists.
|
1616
|
+
var needle = {
|
1617
|
+
source: util.getArg(aArgs, 'source'),
|
1618
|
+
originalLine: line,
|
1619
|
+
originalColumn: util.getArg(aArgs, 'column', 0)
|
1620
|
+
};
|
1621
|
+
|
1622
|
+
needle.source = this._findSourceIndex(needle.source);
|
1623
|
+
if (needle.source < 0) {
|
1624
|
+
return [];
|
1625
|
+
}
|
1626
|
+
|
1627
|
+
var mappings = [];
|
1628
|
+
|
1629
|
+
var index = this._findMapping(needle,
|
1630
|
+
this._originalMappings,
|
1631
|
+
"originalLine",
|
1632
|
+
"originalColumn",
|
1633
|
+
util.compareByOriginalPositions,
|
1634
|
+
binarySearch.LEAST_UPPER_BOUND);
|
1635
|
+
if (index >= 0) {
|
1636
|
+
var mapping = this._originalMappings[index];
|
1637
|
+
|
1638
|
+
if (aArgs.column === undefined) {
|
1639
|
+
var originalLine = mapping.originalLine;
|
1640
|
+
|
1641
|
+
// Iterate until either we run out of mappings, or we run into
|
1642
|
+
// a mapping for a different line than the one we found. Since
|
1643
|
+
// mappings are sorted, this is guaranteed to find all mappings for
|
1644
|
+
// the line we found.
|
1645
|
+
while (mapping && mapping.originalLine === originalLine) {
|
1646
|
+
mappings.push({
|
1647
|
+
line: util.getArg(mapping, 'generatedLine', null),
|
1648
|
+
column: util.getArg(mapping, 'generatedColumn', null),
|
1649
|
+
lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
|
1650
|
+
});
|
1651
|
+
|
1652
|
+
mapping = this._originalMappings[++index];
|
1653
|
+
}
|
1654
|
+
} else {
|
1655
|
+
var originalColumn = mapping.originalColumn;
|
1656
|
+
|
1657
|
+
// Iterate until either we run out of mappings, or we run into
|
1658
|
+
// a mapping for a different line than the one we were searching for.
|
1659
|
+
// Since mappings are sorted, this is guaranteed to find all mappings for
|
1660
|
+
// the line we are searching for.
|
1661
|
+
while (mapping &&
|
1662
|
+
mapping.originalLine === line &&
|
1663
|
+
mapping.originalColumn == originalColumn) {
|
1664
|
+
mappings.push({
|
1665
|
+
line: util.getArg(mapping, 'generatedLine', null),
|
1666
|
+
column: util.getArg(mapping, 'generatedColumn', null),
|
1667
|
+
lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
|
1668
|
+
});
|
1669
|
+
|
1670
|
+
mapping = this._originalMappings[++index];
|
1671
|
+
}
|
1672
|
+
}
|
1673
|
+
}
|
1674
|
+
|
1675
|
+
return mappings;
|
1676
|
+
};
|
1677
|
+
|
1678
|
+
exports.SourceMapConsumer = SourceMapConsumer;
|
1679
|
+
|
1680
|
+
/**
|
1681
|
+
* A BasicSourceMapConsumer instance represents a parsed source map which we can
|
1682
|
+
* query for information about the original file positions by giving it a file
|
1683
|
+
* position in the generated source.
|
1684
|
+
*
|
1685
|
+
* The first parameter is the raw source map (either as a JSON string, or
|
1686
|
+
* already parsed to an object). According to the spec, source maps have the
|
1687
|
+
* following attributes:
|
1688
|
+
*
|
1689
|
+
* - version: Which version of the source map spec this map is following.
|
1690
|
+
* - sources: An array of URLs to the original source files.
|
1691
|
+
* - names: An array of identifiers which can be referrenced by individual mappings.
|
1692
|
+
* - sourceRoot: Optional. The URL root from which all sources are relative.
|
1693
|
+
* - sourcesContent: Optional. An array of contents of the original source files.
|
1694
|
+
* - mappings: A string of base64 VLQs which contain the actual mappings.
|
1695
|
+
* - file: Optional. The generated file this source map is associated with.
|
1696
|
+
*
|
1697
|
+
* Here is an example source map, taken from the source map spec[0]:
|
1698
|
+
*
|
1699
|
+
* {
|
1700
|
+
* version : 3,
|
1701
|
+
* file: "out.js",
|
1702
|
+
* sourceRoot : "",
|
1703
|
+
* sources: ["foo.js", "bar.js"],
|
1704
|
+
* names: ["src", "maps", "are", "fun"],
|
1705
|
+
* mappings: "AA,AB;;ABCDE;"
|
1706
|
+
* }
|
1707
|
+
*
|
1708
|
+
* The second parameter, if given, is a string whose value is the URL
|
1709
|
+
* at which the source map was found. This URL is used to compute the
|
1710
|
+
* sources array.
|
1711
|
+
*
|
1712
|
+
* [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
|
1713
|
+
*/
|
1714
|
+
function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {
|
1715
|
+
var sourceMap = aSourceMap;
|
1716
|
+
if (typeof aSourceMap === 'string') {
|
1717
|
+
sourceMap = util.parseSourceMapInput(aSourceMap);
|
1718
|
+
}
|
1719
|
+
|
1720
|
+
var version = util.getArg(sourceMap, 'version');
|
1721
|
+
var sources = util.getArg(sourceMap, 'sources');
|
1722
|
+
// Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which
|
1723
|
+
// requires the array) to play nice here.
|
1724
|
+
var names = util.getArg(sourceMap, 'names', []);
|
1725
|
+
var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);
|
1726
|
+
var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);
|
1727
|
+
var mappings = util.getArg(sourceMap, 'mappings');
|
1728
|
+
var file = util.getArg(sourceMap, 'file', null);
|
1729
|
+
|
1730
|
+
// Once again, Sass deviates from the spec and supplies the version as a
|
1731
|
+
// string rather than a number, so we use loose equality checking here.
|
1732
|
+
if (version != this._version) {
|
1733
|
+
throw new Error('Unsupported version: ' + version);
|
1734
|
+
}
|
1735
|
+
|
1736
|
+
if (sourceRoot) {
|
1737
|
+
sourceRoot = util.normalize(sourceRoot);
|
1738
|
+
}
|
1739
|
+
|
1740
|
+
sources = sources
|
1741
|
+
.map(String)
|
1742
|
+
// Some source maps produce relative source paths like "./foo.js" instead of
|
1743
|
+
// "foo.js". Normalize these first so that future comparisons will succeed.
|
1744
|
+
// See bugzil.la/1090768.
|
1745
|
+
.map(util.normalize)
|
1746
|
+
// Always ensure that absolute sources are internally stored relative to
|
1747
|
+
// the source root, if the source root is absolute. Not doing this would
|
1748
|
+
// be particularly problematic when the source root is a prefix of the
|
1749
|
+
// source (valid, but why??). See github issue #199 and bugzil.la/1188982.
|
1750
|
+
.map(function (source) {
|
1751
|
+
return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)
|
1752
|
+
? util.relative(sourceRoot, source)
|
1753
|
+
: source;
|
1754
|
+
});
|
1755
|
+
|
1756
|
+
// Pass `true` below to allow duplicate names and sources. While source maps
|
1757
|
+
// are intended to be compressed and deduplicated, the TypeScript compiler
|
1758
|
+
// sometimes generates source maps with duplicates in them. See Github issue
|
1759
|
+
// #72 and bugzil.la/889492.
|
1760
|
+
this._names = ArraySet.fromArray(names.map(String), true);
|
1761
|
+
this._sources = ArraySet.fromArray(sources, true);
|
1762
|
+
|
1763
|
+
this._absoluteSources = this._sources.toArray().map(function (s) {
|
1764
|
+
return util.computeSourceURL(sourceRoot, s, aSourceMapURL);
|
1765
|
+
});
|
1766
|
+
|
1767
|
+
this.sourceRoot = sourceRoot;
|
1768
|
+
this.sourcesContent = sourcesContent;
|
1769
|
+
this._mappings = mappings;
|
1770
|
+
this._sourceMapURL = aSourceMapURL;
|
1771
|
+
this.file = file;
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
|
1775
|
+
BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
|
1776
|
+
|
1777
|
+
/**
|
1778
|
+
* Utility function to find the index of a source. Returns -1 if not
|
1779
|
+
* found.
|
1780
|
+
*/
|
1781
|
+
BasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {
|
1782
|
+
var relativeSource = aSource;
|
1783
|
+
if (this.sourceRoot != null) {
|
1784
|
+
relativeSource = util.relative(this.sourceRoot, relativeSource);
|
1785
|
+
}
|
1786
|
+
|
1787
|
+
if (this._sources.has(relativeSource)) {
|
1788
|
+
return this._sources.indexOf(relativeSource);
|
1789
|
+
}
|
1790
|
+
|
1791
|
+
// Maybe aSource is an absolute URL as returned by |sources|. In
|
1792
|
+
// this case we can't simply undo the transform.
|
1793
|
+
var i;
|
1794
|
+
for (i = 0; i < this._absoluteSources.length; ++i) {
|
1795
|
+
if (this._absoluteSources[i] == aSource) {
|
1796
|
+
return i;
|
1797
|
+
}
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
return -1;
|
1801
|
+
};
|
1802
|
+
|
1803
|
+
/**
|
1804
|
+
* Create a BasicSourceMapConsumer from a SourceMapGenerator.
|
1805
|
+
*
|
1806
|
+
* @param SourceMapGenerator aSourceMap
|
1807
|
+
* The source map that will be consumed.
|
1808
|
+
* @param String aSourceMapURL
|
1809
|
+
* The URL at which the source map can be found (optional)
|
1810
|
+
* @returns BasicSourceMapConsumer
|
1811
|
+
*/
|
1812
|
+
BasicSourceMapConsumer.fromSourceMap =
|
1813
|
+
function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {
|
1814
|
+
var smc = Object.create(BasicSourceMapConsumer.prototype);
|
1815
|
+
|
1816
|
+
var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);
|
1817
|
+
var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);
|
1818
|
+
smc.sourceRoot = aSourceMap._sourceRoot;
|
1819
|
+
smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),
|
1820
|
+
smc.sourceRoot);
|
1821
|
+
smc.file = aSourceMap._file;
|
1822
|
+
smc._sourceMapURL = aSourceMapURL;
|
1823
|
+
smc._absoluteSources = smc._sources.toArray().map(function (s) {
|
1824
|
+
return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
|
1825
|
+
});
|
1826
|
+
|
1827
|
+
// Because we are modifying the entries (by converting string sources and
|
1828
|
+
// names to indices into the sources and names ArraySets), we have to make
|
1829
|
+
// a copy of the entry or else bad things happen. Shared mutable state
|
1830
|
+
// strikes again! See github issue #191.
|
1831
|
+
|
1832
|
+
var generatedMappings = aSourceMap._mappings.toArray().slice();
|
1833
|
+
var destGeneratedMappings = smc.__generatedMappings = [];
|
1834
|
+
var destOriginalMappings = smc.__originalMappings = [];
|
1835
|
+
|
1836
|
+
for (var i = 0, length = generatedMappings.length; i < length; i++) {
|
1837
|
+
var srcMapping = generatedMappings[i];
|
1838
|
+
var destMapping = new Mapping;
|
1839
|
+
destMapping.generatedLine = srcMapping.generatedLine;
|
1840
|
+
destMapping.generatedColumn = srcMapping.generatedColumn;
|
1841
|
+
|
1842
|
+
if (srcMapping.source) {
|
1843
|
+
destMapping.source = sources.indexOf(srcMapping.source);
|
1844
|
+
destMapping.originalLine = srcMapping.originalLine;
|
1845
|
+
destMapping.originalColumn = srcMapping.originalColumn;
|
1846
|
+
|
1847
|
+
if (srcMapping.name) {
|
1848
|
+
destMapping.name = names.indexOf(srcMapping.name);
|
1849
|
+
}
|
1850
|
+
|
1851
|
+
destOriginalMappings.push(destMapping);
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
destGeneratedMappings.push(destMapping);
|
1855
|
+
}
|
1856
|
+
|
1857
|
+
quickSort(smc.__originalMappings, util.compareByOriginalPositions);
|
1858
|
+
|
1859
|
+
return smc;
|
1860
|
+
};
|
1861
|
+
|
1862
|
+
/**
|
1863
|
+
* The version of the source mapping spec that we are consuming.
|
1864
|
+
*/
|
1865
|
+
BasicSourceMapConsumer.prototype._version = 3;
|
1866
|
+
|
1867
|
+
/**
|
1868
|
+
* The list of original sources.
|
1869
|
+
*/
|
1870
|
+
Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {
|
1871
|
+
get: function () {
|
1872
|
+
return this._absoluteSources.slice();
|
1873
|
+
}
|
1874
|
+
});
|
1875
|
+
|
1876
|
+
/**
|
1877
|
+
* Provide the JIT with a nice shape / hidden class.
|
1878
|
+
*/
|
1879
|
+
function Mapping() {
|
1880
|
+
this.generatedLine = 0;
|
1881
|
+
this.generatedColumn = 0;
|
1882
|
+
this.source = null;
|
1883
|
+
this.originalLine = null;
|
1884
|
+
this.originalColumn = null;
|
1885
|
+
this.name = null;
|
1886
|
+
}
|
1887
|
+
|
1888
|
+
/**
|
1889
|
+
* Parse the mappings in a string in to a data structure which we can easily
|
1890
|
+
* query (the ordered arrays in the `this.__generatedMappings` and
|
1891
|
+
* `this.__originalMappings` properties).
|
1892
|
+
*/
|
1893
|
+
BasicSourceMapConsumer.prototype._parseMappings =
|
1894
|
+
function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
|
1895
|
+
var generatedLine = 1;
|
1896
|
+
var previousGeneratedColumn = 0;
|
1897
|
+
var previousOriginalLine = 0;
|
1898
|
+
var previousOriginalColumn = 0;
|
1899
|
+
var previousSource = 0;
|
1900
|
+
var previousName = 0;
|
1901
|
+
var length = aStr.length;
|
1902
|
+
var index = 0;
|
1903
|
+
var cachedSegments = {};
|
1904
|
+
var temp = {};
|
1905
|
+
var originalMappings = [];
|
1906
|
+
var generatedMappings = [];
|
1907
|
+
var mapping, str, segment, end, value;
|
1908
|
+
|
1909
|
+
while (index < length) {
|
1910
|
+
if (aStr.charAt(index) === ';') {
|
1911
|
+
generatedLine++;
|
1912
|
+
index++;
|
1913
|
+
previousGeneratedColumn = 0;
|
1914
|
+
}
|
1915
|
+
else if (aStr.charAt(index) === ',') {
|
1916
|
+
index++;
|
1917
|
+
}
|
1918
|
+
else {
|
1919
|
+
mapping = new Mapping();
|
1920
|
+
mapping.generatedLine = generatedLine;
|
1921
|
+
|
1922
|
+
// Because each offset is encoded relative to the previous one,
|
1923
|
+
// many segments often have the same encoding. We can exploit this
|
1924
|
+
// fact by caching the parsed variable length fields of each segment,
|
1925
|
+
// allowing us to avoid a second parse if we encounter the same
|
1926
|
+
// segment again.
|
1927
|
+
for (end = index; end < length; end++) {
|
1928
|
+
if (this._charIsMappingSeparator(aStr, end)) {
|
1929
|
+
break;
|
1930
|
+
}
|
1931
|
+
}
|
1932
|
+
str = aStr.slice(index, end);
|
1933
|
+
|
1934
|
+
segment = cachedSegments[str];
|
1935
|
+
if (segment) {
|
1936
|
+
index += str.length;
|
1937
|
+
} else {
|
1938
|
+
segment = [];
|
1939
|
+
while (index < end) {
|
1940
|
+
base64VLQ.decode(aStr, index, temp);
|
1941
|
+
value = temp.value;
|
1942
|
+
index = temp.rest;
|
1943
|
+
segment.push(value);
|
1944
|
+
}
|
1945
|
+
|
1946
|
+
if (segment.length === 2) {
|
1947
|
+
throw new Error('Found a source, but no line and column');
|
1948
|
+
}
|
1949
|
+
|
1950
|
+
if (segment.length === 3) {
|
1951
|
+
throw new Error('Found a source and line, but no column');
|
1952
|
+
}
|
1953
|
+
|
1954
|
+
cachedSegments[str] = segment;
|
1955
|
+
}
|
1956
|
+
|
1957
|
+
// Generated column.
|
1958
|
+
mapping.generatedColumn = previousGeneratedColumn + segment[0];
|
1959
|
+
previousGeneratedColumn = mapping.generatedColumn;
|
1960
|
+
|
1961
|
+
if (segment.length > 1) {
|
1962
|
+
// Original source.
|
1963
|
+
mapping.source = previousSource + segment[1];
|
1964
|
+
previousSource += segment[1];
|
1965
|
+
|
1966
|
+
// Original line.
|
1967
|
+
mapping.originalLine = previousOriginalLine + segment[2];
|
1968
|
+
previousOriginalLine = mapping.originalLine;
|
1969
|
+
// Lines are stored 0-based
|
1970
|
+
mapping.originalLine += 1;
|
1971
|
+
|
1972
|
+
// Original column.
|
1973
|
+
mapping.originalColumn = previousOriginalColumn + segment[3];
|
1974
|
+
previousOriginalColumn = mapping.originalColumn;
|
1975
|
+
|
1976
|
+
if (segment.length > 4) {
|
1977
|
+
// Original name.
|
1978
|
+
mapping.name = previousName + segment[4];
|
1979
|
+
previousName += segment[4];
|
1980
|
+
}
|
1981
|
+
}
|
1982
|
+
|
1983
|
+
generatedMappings.push(mapping);
|
1984
|
+
if (typeof mapping.originalLine === 'number') {
|
1985
|
+
originalMappings.push(mapping);
|
1986
|
+
}
|
1987
|
+
}
|
1988
|
+
}
|
1989
|
+
|
1990
|
+
quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);
|
1991
|
+
this.__generatedMappings = generatedMappings;
|
1992
|
+
|
1993
|
+
quickSort(originalMappings, util.compareByOriginalPositions);
|
1994
|
+
this.__originalMappings = originalMappings;
|
1995
|
+
};
|
1996
|
+
|
1997
|
+
/**
|
1998
|
+
* Find the mapping that best matches the hypothetical "needle" mapping that
|
1999
|
+
* we are searching for in the given "haystack" of mappings.
|
2000
|
+
*/
|
2001
|
+
BasicSourceMapConsumer.prototype._findMapping =
|
2002
|
+
function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,
|
2003
|
+
aColumnName, aComparator, aBias) {
|
2004
|
+
// To return the position we are searching for, we must first find the
|
2005
|
+
// mapping for the given position and then return the opposite position it
|
2006
|
+
// points to. Because the mappings are sorted, we can use binary search to
|
2007
|
+
// find the best mapping.
|
2008
|
+
|
2009
|
+
if (aNeedle[aLineName] <= 0) {
|
2010
|
+
throw new TypeError('Line must be greater than or equal to 1, got '
|
2011
|
+
+ aNeedle[aLineName]);
|
2012
|
+
}
|
2013
|
+
if (aNeedle[aColumnName] < 0) {
|
2014
|
+
throw new TypeError('Column must be greater than or equal to 0, got '
|
2015
|
+
+ aNeedle[aColumnName]);
|
2016
|
+
}
|
2017
|
+
|
2018
|
+
return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
|
2019
|
+
};
|
2020
|
+
|
2021
|
+
/**
|
2022
|
+
* Compute the last column for each generated mapping. The last column is
|
2023
|
+
* inclusive.
|
2024
|
+
*/
|
2025
|
+
BasicSourceMapConsumer.prototype.computeColumnSpans =
|
2026
|
+
function SourceMapConsumer_computeColumnSpans() {
|
2027
|
+
for (var index = 0; index < this._generatedMappings.length; ++index) {
|
2028
|
+
var mapping = this._generatedMappings[index];
|
2029
|
+
|
2030
|
+
// Mappings do not contain a field for the last generated columnt. We
|
2031
|
+
// can come up with an optimistic estimate, however, by assuming that
|
2032
|
+
// mappings are contiguous (i.e. given two consecutive mappings, the
|
2033
|
+
// first mapping ends where the second one starts).
|
2034
|
+
if (index + 1 < this._generatedMappings.length) {
|
2035
|
+
var nextMapping = this._generatedMappings[index + 1];
|
2036
|
+
|
2037
|
+
if (mapping.generatedLine === nextMapping.generatedLine) {
|
2038
|
+
mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;
|
2039
|
+
continue;
|
2040
|
+
}
|
2041
|
+
}
|
2042
|
+
|
2043
|
+
// The last mapping for each line spans the entire line.
|
2044
|
+
mapping.lastGeneratedColumn = Infinity;
|
2045
|
+
}
|
2046
|
+
};
|
2047
|
+
|
2048
|
+
/**
|
2049
|
+
* Returns the original source, line, and column information for the generated
|
2050
|
+
* source's line and column positions provided. The only argument is an object
|
2051
|
+
* with the following properties:
|
2052
|
+
*
|
2053
|
+
* - line: The line number in the generated source. The line number
|
2054
|
+
* is 1-based.
|
2055
|
+
* - column: The column number in the generated source. The column
|
2056
|
+
* number is 0-based.
|
2057
|
+
* - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
|
2058
|
+
* 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
|
2059
|
+
* closest element that is smaller than or greater than the one we are
|
2060
|
+
* searching for, respectively, if the exact element cannot be found.
|
2061
|
+
* Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
|
2062
|
+
*
|
2063
|
+
* and an object is returned with the following properties:
|
2064
|
+
*
|
2065
|
+
* - source: The original source file, or null.
|
2066
|
+
* - line: The line number in the original source, or null. The
|
2067
|
+
* line number is 1-based.
|
2068
|
+
* - column: The column number in the original source, or null. The
|
2069
|
+
* column number is 0-based.
|
2070
|
+
* - name: The original identifier, or null.
|
2071
|
+
*/
|
2072
|
+
BasicSourceMapConsumer.prototype.originalPositionFor =
|
2073
|
+
function SourceMapConsumer_originalPositionFor(aArgs) {
|
2074
|
+
var needle = {
|
2075
|
+
generatedLine: util.getArg(aArgs, 'line'),
|
2076
|
+
generatedColumn: util.getArg(aArgs, 'column')
|
2077
|
+
};
|
2078
|
+
|
2079
|
+
var index = this._findMapping(
|
2080
|
+
needle,
|
2081
|
+
this._generatedMappings,
|
2082
|
+
"generatedLine",
|
2083
|
+
"generatedColumn",
|
2084
|
+
util.compareByGeneratedPositionsDeflated,
|
2085
|
+
util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
|
2086
|
+
);
|
2087
|
+
|
2088
|
+
if (index >= 0) {
|
2089
|
+
var mapping = this._generatedMappings[index];
|
2090
|
+
|
2091
|
+
if (mapping.generatedLine === needle.generatedLine) {
|
2092
|
+
var source = util.getArg(mapping, 'source', null);
|
2093
|
+
if (source !== null) {
|
2094
|
+
source = this._sources.at(source);
|
2095
|
+
source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
|
2096
|
+
}
|
2097
|
+
var name = util.getArg(mapping, 'name', null);
|
2098
|
+
if (name !== null) {
|
2099
|
+
name = this._names.at(name);
|
2100
|
+
}
|
2101
|
+
return {
|
2102
|
+
source: source,
|
2103
|
+
line: util.getArg(mapping, 'originalLine', null),
|
2104
|
+
column: util.getArg(mapping, 'originalColumn', null),
|
2105
|
+
name: name
|
2106
|
+
};
|
2107
|
+
}
|
2108
|
+
}
|
2109
|
+
|
2110
|
+
return {
|
2111
|
+
source: null,
|
2112
|
+
line: null,
|
2113
|
+
column: null,
|
2114
|
+
name: null
|
2115
|
+
};
|
2116
|
+
};
|
2117
|
+
|
2118
|
+
/**
|
2119
|
+
* Return true if we have the source content for every source in the source
|
2120
|
+
* map, false otherwise.
|
2121
|
+
*/
|
2122
|
+
BasicSourceMapConsumer.prototype.hasContentsOfAllSources =
|
2123
|
+
function BasicSourceMapConsumer_hasContentsOfAllSources() {
|
2124
|
+
if (!this.sourcesContent) {
|
2125
|
+
return false;
|
2126
|
+
}
|
2127
|
+
return this.sourcesContent.length >= this._sources.size() &&
|
2128
|
+
!this.sourcesContent.some(function (sc) { return sc == null; });
|
2129
|
+
};
|
2130
|
+
|
2131
|
+
/**
|
2132
|
+
* Returns the original source content. The only argument is the url of the
|
2133
|
+
* original source file. Returns null if no original source content is
|
2134
|
+
* available.
|
2135
|
+
*/
|
2136
|
+
BasicSourceMapConsumer.prototype.sourceContentFor =
|
2137
|
+
function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
|
2138
|
+
if (!this.sourcesContent) {
|
2139
|
+
return null;
|
2140
|
+
}
|
2141
|
+
|
2142
|
+
var index = this._findSourceIndex(aSource);
|
2143
|
+
if (index >= 0) {
|
2144
|
+
return this.sourcesContent[index];
|
2145
|
+
}
|
2146
|
+
|
2147
|
+
var relativeSource = aSource;
|
2148
|
+
if (this.sourceRoot != null) {
|
2149
|
+
relativeSource = util.relative(this.sourceRoot, relativeSource);
|
2150
|
+
}
|
2151
|
+
|
2152
|
+
var url;
|
2153
|
+
if (this.sourceRoot != null
|
2154
|
+
&& (url = util.urlParse(this.sourceRoot))) {
|
2155
|
+
// XXX: file:// URIs and absolute paths lead to unexpected behavior for
|
2156
|
+
// many users. We can help them out when they expect file:// URIs to
|
2157
|
+
// behave like it would if they were running a local HTTP server. See
|
2158
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=885597.
|
2159
|
+
var fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
|
2160
|
+
if (url.scheme == "file"
|
2161
|
+
&& this._sources.has(fileUriAbsPath)) {
|
2162
|
+
return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]
|
2163
|
+
}
|
2164
|
+
|
2165
|
+
if ((!url.path || url.path == "/")
|
2166
|
+
&& this._sources.has("/" + relativeSource)) {
|
2167
|
+
return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
|
2168
|
+
}
|
2169
|
+
}
|
2170
|
+
|
2171
|
+
// This function is used recursively from
|
2172
|
+
// IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we
|
2173
|
+
// don't want to throw if we can't find the source - we just want to
|
2174
|
+
// return null, so we provide a flag to exit gracefully.
|
2175
|
+
if (nullOnMissing) {
|
2176
|
+
return null;
|
2177
|
+
}
|
2178
|
+
else {
|
2179
|
+
throw new Error('"' + relativeSource + '" is not in the SourceMap.');
|
2180
|
+
}
|
2181
|
+
};
|
2182
|
+
|
2183
|
+
/**
|
2184
|
+
* Returns the generated line and column information for the original source,
|
2185
|
+
* line, and column positions provided. The only argument is an object with
|
2186
|
+
* the following properties:
|
2187
|
+
*
|
2188
|
+
* - source: The filename of the original source.
|
2189
|
+
* - line: The line number in the original source. The line number
|
2190
|
+
* is 1-based.
|
2191
|
+
* - column: The column number in the original source. The column
|
2192
|
+
* number is 0-based.
|
2193
|
+
* - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
|
2194
|
+
* 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
|
2195
|
+
* closest element that is smaller than or greater than the one we are
|
2196
|
+
* searching for, respectively, if the exact element cannot be found.
|
2197
|
+
* Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
|
2198
|
+
*
|
2199
|
+
* and an object is returned with the following properties:
|
2200
|
+
*
|
2201
|
+
* - line: The line number in the generated source, or null. The
|
2202
|
+
* line number is 1-based.
|
2203
|
+
* - column: The column number in the generated source, or null.
|
2204
|
+
* The column number is 0-based.
|
2205
|
+
*/
|
2206
|
+
BasicSourceMapConsumer.prototype.generatedPositionFor =
|
2207
|
+
function SourceMapConsumer_generatedPositionFor(aArgs) {
|
2208
|
+
var source = util.getArg(aArgs, 'source');
|
2209
|
+
source = this._findSourceIndex(source);
|
2210
|
+
if (source < 0) {
|
2211
|
+
return {
|
2212
|
+
line: null,
|
2213
|
+
column: null,
|
2214
|
+
lastColumn: null
|
2215
|
+
};
|
2216
|
+
}
|
2217
|
+
|
2218
|
+
var needle = {
|
2219
|
+
source: source,
|
2220
|
+
originalLine: util.getArg(aArgs, 'line'),
|
2221
|
+
originalColumn: util.getArg(aArgs, 'column')
|
2222
|
+
};
|
2223
|
+
|
2224
|
+
var index = this._findMapping(
|
2225
|
+
needle,
|
2226
|
+
this._originalMappings,
|
2227
|
+
"originalLine",
|
2228
|
+
"originalColumn",
|
2229
|
+
util.compareByOriginalPositions,
|
2230
|
+
util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)
|
2231
|
+
);
|
2232
|
+
|
2233
|
+
if (index >= 0) {
|
2234
|
+
var mapping = this._originalMappings[index];
|
2235
|
+
|
2236
|
+
if (mapping.source === needle.source) {
|
2237
|
+
return {
|
2238
|
+
line: util.getArg(mapping, 'generatedLine', null),
|
2239
|
+
column: util.getArg(mapping, 'generatedColumn', null),
|
2240
|
+
lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)
|
2241
|
+
};
|
2242
|
+
}
|
2243
|
+
}
|
2244
|
+
|
2245
|
+
return {
|
2246
|
+
line: null,
|
2247
|
+
column: null,
|
2248
|
+
lastColumn: null
|
2249
|
+
};
|
2250
|
+
};
|
2251
|
+
|
2252
|
+
exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
|
2253
|
+
|
2254
|
+
/**
|
2255
|
+
* An IndexedSourceMapConsumer instance represents a parsed source map which
|
2256
|
+
* we can query for information. It differs from BasicSourceMapConsumer in
|
2257
|
+
* that it takes "indexed" source maps (i.e. ones with a "sections" field) as
|
2258
|
+
* input.
|
2259
|
+
*
|
2260
|
+
* The first parameter is a raw source map (either as a JSON string, or already
|
2261
|
+
* parsed to an object). According to the spec for indexed source maps, they
|
2262
|
+
* have the following attributes:
|
2263
|
+
*
|
2264
|
+
* - version: Which version of the source map spec this map is following.
|
2265
|
+
* - file: Optional. The generated file this source map is associated with.
|
2266
|
+
* - sections: A list of section definitions.
|
2267
|
+
*
|
2268
|
+
* Each value under the "sections" field has two fields:
|
2269
|
+
* - offset: The offset into the original specified at which this section
|
2270
|
+
* begins to apply, defined as an object with a "line" and "column"
|
2271
|
+
* field.
|
2272
|
+
* - map: A source map definition. This source map could also be indexed,
|
2273
|
+
* but doesn't have to be.
|
2274
|
+
*
|
2275
|
+
* Instead of the "map" field, it's also possible to have a "url" field
|
2276
|
+
* specifying a URL to retrieve a source map from, but that's currently
|
2277
|
+
* unsupported.
|
2278
|
+
*
|
2279
|
+
* Here's an example source map, taken from the source map spec[0], but
|
2280
|
+
* modified to omit a section which uses the "url" field.
|
2281
|
+
*
|
2282
|
+
* {
|
2283
|
+
* version : 3,
|
2284
|
+
* file: "app.js",
|
2285
|
+
* sections: [{
|
2286
|
+
* offset: {line:100, column:10},
|
2287
|
+
* map: {
|
2288
|
+
* version : 3,
|
2289
|
+
* file: "section.js",
|
2290
|
+
* sources: ["foo.js", "bar.js"],
|
2291
|
+
* names: ["src", "maps", "are", "fun"],
|
2292
|
+
* mappings: "AAAA,E;;ABCDE;"
|
2293
|
+
* }
|
2294
|
+
* }],
|
2295
|
+
* }
|
2296
|
+
*
|
2297
|
+
* The second parameter, if given, is a string whose value is the URL
|
2298
|
+
* at which the source map was found. This URL is used to compute the
|
2299
|
+
* sources array.
|
2300
|
+
*
|
2301
|
+
* [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
|
2302
|
+
*/
|
2303
|
+
function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {
|
2304
|
+
var sourceMap = aSourceMap;
|
2305
|
+
if (typeof aSourceMap === 'string') {
|
2306
|
+
sourceMap = util.parseSourceMapInput(aSourceMap);
|
2307
|
+
}
|
2308
|
+
|
2309
|
+
var version = util.getArg(sourceMap, 'version');
|
2310
|
+
var sections = util.getArg(sourceMap, 'sections');
|
2311
|
+
|
2312
|
+
if (version != this._version) {
|
2313
|
+
throw new Error('Unsupported version: ' + version);
|
2314
|
+
}
|
2315
|
+
|
2316
|
+
this._sources = new ArraySet();
|
2317
|
+
this._names = new ArraySet();
|
2318
|
+
|
2319
|
+
var lastOffset = {
|
2320
|
+
line: -1,
|
2321
|
+
column: 0
|
2322
|
+
};
|
2323
|
+
this._sections = sections.map(function (s) {
|
2324
|
+
if (s.url) {
|
2325
|
+
// The url field will require support for asynchronicity.
|
2326
|
+
// See https://github.com/mozilla/source-map/issues/16
|
2327
|
+
throw new Error('Support for url field in sections not implemented.');
|
2328
|
+
}
|
2329
|
+
var offset = util.getArg(s, 'offset');
|
2330
|
+
var offsetLine = util.getArg(offset, 'line');
|
2331
|
+
var offsetColumn = util.getArg(offset, 'column');
|
2332
|
+
|
2333
|
+
if (offsetLine < lastOffset.line ||
|
2334
|
+
(offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {
|
2335
|
+
throw new Error('Section offsets must be ordered and non-overlapping.');
|
2336
|
+
}
|
2337
|
+
lastOffset = offset;
|
2338
|
+
|
2339
|
+
return {
|
2340
|
+
generatedOffset: {
|
2341
|
+
// The offset fields are 0-based, but we use 1-based indices when
|
2342
|
+
// encoding/decoding from VLQ.
|
2343
|
+
generatedLine: offsetLine + 1,
|
2344
|
+
generatedColumn: offsetColumn + 1
|
2345
|
+
},
|
2346
|
+
consumer: new SourceMapConsumer(util.getArg(s, 'map'), aSourceMapURL)
|
2347
|
+
}
|
2348
|
+
});
|
2349
|
+
}
|
2350
|
+
|
2351
|
+
IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
|
2352
|
+
IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
|
2353
|
+
|
2354
|
+
/**
|
2355
|
+
* The version of the source mapping spec that we are consuming.
|
2356
|
+
*/
|
2357
|
+
IndexedSourceMapConsumer.prototype._version = 3;
|
2358
|
+
|
2359
|
+
/**
|
2360
|
+
* The list of original sources.
|
2361
|
+
*/
|
2362
|
+
Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {
|
2363
|
+
get: function () {
|
2364
|
+
var sources = [];
|
2365
|
+
for (var i = 0; i < this._sections.length; i++) {
|
2366
|
+
for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {
|
2367
|
+
sources.push(this._sections[i].consumer.sources[j]);
|
2368
|
+
}
|
2369
|
+
}
|
2370
|
+
return sources;
|
2371
|
+
}
|
2372
|
+
});
|
2373
|
+
|
2374
|
+
/**
|
2375
|
+
* Returns the original source, line, and column information for the generated
|
2376
|
+
* source's line and column positions provided. The only argument is an object
|
2377
|
+
* with the following properties:
|
2378
|
+
*
|
2379
|
+
* - line: The line number in the generated source. The line number
|
2380
|
+
* is 1-based.
|
2381
|
+
* - column: The column number in the generated source. The column
|
2382
|
+
* number is 0-based.
|
2383
|
+
*
|
2384
|
+
* and an object is returned with the following properties:
|
2385
|
+
*
|
2386
|
+
* - source: The original source file, or null.
|
2387
|
+
* - line: The line number in the original source, or null. The
|
2388
|
+
* line number is 1-based.
|
2389
|
+
* - column: The column number in the original source, or null. The
|
2390
|
+
* column number is 0-based.
|
2391
|
+
* - name: The original identifier, or null.
|
2392
|
+
*/
|
2393
|
+
IndexedSourceMapConsumer.prototype.originalPositionFor =
|
2394
|
+
function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
|
2395
|
+
var needle = {
|
2396
|
+
generatedLine: util.getArg(aArgs, 'line'),
|
2397
|
+
generatedColumn: util.getArg(aArgs, 'column')
|
2398
|
+
};
|
2399
|
+
|
2400
|
+
// Find the section containing the generated position we're trying to map
|
2401
|
+
// to an original position.
|
2402
|
+
var sectionIndex = binarySearch.search(needle, this._sections,
|
2403
|
+
function(needle, section) {
|
2404
|
+
var cmp = needle.generatedLine - section.generatedOffset.generatedLine;
|
2405
|
+
if (cmp) {
|
2406
|
+
return cmp;
|
2407
|
+
}
|
2408
|
+
|
2409
|
+
return (needle.generatedColumn -
|
2410
|
+
section.generatedOffset.generatedColumn);
|
2411
|
+
});
|
2412
|
+
var section = this._sections[sectionIndex];
|
2413
|
+
|
2414
|
+
if (!section) {
|
2415
|
+
return {
|
2416
|
+
source: null,
|
2417
|
+
line: null,
|
2418
|
+
column: null,
|
2419
|
+
name: null
|
2420
|
+
};
|
2421
|
+
}
|
2422
|
+
|
2423
|
+
return section.consumer.originalPositionFor({
|
2424
|
+
line: needle.generatedLine -
|
2425
|
+
(section.generatedOffset.generatedLine - 1),
|
2426
|
+
column: needle.generatedColumn -
|
2427
|
+
(section.generatedOffset.generatedLine === needle.generatedLine
|
2428
|
+
? section.generatedOffset.generatedColumn - 1
|
2429
|
+
: 0),
|
2430
|
+
bias: aArgs.bias
|
2431
|
+
});
|
2432
|
+
};
|
2433
|
+
|
2434
|
+
/**
|
2435
|
+
* Return true if we have the source content for every source in the source
|
2436
|
+
* map, false otherwise.
|
2437
|
+
*/
|
2438
|
+
IndexedSourceMapConsumer.prototype.hasContentsOfAllSources =
|
2439
|
+
function IndexedSourceMapConsumer_hasContentsOfAllSources() {
|
2440
|
+
return this._sections.every(function (s) {
|
2441
|
+
return s.consumer.hasContentsOfAllSources();
|
2442
|
+
});
|
2443
|
+
};
|
2444
|
+
|
2445
|
+
/**
|
2446
|
+
* Returns the original source content. The only argument is the url of the
|
2447
|
+
* original source file. Returns null if no original source content is
|
2448
|
+
* available.
|
2449
|
+
*/
|
2450
|
+
IndexedSourceMapConsumer.prototype.sourceContentFor =
|
2451
|
+
function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {
|
2452
|
+
for (var i = 0; i < this._sections.length; i++) {
|
2453
|
+
var section = this._sections[i];
|
2454
|
+
|
2455
|
+
var content = section.consumer.sourceContentFor(aSource, true);
|
2456
|
+
if (content) {
|
2457
|
+
return content;
|
2458
|
+
}
|
2459
|
+
}
|
2460
|
+
if (nullOnMissing) {
|
2461
|
+
return null;
|
2462
|
+
}
|
2463
|
+
else {
|
2464
|
+
throw new Error('"' + aSource + '" is not in the SourceMap.');
|
2465
|
+
}
|
2466
|
+
};
|
2467
|
+
|
2468
|
+
/**
|
2469
|
+
* Returns the generated line and column information for the original source,
|
2470
|
+
* line, and column positions provided. The only argument is an object with
|
2471
|
+
* the following properties:
|
2472
|
+
*
|
2473
|
+
* - source: The filename of the original source.
|
2474
|
+
* - line: The line number in the original source. The line number
|
2475
|
+
* is 1-based.
|
2476
|
+
* - column: The column number in the original source. The column
|
2477
|
+
* number is 0-based.
|
2478
|
+
*
|
2479
|
+
* and an object is returned with the following properties:
|
2480
|
+
*
|
2481
|
+
* - line: The line number in the generated source, or null. The
|
2482
|
+
* line number is 1-based.
|
2483
|
+
* - column: The column number in the generated source, or null.
|
2484
|
+
* The column number is 0-based.
|
2485
|
+
*/
|
2486
|
+
IndexedSourceMapConsumer.prototype.generatedPositionFor =
|
2487
|
+
function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
|
2488
|
+
for (var i = 0; i < this._sections.length; i++) {
|
2489
|
+
var section = this._sections[i];
|
2490
|
+
|
2491
|
+
// Only consider this section if the requested source is in the list of
|
2492
|
+
// sources of the consumer.
|
2493
|
+
if (section.consumer._findSourceIndex(util.getArg(aArgs, 'source')) === -1) {
|
2494
|
+
continue;
|
2495
|
+
}
|
2496
|
+
var generatedPosition = section.consumer.generatedPositionFor(aArgs);
|
2497
|
+
if (generatedPosition) {
|
2498
|
+
var ret = {
|
2499
|
+
line: generatedPosition.line +
|
2500
|
+
(section.generatedOffset.generatedLine - 1),
|
2501
|
+
column: generatedPosition.column +
|
2502
|
+
(section.generatedOffset.generatedLine === generatedPosition.line
|
2503
|
+
? section.generatedOffset.generatedColumn - 1
|
2504
|
+
: 0)
|
2505
|
+
};
|
2506
|
+
return ret;
|
2507
|
+
}
|
2508
|
+
}
|
2509
|
+
|
2510
|
+
return {
|
2511
|
+
line: null,
|
2512
|
+
column: null
|
2513
|
+
};
|
2514
|
+
};
|
2515
|
+
|
2516
|
+
/**
|
2517
|
+
* Parse the mappings in a string in to a data structure which we can easily
|
2518
|
+
* query (the ordered arrays in the `this.__generatedMappings` and
|
2519
|
+
* `this.__originalMappings` properties).
|
2520
|
+
*/
|
2521
|
+
IndexedSourceMapConsumer.prototype._parseMappings =
|
2522
|
+
function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {
|
2523
|
+
this.__generatedMappings = [];
|
2524
|
+
this.__originalMappings = [];
|
2525
|
+
for (var i = 0; i < this._sections.length; i++) {
|
2526
|
+
var section = this._sections[i];
|
2527
|
+
var sectionMappings = section.consumer._generatedMappings;
|
2528
|
+
for (var j = 0; j < sectionMappings.length; j++) {
|
2529
|
+
var mapping = sectionMappings[j];
|
2530
|
+
|
2531
|
+
var source = section.consumer._sources.at(mapping.source);
|
2532
|
+
source = util.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
|
2533
|
+
this._sources.add(source);
|
2534
|
+
source = this._sources.indexOf(source);
|
2535
|
+
|
2536
|
+
var name = null;
|
2537
|
+
if (mapping.name) {
|
2538
|
+
name = section.consumer._names.at(mapping.name);
|
2539
|
+
this._names.add(name);
|
2540
|
+
name = this._names.indexOf(name);
|
2541
|
+
}
|
2542
|
+
|
2543
|
+
// The mappings coming from the consumer for the section have
|
2544
|
+
// generated positions relative to the start of the section, so we
|
2545
|
+
// need to offset them to be relative to the start of the concatenated
|
2546
|
+
// generated file.
|
2547
|
+
var adjustedMapping = {
|
2548
|
+
source: source,
|
2549
|
+
generatedLine: mapping.generatedLine +
|
2550
|
+
(section.generatedOffset.generatedLine - 1),
|
2551
|
+
generatedColumn: mapping.generatedColumn +
|
2552
|
+
(section.generatedOffset.generatedLine === mapping.generatedLine
|
2553
|
+
? section.generatedOffset.generatedColumn - 1
|
2554
|
+
: 0),
|
2555
|
+
originalLine: mapping.originalLine,
|
2556
|
+
originalColumn: mapping.originalColumn,
|
2557
|
+
name: name
|
2558
|
+
};
|
2559
|
+
|
2560
|
+
this.__generatedMappings.push(adjustedMapping);
|
2561
|
+
if (typeof adjustedMapping.originalLine === 'number') {
|
2562
|
+
this.__originalMappings.push(adjustedMapping);
|
2563
|
+
}
|
2564
|
+
}
|
2565
|
+
}
|
2566
|
+
|
2567
|
+
quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);
|
2568
|
+
quickSort(this.__originalMappings, util.compareByOriginalPositions);
|
2569
|
+
};
|
2570
|
+
|
2571
|
+
exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
|
2572
|
+
|
2573
|
+
|
2574
|
+
/***/ }),
|
2575
|
+
/* 8 */
|
2576
|
+
/***/ (function(module, exports) {
|
2577
|
+
|
2578
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2579
|
+
/*
|
2580
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
2581
|
+
* Licensed under the New BSD license. See LICENSE or:
|
2582
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
2583
|
+
*/
|
2584
|
+
|
2585
|
+
exports.GREATEST_LOWER_BOUND = 1;
|
2586
|
+
exports.LEAST_UPPER_BOUND = 2;
|
2587
|
+
|
2588
|
+
/**
|
2589
|
+
* Recursive implementation of binary search.
|
2590
|
+
*
|
2591
|
+
* @param aLow Indices here and lower do not contain the needle.
|
2592
|
+
* @param aHigh Indices here and higher do not contain the needle.
|
2593
|
+
* @param aNeedle The element being searched for.
|
2594
|
+
* @param aHaystack The non-empty array being searched.
|
2595
|
+
* @param aCompare Function which takes two elements and returns -1, 0, or 1.
|
2596
|
+
* @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
|
2597
|
+
* 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
|
2598
|
+
* closest element that is smaller than or greater than the one we are
|
2599
|
+
* searching for, respectively, if the exact element cannot be found.
|
2600
|
+
*/
|
2601
|
+
function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
|
2602
|
+
// This function terminates when one of the following is true:
|
2603
|
+
//
|
2604
|
+
// 1. We find the exact element we are looking for.
|
2605
|
+
//
|
2606
|
+
// 2. We did not find the exact element, but we can return the index of
|
2607
|
+
// the next-closest element.
|
2608
|
+
//
|
2609
|
+
// 3. We did not find the exact element, and there is no next-closest
|
2610
|
+
// element than the one we are searching for, so we return -1.
|
2611
|
+
var mid = Math.floor((aHigh - aLow) / 2) + aLow;
|
2612
|
+
var cmp = aCompare(aNeedle, aHaystack[mid], true);
|
2613
|
+
if (cmp === 0) {
|
2614
|
+
// Found the element we are looking for.
|
2615
|
+
return mid;
|
2616
|
+
}
|
2617
|
+
else if (cmp > 0) {
|
2618
|
+
// Our needle is greater than aHaystack[mid].
|
2619
|
+
if (aHigh - mid > 1) {
|
2620
|
+
// The element is in the upper half.
|
2621
|
+
return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
|
2622
|
+
}
|
2623
|
+
|
2624
|
+
// The exact needle element was not found in this haystack. Determine if
|
2625
|
+
// we are in termination case (3) or (2) and return the appropriate thing.
|
2626
|
+
if (aBias == exports.LEAST_UPPER_BOUND) {
|
2627
|
+
return aHigh < aHaystack.length ? aHigh : -1;
|
2628
|
+
} else {
|
2629
|
+
return mid;
|
2630
|
+
}
|
2631
|
+
}
|
2632
|
+
else {
|
2633
|
+
// Our needle is less than aHaystack[mid].
|
2634
|
+
if (mid - aLow > 1) {
|
2635
|
+
// The element is in the lower half.
|
2636
|
+
return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
|
2637
|
+
}
|
2638
|
+
|
2639
|
+
// we are in termination case (3) or (2) and return the appropriate thing.
|
2640
|
+
if (aBias == exports.LEAST_UPPER_BOUND) {
|
2641
|
+
return mid;
|
2642
|
+
} else {
|
2643
|
+
return aLow < 0 ? -1 : aLow;
|
2644
|
+
}
|
2645
|
+
}
|
2646
|
+
}
|
2647
|
+
|
2648
|
+
/**
|
2649
|
+
* This is an implementation of binary search which will always try and return
|
2650
|
+
* the index of the closest element if there is no exact hit. This is because
|
2651
|
+
* mappings between original and generated line/col pairs are single points,
|
2652
|
+
* and there is an implicit region between each of them, so a miss just means
|
2653
|
+
* that you aren't on the very start of a region.
|
2654
|
+
*
|
2655
|
+
* @param aNeedle The element you are looking for.
|
2656
|
+
* @param aHaystack The array that is being searched.
|
2657
|
+
* @param aCompare A function which takes the needle and an element in the
|
2658
|
+
* array and returns -1, 0, or 1 depending on whether the needle is less
|
2659
|
+
* than, equal to, or greater than the element, respectively.
|
2660
|
+
* @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
|
2661
|
+
* 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
|
2662
|
+
* closest element that is smaller than or greater than the one we are
|
2663
|
+
* searching for, respectively, if the exact element cannot be found.
|
2664
|
+
* Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
|
2665
|
+
*/
|
2666
|
+
exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
2667
|
+
if (aHaystack.length === 0) {
|
2668
|
+
return -1;
|
2669
|
+
}
|
2670
|
+
|
2671
|
+
var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,
|
2672
|
+
aCompare, aBias || exports.GREATEST_LOWER_BOUND);
|
2673
|
+
if (index < 0) {
|
2674
|
+
return -1;
|
2675
|
+
}
|
2676
|
+
|
2677
|
+
// We have found either the exact element, or the next-closest element than
|
2678
|
+
// the one we are searching for. However, there may be more than one such
|
2679
|
+
// element. Make sure we always return the smallest of these.
|
2680
|
+
while (index - 1 >= 0) {
|
2681
|
+
if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {
|
2682
|
+
break;
|
2683
|
+
}
|
2684
|
+
--index;
|
2685
|
+
}
|
2686
|
+
|
2687
|
+
return index;
|
2688
|
+
};
|
2689
|
+
|
2690
|
+
|
2691
|
+
/***/ }),
|
2692
|
+
/* 9 */
|
2693
|
+
/***/ (function(module, exports) {
|
2694
|
+
|
2695
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2696
|
+
/*
|
2697
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
2698
|
+
* Licensed under the New BSD license. See LICENSE or:
|
2699
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
2700
|
+
*/
|
2701
|
+
|
2702
|
+
// It turns out that some (most?) JavaScript engines don't self-host
|
2703
|
+
// `Array.prototype.sort`. This makes sense because C++ will likely remain
|
2704
|
+
// faster than JS when doing raw CPU-intensive sorting. However, when using a
|
2705
|
+
// custom comparator function, calling back and forth between the VM's C++ and
|
2706
|
+
// JIT'd JS is rather slow *and* loses JIT type information, resulting in
|
2707
|
+
// worse generated code for the comparator function than would be optimal. In
|
2708
|
+
// fact, when sorting with a comparator, these costs outweigh the benefits of
|
2709
|
+
// sorting in C++. By using our own JS-implemented Quick Sort (below), we get
|
2710
|
+
// a ~3500ms mean speed-up in `bench/bench.html`.
|
2711
|
+
|
2712
|
+
/**
|
2713
|
+
* Swap the elements indexed by `x` and `y` in the array `ary`.
|
2714
|
+
*
|
2715
|
+
* @param {Array} ary
|
2716
|
+
* The array.
|
2717
|
+
* @param {Number} x
|
2718
|
+
* The index of the first item.
|
2719
|
+
* @param {Number} y
|
2720
|
+
* The index of the second item.
|
2721
|
+
*/
|
2722
|
+
function swap(ary, x, y) {
|
2723
|
+
var temp = ary[x];
|
2724
|
+
ary[x] = ary[y];
|
2725
|
+
ary[y] = temp;
|
2726
|
+
}
|
2727
|
+
|
2728
|
+
/**
|
2729
|
+
* Returns a random integer within the range `low .. high` inclusive.
|
2730
|
+
*
|
2731
|
+
* @param {Number} low
|
2732
|
+
* The lower bound on the range.
|
2733
|
+
* @param {Number} high
|
2734
|
+
* The upper bound on the range.
|
2735
|
+
*/
|
2736
|
+
function randomIntInRange(low, high) {
|
2737
|
+
return Math.round(low + (Math.random() * (high - low)));
|
2738
|
+
}
|
2739
|
+
|
2740
|
+
/**
|
2741
|
+
* The Quick Sort algorithm.
|
2742
|
+
*
|
2743
|
+
* @param {Array} ary
|
2744
|
+
* An array to sort.
|
2745
|
+
* @param {function} comparator
|
2746
|
+
* Function to use to compare two items.
|
2747
|
+
* @param {Number} p
|
2748
|
+
* Start index of the array
|
2749
|
+
* @param {Number} r
|
2750
|
+
* End index of the array
|
2751
|
+
*/
|
2752
|
+
function doQuickSort(ary, comparator, p, r) {
|
2753
|
+
// If our lower bound is less than our upper bound, we (1) partition the
|
2754
|
+
// array into two pieces and (2) recurse on each half. If it is not, this is
|
2755
|
+
// the empty array and our base case.
|
2756
|
+
|
2757
|
+
if (p < r) {
|
2758
|
+
// (1) Partitioning.
|
2759
|
+
//
|
2760
|
+
// The partitioning chooses a pivot between `p` and `r` and moves all
|
2761
|
+
// elements that are less than or equal to the pivot to the before it, and
|
2762
|
+
// all the elements that are greater than it after it. The effect is that
|
2763
|
+
// once partition is done, the pivot is in the exact place it will be when
|
2764
|
+
// the array is put in sorted order, and it will not need to be moved
|
2765
|
+
// again. This runs in O(n) time.
|
2766
|
+
|
2767
|
+
// Always choose a random pivot so that an input array which is reverse
|
2768
|
+
// sorted does not cause O(n^2) running time.
|
2769
|
+
var pivotIndex = randomIntInRange(p, r);
|
2770
|
+
var i = p - 1;
|
2771
|
+
|
2772
|
+
swap(ary, pivotIndex, r);
|
2773
|
+
var pivot = ary[r];
|
2774
|
+
|
2775
|
+
// Immediately after `j` is incremented in this loop, the following hold
|
2776
|
+
// true:
|
2777
|
+
//
|
2778
|
+
// * Every element in `ary[p .. i]` is less than or equal to the pivot.
|
2779
|
+
//
|
2780
|
+
// * Every element in `ary[i+1 .. j-1]` is greater than the pivot.
|
2781
|
+
for (var j = p; j < r; j++) {
|
2782
|
+
if (comparator(ary[j], pivot) <= 0) {
|
2783
|
+
i += 1;
|
2784
|
+
swap(ary, i, j);
|
2785
|
+
}
|
2786
|
+
}
|
2787
|
+
|
2788
|
+
swap(ary, i + 1, j);
|
2789
|
+
var q = i + 1;
|
2790
|
+
|
2791
|
+
// (2) Recurse on each half.
|
2792
|
+
|
2793
|
+
doQuickSort(ary, comparator, p, q - 1);
|
2794
|
+
doQuickSort(ary, comparator, q + 1, r);
|
2795
|
+
}
|
2796
|
+
}
|
2797
|
+
|
2798
|
+
/**
|
2799
|
+
* Sort the given array in-place with the given comparator function.
|
2800
|
+
*
|
2801
|
+
* @param {Array} ary
|
2802
|
+
* An array to sort.
|
2803
|
+
* @param {function} comparator
|
2804
|
+
* Function to use to compare two items.
|
2805
|
+
*/
|
2806
|
+
exports.quickSort = function (ary, comparator) {
|
2807
|
+
doQuickSort(ary, comparator, 0, ary.length - 1);
|
2808
|
+
};
|
2809
|
+
|
2810
|
+
|
2811
|
+
/***/ }),
|
2812
|
+
/* 10 */
|
2813
|
+
/***/ (function(module, exports, __webpack_require__) {
|
2814
|
+
|
2815
|
+
/* -*- Mode: js; js-indent-level: 2; -*- */
|
2816
|
+
/*
|
2817
|
+
* Copyright 2011 Mozilla Foundation and contributors
|
2818
|
+
* Licensed under the New BSD license. See LICENSE or:
|
2819
|
+
* http://opensource.org/licenses/BSD-3-Clause
|
2820
|
+
*/
|
2821
|
+
|
2822
|
+
var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
|
2823
|
+
var util = __webpack_require__(4);
|
2824
|
+
|
2825
|
+
// Matches a Windows-style `\r\n` newline or a `\n` newline used by all other
|
2826
|
+
// operating systems these days (capturing the result).
|
2827
|
+
var REGEX_NEWLINE = /(\r?\n)/;
|
2828
|
+
|
2829
|
+
// Newline character code for charCodeAt() comparisons
|
2830
|
+
var NEWLINE_CODE = 10;
|
2831
|
+
|
2832
|
+
// Private symbol for identifying `SourceNode`s when multiple versions of
|
2833
|
+
// the source-map library are loaded. This MUST NOT CHANGE across
|
2834
|
+
// versions!
|
2835
|
+
var isSourceNode = "$$$isSourceNode$$$";
|
2836
|
+
|
2837
|
+
/**
|
2838
|
+
* SourceNodes provide a way to abstract over interpolating/concatenating
|
2839
|
+
* snippets of generated JavaScript source code while maintaining the line and
|
2840
|
+
* column information associated with the original source code.
|
2841
|
+
*
|
2842
|
+
* @param aLine The original line number.
|
2843
|
+
* @param aColumn The original column number.
|
2844
|
+
* @param aSource The original source's filename.
|
2845
|
+
* @param aChunks Optional. An array of strings which are snippets of
|
2846
|
+
* generated JS, or other SourceNodes.
|
2847
|
+
* @param aName The original identifier.
|
2848
|
+
*/
|
2849
|
+
function SourceNode(aLine, aColumn, aSource, aChunks, aName) {
|
2850
|
+
this.children = [];
|
2851
|
+
this.sourceContents = {};
|
2852
|
+
this.line = aLine == null ? null : aLine;
|
2853
|
+
this.column = aColumn == null ? null : aColumn;
|
2854
|
+
this.source = aSource == null ? null : aSource;
|
2855
|
+
this.name = aName == null ? null : aName;
|
2856
|
+
this[isSourceNode] = true;
|
2857
|
+
if (aChunks != null) this.add(aChunks);
|
2858
|
+
}
|
2859
|
+
|
2860
|
+
/**
|
2861
|
+
* Creates a SourceNode from generated code and a SourceMapConsumer.
|
2862
|
+
*
|
2863
|
+
* @param aGeneratedCode The generated code
|
2864
|
+
* @param aSourceMapConsumer The SourceMap for the generated code
|
2865
|
+
* @param aRelativePath Optional. The path that relative sources in the
|
2866
|
+
* SourceMapConsumer should be relative to.
|
2867
|
+
*/
|
2868
|
+
SourceNode.fromStringWithSourceMap =
|
2869
|
+
function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {
|
2870
|
+
// The SourceNode we want to fill with the generated code
|
2871
|
+
// and the SourceMap
|
2872
|
+
var node = new SourceNode();
|
2873
|
+
|
2874
|
+
// All even indices of this array are one line of the generated code,
|
2875
|
+
// while all odd indices are the newlines between two adjacent lines
|
2876
|
+
// (since `REGEX_NEWLINE` captures its match).
|
2877
|
+
// Processed fragments are accessed by calling `shiftNextLine`.
|
2878
|
+
var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);
|
2879
|
+
var remainingLinesIndex = 0;
|
2880
|
+
var shiftNextLine = function() {
|
2881
|
+
var lineContents = getNextLine();
|
2882
|
+
// The last line of a file might not have a newline.
|
2883
|
+
var newLine = getNextLine() || "";
|
2884
|
+
return lineContents + newLine;
|
2885
|
+
|
2886
|
+
function getNextLine() {
|
2887
|
+
return remainingLinesIndex < remainingLines.length ?
|
2888
|
+
remainingLines[remainingLinesIndex++] : undefined;
|
2889
|
+
}
|
2890
|
+
};
|
2891
|
+
|
2892
|
+
// We need to remember the position of "remainingLines"
|
2893
|
+
var lastGeneratedLine = 1, lastGeneratedColumn = 0;
|
2894
|
+
|
2895
|
+
// The generate SourceNodes we need a code range.
|
2896
|
+
// To extract it current and last mapping is used.
|
2897
|
+
// Here we store the last mapping.
|
2898
|
+
var lastMapping = null;
|
2899
|
+
|
2900
|
+
aSourceMapConsumer.eachMapping(function (mapping) {
|
2901
|
+
if (lastMapping !== null) {
|
2902
|
+
// We add the code from "lastMapping" to "mapping":
|
2903
|
+
// First check if there is a new line in between.
|
2904
|
+
if (lastGeneratedLine < mapping.generatedLine) {
|
2905
|
+
// Associate first line with "lastMapping"
|
2906
|
+
addMappingWithCode(lastMapping, shiftNextLine());
|
2907
|
+
lastGeneratedLine++;
|
2908
|
+
lastGeneratedColumn = 0;
|
2909
|
+
// The remaining code is added without mapping
|
2910
|
+
} else {
|
2911
|
+
// There is no new line in between.
|
2912
|
+
// Associate the code between "lastGeneratedColumn" and
|
2913
|
+
// "mapping.generatedColumn" with "lastMapping"
|
2914
|
+
var nextLine = remainingLines[remainingLinesIndex] || '';
|
2915
|
+
var code = nextLine.substr(0, mapping.generatedColumn -
|
2916
|
+
lastGeneratedColumn);
|
2917
|
+
remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -
|
2918
|
+
lastGeneratedColumn);
|
2919
|
+
lastGeneratedColumn = mapping.generatedColumn;
|
2920
|
+
addMappingWithCode(lastMapping, code);
|
2921
|
+
// No more remaining code, continue
|
2922
|
+
lastMapping = mapping;
|
2923
|
+
return;
|
2924
|
+
}
|
2925
|
+
}
|
2926
|
+
// We add the generated code until the first mapping
|
2927
|
+
// to the SourceNode without any mapping.
|
2928
|
+
// Each line is added as separate string.
|
2929
|
+
while (lastGeneratedLine < mapping.generatedLine) {
|
2930
|
+
node.add(shiftNextLine());
|
2931
|
+
lastGeneratedLine++;
|
2932
|
+
}
|
2933
|
+
if (lastGeneratedColumn < mapping.generatedColumn) {
|
2934
|
+
var nextLine = remainingLines[remainingLinesIndex] || '';
|
2935
|
+
node.add(nextLine.substr(0, mapping.generatedColumn));
|
2936
|
+
remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);
|
2937
|
+
lastGeneratedColumn = mapping.generatedColumn;
|
2938
|
+
}
|
2939
|
+
lastMapping = mapping;
|
2940
|
+
}, this);
|
2941
|
+
// We have processed all mappings.
|
2942
|
+
if (remainingLinesIndex < remainingLines.length) {
|
2943
|
+
if (lastMapping) {
|
2944
|
+
// Associate the remaining code in the current line with "lastMapping"
|
2945
|
+
addMappingWithCode(lastMapping, shiftNextLine());
|
2946
|
+
}
|
2947
|
+
// and add the remaining lines without any mapping
|
2948
|
+
node.add(remainingLines.splice(remainingLinesIndex).join(""));
|
2949
|
+
}
|
2950
|
+
|
2951
|
+
// Copy sourcesContent into SourceNode
|
2952
|
+
aSourceMapConsumer.sources.forEach(function (sourceFile) {
|
2953
|
+
var content = aSourceMapConsumer.sourceContentFor(sourceFile);
|
2954
|
+
if (content != null) {
|
2955
|
+
if (aRelativePath != null) {
|
2956
|
+
sourceFile = util.join(aRelativePath, sourceFile);
|
2957
|
+
}
|
2958
|
+
node.setSourceContent(sourceFile, content);
|
2959
|
+
}
|
2960
|
+
});
|
2961
|
+
|
2962
|
+
return node;
|
2963
|
+
|
2964
|
+
function addMappingWithCode(mapping, code) {
|
2965
|
+
if (mapping === null || mapping.source === undefined) {
|
2966
|
+
node.add(code);
|
2967
|
+
} else {
|
2968
|
+
var source = aRelativePath
|
2969
|
+
? util.join(aRelativePath, mapping.source)
|
2970
|
+
: mapping.source;
|
2971
|
+
node.add(new SourceNode(mapping.originalLine,
|
2972
|
+
mapping.originalColumn,
|
2973
|
+
source,
|
2974
|
+
code,
|
2975
|
+
mapping.name));
|
2976
|
+
}
|
2977
|
+
}
|
2978
|
+
};
|
2979
|
+
|
2980
|
+
/**
|
2981
|
+
* Add a chunk of generated JS to this source node.
|
2982
|
+
*
|
2983
|
+
* @param aChunk A string snippet of generated JS code, another instance of
|
2984
|
+
* SourceNode, or an array where each member is one of those things.
|
2985
|
+
*/
|
2986
|
+
SourceNode.prototype.add = function SourceNode_add(aChunk) {
|
2987
|
+
if (Array.isArray(aChunk)) {
|
2988
|
+
aChunk.forEach(function (chunk) {
|
2989
|
+
this.add(chunk);
|
2990
|
+
}, this);
|
2991
|
+
}
|
2992
|
+
else if (aChunk[isSourceNode] || typeof aChunk === "string") {
|
2993
|
+
if (aChunk) {
|
2994
|
+
this.children.push(aChunk);
|
2995
|
+
}
|
2996
|
+
}
|
2997
|
+
else {
|
2998
|
+
throw new TypeError(
|
2999
|
+
"Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
|
3000
|
+
);
|
3001
|
+
}
|
3002
|
+
return this;
|
3003
|
+
};
|
3004
|
+
|
3005
|
+
/**
|
3006
|
+
* Add a chunk of generated JS to the beginning of this source node.
|
3007
|
+
*
|
3008
|
+
* @param aChunk A string snippet of generated JS code, another instance of
|
3009
|
+
* SourceNode, or an array where each member is one of those things.
|
3010
|
+
*/
|
3011
|
+
SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {
|
3012
|
+
if (Array.isArray(aChunk)) {
|
3013
|
+
for (var i = aChunk.length-1; i >= 0; i--) {
|
3014
|
+
this.prepend(aChunk[i]);
|
3015
|
+
}
|
3016
|
+
}
|
3017
|
+
else if (aChunk[isSourceNode] || typeof aChunk === "string") {
|
3018
|
+
this.children.unshift(aChunk);
|
3019
|
+
}
|
3020
|
+
else {
|
3021
|
+
throw new TypeError(
|
3022
|
+
"Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
|
3023
|
+
);
|
3024
|
+
}
|
3025
|
+
return this;
|
3026
|
+
};
|
3027
|
+
|
3028
|
+
/**
|
3029
|
+
* Walk over the tree of JS snippets in this node and its children. The
|
3030
|
+
* walking function is called once for each snippet of JS and is passed that
|
3031
|
+
* snippet and the its original associated source's line/column location.
|
3032
|
+
*
|
3033
|
+
* @param aFn The traversal function.
|
3034
|
+
*/
|
3035
|
+
SourceNode.prototype.walk = function SourceNode_walk(aFn) {
|
3036
|
+
var chunk;
|
3037
|
+
for (var i = 0, len = this.children.length; i < len; i++) {
|
3038
|
+
chunk = this.children[i];
|
3039
|
+
if (chunk[isSourceNode]) {
|
3040
|
+
chunk.walk(aFn);
|
3041
|
+
}
|
3042
|
+
else {
|
3043
|
+
if (chunk !== '') {
|
3044
|
+
aFn(chunk, { source: this.source,
|
3045
|
+
line: this.line,
|
3046
|
+
column: this.column,
|
3047
|
+
name: this.name });
|
3048
|
+
}
|
3049
|
+
}
|
3050
|
+
}
|
3051
|
+
};
|
3052
|
+
|
3053
|
+
/**
|
3054
|
+
* Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between
|
3055
|
+
* each of `this.children`.
|
3056
|
+
*
|
3057
|
+
* @param aSep The separator.
|
3058
|
+
*/
|
3059
|
+
SourceNode.prototype.join = function SourceNode_join(aSep) {
|
3060
|
+
var newChildren;
|
3061
|
+
var i;
|
3062
|
+
var len = this.children.length;
|
3063
|
+
if (len > 0) {
|
3064
|
+
newChildren = [];
|
3065
|
+
for (i = 0; i < len-1; i++) {
|
3066
|
+
newChildren.push(this.children[i]);
|
3067
|
+
newChildren.push(aSep);
|
3068
|
+
}
|
3069
|
+
newChildren.push(this.children[i]);
|
3070
|
+
this.children = newChildren;
|
3071
|
+
}
|
3072
|
+
return this;
|
3073
|
+
};
|
3074
|
+
|
3075
|
+
/**
|
3076
|
+
* Call String.prototype.replace on the very right-most source snippet. Useful
|
3077
|
+
* for trimming whitespace from the end of a source node, etc.
|
3078
|
+
*
|
3079
|
+
* @param aPattern The pattern to replace.
|
3080
|
+
* @param aReplacement The thing to replace the pattern with.
|
3081
|
+
*/
|
3082
|
+
SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {
|
3083
|
+
var lastChild = this.children[this.children.length - 1];
|
3084
|
+
if (lastChild[isSourceNode]) {
|
3085
|
+
lastChild.replaceRight(aPattern, aReplacement);
|
3086
|
+
}
|
3087
|
+
else if (typeof lastChild === 'string') {
|
3088
|
+
this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);
|
3089
|
+
}
|
3090
|
+
else {
|
3091
|
+
this.children.push(''.replace(aPattern, aReplacement));
|
3092
|
+
}
|
3093
|
+
return this;
|
3094
|
+
};
|
3095
|
+
|
3096
|
+
/**
|
3097
|
+
* Set the source content for a source file. This will be added to the SourceMapGenerator
|
3098
|
+
* in the sourcesContent field.
|
3099
|
+
*
|
3100
|
+
* @param aSourceFile The filename of the source file
|
3101
|
+
* @param aSourceContent The content of the source file
|
3102
|
+
*/
|
3103
|
+
SourceNode.prototype.setSourceContent =
|
3104
|
+
function SourceNode_setSourceContent(aSourceFile, aSourceContent) {
|
3105
|
+
this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;
|
3106
|
+
};
|
3107
|
+
|
3108
|
+
/**
|
3109
|
+
* Walk over the tree of SourceNodes. The walking function is called for each
|
3110
|
+
* source file content and is passed the filename and source content.
|
3111
|
+
*
|
3112
|
+
* @param aFn The traversal function.
|
3113
|
+
*/
|
3114
|
+
SourceNode.prototype.walkSourceContents =
|
3115
|
+
function SourceNode_walkSourceContents(aFn) {
|
3116
|
+
for (var i = 0, len = this.children.length; i < len; i++) {
|
3117
|
+
if (this.children[i][isSourceNode]) {
|
3118
|
+
this.children[i].walkSourceContents(aFn);
|
3119
|
+
}
|
3120
|
+
}
|
3121
|
+
|
3122
|
+
var sources = Object.keys(this.sourceContents);
|
3123
|
+
for (var i = 0, len = sources.length; i < len; i++) {
|
3124
|
+
aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);
|
3125
|
+
}
|
3126
|
+
};
|
3127
|
+
|
3128
|
+
/**
|
3129
|
+
* Return the string representation of this source node. Walks over the tree
|
3130
|
+
* and concatenates all the various snippets together to one string.
|
3131
|
+
*/
|
3132
|
+
SourceNode.prototype.toString = function SourceNode_toString() {
|
3133
|
+
var str = "";
|
3134
|
+
this.walk(function (chunk) {
|
3135
|
+
str += chunk;
|
3136
|
+
});
|
3137
|
+
return str;
|
3138
|
+
};
|
3139
|
+
|
3140
|
+
/**
|
3141
|
+
* Returns the string representation of this source node along with a source
|
3142
|
+
* map.
|
3143
|
+
*/
|
3144
|
+
SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {
|
3145
|
+
var generated = {
|
3146
|
+
code: "",
|
3147
|
+
line: 1,
|
3148
|
+
column: 0
|
3149
|
+
};
|
3150
|
+
var map = new SourceMapGenerator(aArgs);
|
3151
|
+
var sourceMappingActive = false;
|
3152
|
+
var lastOriginalSource = null;
|
3153
|
+
var lastOriginalLine = null;
|
3154
|
+
var lastOriginalColumn = null;
|
3155
|
+
var lastOriginalName = null;
|
3156
|
+
this.walk(function (chunk, original) {
|
3157
|
+
generated.code += chunk;
|
3158
|
+
if (original.source !== null
|
3159
|
+
&& original.line !== null
|
3160
|
+
&& original.column !== null) {
|
3161
|
+
if(lastOriginalSource !== original.source
|
3162
|
+
|| lastOriginalLine !== original.line
|
3163
|
+
|| lastOriginalColumn !== original.column
|
3164
|
+
|| lastOriginalName !== original.name) {
|
3165
|
+
map.addMapping({
|
3166
|
+
source: original.source,
|
3167
|
+
original: {
|
3168
|
+
line: original.line,
|
3169
|
+
column: original.column
|
3170
|
+
},
|
3171
|
+
generated: {
|
3172
|
+
line: generated.line,
|
3173
|
+
column: generated.column
|
3174
|
+
},
|
3175
|
+
name: original.name
|
3176
|
+
});
|
3177
|
+
}
|
3178
|
+
lastOriginalSource = original.source;
|
3179
|
+
lastOriginalLine = original.line;
|
3180
|
+
lastOriginalColumn = original.column;
|
3181
|
+
lastOriginalName = original.name;
|
3182
|
+
sourceMappingActive = true;
|
3183
|
+
} else if (sourceMappingActive) {
|
3184
|
+
map.addMapping({
|
3185
|
+
generated: {
|
3186
|
+
line: generated.line,
|
3187
|
+
column: generated.column
|
3188
|
+
}
|
3189
|
+
});
|
3190
|
+
lastOriginalSource = null;
|
3191
|
+
sourceMappingActive = false;
|
3192
|
+
}
|
3193
|
+
for (var idx = 0, length = chunk.length; idx < length; idx++) {
|
3194
|
+
if (chunk.charCodeAt(idx) === NEWLINE_CODE) {
|
3195
|
+
generated.line++;
|
3196
|
+
generated.column = 0;
|
3197
|
+
// Mappings end at eol
|
3198
|
+
if (idx + 1 === length) {
|
3199
|
+
lastOriginalSource = null;
|
3200
|
+
sourceMappingActive = false;
|
3201
|
+
} else if (sourceMappingActive) {
|
3202
|
+
map.addMapping({
|
3203
|
+
source: original.source,
|
3204
|
+
original: {
|
3205
|
+
line: original.line,
|
3206
|
+
column: original.column
|
3207
|
+
},
|
3208
|
+
generated: {
|
3209
|
+
line: generated.line,
|
3210
|
+
column: generated.column
|
3211
|
+
},
|
3212
|
+
name: original.name
|
3213
|
+
});
|
3214
|
+
}
|
3215
|
+
} else {
|
3216
|
+
generated.column++;
|
3217
|
+
}
|
3218
|
+
}
|
3219
|
+
});
|
3220
|
+
this.walkSourceContents(function (sourceFile, sourceContent) {
|
3221
|
+
map.setSourceContent(sourceFile, sourceContent);
|
3222
|
+
});
|
3223
|
+
|
3224
|
+
return { code: generated.code, map: map };
|
3225
|
+
};
|
3226
|
+
|
3227
|
+
exports.SourceNode = SourceNode;
|
3228
|
+
|
3229
|
+
|
3230
|
+
/***/ })
|
3231
|
+
/******/ ])
|
3232
|
+
});
|
3233
|
+
;
|