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,2100 @@
|
|
1
|
+
/**
|
2
|
+
* The `http2` module provides an implementation of the [HTTP/2](https://tools.ietf.org/html/rfc7540) protocol. It
|
3
|
+
* can be accessed using:
|
4
|
+
*
|
5
|
+
* ```js
|
6
|
+
* const http2 = require('http2');
|
7
|
+
* ```
|
8
|
+
* @since v8.4.0
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/http2.js)
|
10
|
+
*/
|
11
|
+
declare module 'http2' {
|
12
|
+
import EventEmitter = require('node:events');
|
13
|
+
import * as fs from 'node:fs';
|
14
|
+
import * as net from 'node:net';
|
15
|
+
import * as stream from 'node:stream';
|
16
|
+
import * as tls from 'node:tls';
|
17
|
+
import * as url from 'node:url';
|
18
|
+
import { IncomingHttpHeaders as Http1IncomingHttpHeaders, OutgoingHttpHeaders, IncomingMessage, ServerResponse } from 'node:http';
|
19
|
+
export { OutgoingHttpHeaders } from 'node:http';
|
20
|
+
export interface IncomingHttpStatusHeader {
|
21
|
+
':status'?: number | undefined;
|
22
|
+
}
|
23
|
+
export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders {
|
24
|
+
':path'?: string | undefined;
|
25
|
+
':method'?: string | undefined;
|
26
|
+
':authority'?: string | undefined;
|
27
|
+
':scheme'?: string | undefined;
|
28
|
+
}
|
29
|
+
// Http2Stream
|
30
|
+
export interface StreamPriorityOptions {
|
31
|
+
exclusive?: boolean | undefined;
|
32
|
+
parent?: number | undefined;
|
33
|
+
weight?: number | undefined;
|
34
|
+
silent?: boolean | undefined;
|
35
|
+
}
|
36
|
+
export interface StreamState {
|
37
|
+
localWindowSize?: number | undefined;
|
38
|
+
state?: number | undefined;
|
39
|
+
localClose?: number | undefined;
|
40
|
+
remoteClose?: number | undefined;
|
41
|
+
sumDependencyWeight?: number | undefined;
|
42
|
+
weight?: number | undefined;
|
43
|
+
}
|
44
|
+
export interface ServerStreamResponseOptions {
|
45
|
+
endStream?: boolean | undefined;
|
46
|
+
waitForTrailers?: boolean | undefined;
|
47
|
+
}
|
48
|
+
export interface StatOptions {
|
49
|
+
offset: number;
|
50
|
+
length: number;
|
51
|
+
}
|
52
|
+
export interface ServerStreamFileResponseOptions {
|
53
|
+
statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean;
|
54
|
+
waitForTrailers?: boolean | undefined;
|
55
|
+
offset?: number | undefined;
|
56
|
+
length?: number | undefined;
|
57
|
+
}
|
58
|
+
export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions {
|
59
|
+
onError?(err: NodeJS.ErrnoException): void;
|
60
|
+
}
|
61
|
+
export interface Http2Stream extends stream.Duplex {
|
62
|
+
/**
|
63
|
+
* Set to `true` if the `Http2Stream` instance was aborted abnormally. When set,
|
64
|
+
* the `'aborted'` event will have been emitted.
|
65
|
+
* @since v8.4.0
|
66
|
+
*/
|
67
|
+
readonly aborted: boolean;
|
68
|
+
/**
|
69
|
+
* This property shows the number of characters currently buffered to be written.
|
70
|
+
* See `net.Socket.bufferSize` for details.
|
71
|
+
* @since v11.2.0, v10.16.0
|
72
|
+
*/
|
73
|
+
readonly bufferSize: number;
|
74
|
+
/**
|
75
|
+
* Set to `true` if the `Http2Stream` instance has been closed.
|
76
|
+
* @since v9.4.0
|
77
|
+
*/
|
78
|
+
readonly closed: boolean;
|
79
|
+
/**
|
80
|
+
* Set to `true` if the `Http2Stream` instance has been destroyed and is no longer
|
81
|
+
* usable.
|
82
|
+
* @since v8.4.0
|
83
|
+
*/
|
84
|
+
readonly destroyed: boolean;
|
85
|
+
/**
|
86
|
+
* Set the `true` if the `END_STREAM` flag was set in the request or response
|
87
|
+
* HEADERS frame received, indicating that no additional data should be received
|
88
|
+
* and the readable side of the `Http2Stream` will be closed.
|
89
|
+
* @since v10.11.0
|
90
|
+
*/
|
91
|
+
readonly endAfterHeaders: boolean;
|
92
|
+
/**
|
93
|
+
* The numeric stream identifier of this `Http2Stream` instance. Set to `undefined`if the stream identifier has not yet been assigned.
|
94
|
+
* @since v8.4.0
|
95
|
+
*/
|
96
|
+
readonly id?: number | undefined;
|
97
|
+
/**
|
98
|
+
* Set to `true` if the `Http2Stream` instance has not yet been assigned a
|
99
|
+
* numeric stream identifier.
|
100
|
+
* @since v9.4.0
|
101
|
+
*/
|
102
|
+
readonly pending: boolean;
|
103
|
+
/**
|
104
|
+
* Set to the `RST_STREAM` `error code` reported when the `Http2Stream` is
|
105
|
+
* destroyed after either receiving an `RST_STREAM` frame from the connected peer,
|
106
|
+
* calling `http2stream.close()`, or `http2stream.destroy()`. Will be`undefined` if the `Http2Stream` has not been closed.
|
107
|
+
* @since v8.4.0
|
108
|
+
*/
|
109
|
+
readonly rstCode: number;
|
110
|
+
/**
|
111
|
+
* An object containing the outbound headers sent for this `Http2Stream`.
|
112
|
+
* @since v9.5.0
|
113
|
+
*/
|
114
|
+
readonly sentHeaders: OutgoingHttpHeaders;
|
115
|
+
/**
|
116
|
+
* An array of objects containing the outbound informational (additional) headers
|
117
|
+
* sent for this `Http2Stream`.
|
118
|
+
* @since v9.5.0
|
119
|
+
*/
|
120
|
+
readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined;
|
121
|
+
/**
|
122
|
+
* An object containing the outbound trailers sent for this `HttpStream`.
|
123
|
+
* @since v9.5.0
|
124
|
+
*/
|
125
|
+
readonly sentTrailers?: OutgoingHttpHeaders | undefined;
|
126
|
+
/**
|
127
|
+
* A reference to the `Http2Session` instance that owns this `Http2Stream`. The
|
128
|
+
* value will be `undefined` after the `Http2Stream` instance is destroyed.
|
129
|
+
* @since v8.4.0
|
130
|
+
*/
|
131
|
+
readonly session: Http2Session;
|
132
|
+
/**
|
133
|
+
* Provides miscellaneous information about the current state of the`Http2Stream`.
|
134
|
+
*
|
135
|
+
* A current state of this `Http2Stream`.
|
136
|
+
* @since v8.4.0
|
137
|
+
*/
|
138
|
+
readonly state: StreamState;
|
139
|
+
/**
|
140
|
+
* Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the
|
141
|
+
* connected HTTP/2 peer.
|
142
|
+
* @since v8.4.0
|
143
|
+
* @param [code=http2.constants.NGHTTP2_NO_ERROR] Unsigned 32-bit integer identifying the error code.
|
144
|
+
* @param callback An optional function registered to listen for the `'close'` event.
|
145
|
+
*/
|
146
|
+
close(code?: number, callback?: () => void): void;
|
147
|
+
/**
|
148
|
+
* Updates the priority for this `Http2Stream` instance.
|
149
|
+
* @since v8.4.0
|
150
|
+
*/
|
151
|
+
priority(options: StreamPriorityOptions): void;
|
152
|
+
/**
|
153
|
+
* ```js
|
154
|
+
* const http2 = require('http2');
|
155
|
+
* const client = http2.connect('http://example.org:8000');
|
156
|
+
* const { NGHTTP2_CANCEL } = http2.constants;
|
157
|
+
* const req = client.request({ ':path': '/' });
|
158
|
+
*
|
159
|
+
* // Cancel the stream if there's no activity after 5 seconds
|
160
|
+
* req.setTimeout(5000, () => req.close(NGHTTP2_CANCEL));
|
161
|
+
* ```
|
162
|
+
* @since v8.4.0
|
163
|
+
*/
|
164
|
+
setTimeout(msecs: number, callback?: () => void): void;
|
165
|
+
/**
|
166
|
+
* Sends a trailing `HEADERS` frame to the connected HTTP/2 peer. This method
|
167
|
+
* will cause the `Http2Stream` to be immediately closed and must only be
|
168
|
+
* called after the `'wantTrailers'` event has been emitted. When sending a
|
169
|
+
* request or sending a response, the `options.waitForTrailers` option must be set
|
170
|
+
* in order to keep the `Http2Stream` open after the final `DATA` frame so that
|
171
|
+
* trailers can be sent.
|
172
|
+
*
|
173
|
+
* ```js
|
174
|
+
* const http2 = require('http2');
|
175
|
+
* const server = http2.createServer();
|
176
|
+
* server.on('stream', (stream) => {
|
177
|
+
* stream.respond(undefined, { waitForTrailers: true });
|
178
|
+
* stream.on('wantTrailers', () => {
|
179
|
+
* stream.sendTrailers({ xyz: 'abc' });
|
180
|
+
* });
|
181
|
+
* stream.end('Hello World');
|
182
|
+
* });
|
183
|
+
* ```
|
184
|
+
*
|
185
|
+
* The HTTP/1 specification forbids trailers from containing HTTP/2 pseudo-header
|
186
|
+
* fields (e.g. `':method'`, `':path'`, etc).
|
187
|
+
* @since v10.0.0
|
188
|
+
*/
|
189
|
+
sendTrailers(headers: OutgoingHttpHeaders): void;
|
190
|
+
addListener(event: 'aborted', listener: () => void): this;
|
191
|
+
addListener(event: 'close', listener: () => void): this;
|
192
|
+
addListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
193
|
+
addListener(event: 'drain', listener: () => void): this;
|
194
|
+
addListener(event: 'end', listener: () => void): this;
|
195
|
+
addListener(event: 'error', listener: (err: Error) => void): this;
|
196
|
+
addListener(event: 'finish', listener: () => void): this;
|
197
|
+
addListener(event: 'frameError', listener: (frameType: number, errorCode: number) => void): this;
|
198
|
+
addListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
199
|
+
addListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
200
|
+
addListener(event: 'streamClosed', listener: (code: number) => void): this;
|
201
|
+
addListener(event: 'timeout', listener: () => void): this;
|
202
|
+
addListener(event: 'trailers', listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
|
203
|
+
addListener(event: 'wantTrailers', listener: () => void): this;
|
204
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
205
|
+
emit(event: 'aborted'): boolean;
|
206
|
+
emit(event: 'close'): boolean;
|
207
|
+
emit(event: 'data', chunk: Buffer | string): boolean;
|
208
|
+
emit(event: 'drain'): boolean;
|
209
|
+
emit(event: 'end'): boolean;
|
210
|
+
emit(event: 'error', err: Error): boolean;
|
211
|
+
emit(event: 'finish'): boolean;
|
212
|
+
emit(event: 'frameError', frameType: number, errorCode: number): boolean;
|
213
|
+
emit(event: 'pipe', src: stream.Readable): boolean;
|
214
|
+
emit(event: 'unpipe', src: stream.Readable): boolean;
|
215
|
+
emit(event: 'streamClosed', code: number): boolean;
|
216
|
+
emit(event: 'timeout'): boolean;
|
217
|
+
emit(event: 'trailers', trailers: IncomingHttpHeaders, flags: number): boolean;
|
218
|
+
emit(event: 'wantTrailers'): boolean;
|
219
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
220
|
+
on(event: 'aborted', listener: () => void): this;
|
221
|
+
on(event: 'close', listener: () => void): this;
|
222
|
+
on(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
223
|
+
on(event: 'drain', listener: () => void): this;
|
224
|
+
on(event: 'end', listener: () => void): this;
|
225
|
+
on(event: 'error', listener: (err: Error) => void): this;
|
226
|
+
on(event: 'finish', listener: () => void): this;
|
227
|
+
on(event: 'frameError', listener: (frameType: number, errorCode: number) => void): this;
|
228
|
+
on(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
229
|
+
on(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
230
|
+
on(event: 'streamClosed', listener: (code: number) => void): this;
|
231
|
+
on(event: 'timeout', listener: () => void): this;
|
232
|
+
on(event: 'trailers', listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
|
233
|
+
on(event: 'wantTrailers', listener: () => void): this;
|
234
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
235
|
+
once(event: 'aborted', listener: () => void): this;
|
236
|
+
once(event: 'close', listener: () => void): this;
|
237
|
+
once(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
238
|
+
once(event: 'drain', listener: () => void): this;
|
239
|
+
once(event: 'end', listener: () => void): this;
|
240
|
+
once(event: 'error', listener: (err: Error) => void): this;
|
241
|
+
once(event: 'finish', listener: () => void): this;
|
242
|
+
once(event: 'frameError', listener: (frameType: number, errorCode: number) => void): this;
|
243
|
+
once(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
244
|
+
once(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
245
|
+
once(event: 'streamClosed', listener: (code: number) => void): this;
|
246
|
+
once(event: 'timeout', listener: () => void): this;
|
247
|
+
once(event: 'trailers', listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
|
248
|
+
once(event: 'wantTrailers', listener: () => void): this;
|
249
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
250
|
+
prependListener(event: 'aborted', listener: () => void): this;
|
251
|
+
prependListener(event: 'close', listener: () => void): this;
|
252
|
+
prependListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
253
|
+
prependListener(event: 'drain', listener: () => void): this;
|
254
|
+
prependListener(event: 'end', listener: () => void): this;
|
255
|
+
prependListener(event: 'error', listener: (err: Error) => void): this;
|
256
|
+
prependListener(event: 'finish', listener: () => void): this;
|
257
|
+
prependListener(event: 'frameError', listener: (frameType: number, errorCode: number) => void): this;
|
258
|
+
prependListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
259
|
+
prependListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
260
|
+
prependListener(event: 'streamClosed', listener: (code: number) => void): this;
|
261
|
+
prependListener(event: 'timeout', listener: () => void): this;
|
262
|
+
prependListener(event: 'trailers', listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
|
263
|
+
prependListener(event: 'wantTrailers', listener: () => void): this;
|
264
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
265
|
+
prependOnceListener(event: 'aborted', listener: () => void): this;
|
266
|
+
prependOnceListener(event: 'close', listener: () => void): this;
|
267
|
+
prependOnceListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
268
|
+
prependOnceListener(event: 'drain', listener: () => void): this;
|
269
|
+
prependOnceListener(event: 'end', listener: () => void): this;
|
270
|
+
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
271
|
+
prependOnceListener(event: 'finish', listener: () => void): this;
|
272
|
+
prependOnceListener(event: 'frameError', listener: (frameType: number, errorCode: number) => void): this;
|
273
|
+
prependOnceListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
274
|
+
prependOnceListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
275
|
+
prependOnceListener(event: 'streamClosed', listener: (code: number) => void): this;
|
276
|
+
prependOnceListener(event: 'timeout', listener: () => void): this;
|
277
|
+
prependOnceListener(event: 'trailers', listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
|
278
|
+
prependOnceListener(event: 'wantTrailers', listener: () => void): this;
|
279
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
280
|
+
}
|
281
|
+
export interface ClientHttp2Stream extends Http2Stream {
|
282
|
+
addListener(event: 'continue', listener: () => {}): this;
|
283
|
+
addListener(event: 'headers', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
284
|
+
addListener(event: 'push', listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
|
285
|
+
addListener(event: 'response', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
286
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
287
|
+
emit(event: 'continue'): boolean;
|
288
|
+
emit(event: 'headers', headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
|
289
|
+
emit(event: 'push', headers: IncomingHttpHeaders, flags: number): boolean;
|
290
|
+
emit(event: 'response', headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
|
291
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
292
|
+
on(event: 'continue', listener: () => {}): this;
|
293
|
+
on(event: 'headers', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
294
|
+
on(event: 'push', listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
|
295
|
+
on(event: 'response', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
296
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
297
|
+
once(event: 'continue', listener: () => {}): this;
|
298
|
+
once(event: 'headers', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
299
|
+
once(event: 'push', listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
|
300
|
+
once(event: 'response', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
301
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
302
|
+
prependListener(event: 'continue', listener: () => {}): this;
|
303
|
+
prependListener(event: 'headers', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
304
|
+
prependListener(event: 'push', listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
|
305
|
+
prependListener(event: 'response', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
306
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
307
|
+
prependOnceListener(event: 'continue', listener: () => {}): this;
|
308
|
+
prependOnceListener(event: 'headers', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
309
|
+
prependOnceListener(event: 'push', listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
|
310
|
+
prependOnceListener(event: 'response', listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
311
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
312
|
+
}
|
313
|
+
export interface ServerHttp2Stream extends Http2Stream {
|
314
|
+
/**
|
315
|
+
* True if headers were sent, false otherwise (read-only).
|
316
|
+
* @since v8.4.0
|
317
|
+
*/
|
318
|
+
readonly headersSent: boolean;
|
319
|
+
/**
|
320
|
+
* Read-only property mapped to the `SETTINGS_ENABLE_PUSH` flag of the remote
|
321
|
+
* client's most recent `SETTINGS` frame. Will be `true` if the remote peer
|
322
|
+
* accepts push streams, `false` otherwise. Settings are the same for every`Http2Stream` in the same `Http2Session`.
|
323
|
+
* @since v8.4.0
|
324
|
+
*/
|
325
|
+
readonly pushAllowed: boolean;
|
326
|
+
/**
|
327
|
+
* Sends an additional informational `HEADERS` frame to the connected HTTP/2 peer.
|
328
|
+
* @since v8.4.0
|
329
|
+
*/
|
330
|
+
additionalHeaders(headers: OutgoingHttpHeaders): void;
|
331
|
+
/**
|
332
|
+
* Initiates a push stream. The callback is invoked with the new `Http2Stream`instance created for the push stream passed as the second argument, or an`Error` passed as the first argument.
|
333
|
+
*
|
334
|
+
* ```js
|
335
|
+
* const http2 = require('http2');
|
336
|
+
* const server = http2.createServer();
|
337
|
+
* server.on('stream', (stream) => {
|
338
|
+
* stream.respond({ ':status': 200 });
|
339
|
+
* stream.pushStream({ ':path': '/' }, (err, pushStream, headers) => {
|
340
|
+
* if (err) throw err;
|
341
|
+
* pushStream.respond({ ':status': 200 });
|
342
|
+
* pushStream.end('some pushed data');
|
343
|
+
* });
|
344
|
+
* stream.end('some data');
|
345
|
+
* });
|
346
|
+
* ```
|
347
|
+
*
|
348
|
+
* Setting the weight of a push stream is not allowed in the `HEADERS` frame. Pass
|
349
|
+
* a `weight` value to `http2stream.priority` with the `silent` option set to`true` to enable server-side bandwidth balancing between concurrent streams.
|
350
|
+
*
|
351
|
+
* Calling `http2stream.pushStream()` from within a pushed stream is not permitted
|
352
|
+
* and will throw an error.
|
353
|
+
* @since v8.4.0
|
354
|
+
* @param callback Callback that is called once the push stream has been initiated.
|
355
|
+
*/
|
356
|
+
pushStream(headers: OutgoingHttpHeaders, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void;
|
357
|
+
pushStream(headers: OutgoingHttpHeaders, options?: StreamPriorityOptions, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void;
|
358
|
+
/**
|
359
|
+
* ```js
|
360
|
+
* const http2 = require('http2');
|
361
|
+
* const server = http2.createServer();
|
362
|
+
* server.on('stream', (stream) => {
|
363
|
+
* stream.respond({ ':status': 200 });
|
364
|
+
* stream.end('some data');
|
365
|
+
* });
|
366
|
+
* ```
|
367
|
+
*
|
368
|
+
* When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
|
369
|
+
* will be emitted immediately after queuing the last chunk of payload data to be
|
370
|
+
* sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
|
371
|
+
* header fields to the peer.
|
372
|
+
*
|
373
|
+
* When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
|
374
|
+
* close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`.
|
375
|
+
*
|
376
|
+
* ```js
|
377
|
+
* const http2 = require('http2');
|
378
|
+
* const server = http2.createServer();
|
379
|
+
* server.on('stream', (stream) => {
|
380
|
+
* stream.respond({ ':status': 200 }, { waitForTrailers: true });
|
381
|
+
* stream.on('wantTrailers', () => {
|
382
|
+
* stream.sendTrailers({ ABC: 'some value to send' });
|
383
|
+
* });
|
384
|
+
* stream.end('some data');
|
385
|
+
* });
|
386
|
+
* ```
|
387
|
+
* @since v8.4.0
|
388
|
+
*/
|
389
|
+
respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void;
|
390
|
+
/**
|
391
|
+
* Initiates a response whose data is read from the given file descriptor. No
|
392
|
+
* validation is performed on the given file descriptor. If an error occurs while
|
393
|
+
* attempting to read data using the file descriptor, the `Http2Stream` will be
|
394
|
+
* closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR` code.
|
395
|
+
*
|
396
|
+
* When used, the `Http2Stream` object's `Duplex` interface will be closed
|
397
|
+
* automatically.
|
398
|
+
*
|
399
|
+
* ```js
|
400
|
+
* const http2 = require('http2');
|
401
|
+
* const fs = require('fs');
|
402
|
+
*
|
403
|
+
* const server = http2.createServer();
|
404
|
+
* server.on('stream', (stream) => {
|
405
|
+
* const fd = fs.openSync('/some/file', 'r');
|
406
|
+
*
|
407
|
+
* const stat = fs.fstatSync(fd);
|
408
|
+
* const headers = {
|
409
|
+
* 'content-length': stat.size,
|
410
|
+
* 'last-modified': stat.mtime.toUTCString(),
|
411
|
+
* 'content-type': 'text/plain; charset=utf-8'
|
412
|
+
* };
|
413
|
+
* stream.respondWithFD(fd, headers);
|
414
|
+
* stream.on('close', () => fs.closeSync(fd));
|
415
|
+
* });
|
416
|
+
* ```
|
417
|
+
*
|
418
|
+
* The optional `options.statCheck` function may be specified to give user code
|
419
|
+
* an opportunity to set additional content headers based on the `fs.Stat` details
|
420
|
+
* of the given fd. If the `statCheck` function is provided, the`http2stream.respondWithFD()` method will perform an `fs.fstat()` call to
|
421
|
+
* collect details on the provided file descriptor.
|
422
|
+
*
|
423
|
+
* The `offset` and `length` options may be used to limit the response to a
|
424
|
+
* specific range subset. This can be used, for instance, to support HTTP Range
|
425
|
+
* requests.
|
426
|
+
*
|
427
|
+
* The file descriptor or `FileHandle` is not closed when the stream is closed,
|
428
|
+
* so it will need to be closed manually once it is no longer needed.
|
429
|
+
* Using the same file descriptor concurrently for multiple streams
|
430
|
+
* is not supported and may result in data loss. Re-using a file descriptor
|
431
|
+
* after a stream has finished is supported.
|
432
|
+
*
|
433
|
+
* When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
|
434
|
+
* will be emitted immediately after queuing the last chunk of payload data to be
|
435
|
+
* sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
|
436
|
+
* header fields to the peer.
|
437
|
+
*
|
438
|
+
* When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
|
439
|
+
* close when the final `DATA` frame is transmitted. User code _must_ call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`.
|
440
|
+
*
|
441
|
+
* ```js
|
442
|
+
* const http2 = require('http2');
|
443
|
+
* const fs = require('fs');
|
444
|
+
*
|
445
|
+
* const server = http2.createServer();
|
446
|
+
* server.on('stream', (stream) => {
|
447
|
+
* const fd = fs.openSync('/some/file', 'r');
|
448
|
+
*
|
449
|
+
* const stat = fs.fstatSync(fd);
|
450
|
+
* const headers = {
|
451
|
+
* 'content-length': stat.size,
|
452
|
+
* 'last-modified': stat.mtime.toUTCString(),
|
453
|
+
* 'content-type': 'text/plain; charset=utf-8'
|
454
|
+
* };
|
455
|
+
* stream.respondWithFD(fd, headers, { waitForTrailers: true });
|
456
|
+
* stream.on('wantTrailers', () => {
|
457
|
+
* stream.sendTrailers({ ABC: 'some value to send' });
|
458
|
+
* });
|
459
|
+
*
|
460
|
+
* stream.on('close', () => fs.closeSync(fd));
|
461
|
+
* });
|
462
|
+
* ```
|
463
|
+
* @since v8.4.0
|
464
|
+
* @param fd A readable file descriptor.
|
465
|
+
*/
|
466
|
+
respondWithFD(fd: number | fs.promises.FileHandle, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptions): void;
|
467
|
+
/**
|
468
|
+
* Sends a regular file as the response. The `path` must specify a regular file
|
469
|
+
* or an `'error'` event will be emitted on the `Http2Stream` object.
|
470
|
+
*
|
471
|
+
* When used, the `Http2Stream` object's `Duplex` interface will be closed
|
472
|
+
* automatically.
|
473
|
+
*
|
474
|
+
* The optional `options.statCheck` function may be specified to give user code
|
475
|
+
* an opportunity to set additional content headers based on the `fs.Stat` details
|
476
|
+
* of the given file:
|
477
|
+
*
|
478
|
+
* If an error occurs while attempting to read the file data, the `Http2Stream`will be closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR`code. If the `onError` callback is
|
479
|
+
* defined, then it will be called. Otherwise
|
480
|
+
* the stream will be destroyed.
|
481
|
+
*
|
482
|
+
* Example using a file path:
|
483
|
+
*
|
484
|
+
* ```js
|
485
|
+
* const http2 = require('http2');
|
486
|
+
* const server = http2.createServer();
|
487
|
+
* server.on('stream', (stream) => {
|
488
|
+
* function statCheck(stat, headers) {
|
489
|
+
* headers['last-modified'] = stat.mtime.toUTCString();
|
490
|
+
* }
|
491
|
+
*
|
492
|
+
* function onError(err) {
|
493
|
+
* // stream.respond() can throw if the stream has been destroyed by
|
494
|
+
* // the other side.
|
495
|
+
* try {
|
496
|
+
* if (err.code === 'ENOENT') {
|
497
|
+
* stream.respond({ ':status': 404 });
|
498
|
+
* } else {
|
499
|
+
* stream.respond({ ':status': 500 });
|
500
|
+
* }
|
501
|
+
* } catch (err) {
|
502
|
+
* // Perform actual error handling.
|
503
|
+
* console.log(err);
|
504
|
+
* }
|
505
|
+
* stream.end();
|
506
|
+
* }
|
507
|
+
*
|
508
|
+
* stream.respondWithFile('/some/file',
|
509
|
+
* { 'content-type': 'text/plain; charset=utf-8' },
|
510
|
+
* { statCheck, onError });
|
511
|
+
* });
|
512
|
+
* ```
|
513
|
+
*
|
514
|
+
* The `options.statCheck` function may also be used to cancel the send operation
|
515
|
+
* by returning `false`. For instance, a conditional request may check the stat
|
516
|
+
* results to determine if the file has been modified to return an appropriate`304` response:
|
517
|
+
*
|
518
|
+
* ```js
|
519
|
+
* const http2 = require('http2');
|
520
|
+
* const server = http2.createServer();
|
521
|
+
* server.on('stream', (stream) => {
|
522
|
+
* function statCheck(stat, headers) {
|
523
|
+
* // Check the stat here...
|
524
|
+
* stream.respond({ ':status': 304 });
|
525
|
+
* return false; // Cancel the send operation
|
526
|
+
* }
|
527
|
+
* stream.respondWithFile('/some/file',
|
528
|
+
* { 'content-type': 'text/plain; charset=utf-8' },
|
529
|
+
* { statCheck });
|
530
|
+
* });
|
531
|
+
* ```
|
532
|
+
*
|
533
|
+
* The `content-length` header field will be automatically set.
|
534
|
+
*
|
535
|
+
* The `offset` and `length` options may be used to limit the response to a
|
536
|
+
* specific range subset. This can be used, for instance, to support HTTP Range
|
537
|
+
* requests.
|
538
|
+
*
|
539
|
+
* The `options.onError` function may also be used to handle all the errors
|
540
|
+
* that could happen before the delivery of the file is initiated. The
|
541
|
+
* default behavior is to destroy the stream.
|
542
|
+
*
|
543
|
+
* When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
|
544
|
+
* will be emitted immediately after queuing the last chunk of payload data to be
|
545
|
+
* sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
|
546
|
+
* header fields to the peer.
|
547
|
+
*
|
548
|
+
* When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
|
549
|
+
* close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`.
|
550
|
+
*
|
551
|
+
* ```js
|
552
|
+
* const http2 = require('http2');
|
553
|
+
* const server = http2.createServer();
|
554
|
+
* server.on('stream', (stream) => {
|
555
|
+
* stream.respondWithFile('/some/file',
|
556
|
+
* { 'content-type': 'text/plain; charset=utf-8' },
|
557
|
+
* { waitForTrailers: true });
|
558
|
+
* stream.on('wantTrailers', () => {
|
559
|
+
* stream.sendTrailers({ ABC: 'some value to send' });
|
560
|
+
* });
|
561
|
+
* });
|
562
|
+
* ```
|
563
|
+
* @since v8.4.0
|
564
|
+
*/
|
565
|
+
respondWithFile(path: string, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptionsWithError): void;
|
566
|
+
}
|
567
|
+
// Http2Session
|
568
|
+
export interface Settings {
|
569
|
+
headerTableSize?: number | undefined;
|
570
|
+
enablePush?: boolean | undefined;
|
571
|
+
initialWindowSize?: number | undefined;
|
572
|
+
maxFrameSize?: number | undefined;
|
573
|
+
maxConcurrentStreams?: number | undefined;
|
574
|
+
maxHeaderListSize?: number | undefined;
|
575
|
+
enableConnectProtocol?: boolean | undefined;
|
576
|
+
}
|
577
|
+
export interface ClientSessionRequestOptions {
|
578
|
+
endStream?: boolean | undefined;
|
579
|
+
exclusive?: boolean | undefined;
|
580
|
+
parent?: number | undefined;
|
581
|
+
weight?: number | undefined;
|
582
|
+
waitForTrailers?: boolean | undefined;
|
583
|
+
}
|
584
|
+
export interface SessionState {
|
585
|
+
effectiveLocalWindowSize?: number | undefined;
|
586
|
+
effectiveRecvDataLength?: number | undefined;
|
587
|
+
nextStreamID?: number | undefined;
|
588
|
+
localWindowSize?: number | undefined;
|
589
|
+
lastProcStreamID?: number | undefined;
|
590
|
+
remoteWindowSize?: number | undefined;
|
591
|
+
outboundQueueSize?: number | undefined;
|
592
|
+
deflateDynamicTableSize?: number | undefined;
|
593
|
+
inflateDynamicTableSize?: number | undefined;
|
594
|
+
}
|
595
|
+
export interface Http2Session extends EventEmitter {
|
596
|
+
/**
|
597
|
+
* Value will be `undefined` if the `Http2Session` is not yet connected to a
|
598
|
+
* socket, `h2c` if the `Http2Session` is not connected to a `TLSSocket`, or
|
599
|
+
* will return the value of the connected `TLSSocket`'s own `alpnProtocol`property.
|
600
|
+
* @since v9.4.0
|
601
|
+
*/
|
602
|
+
readonly alpnProtocol?: string | undefined;
|
603
|
+
/**
|
604
|
+
* Will be `true` if this `Http2Session` instance has been closed, otherwise`false`.
|
605
|
+
* @since v9.4.0
|
606
|
+
*/
|
607
|
+
readonly closed: boolean;
|
608
|
+
/**
|
609
|
+
* Will be `true` if this `Http2Session` instance is still connecting, will be set
|
610
|
+
* to `false` before emitting `connect` event and/or calling the `http2.connect`callback.
|
611
|
+
* @since v10.0.0
|
612
|
+
*/
|
613
|
+
readonly connecting: boolean;
|
614
|
+
/**
|
615
|
+
* Will be `true` if this `Http2Session` instance has been destroyed and must no
|
616
|
+
* longer be used, otherwise `false`.
|
617
|
+
* @since v8.4.0
|
618
|
+
*/
|
619
|
+
readonly destroyed: boolean;
|
620
|
+
/**
|
621
|
+
* Value is `undefined` if the `Http2Session` session socket has not yet been
|
622
|
+
* connected, `true` if the `Http2Session` is connected with a `TLSSocket`,
|
623
|
+
* and `false` if the `Http2Session` is connected to any other kind of socket
|
624
|
+
* or stream.
|
625
|
+
* @since v9.4.0
|
626
|
+
*/
|
627
|
+
readonly encrypted?: boolean | undefined;
|
628
|
+
/**
|
629
|
+
* A prototype-less object describing the current local settings of this`Http2Session`. The local settings are local to _this_`Http2Session` instance.
|
630
|
+
* @since v8.4.0
|
631
|
+
*/
|
632
|
+
readonly localSettings: Settings;
|
633
|
+
/**
|
634
|
+
* If the `Http2Session` is connected to a `TLSSocket`, the `originSet` property
|
635
|
+
* will return an `Array` of origins for which the `Http2Session` may be
|
636
|
+
* considered authoritative.
|
637
|
+
*
|
638
|
+
* The `originSet` property is only available when using a secure TLS connection.
|
639
|
+
* @since v9.4.0
|
640
|
+
*/
|
641
|
+
readonly originSet?: string[] | undefined;
|
642
|
+
/**
|
643
|
+
* Indicates whether the `Http2Session` is currently waiting for acknowledgment of
|
644
|
+
* a sent `SETTINGS` frame. Will be `true` after calling the`http2session.settings()` method. Will be `false` once all sent `SETTINGS`frames have been acknowledged.
|
645
|
+
* @since v8.4.0
|
646
|
+
*/
|
647
|
+
readonly pendingSettingsAck: boolean;
|
648
|
+
/**
|
649
|
+
* A prototype-less object describing the current remote settings of this`Http2Session`. The remote settings are set by the _connected_ HTTP/2 peer.
|
650
|
+
* @since v8.4.0
|
651
|
+
*/
|
652
|
+
readonly remoteSettings: Settings;
|
653
|
+
/**
|
654
|
+
* Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but
|
655
|
+
* limits available methods to ones safe to use with HTTP/2.
|
656
|
+
*
|
657
|
+
* `destroy`, `emit`, `end`, `pause`, `read`, `resume`, and `write` will throw
|
658
|
+
* an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for more information.
|
659
|
+
*
|
660
|
+
* `setTimeout` method will be called on this `Http2Session`.
|
661
|
+
*
|
662
|
+
* All other interactions will be routed directly to the socket.
|
663
|
+
* @since v8.4.0
|
664
|
+
*/
|
665
|
+
readonly socket: net.Socket | tls.TLSSocket;
|
666
|
+
/**
|
667
|
+
* Provides miscellaneous information about the current state of the`Http2Session`.
|
668
|
+
*
|
669
|
+
* An object describing the current status of this `Http2Session`.
|
670
|
+
* @since v8.4.0
|
671
|
+
*/
|
672
|
+
readonly state: SessionState;
|
673
|
+
/**
|
674
|
+
* The `http2session.type` will be equal to`http2.constants.NGHTTP2_SESSION_SERVER` if this `Http2Session` instance is a
|
675
|
+
* server, and `http2.constants.NGHTTP2_SESSION_CLIENT` if the instance is a
|
676
|
+
* client.
|
677
|
+
* @since v8.4.0
|
678
|
+
*/
|
679
|
+
readonly type: number;
|
680
|
+
/**
|
681
|
+
* Gracefully closes the `Http2Session`, allowing any existing streams to
|
682
|
+
* complete on their own and preventing new `Http2Stream` instances from being
|
683
|
+
* created. Once closed, `http2session.destroy()`_might_ be called if there
|
684
|
+
* are no open `Http2Stream` instances.
|
685
|
+
*
|
686
|
+
* If specified, the `callback` function is registered as a handler for the`'close'` event.
|
687
|
+
* @since v9.4.0
|
688
|
+
*/
|
689
|
+
close(callback?: () => void): void;
|
690
|
+
/**
|
691
|
+
* Immediately terminates the `Http2Session` and the associated `net.Socket` or`tls.TLSSocket`.
|
692
|
+
*
|
693
|
+
* Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`is not undefined, an `'error'` event will be emitted immediately before the`'close'` event.
|
694
|
+
*
|
695
|
+
* If there are any remaining open `Http2Streams` associated with the`Http2Session`, those will also be destroyed.
|
696
|
+
* @since v8.4.0
|
697
|
+
* @param error An `Error` object if the `Http2Session` is being destroyed due to an error.
|
698
|
+
* @param code The HTTP/2 error code to send in the final `GOAWAY` frame. If unspecified, and `error` is not undefined, the default is `INTERNAL_ERROR`, otherwise defaults to `NO_ERROR`.
|
699
|
+
*/
|
700
|
+
destroy(error?: Error, code?: number): void;
|
701
|
+
/**
|
702
|
+
* Transmits a `GOAWAY` frame to the connected peer _without_ shutting down the`Http2Session`.
|
703
|
+
* @since v9.4.0
|
704
|
+
* @param code An HTTP/2 error code
|
705
|
+
* @param lastStreamID The numeric ID of the last processed `Http2Stream`
|
706
|
+
* @param opaqueData A `TypedArray` or `DataView` instance containing additional data to be carried within the `GOAWAY` frame.
|
707
|
+
*/
|
708
|
+
goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void;
|
709
|
+
/**
|
710
|
+
* Sends a `PING` frame to the connected HTTP/2 peer. A `callback` function must
|
711
|
+
* be provided. The method will return `true` if the `PING` was sent, `false`otherwise.
|
712
|
+
*
|
713
|
+
* The maximum number of outstanding (unacknowledged) pings is determined by the`maxOutstandingPings` configuration option. The default maximum is 10.
|
714
|
+
*
|
715
|
+
* If provided, the `payload` must be a `Buffer`, `TypedArray`, or `DataView`containing 8 bytes of data that will be transmitted with the `PING` and
|
716
|
+
* returned with the ping acknowledgment.
|
717
|
+
*
|
718
|
+
* The callback will be invoked with three arguments: an error argument that will
|
719
|
+
* be `null` if the `PING` was successfully acknowledged, a `duration` argument
|
720
|
+
* that reports the number of milliseconds elapsed since the ping was sent and the
|
721
|
+
* acknowledgment was received, and a `Buffer` containing the 8-byte `PING`payload.
|
722
|
+
*
|
723
|
+
* ```js
|
724
|
+
* session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => {
|
725
|
+
* if (!err) {
|
726
|
+
* console.log(`Ping acknowledged in ${duration} milliseconds`);
|
727
|
+
* console.log(`With payload '${payload.toString()}'`);
|
728
|
+
* }
|
729
|
+
* });
|
730
|
+
* ```
|
731
|
+
*
|
732
|
+
* If the `payload` argument is not specified, the default payload will be the
|
733
|
+
* 64-bit timestamp (little endian) marking the start of the `PING` duration.
|
734
|
+
* @since v8.9.3
|
735
|
+
* @param payload Optional ping payload.
|
736
|
+
*/
|
737
|
+
ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean;
|
738
|
+
ping(payload: NodeJS.ArrayBufferView, callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean;
|
739
|
+
/**
|
740
|
+
* Calls `ref()` on this `Http2Session`instance's underlying `net.Socket`.
|
741
|
+
* @since v9.4.0
|
742
|
+
*/
|
743
|
+
ref(): void;
|
744
|
+
/**
|
745
|
+
* Sets the local endpoint's window size.
|
746
|
+
* The `windowSize` is the total window size to set, not
|
747
|
+
* the delta.
|
748
|
+
*
|
749
|
+
* ```js
|
750
|
+
* const http2 = require('http2');
|
751
|
+
*
|
752
|
+
* const server = http2.createServer();
|
753
|
+
* const expectedWindowSize = 2 ** 20;
|
754
|
+
* server.on('connect', (session) => {
|
755
|
+
*
|
756
|
+
* // Set local window size to be 2 ** 20
|
757
|
+
* session.setLocalWindowSize(expectedWindowSize);
|
758
|
+
* });
|
759
|
+
* ```
|
760
|
+
* @since v15.3.0, v14.18.0
|
761
|
+
*/
|
762
|
+
setLocalWindowSize(windowSize: number): void;
|
763
|
+
/**
|
764
|
+
* Used to set a callback function that is called when there is no activity on
|
765
|
+
* the `Http2Session` after `msecs` milliseconds. The given `callback` is
|
766
|
+
* registered as a listener on the `'timeout'` event.
|
767
|
+
* @since v8.4.0
|
768
|
+
*/
|
769
|
+
setTimeout(msecs: number, callback?: () => void): void;
|
770
|
+
/**
|
771
|
+
* Updates the current local settings for this `Http2Session` and sends a new`SETTINGS` frame to the connected HTTP/2 peer.
|
772
|
+
*
|
773
|
+
* Once called, the `http2session.pendingSettingsAck` property will be `true`while the session is waiting for the remote peer to acknowledge the new
|
774
|
+
* settings.
|
775
|
+
*
|
776
|
+
* The new settings will not become effective until the `SETTINGS` acknowledgment
|
777
|
+
* is received and the `'localSettings'` event is emitted. It is possible to send
|
778
|
+
* multiple `SETTINGS` frames while acknowledgment is still pending.
|
779
|
+
* @since v8.4.0
|
780
|
+
* @param callback Callback that is called once the session is connected or right away if the session is already connected.
|
781
|
+
*/
|
782
|
+
settings(settings: Settings): void;
|
783
|
+
/**
|
784
|
+
* Calls `unref()` on this `Http2Session`instance's underlying `net.Socket`.
|
785
|
+
* @since v9.4.0
|
786
|
+
*/
|
787
|
+
unref(): void;
|
788
|
+
addListener(event: 'close', listener: () => void): this;
|
789
|
+
addListener(event: 'error', listener: (err: Error) => void): this;
|
790
|
+
addListener(event: 'frameError', listener: (frameType: number, errorCode: number, streamID: number) => void): this;
|
791
|
+
addListener(event: 'goaway', listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
|
792
|
+
addListener(event: 'localSettings', listener: (settings: Settings) => void): this;
|
793
|
+
addListener(event: 'ping', listener: () => void): this;
|
794
|
+
addListener(event: 'remoteSettings', listener: (settings: Settings) => void): this;
|
795
|
+
addListener(event: 'timeout', listener: () => void): this;
|
796
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
797
|
+
emit(event: 'close'): boolean;
|
798
|
+
emit(event: 'error', err: Error): boolean;
|
799
|
+
emit(event: 'frameError', frameType: number, errorCode: number, streamID: number): boolean;
|
800
|
+
emit(event: 'goaway', errorCode: number, lastStreamID: number, opaqueData: Buffer): boolean;
|
801
|
+
emit(event: 'localSettings', settings: Settings): boolean;
|
802
|
+
emit(event: 'ping'): boolean;
|
803
|
+
emit(event: 'remoteSettings', settings: Settings): boolean;
|
804
|
+
emit(event: 'timeout'): boolean;
|
805
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
806
|
+
on(event: 'close', listener: () => void): this;
|
807
|
+
on(event: 'error', listener: (err: Error) => void): this;
|
808
|
+
on(event: 'frameError', listener: (frameType: number, errorCode: number, streamID: number) => void): this;
|
809
|
+
on(event: 'goaway', listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
|
810
|
+
on(event: 'localSettings', listener: (settings: Settings) => void): this;
|
811
|
+
on(event: 'ping', listener: () => void): this;
|
812
|
+
on(event: 'remoteSettings', listener: (settings: Settings) => void): this;
|
813
|
+
on(event: 'timeout', listener: () => void): this;
|
814
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
815
|
+
once(event: 'close', listener: () => void): this;
|
816
|
+
once(event: 'error', listener: (err: Error) => void): this;
|
817
|
+
once(event: 'frameError', listener: (frameType: number, errorCode: number, streamID: number) => void): this;
|
818
|
+
once(event: 'goaway', listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
|
819
|
+
once(event: 'localSettings', listener: (settings: Settings) => void): this;
|
820
|
+
once(event: 'ping', listener: () => void): this;
|
821
|
+
once(event: 'remoteSettings', listener: (settings: Settings) => void): this;
|
822
|
+
once(event: 'timeout', listener: () => void): this;
|
823
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
824
|
+
prependListener(event: 'close', listener: () => void): this;
|
825
|
+
prependListener(event: 'error', listener: (err: Error) => void): this;
|
826
|
+
prependListener(event: 'frameError', listener: (frameType: number, errorCode: number, streamID: number) => void): this;
|
827
|
+
prependListener(event: 'goaway', listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
|
828
|
+
prependListener(event: 'localSettings', listener: (settings: Settings) => void): this;
|
829
|
+
prependListener(event: 'ping', listener: () => void): this;
|
830
|
+
prependListener(event: 'remoteSettings', listener: (settings: Settings) => void): this;
|
831
|
+
prependListener(event: 'timeout', listener: () => void): this;
|
832
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
833
|
+
prependOnceListener(event: 'close', listener: () => void): this;
|
834
|
+
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
835
|
+
prependOnceListener(event: 'frameError', listener: (frameType: number, errorCode: number, streamID: number) => void): this;
|
836
|
+
prependOnceListener(event: 'goaway', listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
|
837
|
+
prependOnceListener(event: 'localSettings', listener: (settings: Settings) => void): this;
|
838
|
+
prependOnceListener(event: 'ping', listener: () => void): this;
|
839
|
+
prependOnceListener(event: 'remoteSettings', listener: (settings: Settings) => void): this;
|
840
|
+
prependOnceListener(event: 'timeout', listener: () => void): this;
|
841
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
842
|
+
}
|
843
|
+
export interface ClientHttp2Session extends Http2Session {
|
844
|
+
/**
|
845
|
+
* For HTTP/2 Client `Http2Session` instances only, the `http2session.request()`creates and returns an `Http2Stream` instance that can be used to send an
|
846
|
+
* HTTP/2 request to the connected server.
|
847
|
+
*
|
848
|
+
* This method is only available if `http2session.type` is equal to`http2.constants.NGHTTP2_SESSION_CLIENT`.
|
849
|
+
*
|
850
|
+
* ```js
|
851
|
+
* const http2 = require('http2');
|
852
|
+
* const clientSession = http2.connect('https://localhost:1234');
|
853
|
+
* const {
|
854
|
+
* HTTP2_HEADER_PATH,
|
855
|
+
* HTTP2_HEADER_STATUS
|
856
|
+
* } = http2.constants;
|
857
|
+
*
|
858
|
+
* const req = clientSession.request({ [HTTP2_HEADER_PATH]: '/' });
|
859
|
+
* req.on('response', (headers) => {
|
860
|
+
* console.log(headers[HTTP2_HEADER_STATUS]);
|
861
|
+
* req.on('data', (chunk) => { // .. });
|
862
|
+
* req.on('end', () => { // .. });
|
863
|
+
* });
|
864
|
+
* ```
|
865
|
+
*
|
866
|
+
* When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
|
867
|
+
* is emitted immediately after queuing the last chunk of payload data to be sent.
|
868
|
+
* The `http2stream.sendTrailers()` method can then be called to send trailing
|
869
|
+
* headers to the peer.
|
870
|
+
*
|
871
|
+
* When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
|
872
|
+
* close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`.
|
873
|
+
*
|
874
|
+
* When `options.signal` is set with an `AbortSignal` and then `abort` on the
|
875
|
+
* corresponding `AbortController` is called, the request will emit an `'error'`event with an `AbortError` error.
|
876
|
+
*
|
877
|
+
* The `:method` and `:path` pseudo-headers are not specified within `headers`,
|
878
|
+
* they respectively default to:
|
879
|
+
*
|
880
|
+
* * `:method` \= `'GET'`
|
881
|
+
* * `:path` \= `/`
|
882
|
+
* @since v8.4.0
|
883
|
+
*/
|
884
|
+
request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream;
|
885
|
+
addListener(event: 'altsvc', listener: (alt: string, origin: string, stream: number) => void): this;
|
886
|
+
addListener(event: 'origin', listener: (origins: string[]) => void): this;
|
887
|
+
addListener(event: 'connect', listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
888
|
+
addListener(event: 'stream', listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
889
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
890
|
+
emit(event: 'altsvc', alt: string, origin: string, stream: number): boolean;
|
891
|
+
emit(event: 'origin', origins: ReadonlyArray<string>): boolean;
|
892
|
+
emit(event: 'connect', session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean;
|
893
|
+
emit(event: 'stream', stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
|
894
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
895
|
+
on(event: 'altsvc', listener: (alt: string, origin: string, stream: number) => void): this;
|
896
|
+
on(event: 'origin', listener: (origins: string[]) => void): this;
|
897
|
+
on(event: 'connect', listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
898
|
+
on(event: 'stream', listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
899
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
900
|
+
once(event: 'altsvc', listener: (alt: string, origin: string, stream: number) => void): this;
|
901
|
+
once(event: 'origin', listener: (origins: string[]) => void): this;
|
902
|
+
once(event: 'connect', listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
903
|
+
once(event: 'stream', listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
904
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
905
|
+
prependListener(event: 'altsvc', listener: (alt: string, origin: string, stream: number) => void): this;
|
906
|
+
prependListener(event: 'origin', listener: (origins: string[]) => void): this;
|
907
|
+
prependListener(event: 'connect', listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
908
|
+
prependListener(event: 'stream', listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
909
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
910
|
+
prependOnceListener(event: 'altsvc', listener: (alt: string, origin: string, stream: number) => void): this;
|
911
|
+
prependOnceListener(event: 'origin', listener: (origins: string[]) => void): this;
|
912
|
+
prependOnceListener(event: 'connect', listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
913
|
+
prependOnceListener(event: 'stream', listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
|
914
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
915
|
+
}
|
916
|
+
export interface AlternativeServiceOptions {
|
917
|
+
origin: number | string | url.URL;
|
918
|
+
}
|
919
|
+
export interface ServerHttp2Session extends Http2Session {
|
920
|
+
readonly server: Http2Server | Http2SecureServer;
|
921
|
+
/**
|
922
|
+
* Submits an `ALTSVC` frame (as defined by [RFC 7838](https://tools.ietf.org/html/rfc7838)) to the connected client.
|
923
|
+
*
|
924
|
+
* ```js
|
925
|
+
* const http2 = require('http2');
|
926
|
+
*
|
927
|
+
* const server = http2.createServer();
|
928
|
+
* server.on('session', (session) => {
|
929
|
+
* // Set altsvc for origin https://example.org:80
|
930
|
+
* session.altsvc('h2=":8000"', 'https://example.org:80');
|
931
|
+
* });
|
932
|
+
*
|
933
|
+
* server.on('stream', (stream) => {
|
934
|
+
* // Set altsvc for a specific stream
|
935
|
+
* stream.session.altsvc('h2=":8000"', stream.id);
|
936
|
+
* });
|
937
|
+
* ```
|
938
|
+
*
|
939
|
+
* Sending an `ALTSVC` frame with a specific stream ID indicates that the alternate
|
940
|
+
* service is associated with the origin of the given `Http2Stream`.
|
941
|
+
*
|
942
|
+
* The `alt` and origin string _must_ contain only ASCII bytes and are
|
943
|
+
* strictly interpreted as a sequence of ASCII bytes. The special value `'clear'`may be passed to clear any previously set alternative service for a given
|
944
|
+
* domain.
|
945
|
+
*
|
946
|
+
* When a string is passed for the `originOrStream` argument, it will be parsed as
|
947
|
+
* a URL and the origin will be derived. For instance, the origin for the
|
948
|
+
* HTTP URL `'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given string
|
949
|
+
* cannot be parsed as a URL or if a valid origin cannot be derived.
|
950
|
+
*
|
951
|
+
* A `URL` object, or any object with an `origin` property, may be passed as`originOrStream`, in which case the value of the `origin` property will be
|
952
|
+
* used. The value of the `origin` property _must_ be a properly serialized
|
953
|
+
* ASCII origin.
|
954
|
+
* @since v9.4.0
|
955
|
+
* @param alt A description of the alternative service configuration as defined by `RFC 7838`.
|
956
|
+
* @param originOrStream Either a URL string specifying the origin (or an `Object` with an `origin` property) or the numeric identifier of an active `Http2Stream` as given by the
|
957
|
+
* `http2stream.id` property.
|
958
|
+
*/
|
959
|
+
altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void;
|
960
|
+
/**
|
961
|
+
* Submits an `ORIGIN` frame (as defined by [RFC 8336](https://tools.ietf.org/html/rfc8336)) to the connected client
|
962
|
+
* to advertise the set of origins for which the server is capable of providing
|
963
|
+
* authoritative responses.
|
964
|
+
*
|
965
|
+
* ```js
|
966
|
+
* const http2 = require('http2');
|
967
|
+
* const options = getSecureOptionsSomehow();
|
968
|
+
* const server = http2.createSecureServer(options);
|
969
|
+
* server.on('stream', (stream) => {
|
970
|
+
* stream.respond();
|
971
|
+
* stream.end('ok');
|
972
|
+
* });
|
973
|
+
* server.on('session', (session) => {
|
974
|
+
* session.origin('https://example.com', 'https://example.org');
|
975
|
+
* });
|
976
|
+
* ```
|
977
|
+
*
|
978
|
+
* When a string is passed as an `origin`, it will be parsed as a URL and the
|
979
|
+
* origin will be derived. For instance, the origin for the HTTP URL`'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given
|
980
|
+
* string
|
981
|
+
* cannot be parsed as a URL or if a valid origin cannot be derived.
|
982
|
+
*
|
983
|
+
* A `URL` object, or any object with an `origin` property, may be passed as
|
984
|
+
* an `origin`, in which case the value of the `origin` property will be
|
985
|
+
* used. The value of the `origin` property _must_ be a properly serialized
|
986
|
+
* ASCII origin.
|
987
|
+
*
|
988
|
+
* Alternatively, the `origins` option may be used when creating a new HTTP/2
|
989
|
+
* server using the `http2.createSecureServer()` method:
|
990
|
+
*
|
991
|
+
* ```js
|
992
|
+
* const http2 = require('http2');
|
993
|
+
* const options = getSecureOptionsSomehow();
|
994
|
+
* options.origins = ['https://example.com', 'https://example.org'];
|
995
|
+
* const server = http2.createSecureServer(options);
|
996
|
+
* server.on('stream', (stream) => {
|
997
|
+
* stream.respond();
|
998
|
+
* stream.end('ok');
|
999
|
+
* });
|
1000
|
+
* ```
|
1001
|
+
* @since v10.12.0
|
1002
|
+
* @param origins One or more URL Strings passed as separate arguments.
|
1003
|
+
*/
|
1004
|
+
origin(
|
1005
|
+
...origins: Array<
|
1006
|
+
| string
|
1007
|
+
| url.URL
|
1008
|
+
| {
|
1009
|
+
origin: string;
|
1010
|
+
}
|
1011
|
+
>
|
1012
|
+
): void;
|
1013
|
+
addListener(event: 'connect', listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
1014
|
+
addListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1015
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1016
|
+
emit(event: 'connect', session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean;
|
1017
|
+
emit(event: 'stream', stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
|
1018
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
1019
|
+
on(event: 'connect', listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
1020
|
+
on(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1021
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
1022
|
+
once(event: 'connect', listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
1023
|
+
once(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1024
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
1025
|
+
prependListener(event: 'connect', listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
1026
|
+
prependListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1027
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1028
|
+
prependOnceListener(event: 'connect', listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
|
1029
|
+
prependOnceListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1030
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1031
|
+
}
|
1032
|
+
// Http2Server
|
1033
|
+
export interface SessionOptions {
|
1034
|
+
maxDeflateDynamicTableSize?: number | undefined;
|
1035
|
+
maxSessionMemory?: number | undefined;
|
1036
|
+
maxHeaderListPairs?: number | undefined;
|
1037
|
+
maxOutstandingPings?: number | undefined;
|
1038
|
+
maxSendHeaderBlockLength?: number | undefined;
|
1039
|
+
paddingStrategy?: number | undefined;
|
1040
|
+
peerMaxConcurrentStreams?: number | undefined;
|
1041
|
+
settings?: Settings | undefined;
|
1042
|
+
/**
|
1043
|
+
* Specifies a timeout in milliseconds that
|
1044
|
+
* a server should wait when an [`'unknownProtocol'`][] is emitted. If the
|
1045
|
+
* socket has not been destroyed by that time the server will destroy it.
|
1046
|
+
* @default 100000
|
1047
|
+
*/
|
1048
|
+
unknownProtocolTimeout?: number | undefined;
|
1049
|
+
selectPadding?(frameLen: number, maxFrameLen: number): number;
|
1050
|
+
createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex;
|
1051
|
+
}
|
1052
|
+
export interface ClientSessionOptions extends SessionOptions {
|
1053
|
+
maxReservedRemoteStreams?: number | undefined;
|
1054
|
+
createConnection?: ((authority: url.URL, option: SessionOptions) => stream.Duplex) | undefined;
|
1055
|
+
protocol?: 'http:' | 'https:' | undefined;
|
1056
|
+
}
|
1057
|
+
export interface ServerSessionOptions extends SessionOptions {
|
1058
|
+
Http1IncomingMessage?: typeof IncomingMessage | undefined;
|
1059
|
+
Http1ServerResponse?: typeof ServerResponse | undefined;
|
1060
|
+
Http2ServerRequest?: typeof Http2ServerRequest | undefined;
|
1061
|
+
Http2ServerResponse?: typeof Http2ServerResponse | undefined;
|
1062
|
+
}
|
1063
|
+
export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {}
|
1064
|
+
export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions {}
|
1065
|
+
export interface ServerOptions extends ServerSessionOptions {}
|
1066
|
+
export interface SecureServerOptions extends SecureServerSessionOptions {
|
1067
|
+
allowHTTP1?: boolean | undefined;
|
1068
|
+
origins?: string[] | undefined;
|
1069
|
+
}
|
1070
|
+
interface HTTP2ServerCommon {
|
1071
|
+
setTimeout(msec?: number, callback?: () => void): this;
|
1072
|
+
/**
|
1073
|
+
* Throws ERR_HTTP2_INVALID_SETTING_VALUE for invalid settings values.
|
1074
|
+
* Throws ERR_INVALID_ARG_TYPE for invalid settings argument.
|
1075
|
+
*/
|
1076
|
+
updateSettings(settings: Settings): void;
|
1077
|
+
}
|
1078
|
+
export interface Http2Server extends net.Server, HTTP2ServerCommon {
|
1079
|
+
addListener(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1080
|
+
addListener(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1081
|
+
addListener(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1082
|
+
addListener(event: 'sessionError', listener: (err: Error) => void): this;
|
1083
|
+
addListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1084
|
+
addListener(event: 'timeout', listener: () => void): this;
|
1085
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1086
|
+
emit(event: 'checkContinue', request: Http2ServerRequest, response: Http2ServerResponse): boolean;
|
1087
|
+
emit(event: 'request', request: Http2ServerRequest, response: Http2ServerResponse): boolean;
|
1088
|
+
emit(event: 'session', session: ServerHttp2Session): boolean;
|
1089
|
+
emit(event: 'sessionError', err: Error): boolean;
|
1090
|
+
emit(event: 'stream', stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
|
1091
|
+
emit(event: 'timeout'): boolean;
|
1092
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
1093
|
+
on(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1094
|
+
on(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1095
|
+
on(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1096
|
+
on(event: 'sessionError', listener: (err: Error) => void): this;
|
1097
|
+
on(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1098
|
+
on(event: 'timeout', listener: () => void): this;
|
1099
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
1100
|
+
once(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1101
|
+
once(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1102
|
+
once(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1103
|
+
once(event: 'sessionError', listener: (err: Error) => void): this;
|
1104
|
+
once(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1105
|
+
once(event: 'timeout', listener: () => void): this;
|
1106
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
1107
|
+
prependListener(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1108
|
+
prependListener(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1109
|
+
prependListener(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1110
|
+
prependListener(event: 'sessionError', listener: (err: Error) => void): this;
|
1111
|
+
prependListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1112
|
+
prependListener(event: 'timeout', listener: () => void): this;
|
1113
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1114
|
+
prependOnceListener(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1115
|
+
prependOnceListener(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1116
|
+
prependOnceListener(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1117
|
+
prependOnceListener(event: 'sessionError', listener: (err: Error) => void): this;
|
1118
|
+
prependOnceListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1119
|
+
prependOnceListener(event: 'timeout', listener: () => void): this;
|
1120
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1121
|
+
}
|
1122
|
+
export interface Http2SecureServer extends tls.Server, HTTP2ServerCommon {
|
1123
|
+
addListener(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1124
|
+
addListener(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1125
|
+
addListener(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1126
|
+
addListener(event: 'sessionError', listener: (err: Error) => void): this;
|
1127
|
+
addListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1128
|
+
addListener(event: 'timeout', listener: () => void): this;
|
1129
|
+
addListener(event: 'unknownProtocol', listener: (socket: tls.TLSSocket) => void): this;
|
1130
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1131
|
+
emit(event: 'checkContinue', request: Http2ServerRequest, response: Http2ServerResponse): boolean;
|
1132
|
+
emit(event: 'request', request: Http2ServerRequest, response: Http2ServerResponse): boolean;
|
1133
|
+
emit(event: 'session', session: ServerHttp2Session): boolean;
|
1134
|
+
emit(event: 'sessionError', err: Error): boolean;
|
1135
|
+
emit(event: 'stream', stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
|
1136
|
+
emit(event: 'timeout'): boolean;
|
1137
|
+
emit(event: 'unknownProtocol', socket: tls.TLSSocket): boolean;
|
1138
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
1139
|
+
on(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1140
|
+
on(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1141
|
+
on(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1142
|
+
on(event: 'sessionError', listener: (err: Error) => void): this;
|
1143
|
+
on(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1144
|
+
on(event: 'timeout', listener: () => void): this;
|
1145
|
+
on(event: 'unknownProtocol', listener: (socket: tls.TLSSocket) => void): this;
|
1146
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
1147
|
+
once(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1148
|
+
once(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1149
|
+
once(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1150
|
+
once(event: 'sessionError', listener: (err: Error) => void): this;
|
1151
|
+
once(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1152
|
+
once(event: 'timeout', listener: () => void): this;
|
1153
|
+
once(event: 'unknownProtocol', listener: (socket: tls.TLSSocket) => void): this;
|
1154
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
1155
|
+
prependListener(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1156
|
+
prependListener(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1157
|
+
prependListener(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1158
|
+
prependListener(event: 'sessionError', listener: (err: Error) => void): this;
|
1159
|
+
prependListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1160
|
+
prependListener(event: 'timeout', listener: () => void): this;
|
1161
|
+
prependListener(event: 'unknownProtocol', listener: (socket: tls.TLSSocket) => void): this;
|
1162
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1163
|
+
prependOnceListener(event: 'checkContinue', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1164
|
+
prependOnceListener(event: 'request', listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
|
1165
|
+
prependOnceListener(event: 'session', listener: (session: ServerHttp2Session) => void): this;
|
1166
|
+
prependOnceListener(event: 'sessionError', listener: (err: Error) => void): this;
|
1167
|
+
prependOnceListener(event: 'stream', listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
|
1168
|
+
prependOnceListener(event: 'timeout', listener: () => void): this;
|
1169
|
+
prependOnceListener(event: 'unknownProtocol', listener: (socket: tls.TLSSocket) => void): this;
|
1170
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1171
|
+
}
|
1172
|
+
/**
|
1173
|
+
* A `Http2ServerRequest` object is created by {@link Server} or {@link SecureServer} and passed as the first argument to the `'request'` event. It may be used to access a request status,
|
1174
|
+
* headers, and
|
1175
|
+
* data.
|
1176
|
+
* @since v8.4.0
|
1177
|
+
*/
|
1178
|
+
export class Http2ServerRequest extends stream.Readable {
|
1179
|
+
constructor(stream: ServerHttp2Stream, headers: IncomingHttpHeaders, options: stream.ReadableOptions, rawHeaders: ReadonlyArray<string>);
|
1180
|
+
/**
|
1181
|
+
* The `request.aborted` property will be `true` if the request has
|
1182
|
+
* been aborted.
|
1183
|
+
* @since v10.1.0
|
1184
|
+
*/
|
1185
|
+
readonly aborted: boolean;
|
1186
|
+
/**
|
1187
|
+
* The request authority pseudo header field. Because HTTP/2 allows requests
|
1188
|
+
* to set either `:authority` or `host`, this value is derived from`req.headers[':authority']` if present. Otherwise, it is derived from`req.headers['host']`.
|
1189
|
+
* @since v8.4.0
|
1190
|
+
*/
|
1191
|
+
readonly authority: string;
|
1192
|
+
/**
|
1193
|
+
* See `request.socket`.
|
1194
|
+
* @since v8.4.0
|
1195
|
+
* @deprecated Since v13.0.0 - Use `socket`.
|
1196
|
+
*/
|
1197
|
+
readonly connection: net.Socket | tls.TLSSocket;
|
1198
|
+
/**
|
1199
|
+
* The `request.complete` property will be `true` if the request has
|
1200
|
+
* been completed, aborted, or destroyed.
|
1201
|
+
* @since v12.10.0
|
1202
|
+
*/
|
1203
|
+
readonly complete: boolean;
|
1204
|
+
/**
|
1205
|
+
* The request/response headers object.
|
1206
|
+
*
|
1207
|
+
* Key-value pairs of header names and values. Header names are lower-cased.
|
1208
|
+
*
|
1209
|
+
* ```js
|
1210
|
+
* // Prints something like:
|
1211
|
+
* //
|
1212
|
+
* // { 'user-agent': 'curl/7.22.0',
|
1213
|
+
* // host: '127.0.0.1:8000',
|
1214
|
+
* // accept: '*' }
|
1215
|
+
* console.log(request.headers);
|
1216
|
+
* ```
|
1217
|
+
*
|
1218
|
+
* See `HTTP/2 Headers Object`.
|
1219
|
+
*
|
1220
|
+
* In HTTP/2, the request path, host name, protocol, and method are represented as
|
1221
|
+
* special headers prefixed with the `:` character (e.g. `':path'`). These special
|
1222
|
+
* headers will be included in the `request.headers` object. Care must be taken not
|
1223
|
+
* to inadvertently modify these special headers or errors may occur. For instance,
|
1224
|
+
* removing all headers from the request will cause errors to occur:
|
1225
|
+
*
|
1226
|
+
* ```js
|
1227
|
+
* removeAllHeaders(request.headers);
|
1228
|
+
* assert(request.url); // Fails because the :path header has been removed
|
1229
|
+
* ```
|
1230
|
+
* @since v8.4.0
|
1231
|
+
*/
|
1232
|
+
readonly headers: IncomingHttpHeaders;
|
1233
|
+
/**
|
1234
|
+
* In case of server request, the HTTP version sent by the client. In the case of
|
1235
|
+
* client response, the HTTP version of the connected-to server. Returns`'2.0'`.
|
1236
|
+
*
|
1237
|
+
* Also `message.httpVersionMajor` is the first integer and`message.httpVersionMinor` is the second.
|
1238
|
+
* @since v8.4.0
|
1239
|
+
*/
|
1240
|
+
readonly httpVersion: string;
|
1241
|
+
readonly httpVersionMinor: number;
|
1242
|
+
readonly httpVersionMajor: number;
|
1243
|
+
/**
|
1244
|
+
* The request method as a string. Read-only. Examples: `'GET'`, `'DELETE'`.
|
1245
|
+
* @since v8.4.0
|
1246
|
+
*/
|
1247
|
+
readonly method: string;
|
1248
|
+
/**
|
1249
|
+
* The raw request/response headers list exactly as they were received.
|
1250
|
+
*
|
1251
|
+
* The keys and values are in the same list. It is _not_ a
|
1252
|
+
* list of tuples. So, the even-numbered offsets are key values, and the
|
1253
|
+
* odd-numbered offsets are the associated values.
|
1254
|
+
*
|
1255
|
+
* Header names are not lowercased, and duplicates are not merged.
|
1256
|
+
*
|
1257
|
+
* ```js
|
1258
|
+
* // Prints something like:
|
1259
|
+
* //
|
1260
|
+
* // [ 'user-agent',
|
1261
|
+
* // 'this is invalid because there can be only one',
|
1262
|
+
* // 'User-Agent',
|
1263
|
+
* // 'curl/7.22.0',
|
1264
|
+
* // 'Host',
|
1265
|
+
* // '127.0.0.1:8000',
|
1266
|
+
* // 'ACCEPT',
|
1267
|
+
* // '*' ]
|
1268
|
+
* console.log(request.rawHeaders);
|
1269
|
+
* ```
|
1270
|
+
* @since v8.4.0
|
1271
|
+
*/
|
1272
|
+
readonly rawHeaders: string[];
|
1273
|
+
/**
|
1274
|
+
* The raw request/response trailer keys and values exactly as they were
|
1275
|
+
* received. Only populated at the `'end'` event.
|
1276
|
+
* @since v8.4.0
|
1277
|
+
*/
|
1278
|
+
readonly rawTrailers: string[];
|
1279
|
+
/**
|
1280
|
+
* The request scheme pseudo header field indicating the scheme
|
1281
|
+
* portion of the target URL.
|
1282
|
+
* @since v8.4.0
|
1283
|
+
*/
|
1284
|
+
readonly scheme: string;
|
1285
|
+
/**
|
1286
|
+
* Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but
|
1287
|
+
* applies getters, setters, and methods based on HTTP/2 logic.
|
1288
|
+
*
|
1289
|
+
* `destroyed`, `readable`, and `writable` properties will be retrieved from and
|
1290
|
+
* set on `request.stream`.
|
1291
|
+
*
|
1292
|
+
* `destroy`, `emit`, `end`, `on` and `once` methods will be called on`request.stream`.
|
1293
|
+
*
|
1294
|
+
* `setTimeout` method will be called on `request.stream.session`.
|
1295
|
+
*
|
1296
|
+
* `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for
|
1297
|
+
* more information.
|
1298
|
+
*
|
1299
|
+
* All other interactions will be routed directly to the socket. With TLS support,
|
1300
|
+
* use `request.socket.getPeerCertificate()` to obtain the client's
|
1301
|
+
* authentication details.
|
1302
|
+
* @since v8.4.0
|
1303
|
+
*/
|
1304
|
+
readonly socket: net.Socket | tls.TLSSocket;
|
1305
|
+
/**
|
1306
|
+
* The `Http2Stream` object backing the request.
|
1307
|
+
* @since v8.4.0
|
1308
|
+
*/
|
1309
|
+
readonly stream: ServerHttp2Stream;
|
1310
|
+
/**
|
1311
|
+
* The request/response trailers object. Only populated at the `'end'` event.
|
1312
|
+
* @since v8.4.0
|
1313
|
+
*/
|
1314
|
+
readonly trailers: IncomingHttpHeaders;
|
1315
|
+
/**
|
1316
|
+
* Request URL string. This contains only the URL that is present in the actual
|
1317
|
+
* HTTP request. If the request is:
|
1318
|
+
*
|
1319
|
+
* ```http
|
1320
|
+
* GET /status?name=ryan HTTP/1.1
|
1321
|
+
* Accept: text/plain
|
1322
|
+
* ```
|
1323
|
+
*
|
1324
|
+
* Then `request.url` will be:
|
1325
|
+
*
|
1326
|
+
* ```js
|
1327
|
+
* '/status?name=ryan'
|
1328
|
+
* ```
|
1329
|
+
*
|
1330
|
+
* To parse the url into its parts, `new URL()` can be used:
|
1331
|
+
*
|
1332
|
+
* ```console
|
1333
|
+
* $ node
|
1334
|
+
* > new URL('/status?name=ryan', 'http://example.com')
|
1335
|
+
* URL {
|
1336
|
+
* href: 'http://example.com/status?name=ryan',
|
1337
|
+
* origin: 'http://example.com',
|
1338
|
+
* protocol: 'http:',
|
1339
|
+
* username: '',
|
1340
|
+
* password: '',
|
1341
|
+
* host: 'example.com',
|
1342
|
+
* hostname: 'example.com',
|
1343
|
+
* port: '',
|
1344
|
+
* pathname: '/status',
|
1345
|
+
* search: '?name=ryan',
|
1346
|
+
* searchParams: URLSearchParams { 'name' => 'ryan' },
|
1347
|
+
* hash: ''
|
1348
|
+
* }
|
1349
|
+
* ```
|
1350
|
+
* @since v8.4.0
|
1351
|
+
*/
|
1352
|
+
url: string;
|
1353
|
+
/**
|
1354
|
+
* Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
|
1355
|
+
* provided, then it is added as a listener on the `'timeout'` event on
|
1356
|
+
* the response object.
|
1357
|
+
*
|
1358
|
+
* If no `'timeout'` listener is added to the request, the response, or
|
1359
|
+
* the server, then `Http2Stream` s are destroyed when they time out. If a
|
1360
|
+
* handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly.
|
1361
|
+
* @since v8.4.0
|
1362
|
+
*/
|
1363
|
+
setTimeout(msecs: number, callback?: () => void): void;
|
1364
|
+
read(size?: number): Buffer | string | null;
|
1365
|
+
addListener(event: 'aborted', listener: (hadError: boolean, code: number) => void): this;
|
1366
|
+
addListener(event: 'close', listener: () => void): this;
|
1367
|
+
addListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
1368
|
+
addListener(event: 'end', listener: () => void): this;
|
1369
|
+
addListener(event: 'readable', listener: () => void): this;
|
1370
|
+
addListener(event: 'error', listener: (err: Error) => void): this;
|
1371
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1372
|
+
emit(event: 'aborted', hadError: boolean, code: number): boolean;
|
1373
|
+
emit(event: 'close'): boolean;
|
1374
|
+
emit(event: 'data', chunk: Buffer | string): boolean;
|
1375
|
+
emit(event: 'end'): boolean;
|
1376
|
+
emit(event: 'readable'): boolean;
|
1377
|
+
emit(event: 'error', err: Error): boolean;
|
1378
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
1379
|
+
on(event: 'aborted', listener: (hadError: boolean, code: number) => void): this;
|
1380
|
+
on(event: 'close', listener: () => void): this;
|
1381
|
+
on(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
1382
|
+
on(event: 'end', listener: () => void): this;
|
1383
|
+
on(event: 'readable', listener: () => void): this;
|
1384
|
+
on(event: 'error', listener: (err: Error) => void): this;
|
1385
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
1386
|
+
once(event: 'aborted', listener: (hadError: boolean, code: number) => void): this;
|
1387
|
+
once(event: 'close', listener: () => void): this;
|
1388
|
+
once(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
1389
|
+
once(event: 'end', listener: () => void): this;
|
1390
|
+
once(event: 'readable', listener: () => void): this;
|
1391
|
+
once(event: 'error', listener: (err: Error) => void): this;
|
1392
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
1393
|
+
prependListener(event: 'aborted', listener: (hadError: boolean, code: number) => void): this;
|
1394
|
+
prependListener(event: 'close', listener: () => void): this;
|
1395
|
+
prependListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
1396
|
+
prependListener(event: 'end', listener: () => void): this;
|
1397
|
+
prependListener(event: 'readable', listener: () => void): this;
|
1398
|
+
prependListener(event: 'error', listener: (err: Error) => void): this;
|
1399
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1400
|
+
prependOnceListener(event: 'aborted', listener: (hadError: boolean, code: number) => void): this;
|
1401
|
+
prependOnceListener(event: 'close', listener: () => void): this;
|
1402
|
+
prependOnceListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
1403
|
+
prependOnceListener(event: 'end', listener: () => void): this;
|
1404
|
+
prependOnceListener(event: 'readable', listener: () => void): this;
|
1405
|
+
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
1406
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1407
|
+
}
|
1408
|
+
/**
|
1409
|
+
* This object is created internally by an HTTP server, not by the user. It is
|
1410
|
+
* passed as the second parameter to the `'request'` event.
|
1411
|
+
* @since v8.4.0
|
1412
|
+
*/
|
1413
|
+
export class Http2ServerResponse extends stream.Writable {
|
1414
|
+
constructor(stream: ServerHttp2Stream);
|
1415
|
+
/**
|
1416
|
+
* See `response.socket`.
|
1417
|
+
* @since v8.4.0
|
1418
|
+
* @deprecated Since v13.0.0 - Use `socket`.
|
1419
|
+
*/
|
1420
|
+
readonly connection: net.Socket | tls.TLSSocket;
|
1421
|
+
/**
|
1422
|
+
* Boolean value that indicates whether the response has completed. Starts
|
1423
|
+
* as `false`. After `response.end()` executes, the value will be `true`.
|
1424
|
+
* @since v8.4.0
|
1425
|
+
* @deprecated Since v13.4.0,v12.16.0 - Use `writableEnded`.
|
1426
|
+
*/
|
1427
|
+
readonly finished: boolean;
|
1428
|
+
/**
|
1429
|
+
* True if headers were sent, false otherwise (read-only).
|
1430
|
+
* @since v8.4.0
|
1431
|
+
*/
|
1432
|
+
readonly headersSent: boolean;
|
1433
|
+
/**
|
1434
|
+
* A reference to the original HTTP2 request object.
|
1435
|
+
* @since v15.7.0
|
1436
|
+
*/
|
1437
|
+
readonly req: Http2ServerRequest;
|
1438
|
+
/**
|
1439
|
+
* Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but
|
1440
|
+
* applies getters, setters, and methods based on HTTP/2 logic.
|
1441
|
+
*
|
1442
|
+
* `destroyed`, `readable`, and `writable` properties will be retrieved from and
|
1443
|
+
* set on `response.stream`.
|
1444
|
+
*
|
1445
|
+
* `destroy`, `emit`, `end`, `on` and `once` methods will be called on`response.stream`.
|
1446
|
+
*
|
1447
|
+
* `setTimeout` method will be called on `response.stream.session`.
|
1448
|
+
*
|
1449
|
+
* `pause`, `read`, `resume`, and `write` will throw an error with code`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for
|
1450
|
+
* more information.
|
1451
|
+
*
|
1452
|
+
* All other interactions will be routed directly to the socket.
|
1453
|
+
*
|
1454
|
+
* ```js
|
1455
|
+
* const http2 = require('http2');
|
1456
|
+
* const server = http2.createServer((req, res) => {
|
1457
|
+
* const ip = req.socket.remoteAddress;
|
1458
|
+
* const port = req.socket.remotePort;
|
1459
|
+
* res.end(`Your IP address is ${ip} and your source port is ${port}.`);
|
1460
|
+
* }).listen(3000);
|
1461
|
+
* ```
|
1462
|
+
* @since v8.4.0
|
1463
|
+
*/
|
1464
|
+
readonly socket: net.Socket | tls.TLSSocket;
|
1465
|
+
/**
|
1466
|
+
* The `Http2Stream` object backing the response.
|
1467
|
+
* @since v8.4.0
|
1468
|
+
*/
|
1469
|
+
readonly stream: ServerHttp2Stream;
|
1470
|
+
/**
|
1471
|
+
* When true, the Date header will be automatically generated and sent in
|
1472
|
+
* the response if it is not already present in the headers. Defaults to true.
|
1473
|
+
*
|
1474
|
+
* This should only be disabled for testing; HTTP requires the Date header
|
1475
|
+
* in responses.
|
1476
|
+
* @since v8.4.0
|
1477
|
+
*/
|
1478
|
+
sendDate: boolean;
|
1479
|
+
/**
|
1480
|
+
* When using implicit headers (not calling `response.writeHead()` explicitly),
|
1481
|
+
* this property controls the status code that will be sent to the client when
|
1482
|
+
* the headers get flushed.
|
1483
|
+
*
|
1484
|
+
* ```js
|
1485
|
+
* response.statusCode = 404;
|
1486
|
+
* ```
|
1487
|
+
*
|
1488
|
+
* After response header was sent to the client, this property indicates the
|
1489
|
+
* status code which was sent out.
|
1490
|
+
* @since v8.4.0
|
1491
|
+
*/
|
1492
|
+
statusCode: number;
|
1493
|
+
/**
|
1494
|
+
* Status message is not supported by HTTP/2 (RFC 7540 8.1.2.4). It returns
|
1495
|
+
* an empty string.
|
1496
|
+
* @since v8.4.0
|
1497
|
+
*/
|
1498
|
+
statusMessage: '';
|
1499
|
+
/**
|
1500
|
+
* This method adds HTTP trailing headers (a header but at the end of the
|
1501
|
+
* message) to the response.
|
1502
|
+
*
|
1503
|
+
* Attempting to set a header field name or value that contains invalid characters
|
1504
|
+
* will result in a `TypeError` being thrown.
|
1505
|
+
* @since v8.4.0
|
1506
|
+
*/
|
1507
|
+
addTrailers(trailers: OutgoingHttpHeaders): void;
|
1508
|
+
/**
|
1509
|
+
* This method signals to the server that all of the response headers and body
|
1510
|
+
* have been sent; that server should consider this message complete.
|
1511
|
+
* The method, `response.end()`, MUST be called on each response.
|
1512
|
+
*
|
1513
|
+
* If `data` is specified, it is equivalent to calling `response.write(data, encoding)` followed by `response.end(callback)`.
|
1514
|
+
*
|
1515
|
+
* If `callback` is specified, it will be called when the response stream
|
1516
|
+
* is finished.
|
1517
|
+
* @since v8.4.0
|
1518
|
+
*/
|
1519
|
+
end(callback?: () => void): this;
|
1520
|
+
end(data: string | Uint8Array, callback?: () => void): this;
|
1521
|
+
end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this;
|
1522
|
+
/**
|
1523
|
+
* Reads out a header that has already been queued but not sent to the client.
|
1524
|
+
* The name is case-insensitive.
|
1525
|
+
*
|
1526
|
+
* ```js
|
1527
|
+
* const contentType = response.getHeader('content-type');
|
1528
|
+
* ```
|
1529
|
+
* @since v8.4.0
|
1530
|
+
*/
|
1531
|
+
getHeader(name: string): string;
|
1532
|
+
/**
|
1533
|
+
* Returns an array containing the unique names of the current outgoing headers.
|
1534
|
+
* All header names are lowercase.
|
1535
|
+
*
|
1536
|
+
* ```js
|
1537
|
+
* response.setHeader('Foo', 'bar');
|
1538
|
+
* response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
|
1539
|
+
*
|
1540
|
+
* const headerNames = response.getHeaderNames();
|
1541
|
+
* // headerNames === ['foo', 'set-cookie']
|
1542
|
+
* ```
|
1543
|
+
* @since v8.4.0
|
1544
|
+
*/
|
1545
|
+
getHeaderNames(): string[];
|
1546
|
+
/**
|
1547
|
+
* Returns a shallow copy of the current outgoing headers. Since a shallow copy
|
1548
|
+
* is used, array values may be mutated without additional calls to various
|
1549
|
+
* header-related http module methods. The keys of the returned object are the
|
1550
|
+
* header names and the values are the respective header values. All header names
|
1551
|
+
* are lowercase.
|
1552
|
+
*
|
1553
|
+
* The object returned by the `response.getHeaders()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`,
|
1554
|
+
* `obj.hasOwnProperty()`, and others
|
1555
|
+
* are not defined and _will not work_.
|
1556
|
+
*
|
1557
|
+
* ```js
|
1558
|
+
* response.setHeader('Foo', 'bar');
|
1559
|
+
* response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
|
1560
|
+
*
|
1561
|
+
* const headers = response.getHeaders();
|
1562
|
+
* // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] }
|
1563
|
+
* ```
|
1564
|
+
* @since v8.4.0
|
1565
|
+
*/
|
1566
|
+
getHeaders(): OutgoingHttpHeaders;
|
1567
|
+
/**
|
1568
|
+
* Returns `true` if the header identified by `name` is currently set in the
|
1569
|
+
* outgoing headers. The header name matching is case-insensitive.
|
1570
|
+
*
|
1571
|
+
* ```js
|
1572
|
+
* const hasContentType = response.hasHeader('content-type');
|
1573
|
+
* ```
|
1574
|
+
* @since v8.4.0
|
1575
|
+
*/
|
1576
|
+
hasHeader(name: string): boolean;
|
1577
|
+
/**
|
1578
|
+
* Removes a header that has been queued for implicit sending.
|
1579
|
+
*
|
1580
|
+
* ```js
|
1581
|
+
* response.removeHeader('Content-Encoding');
|
1582
|
+
* ```
|
1583
|
+
* @since v8.4.0
|
1584
|
+
*/
|
1585
|
+
removeHeader(name: string): void;
|
1586
|
+
/**
|
1587
|
+
* Sets a single header value for implicit headers. If this header already exists
|
1588
|
+
* in the to-be-sent headers, its value will be replaced. Use an array of strings
|
1589
|
+
* here to send multiple headers with the same name.
|
1590
|
+
*
|
1591
|
+
* ```js
|
1592
|
+
* response.setHeader('Content-Type', 'text/html; charset=utf-8');
|
1593
|
+
* ```
|
1594
|
+
*
|
1595
|
+
* or
|
1596
|
+
*
|
1597
|
+
* ```js
|
1598
|
+
* response.setHeader('Set-Cookie', ['type=ninja', 'language=javascript']);
|
1599
|
+
* ```
|
1600
|
+
*
|
1601
|
+
* Attempting to set a header field name or value that contains invalid characters
|
1602
|
+
* will result in a `TypeError` being thrown.
|
1603
|
+
*
|
1604
|
+
* When headers have been set with `response.setHeader()`, they will be merged
|
1605
|
+
* with any headers passed to `response.writeHead()`, with the headers passed
|
1606
|
+
* to `response.writeHead()` given precedence.
|
1607
|
+
*
|
1608
|
+
* ```js
|
1609
|
+
* // Returns content-type = text/plain
|
1610
|
+
* const server = http2.createServer((req, res) => {
|
1611
|
+
* res.setHeader('Content-Type', 'text/html; charset=utf-8');
|
1612
|
+
* res.setHeader('X-Foo', 'bar');
|
1613
|
+
* res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' });
|
1614
|
+
* res.end('ok');
|
1615
|
+
* });
|
1616
|
+
* ```
|
1617
|
+
* @since v8.4.0
|
1618
|
+
*/
|
1619
|
+
setHeader(name: string, value: number | string | ReadonlyArray<string>): void;
|
1620
|
+
/**
|
1621
|
+
* Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
|
1622
|
+
* provided, then it is added as a listener on the `'timeout'` event on
|
1623
|
+
* the response object.
|
1624
|
+
*
|
1625
|
+
* If no `'timeout'` listener is added to the request, the response, or
|
1626
|
+
* the server, then `Http2Stream` s are destroyed when they time out. If a
|
1627
|
+
* handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly.
|
1628
|
+
* @since v8.4.0
|
1629
|
+
*/
|
1630
|
+
setTimeout(msecs: number, callback?: () => void): void;
|
1631
|
+
/**
|
1632
|
+
* If this method is called and `response.writeHead()` has not been called,
|
1633
|
+
* it will switch to implicit header mode and flush the implicit headers.
|
1634
|
+
*
|
1635
|
+
* This sends a chunk of the response body. This method may
|
1636
|
+
* be called multiple times to provide successive parts of the body.
|
1637
|
+
*
|
1638
|
+
* In the `http` module, the response body is omitted when the
|
1639
|
+
* request is a HEAD request. Similarly, the `204` and `304` responses_must not_ include a message body.
|
1640
|
+
*
|
1641
|
+
* `chunk` can be a string or a buffer. If `chunk` is a string,
|
1642
|
+
* the second parameter specifies how to encode it into a byte stream.
|
1643
|
+
* By default the `encoding` is `'utf8'`. `callback` will be called when this chunk
|
1644
|
+
* of data is flushed.
|
1645
|
+
*
|
1646
|
+
* This is the raw HTTP body and has nothing to do with higher-level multi-part
|
1647
|
+
* body encodings that may be used.
|
1648
|
+
*
|
1649
|
+
* The first time `response.write()` is called, it will send the buffered
|
1650
|
+
* header information and the first chunk of the body to the client. The second
|
1651
|
+
* time `response.write()` is called, Node.js assumes data will be streamed,
|
1652
|
+
* and sends the new data separately. That is, the response is buffered up to the
|
1653
|
+
* first chunk of the body.
|
1654
|
+
*
|
1655
|
+
* Returns `true` if the entire data was flushed successfully to the kernel
|
1656
|
+
* buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is free again.
|
1657
|
+
* @since v8.4.0
|
1658
|
+
*/
|
1659
|
+
write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean;
|
1660
|
+
write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean;
|
1661
|
+
/**
|
1662
|
+
* Sends a status `100 Continue` to the client, indicating that the request body
|
1663
|
+
* should be sent. See the `'checkContinue'` event on `Http2Server` and`Http2SecureServer`.
|
1664
|
+
* @since v8.4.0
|
1665
|
+
*/
|
1666
|
+
writeContinue(): void;
|
1667
|
+
/**
|
1668
|
+
* Sends a response header to the request. The status code is a 3-digit HTTP
|
1669
|
+
* status code, like `404`. The last argument, `headers`, are the response headers.
|
1670
|
+
*
|
1671
|
+
* Returns a reference to the `Http2ServerResponse`, so that calls can be chained.
|
1672
|
+
*
|
1673
|
+
* For compatibility with `HTTP/1`, a human-readable `statusMessage` may be
|
1674
|
+
* passed as the second argument. However, because the `statusMessage` has no
|
1675
|
+
* meaning within HTTP/2, the argument will have no effect and a process warning
|
1676
|
+
* will be emitted.
|
1677
|
+
*
|
1678
|
+
* ```js
|
1679
|
+
* const body = 'hello world';
|
1680
|
+
* response.writeHead(200, {
|
1681
|
+
* 'Content-Length': Buffer.byteLength(body),
|
1682
|
+
* 'Content-Type': 'text/plain; charset=utf-8',
|
1683
|
+
* });
|
1684
|
+
* ```
|
1685
|
+
*
|
1686
|
+
* `Content-Length` is given in bytes not characters. The`Buffer.byteLength()` API may be used to determine the number of bytes in a
|
1687
|
+
* given encoding. On outbound messages, Node.js does not check if Content-Length
|
1688
|
+
* and the length of the body being transmitted are equal or not. However, when
|
1689
|
+
* receiving messages, Node.js will automatically reject messages when the`Content-Length` does not match the actual payload size.
|
1690
|
+
*
|
1691
|
+
* This method may be called at most one time on a message before `response.end()` is called.
|
1692
|
+
*
|
1693
|
+
* If `response.write()` or `response.end()` are called before calling
|
1694
|
+
* this, the implicit/mutable headers will be calculated and call this function.
|
1695
|
+
*
|
1696
|
+
* When headers have been set with `response.setHeader()`, they will be merged
|
1697
|
+
* with any headers passed to `response.writeHead()`, with the headers passed
|
1698
|
+
* to `response.writeHead()` given precedence.
|
1699
|
+
*
|
1700
|
+
* ```js
|
1701
|
+
* // Returns content-type = text/plain
|
1702
|
+
* const server = http2.createServer((req, res) => {
|
1703
|
+
* res.setHeader('Content-Type', 'text/html; charset=utf-8');
|
1704
|
+
* res.setHeader('X-Foo', 'bar');
|
1705
|
+
* res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' });
|
1706
|
+
* res.end('ok');
|
1707
|
+
* });
|
1708
|
+
* ```
|
1709
|
+
*
|
1710
|
+
* Attempting to set a header field name or value that contains invalid characters
|
1711
|
+
* will result in a `TypeError` being thrown.
|
1712
|
+
* @since v8.4.0
|
1713
|
+
*/
|
1714
|
+
writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this;
|
1715
|
+
writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this;
|
1716
|
+
/**
|
1717
|
+
* Call `http2stream.pushStream()` with the given headers, and wrap the
|
1718
|
+
* given `Http2Stream` on a newly created `Http2ServerResponse` as the callback
|
1719
|
+
* parameter if successful. When `Http2ServerRequest` is closed, the callback is
|
1720
|
+
* called with an error `ERR_HTTP2_INVALID_STREAM`.
|
1721
|
+
* @since v8.4.0
|
1722
|
+
* @param headers An object describing the headers
|
1723
|
+
* @param callback Called once `http2stream.pushStream()` is finished, or either when the attempt to create the pushed `Http2Stream` has failed or has been rejected, or the state of
|
1724
|
+
* `Http2ServerRequest` is closed prior to calling the `http2stream.pushStream()` method
|
1725
|
+
*/
|
1726
|
+
createPushResponse(headers: OutgoingHttpHeaders, callback: (err: Error | null, res: Http2ServerResponse) => void): void;
|
1727
|
+
addListener(event: 'close', listener: () => void): this;
|
1728
|
+
addListener(event: 'drain', listener: () => void): this;
|
1729
|
+
addListener(event: 'error', listener: (error: Error) => void): this;
|
1730
|
+
addListener(event: 'finish', listener: () => void): this;
|
1731
|
+
addListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
1732
|
+
addListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
1733
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1734
|
+
emit(event: 'close'): boolean;
|
1735
|
+
emit(event: 'drain'): boolean;
|
1736
|
+
emit(event: 'error', error: Error): boolean;
|
1737
|
+
emit(event: 'finish'): boolean;
|
1738
|
+
emit(event: 'pipe', src: stream.Readable): boolean;
|
1739
|
+
emit(event: 'unpipe', src: stream.Readable): boolean;
|
1740
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
1741
|
+
on(event: 'close', listener: () => void): this;
|
1742
|
+
on(event: 'drain', listener: () => void): this;
|
1743
|
+
on(event: 'error', listener: (error: Error) => void): this;
|
1744
|
+
on(event: 'finish', listener: () => void): this;
|
1745
|
+
on(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
1746
|
+
on(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
1747
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
1748
|
+
once(event: 'close', listener: () => void): this;
|
1749
|
+
once(event: 'drain', listener: () => void): this;
|
1750
|
+
once(event: 'error', listener: (error: Error) => void): this;
|
1751
|
+
once(event: 'finish', listener: () => void): this;
|
1752
|
+
once(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
1753
|
+
once(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
1754
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
1755
|
+
prependListener(event: 'close', listener: () => void): this;
|
1756
|
+
prependListener(event: 'drain', listener: () => void): this;
|
1757
|
+
prependListener(event: 'error', listener: (error: Error) => void): this;
|
1758
|
+
prependListener(event: 'finish', listener: () => void): this;
|
1759
|
+
prependListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
1760
|
+
prependListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
1761
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1762
|
+
prependOnceListener(event: 'close', listener: () => void): this;
|
1763
|
+
prependOnceListener(event: 'drain', listener: () => void): this;
|
1764
|
+
prependOnceListener(event: 'error', listener: (error: Error) => void): this;
|
1765
|
+
prependOnceListener(event: 'finish', listener: () => void): this;
|
1766
|
+
prependOnceListener(event: 'pipe', listener: (src: stream.Readable) => void): this;
|
1767
|
+
prependOnceListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
|
1768
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
1769
|
+
}
|
1770
|
+
export namespace constants {
|
1771
|
+
const NGHTTP2_SESSION_SERVER: number;
|
1772
|
+
const NGHTTP2_SESSION_CLIENT: number;
|
1773
|
+
const NGHTTP2_STREAM_STATE_IDLE: number;
|
1774
|
+
const NGHTTP2_STREAM_STATE_OPEN: number;
|
1775
|
+
const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number;
|
1776
|
+
const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number;
|
1777
|
+
const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number;
|
1778
|
+
const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number;
|
1779
|
+
const NGHTTP2_STREAM_STATE_CLOSED: number;
|
1780
|
+
const NGHTTP2_NO_ERROR: number;
|
1781
|
+
const NGHTTP2_PROTOCOL_ERROR: number;
|
1782
|
+
const NGHTTP2_INTERNAL_ERROR: number;
|
1783
|
+
const NGHTTP2_FLOW_CONTROL_ERROR: number;
|
1784
|
+
const NGHTTP2_SETTINGS_TIMEOUT: number;
|
1785
|
+
const NGHTTP2_STREAM_CLOSED: number;
|
1786
|
+
const NGHTTP2_FRAME_SIZE_ERROR: number;
|
1787
|
+
const NGHTTP2_REFUSED_STREAM: number;
|
1788
|
+
const NGHTTP2_CANCEL: number;
|
1789
|
+
const NGHTTP2_COMPRESSION_ERROR: number;
|
1790
|
+
const NGHTTP2_CONNECT_ERROR: number;
|
1791
|
+
const NGHTTP2_ENHANCE_YOUR_CALM: number;
|
1792
|
+
const NGHTTP2_INADEQUATE_SECURITY: number;
|
1793
|
+
const NGHTTP2_HTTP_1_1_REQUIRED: number;
|
1794
|
+
const NGHTTP2_ERR_FRAME_SIZE_ERROR: number;
|
1795
|
+
const NGHTTP2_FLAG_NONE: number;
|
1796
|
+
const NGHTTP2_FLAG_END_STREAM: number;
|
1797
|
+
const NGHTTP2_FLAG_END_HEADERS: number;
|
1798
|
+
const NGHTTP2_FLAG_ACK: number;
|
1799
|
+
const NGHTTP2_FLAG_PADDED: number;
|
1800
|
+
const NGHTTP2_FLAG_PRIORITY: number;
|
1801
|
+
const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number;
|
1802
|
+
const DEFAULT_SETTINGS_ENABLE_PUSH: number;
|
1803
|
+
const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number;
|
1804
|
+
const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number;
|
1805
|
+
const MAX_MAX_FRAME_SIZE: number;
|
1806
|
+
const MIN_MAX_FRAME_SIZE: number;
|
1807
|
+
const MAX_INITIAL_WINDOW_SIZE: number;
|
1808
|
+
const NGHTTP2_DEFAULT_WEIGHT: number;
|
1809
|
+
const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number;
|
1810
|
+
const NGHTTP2_SETTINGS_ENABLE_PUSH: number;
|
1811
|
+
const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number;
|
1812
|
+
const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number;
|
1813
|
+
const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number;
|
1814
|
+
const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number;
|
1815
|
+
const PADDING_STRATEGY_NONE: number;
|
1816
|
+
const PADDING_STRATEGY_MAX: number;
|
1817
|
+
const PADDING_STRATEGY_CALLBACK: number;
|
1818
|
+
const HTTP2_HEADER_STATUS: string;
|
1819
|
+
const HTTP2_HEADER_METHOD: string;
|
1820
|
+
const HTTP2_HEADER_AUTHORITY: string;
|
1821
|
+
const HTTP2_HEADER_SCHEME: string;
|
1822
|
+
const HTTP2_HEADER_PATH: string;
|
1823
|
+
const HTTP2_HEADER_ACCEPT_CHARSET: string;
|
1824
|
+
const HTTP2_HEADER_ACCEPT_ENCODING: string;
|
1825
|
+
const HTTP2_HEADER_ACCEPT_LANGUAGE: string;
|
1826
|
+
const HTTP2_HEADER_ACCEPT_RANGES: string;
|
1827
|
+
const HTTP2_HEADER_ACCEPT: string;
|
1828
|
+
const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string;
|
1829
|
+
const HTTP2_HEADER_AGE: string;
|
1830
|
+
const HTTP2_HEADER_ALLOW: string;
|
1831
|
+
const HTTP2_HEADER_AUTHORIZATION: string;
|
1832
|
+
const HTTP2_HEADER_CACHE_CONTROL: string;
|
1833
|
+
const HTTP2_HEADER_CONNECTION: string;
|
1834
|
+
const HTTP2_HEADER_CONTENT_DISPOSITION: string;
|
1835
|
+
const HTTP2_HEADER_CONTENT_ENCODING: string;
|
1836
|
+
const HTTP2_HEADER_CONTENT_LANGUAGE: string;
|
1837
|
+
const HTTP2_HEADER_CONTENT_LENGTH: string;
|
1838
|
+
const HTTP2_HEADER_CONTENT_LOCATION: string;
|
1839
|
+
const HTTP2_HEADER_CONTENT_MD5: string;
|
1840
|
+
const HTTP2_HEADER_CONTENT_RANGE: string;
|
1841
|
+
const HTTP2_HEADER_CONTENT_TYPE: string;
|
1842
|
+
const HTTP2_HEADER_COOKIE: string;
|
1843
|
+
const HTTP2_HEADER_DATE: string;
|
1844
|
+
const HTTP2_HEADER_ETAG: string;
|
1845
|
+
const HTTP2_HEADER_EXPECT: string;
|
1846
|
+
const HTTP2_HEADER_EXPIRES: string;
|
1847
|
+
const HTTP2_HEADER_FROM: string;
|
1848
|
+
const HTTP2_HEADER_HOST: string;
|
1849
|
+
const HTTP2_HEADER_IF_MATCH: string;
|
1850
|
+
const HTTP2_HEADER_IF_MODIFIED_SINCE: string;
|
1851
|
+
const HTTP2_HEADER_IF_NONE_MATCH: string;
|
1852
|
+
const HTTP2_HEADER_IF_RANGE: string;
|
1853
|
+
const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string;
|
1854
|
+
const HTTP2_HEADER_LAST_MODIFIED: string;
|
1855
|
+
const HTTP2_HEADER_LINK: string;
|
1856
|
+
const HTTP2_HEADER_LOCATION: string;
|
1857
|
+
const HTTP2_HEADER_MAX_FORWARDS: string;
|
1858
|
+
const HTTP2_HEADER_PREFER: string;
|
1859
|
+
const HTTP2_HEADER_PROXY_AUTHENTICATE: string;
|
1860
|
+
const HTTP2_HEADER_PROXY_AUTHORIZATION: string;
|
1861
|
+
const HTTP2_HEADER_RANGE: string;
|
1862
|
+
const HTTP2_HEADER_REFERER: string;
|
1863
|
+
const HTTP2_HEADER_REFRESH: string;
|
1864
|
+
const HTTP2_HEADER_RETRY_AFTER: string;
|
1865
|
+
const HTTP2_HEADER_SERVER: string;
|
1866
|
+
const HTTP2_HEADER_SET_COOKIE: string;
|
1867
|
+
const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string;
|
1868
|
+
const HTTP2_HEADER_TRANSFER_ENCODING: string;
|
1869
|
+
const HTTP2_HEADER_TE: string;
|
1870
|
+
const HTTP2_HEADER_UPGRADE: string;
|
1871
|
+
const HTTP2_HEADER_USER_AGENT: string;
|
1872
|
+
const HTTP2_HEADER_VARY: string;
|
1873
|
+
const HTTP2_HEADER_VIA: string;
|
1874
|
+
const HTTP2_HEADER_WWW_AUTHENTICATE: string;
|
1875
|
+
const HTTP2_HEADER_HTTP2_SETTINGS: string;
|
1876
|
+
const HTTP2_HEADER_KEEP_ALIVE: string;
|
1877
|
+
const HTTP2_HEADER_PROXY_CONNECTION: string;
|
1878
|
+
const HTTP2_METHOD_ACL: string;
|
1879
|
+
const HTTP2_METHOD_BASELINE_CONTROL: string;
|
1880
|
+
const HTTP2_METHOD_BIND: string;
|
1881
|
+
const HTTP2_METHOD_CHECKIN: string;
|
1882
|
+
const HTTP2_METHOD_CHECKOUT: string;
|
1883
|
+
const HTTP2_METHOD_CONNECT: string;
|
1884
|
+
const HTTP2_METHOD_COPY: string;
|
1885
|
+
const HTTP2_METHOD_DELETE: string;
|
1886
|
+
const HTTP2_METHOD_GET: string;
|
1887
|
+
const HTTP2_METHOD_HEAD: string;
|
1888
|
+
const HTTP2_METHOD_LABEL: string;
|
1889
|
+
const HTTP2_METHOD_LINK: string;
|
1890
|
+
const HTTP2_METHOD_LOCK: string;
|
1891
|
+
const HTTP2_METHOD_MERGE: string;
|
1892
|
+
const HTTP2_METHOD_MKACTIVITY: string;
|
1893
|
+
const HTTP2_METHOD_MKCALENDAR: string;
|
1894
|
+
const HTTP2_METHOD_MKCOL: string;
|
1895
|
+
const HTTP2_METHOD_MKREDIRECTREF: string;
|
1896
|
+
const HTTP2_METHOD_MKWORKSPACE: string;
|
1897
|
+
const HTTP2_METHOD_MOVE: string;
|
1898
|
+
const HTTP2_METHOD_OPTIONS: string;
|
1899
|
+
const HTTP2_METHOD_ORDERPATCH: string;
|
1900
|
+
const HTTP2_METHOD_PATCH: string;
|
1901
|
+
const HTTP2_METHOD_POST: string;
|
1902
|
+
const HTTP2_METHOD_PRI: string;
|
1903
|
+
const HTTP2_METHOD_PROPFIND: string;
|
1904
|
+
const HTTP2_METHOD_PROPPATCH: string;
|
1905
|
+
const HTTP2_METHOD_PUT: string;
|
1906
|
+
const HTTP2_METHOD_REBIND: string;
|
1907
|
+
const HTTP2_METHOD_REPORT: string;
|
1908
|
+
const HTTP2_METHOD_SEARCH: string;
|
1909
|
+
const HTTP2_METHOD_TRACE: string;
|
1910
|
+
const HTTP2_METHOD_UNBIND: string;
|
1911
|
+
const HTTP2_METHOD_UNCHECKOUT: string;
|
1912
|
+
const HTTP2_METHOD_UNLINK: string;
|
1913
|
+
const HTTP2_METHOD_UNLOCK: string;
|
1914
|
+
const HTTP2_METHOD_UPDATE: string;
|
1915
|
+
const HTTP2_METHOD_UPDATEREDIRECTREF: string;
|
1916
|
+
const HTTP2_METHOD_VERSION_CONTROL: string;
|
1917
|
+
const HTTP_STATUS_CONTINUE: number;
|
1918
|
+
const HTTP_STATUS_SWITCHING_PROTOCOLS: number;
|
1919
|
+
const HTTP_STATUS_PROCESSING: number;
|
1920
|
+
const HTTP_STATUS_OK: number;
|
1921
|
+
const HTTP_STATUS_CREATED: number;
|
1922
|
+
const HTTP_STATUS_ACCEPTED: number;
|
1923
|
+
const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number;
|
1924
|
+
const HTTP_STATUS_NO_CONTENT: number;
|
1925
|
+
const HTTP_STATUS_RESET_CONTENT: number;
|
1926
|
+
const HTTP_STATUS_PARTIAL_CONTENT: number;
|
1927
|
+
const HTTP_STATUS_MULTI_STATUS: number;
|
1928
|
+
const HTTP_STATUS_ALREADY_REPORTED: number;
|
1929
|
+
const HTTP_STATUS_IM_USED: number;
|
1930
|
+
const HTTP_STATUS_MULTIPLE_CHOICES: number;
|
1931
|
+
const HTTP_STATUS_MOVED_PERMANENTLY: number;
|
1932
|
+
const HTTP_STATUS_FOUND: number;
|
1933
|
+
const HTTP_STATUS_SEE_OTHER: number;
|
1934
|
+
const HTTP_STATUS_NOT_MODIFIED: number;
|
1935
|
+
const HTTP_STATUS_USE_PROXY: number;
|
1936
|
+
const HTTP_STATUS_TEMPORARY_REDIRECT: number;
|
1937
|
+
const HTTP_STATUS_PERMANENT_REDIRECT: number;
|
1938
|
+
const HTTP_STATUS_BAD_REQUEST: number;
|
1939
|
+
const HTTP_STATUS_UNAUTHORIZED: number;
|
1940
|
+
const HTTP_STATUS_PAYMENT_REQUIRED: number;
|
1941
|
+
const HTTP_STATUS_FORBIDDEN: number;
|
1942
|
+
const HTTP_STATUS_NOT_FOUND: number;
|
1943
|
+
const HTTP_STATUS_METHOD_NOT_ALLOWED: number;
|
1944
|
+
const HTTP_STATUS_NOT_ACCEPTABLE: number;
|
1945
|
+
const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number;
|
1946
|
+
const HTTP_STATUS_REQUEST_TIMEOUT: number;
|
1947
|
+
const HTTP_STATUS_CONFLICT: number;
|
1948
|
+
const HTTP_STATUS_GONE: number;
|
1949
|
+
const HTTP_STATUS_LENGTH_REQUIRED: number;
|
1950
|
+
const HTTP_STATUS_PRECONDITION_FAILED: number;
|
1951
|
+
const HTTP_STATUS_PAYLOAD_TOO_LARGE: number;
|
1952
|
+
const HTTP_STATUS_URI_TOO_LONG: number;
|
1953
|
+
const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number;
|
1954
|
+
const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number;
|
1955
|
+
const HTTP_STATUS_EXPECTATION_FAILED: number;
|
1956
|
+
const HTTP_STATUS_TEAPOT: number;
|
1957
|
+
const HTTP_STATUS_MISDIRECTED_REQUEST: number;
|
1958
|
+
const HTTP_STATUS_UNPROCESSABLE_ENTITY: number;
|
1959
|
+
const HTTP_STATUS_LOCKED: number;
|
1960
|
+
const HTTP_STATUS_FAILED_DEPENDENCY: number;
|
1961
|
+
const HTTP_STATUS_UNORDERED_COLLECTION: number;
|
1962
|
+
const HTTP_STATUS_UPGRADE_REQUIRED: number;
|
1963
|
+
const HTTP_STATUS_PRECONDITION_REQUIRED: number;
|
1964
|
+
const HTTP_STATUS_TOO_MANY_REQUESTS: number;
|
1965
|
+
const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number;
|
1966
|
+
const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number;
|
1967
|
+
const HTTP_STATUS_INTERNAL_SERVER_ERROR: number;
|
1968
|
+
const HTTP_STATUS_NOT_IMPLEMENTED: number;
|
1969
|
+
const HTTP_STATUS_BAD_GATEWAY: number;
|
1970
|
+
const HTTP_STATUS_SERVICE_UNAVAILABLE: number;
|
1971
|
+
const HTTP_STATUS_GATEWAY_TIMEOUT: number;
|
1972
|
+
const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number;
|
1973
|
+
const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number;
|
1974
|
+
const HTTP_STATUS_INSUFFICIENT_STORAGE: number;
|
1975
|
+
const HTTP_STATUS_LOOP_DETECTED: number;
|
1976
|
+
const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number;
|
1977
|
+
const HTTP_STATUS_NOT_EXTENDED: number;
|
1978
|
+
const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number;
|
1979
|
+
}
|
1980
|
+
/**
|
1981
|
+
* This symbol can be set as a property on the HTTP/2 headers object with
|
1982
|
+
* an array value in order to provide a list of headers considered sensitive.
|
1983
|
+
*/
|
1984
|
+
export const sensitiveHeaders: symbol;
|
1985
|
+
/**
|
1986
|
+
* Returns an object containing the default settings for an `Http2Session`instance. This method returns a new object instance every time it is called
|
1987
|
+
* so instances returned may be safely modified for use.
|
1988
|
+
* @since v8.4.0
|
1989
|
+
*/
|
1990
|
+
export function getDefaultSettings(): Settings;
|
1991
|
+
/**
|
1992
|
+
* Returns a `Buffer` instance containing serialized representation of the given
|
1993
|
+
* HTTP/2 settings as specified in the [HTTP/2](https://tools.ietf.org/html/rfc7540) specification. This is intended
|
1994
|
+
* for use with the `HTTP2-Settings` header field.
|
1995
|
+
*
|
1996
|
+
* ```js
|
1997
|
+
* const http2 = require('http2');
|
1998
|
+
*
|
1999
|
+
* const packed = http2.getPackedSettings({ enablePush: false });
|
2000
|
+
*
|
2001
|
+
* console.log(packed.toString('base64'));
|
2002
|
+
* // Prints: AAIAAAAA
|
2003
|
+
* ```
|
2004
|
+
* @since v8.4.0
|
2005
|
+
*/
|
2006
|
+
export function getPackedSettings(settings: Settings): Buffer;
|
2007
|
+
/**
|
2008
|
+
* Returns a `HTTP/2 Settings Object` containing the deserialized settings from
|
2009
|
+
* the given `Buffer` as generated by `http2.getPackedSettings()`.
|
2010
|
+
* @since v8.4.0
|
2011
|
+
* @param buf The packed settings.
|
2012
|
+
*/
|
2013
|
+
export function getUnpackedSettings(buf: Uint8Array): Settings;
|
2014
|
+
/**
|
2015
|
+
* Returns a `net.Server` instance that creates and manages `Http2Session`instances.
|
2016
|
+
*
|
2017
|
+
* Since there are no browsers known that support [unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when
|
2018
|
+
* communicating
|
2019
|
+
* with browser clients.
|
2020
|
+
*
|
2021
|
+
* ```js
|
2022
|
+
* const http2 = require('http2');
|
2023
|
+
*
|
2024
|
+
* // Create an unencrypted HTTP/2 server.
|
2025
|
+
* // Since there are no browsers known that support
|
2026
|
+
* // unencrypted HTTP/2, the use of `http2.createSecureServer()`
|
2027
|
+
* // is necessary when communicating with browser clients.
|
2028
|
+
* const server = http2.createServer();
|
2029
|
+
*
|
2030
|
+
* server.on('stream', (stream, headers) => {
|
2031
|
+
* stream.respond({
|
2032
|
+
* 'content-type': 'text/html; charset=utf-8',
|
2033
|
+
* ':status': 200
|
2034
|
+
* });
|
2035
|
+
* stream.end('<h1>Hello World</h1>');
|
2036
|
+
* });
|
2037
|
+
*
|
2038
|
+
* server.listen(80);
|
2039
|
+
* ```
|
2040
|
+
* @since v8.4.0
|
2041
|
+
* @param onRequestHandler See `Compatibility API`
|
2042
|
+
*/
|
2043
|
+
export function createServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server;
|
2044
|
+
export function createServer(options: ServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server;
|
2045
|
+
/**
|
2046
|
+
* Returns a `tls.Server` instance that creates and manages `Http2Session`instances.
|
2047
|
+
*
|
2048
|
+
* ```js
|
2049
|
+
* const http2 = require('http2');
|
2050
|
+
* const fs = require('fs');
|
2051
|
+
*
|
2052
|
+
* const options = {
|
2053
|
+
* key: fs.readFileSync('server-key.pem'),
|
2054
|
+
* cert: fs.readFileSync('server-cert.pem')
|
2055
|
+
* };
|
2056
|
+
*
|
2057
|
+
* // Create a secure HTTP/2 server
|
2058
|
+
* const server = http2.createSecureServer(options);
|
2059
|
+
*
|
2060
|
+
* server.on('stream', (stream, headers) => {
|
2061
|
+
* stream.respond({
|
2062
|
+
* 'content-type': 'text/html; charset=utf-8',
|
2063
|
+
* ':status': 200
|
2064
|
+
* });
|
2065
|
+
* stream.end('<h1>Hello World</h1>');
|
2066
|
+
* });
|
2067
|
+
*
|
2068
|
+
* server.listen(80);
|
2069
|
+
* ```
|
2070
|
+
* @since v8.4.0
|
2071
|
+
* @param onRequestHandler See `Compatibility API`
|
2072
|
+
*/
|
2073
|
+
export function createSecureServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer;
|
2074
|
+
export function createSecureServer(options: SecureServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer;
|
2075
|
+
/**
|
2076
|
+
* Returns a `ClientHttp2Session` instance.
|
2077
|
+
*
|
2078
|
+
* ```js
|
2079
|
+
* const http2 = require('http2');
|
2080
|
+
* const client = http2.connect('https://localhost:1234');
|
2081
|
+
*
|
2082
|
+
* // Use the client
|
2083
|
+
*
|
2084
|
+
* client.close();
|
2085
|
+
* ```
|
2086
|
+
* @since v8.4.0
|
2087
|
+
* @param authority The remote HTTP/2 server to connect to. This must be in the form of a minimal, valid URL with the `http://` or `https://` prefix, host name, and IP port (if a non-default port
|
2088
|
+
* is used). Userinfo (user ID and password), path, querystring, and fragment details in the URL will be ignored.
|
2089
|
+
* @param listener Will be registered as a one-time listener of the {@link 'connect'} event.
|
2090
|
+
*/
|
2091
|
+
export function connect(authority: string | url.URL, listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): ClientHttp2Session;
|
2092
|
+
export function connect(
|
2093
|
+
authority: string | url.URL,
|
2094
|
+
options?: ClientSessionOptions | SecureClientSessionOptions,
|
2095
|
+
listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void
|
2096
|
+
): ClientHttp2Session;
|
2097
|
+
}
|
2098
|
+
declare module 'node:http2' {
|
2099
|
+
export * from 'http2';
|
2100
|
+
}
|