@milpa/comal 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -2
- package/backend/contracts/artifact-check-v1.schema.json +213 -0
- package/backend/contracts/remote-commands-v1.json +125 -0
- package/backend/verifier/transport.mjs +27 -0
- package/bin/comal.mjs +32 -0
- package/bin/harness.mjs +3 -0
- package/docs/investigation.md +3 -0
- package/governance/chrome-task-v1.json +13 -0
- package/governance/chrome-task-v2.json +67 -0
- package/node_modules/@jitl/quickjs-ffi-types/LICENSE +21 -0
- package/node_modules/@jitl/quickjs-ffi-types/README.md +5 -0
- package/node_modules/@jitl/quickjs-ffi-types/dist/index.d.mts +549 -0
- package/node_modules/@jitl/quickjs-ffi-types/dist/index.d.ts +549 -0
- package/node_modules/@jitl/quickjs-ffi-types/dist/index.js +2 -0
- package/node_modules/@jitl/quickjs-ffi-types/dist/index.js.map +1 -0
- package/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs +2 -0
- package/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-ffi-types/package.json +36 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/LICENSE +47 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/README.md +93 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.browser.d.ts +15 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.browser.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.cjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.cloudflare.cjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.cloudflare.d.ts +15 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.d.ts +15 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.wasm +0 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.wasm.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.d.mts +94 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.d.ts +94 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.d.mts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.d.ts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/package.json +61 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/LICENSE +47 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/README.md +88 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.browser.d.ts +11 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.browser.mjs +5430 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.cjs +5485 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.cloudflare.cjs +5424 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.cloudflare.d.ts +11 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.d.ts +11 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.mjs +5541 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.wasm +0 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.wasm.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.d.mts +85 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.d.ts +85 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.d.mts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.d.ts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-debug-sync/package.json +61 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/LICENSE +47 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/README.md +89 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.browser.d.ts +15 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.browser.mjs +26 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.cjs +25 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.cloudflare.cjs +25 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.cloudflare.d.ts +15 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.d.ts +15 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.mjs +30 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.wasm +0 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.d.mts +94 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.d.ts +94 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.d.mts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.d.ts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/package.json +61 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/LICENSE +47 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/README.md +82 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.d.ts +11 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs +22 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cjs +21 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cloudflare.cjs +21 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cloudflare.d.ts +11 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.d.ts +11 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs +25 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm +0 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.d.mts +85 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.d.ts +85 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.d.mts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.d.ts +20 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs +2 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs.map +1 -0
- package/node_modules/@jitl/quickjs-wasmfile-release-sync/package.json +61 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/ansi-regex/index.d.ts +33 -0
- package/node_modules/ansi-regex/index.js +15 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +61 -0
- package/node_modules/ansi-regex/readme.md +66 -0
- package/node_modules/boolbase/README.md +10 -0
- package/node_modules/boolbase/index.js +8 -0
- package/node_modules/boolbase/package.json +23 -0
- package/node_modules/cheerio/LICENSE +21 -0
- package/node_modules/cheerio/Readme.md +229 -0
- package/node_modules/cheerio/dist/browser/api/attributes.d.ts +385 -0
- package/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/attributes.js +636 -0
- package/node_modules/cheerio/dist/browser/api/attributes.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/css.d.ts +42 -0
- package/node_modules/cheerio/dist/browser/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/css.js +116 -0
- package/node_modules/cheerio/dist/browser/api/css.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/extract.d.ts +27 -0
- package/node_modules/cheerio/dist/browser/api/extract.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/extract.js +42 -0
- package/node_modules/cheerio/dist/browser/api/extract.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/forms.d.ts +36 -0
- package/node_modules/cheerio/dist/browser/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/forms.js +81 -0
- package/node_modules/cheerio/dist/browser/api/forms.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.d.ts +528 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.js +831 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/traversing.d.ts +657 -0
- package/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/traversing.js +857 -0
- package/node_modules/cheerio/dist/browser/api/traversing.js.map +1 -0
- package/node_modules/cheerio/dist/browser/cheerio.d.ts +85 -0
- package/node_modules/cheerio/dist/browser/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/cheerio.js +58 -0
- package/node_modules/cheerio/dist/browser/cheerio.js.map +1 -0
- package/node_modules/cheerio/dist/browser/index-browser.d.mts.map +1 -0
- package/node_modules/cheerio/dist/browser/index-browser.mjs.map +1 -0
- package/node_modules/cheerio/dist/browser/index.d.ts +5 -0
- package/node_modules/cheerio/dist/browser/index.js +3 -0
- package/node_modules/cheerio/dist/browser/load-parse.d.ts +20 -0
- package/node_modules/cheerio/dist/browser/load-parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/load-parse.js +28 -0
- package/node_modules/cheerio/dist/browser/load-parse.js.map +1 -0
- package/node_modules/cheerio/dist/browser/load.d.ts +91 -0
- package/node_modules/cheerio/dist/browser/load.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/load.js +129 -0
- package/node_modules/cheerio/dist/browser/load.js.map +1 -0
- package/node_modules/cheerio/dist/browser/options.d.ts +98 -0
- package/node_modules/cheerio/dist/browser/options.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/options.js +34 -0
- package/node_modules/cheerio/dist/browser/options.js.map +1 -0
- package/node_modules/cheerio/dist/browser/package.json +3 -0
- package/node_modules/cheerio/dist/browser/parse.d.ts +18 -0
- package/node_modules/cheerio/dist/browser/parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/parse.js +73 -0
- package/node_modules/cheerio/dist/browser/parse.js.map +1 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +50 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/dist/browser/slim.d.ts +25 -0
- package/node_modules/cheerio/dist/browser/slim.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/slim.js +22 -0
- package/node_modules/cheerio/dist/browser/slim.js.map +1 -0
- package/node_modules/cheerio/dist/browser/static.d.ts +112 -0
- package/node_modules/cheerio/dist/browser/static.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/static.js +204 -0
- package/node_modules/cheerio/dist/browser/static.js.map +1 -0
- package/node_modules/cheerio/dist/browser/types.d.ts +21 -0
- package/node_modules/cheerio/dist/browser/types.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/types.js +3 -0
- package/node_modules/cheerio/dist/browser/types.js.map +1 -0
- package/node_modules/cheerio/dist/browser/utils.d.ts +55 -0
- package/node_modules/cheerio/dist/browser/utils.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/utils.js +84 -0
- package/node_modules/cheerio/dist/browser/utils.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +385 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.js +647 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/css.d.ts +42 -0
- package/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/css.js +119 -0
- package/node_modules/cheerio/dist/commonjs/api/css.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.d.ts +27 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.js +45 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.d.ts +36 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.js +85 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +528 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.js +850 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +657 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.js +914 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.d.ts +85 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.js +95 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/index.d.ts +104 -0
- package/node_modules/cheerio/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/index.js +250 -0
- package/node_modules/cheerio/dist/commonjs/index.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.d.ts +20 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.js +34 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load.d.ts +91 -0
- package/node_modules/cheerio/dist/commonjs/load.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load.js +165 -0
- package/node_modules/cheerio/dist/commonjs/load.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/options.d.ts +98 -0
- package/node_modules/cheerio/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/options.js +37 -0
- package/node_modules/cheerio/dist/commonjs/options.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/package.json +3 -0
- package/node_modules/cheerio/dist/commonjs/parse.d.ts +18 -0
- package/node_modules/cheerio/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/parse.js +77 -0
- package/node_modules/cheerio/dist/commonjs/parse.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +54 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/slim.d.ts +25 -0
- package/node_modules/cheerio/dist/commonjs/slim.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/slim.js +30 -0
- package/node_modules/cheerio/dist/commonjs/slim.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/static.d.ts +112 -0
- package/node_modules/cheerio/dist/commonjs/static.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/static.js +214 -0
- package/node_modules/cheerio/dist/commonjs/static.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/types.d.ts +21 -0
- package/node_modules/cheerio/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/types.js +4 -0
- package/node_modules/cheerio/dist/commonjs/types.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/utils.d.ts +55 -0
- package/node_modules/cheerio/dist/commonjs/utils.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/utils.js +91 -0
- package/node_modules/cheerio/dist/commonjs/utils.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/attributes.d.ts +385 -0
- package/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/attributes.js +636 -0
- package/node_modules/cheerio/dist/esm/api/attributes.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/css.d.ts +42 -0
- package/node_modules/cheerio/dist/esm/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/css.js +116 -0
- package/node_modules/cheerio/dist/esm/api/css.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/extract.d.ts +27 -0
- package/node_modules/cheerio/dist/esm/api/extract.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/extract.js +42 -0
- package/node_modules/cheerio/dist/esm/api/extract.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/forms.d.ts +36 -0
- package/node_modules/cheerio/dist/esm/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/forms.js +81 -0
- package/node_modules/cheerio/dist/esm/api/forms.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.d.ts +528 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.js +831 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/traversing.d.ts +657 -0
- package/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/traversing.js +857 -0
- package/node_modules/cheerio/dist/esm/api/traversing.js.map +1 -0
- package/node_modules/cheerio/dist/esm/cheerio.d.ts +85 -0
- package/node_modules/cheerio/dist/esm/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/cheerio.js +58 -0
- package/node_modules/cheerio/dist/esm/cheerio.js.map +1 -0
- package/node_modules/cheerio/dist/esm/index.d.ts +104 -0
- package/node_modules/cheerio/dist/esm/index.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/index.js +202 -0
- package/node_modules/cheerio/dist/esm/index.js.map +1 -0
- package/node_modules/cheerio/dist/esm/load-parse.d.ts +20 -0
- package/node_modules/cheerio/dist/esm/load-parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/load-parse.js +28 -0
- package/node_modules/cheerio/dist/esm/load-parse.js.map +1 -0
- package/node_modules/cheerio/dist/esm/load.d.ts +91 -0
- package/node_modules/cheerio/dist/esm/load.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/load.js +129 -0
- package/node_modules/cheerio/dist/esm/load.js.map +1 -0
- package/node_modules/cheerio/dist/esm/options.d.ts +98 -0
- package/node_modules/cheerio/dist/esm/options.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/options.js +34 -0
- package/node_modules/cheerio/dist/esm/options.js.map +1 -0
- package/node_modules/cheerio/dist/esm/package.json +3 -0
- package/node_modules/cheerio/dist/esm/parse.d.ts +18 -0
- package/node_modules/cheerio/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/parse.js +73 -0
- package/node_modules/cheerio/dist/esm/parse.js.map +1 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +50 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/dist/esm/slim.d.ts +25 -0
- package/node_modules/cheerio/dist/esm/slim.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/slim.js +22 -0
- package/node_modules/cheerio/dist/esm/slim.js.map +1 -0
- package/node_modules/cheerio/dist/esm/static.d.ts +112 -0
- package/node_modules/cheerio/dist/esm/static.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/static.js +204 -0
- package/node_modules/cheerio/dist/esm/static.js.map +1 -0
- package/node_modules/cheerio/dist/esm/types.d.ts +21 -0
- package/node_modules/cheerio/dist/esm/types.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/types.js +3 -0
- package/node_modules/cheerio/dist/esm/types.js.map +1 -0
- package/node_modules/cheerio/dist/esm/utils.d.ts +55 -0
- package/node_modules/cheerio/dist/esm/utils.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/utils.js +84 -0
- package/node_modules/cheerio/dist/esm/utils.js.map +1 -0
- package/node_modules/cheerio/package.json +182 -0
- package/node_modules/cheerio/src/api/attributes.ts +1145 -0
- package/node_modules/cheerio/src/api/css.ts +224 -0
- package/node_modules/cheerio/src/api/extract.ts +92 -0
- package/node_modules/cheerio/src/api/forms.ts +103 -0
- package/node_modules/cheerio/src/api/manipulation.ts +1115 -0
- package/node_modules/cheerio/src/api/traversing.ts +1175 -0
- package/node_modules/cheerio/src/cheerio.ts +143 -0
- package/node_modules/cheerio/src/index-browser.mts +10 -0
- package/node_modules/cheerio/src/index.ts +294 -0
- package/node_modules/cheerio/src/load-parse.ts +39 -0
- package/node_modules/cheerio/src/load.ts +282 -0
- package/node_modules/cheerio/src/options.ts +136 -0
- package/node_modules/cheerio/src/parse.ts +105 -0
- package/node_modules/cheerio/src/parsers/parse5-adapter.ts +66 -0
- package/node_modules/cheerio/src/slim.ts +33 -0
- package/node_modules/cheerio/src/static.ts +312 -0
- package/node_modules/cheerio/src/types.ts +58 -0
- package/node_modules/cheerio/src/utils.ts +99 -0
- package/node_modules/cheerio-select/LICENSE +11 -0
- package/node_modules/cheerio-select/README.md +18 -0
- package/node_modules/cheerio-select/lib/esm/helpers.d.ts +5 -0
- package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/helpers.js +20 -0
- package/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
- package/node_modules/cheerio-select/lib/esm/index.d.ts +12 -0
- package/node_modules/cheerio-select/lib/esm/index.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/index.js +241 -0
- package/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
- package/node_modules/cheerio-select/lib/esm/package.json +1 -0
- package/node_modules/cheerio-select/lib/esm/positionals.d.ts +10 -0
- package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/positionals.js +47 -0
- package/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
- package/node_modules/cheerio-select/lib/helpers.d.ts +5 -0
- package/node_modules/cheerio-select/lib/helpers.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/helpers.js +26 -0
- package/node_modules/cheerio-select/lib/helpers.js.map +1 -0
- package/node_modules/cheerio-select/lib/index.d.ts +12 -0
- package/node_modules/cheerio-select/lib/index.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/index.js +302 -0
- package/node_modules/cheerio-select/lib/index.js.map +1 -0
- package/node_modules/cheerio-select/lib/positionals.d.ts +10 -0
- package/node_modules/cheerio-select/lib/positionals.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/positionals.js +52 -0
- package/node_modules/cheerio-select/lib/positionals.js.map +1 -0
- package/node_modules/cheerio-select/package.json +76 -0
- package/node_modules/css-select/LICENSE +11 -0
- package/node_modules/css-select/README.md +264 -0
- package/node_modules/css-select/lib/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/attributes.js +236 -0
- package/node_modules/css-select/lib/attributes.js.map +1 -0
- package/node_modules/css-select/lib/compile.d.ts +13 -0
- package/node_modules/css-select/lib/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/compile.js +151 -0
- package/node_modules/css-select/lib/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.js +222 -0
- package/node_modules/css-select/lib/esm/attributes.js.map +1 -0
- package/node_modules/css-select/lib/esm/compile.d.ts +13 -0
- package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/compile.js +115 -0
- package/node_modules/css-select/lib/esm/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/general.d.ts +3 -0
- package/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/general.js +144 -0
- package/node_modules/css-select/lib/esm/general.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/esm/index.d.ts +50 -0
- package/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/index.js +115 -0
- package/node_modules/css-select/lib/esm/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/package.json +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/esm/sort.d.ts +12 -0
- package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/sort.js +79 -0
- package/node_modules/css-select/lib/esm/sort.js.map +1 -0
- package/node_modules/css-select/lib/esm/types.d.ts +167 -0
- package/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/types.js +2 -0
- package/node_modules/css-select/lib/esm/types.js.map +1 -0
- package/node_modules/css-select/lib/general.d.ts +3 -0
- package/node_modules/css-select/lib/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/general.js +148 -0
- package/node_modules/css-select/lib/general.js.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.js +45 -0
- package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.js +111 -0
- package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.js +111 -0
- package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/index.d.ts +50 -0
- package/node_modules/css-select/lib/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/index.js +154 -0
- package/node_modules/css-select/lib/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/sort.d.ts +12 -0
- package/node_modules/css-select/lib/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/sort.js +84 -0
- package/node_modules/css-select/lib/sort.js.map +1 -0
- package/node_modules/css-select/lib/types.d.ts +167 -0
- package/node_modules/css-select/lib/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/types.js +3 -0
- package/node_modules/css-select/lib/types.js.map +1 -0
- package/node_modules/css-select/package.json +81 -0
- package/node_modules/css-what/LICENSE +11 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/index.js +23 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/parse.js +425 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/stringify.js +138 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/types.js +42 -0
- package/node_modules/css-what/lib/es/index.d.ts +4 -0
- package/node_modules/css-what/lib/es/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/index.js +3 -0
- package/node_modules/css-what/lib/es/parse.d.ts +20 -0
- package/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/parse.js +420 -0
- package/node_modules/css-what/lib/es/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/stringify.js +126 -0
- package/node_modules/css-what/lib/es/types.d.ts +70 -0
- package/node_modules/css-what/lib/es/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/types.js +39 -0
- package/node_modules/css-what/package.json +59 -0
- package/node_modules/css-what/readme.md +69 -0
- package/node_modules/dom-serializer/LICENSE +11 -0
- package/node_modules/dom-serializer/README.md +109 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/index.js +190 -0
- package/node_modules/dom-serializer/lib/esm/package.json +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/node_modules/dom-serializer/lib/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/index.js +229 -0
- package/node_modules/dom-serializer/package.json +69 -0
- package/node_modules/domelementtype/LICENSE +11 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/esm/index.js +51 -0
- package/node_modules/domelementtype/lib/esm/package.json +1 -0
- package/node_modules/domelementtype/lib/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/index.js +55 -0
- package/node_modules/domelementtype/package.json +54 -0
- package/node_modules/domelementtype/readme.md +1 -0
- package/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/domhandler/lib/esm/index.d.ts +76 -0
- package/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/index.js +146 -0
- package/node_modules/domhandler/lib/esm/node.d.ts +245 -0
- package/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/node.js +338 -0
- package/node_modules/domhandler/lib/esm/package.json +1 -0
- package/node_modules/domhandler/lib/index.d.ts +76 -0
- package/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/index.js +165 -0
- package/node_modules/domhandler/lib/node.d.ts +245 -0
- package/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/node.js +474 -0
- package/node_modules/domhandler/package.json +73 -0
- package/node_modules/domhandler/readme.md +92 -0
- package/node_modules/domutils/LICENSE +11 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/feeds.js +183 -0
- package/node_modules/domutils/lib/esm/feeds.js.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.js +136 -0
- package/node_modules/domutils/lib/esm/helpers.js.map +1 -0
- package/node_modules/domutils/lib/esm/index.d.ts +10 -0
- package/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/index.js +10 -0
- package/node_modules/domutils/lib/esm/index.js.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts +79 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.js +152 -0
- package/node_modules/domutils/lib/esm/legacy.js.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.js +134 -0
- package/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/esm/package.json +1 -0
- package/node_modules/domutils/lib/esm/querying.d.ts +64 -0
- package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/querying.js +142 -0
- package/node_modules/domutils/lib/esm/querying.js.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.js +81 -0
- package/node_modules/domutils/lib/esm/stringify.js.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.js +112 -0
- package/node_modules/domutils/lib/esm/traversal.js.map +1 -0
- package/node_modules/domutils/lib/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/feeds.js +190 -0
- package/node_modules/domutils/lib/feeds.js.map +1 -0
- package/node_modules/domutils/lib/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/helpers.js +142 -0
- package/node_modules/domutils/lib/helpers.js.map +1 -0
- package/node_modules/domutils/lib/index.d.ts +10 -0
- package/node_modules/domutils/lib/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/index.js +33 -0
- package/node_modules/domutils/lib/index.js.map +1 -0
- package/node_modules/domutils/lib/legacy.d.ts +79 -0
- package/node_modules/domutils/lib/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/legacy.js +168 -0
- package/node_modules/domutils/lib/legacy.js.map +1 -0
- package/node_modules/domutils/lib/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/manipulation.js +142 -0
- package/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/querying.d.ts +64 -0
- package/node_modules/domutils/lib/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/querying.js +155 -0
- package/node_modules/domutils/lib/querying.js.map +1 -0
- package/node_modules/domutils/lib/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/stringify.js +91 -0
- package/node_modules/domutils/lib/stringify.js.map +1 -0
- package/node_modules/domutils/lib/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/traversal.js +125 -0
- package/node_modules/domutils/lib/traversal.js.map +1 -0
- package/node_modules/domutils/package.json +79 -0
- package/node_modules/domutils/readme.md +31 -0
- package/node_modules/encoding-sniffer/LICENSE +18 -0
- package/node_modules/encoding-sniffer/README.md +68 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +31 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.js +72 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.js.map +1 -0
- package/node_modules/encoding-sniffer/dist/commonjs/package.json +3 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +148 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +990 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/index.d.ts +31 -0
- package/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/index.js +63 -0
- package/node_modules/encoding-sniffer/dist/esm/index.js.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/package.json +3 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +148 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.js +985 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +1 -0
- package/node_modules/encoding-sniffer/package.json +94 -0
- package/node_modules/encoding-sniffer/sniffer.d.ts +2 -0
- package/node_modules/encoding-sniffer/sniffer.js +3 -0
- package/node_modules/entities/LICENSE +11 -0
- package/node_modules/entities/lib/decode.d.ts +211 -0
- package/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/decode.js +536 -0
- package/node_modules/entities/lib/decode.js.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/encode.d.ts +22 -0
- package/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/encode.js +77 -0
- package/node_modules/entities/lib/encode.js.map +1 -0
- package/node_modules/entities/lib/escape.d.ts +43 -0
- package/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/escape.js +122 -0
- package/node_modules/entities/lib/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode.js +496 -0
- package/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/encode.js +69 -0
- package/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/escape.js +116 -0
- package/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/index.js +99 -0
- package/node_modules/entities/lib/esm/index.js.map +1 -0
- package/node_modules/entities/lib/esm/package.json +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/index.d.ts +96 -0
- package/node_modules/entities/lib/index.d.ts.map +1 -0
- package/node_modules/entities/lib/index.js +126 -0
- package/node_modules/entities/lib/index.js.map +1 -0
- package/node_modules/entities/package.json +90 -0
- package/node_modules/entities/readme.md +122 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +631 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +747 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/node_modules/get-east-asian-width/index.js +35 -0
- package/node_modules/get-east-asian-width/license +9 -0
- package/node_modules/get-east-asian-width/lookup-data.js +21 -0
- package/node_modules/get-east-asian-width/lookup.js +138 -0
- package/node_modules/get-east-asian-width/package.json +71 -0
- package/node_modules/get-east-asian-width/readme.md +65 -0
- package/node_modules/get-east-asian-width/utilities.js +24 -0
- package/node_modules/htmlparser2/LICENSE +18 -0
- package/node_modules/htmlparser2/README.md +171 -0
- package/node_modules/htmlparser2/WritableStream.js +3 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +198 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.js +527 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +126 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +15 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +36 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/index.d.ts +54 -0
- package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/index.js +123 -0
- package/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/package.json +3 -0
- package/node_modules/htmlparser2/dist/esm/Parser.d.ts +198 -0
- package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/Parser.js +490 -0
- package/node_modules/htmlparser2/dist/esm/Parser.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +126 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.js +801 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +15 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.js +32 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/index.d.ts +54 -0
- package/node_modules/htmlparser2/dist/esm/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/index.js +74 -0
- package/node_modules/htmlparser2/dist/esm/index.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/package.json +3 -0
- package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
- package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/decode.js +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +92 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +138 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +14 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +131 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +94 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +205 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +554 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +88 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +46 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +134 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +4 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +11 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +107 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +18 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +28 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +91 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +3 -0
- package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/escape.js +3 -0
- package/node_modules/htmlparser2/node_modules/entities/package.json +120 -0
- package/node_modules/htmlparser2/node_modules/entities/readme.md +143 -0
- package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +81 -0
- package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +685 -0
- package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +93 -0
- package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +161 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +10 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +6 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +6 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +17 -0
- package/node_modules/htmlparser2/node_modules/entities/src/index.ts +187 -0
- package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
- package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +30 -0
- package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +121 -0
- package/node_modules/htmlparser2/package.json +113 -0
- package/node_modules/htmlparser2/src/Parser.ts +663 -0
- package/node_modules/htmlparser2/src/Tokenizer.ts +877 -0
- package/node_modules/htmlparser2/src/WritableStream.ts +43 -0
- package/node_modules/htmlparser2/src/index.ts +115 -0
- package/node_modules/iconv-lite/.github/dependabot.yml +11 -0
- package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
- package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
- package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/node_modules/iconv-lite/.idea/modules.xml +8 -0
- package/node_modules/iconv-lite/.idea/vcs.xml +6 -0
- package/node_modules/iconv-lite/Changelog.md +212 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +130 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +198 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +197 -0
- package/node_modules/iconv-lite/encodings/utf32.js +319 -0
- package/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/node_modules/iconv-lite/lib/index.js +180 -0
- package/node_modules/iconv-lite/lib/streams.js +109 -0
- package/node_modules/iconv-lite/package.json +44 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/marked/LICENSE +44 -0
- package/node_modules/marked/README.md +117 -0
- package/node_modules/marked/bin/main.js +284 -0
- package/node_modules/marked/bin/marked.js +16 -0
- package/node_modules/marked/lib/marked.d.ts +841 -0
- package/node_modules/marked/lib/marked.esm.js +78 -0
- package/node_modules/marked/lib/marked.esm.js.map +7 -0
- package/node_modules/marked/lib/marked.umd.js +80 -0
- package/node_modules/marked/lib/marked.umd.js.map +7 -0
- package/node_modules/marked/man/marked.1 +113 -0
- package/node_modules/marked/man/marked.1.md +93 -0
- package/node_modules/marked/package.json +103 -0
- package/node_modules/nth-check/LICENSE +11 -0
- package/node_modules/nth-check/README.md +136 -0
- package/node_modules/nth-check/lib/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/compile.js +121 -0
- package/node_modules/nth-check/lib/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.js +113 -0
- package/node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/index.d.ts +59 -0
- package/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/index.js +63 -0
- package/node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/node_modules/nth-check/lib/esm/package.json +1 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/parse.js +73 -0
- package/node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/node_modules/nth-check/lib/index.d.ts +59 -0
- package/node_modules/nth-check/lib/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/index.js +70 -0
- package/node_modules/nth-check/lib/index.js.map +1 -0
- package/node_modules/nth-check/lib/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/parse.js +77 -0
- package/node_modules/nth-check/lib/parse.js.map +1 -0
- package/node_modules/nth-check/package.json +78 -0
- package/node_modules/parse5/LICENSE +19 -0
- package/node_modules/parse5/README.md +38 -0
- package/node_modules/parse5/dist/cjs/common/doctype.d.ts +4 -0
- package/node_modules/parse5/dist/cjs/common/doctype.js +118 -0
- package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +67 -0
- package/node_modules/parse5/dist/cjs/common/error-codes.js +66 -0
- package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +9 -0
- package/node_modules/parse5/dist/cjs/common/foreign-content.js +237 -0
- package/node_modules/parse5/dist/cjs/common/html.d.ts +289 -0
- package/node_modules/parse5/dist/cjs/common/html.js +528 -0
- package/node_modules/parse5/dist/cjs/common/token.d.ts +84 -0
- package/node_modules/parse5/dist/cjs/common/token.js +24 -0
- package/node_modules/parse5/dist/cjs/common/unicode.d.ts +42 -0
- package/node_modules/parse5/dist/cjs/common/unicode.js +70 -0
- package/node_modules/parse5/dist/cjs/index.d.ts +71 -0
- package/node_modules/parse5/dist/cjs/index.js +54 -0
- package/node_modules/parse5/dist/cjs/package.json +1 -0
- package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +36 -0
- package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +114 -0
- package/node_modules/parse5/dist/cjs/parser/index.d.ts +221 -0
- package/node_modules/parse5/dist/cjs/parser/index.js +3240 -0
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +328 -0
- package/node_modules/parse5/dist/cjs/serializer/index.d.ts +60 -0
- package/node_modules/parse5/dist/cjs/serializer/index.js +172 -0
- package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +247 -0
- package/node_modules/parse5/dist/cjs/tokenizer/index.js +2714 -0
- package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +36 -0
- package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +200 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +84 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/default.js +176 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +255 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +2 -0
- package/node_modules/parse5/dist/common/doctype.d.ts +4 -0
- package/node_modules/parse5/dist/common/doctype.js +114 -0
- package/node_modules/parse5/dist/common/error-codes.d.ts +67 -0
- package/node_modules/parse5/dist/common/error-codes.js +63 -0
- package/node_modules/parse5/dist/common/foreign-content.d.ts +9 -0
- package/node_modules/parse5/dist/common/foreign-content.js +228 -0
- package/node_modules/parse5/dist/common/html.d.ts +289 -0
- package/node_modules/parse5/dist/common/html.js +523 -0
- package/node_modules/parse5/dist/common/token.d.ts +84 -0
- package/node_modules/parse5/dist/common/token.js +20 -0
- package/node_modules/parse5/dist/common/unicode.d.ts +42 -0
- package/node_modules/parse5/dist/common/unicode.js +62 -0
- package/node_modules/parse5/dist/index.d.ts +71 -0
- package/node_modules/parse5/dist/index.js +42 -0
- package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +36 -0
- package/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
- package/node_modules/parse5/dist/parser/index.d.ts +221 -0
- package/node_modules/parse5/dist/parser/index.js +3245 -0
- package/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
- package/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
- package/node_modules/parse5/dist/serializer/index.d.ts +60 -0
- package/node_modules/parse5/dist/serializer/index.js +168 -0
- package/node_modules/parse5/dist/tokenizer/index.d.ts +247 -0
- package/node_modules/parse5/dist/tokenizer/index.js +2710 -0
- package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +36 -0
- package/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
- package/node_modules/parse5/dist/tree-adapters/default.d.ts +84 -0
- package/node_modules/parse5/dist/tree-adapters/default.js +173 -0
- package/node_modules/parse5/dist/tree-adapters/interface.d.ts +255 -0
- package/node_modules/parse5/dist/tree-adapters/interface.js +1 -0
- package/node_modules/parse5/node_modules/entities/LICENSE +11 -0
- package/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
- package/node_modules/parse5/node_modules/entities/decode.js +3 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
- package/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
- package/node_modules/parse5/node_modules/entities/escape.js +3 -0
- package/node_modules/parse5/node_modules/entities/package.json +118 -0
- package/node_modules/parse5/node_modules/entities/readme.md +122 -0
- package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
- package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
- package/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
- package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
- package/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
- package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
- package/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
- package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
- package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
- package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
- package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
- package/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
- package/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
- package/node_modules/parse5/package.json +50 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +19 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/README.md +34 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +6 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +214 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +1 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +6 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +213 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/package.json +40 -0
- package/node_modules/parse5-parser-stream/LICENSE +19 -0
- package/node_modules/parse5-parser-stream/README.md +34 -0
- package/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +85 -0
- package/node_modules/parse5-parser-stream/dist/cjs/index.js +90 -0
- package/node_modules/parse5-parser-stream/dist/cjs/package.json +1 -0
- package/node_modules/parse5-parser-stream/dist/index.d.ts +85 -0
- package/node_modules/parse5-parser-stream/dist/index.js +86 -0
- package/node_modules/parse5-parser-stream/package.json +39 -0
- package/node_modules/quickjs-emscripten/LICENSE +21 -0
- package/node_modules/quickjs-emscripten/README.md +928 -0
- package/node_modules/quickjs-emscripten/dist/chunk-OHAYRCBA.mjs +2 -0
- package/node_modules/quickjs-emscripten/dist/chunk-OHAYRCBA.mjs.map +1 -0
- package/node_modules/quickjs-emscripten/dist/index.d.mts +57 -0
- package/node_modules/quickjs-emscripten/dist/index.d.ts +57 -0
- package/node_modules/quickjs-emscripten/dist/index.global.js +7309 -0
- package/node_modules/quickjs-emscripten/dist/index.js +2 -0
- package/node_modules/quickjs-emscripten/dist/index.js.map +1 -0
- package/node_modules/quickjs-emscripten/dist/index.mjs +2 -0
- package/node_modules/quickjs-emscripten/dist/index.mjs.map +1 -0
- package/node_modules/quickjs-emscripten/dist/variants.d.mts +39 -0
- package/node_modules/quickjs-emscripten/dist/variants.d.ts +39 -0
- package/node_modules/quickjs-emscripten/dist/variants.js +2 -0
- package/node_modules/quickjs-emscripten/dist/variants.js.map +1 -0
- package/node_modules/quickjs-emscripten/dist/variants.mjs +2 -0
- package/node_modules/quickjs-emscripten/dist/variants.mjs.map +1 -0
- package/node_modules/quickjs-emscripten/package.json +69 -0
- package/node_modules/quickjs-emscripten-core/LICENSE +21 -0
- package/node_modules/quickjs-emscripten-core/README.md +341 -0
- package/node_modules/quickjs-emscripten-core/README.template.md +70 -0
- package/node_modules/quickjs-emscripten-core/dist/chunk-TAV5CUKK.mjs +2 -0
- package/node_modules/quickjs-emscripten-core/dist/chunk-TAV5CUKK.mjs.map +1 -0
- package/node_modules/quickjs-emscripten-core/dist/chunk-V2S4ZYJR.mjs +7 -0
- package/node_modules/quickjs-emscripten-core/dist/chunk-V2S4ZYJR.mjs.map +1 -0
- package/node_modules/quickjs-emscripten-core/dist/index.d.mts +2033 -0
- package/node_modules/quickjs-emscripten-core/dist/index.d.ts +2033 -0
- package/node_modules/quickjs-emscripten-core/dist/index.js +7 -0
- package/node_modules/quickjs-emscripten-core/dist/index.js.map +1 -0
- package/node_modules/quickjs-emscripten-core/dist/index.mjs +2 -0
- package/node_modules/quickjs-emscripten-core/dist/index.mjs.map +1 -0
- package/node_modules/quickjs-emscripten-core/dist/module-ES6BEMUI.mjs +2 -0
- package/node_modules/quickjs-emscripten-core/dist/module-ES6BEMUI.mjs.map +1 -0
- package/node_modules/quickjs-emscripten-core/dist/module-asyncify-2EFITU5U.mjs +2 -0
- package/node_modules/quickjs-emscripten-core/dist/module-asyncify-2EFITU5U.mjs.map +1 -0
- package/node_modules/quickjs-emscripten-core/package.json +49 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/string-width/index.d.ts +39 -0
- package/node_modules/string-width/index.js +203 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +65 -0
- package/node_modules/string-width/readme.md +66 -0
- package/node_modules/strip-ansi/index.d.ts +15 -0
- package/node_modules/strip-ansi/index.js +19 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +59 -0
- package/node_modules/strip-ansi/readme.md +37 -0
- package/node_modules/undici/LICENSE +21 -0
- package/node_modules/undici/README.md +741 -0
- package/node_modules/undici/docs/docs/api/Agent.md +84 -0
- package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
- package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
- package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
- package/node_modules/undici/docs/docs/api/Client.md +288 -0
- package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
- package/node_modules/undici/docs/docs/api/Connector.md +115 -0
- package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
- package/node_modules/undici/docs/docs/api/Cookies.md +128 -0
- package/node_modules/undici/docs/docs/api/Debug.md +62 -0
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +317 -0
- package/node_modules/undici/docs/docs/api/Dispatcher.md +1393 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
- package/node_modules/undici/docs/docs/api/Errors.md +49 -0
- package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
- package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
- package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
- package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
- package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
- package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
- package/node_modules/undici/docs/docs/api/Pool.md +84 -0
- package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
- package/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
- package/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
- package/node_modules/undici/docs/docs/api/Util.md +25 -0
- package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
- package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
- package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
- package/node_modules/undici/index-fetch.js +65 -0
- package/node_modules/undici/index.d.ts +3 -0
- package/node_modules/undici/index.js +234 -0
- package/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/node_modules/undici/lib/api/api-connect.js +110 -0
- package/node_modules/undici/lib/api/api-pipeline.js +252 -0
- package/node_modules/undici/lib/api/api-request.js +214 -0
- package/node_modules/undici/lib/api/api-stream.js +209 -0
- package/node_modules/undici/lib/api/api-upgrade.js +111 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +580 -0
- package/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
- package/node_modules/undici/lib/core/connect.js +153 -0
- package/node_modules/undici/lib/core/constants.js +143 -0
- package/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/node_modules/undici/lib/core/errors.js +477 -0
- package/node_modules/undici/lib/core/request.js +485 -0
- package/node_modules/undici/lib/core/socks5-client.js +422 -0
- package/node_modules/undici/lib/core/socks5-utils.js +212 -0
- package/node_modules/undici/lib/core/symbols.js +75 -0
- package/node_modules/undici/lib/core/tree.js +160 -0
- package/node_modules/undici/lib/core/util.js +992 -0
- package/node_modules/undici/lib/dispatcher/agent.js +158 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +221 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1746 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +1060 -0
- package/node_modules/undici/lib/dispatcher/client.js +668 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
- package/node_modules/undici/lib/dispatcher/pool.js +118 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
- package/node_modules/undici/lib/encoding/index.js +33 -0
- package/node_modules/undici/lib/global.js +59 -0
- package/node_modules/undici/lib/handler/cache-handler.js +776 -0
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
- package/node_modules/undici/lib/handler/retry-handler.js +504 -0
- package/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
- package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/node_modules/undici/lib/interceptor/cache.js +621 -0
- package/node_modules/undici/lib/interceptor/decompress.js +551 -0
- package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/node_modules/undici/lib/interceptor/dump.js +99 -0
- package/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
- package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
- package/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
- package/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/node_modules/undici/lib/mock/mock-utils.js +486 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
- package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/node_modules/undici/lib/util/cache.js +676 -0
- package/node_modules/undici/lib/util/date.js +670 -0
- package/node_modules/undici/lib/util/promise.js +28 -0
- package/node_modules/undici/lib/util/runtime-features.js +124 -0
- package/node_modules/undici/lib/util/stats.js +32 -0
- package/node_modules/undici/lib/util/timers.js +425 -0
- package/node_modules/undici/lib/web/cache/cache.js +864 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/node_modules/undici/lib/web/cookies/parse.js +314 -0
- package/node_modules/undici/lib/web/cookies/util.js +352 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
- package/node_modules/undici/lib/web/fetch/body.js +509 -0
- package/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/node_modules/undici/lib/web/fetch/index.js +2413 -0
- package/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/node_modules/undici/lib/web/fetch/util.js +1522 -0
- package/node_modules/undici/lib/web/infra/index.js +229 -0
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/node_modules/undici/lib/web/webidl/index.js +1006 -0
- package/node_modules/undici/lib/web/websocket/connection.js +339 -0
- package/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/node_modules/undici/lib/web/websocket/frame.js +133 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +507 -0
- package/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +496 -0
- package/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +758 -0
- package/node_modules/undici/package.json +152 -0
- package/node_modules/undici/scripts/strip-comments.js +10 -0
- package/node_modules/undici/types/README.md +6 -0
- package/node_modules/undici/types/agent.d.ts +32 -0
- package/node_modules/undici/types/api.d.ts +43 -0
- package/node_modules/undici/types/balanced-pool.d.ts +30 -0
- package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici/types/cache.d.ts +36 -0
- package/node_modules/undici/types/client-stats.d.ts +15 -0
- package/node_modules/undici/types/client.d.ts +139 -0
- package/node_modules/undici/types/connector.d.ts +36 -0
- package/node_modules/undici/types/content-type.d.ts +21 -0
- package/node_modules/undici/types/cookies.d.ts +30 -0
- package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici/types/dispatcher.d.ts +275 -0
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici/types/errors.d.ts +177 -0
- package/node_modules/undici/types/eventsource.d.ts +66 -0
- package/node_modules/undici/types/fetch.d.ts +231 -0
- package/node_modules/undici/types/formdata.d.ts +114 -0
- package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici/types/global-origin.d.ts +7 -0
- package/node_modules/undici/types/h2c-client.d.ts +73 -0
- package/node_modules/undici/types/handlers.d.ts +14 -0
- package/node_modules/undici/types/header.d.ts +160 -0
- package/node_modules/undici/types/index.d.ts +91 -0
- package/node_modules/undici/types/interceptors.d.ts +82 -0
- package/node_modules/undici/types/mock-agent.d.ts +68 -0
- package/node_modules/undici/types/mock-call-history.d.ts +111 -0
- package/node_modules/undici/types/mock-client.d.ts +27 -0
- package/node_modules/undici/types/mock-errors.d.ts +12 -0
- package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici/types/mock-pool.d.ts +27 -0
- package/node_modules/undici/types/patch.d.ts +29 -0
- package/node_modules/undici/types/pool-stats.d.ts +19 -0
- package/node_modules/undici/types/pool.d.ts +41 -0
- package/node_modules/undici/types/proxy-agent.d.ts +29 -0
- package/node_modules/undici/types/readable.d.ts +68 -0
- package/node_modules/undici/types/retry-agent.d.ts +8 -0
- package/node_modules/undici/types/retry-handler.d.ts +125 -0
- package/node_modules/undici/types/round-robin-pool.d.ts +41 -0
- package/node_modules/undici/types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici/types/util.d.ts +18 -0
- package/node_modules/undici/types/utility.d.ts +7 -0
- package/node_modules/undici/types/webidl.d.ts +347 -0
- package/node_modules/undici/types/websocket.d.ts +188 -0
- package/node_modules/whatwg-encoding/LICENSE.txt +7 -0
- package/node_modules/whatwg-encoding/README.md +50 -0
- package/node_modules/whatwg-encoding/lib/labels-to-names.json +217 -0
- package/node_modules/whatwg-encoding/lib/supported-names.json +38 -0
- package/node_modules/whatwg-encoding/lib/whatwg-encoding.js +60 -0
- package/node_modules/whatwg-encoding/package.json +32 -0
- package/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
- package/node_modules/whatwg-mimetype/README.md +101 -0
- package/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
- package/node_modules/whatwg-mimetype/lib/mime-type.js +127 -0
- package/node_modules/whatwg-mimetype/lib/parser.js +105 -0
- package/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
- package/node_modules/whatwg-mimetype/lib/utils.js +60 -0
- package/node_modules/whatwg-mimetype/package.json +45 -0
- package/package.json +42 -4
- package/src/agent-recovery-proof.mjs +63 -0
- package/src/agent.mjs +374 -0
- package/src/artifact-tools.mjs +23 -0
- package/src/audit.mjs +73 -0
- package/src/auto-guard.mjs +85 -0
- package/src/browser-currency.mjs +20 -0
- package/src/chrome-recovery-proof.mjs +43 -0
- package/src/cli.mjs +860 -0
- package/src/cloud-client.mjs +66 -0
- package/src/code-run-worker.mjs +70 -0
- package/src/code-run.mjs +97 -0
- package/src/codex-provider.mjs +219 -0
- package/src/compaction.mjs +233 -0
- package/src/compat.mjs +13 -0
- package/src/context-pressure.mjs +66 -0
- package/src/context.mjs +47 -0
- package/src/durable-agent-runs.mjs +40 -0
- package/src/execution-metrics.mjs +17 -0
- package/src/file-recovery-proof.mjs +45 -0
- package/src/file-recovery.mjs +95 -0
- package/src/gemini-provider.mjs +150 -0
- package/src/goals.mjs +169 -0
- package/src/governance.mjs +81 -0
- package/src/house.mjs +184 -0
- package/src/i18n/cli-es.mjs +97 -0
- package/src/i18n/es.mjs +227 -0
- package/src/i18n/index.mjs +48 -0
- package/src/image-attachments.mjs +263 -0
- package/src/judges.mjs +72 -0
- package/src/mcp-http.mjs +190 -0
- package/src/mcp-rpc.mjs +84 -0
- package/src/mcp-runtime.mjs +219 -0
- package/src/mcp-sse.mjs +27 -0
- package/src/mcp.mjs +79 -0
- package/src/model-controls.mjs +173 -0
- package/src/model-deadline.mjs +35 -0
- package/src/model-output.mjs +23 -0
- package/src/onboarding.mjs +91 -0
- package/src/openai-provider.mjs +249 -0
- package/src/operations.mjs +74 -0
- package/src/peer-message-context.mjs +17 -0
- package/src/peer-tools.mjs +164 -0
- package/src/permissions.mjs +99 -0
- package/src/plugin-config.mjs +95 -0
- package/src/plugins/chrome-lab/bridge.mjs +206 -0
- package/src/plugins/chrome-lab/client.mjs +123 -0
- package/src/plugins/chrome-lab/index.mjs +141 -0
- package/src/plugins/chrome-lab/project.mjs +45 -0
- package/src/plugins.mjs +272 -0
- package/src/process-lock.mjs +70 -0
- package/src/provider-auth.mjs +207 -0
- package/src/provider-profiles.mjs +113 -0
- package/src/provider-scheduler.mjs +18 -0
- package/src/provider.mjs +174 -0
- package/src/read-only-check.mjs +38 -0
- package/src/remote-commands.mjs +11 -0
- package/src/remote-control.mjs +172 -0
- package/src/session-bus.mjs +367 -0
- package/src/session-provider-settings.mjs +39 -0
- package/src/session-read-cache.mjs +20 -0
- package/src/session.mjs +71 -0
- package/src/sessions.mjs +140 -0
- package/src/skill-runtime.mjs +130 -0
- package/src/subagents.mjs +484 -0
- package/src/tool-call-stream.mjs +39 -0
- package/src/tool-catalog.mjs +19 -0
- package/src/tool-input.mjs +20 -0
- package/src/tool-packs.mjs +166 -0
- package/src/tool-scheduler.mjs +21 -0
- package/src/tool-schema.mjs +51 -0
- package/src/tools.mjs +310 -0
- package/src/trusted-context.mjs +23 -0
- package/src/tui/brand.mjs +51 -0
- package/src/tui/clipboard.mjs +29 -0
- package/src/tui/composer.mjs +143 -0
- package/src/tui/controller.mjs +230 -0
- package/src/tui/discovery.mjs +222 -0
- package/src/tui/input.mjs +60 -0
- package/src/tui/markdown.mjs +127 -0
- package/src/tui/message-queue.mjs +74 -0
- package/src/tui/screen.mjs +677 -0
- package/src/tui/text.mjs +113 -0
- package/src/usage-accounting.mjs +43 -0
- package/src/vision.mjs +164 -0
- package/src/web-tools.mjs +120 -0
- package/src/work-assertions.mjs +29 -0
- package/src/work-check-contracts.mjs +95 -0
- package/src/work-intent.mjs +6 -0
- package/src/work-plan.mjs +509 -0
- package/src/work-recovery-proof.mjs +81 -0
- package/src/work-state.mjs +201 -0
- package/src/workflows/chrome-task.mjs +292 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* eslint-disable node/no-deprecated-api */
|
|
2
|
+
|
|
3
|
+
'use strict'
|
|
4
|
+
|
|
5
|
+
var buffer = require('buffer')
|
|
6
|
+
var Buffer = buffer.Buffer
|
|
7
|
+
var safer = require('./safer.js')
|
|
8
|
+
var Safer = safer.Buffer
|
|
9
|
+
|
|
10
|
+
var dangerous = {}
|
|
11
|
+
|
|
12
|
+
var key
|
|
13
|
+
|
|
14
|
+
for (key in safer) {
|
|
15
|
+
if (!safer.hasOwnProperty(key)) continue
|
|
16
|
+
dangerous[key] = safer[key]
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
var Dangereous = dangerous.Buffer = {}
|
|
20
|
+
|
|
21
|
+
// Copy Safer API
|
|
22
|
+
for (key in Safer) {
|
|
23
|
+
if (!Safer.hasOwnProperty(key)) continue
|
|
24
|
+
Dangereous[key] = Safer[key]
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Copy those missing unsafe methods, if they are present
|
|
28
|
+
for (key in Buffer) {
|
|
29
|
+
if (!Buffer.hasOwnProperty(key)) continue
|
|
30
|
+
if (Dangereous.hasOwnProperty(key)) continue
|
|
31
|
+
Dangereous[key] = Buffer[key]
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (!Dangereous.allocUnsafe) {
|
|
35
|
+
Dangereous.allocUnsafe = function (size) {
|
|
36
|
+
if (typeof size !== 'number') {
|
|
37
|
+
throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
|
|
38
|
+
}
|
|
39
|
+
if (size < 0 || size >= 2 * (1 << 30)) {
|
|
40
|
+
throw new RangeError('The value "' + size + '" is invalid for option "size"')
|
|
41
|
+
}
|
|
42
|
+
return Buffer(size)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
if (!Dangereous.allocUnsafeSlow) {
|
|
47
|
+
Dangereous.allocUnsafeSlow = function (size) {
|
|
48
|
+
if (typeof size !== 'number') {
|
|
49
|
+
throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
|
|
50
|
+
}
|
|
51
|
+
if (size < 0 || size >= 2 * (1 << 30)) {
|
|
52
|
+
throw new RangeError('The value "' + size + '" is invalid for option "size"')
|
|
53
|
+
}
|
|
54
|
+
return buffer.SlowBuffer(size)
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
module.exports = dangerous
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "safer-buffer",
|
|
3
|
+
"version": "2.1.2",
|
|
4
|
+
"description": "Modern Buffer API polyfill without footguns",
|
|
5
|
+
"main": "safer.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js",
|
|
8
|
+
"test": "standard && tape tests.js"
|
|
9
|
+
},
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Nikita Skovoroda",
|
|
12
|
+
"email": "chalkerx@gmail.com",
|
|
13
|
+
"url": "https://github.com/ChALkeR"
|
|
14
|
+
},
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/ChALkeR/safer-buffer.git"
|
|
19
|
+
},
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/ChALkeR/safer-buffer/issues"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"standard": "^11.0.1",
|
|
25
|
+
"tape": "^4.9.0"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"Porting-Buffer.md",
|
|
29
|
+
"Readme.md",
|
|
30
|
+
"tests.js",
|
|
31
|
+
"dangerous.js",
|
|
32
|
+
"safer.js"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* eslint-disable node/no-deprecated-api */
|
|
2
|
+
|
|
3
|
+
'use strict'
|
|
4
|
+
|
|
5
|
+
var buffer = require('buffer')
|
|
6
|
+
var Buffer = buffer.Buffer
|
|
7
|
+
|
|
8
|
+
var safer = {}
|
|
9
|
+
|
|
10
|
+
var key
|
|
11
|
+
|
|
12
|
+
for (key in buffer) {
|
|
13
|
+
if (!buffer.hasOwnProperty(key)) continue
|
|
14
|
+
if (key === 'SlowBuffer' || key === 'Buffer') continue
|
|
15
|
+
safer[key] = buffer[key]
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var Safer = safer.Buffer = {}
|
|
19
|
+
for (key in Buffer) {
|
|
20
|
+
if (!Buffer.hasOwnProperty(key)) continue
|
|
21
|
+
if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue
|
|
22
|
+
Safer[key] = Buffer[key]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
safer.Buffer.prototype = Buffer.prototype
|
|
26
|
+
|
|
27
|
+
if (!Safer.from || Safer.from === Uint8Array.from) {
|
|
28
|
+
Safer.from = function (value, encodingOrOffset, length) {
|
|
29
|
+
if (typeof value === 'number') {
|
|
30
|
+
throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value)
|
|
31
|
+
}
|
|
32
|
+
if (value && typeof value.length === 'undefined') {
|
|
33
|
+
throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value)
|
|
34
|
+
}
|
|
35
|
+
return Buffer(value, encodingOrOffset, length)
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!Safer.alloc) {
|
|
40
|
+
Safer.alloc = function (size, fill, encoding) {
|
|
41
|
+
if (typeof size !== 'number') {
|
|
42
|
+
throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
|
|
43
|
+
}
|
|
44
|
+
if (size < 0 || size >= 2 * (1 << 30)) {
|
|
45
|
+
throw new RangeError('The value "' + size + '" is invalid for option "size"')
|
|
46
|
+
}
|
|
47
|
+
var buf = Buffer(size)
|
|
48
|
+
if (!fill || fill.length === 0) {
|
|
49
|
+
buf.fill(0)
|
|
50
|
+
} else if (typeof encoding === 'string') {
|
|
51
|
+
buf.fill(fill, encoding)
|
|
52
|
+
} else {
|
|
53
|
+
buf.fill(fill)
|
|
54
|
+
}
|
|
55
|
+
return buf
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if (!safer.kStringMaxLength) {
|
|
60
|
+
try {
|
|
61
|
+
safer.kStringMaxLength = process.binding('buffer').kStringMaxLength
|
|
62
|
+
} catch (e) {
|
|
63
|
+
// we can't determine kStringMaxLength in environments where process.binding
|
|
64
|
+
// is unsupported, so let's not set it
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (!safer.constants) {
|
|
69
|
+
safer.constants = {
|
|
70
|
+
MAX_LENGTH: safer.kMaxLength
|
|
71
|
+
}
|
|
72
|
+
if (safer.kStringMaxLength) {
|
|
73
|
+
safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
module.exports = safer
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
/* eslint-disable node/no-deprecated-api */
|
|
2
|
+
|
|
3
|
+
'use strict'
|
|
4
|
+
|
|
5
|
+
var test = require('tape')
|
|
6
|
+
|
|
7
|
+
var buffer = require('buffer')
|
|
8
|
+
|
|
9
|
+
var index = require('./')
|
|
10
|
+
var safer = require('./safer')
|
|
11
|
+
var dangerous = require('./dangerous')
|
|
12
|
+
|
|
13
|
+
/* Inheritance tests */
|
|
14
|
+
|
|
15
|
+
test('Default is Safer', function (t) {
|
|
16
|
+
t.equal(index, safer)
|
|
17
|
+
t.notEqual(safer, dangerous)
|
|
18
|
+
t.notEqual(index, dangerous)
|
|
19
|
+
t.end()
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
test('Is not a function', function (t) {
|
|
23
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
24
|
+
t.equal(typeof impl, 'object')
|
|
25
|
+
t.equal(typeof impl.Buffer, 'object')
|
|
26
|
+
});
|
|
27
|
+
[buffer].forEach(function (impl) {
|
|
28
|
+
t.equal(typeof impl, 'object')
|
|
29
|
+
t.equal(typeof impl.Buffer, 'function')
|
|
30
|
+
})
|
|
31
|
+
t.end()
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
test('Constructor throws', function (t) {
|
|
35
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
36
|
+
t.throws(function () { impl.Buffer() })
|
|
37
|
+
t.throws(function () { impl.Buffer(0) })
|
|
38
|
+
t.throws(function () { impl.Buffer('a') })
|
|
39
|
+
t.throws(function () { impl.Buffer('a', 'utf-8') })
|
|
40
|
+
t.throws(function () { return new impl.Buffer() })
|
|
41
|
+
t.throws(function () { return new impl.Buffer(0) })
|
|
42
|
+
t.throws(function () { return new impl.Buffer('a') })
|
|
43
|
+
t.throws(function () { return new impl.Buffer('a', 'utf-8') })
|
|
44
|
+
})
|
|
45
|
+
t.end()
|
|
46
|
+
})
|
|
47
|
+
|
|
48
|
+
test('Safe methods exist', function (t) {
|
|
49
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
50
|
+
t.equal(typeof impl.Buffer.alloc, 'function', 'alloc')
|
|
51
|
+
t.equal(typeof impl.Buffer.from, 'function', 'from')
|
|
52
|
+
})
|
|
53
|
+
t.end()
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
test('Unsafe methods exist only in Dangerous', function (t) {
|
|
57
|
+
[index, safer].forEach(function (impl) {
|
|
58
|
+
t.equal(typeof impl.Buffer.allocUnsafe, 'undefined')
|
|
59
|
+
t.equal(typeof impl.Buffer.allocUnsafeSlow, 'undefined')
|
|
60
|
+
});
|
|
61
|
+
[dangerous].forEach(function (impl) {
|
|
62
|
+
t.equal(typeof impl.Buffer.allocUnsafe, 'function')
|
|
63
|
+
t.equal(typeof impl.Buffer.allocUnsafeSlow, 'function')
|
|
64
|
+
})
|
|
65
|
+
t.end()
|
|
66
|
+
})
|
|
67
|
+
|
|
68
|
+
test('Generic methods/properties are defined and equal', function (t) {
|
|
69
|
+
['poolSize', 'isBuffer', 'concat', 'byteLength'].forEach(function (method) {
|
|
70
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
71
|
+
t.equal(impl.Buffer[method], buffer.Buffer[method], method)
|
|
72
|
+
t.notEqual(typeof impl.Buffer[method], 'undefined', method)
|
|
73
|
+
})
|
|
74
|
+
})
|
|
75
|
+
t.end()
|
|
76
|
+
})
|
|
77
|
+
|
|
78
|
+
test('Built-in buffer static methods/properties are inherited', function (t) {
|
|
79
|
+
Object.keys(buffer).forEach(function (method) {
|
|
80
|
+
if (method === 'SlowBuffer' || method === 'Buffer') return;
|
|
81
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
82
|
+
t.equal(impl[method], buffer[method], method)
|
|
83
|
+
t.notEqual(typeof impl[method], 'undefined', method)
|
|
84
|
+
})
|
|
85
|
+
})
|
|
86
|
+
t.end()
|
|
87
|
+
})
|
|
88
|
+
|
|
89
|
+
test('Built-in Buffer static methods/properties are inherited', function (t) {
|
|
90
|
+
Object.keys(buffer.Buffer).forEach(function (method) {
|
|
91
|
+
if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return;
|
|
92
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
93
|
+
t.equal(impl.Buffer[method], buffer.Buffer[method], method)
|
|
94
|
+
t.notEqual(typeof impl.Buffer[method], 'undefined', method)
|
|
95
|
+
})
|
|
96
|
+
})
|
|
97
|
+
t.end()
|
|
98
|
+
})
|
|
99
|
+
|
|
100
|
+
test('.prototype property of Buffer is inherited', function (t) {
|
|
101
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
102
|
+
t.equal(impl.Buffer.prototype, buffer.Buffer.prototype, 'prototype')
|
|
103
|
+
t.notEqual(typeof impl.Buffer.prototype, 'undefined', 'prototype')
|
|
104
|
+
})
|
|
105
|
+
t.end()
|
|
106
|
+
})
|
|
107
|
+
|
|
108
|
+
test('All Safer methods are present in Dangerous', function (t) {
|
|
109
|
+
Object.keys(safer).forEach(function (method) {
|
|
110
|
+
if (method === 'Buffer') return;
|
|
111
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
112
|
+
t.equal(impl[method], safer[method], method)
|
|
113
|
+
if (method !== 'kStringMaxLength') {
|
|
114
|
+
t.notEqual(typeof impl[method], 'undefined', method)
|
|
115
|
+
}
|
|
116
|
+
})
|
|
117
|
+
})
|
|
118
|
+
Object.keys(safer.Buffer).forEach(function (method) {
|
|
119
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
120
|
+
t.equal(impl.Buffer[method], safer.Buffer[method], method)
|
|
121
|
+
t.notEqual(typeof impl.Buffer[method], 'undefined', method)
|
|
122
|
+
})
|
|
123
|
+
})
|
|
124
|
+
t.end()
|
|
125
|
+
})
|
|
126
|
+
|
|
127
|
+
test('Safe methods from Dangerous methods are present in Safer', function (t) {
|
|
128
|
+
Object.keys(dangerous).forEach(function (method) {
|
|
129
|
+
if (method === 'Buffer') return;
|
|
130
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
131
|
+
t.equal(impl[method], dangerous[method], method)
|
|
132
|
+
if (method !== 'kStringMaxLength') {
|
|
133
|
+
t.notEqual(typeof impl[method], 'undefined', method)
|
|
134
|
+
}
|
|
135
|
+
})
|
|
136
|
+
})
|
|
137
|
+
Object.keys(dangerous.Buffer).forEach(function (method) {
|
|
138
|
+
if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return;
|
|
139
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
140
|
+
t.equal(impl.Buffer[method], dangerous.Buffer[method], method)
|
|
141
|
+
t.notEqual(typeof impl.Buffer[method], 'undefined', method)
|
|
142
|
+
})
|
|
143
|
+
})
|
|
144
|
+
t.end()
|
|
145
|
+
})
|
|
146
|
+
|
|
147
|
+
/* Behaviour tests */
|
|
148
|
+
|
|
149
|
+
test('Methods return Buffers', function (t) {
|
|
150
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
151
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0)))
|
|
152
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 10)))
|
|
153
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 'a')))
|
|
154
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10)))
|
|
155
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10, 'x')))
|
|
156
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(9, 'ab')))
|
|
157
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('')))
|
|
158
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string')))
|
|
159
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string', 'utf-8')))
|
|
160
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64')))
|
|
161
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([0, 42, 3])))
|
|
162
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.from(new Uint8Array([0, 42, 3]))))
|
|
163
|
+
t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([])))
|
|
164
|
+
});
|
|
165
|
+
['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
|
|
166
|
+
t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](0)))
|
|
167
|
+
t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](10)))
|
|
168
|
+
})
|
|
169
|
+
t.end()
|
|
170
|
+
})
|
|
171
|
+
|
|
172
|
+
test('Constructor is buffer.Buffer', function (t) {
|
|
173
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
174
|
+
t.equal(impl.Buffer.alloc(0).constructor, buffer.Buffer)
|
|
175
|
+
t.equal(impl.Buffer.alloc(0, 10).constructor, buffer.Buffer)
|
|
176
|
+
t.equal(impl.Buffer.alloc(0, 'a').constructor, buffer.Buffer)
|
|
177
|
+
t.equal(impl.Buffer.alloc(10).constructor, buffer.Buffer)
|
|
178
|
+
t.equal(impl.Buffer.alloc(10, 'x').constructor, buffer.Buffer)
|
|
179
|
+
t.equal(impl.Buffer.alloc(9, 'ab').constructor, buffer.Buffer)
|
|
180
|
+
t.equal(impl.Buffer.from('').constructor, buffer.Buffer)
|
|
181
|
+
t.equal(impl.Buffer.from('string').constructor, buffer.Buffer)
|
|
182
|
+
t.equal(impl.Buffer.from('string', 'utf-8').constructor, buffer.Buffer)
|
|
183
|
+
t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').constructor, buffer.Buffer)
|
|
184
|
+
t.equal(impl.Buffer.from([0, 42, 3]).constructor, buffer.Buffer)
|
|
185
|
+
t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).constructor, buffer.Buffer)
|
|
186
|
+
t.equal(impl.Buffer.from([]).constructor, buffer.Buffer)
|
|
187
|
+
});
|
|
188
|
+
[0, 10, 100].forEach(function (arg) {
|
|
189
|
+
t.equal(dangerous.Buffer.allocUnsafe(arg).constructor, buffer.Buffer)
|
|
190
|
+
t.equal(dangerous.Buffer.allocUnsafeSlow(arg).constructor, buffer.SlowBuffer(0).constructor)
|
|
191
|
+
})
|
|
192
|
+
t.end()
|
|
193
|
+
})
|
|
194
|
+
|
|
195
|
+
test('Invalid calls throw', function (t) {
|
|
196
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
197
|
+
t.throws(function () { impl.Buffer.from(0) })
|
|
198
|
+
t.throws(function () { impl.Buffer.from(10) })
|
|
199
|
+
t.throws(function () { impl.Buffer.from(10, 'utf-8') })
|
|
200
|
+
t.throws(function () { impl.Buffer.from('string', 'invalid encoding') })
|
|
201
|
+
t.throws(function () { impl.Buffer.from(-10) })
|
|
202
|
+
t.throws(function () { impl.Buffer.from(1e90) })
|
|
203
|
+
t.throws(function () { impl.Buffer.from(Infinity) })
|
|
204
|
+
t.throws(function () { impl.Buffer.from(-Infinity) })
|
|
205
|
+
t.throws(function () { impl.Buffer.from(NaN) })
|
|
206
|
+
t.throws(function () { impl.Buffer.from(null) })
|
|
207
|
+
t.throws(function () { impl.Buffer.from(undefined) })
|
|
208
|
+
t.throws(function () { impl.Buffer.from() })
|
|
209
|
+
t.throws(function () { impl.Buffer.from({}) })
|
|
210
|
+
t.throws(function () { impl.Buffer.alloc('') })
|
|
211
|
+
t.throws(function () { impl.Buffer.alloc('string') })
|
|
212
|
+
t.throws(function () { impl.Buffer.alloc('string', 'utf-8') })
|
|
213
|
+
t.throws(function () { impl.Buffer.alloc('b25ldHdvdGhyZWU=', 'base64') })
|
|
214
|
+
t.throws(function () { impl.Buffer.alloc(-10) })
|
|
215
|
+
t.throws(function () { impl.Buffer.alloc(1e90) })
|
|
216
|
+
t.throws(function () { impl.Buffer.alloc(2 * (1 << 30)) })
|
|
217
|
+
t.throws(function () { impl.Buffer.alloc(Infinity) })
|
|
218
|
+
t.throws(function () { impl.Buffer.alloc(-Infinity) })
|
|
219
|
+
t.throws(function () { impl.Buffer.alloc(null) })
|
|
220
|
+
t.throws(function () { impl.Buffer.alloc(undefined) })
|
|
221
|
+
t.throws(function () { impl.Buffer.alloc() })
|
|
222
|
+
t.throws(function () { impl.Buffer.alloc([]) })
|
|
223
|
+
t.throws(function () { impl.Buffer.alloc([0, 42, 3]) })
|
|
224
|
+
t.throws(function () { impl.Buffer.alloc({}) })
|
|
225
|
+
});
|
|
226
|
+
['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
|
|
227
|
+
t.throws(function () { dangerous.Buffer[method]('') })
|
|
228
|
+
t.throws(function () { dangerous.Buffer[method]('string') })
|
|
229
|
+
t.throws(function () { dangerous.Buffer[method]('string', 'utf-8') })
|
|
230
|
+
t.throws(function () { dangerous.Buffer[method](2 * (1 << 30)) })
|
|
231
|
+
t.throws(function () { dangerous.Buffer[method](Infinity) })
|
|
232
|
+
if (dangerous.Buffer[method] === buffer.Buffer.allocUnsafe) {
|
|
233
|
+
t.skip('Skipping, older impl of allocUnsafe coerced negative sizes to 0')
|
|
234
|
+
} else {
|
|
235
|
+
t.throws(function () { dangerous.Buffer[method](-10) })
|
|
236
|
+
t.throws(function () { dangerous.Buffer[method](-1e90) })
|
|
237
|
+
t.throws(function () { dangerous.Buffer[method](-Infinity) })
|
|
238
|
+
}
|
|
239
|
+
t.throws(function () { dangerous.Buffer[method](null) })
|
|
240
|
+
t.throws(function () { dangerous.Buffer[method](undefined) })
|
|
241
|
+
t.throws(function () { dangerous.Buffer[method]() })
|
|
242
|
+
t.throws(function () { dangerous.Buffer[method]([]) })
|
|
243
|
+
t.throws(function () { dangerous.Buffer[method]([0, 42, 3]) })
|
|
244
|
+
t.throws(function () { dangerous.Buffer[method]({}) })
|
|
245
|
+
})
|
|
246
|
+
t.end()
|
|
247
|
+
})
|
|
248
|
+
|
|
249
|
+
test('Buffers have appropriate lengths', function (t) {
|
|
250
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
251
|
+
t.equal(impl.Buffer.alloc(0).length, 0)
|
|
252
|
+
t.equal(impl.Buffer.alloc(10).length, 10)
|
|
253
|
+
t.equal(impl.Buffer.from('').length, 0)
|
|
254
|
+
t.equal(impl.Buffer.from('string').length, 6)
|
|
255
|
+
t.equal(impl.Buffer.from('string', 'utf-8').length, 6)
|
|
256
|
+
t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').length, 11)
|
|
257
|
+
t.equal(impl.Buffer.from([0, 42, 3]).length, 3)
|
|
258
|
+
t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).length, 3)
|
|
259
|
+
t.equal(impl.Buffer.from([]).length, 0)
|
|
260
|
+
});
|
|
261
|
+
['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
|
|
262
|
+
t.equal(dangerous.Buffer[method](0).length, 0)
|
|
263
|
+
t.equal(dangerous.Buffer[method](10).length, 10)
|
|
264
|
+
})
|
|
265
|
+
t.end()
|
|
266
|
+
})
|
|
267
|
+
|
|
268
|
+
test('Buffers have appropriate lengths (2)', function (t) {
|
|
269
|
+
t.equal(index.Buffer.alloc, safer.Buffer.alloc)
|
|
270
|
+
t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
|
|
271
|
+
var ok = true;
|
|
272
|
+
[ safer.Buffer.alloc,
|
|
273
|
+
dangerous.Buffer.allocUnsafe,
|
|
274
|
+
dangerous.Buffer.allocUnsafeSlow
|
|
275
|
+
].forEach(function (method) {
|
|
276
|
+
for (var i = 0; i < 1e2; i++) {
|
|
277
|
+
var length = Math.round(Math.random() * 1e5)
|
|
278
|
+
var buf = method(length)
|
|
279
|
+
if (!buffer.Buffer.isBuffer(buf)) ok = false
|
|
280
|
+
if (buf.length !== length) ok = false
|
|
281
|
+
}
|
|
282
|
+
})
|
|
283
|
+
t.ok(ok)
|
|
284
|
+
t.end()
|
|
285
|
+
})
|
|
286
|
+
|
|
287
|
+
test('.alloc(size) is zero-filled and has correct length', function (t) {
|
|
288
|
+
t.equal(index.Buffer.alloc, safer.Buffer.alloc)
|
|
289
|
+
t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
|
|
290
|
+
var ok = true
|
|
291
|
+
for (var i = 0; i < 1e2; i++) {
|
|
292
|
+
var length = Math.round(Math.random() * 2e6)
|
|
293
|
+
var buf = index.Buffer.alloc(length)
|
|
294
|
+
if (!buffer.Buffer.isBuffer(buf)) ok = false
|
|
295
|
+
if (buf.length !== length) ok = false
|
|
296
|
+
var j
|
|
297
|
+
for (j = 0; j < length; j++) {
|
|
298
|
+
if (buf[j] !== 0) ok = false
|
|
299
|
+
}
|
|
300
|
+
buf.fill(1)
|
|
301
|
+
for (j = 0; j < length; j++) {
|
|
302
|
+
if (buf[j] !== 1) ok = false
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
t.ok(ok)
|
|
306
|
+
t.end()
|
|
307
|
+
})
|
|
308
|
+
|
|
309
|
+
test('.allocUnsafe / .allocUnsafeSlow are fillable and have correct lengths', function (t) {
|
|
310
|
+
['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
|
|
311
|
+
var ok = true
|
|
312
|
+
for (var i = 0; i < 1e2; i++) {
|
|
313
|
+
var length = Math.round(Math.random() * 2e6)
|
|
314
|
+
var buf = dangerous.Buffer[method](length)
|
|
315
|
+
if (!buffer.Buffer.isBuffer(buf)) ok = false
|
|
316
|
+
if (buf.length !== length) ok = false
|
|
317
|
+
buf.fill(0, 0, length)
|
|
318
|
+
var j
|
|
319
|
+
for (j = 0; j < length; j++) {
|
|
320
|
+
if (buf[j] !== 0) ok = false
|
|
321
|
+
}
|
|
322
|
+
buf.fill(1, 0, length)
|
|
323
|
+
for (j = 0; j < length; j++) {
|
|
324
|
+
if (buf[j] !== 1) ok = false
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
t.ok(ok, method)
|
|
328
|
+
})
|
|
329
|
+
t.end()
|
|
330
|
+
})
|
|
331
|
+
|
|
332
|
+
test('.alloc(size, fill) is `fill`-filled', function (t) {
|
|
333
|
+
t.equal(index.Buffer.alloc, safer.Buffer.alloc)
|
|
334
|
+
t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
|
|
335
|
+
var ok = true
|
|
336
|
+
for (var i = 0; i < 1e2; i++) {
|
|
337
|
+
var length = Math.round(Math.random() * 2e6)
|
|
338
|
+
var fill = Math.round(Math.random() * 255)
|
|
339
|
+
var buf = index.Buffer.alloc(length, fill)
|
|
340
|
+
if (!buffer.Buffer.isBuffer(buf)) ok = false
|
|
341
|
+
if (buf.length !== length) ok = false
|
|
342
|
+
for (var j = 0; j < length; j++) {
|
|
343
|
+
if (buf[j] !== fill) ok = false
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
t.ok(ok)
|
|
347
|
+
t.end()
|
|
348
|
+
})
|
|
349
|
+
|
|
350
|
+
test('.alloc(size, fill) is `fill`-filled', function (t) {
|
|
351
|
+
t.equal(index.Buffer.alloc, safer.Buffer.alloc)
|
|
352
|
+
t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
|
|
353
|
+
var ok = true
|
|
354
|
+
for (var i = 0; i < 1e2; i++) {
|
|
355
|
+
var length = Math.round(Math.random() * 2e6)
|
|
356
|
+
var fill = Math.round(Math.random() * 255)
|
|
357
|
+
var buf = index.Buffer.alloc(length, fill)
|
|
358
|
+
if (!buffer.Buffer.isBuffer(buf)) ok = false
|
|
359
|
+
if (buf.length !== length) ok = false
|
|
360
|
+
for (var j = 0; j < length; j++) {
|
|
361
|
+
if (buf[j] !== fill) ok = false
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
t.ok(ok)
|
|
365
|
+
t.deepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 97))
|
|
366
|
+
t.notDeepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 98))
|
|
367
|
+
|
|
368
|
+
var tmp = new buffer.Buffer(2)
|
|
369
|
+
tmp.fill('ok')
|
|
370
|
+
if (tmp[1] === tmp[0]) {
|
|
371
|
+
// Outdated Node.js
|
|
372
|
+
t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('ooooo'))
|
|
373
|
+
} else {
|
|
374
|
+
t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('okoko'))
|
|
375
|
+
}
|
|
376
|
+
t.notDeepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('kokok'))
|
|
377
|
+
|
|
378
|
+
t.end()
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
test('safer.Buffer.from returns results same as Buffer constructor', function (t) {
|
|
382
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
383
|
+
t.deepEqual(impl.Buffer.from(''), new buffer.Buffer(''))
|
|
384
|
+
t.deepEqual(impl.Buffer.from('string'), new buffer.Buffer('string'))
|
|
385
|
+
t.deepEqual(impl.Buffer.from('string', 'utf-8'), new buffer.Buffer('string', 'utf-8'))
|
|
386
|
+
t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), new buffer.Buffer('b25ldHdvdGhyZWU=', 'base64'))
|
|
387
|
+
t.deepEqual(impl.Buffer.from([0, 42, 3]), new buffer.Buffer([0, 42, 3]))
|
|
388
|
+
t.deepEqual(impl.Buffer.from(new Uint8Array([0, 42, 3])), new buffer.Buffer(new Uint8Array([0, 42, 3])))
|
|
389
|
+
t.deepEqual(impl.Buffer.from([]), new buffer.Buffer([]))
|
|
390
|
+
})
|
|
391
|
+
t.end()
|
|
392
|
+
})
|
|
393
|
+
|
|
394
|
+
test('safer.Buffer.from returns consistent results', function (t) {
|
|
395
|
+
[index, safer, dangerous].forEach(function (impl) {
|
|
396
|
+
t.deepEqual(impl.Buffer.from(''), impl.Buffer.alloc(0))
|
|
397
|
+
t.deepEqual(impl.Buffer.from([]), impl.Buffer.alloc(0))
|
|
398
|
+
t.deepEqual(impl.Buffer.from(new Uint8Array([])), impl.Buffer.alloc(0))
|
|
399
|
+
t.deepEqual(impl.Buffer.from('string', 'utf-8'), impl.Buffer.from('string'))
|
|
400
|
+
t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from([115, 116, 114, 105, 110, 103]))
|
|
401
|
+
t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from(impl.Buffer.from('string')))
|
|
402
|
+
t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), impl.Buffer.from('onetwothree'))
|
|
403
|
+
t.notDeepEqual(impl.Buffer.from('b25ldHdvdGhyZWU='), impl.Buffer.from('onetwothree'))
|
|
404
|
+
})
|
|
405
|
+
t.end()
|
|
406
|
+
})
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type Options = {
|
|
2
|
+
/**
|
|
3
|
+
Count [ambiguous width characters](https://www.unicode.org/reports/tr11/#Ambiguous) as having narrow width (count of 1) instead of wide width (count of 2).
|
|
4
|
+
|
|
5
|
+
@default true
|
|
6
|
+
|
|
7
|
+
> Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). __If the context cannot be established reliably, they should be treated as narrow characters by default.__
|
|
8
|
+
> - http://www.unicode.org/reports/tr11/
|
|
9
|
+
*/
|
|
10
|
+
readonly ambiguousIsNarrow?: boolean;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
Whether [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) should be counted.
|
|
14
|
+
|
|
15
|
+
@default false
|
|
16
|
+
*/
|
|
17
|
+
readonly countAnsiEscapeCodes?: boolean;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
Get the visual width of a string - the number of columns required to display it.
|
|
22
|
+
|
|
23
|
+
Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
|
|
24
|
+
|
|
25
|
+
@example
|
|
26
|
+
```
|
|
27
|
+
import stringWidth from 'string-width';
|
|
28
|
+
|
|
29
|
+
stringWidth('a');
|
|
30
|
+
//=> 1
|
|
31
|
+
|
|
32
|
+
stringWidth('古');
|
|
33
|
+
//=> 2
|
|
34
|
+
|
|
35
|
+
stringWidth('\u001B[1m古\u001B[22m');
|
|
36
|
+
//=> 2
|
|
37
|
+
```
|
|
38
|
+
*/
|
|
39
|
+
export default function stringWidth(string: string, options?: Options): number;
|