@hugojosefson/cli 0.11.0
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/LICENSE +18 -0
- package/README.md +7 -0
- package/esm/_dnt.polyfills.js +51 -0
- package/esm/deno.js +174 -0
- package/esm/node_modules/@babel/code-frame/LICENSE +22 -0
- package/esm/node_modules/@babel/code-frame/README.md +19 -0
- package/esm/node_modules/@babel/code-frame/lib/index.js +217 -0
- package/esm/node_modules/@babel/code-frame/lib/index.js.map +1 -0
- package/esm/node_modules/@babel/code-frame/package.json +32 -0
- package/esm/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- package/esm/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- package/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- package/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/esm/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- package/esm/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- package/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/esm/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/esm/node_modules/@esbuild/linux-x64/README.md +3 -0
- package/esm/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/esm/node_modules/@esbuild/linux-x64/package.json +20 -0
- package/esm/node_modules/@hutson/parse-repository-url/license.md +202 -0
- package/esm/node_modules/@hutson/parse-repository-url/package.json +62 -0
- package/esm/node_modules/@hutson/parse-repository-url/readme.md +130 -0
- package/esm/node_modules/@hutson/parse-repository-url/src/index.js +62 -0
- package/esm/node_modules/@inquirer/ansi/LICENSE +22 -0
- package/esm/node_modules/@inquirer/ansi/README.md +89 -0
- package/esm/node_modules/@inquirer/ansi/dist/index.d.ts +14 -0
- package/esm/node_modules/@inquirer/ansi/dist/index.js +21 -0
- package/esm/node_modules/@inquirer/ansi/package.json +79 -0
- package/esm/node_modules/@inquirer/core/LICENSE +22 -0
- package/esm/node_modules/@inquirer/core/README.md +392 -0
- package/esm/node_modules/@inquirer/core/dist/index.d.ts +13 -0
- package/esm/node_modules/@inquirer/core/dist/index.js +12 -0
- package/esm/node_modules/@inquirer/core/dist/lib/Separator.d.ts +10 -0
- package/esm/node_modules/@inquirer/core/dist/lib/Separator.js +21 -0
- package/esm/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +11 -0
- package/esm/node_modules/@inquirer/core/dist/lib/create-prompt.js +184 -0
- package/esm/node_modules/@inquirer/core/dist/lib/errors.d.ts +20 -0
- package/esm/node_modules/@inquirer/core/dist/lib/errors.js +21 -0
- package/esm/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +17 -0
- package/esm/node_modules/@inquirer/core/dist/lib/hook-engine.js +111 -0
- package/esm/node_modules/@inquirer/core/dist/lib/key.d.ts +15 -0
- package/esm/node_modules/@inquirer/core/dist/lib/key.js +34 -0
- package/esm/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +3 -0
- package/esm/node_modules/@inquirer/core/dist/lib/make-theme.js +33 -0
- package/esm/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +15 -0
- package/esm/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +121 -0
- package/esm/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +7 -0
- package/esm/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +14 -0
- package/esm/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +14 -0
- package/esm/node_modules/@inquirer/core/dist/lib/screen-manager.js +84 -0
- package/esm/node_modules/@inquirer/core/dist/lib/theme.d.ts +166 -0
- package/esm/node_modules/@inquirer/core/dist/lib/theme.js +29 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +2 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-effect.js +11 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +3 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-keypress.js +20 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +1 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-memo.js +14 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +5 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-prefix.js +35 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +6 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-ref.js +4 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-state.d.ts +7 -0
- package/esm/node_modules/@inquirer/core/dist/lib/use-state.js +28 -0
- package/esm/node_modules/@inquirer/core/dist/lib/utils.d.ts +13 -0
- package/esm/node_modules/@inquirer/core/dist/lib/utils.js +25 -0
- package/esm/node_modules/@inquirer/core/package.json +98 -0
- package/esm/node_modules/@inquirer/figures/LICENSE +22 -0
- package/esm/node_modules/@inquirer/figures/dist/index.d.ts +275 -0
- package/esm/node_modules/@inquirer/figures/dist/index.js +315 -0
- package/esm/node_modules/@inquirer/figures/package.json +81 -0
- package/esm/node_modules/@inquirer/type/LICENSE +22 -0
- package/esm/node_modules/@inquirer/type/dist/index.d.ts +2 -0
- package/esm/node_modules/@inquirer/type/dist/index.js +2 -0
- package/esm/node_modules/@inquirer/type/dist/inquirer.d.ts +35 -0
- package/esm/node_modules/@inquirer/type/dist/inquirer.js +1 -0
- package/esm/node_modules/@inquirer/type/dist/utils.d.ts +34 -0
- package/esm/node_modules/@inquirer/type/dist/utils.js +2 -0
- package/esm/node_modules/@inquirer/type/package.json +88 -0
- package/esm/node_modules/@jsr/std__internal/LICENSE +21 -0
- package/esm/node_modules/@jsr/std__internal/_dist/assertion_state.d.ts +148 -0
- package/esm/node_modules/@jsr/std__internal/_dist/assertion_state.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/build_message.d.ts +73 -0
- package/esm/node_modules/@jsr/std__internal/_dist/build_message.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/diff.d.ts +132 -0
- package/esm/node_modules/@jsr/std__internal/_dist/diff.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/diff_str.d.ts +95 -0
- package/esm/node_modules/@jsr/std__internal/_dist/diff_str.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/format.d.ts +28 -0
- package/esm/node_modules/@jsr/std__internal/_dist/format.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/mod.d.ts +45 -0
- package/esm/node_modules/@jsr/std__internal/_dist/mod.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/os.d.ts +2 -0
- package/esm/node_modules/@jsr/std__internal/_dist/os.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/styles.d.ts +149 -0
- package/esm/node_modules/@jsr/std__internal/_dist/styles.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/truncate_build_message.d.ts +47 -0
- package/esm/node_modules/@jsr/std__internal/_dist/truncate_build_message.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_dist/types.d.ts +21 -0
- package/esm/node_modules/@jsr/std__internal/_dist/types.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_os.js +12 -0
- package/esm/node_modules/@jsr/std__internal/_os.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/_os.ts +13 -0
- package/esm/node_modules/@jsr/std__internal/_os_test.ts +66 -0
- package/esm/node_modules/@jsr/std__internal/_testing.ts +20 -0
- package/esm/node_modules/@jsr/std__internal/assertion_state.js +208 -0
- package/esm/node_modules/@jsr/std__internal/assertion_state.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/assertion_state.ts +246 -0
- package/esm/node_modules/@jsr/std__internal/assertion_state_test.ts +60 -0
- package/esm/node_modules/@jsr/std__internal/build_message.js +110 -0
- package/esm/node_modules/@jsr/std__internal/build_message.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/build_message.ts +147 -0
- package/esm/node_modules/@jsr/std__internal/build_message_test.ts +91 -0
- package/esm/node_modules/@jsr/std__internal/deno.json +16 -0
- package/esm/node_modules/@jsr/std__internal/diff.js +293 -0
- package/esm/node_modules/@jsr/std__internal/diff.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/diff.ts +318 -0
- package/esm/node_modules/@jsr/std__internal/diff_str.js +165 -0
- package/esm/node_modules/@jsr/std__internal/diff_str.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/diff_str.ts +208 -0
- package/esm/node_modules/@jsr/std__internal/diff_str_test.ts +381 -0
- package/esm/node_modules/@jsr/std__internal/diff_test.ts +249 -0
- package/esm/node_modules/@jsr/std__internal/format.js +59 -0
- package/esm/node_modules/@jsr/std__internal/format.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/format.ts +87 -0
- package/esm/node_modules/@jsr/std__internal/format_test.ts +175 -0
- package/esm/node_modules/@jsr/std__internal/mod.js +47 -0
- package/esm/node_modules/@jsr/std__internal/mod.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/mod.ts +47 -0
- package/esm/node_modules/@jsr/std__internal/os.js +5 -0
- package/esm/node_modules/@jsr/std__internal/os.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/os.ts +7 -0
- package/esm/node_modules/@jsr/std__internal/package.json +50 -0
- package/esm/node_modules/@jsr/std__internal/styles.js +209 -0
- package/esm/node_modules/@jsr/std__internal/styles.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/styles.ts +231 -0
- package/esm/node_modules/@jsr/std__internal/styles_test.ts +80 -0
- package/esm/node_modules/@jsr/std__internal/truncate_build_message.js +109 -0
- package/esm/node_modules/@jsr/std__internal/truncate_build_message.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/truncate_build_message.ts +165 -0
- package/esm/node_modules/@jsr/std__internal/truncate_build_message_test.ts +89 -0
- package/esm/node_modules/@jsr/std__internal/types.js +4 -0
- package/esm/node_modules/@jsr/std__internal/types.js.map +1 -0
- package/esm/node_modules/@jsr/std__internal/types.ts +30 -0
- package/esm/node_modules/@jsr/std__path/LICENSE +21 -0
- package/esm/node_modules/@jsr/std__path/_common/assert_path.js +8 -0
- package/esm/node_modules/@jsr/std__path/_common/assert_path.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/assert_path.ts +10 -0
- package/esm/node_modules/@jsr/std__path/_common/assert_path_test.ts +17 -0
- package/esm/node_modules/@jsr/std__path/_common/basename.js +39 -0
- package/esm/node_modules/@jsr/std__path/_common/basename.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/basename.ts +53 -0
- package/esm/node_modules/@jsr/std__path/_common/basename_test.ts +49 -0
- package/esm/node_modules/@jsr/std__path/_common/common.js +24 -0
- package/esm/node_modules/@jsr/std__path/_common/common.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/common.ts +26 -0
- package/esm/node_modules/@jsr/std__path/_common/constants.js +47 -0
- package/esm/node_modules/@jsr/std__path/_common/constants.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/constants.ts +49 -0
- package/esm/node_modules/@jsr/std__path/_common/dirname.js +8 -0
- package/esm/node_modules/@jsr/std__path/_common/dirname.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/dirname.ts +9 -0
- package/esm/node_modules/@jsr/std__path/_common/env.js +11 -0
- package/esm/node_modules/@jsr/std__path/_common/env.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/env.ts +11 -0
- package/esm/node_modules/@jsr/std__path/_common/format.js +16 -0
- package/esm/node_modules/@jsr/std__path/_common/format.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/format.ts +25 -0
- package/esm/node_modules/@jsr/std__path/_common/format_test.ts +54 -0
- package/esm/node_modules/@jsr/std__path/_common/from_file_url.js +10 -0
- package/esm/node_modules/@jsr/std__path/_common/from_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/from_file_url.ts +12 -0
- package/esm/node_modules/@jsr/std__path/_common/glob_to_reg_exp.js +213 -0
- package/esm/node_modules/@jsr/std__path/_common/glob_to_reg_exp.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/glob_to_reg_exp.ts +295 -0
- package/esm/node_modules/@jsr/std__path/_common/normalize.js +8 -0
- package/esm/node_modules/@jsr/std__path/_common/normalize.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/normalize.ts +9 -0
- package/esm/node_modules/@jsr/std__path/_common/normalize_string.js +62 -0
- package/esm/node_modules/@jsr/std__path/_common/normalize_string.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/normalize_string.ts +74 -0
- package/esm/node_modules/@jsr/std__path/_common/normalize_string_test.ts +26 -0
- package/esm/node_modules/@jsr/std__path/_common/relative.js +9 -0
- package/esm/node_modules/@jsr/std__path/_common/relative.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/relative.ts +10 -0
- package/esm/node_modules/@jsr/std__path/_common/strip_trailing_separators.js +19 -0
- package/esm/node_modules/@jsr/std__path/_common/strip_trailing_separators.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/strip_trailing_separators.ts +25 -0
- package/esm/node_modules/@jsr/std__path/_common/to_file_url.js +16 -0
- package/esm/node_modules/@jsr/std__path/_common/to_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/_common/to_file_url.ts +17 -0
- package/esm/node_modules/@jsr/std__path/_common/to_file_url_test.ts +21 -0
- package/esm/node_modules/@jsr/std__path/_dist/_common/glob_to_reg_exp.d.ts +22 -0
- package/esm/node_modules/@jsr/std__path/_dist/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/basename.d.ts +29 -0
- package/esm/node_modules/@jsr/std__path/_dist/basename.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/common.d.ts +27 -0
- package/esm/node_modules/@jsr/std__path/_dist/common.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/constants.d.ts +13 -0
- package/esm/node_modules/@jsr/std__path/_dist/constants.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/dirname.d.ts +24 -0
- package/esm/node_modules/@jsr/std__path/_dist/dirname.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/extname.d.ts +24 -0
- package/esm/node_modules/@jsr/std__path/_dist/extname.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/format.d.ts +21 -0
- package/esm/node_modules/@jsr/std__path/_dist/format.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/from_file_url.d.ts +21 -0
- package/esm/node_modules/@jsr/std__path/_dist/from_file_url.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/glob_to_regexp.d.ts +76 -0
- package/esm/node_modules/@jsr/std__path/_dist/glob_to_regexp.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/is_absolute.d.ts +21 -0
- package/esm/node_modules/@jsr/std__path/_dist/is_absolute.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/is_glob.d.ts +16 -0
- package/esm/node_modules/@jsr/std__path/_dist/is_glob.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/join.d.ts +22 -0
- package/esm/node_modules/@jsr/std__path/_dist/join.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/join_globs.d.ts +27 -0
- package/esm/node_modules/@jsr/std__path/_dist/join_globs.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/mod.d.ts +212 -0
- package/esm/node_modules/@jsr/std__path/_dist/mod.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/normalize.d.ts +25 -0
- package/esm/node_modules/@jsr/std__path/_dist/normalize.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/normalize_glob.d.ts +28 -0
- package/esm/node_modules/@jsr/std__path/_dist/normalize_glob.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/parse.d.ts +34 -0
- package/esm/node_modules/@jsr/std__path/_dist/parse.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/basename.d.ts +43 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/basename.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/common.d.ts +18 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/common.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/constants.d.ts +10 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/constants.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/dirname.d.ts +34 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/dirname.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/extname.d.ts +41 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/extname.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/format.d.ts +23 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/format.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/from_file_url.d.ts +15 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/from_file_url.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/glob_to_regexp.d.ts +71 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/is_absolute.d.ts +16 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/is_absolute.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/is_glob.d.ts +2 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/is_glob.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/join.d.ts +30 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/join.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/join_globs.d.ts +19 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/join_globs.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/mod.d.ts +39 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/mod.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/normalize.d.ts +36 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/normalize.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/normalize_glob.d.ts +19 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/normalize_glob.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/parse.d.ts +24 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/parse.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/relative.d.ts +19 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/relative.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/resolve.d.ts +16 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/resolve.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/to_file_url.d.ts +17 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/to_file_url.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/to_namespaced_path.d.ts +15 -0
- package/esm/node_modules/@jsr/std__path/_dist/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/relative.d.ts +23 -0
- package/esm/node_modules/@jsr/std__path/_dist/relative.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/resolve.d.ts +21 -0
- package/esm/node_modules/@jsr/std__path/_dist/resolve.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/to_file_url.d.ts +21 -0
- package/esm/node_modules/@jsr/std__path/_dist/to_file_url.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/to_namespaced_path.d.ts +20 -0
- package/esm/node_modules/@jsr/std__path/_dist/to_namespaced_path.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/types.d.ts +32 -0
- package/esm/node_modules/@jsr/std__path/_dist/types.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/basename.d.ts +22 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/basename.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/common.d.ts +19 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/common.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/constants.d.ts +10 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/constants.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/dirname.d.ts +17 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/dirname.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/extname.d.ts +17 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/extname.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/format.d.ts +23 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/format.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/from_file_url.d.ts +17 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/from_file_url.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/glob_to_regexp.d.ts +70 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/is_absolute.d.ts +16 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/is_absolute.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/is_glob.d.ts +2 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/is_glob.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/join.d.ts +17 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/join.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/join_globs.d.ts +20 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/join_globs.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/mod.d.ts +32 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/mod.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/normalize.d.ts +18 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/normalize.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/normalize_glob.d.ts +19 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/normalize_glob.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/parse.d.ts +24 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/parse.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/relative.d.ts +22 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/relative.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/resolve.d.ts +16 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/resolve.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/to_file_url.d.ts +16 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/to_file_url.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/to_namespaced_path.d.ts +16 -0
- package/esm/node_modules/@jsr/std__path/_dist/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/node_modules/@jsr/std__path/basename.js +36 -0
- package/esm/node_modules/@jsr/std__path/basename.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/basename.ts +40 -0
- package/esm/node_modules/@jsr/std__path/basename_test.ts +176 -0
- package/esm/node_modules/@jsr/std__path/common.js +33 -0
- package/esm/node_modules/@jsr/std__path/common.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/common.ts +35 -0
- package/esm/node_modules/@jsr/std__path/common_test.ts +98 -0
- package/esm/node_modules/@jsr/std__path/constants.js +15 -0
- package/esm/node_modules/@jsr/std__path/constants.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/constants.ts +18 -0
- package/esm/node_modules/@jsr/std__path/deno.json +67 -0
- package/esm/node_modules/@jsr/std__path/dirname.js +31 -0
- package/esm/node_modules/@jsr/std__path/dirname.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/dirname.ts +33 -0
- package/esm/node_modules/@jsr/std__path/dirname_test.ts +131 -0
- package/esm/node_modules/@jsr/std__path/extname.js +31 -0
- package/esm/node_modules/@jsr/std__path/extname.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/extname.ts +32 -0
- package/esm/node_modules/@jsr/std__path/extname_test.ts +108 -0
- package/esm/node_modules/@jsr/std__path/format.js +27 -0
- package/esm/node_modules/@jsr/std__path/format.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/format.ts +30 -0
- package/esm/node_modules/@jsr/std__path/from_file_url.js +28 -0
- package/esm/node_modules/@jsr/std__path/from_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/from_file_url.ts +30 -0
- package/esm/node_modules/@jsr/std__path/from_file_url_test.ts +59 -0
- package/esm/node_modules/@jsr/std__path/glob_to_regexp.js +81 -0
- package/esm/node_modules/@jsr/std__path/glob_to_regexp.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/glob_to_regexp.ts +94 -0
- package/esm/node_modules/@jsr/std__path/glob_to_regexp_test.ts +509 -0
- package/esm/node_modules/@jsr/std__path/is_absolute.js +28 -0
- package/esm/node_modules/@jsr/std__path/is_absolute.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/is_absolute.ts +30 -0
- package/esm/node_modules/@jsr/std__path/is_absolute_test.ts +40 -0
- package/esm/node_modules/@jsr/std__path/is_glob.js +45 -0
- package/esm/node_modules/@jsr/std__path/is_glob.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/is_glob.ts +49 -0
- package/esm/node_modules/@jsr/std__path/is_glob_test.ts +152 -0
- package/esm/node_modules/@jsr/std__path/join.js +29 -0
- package/esm/node_modules/@jsr/std__path/join.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/join.ts +31 -0
- package/esm/node_modules/@jsr/std__path/join_globs.js +32 -0
- package/esm/node_modules/@jsr/std__path/join_globs.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/join_globs.ts +42 -0
- package/esm/node_modules/@jsr/std__path/join_globs_test.ts +34 -0
- package/esm/node_modules/@jsr/std__path/join_test.ts +179 -0
- package/esm/node_modules/@jsr/std__path/mod.js +216 -0
- package/esm/node_modules/@jsr/std__path/mod.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/mod.ts +217 -0
- package/esm/node_modules/@jsr/std__path/normalize.js +32 -0
- package/esm/node_modules/@jsr/std__path/normalize.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/normalize.ts +33 -0
- package/esm/node_modules/@jsr/std__path/normalize_glob.js +33 -0
- package/esm/node_modules/@jsr/std__path/normalize_glob.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/normalize_glob.ts +45 -0
- package/esm/node_modules/@jsr/std__path/normalize_glob_test.ts +41 -0
- package/esm/node_modules/@jsr/std__path/normalize_test.ts +31 -0
- package/esm/node_modules/@jsr/std__path/package.json +256 -0
- package/esm/node_modules/@jsr/std__path/parse.js +39 -0
- package/esm/node_modules/@jsr/std__path/parse.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/parse.ts +44 -0
- package/esm/node_modules/@jsr/std__path/parse_format_test.ts +198 -0
- package/esm/node_modules/@jsr/std__path/parse_test.ts +15 -0
- package/esm/node_modules/@jsr/std__path/posix/_util.js +9 -0
- package/esm/node_modules/@jsr/std__path/posix/_util.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/_util.ts +10 -0
- package/esm/node_modules/@jsr/std__path/posix/basename.js +57 -0
- package/esm/node_modules/@jsr/std__path/posix/basename.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/basename.ts +67 -0
- package/esm/node_modules/@jsr/std__path/posix/common.js +24 -0
- package/esm/node_modules/@jsr/std__path/posix/common.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/common.ts +26 -0
- package/esm/node_modules/@jsr/std__path/posix/constants.js +13 -0
- package/esm/node_modules/@jsr/std__path/posix/constants.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/constants.ts +16 -0
- package/esm/node_modules/@jsr/std__path/posix/dirname.js +68 -0
- package/esm/node_modules/@jsr/std__path/posix/dirname.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/dirname.ts +77 -0
- package/esm/node_modules/@jsr/std__path/posix/extname.js +92 -0
- package/esm/node_modules/@jsr/std__path/posix/extname.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/extname.ts +101 -0
- package/esm/node_modules/@jsr/std__path/posix/format.js +28 -0
- package/esm/node_modules/@jsr/std__path/posix/format.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/format.ts +31 -0
- package/esm/node_modules/@jsr/std__path/posix/from_file_url.js +21 -0
- package/esm/node_modules/@jsr/std__path/posix/from_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/from_file_url.ts +25 -0
- package/esm/node_modules/@jsr/std__path/posix/glob_to_regexp.js +84 -0
- package/esm/node_modules/@jsr/std__path/posix/glob_to_regexp.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/glob_to_regexp.ts +94 -0
- package/esm/node_modules/@jsr/std__path/posix/is_absolute.js +23 -0
- package/esm/node_modules/@jsr/std__path/posix/is_absolute.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/is_absolute.ts +25 -0
- package/esm/node_modules/@jsr/std__path/posix/is_glob.js +4 -0
- package/esm/node_modules/@jsr/std__path/posix/is_glob.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/is_glob.ts +4 -0
- package/esm/node_modules/@jsr/std__path/posix/join.js +47 -0
- package/esm/node_modules/@jsr/std__path/posix/join.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/join.ts +46 -0
- package/esm/node_modules/@jsr/std__path/posix/join_globs.js +39 -0
- package/esm/node_modules/@jsr/std__path/posix/join_globs.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/join_globs.ts +45 -0
- package/esm/node_modules/@jsr/std__path/posix/mod.js +43 -0
- package/esm/node_modules/@jsr/std__path/posix/mod.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/mod.ts +44 -0
- package/esm/node_modules/@jsr/std__path/posix/normalize.js +55 -0
- package/esm/node_modules/@jsr/std__path/posix/normalize.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/normalize.ts +63 -0
- package/esm/node_modules/@jsr/std__path/posix/normalize_glob.js +32 -0
- package/esm/node_modules/@jsr/std__path/posix/normalize_glob.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/normalize_glob.ts +43 -0
- package/esm/node_modules/@jsr/std__path/posix/parse.js +108 -0
- package/esm/node_modules/@jsr/std__path/posix/parse.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/parse.ts +121 -0
- package/esm/node_modules/@jsr/std__path/posix/relative.js +94 -0
- package/esm/node_modules/@jsr/std__path/posix/relative.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/relative.ts +103 -0
- package/esm/node_modules/@jsr/std__path/posix/resolve.js +48 -0
- package/esm/node_modules/@jsr/std__path/posix/resolve.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/resolve.ts +65 -0
- package/esm/node_modules/@jsr/std__path/posix/to_file_url.js +28 -0
- package/esm/node_modules/@jsr/std__path/posix/to_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/to_file_url.ts +33 -0
- package/esm/node_modules/@jsr/std__path/posix/to_namespaced_path.js +20 -0
- package/esm/node_modules/@jsr/std__path/posix/to_namespaced_path.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/posix/to_namespaced_path.ts +21 -0
- package/esm/node_modules/@jsr/std__path/relative.js +30 -0
- package/esm/node_modules/@jsr/std__path/relative.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/relative.ts +32 -0
- package/esm/node_modules/@jsr/std__path/relative_test.ts +76 -0
- package/esm/node_modules/@jsr/std__path/resolve.js +28 -0
- package/esm/node_modules/@jsr/std__path/resolve.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/resolve.ts +32 -0
- package/esm/node_modules/@jsr/std__path/resolve_test.ts +59 -0
- package/esm/node_modules/@jsr/std__path/to_file_url.js +28 -0
- package/esm/node_modules/@jsr/std__path/to_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/to_file_url.ts +30 -0
- package/esm/node_modules/@jsr/std__path/to_file_url_test.ts +56 -0
- package/esm/node_modules/@jsr/std__path/to_namespaced_path.js +27 -0
- package/esm/node_modules/@jsr/std__path/to_namespaced_path.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/to_namespaced_path.ts +31 -0
- package/esm/node_modules/@jsr/std__path/to_namespaced_path_test.ts +33 -0
- package/esm/node_modules/@jsr/std__path/types.js +18 -0
- package/esm/node_modules/@jsr/std__path/types.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/types.ts +40 -0
- package/esm/node_modules/@jsr/std__path/windows/_util.js +15 -0
- package/esm/node_modules/@jsr/std__path/windows/_util.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/_util.ts +28 -0
- package/esm/node_modules/@jsr/std__path/windows/basename.js +47 -0
- package/esm/node_modules/@jsr/std__path/windows/basename.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/basename.ts +55 -0
- package/esm/node_modules/@jsr/std__path/windows/common.js +25 -0
- package/esm/node_modules/@jsr/std__path/windows/common.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/common.ts +27 -0
- package/esm/node_modules/@jsr/std__path/windows/constants.js +13 -0
- package/esm/node_modules/@jsr/std__path/windows/constants.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/constants.ts +16 -0
- package/esm/node_modules/@jsr/std__path/windows/dirname.js +105 -0
- package/esm/node_modules/@jsr/std__path/windows/dirname.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/dirname.ts +119 -0
- package/esm/node_modules/@jsr/std__path/windows/extname.js +75 -0
- package/esm/node_modules/@jsr/std__path/windows/extname.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/extname.ts +91 -0
- package/esm/node_modules/@jsr/std__path/windows/format.js +28 -0
- package/esm/node_modules/@jsr/std__path/windows/format.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/format.ts +31 -0
- package/esm/node_modules/@jsr/std__path/windows/from_file_url.js +30 -0
- package/esm/node_modules/@jsr/std__path/windows/from_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/from_file_url.ts +34 -0
- package/esm/node_modules/@jsr/std__path/windows/glob_to_regexp.js +85 -0
- package/esm/node_modules/@jsr/std__path/windows/glob_to_regexp.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/glob_to_regexp.ts +92 -0
- package/esm/node_modules/@jsr/std__path/windows/is_absolute.js +35 -0
- package/esm/node_modules/@jsr/std__path/windows/is_absolute.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/is_absolute.ts +40 -0
- package/esm/node_modules/@jsr/std__path/windows/is_glob.js +4 -0
- package/esm/node_modules/@jsr/std__path/windows/is_glob.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/is_glob.ts +4 -0
- package/esm/node_modules/@jsr/std__path/windows/join.js +76 -0
- package/esm/node_modules/@jsr/std__path/windows/join.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/join.ts +78 -0
- package/esm/node_modules/@jsr/std__path/windows/join_globs.js +40 -0
- package/esm/node_modules/@jsr/std__path/windows/join_globs.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/join_globs.ts +46 -0
- package/esm/node_modules/@jsr/std__path/windows/mod.js +36 -0
- package/esm/node_modules/@jsr/std__path/windows/mod.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/mod.ts +37 -0
- package/esm/node_modules/@jsr/std__path/windows/normalize.js +121 -0
- package/esm/node_modules/@jsr/std__path/windows/normalize.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/normalize.ts +136 -0
- package/esm/node_modules/@jsr/std__path/windows/normalize_glob.js +32 -0
- package/esm/node_modules/@jsr/std__path/windows/normalize_glob.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/normalize_glob.ts +43 -0
- package/esm/node_modules/@jsr/std__path/windows/parse.js +164 -0
- package/esm/node_modules/@jsr/std__path/windows/parse.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/parse.ts +184 -0
- package/esm/node_modules/@jsr/std__path/windows/relative.js +116 -0
- package/esm/node_modules/@jsr/std__path/windows/relative.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/relative.ts +128 -0
- package/esm/node_modules/@jsr/std__path/windows/resolve.js +130 -0
- package/esm/node_modules/@jsr/std__path/windows/resolve.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/resolve.ts +166 -0
- package/esm/node_modules/@jsr/std__path/windows/to_file_url.js +34 -0
- package/esm/node_modules/@jsr/std__path/windows/to_file_url.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/to_file_url.ts +38 -0
- package/esm/node_modules/@jsr/std__path/windows/to_namespaced_path.js +45 -0
- package/esm/node_modules/@jsr/std__path/windows/to_namespaced_path.js.map +1 -0
- package/esm/node_modules/@jsr/std__path/windows/to_namespaced_path.ts +60 -0
- package/esm/node_modules/@types/normalize-package-data/LICENSE +21 -0
- package/esm/node_modules/@types/normalize-package-data/README.md +62 -0
- package/esm/node_modules/@types/normalize-package-data/index.d.ts +43 -0
- package/esm/node_modules/@types/normalize-package-data/package.json +25 -0
- package/esm/node_modules/JSONStream/.travis.yml +8 -0
- package/esm/node_modules/JSONStream/LICENSE.APACHE2 +15 -0
- package/esm/node_modules/JSONStream/LICENSE.MIT +24 -0
- package/esm/node_modules/JSONStream/bin.js +12 -0
- package/esm/node_modules/JSONStream/examples/all_docs.js +13 -0
- package/esm/node_modules/JSONStream/index.js +247 -0
- package/esm/node_modules/JSONStream/package.json +40 -0
- package/esm/node_modules/JSONStream/readme.markdown +207 -0
- package/esm/node_modules/JSONStream/test/bool.js +41 -0
- package/esm/node_modules/JSONStream/test/browser.js +18 -0
- package/esm/node_modules/JSONStream/test/destroy_missing.js +27 -0
- package/esm/node_modules/JSONStream/test/doubledot1.js +29 -0
- package/esm/node_modules/JSONStream/test/doubledot2.js +30 -0
- package/esm/node_modules/JSONStream/test/empty.js +44 -0
- package/esm/node_modules/JSONStream/test/error_contents.js +45 -0
- package/esm/node_modules/JSONStream/test/fixtures/all_npm.json +4030 -0
- package/esm/node_modules/JSONStream/test/fixtures/couch_sample.json +18 -0
- package/esm/node_modules/JSONStream/test/fixtures/depth.json +15 -0
- package/esm/node_modules/JSONStream/test/fixtures/error.json +1 -0
- package/esm/node_modules/JSONStream/test/fixtures/header_footer.json +19 -0
- package/esm/node_modules/JSONStream/test/fn.js +39 -0
- package/esm/node_modules/JSONStream/test/gen.js +135 -0
- package/esm/node_modules/JSONStream/test/header_footer.js +55 -0
- package/esm/node_modules/JSONStream/test/issues.js +34 -0
- package/esm/node_modules/JSONStream/test/keys.js +105 -0
- package/esm/node_modules/JSONStream/test/map.js +40 -0
- package/esm/node_modules/JSONStream/test/multiple_objects.js +36 -0
- package/esm/node_modules/JSONStream/test/multiple_objects_error.js +29 -0
- package/esm/node_modules/JSONStream/test/null.js +28 -0
- package/esm/node_modules/JSONStream/test/parsejson.js +29 -0
- package/esm/node_modules/JSONStream/test/run.js +13 -0
- package/esm/node_modules/JSONStream/test/stringify.js +41 -0
- package/esm/node_modules/JSONStream/test/stringify_object.js +47 -0
- package/esm/node_modules/JSONStream/test/test.js +35 -0
- package/esm/node_modules/JSONStream/test/test2.js +29 -0
- package/esm/node_modules/JSONStream/test/two-ways.js +41 -0
- package/esm/node_modules/add-stream/.jshintrc +25 -0
- package/esm/node_modules/add-stream/.npmignore +7 -0
- package/esm/node_modules/add-stream/.travis.yml +4 -0
- package/esm/node_modules/add-stream/README.md +38 -0
- package/esm/node_modules/add-stream/index.js +56 -0
- package/esm/node_modules/add-stream/package.json +34 -0
- package/esm/node_modules/add-stream/test/spec.js +64 -0
- package/esm/node_modules/array-ify/README.md +51 -0
- package/esm/node_modules/array-ify/index.js +4 -0
- package/esm/node_modules/array-ify/package.json +37 -0
- package/esm/node_modules/boolbase/README.md +10 -0
- package/esm/node_modules/boolbase/index.js +8 -0
- package/esm/node_modules/boolbase/package.json +23 -0
- package/esm/node_modules/bundle-require/LICENSE +21 -0
- package/esm/node_modules/bundle-require/README.md +55 -0
- package/esm/node_modules/bundle-require/dist/index.cjs +297 -0
- package/esm/node_modules/bundle-require/dist/index.d.ts +107 -0
- package/esm/node_modules/bundle-require/dist/index.js +263 -0
- package/esm/node_modules/bundle-require/package.json +44 -0
- package/esm/node_modules/cheerio/LICENSE +21 -0
- package/esm/node_modules/cheerio/Readme.md +229 -0
- package/esm/node_modules/cheerio/dist/browser/api/attributes.d.ts +385 -0
- package/esm/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/attributes.js +636 -0
- package/esm/node_modules/cheerio/dist/browser/api/attributes.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/css.d.ts +42 -0
- package/esm/node_modules/cheerio/dist/browser/api/css.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/css.js +116 -0
- package/esm/node_modules/cheerio/dist/browser/api/css.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/extract.d.ts +27 -0
- package/esm/node_modules/cheerio/dist/browser/api/extract.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/extract.js +42 -0
- package/esm/node_modules/cheerio/dist/browser/api/extract.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/forms.d.ts +36 -0
- package/esm/node_modules/cheerio/dist/browser/api/forms.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/forms.js +81 -0
- package/esm/node_modules/cheerio/dist/browser/api/forms.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/manipulation.d.ts +528 -0
- package/esm/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/manipulation.js +831 -0
- package/esm/node_modules/cheerio/dist/browser/api/manipulation.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/traversing.d.ts +657 -0
- package/esm/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/api/traversing.js +857 -0
- package/esm/node_modules/cheerio/dist/browser/api/traversing.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/cheerio.d.ts +85 -0
- package/esm/node_modules/cheerio/dist/browser/cheerio.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/cheerio.js +58 -0
- package/esm/node_modules/cheerio/dist/browser/cheerio.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/index-browser.d.mts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/index-browser.mjs.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/index.d.ts +5 -0
- package/esm/node_modules/cheerio/dist/browser/index.js +3 -0
- package/esm/node_modules/cheerio/dist/browser/load-parse.d.ts +20 -0
- package/esm/node_modules/cheerio/dist/browser/load-parse.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/load-parse.js +28 -0
- package/esm/node_modules/cheerio/dist/browser/load-parse.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/load.d.ts +91 -0
- package/esm/node_modules/cheerio/dist/browser/load.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/load.js +129 -0
- package/esm/node_modules/cheerio/dist/browser/load.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/options.d.ts +98 -0
- package/esm/node_modules/cheerio/dist/browser/options.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/options.js +34 -0
- package/esm/node_modules/cheerio/dist/browser/options.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/package.json +3 -0
- package/esm/node_modules/cheerio/dist/browser/parse.d.ts +18 -0
- package/esm/node_modules/cheerio/dist/browser/parse.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/parse.js +73 -0
- package/esm/node_modules/cheerio/dist/browser/parse.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +20 -0
- package/esm/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +50 -0
- package/esm/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/slim.d.ts +25 -0
- package/esm/node_modules/cheerio/dist/browser/slim.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/slim.js +22 -0
- package/esm/node_modules/cheerio/dist/browser/slim.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/static.d.ts +112 -0
- package/esm/node_modules/cheerio/dist/browser/static.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/static.js +204 -0
- package/esm/node_modules/cheerio/dist/browser/static.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/types.d.ts +21 -0
- package/esm/node_modules/cheerio/dist/browser/types.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/types.js +3 -0
- package/esm/node_modules/cheerio/dist/browser/types.js.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/utils.d.ts +55 -0
- package/esm/node_modules/cheerio/dist/browser/utils.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/browser/utils.js +84 -0
- package/esm/node_modules/cheerio/dist/browser/utils.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +385 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/attributes.js +647 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/attributes.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/css.d.ts +42 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/css.js +119 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/css.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/extract.d.ts +27 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/extract.js +45 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/extract.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/forms.d.ts +36 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/forms.js +85 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/forms.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +528 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/manipulation.js +850 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +657 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/traversing.js +914 -0
- package/esm/node_modules/cheerio/dist/commonjs/api/traversing.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/cheerio.d.ts +85 -0
- package/esm/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/cheerio.js +95 -0
- package/esm/node_modules/cheerio/dist/commonjs/cheerio.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/index.d.ts +104 -0
- package/esm/node_modules/cheerio/dist/commonjs/index.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/index.js +250 -0
- package/esm/node_modules/cheerio/dist/commonjs/index.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/load-parse.d.ts +20 -0
- package/esm/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/load-parse.js +34 -0
- package/esm/node_modules/cheerio/dist/commonjs/load-parse.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/load.d.ts +91 -0
- package/esm/node_modules/cheerio/dist/commonjs/load.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/load.js +165 -0
- package/esm/node_modules/cheerio/dist/commonjs/load.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/options.d.ts +98 -0
- package/esm/node_modules/cheerio/dist/commonjs/options.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/options.js +37 -0
- package/esm/node_modules/cheerio/dist/commonjs/options.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/package.json +3 -0
- package/esm/node_modules/cheerio/dist/commonjs/parse.d.ts +18 -0
- package/esm/node_modules/cheerio/dist/commonjs/parse.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/parse.js +77 -0
- package/esm/node_modules/cheerio/dist/commonjs/parse.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +20 -0
- package/esm/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +54 -0
- package/esm/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/slim.d.ts +25 -0
- package/esm/node_modules/cheerio/dist/commonjs/slim.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/slim.js +30 -0
- package/esm/node_modules/cheerio/dist/commonjs/slim.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/static.d.ts +112 -0
- package/esm/node_modules/cheerio/dist/commonjs/static.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/static.js +214 -0
- package/esm/node_modules/cheerio/dist/commonjs/static.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/types.d.ts +21 -0
- package/esm/node_modules/cheerio/dist/commonjs/types.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/types.js +4 -0
- package/esm/node_modules/cheerio/dist/commonjs/types.js.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/utils.d.ts +55 -0
- package/esm/node_modules/cheerio/dist/commonjs/utils.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/commonjs/utils.js +91 -0
- package/esm/node_modules/cheerio/dist/commonjs/utils.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/attributes.d.ts +385 -0
- package/esm/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/attributes.js +636 -0
- package/esm/node_modules/cheerio/dist/esm/api/attributes.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/css.d.ts +42 -0
- package/esm/node_modules/cheerio/dist/esm/api/css.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/css.js +116 -0
- package/esm/node_modules/cheerio/dist/esm/api/css.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/extract.d.ts +27 -0
- package/esm/node_modules/cheerio/dist/esm/api/extract.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/extract.js +42 -0
- package/esm/node_modules/cheerio/dist/esm/api/extract.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/forms.d.ts +36 -0
- package/esm/node_modules/cheerio/dist/esm/api/forms.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/forms.js +81 -0
- package/esm/node_modules/cheerio/dist/esm/api/forms.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/manipulation.d.ts +528 -0
- package/esm/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/manipulation.js +831 -0
- package/esm/node_modules/cheerio/dist/esm/api/manipulation.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/traversing.d.ts +657 -0
- package/esm/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/api/traversing.js +857 -0
- package/esm/node_modules/cheerio/dist/esm/api/traversing.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/cheerio.d.ts +85 -0
- package/esm/node_modules/cheerio/dist/esm/cheerio.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/cheerio.js +58 -0
- package/esm/node_modules/cheerio/dist/esm/cheerio.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/index.d.ts +104 -0
- package/esm/node_modules/cheerio/dist/esm/index.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/index.js +202 -0
- package/esm/node_modules/cheerio/dist/esm/index.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/load-parse.d.ts +20 -0
- package/esm/node_modules/cheerio/dist/esm/load-parse.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/load-parse.js +28 -0
- package/esm/node_modules/cheerio/dist/esm/load-parse.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/load.d.ts +91 -0
- package/esm/node_modules/cheerio/dist/esm/load.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/load.js +129 -0
- package/esm/node_modules/cheerio/dist/esm/load.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/options.d.ts +98 -0
- package/esm/node_modules/cheerio/dist/esm/options.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/options.js +34 -0
- package/esm/node_modules/cheerio/dist/esm/options.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/package.json +3 -0
- package/esm/node_modules/cheerio/dist/esm/parse.d.ts +18 -0
- package/esm/node_modules/cheerio/dist/esm/parse.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/parse.js +73 -0
- package/esm/node_modules/cheerio/dist/esm/parse.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +20 -0
- package/esm/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +50 -0
- package/esm/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/slim.d.ts +25 -0
- package/esm/node_modules/cheerio/dist/esm/slim.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/slim.js +22 -0
- package/esm/node_modules/cheerio/dist/esm/slim.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/static.d.ts +112 -0
- package/esm/node_modules/cheerio/dist/esm/static.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/static.js +204 -0
- package/esm/node_modules/cheerio/dist/esm/static.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/types.d.ts +21 -0
- package/esm/node_modules/cheerio/dist/esm/types.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/types.js +3 -0
- package/esm/node_modules/cheerio/dist/esm/types.js.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/utils.d.ts +55 -0
- package/esm/node_modules/cheerio/dist/esm/utils.d.ts.map +1 -0
- package/esm/node_modules/cheerio/dist/esm/utils.js +84 -0
- package/esm/node_modules/cheerio/dist/esm/utils.js.map +1 -0
- package/esm/node_modules/cheerio/package.json +182 -0
- package/esm/node_modules/cheerio/src/api/attributes.ts +1145 -0
- package/esm/node_modules/cheerio/src/api/css.ts +224 -0
- package/esm/node_modules/cheerio/src/api/extract.ts +92 -0
- package/esm/node_modules/cheerio/src/api/forms.ts +103 -0
- package/esm/node_modules/cheerio/src/api/manipulation.ts +1115 -0
- package/esm/node_modules/cheerio/src/api/traversing.ts +1175 -0
- package/esm/node_modules/cheerio/src/cheerio.ts +143 -0
- package/esm/node_modules/cheerio/src/index-browser.mts +10 -0
- package/esm/node_modules/cheerio/src/index.ts +294 -0
- package/esm/node_modules/cheerio/src/load-parse.ts +39 -0
- package/esm/node_modules/cheerio/src/load.ts +282 -0
- package/esm/node_modules/cheerio/src/options.ts +136 -0
- package/esm/node_modules/cheerio/src/parse.ts +105 -0
- package/esm/node_modules/cheerio/src/parsers/parse5-adapter.ts +66 -0
- package/esm/node_modules/cheerio/src/slim.ts +33 -0
- package/esm/node_modules/cheerio/src/static.ts +312 -0
- package/esm/node_modules/cheerio/src/types.ts +58 -0
- package/esm/node_modules/cheerio/src/utils.ts +99 -0
- package/esm/node_modules/cheerio-select/LICENSE +11 -0
- package/esm/node_modules/cheerio-select/README.md +18 -0
- package/esm/node_modules/cheerio-select/lib/esm/helpers.d.ts +5 -0
- package/esm/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +1 -0
- package/esm/node_modules/cheerio-select/lib/esm/helpers.js +20 -0
- package/esm/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
- package/esm/node_modules/cheerio-select/lib/esm/index.d.ts +12 -0
- package/esm/node_modules/cheerio-select/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/cheerio-select/lib/esm/index.js +241 -0
- package/esm/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
- package/esm/node_modules/cheerio-select/lib/esm/package.json +1 -0
- package/esm/node_modules/cheerio-select/lib/esm/positionals.d.ts +10 -0
- package/esm/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +1 -0
- package/esm/node_modules/cheerio-select/lib/esm/positionals.js +47 -0
- package/esm/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
- package/esm/node_modules/cheerio-select/lib/helpers.d.ts +5 -0
- package/esm/node_modules/cheerio-select/lib/helpers.d.ts.map +1 -0
- package/esm/node_modules/cheerio-select/lib/helpers.js +26 -0
- package/esm/node_modules/cheerio-select/lib/helpers.js.map +1 -0
- package/esm/node_modules/cheerio-select/lib/index.d.ts +12 -0
- package/esm/node_modules/cheerio-select/lib/index.d.ts.map +1 -0
- package/esm/node_modules/cheerio-select/lib/index.js +302 -0
- package/esm/node_modules/cheerio-select/lib/index.js.map +1 -0
- package/esm/node_modules/cheerio-select/lib/positionals.d.ts +10 -0
- package/esm/node_modules/cheerio-select/lib/positionals.d.ts.map +1 -0
- package/esm/node_modules/cheerio-select/lib/positionals.js +52 -0
- package/esm/node_modules/cheerio-select/lib/positionals.js.map +1 -0
- package/esm/node_modules/cheerio-select/package.json +76 -0
- package/esm/node_modules/cli-width/LICENSE +13 -0
- package/esm/node_modules/cli-width/README.md +71 -0
- package/esm/node_modules/cli-width/index.d.ts +13 -0
- package/esm/node_modules/cli-width/index.js +49 -0
- package/esm/node_modules/cli-width/package.json +40 -0
- package/esm/node_modules/compare-func/LICENSE +21 -0
- package/esm/node_modules/compare-func/README.md +70 -0
- package/esm/node_modules/compare-func/index.js +42 -0
- package/esm/node_modules/compare-func/package.json +47 -0
- package/esm/node_modules/conventional-changelog/LICENSE.md +21 -0
- package/esm/node_modules/conventional-changelog/README.md +66 -0
- package/esm/node_modules/conventional-changelog/index.js +26 -0
- package/esm/node_modules/conventional-changelog/package.json +50 -0
- package/esm/node_modules/conventional-changelog-angular/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-angular/README.md +126 -0
- package/esm/node_modules/conventional-changelog-angular/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-angular/conventionalRecommendedBump.js +34 -0
- package/esm/node_modules/conventional-changelog-angular/index.js +22 -0
- package/esm/node_modules/conventional-changelog-angular/package.json +35 -0
- package/esm/node_modules/conventional-changelog-angular/parserOpts.js +17 -0
- package/esm/node_modules/conventional-changelog-angular/templates/commit.hbs +61 -0
- package/esm/node_modules/conventional-changelog-angular/templates/footer.hbs +11 -0
- package/esm/node_modules/conventional-changelog-angular/templates/header.hbs +25 -0
- package/esm/node_modules/conventional-changelog-angular/templates/template.hbs +16 -0
- package/esm/node_modules/conventional-changelog-angular/writerOpts.js +110 -0
- package/esm/node_modules/conventional-changelog-atom/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-atom/README.md +64 -0
- package/esm/node_modules/conventional-changelog-atom/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-atom/conventionalRecommendedBump.js +32 -0
- package/esm/node_modules/conventional-changelog-atom/index.js +22 -0
- package/esm/node_modules/conventional-changelog-atom/package.json +32 -0
- package/esm/node_modules/conventional-changelog-atom/parserOpts.js +13 -0
- package/esm/node_modules/conventional-changelog-atom/templates/commit.hbs +5 -0
- package/esm/node_modules/conventional-changelog-atom/templates/header.hbs +1 -0
- package/esm/node_modules/conventional-changelog-atom/templates/template.hbs +15 -0
- package/esm/node_modules/conventional-changelog-atom/writerOpts.js +47 -0
- package/esm/node_modules/conventional-changelog-codemirror/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-codemirror/README.md +37 -0
- package/esm/node_modules/conventional-changelog-codemirror/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-codemirror/conventionalRecommendedBump.js +32 -0
- package/esm/node_modules/conventional-changelog-codemirror/index.js +22 -0
- package/esm/node_modules/conventional-changelog-codemirror/package.json +32 -0
- package/esm/node_modules/conventional-changelog-codemirror/parserOpts.js +14 -0
- package/esm/node_modules/conventional-changelog-codemirror/templates/commit.hbs +5 -0
- package/esm/node_modules/conventional-changelog-codemirror/templates/header.hbs +1 -0
- package/esm/node_modules/conventional-changelog-codemirror/templates/template.hbs +15 -0
- package/esm/node_modules/conventional-changelog-codemirror/writerOpts.js +40 -0
- package/esm/node_modules/conventional-changelog-config-spec/CHANGELOG.md +15 -0
- package/esm/node_modules/conventional-changelog-config-spec/README.md +7 -0
- package/esm/node_modules/conventional-changelog-config-spec/index.js +1 -0
- package/esm/node_modules/conventional-changelog-config-spec/package.json +32 -0
- package/esm/node_modules/conventional-changelog-config-spec/renovate.json +5 -0
- package/esm/node_modules/conventional-changelog-config-spec/tests/shared.js +38 -0
- package/esm/node_modules/conventional-changelog-config-spec/tests/v1.test.js +7 -0
- package/esm/node_modules/conventional-changelog-config-spec/tests/v2.test.js +26 -0
- package/esm/node_modules/conventional-changelog-config-spec/versions/1.0.0/README.md +143 -0
- package/esm/node_modules/conventional-changelog-config-spec/versions/1.0.0/schema.json +81 -0
- package/esm/node_modules/conventional-changelog-config-spec/versions/2.0.0/README.md +155 -0
- package/esm/node_modules/conventional-changelog-config-spec/versions/2.0.0/schema.json +89 -0
- package/esm/node_modules/conventional-changelog-config-spec/versions/2.1.0/README.md +166 -0
- package/esm/node_modules/conventional-changelog-config-spec/versions/2.1.0/schema.json +97 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/README.md +72 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/constants.js +18 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/conventionalRecommendedBump.js +44 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/index.js +29 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/package.json +37 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/parserOpts.js +21 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/templates/commit.hbs +30 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/templates/footer.hbs +0 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/templates/header.hbs +9 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/templates/template.hbs +23 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/utils.js +15 -0
- package/esm/node_modules/conventional-changelog-conventionalcommits/writerOpts.js +192 -0
- package/esm/node_modules/conventional-changelog-core/LICENSE.md +21 -0
- package/esm/node_modules/conventional-changelog-core/README.md +255 -0
- package/esm/node_modules/conventional-changelog-core/hosts/bitbucket.json +21 -0
- package/esm/node_modules/conventional-changelog-core/hosts/github.json +19 -0
- package/esm/node_modules/conventional-changelog-core/hosts/gitlab.json +17 -0
- package/esm/node_modules/conventional-changelog-core/index.js +156 -0
- package/esm/node_modules/conventional-changelog-core/lib/merge-config.js +374 -0
- package/esm/node_modules/conventional-changelog-core/package.json +43 -0
- package/esm/node_modules/conventional-changelog-ember/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-ember/README.md +86 -0
- package/esm/node_modules/conventional-changelog-ember/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-ember/conventionalRecommendedBump.js +32 -0
- package/esm/node_modules/conventional-changelog-ember/index.js +25 -0
- package/esm/node_modules/conventional-changelog-ember/package.json +32 -0
- package/esm/node_modules/conventional-changelog-ember/parserOpts.js +16 -0
- package/esm/node_modules/conventional-changelog-ember/templates/commit.hbs +3 -0
- package/esm/node_modules/conventional-changelog-ember/templates/header.hbs +1 -0
- package/esm/node_modules/conventional-changelog-ember/templates/template.hbs +15 -0
- package/esm/node_modules/conventional-changelog-ember/writerOpts.js +54 -0
- package/esm/node_modules/conventional-changelog-eslint/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-eslint/README.md +76 -0
- package/esm/node_modules/conventional-changelog-eslint/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-eslint/conventionalRecommendedBump.js +34 -0
- package/esm/node_modules/conventional-changelog-eslint/index.js +22 -0
- package/esm/node_modules/conventional-changelog-eslint/package.json +32 -0
- package/esm/node_modules/conventional-changelog-eslint/parserOpts.js +13 -0
- package/esm/node_modules/conventional-changelog-eslint/templates/commit.hbs +5 -0
- package/esm/node_modules/conventional-changelog-eslint/templates/header.hbs +1 -0
- package/esm/node_modules/conventional-changelog-eslint/templates/template.hbs +15 -0
- package/esm/node_modules/conventional-changelog-eslint/writerOpts.js +38 -0
- package/esm/node_modules/conventional-changelog-express/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-express/README.md +37 -0
- package/esm/node_modules/conventional-changelog-express/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-express/conventionalRecommendedBump.js +32 -0
- package/esm/node_modules/conventional-changelog-express/index.js +22 -0
- package/esm/node_modules/conventional-changelog-express/package.json +32 -0
- package/esm/node_modules/conventional-changelog-express/parserOpts.js +13 -0
- package/esm/node_modules/conventional-changelog-express/templates/commit.hbs +9 -0
- package/esm/node_modules/conventional-changelog-express/templates/header.hbs +2 -0
- package/esm/node_modules/conventional-changelog-express/templates/template.hbs +14 -0
- package/esm/node_modules/conventional-changelog-express/writerOpts.js +40 -0
- package/esm/node_modules/conventional-changelog-jquery/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-jquery/README.md +75 -0
- package/esm/node_modules/conventional-changelog-jquery/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-jquery/conventionalRecommendedBump.js +32 -0
- package/esm/node_modules/conventional-changelog-jquery/index.js +22 -0
- package/esm/node_modules/conventional-changelog-jquery/package.json +32 -0
- package/esm/node_modules/conventional-changelog-jquery/parserOpts.js +13 -0
- package/esm/node_modules/conventional-changelog-jquery/templates/commit.hbs +56 -0
- package/esm/node_modules/conventional-changelog-jquery/templates/header.hbs +17 -0
- package/esm/node_modules/conventional-changelog-jquery/templates/template.hbs +16 -0
- package/esm/node_modules/conventional-changelog-jquery/writerOpts.js +46 -0
- package/esm/node_modules/conventional-changelog-jshint/LICENSE.md +15 -0
- package/esm/node_modules/conventional-changelog-jshint/README.md +113 -0
- package/esm/node_modules/conventional-changelog-jshint/conventionalChangelog.js +10 -0
- package/esm/node_modules/conventional-changelog-jshint/conventionalRecommendedBump.js +32 -0
- package/esm/node_modules/conventional-changelog-jshint/index.js +22 -0
- package/esm/node_modules/conventional-changelog-jshint/package.json +35 -0
- package/esm/node_modules/conventional-changelog-jshint/parserOpts.js +14 -0
- package/esm/node_modules/conventional-changelog-jshint/templates/commit.hbs +5 -0
- package/esm/node_modules/conventional-changelog-jshint/templates/footer.hbs +11 -0
- package/esm/node_modules/conventional-changelog-jshint/templates/header.hbs +1 -0
- package/esm/node_modules/conventional-changelog-jshint/templates/template.hbs +16 -0
- package/esm/node_modules/conventional-changelog-jshint/writerOpts.js +57 -0
- package/esm/node_modules/conventional-changelog-preset-loader/LICENSE.md +21 -0
- package/esm/node_modules/conventional-changelog-preset-loader/README.md +98 -0
- package/esm/node_modules/conventional-changelog-preset-loader/index.js +126 -0
- package/esm/node_modules/conventional-changelog-preset-loader/package.json +29 -0
- package/esm/node_modules/conventional-changelog-writer/LICENSE.md +21 -0
- package/esm/node_modules/conventional-changelog-writer/README.md +369 -0
- package/esm/node_modules/conventional-changelog-writer/cli.mjs +120 -0
- package/esm/node_modules/conventional-changelog-writer/index.js +248 -0
- package/esm/node_modules/conventional-changelog-writer/lib/util.js +281 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/dependencies.js +11036 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/index.d.ts +1416 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/index.js +100 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/licenses.md +1767 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/options.js +92 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/parser.js +84 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/utils.js +7 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/build/validate.js +122 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/license +9 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/package.json +107 -0
- package/esm/node_modules/conventional-changelog-writer/node_modules/meow/readme.md +314 -0
- package/esm/node_modules/conventional-changelog-writer/package.json +53 -0
- package/esm/node_modules/conventional-changelog-writer/templates/commit.hbs +54 -0
- package/esm/node_modules/conventional-changelog-writer/templates/footer.hbs +10 -0
- package/esm/node_modules/conventional-changelog-writer/templates/header.hbs +9 -0
- package/esm/node_modules/conventional-changelog-writer/templates/template.hbs +11 -0
- package/esm/node_modules/conventional-commits-filter/LICENSE +21 -0
- package/esm/node_modules/conventional-commits-filter/README.md +184 -0
- package/esm/node_modules/conventional-commits-filter/index.js +81 -0
- package/esm/node_modules/conventional-commits-filter/package.json +31 -0
- package/esm/node_modules/conventional-commits-parser/LICENSE.md +21 -0
- package/esm/node_modules/conventional-commits-parser/README.md +383 -0
- package/esm/node_modules/conventional-commits-parser/cli.mjs +170 -0
- package/esm/node_modules/conventional-commits-parser/index.js +105 -0
- package/esm/node_modules/conventional-commits-parser/lib/parser.js +316 -0
- package/esm/node_modules/conventional-commits-parser/lib/regex.js +61 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/dependencies.js +11036 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/index.d.ts +1416 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/index.js +100 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/licenses.md +1767 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/options.js +92 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/parser.js +84 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/utils.js +7 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/build/validate.js +122 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/license +9 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/package.json +107 -0
- package/esm/node_modules/conventional-commits-parser/node_modules/meow/readme.md +314 -0
- package/esm/node_modules/conventional-commits-parser/package.json +47 -0
- package/esm/node_modules/css-select/LICENSE +11 -0
- package/esm/node_modules/css-select/README.md +264 -0
- package/esm/node_modules/css-select/lib/attributes.d.ts +7 -0
- package/esm/node_modules/css-select/lib/attributes.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/attributes.js +236 -0
- package/esm/node_modules/css-select/lib/attributes.js.map +1 -0
- package/esm/node_modules/css-select/lib/compile.d.ts +13 -0
- package/esm/node_modules/css-select/lib/compile.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/compile.js +151 -0
- package/esm/node_modules/css-select/lib/compile.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
- package/esm/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/attributes.js +222 -0
- package/esm/node_modules/css-select/lib/esm/attributes.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/compile.d.ts +13 -0
- package/esm/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/compile.js +115 -0
- package/esm/node_modules/css-select/lib/esm/compile.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/general.d.ts +3 -0
- package/esm/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/general.js +144 -0
- package/esm/node_modules/css-select/lib/esm/general.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
- package/esm/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
- package/esm/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
- package/esm/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
- package/esm/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
- package/esm/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
- package/esm/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/index.d.ts +50 -0
- package/esm/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/index.js +115 -0
- package/esm/node_modules/css-select/lib/esm/index.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/package.json +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
- package/esm/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/sort.d.ts +12 -0
- package/esm/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/sort.js +79 -0
- package/esm/node_modules/css-select/lib/esm/sort.js.map +1 -0
- package/esm/node_modules/css-select/lib/esm/types.d.ts +167 -0
- package/esm/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/esm/types.js +2 -0
- package/esm/node_modules/css-select/lib/esm/types.js.map +1 -0
- package/esm/node_modules/css-select/lib/general.d.ts +3 -0
- package/esm/node_modules/css-select/lib/general.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/general.js +148 -0
- package/esm/node_modules/css-select/lib/general.js.map +1 -0
- package/esm/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
- package/esm/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/helpers/cache.js +45 -0
- package/esm/node_modules/css-select/lib/helpers/cache.js.map +1 -0
- package/esm/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
- package/esm/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/helpers/querying.js +111 -0
- package/esm/node_modules/css-select/lib/helpers/querying.js.map +1 -0
- package/esm/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
- package/esm/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/helpers/selectors.js +111 -0
- package/esm/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
- package/esm/node_modules/css-select/lib/index.d.ts +50 -0
- package/esm/node_modules/css-select/lib/index.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/index.js +154 -0
- package/esm/node_modules/css-select/lib/index.js.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
- package/esm/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
- package/esm/node_modules/css-select/lib/sort.d.ts +12 -0
- package/esm/node_modules/css-select/lib/sort.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/sort.js +84 -0
- package/esm/node_modules/css-select/lib/sort.js.map +1 -0
- package/esm/node_modules/css-select/lib/types.d.ts +167 -0
- package/esm/node_modules/css-select/lib/types.d.ts.map +1 -0
- package/esm/node_modules/css-select/lib/types.js +3 -0
- package/esm/node_modules/css-select/lib/types.js.map +1 -0
- package/esm/node_modules/css-select/package.json +81 -0
- package/esm/node_modules/css-what/LICENSE +11 -0
- package/esm/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
- package/esm/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/commonjs/index.js +23 -0
- package/esm/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
- package/esm/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/commonjs/parse.js +425 -0
- package/esm/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
- package/esm/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/commonjs/stringify.js +138 -0
- package/esm/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
- package/esm/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/commonjs/types.js +42 -0
- package/esm/node_modules/css-what/lib/es/index.d.ts +4 -0
- package/esm/node_modules/css-what/lib/es/index.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/es/index.js +3 -0
- package/esm/node_modules/css-what/lib/es/parse.d.ts +20 -0
- package/esm/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/es/parse.js +420 -0
- package/esm/node_modules/css-what/lib/es/stringify.d.ts +8 -0
- package/esm/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/es/stringify.js +126 -0
- package/esm/node_modules/css-what/lib/es/types.d.ts +70 -0
- package/esm/node_modules/css-what/lib/es/types.d.ts.map +1 -0
- package/esm/node_modules/css-what/lib/es/types.js +39 -0
- package/esm/node_modules/css-what/package.json +59 -0
- package/esm/node_modules/css-what/readme.md +69 -0
- package/esm/node_modules/dargs/index.d.ts +159 -0
- package/esm/node_modules/dargs/index.js +116 -0
- package/esm/node_modules/dargs/license +9 -0
- package/esm/node_modules/dargs/package.json +51 -0
- package/esm/node_modules/dargs/readme.md +195 -0
- package/esm/node_modules/dom-serializer/LICENSE +11 -0
- package/esm/node_modules/dom-serializer/README.md +109 -0
- package/esm/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
- package/esm/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
- package/esm/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
- package/esm/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
- package/esm/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/dom-serializer/lib/esm/index.js +190 -0
- package/esm/node_modules/dom-serializer/lib/esm/package.json +1 -0
- package/esm/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
- package/esm/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
- package/esm/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/esm/node_modules/dom-serializer/lib/index.d.ts +52 -0
- package/esm/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
- package/esm/node_modules/dom-serializer/lib/index.js +229 -0
- package/esm/node_modules/dom-serializer/package.json +69 -0
- package/esm/node_modules/domelementtype/LICENSE +11 -0
- package/esm/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
- package/esm/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/domelementtype/lib/esm/index.js +51 -0
- package/esm/node_modules/domelementtype/lib/esm/package.json +1 -0
- package/esm/node_modules/domelementtype/lib/index.d.ts +48 -0
- package/esm/node_modules/domelementtype/lib/index.d.ts.map +1 -0
- package/esm/node_modules/domelementtype/lib/index.js +55 -0
- package/esm/node_modules/domelementtype/package.json +54 -0
- package/esm/node_modules/domelementtype/readme.md +1 -0
- package/esm/node_modules/domhandler/LICENSE +11 -0
- package/esm/node_modules/domhandler/lib/esm/index.d.ts +76 -0
- package/esm/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/domhandler/lib/esm/index.js +146 -0
- package/esm/node_modules/domhandler/lib/esm/node.d.ts +245 -0
- package/esm/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
- package/esm/node_modules/domhandler/lib/esm/node.js +338 -0
- package/esm/node_modules/domhandler/lib/esm/package.json +1 -0
- package/esm/node_modules/domhandler/lib/index.d.ts +76 -0
- package/esm/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/esm/node_modules/domhandler/lib/index.js +165 -0
- package/esm/node_modules/domhandler/lib/node.d.ts +245 -0
- package/esm/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/esm/node_modules/domhandler/lib/node.js +474 -0
- package/esm/node_modules/domhandler/package.json +73 -0
- package/esm/node_modules/domhandler/readme.md +92 -0
- package/esm/node_modules/domutils/LICENSE +11 -0
- package/esm/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
- package/esm/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/feeds.js +183 -0
- package/esm/node_modules/domutils/lib/esm/feeds.js.map +1 -0
- package/esm/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
- package/esm/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/helpers.js +136 -0
- package/esm/node_modules/domutils/lib/esm/helpers.js.map +1 -0
- package/esm/node_modules/domutils/lib/esm/index.d.ts +10 -0
- package/esm/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/index.js +10 -0
- package/esm/node_modules/domutils/lib/esm/index.js.map +1 -0
- package/esm/node_modules/domutils/lib/esm/legacy.d.ts +79 -0
- package/esm/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/legacy.js +152 -0
- package/esm/node_modules/domutils/lib/esm/legacy.js.map +1 -0
- package/esm/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
- package/esm/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/manipulation.js +134 -0
- package/esm/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
- package/esm/node_modules/domutils/lib/esm/package.json +1 -0
- package/esm/node_modules/domutils/lib/esm/querying.d.ts +64 -0
- package/esm/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/querying.js +142 -0
- package/esm/node_modules/domutils/lib/esm/querying.js.map +1 -0
- package/esm/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
- package/esm/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/stringify.js +81 -0
- package/esm/node_modules/domutils/lib/esm/stringify.js.map +1 -0
- package/esm/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
- package/esm/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/esm/traversal.js +112 -0
- package/esm/node_modules/domutils/lib/esm/traversal.js.map +1 -0
- package/esm/node_modules/domutils/lib/feeds.d.ts +71 -0
- package/esm/node_modules/domutils/lib/feeds.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/feeds.js +190 -0
- package/esm/node_modules/domutils/lib/feeds.js.map +1 -0
- package/esm/node_modules/domutils/lib/helpers.d.ts +59 -0
- package/esm/node_modules/domutils/lib/helpers.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/helpers.js +142 -0
- package/esm/node_modules/domutils/lib/helpers.js.map +1 -0
- package/esm/node_modules/domutils/lib/index.d.ts +10 -0
- package/esm/node_modules/domutils/lib/index.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/index.js +33 -0
- package/esm/node_modules/domutils/lib/index.js.map +1 -0
- package/esm/node_modules/domutils/lib/legacy.d.ts +79 -0
- package/esm/node_modules/domutils/lib/legacy.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/legacy.js +168 -0
- package/esm/node_modules/domutils/lib/legacy.js.map +1 -0
- package/esm/node_modules/domutils/lib/manipulation.d.ts +49 -0
- package/esm/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/manipulation.js +142 -0
- package/esm/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/esm/node_modules/domutils/lib/querying.d.ts +64 -0
- package/esm/node_modules/domutils/lib/querying.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/querying.js +155 -0
- package/esm/node_modules/domutils/lib/querying.js.map +1 -0
- package/esm/node_modules/domutils/lib/stringify.d.ts +46 -0
- package/esm/node_modules/domutils/lib/stringify.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/stringify.js +91 -0
- package/esm/node_modules/domutils/lib/stringify.js.map +1 -0
- package/esm/node_modules/domutils/lib/traversal.d.ts +67 -0
- package/esm/node_modules/domutils/lib/traversal.d.ts.map +1 -0
- package/esm/node_modules/domutils/lib/traversal.js +125 -0
- package/esm/node_modules/domutils/lib/traversal.js.map +1 -0
- package/esm/node_modules/domutils/package.json +79 -0
- package/esm/node_modules/domutils/readme.md +31 -0
- package/esm/node_modules/dot-prop/index.d.ts +101 -0
- package/esm/node_modules/dot-prop/index.js +142 -0
- package/esm/node_modules/dot-prop/license +9 -0
- package/esm/node_modules/dot-prop/package.json +45 -0
- package/esm/node_modules/dot-prop/readme.md +117 -0
- package/esm/node_modules/encoding-sniffer/LICENSE +18 -0
- package/esm/node_modules/encoding-sniffer/README.md +68 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +31 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +1 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/index.js +72 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/index.js.map +1 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/package.json +3 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +148 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +1 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +990 -0
- package/esm/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +1 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/index.d.ts +31 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +1 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/index.js +63 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/index.js.map +1 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/package.json +3 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +148 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +1 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/sniffer.js +985 -0
- package/esm/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +1 -0
- package/esm/node_modules/encoding-sniffer/package.json +94 -0
- package/esm/node_modules/encoding-sniffer/sniffer.d.ts +2 -0
- package/esm/node_modules/encoding-sniffer/sniffer.js +3 -0
- package/esm/node_modules/entities/LICENSE +11 -0
- package/esm/node_modules/entities/lib/decode.d.ts +211 -0
- package/esm/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/decode.js +536 -0
- package/esm/node_modules/entities/lib/decode.js.map +1 -0
- package/esm/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/esm/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/esm/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/esm/node_modules/entities/lib/encode.d.ts +22 -0
- package/esm/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/encode.js +77 -0
- package/esm/node_modules/entities/lib/encode.js.map +1 -0
- package/esm/node_modules/entities/lib/escape.d.ts +43 -0
- package/esm/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/escape.js +122 -0
- package/esm/node_modules/entities/lib/escape.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/esm/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/decode.js +496 -0
- package/esm/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/esm/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/esm/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/esm/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/encode.js +69 -0
- package/esm/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/esm/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/escape.js +116 -0
- package/esm/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/esm/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/esm/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/esm/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/esm/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/esm/index.js +99 -0
- package/esm/node_modules/entities/lib/esm/index.js.map +1 -0
- package/esm/node_modules/entities/lib/esm/package.json +1 -0
- package/esm/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/esm/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/esm/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/esm/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/esm/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/esm/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/esm/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/esm/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/esm/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/esm/node_modules/entities/lib/index.d.ts +96 -0
- package/esm/node_modules/entities/lib/index.d.ts.map +1 -0
- package/esm/node_modules/entities/lib/index.js +126 -0
- package/esm/node_modules/entities/lib/index.js.map +1 -0
- package/esm/node_modules/entities/package.json +90 -0
- package/esm/node_modules/entities/readme.md +122 -0
- package/esm/node_modules/error-ex/LICENSE +21 -0
- package/esm/node_modules/error-ex/README.md +144 -0
- package/esm/node_modules/error-ex/index.js +141 -0
- package/esm/node_modules/error-ex/package.json +46 -0
- package/esm/node_modules/esbuild/LICENSE.md +21 -0
- package/esm/node_modules/esbuild/README.md +3 -0
- package/esm/node_modules/esbuild/bin/esbuild +223 -0
- package/esm/node_modules/esbuild/install.js +300 -0
- package/esm/node_modules/esbuild/lib/main.d.ts +716 -0
- package/esm/node_modules/esbuild/lib/main.js +2532 -0
- package/esm/node_modules/esbuild/package.json +74 -0
- package/esm/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
- package/esm/node_modules/fast-string-truncated-width/dist/index.js +111 -0
- package/esm/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
- package/esm/node_modules/fast-string-truncated-width/dist/types.js +2 -0
- package/esm/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
- package/esm/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
- package/esm/node_modules/fast-string-truncated-width/license +21 -0
- package/esm/node_modules/fast-string-truncated-width/package.json +35 -0
- package/esm/node_modules/fast-string-truncated-width/readme.md +59 -0
- package/esm/node_modules/fast-string-width/dist/index.d.ts +4 -0
- package/esm/node_modules/fast-string-width/dist/index.js +14 -0
- package/esm/node_modules/fast-string-width/license +21 -0
- package/esm/node_modules/fast-string-width/package.json +34 -0
- package/esm/node_modules/fast-string-width/readme.md +42 -0
- package/esm/node_modules/fast-wrap-ansi/LICENSE +23 -0
- package/esm/node_modules/fast-wrap-ansi/README.md +26 -0
- package/esm/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
- package/esm/node_modules/fast-wrap-ansi/lib/main.js +218 -0
- package/esm/node_modules/fast-wrap-ansi/package.json +51 -0
- package/esm/node_modules/find-up/index.d.ts +248 -0
- package/esm/node_modules/find-up/index.js +109 -0
- package/esm/node_modules/find-up/license +9 -0
- package/esm/node_modules/find-up/package.json +56 -0
- package/esm/node_modules/find-up/readme.md +172 -0
- package/esm/node_modules/fork-version/CHANGELOG.md +1245 -0
- package/esm/node_modules/fork-version/LICENSE +21 -0
- package/esm/node_modules/fork-version/README.md +133 -0
- package/esm/node_modules/fork-version/dist/cli.d.ts +1 -0
- package/esm/node_modules/fork-version/dist/cli.js +59 -0
- package/esm/node_modules/fork-version/dist/commands/inspect.d.ts +9 -0
- package/esm/node_modules/fork-version/dist/commands/inspect.js +41 -0
- package/esm/node_modules/fork-version/dist/commands/main.d.ts +16 -0
- package/esm/node_modules/fork-version/dist/commands/main.js +30 -0
- package/esm/node_modules/fork-version/dist/commands/validate-config.d.ts +6 -0
- package/esm/node_modules/fork-version/dist/commands/validate-config.js +11 -0
- package/esm/node_modules/fork-version/dist/commit-parser/commit-parser.d.ts +114 -0
- package/esm/node_modules/fork-version/dist/commit-parser/commit-parser.js +327 -0
- package/esm/node_modules/fork-version/dist/commit-parser/filter-reverted-commits.d.ts +17 -0
- package/esm/node_modules/fork-version/dist/commit-parser/filter-reverted-commits.js +34 -0
- package/esm/node_modules/fork-version/dist/commit-parser/options.d.ts +74 -0
- package/esm/node_modules/fork-version/dist/commit-parser/options.js +70 -0
- package/esm/node_modules/fork-version/dist/commit-parser/parser-error.js +14 -0
- package/esm/node_modules/fork-version/dist/commit-parser/types.d.ts +53 -0
- package/esm/node_modules/fork-version/dist/config/changelog-preset-config.js +41 -0
- package/esm/node_modules/fork-version/dist/config/cli-arguments.d.ts +109 -0
- package/esm/node_modules/fork-version/dist/config/cli-arguments.js +141 -0
- package/esm/node_modules/fork-version/dist/config/defaults.js +38 -0
- package/esm/node_modules/fork-version/dist/config/define-config.d.ts +24 -0
- package/esm/node_modules/fork-version/dist/config/define-config.js +24 -0
- package/esm/node_modules/fork-version/dist/config/define-file-manager.d.ts +42 -0
- package/esm/node_modules/fork-version/dist/config/define-file-manager.js +42 -0
- package/esm/node_modules/fork-version/dist/config/load-config.js +45 -0
- package/esm/node_modules/fork-version/dist/config/merge-files.js +12 -0
- package/esm/node_modules/fork-version/dist/config/schema.d.ts +100 -0
- package/esm/node_modules/fork-version/dist/config/schema.js +67 -0
- package/esm/node_modules/fork-version/dist/config/types.d.ts +285 -0
- package/esm/node_modules/fork-version/dist/config/user-config.d.ts +6 -0
- package/esm/node_modules/fork-version/dist/config/user-config.js +50 -0
- package/esm/node_modules/fork-version/dist/detect-git-host/detect-git-host.js +35 -0
- package/esm/node_modules/fork-version/dist/detect-git-host/host-azure-devops.js +28 -0
- package/esm/node_modules/fork-version/dist/detect-git-host/host-bitbucket.js +28 -0
- package/esm/node_modules/fork-version/dist/detect-git-host/host-github.js +32 -0
- package/esm/node_modules/fork-version/dist/detect-git-host/host-gitlab.js +48 -0
- package/esm/node_modules/fork-version/dist/file-managers/arm-bicep.js +36 -0
- package/esm/node_modules/fork-version/dist/file-managers/install-shield-ism.js +53 -0
- package/esm/node_modules/fork-version/dist/file-managers/json-package.js +62 -0
- package/esm/node_modules/fork-version/dist/file-managers/ms-build-project.js +86 -0
- package/esm/node_modules/fork-version/dist/file-managers/plain-text.js +29 -0
- package/esm/node_modules/fork-version/dist/file-managers/yaml-package.js +36 -0
- package/esm/node_modules/fork-version/dist/index.d.ts +22 -0
- package/esm/node_modules/fork-version/dist/index.js +20 -0
- package/esm/node_modules/fork-version/dist/process/changelog.d.ts +7 -0
- package/esm/node_modules/fork-version/dist/process/changelog.js +69 -0
- package/esm/node_modules/fork-version/dist/process/commit.d.ts +9 -0
- package/esm/node_modules/fork-version/dist/process/commit.js +22 -0
- package/esm/node_modules/fork-version/dist/process/get-commits.d.ts +15 -0
- package/esm/node_modules/fork-version/dist/process/get-commits.js +27 -0
- package/esm/node_modules/fork-version/dist/process/get-current-version.d.ts +13 -0
- package/esm/node_modules/fork-version/dist/process/get-current-version.js +35 -0
- package/esm/node_modules/fork-version/dist/process/get-next-version.d.ts +21 -0
- package/esm/node_modules/fork-version/dist/process/get-next-version.js +72 -0
- package/esm/node_modules/fork-version/dist/process/tag.d.ts +8 -0
- package/esm/node_modules/fork-version/dist/process/tag.js +15 -0
- package/esm/node_modules/fork-version/dist/services/file-manager.d.ts +93 -0
- package/esm/node_modules/fork-version/dist/services/file-manager.js +100 -0
- package/esm/node_modules/fork-version/dist/services/git.d.ts +131 -0
- package/esm/node_modules/fork-version/dist/services/git.js +260 -0
- package/esm/node_modules/fork-version/dist/services/logger.d.ts +18 -0
- package/esm/node_modules/fork-version/dist/services/logger.js +35 -0
- package/esm/node_modules/fork-version/dist/utils/clean-tag.js +20 -0
- package/esm/node_modules/fork-version/dist/utils/escape-regex.js +17 -0
- package/esm/node_modules/fork-version/dist/utils/extract-build-metadata.js +37 -0
- package/esm/node_modules/fork-version/dist/utils/extract-prerelease.js +35 -0
- package/esm/node_modules/fork-version/dist/utils/file-state.js +19 -0
- package/esm/node_modules/fork-version/dist/utils/format-commit-message.js +13 -0
- package/esm/node_modules/fork-version/dist/utils/parse-regexp-string.js +31 -0
- package/esm/node_modules/fork-version/dist/utils/release-type.js +47 -0
- package/esm/node_modules/fork-version/dist/utils/trim-string-array.js +20 -0
- package/esm/node_modules/fork-version/package.json +101 -0
- package/esm/node_modules/git-raw-commits/LICENSE.md +21 -0
- package/esm/node_modules/git-raw-commits/README.md +101 -0
- package/esm/node_modules/git-raw-commits/cli.mjs +20 -0
- package/esm/node_modules/git-raw-commits/index.js +110 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/dependencies.js +11036 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/index.d.ts +1416 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/index.js +100 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/licenses.md +1767 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/options.js +92 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/parser.js +84 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/utils.js +7 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/build/validate.js +122 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/license +9 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/package.json +107 -0
- package/esm/node_modules/git-raw-commits/node_modules/meow/readme.md +314 -0
- package/esm/node_modules/git-raw-commits/package.json +43 -0
- package/esm/node_modules/git-semver-tags/LICENSE.md +21 -0
- package/esm/node_modules/git-semver-tags/README.md +54 -0
- package/esm/node_modules/git-semver-tags/cli.mjs +43 -0
- package/esm/node_modules/git-semver-tags/index.js +71 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/dependencies.js +11036 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/index.d.ts +1416 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/index.js +100 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/licenses.md +1767 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/options.js +92 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/parser.js +84 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/utils.js +7 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/build/validate.js +122 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/license +9 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/package.json +107 -0
- package/esm/node_modules/git-semver-tags/node_modules/meow/readme.md +314 -0
- package/esm/node_modules/git-semver-tags/package.json +41 -0
- package/esm/node_modules/handlebars/LICENSE +19 -0
- package/esm/node_modules/handlebars/README.markdown +167 -0
- package/esm/node_modules/handlebars/bin/.eslintrc.js +6 -0
- package/esm/node_modules/handlebars/bin/handlebars +176 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/base.js +106 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js +31 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/base.js +102 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js +165 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js +562 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js +228 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js +1158 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js +737 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js +186 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js +138 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js +219 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js +25 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/decorators.js +16 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/exception.js +64 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js +35 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers/each.js +99 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js +22 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers/if.js +41 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers/log.js +24 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js +14 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers/with.js +38 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/helpers.js +45 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/internal/proto-access.js +76 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js +21 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/logger.js +44 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/no-conflict.js +28 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/runtime.js +363 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/safe-string.js +15 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars/utils.js +126 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars.js +52 -0
- package/esm/node_modules/handlebars/dist/amd/handlebars.runtime.js +44 -0
- package/esm/node_modules/handlebars/dist/amd/precompiler.js +345 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/base.js +116 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +31 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +116 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +168 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +566 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +228 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +1166 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +737 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +186 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +140 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +221 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +29 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/decorators.js +16 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/exception.js +64 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +39 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +104 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +25 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +46 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +26 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +16 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +43 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/helpers.js +57 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +78 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +19 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/logger.js +47 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +30 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/runtime.js +379 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +15 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars/utils.js +124 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars.js +66 -0
- package/esm/node_modules/handlebars/dist/cjs/handlebars.runtime.js +66 -0
- package/esm/node_modules/handlebars/dist/cjs/precompiler.js +359 -0
- package/esm/node_modules/handlebars/dist/handlebars.amd.js +4694 -0
- package/esm/node_modules/handlebars/dist/handlebars.amd.min.js +29 -0
- package/esm/node_modules/handlebars/dist/handlebars.js +6026 -0
- package/esm/node_modules/handlebars/dist/handlebars.min.js +29 -0
- package/esm/node_modules/handlebars/dist/handlebars.runtime.amd.js +1292 -0
- package/esm/node_modules/handlebars/dist/handlebars.runtime.amd.min.js +27 -0
- package/esm/node_modules/handlebars/dist/handlebars.runtime.js +2548 -0
- package/esm/node_modules/handlebars/dist/handlebars.runtime.min.js +27 -0
- package/esm/node_modules/handlebars/lib/.eslintrc.js +8 -0
- package/esm/node_modules/handlebars/lib/handlebars/base.js +94 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/ast.js +32 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/base.js +101 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/code-gen.js +171 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/compiler.js +594 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/helpers.js +219 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js +1306 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/parser.js +622 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/printer.js +178 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/visitor.js +136 -0
- package/esm/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js +234 -0
- package/esm/node_modules/handlebars/lib/handlebars/decorators/inline.js +22 -0
- package/esm/node_modules/handlebars/lib/handlebars/decorators.js +5 -0
- package/esm/node_modules/handlebars/lib/handlebars/exception.js +68 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js +35 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers/each.js +101 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js +15 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers/if.js +33 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers/log.js +19 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers/lookup.js +9 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers/with.js +39 -0
- package/esm/node_modules/handlebars/lib/handlebars/helpers.js +27 -0
- package/esm/node_modules/handlebars/lib/handlebars/internal/proto-access.js +69 -0
- package/esm/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js +13 -0
- package/esm/node_modules/handlebars/lib/handlebars/logger.js +39 -0
- package/esm/node_modules/handlebars/lib/handlebars/no-conflict.js +23 -0
- package/esm/node_modules/handlebars/lib/handlebars/runtime.js +452 -0
- package/esm/node_modules/handlebars/lib/handlebars/safe-string.js +10 -0
- package/esm/node_modules/handlebars/lib/handlebars/utils.js +116 -0
- package/esm/node_modules/handlebars/lib/handlebars.js +46 -0
- package/esm/node_modules/handlebars/lib/handlebars.runtime.js +37 -0
- package/esm/node_modules/handlebars/lib/index.js +26 -0
- package/esm/node_modules/handlebars/lib/precompiler.js +378 -0
- package/esm/node_modules/handlebars/package.json +134 -0
- package/esm/node_modules/handlebars/release-notes.md +1112 -0
- package/esm/node_modules/handlebars/runtime.d.ts +5 -0
- package/esm/node_modules/handlebars/runtime.js +3 -0
- package/esm/node_modules/handlebars/types/index.d.ts +422 -0
- package/esm/node_modules/hosted-git-info/LICENSE +13 -0
- package/esm/node_modules/hosted-git-info/README.md +133 -0
- package/esm/node_modules/hosted-git-info/lib/from-url.js +122 -0
- package/esm/node_modules/hosted-git-info/lib/hosts.js +227 -0
- package/esm/node_modules/hosted-git-info/lib/index.js +179 -0
- package/esm/node_modules/hosted-git-info/lib/parse-url.js +78 -0
- package/esm/node_modules/hosted-git-info/package.json +60 -0
- package/esm/node_modules/htmlparser2/LICENSE +18 -0
- package/esm/node_modules/htmlparser2/README.md +171 -0
- package/esm/node_modules/htmlparser2/WritableStream.js +3 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +198 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Parser.js +527 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +126 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +15 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/WritableStream.js +36 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/index.d.ts +54 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/index.js +123 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/commonjs/package.json +3 -0
- package/esm/node_modules/htmlparser2/dist/esm/Parser.d.ts +198 -0
- package/esm/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/Parser.js +490 -0
- package/esm/node_modules/htmlparser2/dist/esm/Parser.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +126 -0
- package/esm/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/Tokenizer.js +801 -0
- package/esm/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +15 -0
- package/esm/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/WritableStream.js +32 -0
- package/esm/node_modules/htmlparser2/dist/esm/WritableStream.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/index.d.ts +54 -0
- package/esm/node_modules/htmlparser2/dist/esm/index.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/index.js +74 -0
- package/esm/node_modules/htmlparser2/dist/esm/index.js.map +1 -0
- package/esm/node_modules/htmlparser2/dist/esm/package.json +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/decode.d.ts +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/decode.js +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +92 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +138 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +14 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +131 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +94 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +205 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +554 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +88 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +46 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +134 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +4 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +11 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +107 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +18 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +28 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +91 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +1 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/escape.d.ts +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/escape.js +3 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/package.json +120 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/readme.md +143 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +81 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/decode.ts +685 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/encode.ts +93 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/escape.ts +161 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +10 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +6 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +6 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +17 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/index.ts +187 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +30 -0
- package/esm/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +121 -0
- package/esm/node_modules/htmlparser2/package.json +113 -0
- package/esm/node_modules/htmlparser2/src/Parser.ts +663 -0
- package/esm/node_modules/htmlparser2/src/Tokenizer.ts +877 -0
- package/esm/node_modules/htmlparser2/src/WritableStream.ts +43 -0
- package/esm/node_modules/htmlparser2/src/index.ts +115 -0
- package/esm/node_modules/iconv-lite/.github/dependabot.yml +11 -0
- package/esm/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
- package/esm/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/esm/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
- package/esm/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/esm/node_modules/iconv-lite/.idea/modules.xml +8 -0
- package/esm/node_modules/iconv-lite/.idea/vcs.xml +6 -0
- package/esm/node_modules/iconv-lite/Changelog.md +212 -0
- package/esm/node_modules/iconv-lite/LICENSE +21 -0
- package/esm/node_modules/iconv-lite/README.md +130 -0
- package/esm/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
- package/esm/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
- package/esm/node_modules/iconv-lite/encodings/index.js +23 -0
- package/esm/node_modules/iconv-lite/encodings/internal.js +198 -0
- package/esm/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/esm/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/esm/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
- package/esm/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/esm/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/esm/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/esm/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/esm/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/esm/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/esm/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/esm/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/esm/node_modules/iconv-lite/encodings/utf16.js +197 -0
- package/esm/node_modules/iconv-lite/encodings/utf32.js +319 -0
- package/esm/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/esm/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/esm/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/esm/node_modules/iconv-lite/lib/index.js +180 -0
- package/esm/node_modules/iconv-lite/lib/streams.js +109 -0
- package/esm/node_modules/iconv-lite/package.json +44 -0
- package/esm/node_modules/is-arrayish/.editorconfig +18 -0
- package/esm/node_modules/is-arrayish/.istanbul.yml +4 -0
- package/esm/node_modules/is-arrayish/.npmignore +5 -0
- package/esm/node_modules/is-arrayish/.travis.yml +17 -0
- package/esm/node_modules/is-arrayish/LICENSE +21 -0
- package/esm/node_modules/is-arrayish/README.md +16 -0
- package/esm/node_modules/is-arrayish/index.js +10 -0
- package/esm/node_modules/is-arrayish/package.json +34 -0
- package/esm/node_modules/is-obj/index.d.ts +22 -0
- package/esm/node_modules/is-obj/index.js +6 -0
- package/esm/node_modules/is-obj/license +9 -0
- package/esm/node_modules/is-obj/package.json +34 -0
- package/esm/node_modules/is-obj/readme.md +39 -0
- package/esm/node_modules/is-text-path/index.d.ts +17 -0
- package/esm/node_modules/is-text-path/index.js +7 -0
- package/esm/node_modules/is-text-path/license +9 -0
- package/esm/node_modules/is-text-path/package.json +40 -0
- package/esm/node_modules/is-text-path/readme.md +34 -0
- package/esm/node_modules/joycon/LICENSE +21 -0
- package/esm/node_modules/joycon/README.md +133 -0
- package/esm/node_modules/joycon/lib/index.js +286 -0
- package/esm/node_modules/joycon/package.json +39 -0
- package/esm/node_modules/joycon/types/index.d.ts +62 -0
- package/esm/node_modules/js-tokens/LICENSE +21 -0
- package/esm/node_modules/js-tokens/README.md +240 -0
- package/esm/node_modules/js-tokens/index.js +23 -0
- package/esm/node_modules/js-tokens/package.json +30 -0
- package/esm/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
- package/esm/node_modules/json-parse-even-better-errors/README.md +96 -0
- package/esm/node_modules/json-parse-even-better-errors/lib/index.js +137 -0
- package/esm/node_modules/json-parse-even-better-errors/package.json +49 -0
- package/esm/node_modules/json-stringify-safe/.npmignore +1 -0
- package/esm/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
- package/esm/node_modules/json-stringify-safe/LICENSE +15 -0
- package/esm/node_modules/json-stringify-safe/Makefile +35 -0
- package/esm/node_modules/json-stringify-safe/README.md +52 -0
- package/esm/node_modules/json-stringify-safe/package.json +31 -0
- package/esm/node_modules/json-stringify-safe/stringify.js +27 -0
- package/esm/node_modules/json-stringify-safe/test/mocha.opts +2 -0
- package/esm/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
- package/esm/node_modules/jsonc-parser/CHANGELOG.md +76 -0
- package/esm/node_modules/jsonc-parser/LICENSE.md +21 -0
- package/esm/node_modules/jsonc-parser/README.md +364 -0
- package/esm/node_modules/jsonc-parser/SECURITY.md +41 -0
- package/esm/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
- package/esm/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
- package/esm/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
- package/esm/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
- package/esm/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
- package/esm/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
- package/esm/node_modules/jsonc-parser/lib/esm/main.js +178 -0
- package/esm/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
- package/esm/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
- package/esm/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
- package/esm/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
- package/esm/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
- package/esm/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
- package/esm/node_modules/jsonc-parser/lib/umd/main.js +194 -0
- package/esm/node_modules/jsonc-parser/package.json +37 -0
- package/esm/node_modules/jsonparse/.npmignore +1 -0
- package/esm/node_modules/jsonparse/LICENSE +24 -0
- package/esm/node_modules/jsonparse/README.markdown +11 -0
- package/esm/node_modules/jsonparse/bench.js +26 -0
- package/esm/node_modules/jsonparse/examples/twitterfeed.js +30 -0
- package/esm/node_modules/jsonparse/jsonparse.js +413 -0
- package/esm/node_modules/jsonparse/package.json +22 -0
- package/esm/node_modules/jsonparse/samplejson/basic.json +167 -0
- package/esm/node_modules/jsonparse/samplejson/basic2.json +180 -0
- package/esm/node_modules/jsonparse/test/big-token.js +24 -0
- package/esm/node_modules/jsonparse/test/boundary.js +110 -0
- package/esm/node_modules/jsonparse/test/offset.js +67 -0
- package/esm/node_modules/jsonparse/test/primitives.js +57 -0
- package/esm/node_modules/jsonparse/test/surrogate.js +26 -0
- package/esm/node_modules/jsonparse/test/unvalid.js +15 -0
- package/esm/node_modules/jsonparse/test/utf8.js +38 -0
- package/esm/node_modules/lines-and-columns/LICENSE +21 -0
- package/esm/node_modules/lines-and-columns/README.md +33 -0
- package/esm/node_modules/lines-and-columns/build/index.cjs +61 -0
- package/esm/node_modules/lines-and-columns/build/index.d.ts +12 -0
- package/esm/node_modules/lines-and-columns/build/index.mjs +58 -0
- package/esm/node_modules/lines-and-columns/package.json +61 -0
- package/esm/node_modules/load-tsconfig/LICENSE +21 -0
- package/esm/node_modules/load-tsconfig/README.md +44 -0
- package/esm/node_modules/load-tsconfig/dist/index.cjs +213 -0
- package/esm/node_modules/load-tsconfig/dist/index.js +179 -0
- package/esm/node_modules/load-tsconfig/package.json +39 -0
- package/esm/node_modules/locate-path/index.d.ts +92 -0
- package/esm/node_modules/locate-path/index.js +77 -0
- package/esm/node_modules/locate-path/license +9 -0
- package/esm/node_modules/locate-path/package.json +48 -0
- package/esm/node_modules/locate-path/readme.md +123 -0
- package/esm/node_modules/lru-cache/LICENSE +15 -0
- package/esm/node_modules/lru-cache/README.md +331 -0
- package/esm/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
- package/esm/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/esm/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/esm/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/esm/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/esm/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/esm/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/esm/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
- package/esm/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/esm/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/esm/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/esm/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/esm/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/esm/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/esm/node_modules/lru-cache/package.json +116 -0
- package/esm/node_modules/meow/build/dependencies.js +7347 -0
- package/esm/node_modules/meow/build/index.d.ts +2684 -0
- package/esm/node_modules/meow/build/index.js +185 -0
- package/esm/node_modules/meow/build/licenses.md +1254 -0
- package/esm/node_modules/meow/build/options.js +147 -0
- package/esm/node_modules/meow/build/parser.js +113 -0
- package/esm/node_modules/meow/build/utils.js +7 -0
- package/esm/node_modules/meow/build/validate.js +145 -0
- package/esm/node_modules/meow/license +9 -0
- package/esm/node_modules/meow/package.json +103 -0
- package/esm/node_modules/meow/readme.md +387 -0
- package/esm/node_modules/minimist/.eslintrc +29 -0
- package/esm/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/esm/node_modules/minimist/.nycrc +14 -0
- package/esm/node_modules/minimist/CHANGELOG.md +298 -0
- package/esm/node_modules/minimist/LICENSE +18 -0
- package/esm/node_modules/minimist/README.md +121 -0
- package/esm/node_modules/minimist/example/parse.js +4 -0
- package/esm/node_modules/minimist/index.js +263 -0
- package/esm/node_modules/minimist/package.json +75 -0
- package/esm/node_modules/minimist/test/all_bool.js +34 -0
- package/esm/node_modules/minimist/test/bool.js +177 -0
- package/esm/node_modules/minimist/test/dash.js +43 -0
- package/esm/node_modules/minimist/test/default_bool.js +37 -0
- package/esm/node_modules/minimist/test/dotted.js +24 -0
- package/esm/node_modules/minimist/test/kv_short.js +32 -0
- package/esm/node_modules/minimist/test/long.js +33 -0
- package/esm/node_modules/minimist/test/num.js +38 -0
- package/esm/node_modules/minimist/test/parse.js +209 -0
- package/esm/node_modules/minimist/test/parse_modified.js +11 -0
- package/esm/node_modules/minimist/test/proto.js +64 -0
- package/esm/node_modules/minimist/test/short.js +69 -0
- package/esm/node_modules/minimist/test/stop_early.js +17 -0
- package/esm/node_modules/minimist/test/unknown.js +104 -0
- package/esm/node_modules/minimist/test/whitespace.js +10 -0
- package/esm/node_modules/mute-stream/LICENSE +15 -0
- package/esm/node_modules/mute-stream/README.md +68 -0
- package/esm/node_modules/mute-stream/lib/index.js +142 -0
- package/esm/node_modules/mute-stream/package.json +54 -0
- package/esm/node_modules/neo-async/LICENSE +22 -0
- package/esm/node_modules/neo-async/README.md +273 -0
- package/esm/node_modules/neo-async/all.js +3 -0
- package/esm/node_modules/neo-async/allLimit.js +3 -0
- package/esm/node_modules/neo-async/allSeries.js +3 -0
- package/esm/node_modules/neo-async/angelFall.js +3 -0
- package/esm/node_modules/neo-async/any.js +3 -0
- package/esm/node_modules/neo-async/anyLimit.js +3 -0
- package/esm/node_modules/neo-async/anySeries.js +3 -0
- package/esm/node_modules/neo-async/apply.js +3 -0
- package/esm/node_modules/neo-async/applyEach.js +3 -0
- package/esm/node_modules/neo-async/applyEachSeries.js +3 -0
- package/esm/node_modules/neo-async/async.js +9184 -0
- package/esm/node_modules/neo-async/async.min.js +80 -0
- package/esm/node_modules/neo-async/asyncify.js +3 -0
- package/esm/node_modules/neo-async/auto.js +3 -0
- package/esm/node_modules/neo-async/autoInject.js +3 -0
- package/esm/node_modules/neo-async/cargo.js +3 -0
- package/esm/node_modules/neo-async/compose.js +3 -0
- package/esm/node_modules/neo-async/concat.js +3 -0
- package/esm/node_modules/neo-async/concatLimit.js +3 -0
- package/esm/node_modules/neo-async/concatSeries.js +3 -0
- package/esm/node_modules/neo-async/constant.js +3 -0
- package/esm/node_modules/neo-async/createLogger.js +3 -0
- package/esm/node_modules/neo-async/detect.js +3 -0
- package/esm/node_modules/neo-async/detectLimit.js +3 -0
- package/esm/node_modules/neo-async/detectSeries.js +3 -0
- package/esm/node_modules/neo-async/dir.js +3 -0
- package/esm/node_modules/neo-async/doDuring.js +3 -0
- package/esm/node_modules/neo-async/doUntil.js +3 -0
- package/esm/node_modules/neo-async/doWhilst.js +3 -0
- package/esm/node_modules/neo-async/during.js +3 -0
- package/esm/node_modules/neo-async/each.js +3 -0
- package/esm/node_modules/neo-async/eachLimit.js +3 -0
- package/esm/node_modules/neo-async/eachOf.js +3 -0
- package/esm/node_modules/neo-async/eachOfLimit.js +3 -0
- package/esm/node_modules/neo-async/eachOfSeries.js +3 -0
- package/esm/node_modules/neo-async/eachSeries.js +3 -0
- package/esm/node_modules/neo-async/ensureAsync.js +3 -0
- package/esm/node_modules/neo-async/every.js +3 -0
- package/esm/node_modules/neo-async/everyLimit.js +3 -0
- package/esm/node_modules/neo-async/everySeries.js +3 -0
- package/esm/node_modules/neo-async/fast.js +3 -0
- package/esm/node_modules/neo-async/filter.js +3 -0
- package/esm/node_modules/neo-async/filterLimit.js +3 -0
- package/esm/node_modules/neo-async/filterSeries.js +3 -0
- package/esm/node_modules/neo-async/find.js +3 -0
- package/esm/node_modules/neo-async/findLimit.js +3 -0
- package/esm/node_modules/neo-async/findSeries.js +3 -0
- package/esm/node_modules/neo-async/foldl.js +3 -0
- package/esm/node_modules/neo-async/foldr.js +3 -0
- package/esm/node_modules/neo-async/forEach.js +3 -0
- package/esm/node_modules/neo-async/forEachLimit.js +3 -0
- package/esm/node_modules/neo-async/forEachOf.js +3 -0
- package/esm/node_modules/neo-async/forEachOfLimit.js +3 -0
- package/esm/node_modules/neo-async/forEachOfSeries.js +3 -0
- package/esm/node_modules/neo-async/forEachSeries.js +3 -0
- package/esm/node_modules/neo-async/forever.js +3 -0
- package/esm/node_modules/neo-async/groupBy.js +3 -0
- package/esm/node_modules/neo-async/groupByLimit.js +3 -0
- package/esm/node_modules/neo-async/groupBySeries.js +3 -0
- package/esm/node_modules/neo-async/inject.js +3 -0
- package/esm/node_modules/neo-async/iterator.js +3 -0
- package/esm/node_modules/neo-async/log.js +3 -0
- package/esm/node_modules/neo-async/map.js +3 -0
- package/esm/node_modules/neo-async/mapLimit.js +3 -0
- package/esm/node_modules/neo-async/mapSeries.js +3 -0
- package/esm/node_modules/neo-async/mapValues.js +3 -0
- package/esm/node_modules/neo-async/mapValuesLimit.js +3 -0
- package/esm/node_modules/neo-async/mapValuesSeries.js +3 -0
- package/esm/node_modules/neo-async/memoize.js +3 -0
- package/esm/node_modules/neo-async/nextTick.js +3 -0
- package/esm/node_modules/neo-async/omit.js +3 -0
- package/esm/node_modules/neo-async/omitLimit.js +3 -0
- package/esm/node_modules/neo-async/omitSeries.js +3 -0
- package/esm/node_modules/neo-async/package.json +57 -0
- package/esm/node_modules/neo-async/parallel.js +3 -0
- package/esm/node_modules/neo-async/parallelLimit.js +3 -0
- package/esm/node_modules/neo-async/pick.js +3 -0
- package/esm/node_modules/neo-async/pickLimit.js +3 -0
- package/esm/node_modules/neo-async/pickSeries.js +3 -0
- package/esm/node_modules/neo-async/priorityQueue.js +3 -0
- package/esm/node_modules/neo-async/queue.js +3 -0
- package/esm/node_modules/neo-async/race.js +3 -0
- package/esm/node_modules/neo-async/reduce.js +3 -0
- package/esm/node_modules/neo-async/reduceRight.js +3 -0
- package/esm/node_modules/neo-async/reflect.js +3 -0
- package/esm/node_modules/neo-async/reflectAll.js +3 -0
- package/esm/node_modules/neo-async/reject.js +3 -0
- package/esm/node_modules/neo-async/rejectLimit.js +3 -0
- package/esm/node_modules/neo-async/rejectSeries.js +3 -0
- package/esm/node_modules/neo-async/retry.js +3 -0
- package/esm/node_modules/neo-async/retryable.js +3 -0
- package/esm/node_modules/neo-async/safe.js +3 -0
- package/esm/node_modules/neo-async/select.js +3 -0
- package/esm/node_modules/neo-async/selectLimit.js +3 -0
- package/esm/node_modules/neo-async/selectSeries.js +3 -0
- package/esm/node_modules/neo-async/seq.js +3 -0
- package/esm/node_modules/neo-async/series.js +3 -0
- package/esm/node_modules/neo-async/setImmediate.js +3 -0
- package/esm/node_modules/neo-async/some.js +3 -0
- package/esm/node_modules/neo-async/someLimit.js +3 -0
- package/esm/node_modules/neo-async/someSeries.js +3 -0
- package/esm/node_modules/neo-async/sortBy.js +3 -0
- package/esm/node_modules/neo-async/sortByLimit.js +3 -0
- package/esm/node_modules/neo-async/sortBySeries.js +3 -0
- package/esm/node_modules/neo-async/timeout.js +3 -0
- package/esm/node_modules/neo-async/times.js +3 -0
- package/esm/node_modules/neo-async/timesLimit.js +3 -0
- package/esm/node_modules/neo-async/timesSeries.js +3 -0
- package/esm/node_modules/neo-async/transform.js +3 -0
- package/esm/node_modules/neo-async/transformLimit.js +3 -0
- package/esm/node_modules/neo-async/transformSeries.js +3 -0
- package/esm/node_modules/neo-async/tryEach.js +3 -0
- package/esm/node_modules/neo-async/unmemoize.js +3 -0
- package/esm/node_modules/neo-async/until.js +3 -0
- package/esm/node_modules/neo-async/waterfall.js +3 -0
- package/esm/node_modules/neo-async/whilst.js +3 -0
- package/esm/node_modules/neo-async/wrapSync.js +3 -0
- package/esm/node_modules/normalize-package-data/LICENSE +15 -0
- package/esm/node_modules/normalize-package-data/README.md +108 -0
- package/esm/node_modules/normalize-package-data/lib/extract_description.js +24 -0
- package/esm/node_modules/normalize-package-data/lib/fixer.js +475 -0
- package/esm/node_modules/normalize-package-data/lib/make_warning.js +22 -0
- package/esm/node_modules/normalize-package-data/lib/normalize.js +48 -0
- package/esm/node_modules/normalize-package-data/lib/safe_format.js +11 -0
- package/esm/node_modules/normalize-package-data/lib/typos.json +25 -0
- package/esm/node_modules/normalize-package-data/lib/warning_messages.json +30 -0
- package/esm/node_modules/normalize-package-data/package.json +55 -0
- package/esm/node_modules/nth-check/LICENSE +11 -0
- package/esm/node_modules/nth-check/README.md +136 -0
- package/esm/node_modules/nth-check/lib/compile.d.ts +55 -0
- package/esm/node_modules/nth-check/lib/compile.d.ts.map +1 -0
- package/esm/node_modules/nth-check/lib/compile.js +121 -0
- package/esm/node_modules/nth-check/lib/compile.js.map +1 -0
- package/esm/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
- package/esm/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
- package/esm/node_modules/nth-check/lib/esm/compile.js +113 -0
- package/esm/node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/esm/node_modules/nth-check/lib/esm/index.d.ts +59 -0
- package/esm/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
- package/esm/node_modules/nth-check/lib/esm/index.js +63 -0
- package/esm/node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/esm/node_modules/nth-check/lib/esm/package.json +1 -0
- package/esm/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
- package/esm/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
- package/esm/node_modules/nth-check/lib/esm/parse.js +73 -0
- package/esm/node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/esm/node_modules/nth-check/lib/index.d.ts +59 -0
- package/esm/node_modules/nth-check/lib/index.d.ts.map +1 -0
- package/esm/node_modules/nth-check/lib/index.js +70 -0
- package/esm/node_modules/nth-check/lib/index.js.map +1 -0
- package/esm/node_modules/nth-check/lib/parse.d.ts +9 -0
- package/esm/node_modules/nth-check/lib/parse.d.ts.map +1 -0
- package/esm/node_modules/nth-check/lib/parse.js +77 -0
- package/esm/node_modules/nth-check/lib/parse.js.map +1 -0
- package/esm/node_modules/nth-check/package.json +78 -0
- package/esm/node_modules/p-limit/index.d.ts +40 -0
- package/esm/node_modules/p-limit/index.js +68 -0
- package/esm/node_modules/p-limit/license +9 -0
- package/esm/node_modules/p-limit/package.json +54 -0
- package/esm/node_modules/p-limit/readme.md +99 -0
- package/esm/node_modules/p-locate/index.d.ts +49 -0
- package/esm/node_modules/p-locate/index.js +48 -0
- package/esm/node_modules/p-locate/license +9 -0
- package/esm/node_modules/p-locate/package.json +56 -0
- package/esm/node_modules/p-locate/readme.md +91 -0
- package/esm/node_modules/parse-json/index.d.ts +126 -0
- package/esm/node_modules/parse-json/index.js +65 -0
- package/esm/node_modules/parse-json/license +9 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/index.d.ts +130 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/package.json +59 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/readme.md +922 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/asyncify.d.ts +32 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/basic.d.ts +68 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/camel-case.d.ts +80 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +54 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/camel-cased-properties.d.ts +36 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/conditional-pick-deep.d.ts +102 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/delimiter-case.d.ts +99 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +60 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/delimiter-cased-properties.d.ts +37 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/empty-object.d.ts +46 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/entries.d.ts +62 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/entry.d.ts +65 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/exact.d.ts +62 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/except.d.ts +80 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/get.d.ts +191 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/global-this.d.ts +21 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/if-any.d.ts +24 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/if-never.d.ts +24 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/includes.d.ts +22 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/internal.d.ts +253 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/is-any.d.ts +29 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/is-equal.d.ts +31 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/is-literal.d.ts +253 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/is-never.d.ts +49 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/iterable-element.d.ts +54 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/join.d.ts +68 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/jsonify.d.ts +115 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/kebab-case.d.ts +38 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +47 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/kebab-cased-properties.d.ts +30 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/last-array-element.d.ts +28 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/literal-union.d.ts +35 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/merge-deep.d.ts +470 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/merge.d.ts +46 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/numeric.d.ts +170 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/observable-like.d.ts +63 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/omit-index-signature.d.ts +107 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/opaque.d.ts +107 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/optional-keys-of.d.ts +38 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/override-properties.d.ts +29 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/package-json.d.ts +676 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/partial-deep.d.ts +111 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +70 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/pascal-case.d.ts +38 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +54 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/pascal-cased-properties.d.ts +34 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/pick-index-signature.d.ts +102 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/primitive.d.ts +13 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/promisable.d.ts +25 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/readonly-deep.d.ts +70 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/readonly-keys-of.d.ts +29 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/replace.d.ts +67 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/require-all-or-none.d.ts +36 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/require-at-least-one.d.ts +34 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/require-exactly-one.d.ts +34 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/required-keys-of.d.ts +29 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/schema.d.ts +71 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/screaming-snake-case.d.ts +33 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/set-optional.d.ts +35 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/set-readonly.d.ts +38 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/set-required.d.ts +40 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/simplify.d.ts +58 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/snake-case.d.ts +38 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +47 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/snake-cased-properties.d.ts +30 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/split-words.d.ts +57 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/split.d.ts +29 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/spread.d.ts +85 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/stringified.d.ts +23 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/trim.d.ts +27 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/tsconfig-json.d.ts +1179 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/typed-array.d.ts +17 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/union-to-intersection.d.ts +60 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/value-of.d.ts +42 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/writable-deep.d.ts +64 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/writable-keys-of.d.ts +30 -0
- package/esm/node_modules/parse-json/node_modules/type-fest/source/writable.d.ts +40 -0
- package/esm/node_modules/parse-json/package.json +52 -0
- package/esm/node_modules/parse-json/readme.md +113 -0
- package/esm/node_modules/parse5/LICENSE +19 -0
- package/esm/node_modules/parse5/README.md +38 -0
- package/esm/node_modules/parse5/dist/cjs/common/doctype.d.ts +4 -0
- package/esm/node_modules/parse5/dist/cjs/common/doctype.js +118 -0
- package/esm/node_modules/parse5/dist/cjs/common/error-codes.d.ts +67 -0
- package/esm/node_modules/parse5/dist/cjs/common/error-codes.js +66 -0
- package/esm/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +9 -0
- package/esm/node_modules/parse5/dist/cjs/common/foreign-content.js +237 -0
- package/esm/node_modules/parse5/dist/cjs/common/html.d.ts +289 -0
- package/esm/node_modules/parse5/dist/cjs/common/html.js +528 -0
- package/esm/node_modules/parse5/dist/cjs/common/token.d.ts +84 -0
- package/esm/node_modules/parse5/dist/cjs/common/token.js +24 -0
- package/esm/node_modules/parse5/dist/cjs/common/unicode.d.ts +42 -0
- package/esm/node_modules/parse5/dist/cjs/common/unicode.js +70 -0
- package/esm/node_modules/parse5/dist/cjs/index.d.ts +71 -0
- package/esm/node_modules/parse5/dist/cjs/index.js +54 -0
- package/esm/node_modules/parse5/dist/cjs/package.json +1 -0
- package/esm/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +36 -0
- package/esm/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +114 -0
- package/esm/node_modules/parse5/dist/cjs/parser/index.d.ts +221 -0
- package/esm/node_modules/parse5/dist/cjs/parser/index.js +3240 -0
- package/esm/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
- package/esm/node_modules/parse5/dist/cjs/parser/open-element-stack.js +328 -0
- package/esm/node_modules/parse5/dist/cjs/serializer/index.d.ts +60 -0
- package/esm/node_modules/parse5/dist/cjs/serializer/index.js +172 -0
- package/esm/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +247 -0
- package/esm/node_modules/parse5/dist/cjs/tokenizer/index.js +2714 -0
- package/esm/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +36 -0
- package/esm/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +200 -0
- package/esm/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +84 -0
- package/esm/node_modules/parse5/dist/cjs/tree-adapters/default.js +176 -0
- package/esm/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +255 -0
- package/esm/node_modules/parse5/dist/cjs/tree-adapters/interface.js +2 -0
- package/esm/node_modules/parse5/dist/common/doctype.d.ts +4 -0
- package/esm/node_modules/parse5/dist/common/doctype.js +114 -0
- package/esm/node_modules/parse5/dist/common/error-codes.d.ts +67 -0
- package/esm/node_modules/parse5/dist/common/error-codes.js +63 -0
- package/esm/node_modules/parse5/dist/common/foreign-content.d.ts +9 -0
- package/esm/node_modules/parse5/dist/common/foreign-content.js +228 -0
- package/esm/node_modules/parse5/dist/common/html.d.ts +289 -0
- package/esm/node_modules/parse5/dist/common/html.js +523 -0
- package/esm/node_modules/parse5/dist/common/token.d.ts +84 -0
- package/esm/node_modules/parse5/dist/common/token.js +20 -0
- package/esm/node_modules/parse5/dist/common/unicode.d.ts +42 -0
- package/esm/node_modules/parse5/dist/common/unicode.js +62 -0
- package/esm/node_modules/parse5/dist/index.d.ts +71 -0
- package/esm/node_modules/parse5/dist/index.js +42 -0
- package/esm/node_modules/parse5/dist/parser/formatting-element-list.d.ts +36 -0
- package/esm/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
- package/esm/node_modules/parse5/dist/parser/index.d.ts +221 -0
- package/esm/node_modules/parse5/dist/parser/index.js +3245 -0
- package/esm/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
- package/esm/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
- package/esm/node_modules/parse5/dist/serializer/index.d.ts +60 -0
- package/esm/node_modules/parse5/dist/serializer/index.js +168 -0
- package/esm/node_modules/parse5/dist/tokenizer/index.d.ts +247 -0
- package/esm/node_modules/parse5/dist/tokenizer/index.js +2710 -0
- package/esm/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +36 -0
- package/esm/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
- package/esm/node_modules/parse5/dist/tree-adapters/default.d.ts +84 -0
- package/esm/node_modules/parse5/dist/tree-adapters/default.js +173 -0
- package/esm/node_modules/parse5/dist/tree-adapters/interface.d.ts +255 -0
- package/esm/node_modules/parse5/dist/tree-adapters/interface.js +1 -0
- package/esm/node_modules/parse5/node_modules/entities/LICENSE +11 -0
- package/esm/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
- package/esm/node_modules/parse5/node_modules/entities/decode.js +3 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
- package/esm/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
- package/esm/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
- package/esm/node_modules/parse5/node_modules/entities/escape.js +3 -0
- package/esm/node_modules/parse5/node_modules/entities/package.json +118 -0
- package/esm/node_modules/parse5/node_modules/entities/readme.md +122 -0
- package/esm/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
- package/esm/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
- package/esm/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
- package/esm/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
- package/esm/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
- package/esm/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
- package/esm/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
- package/esm/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
- package/esm/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
- package/esm/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
- package/esm/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
- package/esm/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
- package/esm/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
- package/esm/node_modules/parse5/package.json +50 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +19 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/README.md +34 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +6 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +214 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +1 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +6 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +213 -0
- package/esm/node_modules/parse5-htmlparser2-tree-adapter/package.json +40 -0
- package/esm/node_modules/parse5-parser-stream/LICENSE +19 -0
- package/esm/node_modules/parse5-parser-stream/README.md +34 -0
- package/esm/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +85 -0
- package/esm/node_modules/parse5-parser-stream/dist/cjs/index.js +90 -0
- package/esm/node_modules/parse5-parser-stream/dist/cjs/package.json +1 -0
- package/esm/node_modules/parse5-parser-stream/dist/index.d.ts +85 -0
- package/esm/node_modules/parse5-parser-stream/dist/index.js +86 -0
- package/esm/node_modules/parse5-parser-stream/package.json +39 -0
- package/esm/node_modules/path-exists/index.d.ts +31 -0
- package/esm/node_modules/path-exists/index.js +19 -0
- package/esm/node_modules/path-exists/license +9 -0
- package/esm/node_modules/path-exists/package.json +41 -0
- package/esm/node_modules/path-exists/readme.md +52 -0
- package/esm/node_modules/picocolors/LICENSE +15 -0
- package/esm/node_modules/picocolors/README.md +21 -0
- package/esm/node_modules/picocolors/package.json +25 -0
- package/esm/node_modules/picocolors/picocolors.browser.js +4 -0
- package/esm/node_modules/picocolors/picocolors.d.ts +5 -0
- package/esm/node_modules/picocolors/picocolors.js +75 -0
- package/esm/node_modules/picocolors/types.d.ts +51 -0
- package/esm/node_modules/read-pkg/index.d.ts +68 -0
- package/esm/node_modules/read-pkg/index.js +51 -0
- package/esm/node_modules/read-pkg/license +9 -0
- package/esm/node_modules/read-pkg/package.json +47 -0
- package/esm/node_modules/read-pkg/readme.md +83 -0
- package/esm/node_modules/read-pkg-up/index.d.ts +74 -0
- package/esm/node_modules/read-pkg-up/index.js +27 -0
- package/esm/node_modules/read-pkg-up/license +9 -0
- package/esm/node_modules/read-pkg-up/package.json +69 -0
- package/esm/node_modules/read-pkg-up/readme.md +68 -0
- package/esm/node_modules/safer-buffer/LICENSE +21 -0
- package/esm/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/esm/node_modules/safer-buffer/Readme.md +156 -0
- package/esm/node_modules/safer-buffer/dangerous.js +58 -0
- package/esm/node_modules/safer-buffer/package.json +34 -0
- package/esm/node_modules/safer-buffer/safer.js +77 -0
- package/esm/node_modules/safer-buffer/tests.js +406 -0
- package/esm/node_modules/semver/LICENSE +15 -0
- package/esm/node_modules/semver/README.md +665 -0
- package/esm/node_modules/semver/bin/semver.js +191 -0
- package/esm/node_modules/semver/classes/comparator.js +143 -0
- package/esm/node_modules/semver/classes/index.js +7 -0
- package/esm/node_modules/semver/classes/range.js +557 -0
- package/esm/node_modules/semver/classes/semver.js +333 -0
- package/esm/node_modules/semver/functions/clean.js +8 -0
- package/esm/node_modules/semver/functions/cmp.js +54 -0
- package/esm/node_modules/semver/functions/coerce.js +62 -0
- package/esm/node_modules/semver/functions/compare-build.js +9 -0
- package/esm/node_modules/semver/functions/compare-loose.js +5 -0
- package/esm/node_modules/semver/functions/compare.js +7 -0
- package/esm/node_modules/semver/functions/diff.js +60 -0
- package/esm/node_modules/semver/functions/eq.js +5 -0
- package/esm/node_modules/semver/functions/gt.js +5 -0
- package/esm/node_modules/semver/functions/gte.js +5 -0
- package/esm/node_modules/semver/functions/inc.js +21 -0
- package/esm/node_modules/semver/functions/lt.js +5 -0
- package/esm/node_modules/semver/functions/lte.js +5 -0
- package/esm/node_modules/semver/functions/major.js +5 -0
- package/esm/node_modules/semver/functions/minor.js +5 -0
- package/esm/node_modules/semver/functions/neq.js +5 -0
- package/esm/node_modules/semver/functions/parse.js +18 -0
- package/esm/node_modules/semver/functions/patch.js +5 -0
- package/esm/node_modules/semver/functions/prerelease.js +8 -0
- package/esm/node_modules/semver/functions/rcompare.js +5 -0
- package/esm/node_modules/semver/functions/rsort.js +5 -0
- package/esm/node_modules/semver/functions/satisfies.js +12 -0
- package/esm/node_modules/semver/functions/sort.js +5 -0
- package/esm/node_modules/semver/functions/valid.js +8 -0
- package/esm/node_modules/semver/index.js +91 -0
- package/esm/node_modules/semver/internal/constants.js +37 -0
- package/esm/node_modules/semver/internal/debug.js +11 -0
- package/esm/node_modules/semver/internal/identifiers.js +29 -0
- package/esm/node_modules/semver/internal/lrucache.js +42 -0
- package/esm/node_modules/semver/internal/parse-options.js +17 -0
- package/esm/node_modules/semver/internal/re.js +223 -0
- package/esm/node_modules/semver/package.json +78 -0
- package/esm/node_modules/semver/preload.js +4 -0
- package/esm/node_modules/semver/range.bnf +16 -0
- package/esm/node_modules/semver/ranges/gtr.js +6 -0
- package/esm/node_modules/semver/ranges/intersects.js +9 -0
- package/esm/node_modules/semver/ranges/ltr.js +6 -0
- package/esm/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/esm/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/esm/node_modules/semver/ranges/min-version.js +63 -0
- package/esm/node_modules/semver/ranges/outside.js +82 -0
- package/esm/node_modules/semver/ranges/simplify.js +49 -0
- package/esm/node_modules/semver/ranges/subset.js +249 -0
- package/esm/node_modules/semver/ranges/to-comparators.js +10 -0
- package/esm/node_modules/semver/ranges/valid.js +13 -0
- package/esm/node_modules/signal-exit/LICENSE.txt +16 -0
- package/esm/node_modules/signal-exit/README.md +74 -0
- package/esm/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/esm/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/esm/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/esm/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/esm/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/esm/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/esm/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/esm/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/esm/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/esm/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/esm/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/esm/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/esm/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/esm/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/esm/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/esm/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/esm/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/esm/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/esm/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/esm/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/esm/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/esm/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/esm/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/esm/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/esm/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/esm/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/esm/node_modules/signal-exit/package.json +106 -0
- package/esm/node_modules/source-map/LICENSE +28 -0
- package/esm/node_modules/source-map/README.md +742 -0
- package/esm/node_modules/source-map/dist/source-map.debug.js +3234 -0
- package/esm/node_modules/source-map/dist/source-map.js +3233 -0
- package/esm/node_modules/source-map/dist/source-map.min.js +2 -0
- package/esm/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/esm/node_modules/source-map/lib/array-set.js +121 -0
- package/esm/node_modules/source-map/lib/base64-vlq.js +140 -0
- package/esm/node_modules/source-map/lib/base64.js +67 -0
- package/esm/node_modules/source-map/lib/binary-search.js +111 -0
- package/esm/node_modules/source-map/lib/mapping-list.js +79 -0
- package/esm/node_modules/source-map/lib/quick-sort.js +114 -0
- package/esm/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- package/esm/node_modules/source-map/lib/source-map-generator.js +425 -0
- package/esm/node_modules/source-map/lib/source-node.js +413 -0
- package/esm/node_modules/source-map/lib/util.js +488 -0
- package/esm/node_modules/source-map/package.json +73 -0
- package/esm/node_modules/source-map/source-map.d.ts +98 -0
- package/esm/node_modules/source-map/source-map.js +8 -0
- package/esm/node_modules/spdx-correct/LICENSE +202 -0
- package/esm/node_modules/spdx-correct/README.md +22 -0
- package/esm/node_modules/spdx-correct/index.js +386 -0
- package/esm/node_modules/spdx-correct/package.json +32 -0
- package/esm/node_modules/spdx-exceptions/README.md +36 -0
- package/esm/node_modules/spdx-exceptions/deprecated.json +3 -0
- package/esm/node_modules/spdx-exceptions/index.json +68 -0
- package/esm/node_modules/spdx-exceptions/package.json +19 -0
- package/esm/node_modules/spdx-expression-parse/AUTHORS +4 -0
- package/esm/node_modules/spdx-expression-parse/LICENSE +22 -0
- package/esm/node_modules/spdx-expression-parse/README.md +91 -0
- package/esm/node_modules/spdx-expression-parse/index.js +8 -0
- package/esm/node_modules/spdx-expression-parse/package.json +39 -0
- package/esm/node_modules/spdx-expression-parse/parse.js +138 -0
- package/esm/node_modules/spdx-expression-parse/scan.js +131 -0
- package/esm/node_modules/spdx-license-ids/README.md +51 -0
- package/esm/node_modules/spdx-license-ids/deprecated.json +28 -0
- package/esm/node_modules/spdx-license-ids/index.json +697 -0
- package/esm/node_modules/spdx-license-ids/package.json +29 -0
- package/esm/node_modules/split2/LICENSE +13 -0
- package/esm/node_modules/split2/README.md +85 -0
- package/esm/node_modules/split2/bench.js +27 -0
- package/esm/node_modules/split2/index.js +141 -0
- package/esm/node_modules/split2/package.json +39 -0
- package/esm/node_modules/split2/test.js +409 -0
- package/esm/node_modules/text-extensions/index.d.ts +14 -0
- package/esm/node_modules/text-extensions/index.js +3 -0
- package/esm/node_modules/text-extensions/license +9 -0
- package/esm/node_modules/text-extensions/package.json +40 -0
- package/esm/node_modules/text-extensions/readme.md +37 -0
- package/esm/node_modules/text-extensions/text-extensions.json +328 -0
- package/esm/node_modules/text-extensions/text-extensions.json.d.ts +3 -0
- package/esm/node_modules/through/.travis.yml +5 -0
- package/esm/node_modules/through/LICENSE.APACHE2 +15 -0
- package/esm/node_modules/through/LICENSE.MIT +24 -0
- package/esm/node_modules/through/index.js +108 -0
- package/esm/node_modules/through/package.json +36 -0
- package/esm/node_modules/through/readme.markdown +64 -0
- package/esm/node_modules/through/test/async.js +28 -0
- package/esm/node_modules/through/test/auto-destroy.js +30 -0
- package/esm/node_modules/through/test/buffering.js +71 -0
- package/esm/node_modules/through/test/end.js +45 -0
- package/esm/node_modules/through/test/index.js +133 -0
- package/esm/node_modules/type-fest/index.d.ts +178 -0
- package/esm/node_modules/type-fest/license-cc0 +121 -0
- package/esm/node_modules/type-fest/license-mit +9 -0
- package/esm/node_modules/type-fest/package.json +91 -0
- package/esm/node_modules/type-fest/readme.md +1060 -0
- package/esm/node_modules/type-fest/source/all-union-fields.d.ts +88 -0
- package/esm/node_modules/type-fest/source/and.d.ts +25 -0
- package/esm/node_modules/type-fest/source/array-indices.d.ts +23 -0
- package/esm/node_modules/type-fest/source/array-slice.d.ts +109 -0
- package/esm/node_modules/type-fest/source/array-splice.d.ts +99 -0
- package/esm/node_modules/type-fest/source/array-tail.d.ts +76 -0
- package/esm/node_modules/type-fest/source/array-values.d.ts +22 -0
- package/esm/node_modules/type-fest/source/arrayable.d.ts +29 -0
- package/esm/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- package/esm/node_modules/type-fest/source/asyncify.d.ts +32 -0
- package/esm/node_modules/type-fest/source/basic.d.ts +68 -0
- package/esm/node_modules/type-fest/source/camel-case.d.ts +89 -0
- package/esm/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +97 -0
- package/esm/node_modules/type-fest/source/camel-cased-properties.d.ts +43 -0
- package/esm/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- package/esm/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- package/esm/node_modules/type-fest/source/conditional-pick-deep.d.ts +118 -0
- package/esm/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- package/esm/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- package/esm/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
- package/esm/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +106 -0
- package/esm/node_modules/type-fest/source/delimiter-cased-properties.d.ts +46 -0
- package/esm/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
- package/esm/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
- package/esm/node_modules/type-fest/source/empty-object.d.ts +46 -0
- package/esm/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- package/esm/node_modules/type-fest/source/entries.d.ts +62 -0
- package/esm/node_modules/type-fest/source/entry.d.ts +65 -0
- package/esm/node_modules/type-fest/source/exact.d.ts +68 -0
- package/esm/node_modules/type-fest/source/except.d.ts +108 -0
- package/esm/node_modules/type-fest/source/find-global-type.d.ts +64 -0
- package/esm/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- package/esm/node_modules/type-fest/source/get.d.ts +219 -0
- package/esm/node_modules/type-fest/source/global-this.d.ts +21 -0
- package/esm/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
- package/esm/node_modules/type-fest/source/greater-than.d.ts +56 -0
- package/esm/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- package/esm/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- package/esm/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- package/esm/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- package/esm/node_modules/type-fest/source/if-any.d.ts +24 -0
- package/esm/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
- package/esm/node_modules/type-fest/source/if-never.d.ts +24 -0
- package/esm/node_modules/type-fest/source/if-null.d.ts +24 -0
- package/esm/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- package/esm/node_modules/type-fest/source/includes.d.ts +22 -0
- package/esm/node_modules/type-fest/source/int-closed-range.d.ts +35 -0
- package/esm/node_modules/type-fest/source/int-range.d.ts +55 -0
- package/esm/node_modules/type-fest/source/internal/array.d.ts +126 -0
- package/esm/node_modules/type-fest/source/internal/characters.d.ts +67 -0
- package/esm/node_modules/type-fest/source/internal/index.d.ts +8 -0
- package/esm/node_modules/type-fest/source/internal/keys.d.ts +97 -0
- package/esm/node_modules/type-fest/source/internal/numeric.d.ts +118 -0
- package/esm/node_modules/type-fest/source/internal/object.d.ts +236 -0
- package/esm/node_modules/type-fest/source/internal/string.d.ts +210 -0
- package/esm/node_modules/type-fest/source/internal/tuple.d.ts +90 -0
- package/esm/node_modules/type-fest/source/internal/type.d.ts +139 -0
- package/esm/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- package/esm/node_modules/type-fest/source/is-any.d.ts +33 -0
- package/esm/node_modules/type-fest/source/is-equal.d.ts +31 -0
- package/esm/node_modules/type-fest/source/is-float.d.ts +41 -0
- package/esm/node_modules/type-fest/source/is-integer.d.ts +58 -0
- package/esm/node_modules/type-fest/source/is-literal.d.ts +296 -0
- package/esm/node_modules/type-fest/source/is-never.d.ts +42 -0
- package/esm/node_modules/type-fest/source/is-null.d.ts +20 -0
- package/esm/node_modules/type-fest/source/is-tuple.d.ts +89 -0
- package/esm/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- package/esm/node_modules/type-fest/source/iterable-element.d.ts +64 -0
- package/esm/node_modules/type-fest/source/join.d.ts +68 -0
- package/esm/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/esm/node_modules/type-fest/source/jsonify.d.ts +122 -0
- package/esm/node_modules/type-fest/source/kebab-case.d.ts +44 -0
- package/esm/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +63 -0
- package/esm/node_modules/type-fest/source/kebab-cased-properties.d.ts +40 -0
- package/esm/node_modules/type-fest/source/keys-of-union.d.ts +42 -0
- package/esm/node_modules/type-fest/source/last-array-element.d.ts +38 -0
- package/esm/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
- package/esm/node_modules/type-fest/source/less-than.d.ts +26 -0
- package/esm/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- package/esm/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- package/esm/node_modules/type-fest/source/literal-union.d.ts +37 -0
- package/esm/node_modules/type-fest/source/merge-deep.d.ts +486 -0
- package/esm/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- package/esm/node_modules/type-fest/source/merge.d.ts +48 -0
- package/esm/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- package/esm/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- package/esm/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
- package/esm/node_modules/type-fest/source/non-empty-string.d.ts +28 -0
- package/esm/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
- package/esm/node_modules/type-fest/source/numeric.d.ts +222 -0
- package/esm/node_modules/type-fest/source/observable-like.d.ts +63 -0
- package/esm/node_modules/type-fest/source/omit-deep.d.ts +167 -0
- package/esm/node_modules/type-fest/source/omit-index-signature.d.ts +95 -0
- package/esm/node_modules/type-fest/source/opaque.d.ts +1 -0
- package/esm/node_modules/type-fest/source/optional-keys-of.d.ts +39 -0
- package/esm/node_modules/type-fest/source/or.d.ts +25 -0
- package/esm/node_modules/type-fest/source/override-properties.d.ts +36 -0
- package/esm/node_modules/type-fest/source/package-json.d.ts +676 -0
- package/esm/node_modules/type-fest/source/partial-deep.d.ts +151 -0
- package/esm/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +78 -0
- package/esm/node_modules/type-fest/source/pascal-case.d.ts +42 -0
- package/esm/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +62 -0
- package/esm/node_modules/type-fest/source/pascal-cased-properties.d.ts +36 -0
- package/esm/node_modules/type-fest/source/paths.d.ts +262 -0
- package/esm/node_modules/type-fest/source/pick-deep.d.ts +149 -0
- package/esm/node_modules/type-fest/source/pick-index-signature.d.ts +50 -0
- package/esm/node_modules/type-fest/source/primitive.d.ts +13 -0
- package/esm/node_modules/type-fest/source/promisable.d.ts +25 -0
- package/esm/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
- package/esm/node_modules/type-fest/source/readonly-keys-of.d.ts +30 -0
- package/esm/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- package/esm/node_modules/type-fest/source/replace.d.ts +85 -0
- package/esm/node_modules/type-fest/source/require-all-or-none.d.ts +51 -0
- package/esm/node_modules/type-fest/source/require-at-least-one.d.ts +47 -0
- package/esm/node_modules/type-fest/source/require-exactly-one.d.ts +45 -0
- package/esm/node_modules/type-fest/source/require-one-or-none.d.ts +46 -0
- package/esm/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/esm/node_modules/type-fest/source/required-keys-of.d.ts +30 -0
- package/esm/node_modules/type-fest/source/schema.d.ts +114 -0
- package/esm/node_modules/type-fest/source/screaming-snake-case.d.ts +28 -0
- package/esm/node_modules/type-fest/source/set-field-type.d.ts +65 -0
- package/esm/node_modules/type-fest/source/set-non-nullable-deep.d.ts +83 -0
- package/esm/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- package/esm/node_modules/type-fest/source/set-optional.d.ts +38 -0
- package/esm/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
- package/esm/node_modules/type-fest/source/set-readonly.d.ts +39 -0
- package/esm/node_modules/type-fest/source/set-required-deep.d.ts +68 -0
- package/esm/node_modules/type-fest/source/set-required.d.ts +70 -0
- package/esm/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- package/esm/node_modules/type-fest/source/shared-union-fields-deep.d.ts +178 -0
- package/esm/node_modules/type-fest/source/shared-union-fields.d.ts +76 -0
- package/esm/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
- package/esm/node_modules/type-fest/source/simplify.d.ts +58 -0
- package/esm/node_modules/type-fest/source/single-key-object.d.ts +29 -0
- package/esm/node_modules/type-fest/source/snake-case.d.ts +45 -0
- package/esm/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +63 -0
- package/esm/node_modules/type-fest/source/snake-cased-properties.d.ts +40 -0
- package/esm/node_modules/type-fest/source/split.d.ts +88 -0
- package/esm/node_modules/type-fest/source/spread.d.ts +84 -0
- package/esm/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- package/esm/node_modules/type-fest/source/string-repeat.d.ts +47 -0
- package/esm/node_modules/type-fest/source/string-slice.d.ts +37 -0
- package/esm/node_modules/type-fest/source/stringified.d.ts +23 -0
- package/esm/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
- package/esm/node_modules/type-fest/source/subtract.d.ts +83 -0
- package/esm/node_modules/type-fest/source/sum.d.ts +78 -0
- package/esm/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- package/esm/node_modules/type-fest/source/tagged.d.ts +256 -0
- package/esm/node_modules/type-fest/source/trim.d.ts +27 -0
- package/esm/node_modules/type-fest/source/tsconfig-json.d.ts +1294 -0
- package/esm/node_modules/type-fest/source/tuple-to-object.d.ts +42 -0
- package/esm/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- package/esm/node_modules/type-fest/source/typed-array.d.ts +17 -0
- package/esm/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
- package/esm/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
- package/esm/node_modules/type-fest/source/union-to-tuple.d.ts +56 -0
- package/esm/node_modules/type-fest/source/unknown-array.d.ts +25 -0
- package/esm/node_modules/type-fest/source/unknown-map.d.ts +24 -0
- package/esm/node_modules/type-fest/source/unknown-record.d.ts +31 -0
- package/esm/node_modules/type-fest/source/unknown-set.d.ts +24 -0
- package/esm/node_modules/type-fest/source/value-of.d.ts +42 -0
- package/esm/node_modules/type-fest/source/words.d.ts +118 -0
- package/esm/node_modules/type-fest/source/writable-deep.d.ts +83 -0
- package/esm/node_modules/type-fest/source/writable-keys-of.d.ts +33 -0
- package/esm/node_modules/type-fest/source/writable.d.ts +68 -0
- package/esm/node_modules/uglify-js/LICENSE +29 -0
- package/esm/node_modules/uglify-js/README.md +1479 -0
- package/esm/node_modules/uglify-js/bin/uglifyjs +624 -0
- package/esm/node_modules/uglify-js/lib/ast.js +2357 -0
- package/esm/node_modules/uglify-js/lib/compress.js +14650 -0
- package/esm/node_modules/uglify-js/lib/minify.js +278 -0
- package/esm/node_modules/uglify-js/lib/mozilla-ast.js +1338 -0
- package/esm/node_modules/uglify-js/lib/output.js +1983 -0
- package/esm/node_modules/uglify-js/lib/parse.js +2589 -0
- package/esm/node_modules/uglify-js/lib/propmangle.js +328 -0
- package/esm/node_modules/uglify-js/lib/scope.js +883 -0
- package/esm/node_modules/uglify-js/lib/sourcemap.js +195 -0
- package/esm/node_modules/uglify-js/lib/transform.js +250 -0
- package/esm/node_modules/uglify-js/lib/utils.js +300 -0
- package/esm/node_modules/uglify-js/package.json +56 -0
- package/esm/node_modules/uglify-js/tools/domprops.html +456 -0
- package/esm/node_modules/uglify-js/tools/domprops.json +8327 -0
- package/esm/node_modules/uglify-js/tools/exports.js +8 -0
- package/esm/node_modules/uglify-js/tools/node.js +115 -0
- package/esm/node_modules/uglify-js/tools/tty.js +22 -0
- package/esm/node_modules/undici/LICENSE +21 -0
- package/esm/node_modules/undici/README.md +741 -0
- package/esm/node_modules/undici/docs/docs/api/Agent.md +84 -0
- package/esm/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
- package/esm/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
- package/esm/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
- package/esm/node_modules/undici/docs/docs/api/Client.md +288 -0
- package/esm/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
- package/esm/node_modules/undici/docs/docs/api/Connector.md +115 -0
- package/esm/node_modules/undici/docs/docs/api/ContentType.md +57 -0
- package/esm/node_modules/undici/docs/docs/api/Cookies.md +128 -0
- package/esm/node_modules/undici/docs/docs/api/Debug.md +62 -0
- package/esm/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +315 -0
- package/esm/node_modules/undici/docs/docs/api/Dispatcher.md +1392 -0
- package/esm/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
- package/esm/node_modules/undici/docs/docs/api/Errors.md +49 -0
- package/esm/node_modules/undici/docs/docs/api/EventSource.md +45 -0
- package/esm/node_modules/undici/docs/docs/api/Fetch.md +60 -0
- package/esm/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
- package/esm/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
- package/esm/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
- package/esm/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
- package/esm/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
- package/esm/node_modules/undici/docs/docs/api/MockClient.md +81 -0
- package/esm/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
- package/esm/node_modules/undici/docs/docs/api/MockPool.md +555 -0
- package/esm/node_modules/undici/docs/docs/api/Pool.md +84 -0
- package/esm/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
- package/esm/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
- package/esm/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
- package/esm/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
- package/esm/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
- package/esm/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
- package/esm/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
- package/esm/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
- package/esm/node_modules/undici/docs/docs/api/Util.md +25 -0
- package/esm/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
- package/esm/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
- package/esm/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
- package/esm/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
- package/esm/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
- package/esm/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
- package/esm/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
- package/esm/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
- package/esm/node_modules/undici/index-fetch.js +65 -0
- package/esm/node_modules/undici/index.d.ts +3 -0
- package/esm/node_modules/undici/index.js +234 -0
- package/esm/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/esm/node_modules/undici/lib/api/api-connect.js +110 -0
- package/esm/node_modules/undici/lib/api/api-pipeline.js +252 -0
- package/esm/node_modules/undici/lib/api/api-request.js +214 -0
- package/esm/node_modules/undici/lib/api/api-stream.js +209 -0
- package/esm/node_modules/undici/lib/api/api-upgrade.js +111 -0
- package/esm/node_modules/undici/lib/api/index.js +7 -0
- package/esm/node_modules/undici/lib/api/readable.js +580 -0
- package/esm/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
- package/esm/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
- package/esm/node_modules/undici/lib/core/connect.js +153 -0
- package/esm/node_modules/undici/lib/core/constants.js +143 -0
- package/esm/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/esm/node_modules/undici/lib/core/errors.js +477 -0
- package/esm/node_modules/undici/lib/core/request.js +464 -0
- package/esm/node_modules/undici/lib/core/socks5-client.js +422 -0
- package/esm/node_modules/undici/lib/core/socks5-utils.js +212 -0
- package/esm/node_modules/undici/lib/core/symbols.js +75 -0
- package/esm/node_modules/undici/lib/core/tree.js +160 -0
- package/esm/node_modules/undici/lib/core/util.js +992 -0
- package/esm/node_modules/undici/lib/dispatcher/agent.js +158 -0
- package/esm/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
- package/esm/node_modules/undici/lib/dispatcher/client-h1.js +1731 -0
- package/esm/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
- package/esm/node_modules/undici/lib/dispatcher/client.js +664 -0
- package/esm/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
- package/esm/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
- package/esm/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/esm/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/esm/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/esm/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
- package/esm/node_modules/undici/lib/dispatcher/pool.js +118 -0
- package/esm/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
- package/esm/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/esm/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
- package/esm/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
- package/esm/node_modules/undici/lib/encoding/index.js +33 -0
- package/esm/node_modules/undici/lib/global.js +59 -0
- package/esm/node_modules/undici/lib/handler/cache-handler.js +760 -0
- package/esm/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/esm/node_modules/undici/lib/handler/decorator-handler.js +67 -0
- package/esm/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/esm/node_modules/undici/lib/handler/redirect-handler.js +238 -0
- package/esm/node_modules/undici/lib/handler/retry-handler.js +418 -0
- package/esm/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
- package/esm/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/esm/node_modules/undici/lib/interceptor/cache.js +602 -0
- package/esm/node_modules/undici/lib/interceptor/decompress.js +259 -0
- package/esm/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/esm/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/esm/node_modules/undici/lib/interceptor/dump.js +112 -0
- package/esm/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/esm/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/esm/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/esm/node_modules/undici/lib/llhttp/.gitkeep +0 -0
- package/esm/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
- package/esm/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/esm/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/esm/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/esm/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
- package/esm/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/esm/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/esm/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/esm/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/esm/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/esm/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/esm/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/esm/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/esm/node_modules/undici/lib/mock/mock-utils.js +486 -0
- package/esm/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/esm/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
- package/esm/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
- package/esm/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/esm/node_modules/undici/lib/util/cache.js +676 -0
- package/esm/node_modules/undici/lib/util/date.js +670 -0
- package/esm/node_modules/undici/lib/util/promise.js +28 -0
- package/esm/node_modules/undici/lib/util/runtime-features.js +124 -0
- package/esm/node_modules/undici/lib/util/stats.js +32 -0
- package/esm/node_modules/undici/lib/util/timers.js +425 -0
- package/esm/node_modules/undici/lib/web/cache/cache.js +864 -0
- package/esm/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/esm/node_modules/undici/lib/web/cache/util.js +45 -0
- package/esm/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/esm/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/esm/node_modules/undici/lib/web/cookies/parse.js +314 -0
- package/esm/node_modules/undici/lib/web/cookies/util.js +352 -0
- package/esm/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
- package/esm/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/esm/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/esm/node_modules/undici/lib/web/fetch/LICENSE +21 -0
- package/esm/node_modules/undici/lib/web/fetch/body.js +509 -0
- package/esm/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/esm/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/esm/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
- package/esm/node_modules/undici/lib/web/fetch/formdata.js +259 -0
- package/esm/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/esm/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/esm/node_modules/undici/lib/web/fetch/index.js +2413 -0
- package/esm/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/esm/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/esm/node_modules/undici/lib/web/fetch/util.js +1522 -0
- package/esm/node_modules/undici/lib/web/infra/index.js +229 -0
- package/esm/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
- package/esm/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/esm/node_modules/undici/lib/web/webidl/index.js +1006 -0
- package/esm/node_modules/undici/lib/web/websocket/connection.js +329 -0
- package/esm/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/esm/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/esm/node_modules/undici/lib/web/websocket/frame.js +133 -0
- package/esm/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
- package/esm/node_modules/undici/lib/web/websocket/receiver.js +507 -0
- package/esm/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/esm/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/esm/node_modules/undici/lib/web/websocket/stream/websocketstream.js +498 -0
- package/esm/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/esm/node_modules/undici/lib/web/websocket/websocket.js +758 -0
- package/esm/node_modules/undici/package.json +152 -0
- package/esm/node_modules/undici/scripts/strip-comments.js +10 -0
- package/esm/node_modules/undici/types/README.md +6 -0
- package/esm/node_modules/undici/types/agent.d.ts +32 -0
- package/esm/node_modules/undici/types/api.d.ts +43 -0
- package/esm/node_modules/undici/types/balanced-pool.d.ts +30 -0
- package/esm/node_modules/undici/types/cache-interceptor.d.ts +179 -0
- package/esm/node_modules/undici/types/cache.d.ts +36 -0
- package/esm/node_modules/undici/types/client-stats.d.ts +15 -0
- package/esm/node_modules/undici/types/client.d.ts +139 -0
- package/esm/node_modules/undici/types/connector.d.ts +36 -0
- package/esm/node_modules/undici/types/content-type.d.ts +21 -0
- package/esm/node_modules/undici/types/cookies.d.ts +30 -0
- package/esm/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
- package/esm/node_modules/undici/types/dispatcher.d.ts +275 -0
- package/esm/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
- package/esm/node_modules/undici/types/errors.d.ts +177 -0
- package/esm/node_modules/undici/types/eventsource.d.ts +66 -0
- package/esm/node_modules/undici/types/fetch.d.ts +231 -0
- package/esm/node_modules/undici/types/formdata.d.ts +114 -0
- package/esm/node_modules/undici/types/global-dispatcher.d.ts +9 -0
- package/esm/node_modules/undici/types/global-origin.d.ts +7 -0
- package/esm/node_modules/undici/types/h2c-client.d.ts +73 -0
- package/esm/node_modules/undici/types/handlers.d.ts +14 -0
- package/esm/node_modules/undici/types/header.d.ts +160 -0
- package/esm/node_modules/undici/types/index.d.ts +91 -0
- package/esm/node_modules/undici/types/interceptors.d.ts +80 -0
- package/esm/node_modules/undici/types/mock-agent.d.ts +68 -0
- package/esm/node_modules/undici/types/mock-call-history.d.ts +111 -0
- package/esm/node_modules/undici/types/mock-client.d.ts +27 -0
- package/esm/node_modules/undici/types/mock-errors.d.ts +12 -0
- package/esm/node_modules/undici/types/mock-interceptor.d.ts +94 -0
- package/esm/node_modules/undici/types/mock-pool.d.ts +27 -0
- package/esm/node_modules/undici/types/patch.d.ts +29 -0
- package/esm/node_modules/undici/types/pool-stats.d.ts +19 -0
- package/esm/node_modules/undici/types/pool.d.ts +41 -0
- package/esm/node_modules/undici/types/proxy-agent.d.ts +29 -0
- package/esm/node_modules/undici/types/readable.d.ts +68 -0
- package/esm/node_modules/undici/types/retry-agent.d.ts +8 -0
- package/esm/node_modules/undici/types/retry-handler.d.ts +125 -0
- package/esm/node_modules/undici/types/round-robin-pool.d.ts +41 -0
- package/esm/node_modules/undici/types/snapshot-agent.d.ts +109 -0
- package/esm/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
- package/esm/node_modules/undici/types/util.d.ts +18 -0
- package/esm/node_modules/undici/types/utility.d.ts +7 -0
- package/esm/node_modules/undici/types/webidl.d.ts +347 -0
- package/esm/node_modules/undici/types/websocket.d.ts +188 -0
- package/esm/node_modules/validate-npm-package-license/LICENSE +202 -0
- package/esm/node_modules/validate-npm-package-license/README.md +113 -0
- package/esm/node_modules/validate-npm-package-license/index.js +86 -0
- package/esm/node_modules/validate-npm-package-license/package.json +28 -0
- package/esm/node_modules/whatwg-encoding/LICENSE.txt +7 -0
- package/esm/node_modules/whatwg-encoding/README.md +50 -0
- package/esm/node_modules/whatwg-encoding/lib/labels-to-names.json +217 -0
- package/esm/node_modules/whatwg-encoding/lib/supported-names.json +38 -0
- package/esm/node_modules/whatwg-encoding/lib/whatwg-encoding.js +60 -0
- package/esm/node_modules/whatwg-encoding/package.json +32 -0
- package/esm/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
- package/esm/node_modules/whatwg-mimetype/README.md +101 -0
- package/esm/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
- package/esm/node_modules/whatwg-mimetype/lib/mime-type.js +127 -0
- package/esm/node_modules/whatwg-mimetype/lib/parser.js +105 -0
- package/esm/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
- package/esm/node_modules/whatwg-mimetype/lib/utils.js +60 -0
- package/esm/node_modules/whatwg-mimetype/package.json +45 -0
- package/esm/node_modules/wordwrap/LICENSE +18 -0
- package/esm/node_modules/wordwrap/README.markdown +70 -0
- package/esm/node_modules/wordwrap/example/center.js +10 -0
- package/esm/node_modules/wordwrap/example/meat.js +3 -0
- package/esm/node_modules/wordwrap/index.js +76 -0
- package/esm/node_modules/wordwrap/package.json +34 -0
- package/esm/node_modules/wordwrap/test/break.js +32 -0
- package/esm/node_modules/wordwrap/test/idleness.txt +63 -0
- package/esm/node_modules/wordwrap/test/wrap.js +33 -0
- package/esm/node_modules/yaml/LICENSE +13 -0
- package/esm/node_modules/yaml/README.md +172 -0
- package/esm/node_modules/yaml/bin.mjs +11 -0
- package/esm/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/esm/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/esm/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/esm/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/esm/node_modules/yaml/browser/dist/compose/composer.js +217 -0
- package/esm/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/esm/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/esm/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/esm/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/esm/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/esm/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
- package/esm/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/esm/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/esm/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/esm/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/esm/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/esm/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/esm/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/esm/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/esm/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/esm/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/esm/node_modules/yaml/browser/dist/errors.js +57 -0
- package/esm/node_modules/yaml/browser/dist/index.js +17 -0
- package/esm/node_modules/yaml/browser/dist/log.js +11 -0
- package/esm/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
- package/esm/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/esm/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/esm/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/esm/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/esm/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/esm/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/esm/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/esm/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/esm/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/esm/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/esm/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/esm/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/esm/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/esm/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
- package/esm/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/esm/node_modules/yaml/browser/dist/parse/parser.js +967 -0
- package/esm/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/esm/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/esm/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/esm/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/esm/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/esm/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/esm/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/esm/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/esm/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/esm/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/esm/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/esm/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/esm/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/esm/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/esm/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/esm/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/esm/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/esm/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/esm/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
- package/esm/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/esm/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/esm/node_modules/yaml/browser/dist/util.js +11 -0
- package/esm/node_modules/yaml/browser/dist/visit.js +233 -0
- package/esm/node_modules/yaml/browser/index.js +5 -0
- package/esm/node_modules/yaml/browser/package.json +3 -0
- package/esm/node_modules/yaml/dist/cli.d.ts +8 -0
- package/esm/node_modules/yaml/dist/cli.mjs +201 -0
- package/esm/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/esm/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/esm/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/esm/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/esm/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/esm/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/esm/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/esm/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/esm/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/esm/node_modules/yaml/dist/compose/composer.js +222 -0
- package/esm/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/esm/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/esm/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/esm/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/esm/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/esm/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/esm/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/esm/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/esm/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/esm/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/esm/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/esm/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/esm/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/esm/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/esm/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/esm/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/esm/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/esm/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/esm/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/esm/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/esm/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/esm/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/esm/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/esm/node_modules/yaml/dist/doc/Document.js +337 -0
- package/esm/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/esm/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/esm/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/esm/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/esm/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/esm/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/esm/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/esm/node_modules/yaml/dist/doc/directives.js +178 -0
- package/esm/node_modules/yaml/dist/errors.d.ts +21 -0
- package/esm/node_modules/yaml/dist/errors.js +62 -0
- package/esm/node_modules/yaml/dist/index.d.ts +25 -0
- package/esm/node_modules/yaml/dist/index.js +50 -0
- package/esm/node_modules/yaml/dist/log.d.ts +3 -0
- package/esm/node_modules/yaml/dist/log.js +19 -0
- package/esm/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/esm/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/esm/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/esm/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/esm/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/esm/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/esm/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/esm/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/esm/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
- package/esm/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/esm/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/esm/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/esm/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/esm/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/esm/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/esm/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/esm/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/esm/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/esm/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/esm/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/esm/node_modules/yaml/dist/options.d.ts +350 -0
- package/esm/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/esm/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/esm/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/esm/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/esm/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/esm/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/esm/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/esm/node_modules/yaml/dist/parse/cst.js +112 -0
- package/esm/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/esm/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/esm/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/esm/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/esm/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/esm/node_modules/yaml/dist/parse/parser.js +972 -0
- package/esm/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/esm/node_modules/yaml/dist/public-api.js +107 -0
- package/esm/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/esm/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/esm/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/esm/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/esm/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/esm/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/esm/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/esm/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/esm/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/esm/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/esm/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/esm/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/esm/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/esm/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/esm/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/esm/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/esm/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/esm/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/esm/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/esm/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/esm/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/esm/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/esm/node_modules/yaml/dist/schema/tags.js +99 -0
- package/esm/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/esm/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/esm/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/esm/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/esm/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/esm/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/esm/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/esm/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/esm/node_modules/yaml/dist/test-events.js +134 -0
- package/esm/node_modules/yaml/dist/util.d.ts +16 -0
- package/esm/node_modules/yaml/dist/util.js +28 -0
- package/esm/node_modules/yaml/dist/visit.d.ts +102 -0
- package/esm/node_modules/yaml/dist/visit.js +236 -0
- package/esm/node_modules/yaml/package.json +97 -0
- package/esm/node_modules/yaml/util.js +2 -0
- package/esm/node_modules/yocto-queue/index.d.ts +75 -0
- package/esm/node_modules/yocto-queue/index.js +90 -0
- package/esm/node_modules/yocto-queue/license +9 -0
- package/esm/node_modules/yocto-queue/package.json +48 -0
- package/esm/node_modules/yocto-queue/readme.md +80 -0
- package/esm/node_modules/zod/LICENSE +21 -0
- package/esm/node_modules/zod/README.md +208 -0
- package/esm/node_modules/zod/index.cjs +33 -0
- package/esm/node_modules/zod/index.d.cts +4 -0
- package/esm/node_modules/zod/index.d.ts +4 -0
- package/esm/node_modules/zod/index.js +4 -0
- package/esm/node_modules/zod/locales/index.cjs +17 -0
- package/esm/node_modules/zod/locales/index.d.cts +1 -0
- package/esm/node_modules/zod/locales/index.d.ts +1 -0
- package/esm/node_modules/zod/locales/index.js +1 -0
- package/esm/node_modules/zod/locales/package.json +6 -0
- package/esm/node_modules/zod/mini/index.cjs +32 -0
- package/esm/node_modules/zod/mini/index.d.cts +3 -0
- package/esm/node_modules/zod/mini/index.d.ts +3 -0
- package/esm/node_modules/zod/mini/index.js +3 -0
- package/esm/node_modules/zod/mini/package.json +6 -0
- package/esm/node_modules/zod/package.json +135 -0
- package/esm/node_modules/zod/src/index.ts +4 -0
- package/esm/node_modules/zod/src/locales/index.ts +1 -0
- package/esm/node_modules/zod/src/mini/index.ts +3 -0
- package/esm/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/esm/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/esm/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/esm/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/esm/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/esm/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/esm/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/esm/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/esm/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/esm/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/esm/node_modules/zod/src/v3/errors.ts +13 -0
- package/esm/node_modules/zod/src/v3/external.ts +6 -0
- package/esm/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/esm/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/esm/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/esm/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/esm/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/esm/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/esm/node_modules/zod/src/v3/index.ts +4 -0
- package/esm/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/esm/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/esm/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/esm/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/esm/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/esm/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/esm/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/esm/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/esm/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/esm/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/esm/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/esm/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/esm/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/esm/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/esm/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/esm/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/esm/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/esm/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/esm/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/esm/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/esm/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/esm/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/esm/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/esm/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/esm/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/esm/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/esm/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/esm/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/esm/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/esm/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/esm/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/esm/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/esm/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/esm/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/esm/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/esm/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/esm/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/esm/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/esm/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/esm/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/esm/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/esm/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/esm/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/esm/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/esm/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/esm/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/esm/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/esm/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/esm/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/esm/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/esm/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/esm/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/esm/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/esm/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/esm/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/esm/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/esm/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/esm/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/esm/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/esm/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/esm/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/esm/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/esm/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/esm/node_modules/zod/src/v3/types.ts +5138 -0
- package/esm/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/esm/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/esm/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/esm/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/esm/node_modules/zod/src/v4/classic/external.ts +51 -0
- package/esm/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
- package/esm/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/esm/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/esm/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/esm/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
- package/esm/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/esm/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/esm/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/esm/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/esm/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/esm/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/esm/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/esm/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/esm/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/esm/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
- package/esm/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/esm/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/esm/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
- package/esm/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/esm/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/esm/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/esm/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/esm/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/esm/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
- package/esm/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/esm/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/esm/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
- package/esm/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/esm/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
- package/esm/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/esm/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/esm/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/esm/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/esm/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
- package/esm/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/esm/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/esm/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/esm/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/esm/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/esm/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/esm/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/esm/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/esm/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/esm/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/esm/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/esm/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/esm/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/esm/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/esm/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
- package/esm/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
- package/esm/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
- package/esm/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
- package/esm/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/esm/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/esm/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/esm/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
- package/esm/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/esm/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/esm/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/esm/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/esm/node_modules/zod/src/v4/classic/tests/record.test.ts +632 -0
- package/esm/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
- package/esm/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
- package/esm/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/esm/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/esm/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/esm/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/esm/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
- package/esm/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/esm/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/esm/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/esm/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2990 -0
- package/esm/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
- package/esm/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
- package/esm/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
- package/esm/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/esm/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/esm/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/esm/node_modules/zod/src/v4/core/api.ts +1798 -0
- package/esm/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/esm/node_modules/zod/src/v4/core/config.ts +15 -0
- package/esm/node_modules/zod/src/v4/core/core.ts +138 -0
- package/esm/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/esm/node_modules/zod/src/v4/core/errors.ts +448 -0
- package/esm/node_modules/zod/src/v4/core/index.ts +16 -0
- package/esm/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/esm/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
- package/esm/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/esm/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/esm/node_modules/zod/src/v4/core/regexes.ts +183 -0
- package/esm/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/esm/node_modules/zod/src/v4/core/schemas.ts +4538 -0
- package/esm/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/esm/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/esm/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/esm/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
- package/esm/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
- package/esm/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/esm/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
- package/esm/node_modules/zod/src/v4/core/util.ts +966 -0
- package/esm/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/esm/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/esm/node_modules/zod/src/v4/index.ts +4 -0
- package/esm/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/esm/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/esm/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/esm/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/esm/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/esm/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/esm/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/en.ts +119 -0
- package/esm/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/esm/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/esm/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/esm/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/esm/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/fr.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/esm/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/esm/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/esm/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/esm/node_modules/zod/src/v4/locales/index.ts +49 -0
- package/esm/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/esm/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/esm/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/esm/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/esm/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/esm/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/esm/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/esm/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/esm/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/esm/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/esm/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/esm/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/esm/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/esm/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/esm/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/esm/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/esm/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/esm/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/esm/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/esm/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/esm/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/esm/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/esm/node_modules/zod/src/v4/locales/uz.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/esm/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/esm/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/esm/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/esm/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/esm/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/esm/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/esm/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/esm/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/esm/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/esm/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
- package/esm/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/esm/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/esm/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/esm/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/esm/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
- package/esm/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/esm/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/esm/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/esm/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
- package/esm/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/esm/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/esm/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/esm/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/esm/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/esm/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
- package/esm/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/esm/node_modules/zod/v3/ZodError.cjs +138 -0
- package/esm/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/esm/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/esm/node_modules/zod/v3/ZodError.js +133 -0
- package/esm/node_modules/zod/v3/errors.cjs +17 -0
- package/esm/node_modules/zod/v3/errors.d.cts +5 -0
- package/esm/node_modules/zod/v3/errors.d.ts +5 -0
- package/esm/node_modules/zod/v3/errors.js +9 -0
- package/esm/node_modules/zod/v3/external.cjs +22 -0
- package/esm/node_modules/zod/v3/external.d.cts +6 -0
- package/esm/node_modules/zod/v3/external.d.ts +6 -0
- package/esm/node_modules/zod/v3/external.js +6 -0
- package/esm/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/esm/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/esm/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/esm/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/esm/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/esm/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/esm/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/esm/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/esm/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/esm/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/esm/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/esm/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/esm/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/esm/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/esm/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/esm/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/esm/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/esm/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/esm/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/esm/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/esm/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/esm/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/esm/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/esm/node_modules/zod/v3/helpers/util.js +133 -0
- package/esm/node_modules/zod/v3/index.cjs +33 -0
- package/esm/node_modules/zod/v3/index.d.cts +4 -0
- package/esm/node_modules/zod/v3/index.d.ts +4 -0
- package/esm/node_modules/zod/v3/index.js +4 -0
- package/esm/node_modules/zod/v3/locales/en.cjs +112 -0
- package/esm/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/esm/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/esm/node_modules/zod/v3/locales/en.js +109 -0
- package/esm/node_modules/zod/v3/package.json +6 -0
- package/esm/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/esm/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/esm/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/esm/node_modules/zod/v3/standard-schema.js +1 -0
- package/esm/node_modules/zod/v3/types.cjs +3777 -0
- package/esm/node_modules/zod/v3/types.d.cts +1034 -0
- package/esm/node_modules/zod/v3/types.d.ts +1034 -0
- package/esm/node_modules/zod/v3/types.js +3695 -0
- package/esm/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/esm/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/esm/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/esm/node_modules/zod/v4/classic/checks.js +1 -0
- package/esm/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/esm/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/esm/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/esm/node_modules/zod/v4/classic/coerce.js +17 -0
- package/esm/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/esm/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/esm/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/esm/node_modules/zod/v4/classic/compat.js +31 -0
- package/esm/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/esm/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/esm/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/esm/node_modules/zod/v4/classic/errors.js +48 -0
- package/esm/node_modules/zod/v4/classic/external.cjs +73 -0
- package/esm/node_modules/zod/v4/classic/external.d.cts +15 -0
- package/esm/node_modules/zod/v4/classic/external.d.ts +15 -0
- package/esm/node_modules/zod/v4/classic/external.js +20 -0
- package/esm/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/esm/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/esm/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/esm/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/esm/node_modules/zod/v4/classic/index.cjs +33 -0
- package/esm/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/esm/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/esm/node_modules/zod/v4/classic/index.js +4 -0
- package/esm/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/esm/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/esm/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/esm/node_modules/zod/v4/classic/iso.js +30 -0
- package/esm/node_modules/zod/v4/classic/package.json +6 -0
- package/esm/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/esm/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/esm/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/esm/node_modules/zod/v4/classic/parse.js +15 -0
- package/esm/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/esm/node_modules/zod/v4/classic/schemas.d.cts +739 -0
- package/esm/node_modules/zod/v4/classic/schemas.d.ts +739 -0
- package/esm/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/esm/node_modules/zod/v4/core/api.cjs +1222 -0
- package/esm/node_modules/zod/v4/core/api.d.cts +304 -0
- package/esm/node_modules/zod/v4/core/api.d.ts +304 -0
- package/esm/node_modules/zod/v4/core/api.js +1082 -0
- package/esm/node_modules/zod/v4/core/checks.cjs +601 -0
- package/esm/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/esm/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/esm/node_modules/zod/v4/core/checks.js +575 -0
- package/esm/node_modules/zod/v4/core/core.cjs +83 -0
- package/esm/node_modules/zod/v4/core/core.d.cts +70 -0
- package/esm/node_modules/zod/v4/core/core.d.ts +70 -0
- package/esm/node_modules/zod/v4/core/core.js +76 -0
- package/esm/node_modules/zod/v4/core/doc.cjs +39 -0
- package/esm/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/esm/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/esm/node_modules/zod/v4/core/doc.js +35 -0
- package/esm/node_modules/zod/v4/core/errors.cjs +213 -0
- package/esm/node_modules/zod/v4/core/errors.d.cts +220 -0
- package/esm/node_modules/zod/v4/core/errors.d.ts +220 -0
- package/esm/node_modules/zod/v4/core/errors.js +182 -0
- package/esm/node_modules/zod/v4/core/index.cjs +47 -0
- package/esm/node_modules/zod/v4/core/index.d.cts +16 -0
- package/esm/node_modules/zod/v4/core/index.d.ts +16 -0
- package/esm/node_modules/zod/v4/core/index.js +16 -0
- package/esm/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/esm/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/esm/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/esm/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/esm/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/esm/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/esm/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/esm/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/esm/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/esm/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/esm/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/esm/node_modules/zod/v4/core/json-schema.js +1 -0
- package/esm/node_modules/zod/v4/core/package.json +6 -0
- package/esm/node_modules/zod/v4/core/parse.cjs +131 -0
- package/esm/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/esm/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/esm/node_modules/zod/v4/core/parse.js +93 -0
- package/esm/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/esm/node_modules/zod/v4/core/regexes.d.cts +79 -0
- package/esm/node_modules/zod/v4/core/regexes.d.ts +79 -0
- package/esm/node_modules/zod/v4/core/regexes.js +133 -0
- package/esm/node_modules/zod/v4/core/registries.cjs +56 -0
- package/esm/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/esm/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/esm/node_modules/zod/v4/core/registries.js +51 -0
- package/esm/node_modules/zod/v4/core/schemas.cjs +2124 -0
- package/esm/node_modules/zod/v4/core/schemas.d.cts +1146 -0
- package/esm/node_modules/zod/v4/core/schemas.d.ts +1146 -0
- package/esm/node_modules/zod/v4/core/schemas.js +2093 -0
- package/esm/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/esm/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/esm/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/esm/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/esm/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/esm/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/esm/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/esm/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/esm/node_modules/zod/v4/core/util.cjs +710 -0
- package/esm/node_modules/zod/v4/core/util.d.cts +199 -0
- package/esm/node_modules/zod/v4/core/util.d.ts +199 -0
- package/esm/node_modules/zod/v4/core/util.js +651 -0
- package/esm/node_modules/zod/v4/core/versions.cjs +8 -0
- package/esm/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/esm/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/esm/node_modules/zod/v4/core/versions.js +5 -0
- package/esm/node_modules/zod/v4/index.cjs +22 -0
- package/esm/node_modules/zod/v4/index.d.cts +3 -0
- package/esm/node_modules/zod/v4/index.d.ts +3 -0
- package/esm/node_modules/zod/v4/index.js +3 -0
- package/esm/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/esm/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ar.js +106 -0
- package/esm/node_modules/zod/v4/locales/az.cjs +132 -0
- package/esm/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/az.js +105 -0
- package/esm/node_modules/zod/v4/locales/be.cjs +183 -0
- package/esm/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/be.js +156 -0
- package/esm/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/esm/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/bg.js +120 -0
- package/esm/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/esm/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ca.js +107 -0
- package/esm/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/esm/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/cs.js +111 -0
- package/esm/node_modules/zod/v4/locales/da.cjs +142 -0
- package/esm/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/da.js +115 -0
- package/esm/node_modules/zod/v4/locales/de.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/de.js +108 -0
- package/esm/node_modules/zod/v4/locales/en.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/en.js +109 -0
- package/esm/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/eo.js +109 -0
- package/esm/node_modules/zod/v4/locales/es.cjs +159 -0
- package/esm/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/es.js +132 -0
- package/esm/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/esm/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/fa.js +114 -0
- package/esm/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/esm/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/fi.js +112 -0
- package/esm/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/esm/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/esm/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/fr.js +108 -0
- package/esm/node_modules/zod/v4/locales/he.cjs +241 -0
- package/esm/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/he.js +214 -0
- package/esm/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/hu.js +108 -0
- package/esm/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/esm/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/hy.js +147 -0
- package/esm/node_modules/zod/v4/locales/id.cjs +133 -0
- package/esm/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/id.js +106 -0
- package/esm/node_modules/zod/v4/locales/index.cjs +104 -0
- package/esm/node_modules/zod/v4/locales/index.d.cts +49 -0
- package/esm/node_modules/zod/v4/locales/index.d.ts +49 -0
- package/esm/node_modules/zod/v4/locales/index.js +49 -0
- package/esm/node_modules/zod/v4/locales/is.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/is.js +109 -0
- package/esm/node_modules/zod/v4/locales/it.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/it.js +108 -0
- package/esm/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/esm/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ja.js +107 -0
- package/esm/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/esm/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ka.js +112 -0
- package/esm/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/esm/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/esm/node_modules/zod/v4/locales/kh.js +5 -0
- package/esm/node_modules/zod/v4/locales/km.cjs +137 -0
- package/esm/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/km.js +110 -0
- package/esm/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/esm/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ko.js +111 -0
- package/esm/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/esm/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/lt.js +203 -0
- package/esm/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/mk.js +109 -0
- package/esm/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/esm/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ms.js +107 -0
- package/esm/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/esm/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/nl.js +110 -0
- package/esm/node_modules/zod/v4/locales/no.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/no.js +108 -0
- package/esm/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ota.js +109 -0
- package/esm/node_modules/zod/v4/locales/package.json +6 -0
- package/esm/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/pl.js +109 -0
- package/esm/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/esm/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ps.js +114 -0
- package/esm/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/pt.js +108 -0
- package/esm/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/esm/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ru.js +156 -0
- package/esm/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/sl.js +109 -0
- package/esm/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/esm/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/sv.js +110 -0
- package/esm/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/esm/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ta.js +110 -0
- package/esm/node_modules/zod/v4/locales/th.cjs +137 -0
- package/esm/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/th.js +110 -0
- package/esm/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/esm/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/tr.js +105 -0
- package/esm/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/esm/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/esm/node_modules/zod/v4/locales/ua.js +5 -0
- package/esm/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/uk.js +108 -0
- package/esm/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/esm/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/ur.js +110 -0
- package/esm/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/uz.js +109 -0
- package/esm/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/esm/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/vi.js +108 -0
- package/esm/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/esm/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/yo.js +107 -0
- package/esm/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/esm/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/esm/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/esm/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/esm/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/esm/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/esm/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/esm/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/esm/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/esm/node_modules/zod/v4/mini/checks.js +1 -0
- package/esm/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/esm/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/esm/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/esm/node_modules/zod/v4/mini/coerce.js +22 -0
- package/esm/node_modules/zod/v4/mini/external.cjs +63 -0
- package/esm/node_modules/zod/v4/mini/external.d.cts +12 -0
- package/esm/node_modules/zod/v4/mini/external.d.ts +12 -0
- package/esm/node_modules/zod/v4/mini/external.js +14 -0
- package/esm/node_modules/zod/v4/mini/index.cjs +32 -0
- package/esm/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/esm/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/esm/node_modules/zod/v4/mini/index.js +3 -0
- package/esm/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/esm/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/esm/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/esm/node_modules/zod/v4/mini/iso.js +34 -0
- package/esm/node_modules/zod/v4/mini/package.json +6 -0
- package/esm/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/esm/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/esm/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/esm/node_modules/zod/v4/mini/parse.js +1 -0
- package/esm/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/esm/node_modules/zod/v4/mini/schemas.d.cts +427 -0
- package/esm/node_modules/zod/v4/mini/schemas.d.ts +427 -0
- package/esm/node_modules/zod/v4/mini/schemas.js +925 -0
- package/esm/node_modules/zod/v4/package.json +6 -0
- package/esm/node_modules/zod/v4-mini/index.cjs +32 -0
- package/esm/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/esm/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/esm/node_modules/zod/v4-mini/index.js +3 -0
- package/esm/node_modules/zod/v4-mini/package.json +6 -0
- package/esm/package.json +3 -0
- package/esm/src/api/artifact-inspection.js +2 -0
- package/esm/src/api/capability.js +2 -0
- package/esm/src/api/change-plan.js +2 -0
- package/esm/src/api/feature-artifact.js +2 -0
- package/esm/src/api/feature-change.js +2 -0
- package/esm/src/api/feature-detection.js +2 -0
- package/esm/src/api/feature-operation.js +2 -0
- package/esm/src/api/feature.js +2 -0
- package/esm/src/api/file-access.js +2 -0
- package/esm/src/api/json.js +2 -0
- package/esm/src/api/planned-change.js +2 -0
- package/esm/src/api/repository-context.js +2 -0
- package/esm/src/artifacts/inspect-artifact.js +72 -0
- package/esm/src/artifacts/plan-artifact-change.js +91 -0
- package/esm/src/cli/cli-result.js +1 -0
- package/esm/src/cli/cli.js +28 -0
- package/esm/src/cli/command-failure.js +10 -0
- package/esm/src/cli/command-help.js +170 -0
- package/esm/src/cli/deno-lock.js +76 -0
- package/esm/src/cli/describe-file-repair.js +70 -0
- package/esm/src/cli/describe-planned-change.js +77 -0
- package/esm/src/cli/feature-actions.js +68 -0
- package/esm/src/cli/feature-file-snapshot.js +63 -0
- package/esm/src/cli/feature-recommendations.js +7 -0
- package/esm/src/cli/feature-repair-preview.js +101 -0
- package/esm/src/cli/final-project-task.js +37 -0
- package/esm/src/cli/format-features.js +57 -0
- package/esm/src/cli/format-output.js +6 -0
- package/esm/src/cli/format-table.js +45 -0
- package/esm/src/cli/git-feature-commit.js +280 -0
- package/esm/src/cli/github-authentication.js +43 -0
- package/esm/src/cli/github-repository-setup.js +111 -0
- package/esm/src/cli/global-config.js +127 -0
- package/esm/src/cli/interactive-feature-defaults.js +41 -0
- package/esm/src/cli/jsr-scope.js +47 -0
- package/esm/src/cli/license-attribution.js +18 -0
- package/esm/src/cli/parse-features.js +216 -0
- package/esm/src/cli/partition-feature-config.js +168 -0
- package/esm/src/cli/partition-feature-readme.js +43 -0
- package/esm/src/cli/partition-readme-contributions.js +73 -0
- package/esm/src/cli/prompt-cancelled.js +7 -0
- package/esm/src/cli/prompt-feature-actions.js +9 -0
- package/esm/src/cli/reconcile-feature-plans.js +14 -0
- package/esm/src/cli/repair-completion-description.js +33 -0
- package/esm/src/cli/repair-configuration-description.js +44 -0
- package/esm/src/cli/repair-feature-changes.js +14 -0
- package/esm/src/cli/requested-drifted-changes.js +12 -0
- package/esm/src/cli/require-confirmation.js +8 -0
- package/esm/src/cli/run-cli.js +90 -0
- package/esm/src/cli/run-features.js +333 -0
- package/esm/src/cli/run-project-auto-add.js +76 -0
- package/esm/src/cli/run-release.js +105 -0
- package/esm/src/cli/terminal-colors.js +44 -0
- package/esm/src/cli/terminal-prompt-view.js +97 -0
- package/esm/src/cli/terminal-prompt.js +17 -0
- package/esm/src/cli/workflow-cli-changes.js +24 -0
- package/esm/src/features/built-in-feature-registry.js +97 -0
- package/esm/src/features/check-feature-resolution.js +97 -0
- package/esm/src/features/configured-deno-export.js +23 -0
- package/esm/src/features/configured-deno-task.js +63 -0
- package/esm/src/features/create-resolution-state.js +35 -0
- package/esm/src/features/deno-cli-artifacts.js +174 -0
- package/esm/src/features/deno-cli-feature.js +85 -0
- package/esm/src/features/deno-cli-operations.js +116 -0
- package/esm/src/features/deno-cli-plans.js +128 -0
- package/esm/src/features/deno-config-version-feature.js +100 -0
- package/esm/src/features/deno-config.js +55 -0
- package/esm/src/features/deno-fmt-checks.js +86 -0
- package/esm/src/features/deno-fmt-detection.js +70 -0
- package/esm/src/features/deno-fmt-feature.js +20 -0
- package/esm/src/features/deno-fmt-inspection.js +44 -0
- package/esm/src/features/deno-fmt-plans.js +131 -0
- package/esm/src/features/deno-initial-config.js +85 -0
- package/esm/src/features/deno-lib-artifacts.js +45 -0
- package/esm/src/features/deno-lib-feature.js +95 -0
- package/esm/src/features/deno-lib-operations.js +99 -0
- package/esm/src/features/deno-lib-plans.js +108 -0
- package/esm/src/features/deno-lock-ownership.js +27 -0
- package/esm/src/features/deno-lock-policy.js +114 -0
- package/esm/src/features/deno-server-artifacts.js +40 -0
- package/esm/src/features/deno-server-feature.js +98 -0
- package/esm/src/features/deno-server-legacy.js +43 -0
- package/esm/src/features/deno-server-operations.js +176 -0
- package/esm/src/features/deno-server-plan-artifacts.js +63 -0
- package/esm/src/features/deno-server-plans.js +158 -0
- package/esm/src/features/deno-server-state.js +8 -0
- package/esm/src/features/deno-server-tasks.js +28 -0
- package/esm/src/features/deno-task-feature.js +39 -0
- package/esm/src/features/deno-task-features.js +5 -0
- package/esm/src/features/deno-task-inspection.js +79 -0
- package/esm/src/features/deno-task-plans.js +116 -0
- package/esm/src/features/deno-tasks.js +161 -0
- package/esm/src/features/deno-test-tasks.js +85 -0
- package/esm/src/features/editorconfig-content.js +129 -0
- package/esm/src/features/editorconfig-feature.js +146 -0
- package/esm/src/features/feature-dependency-cycles.js +39 -0
- package/esm/src/features/feature-registry.js +2 -0
- package/esm/src/features/feature-resolution.js +2 -0
- package/esm/src/features/git-feature.js +96 -0
- package/esm/src/features/git-ignore-content.js +122 -0
- package/esm/src/features/git-ignore-feature.js +147 -0
- package/esm/src/features/github-ci-artifacts.js +146 -0
- package/esm/src/features/github-ci-feature.js +104 -0
- package/esm/src/features/github-ci-legacy.js +81 -0
- package/esm/src/features/github-ci-operations.js +184 -0
- package/esm/src/features/github-default-project-feature.js +124 -0
- package/esm/src/features/github-features.js +184 -0
- package/esm/src/features/github-protected-tags-lifecycle.js +269 -0
- package/esm/src/features/github-protection-definitions.js +62 -0
- package/esm/src/features/github-protection-features.js +80 -0
- package/esm/src/features/github-protection-lifecycle.js +112 -0
- package/esm/src/features/github-protection-state.js +67 -0
- package/esm/src/features/github-release-legacy-migration.js +85 -0
- package/esm/src/features/github-release-legacy.js +117 -0
- package/esm/src/features/github-release-publish-artifacts.js +209 -0
- package/esm/src/features/github-release-publish-feature.js +376 -0
- package/esm/src/features/github-repository-access.js +20 -0
- package/esm/src/features/hj-package.js +3 -0
- package/esm/src/features/jsr-package-config.js +18 -0
- package/esm/src/features/jsr-package-feature.js +67 -0
- package/esm/src/features/jsr-package-identity.js +30 -0
- package/esm/src/features/jsr-package-inspection.js +92 -0
- package/esm/src/features/jsr-package-operations.js +65 -0
- package/esm/src/features/jsr-package-plan-support.js +26 -0
- package/esm/src/features/jsr-package-plans.js +64 -0
- package/esm/src/features/jsr-release-artifacts.js +52 -0
- package/esm/src/features/legacy-readme.js +51 -0
- package/esm/src/features/license-apache-2.0-source.js +14 -0
- package/esm/src/features/license-catalog.js +79 -0
- package/esm/src/features/license-mit-source.js +14 -0
- package/esm/src/features/license-readme-label.js +9 -0
- package/esm/src/features/license-readme-state.js +41 -0
- package/esm/src/features/license-spdx-feature.js +491 -0
- package/esm/src/features/license-spdx-source.js +28 -0
- package/esm/src/features/order-feature-changes.js +44 -0
- package/esm/src/features/readme-build-checks.js +128 -0
- package/esm/src/features/readme-build-detection.js +70 -0
- package/esm/src/features/readme-build-feature.js +24 -0
- package/esm/src/features/readme-build-plans.js +230 -0
- package/esm/src/features/readme-build-state.js +87 -0
- package/esm/src/features/readme-contribution-plans.js +186 -0
- package/esm/src/features/readme-static-artifact.js +77 -0
- package/esm/src/features/readme-static-feature.js +68 -0
- package/esm/src/features/readme-static-operations.js +145 -0
- package/esm/src/features/readme-static-repair.js +72 -0
- package/esm/src/features/registry-index.js +20 -0
- package/esm/src/features/release-quiescence.js +60 -0
- package/esm/src/features/resolution-state.js +29 -0
- package/esm/src/features/resolve-feature-changes.js +17 -0
- package/esm/src/features/resolve-feature-enables.js +71 -0
- package/esm/src/features/resolve-registry-changes.js +72 -0
- package/esm/src/features/select-capability-provider.js +54 -0
- package/esm/src/features/sort-feature-resolution-issues.js +12 -0
- package/esm/src/features/validate-feature-registry.js +141 -0
- package/esm/src/features/workflow-cli.js +68 -0
- package/esm/src/features/workflow-deno.js +27 -0
- package/esm/src/features/workflow-toolchain.js +3 -0
- package/esm/src/operations/change-plan-error.js +12 -0
- package/esm/src/operations/github-change-plan.js +199 -0
- package/esm/src/operations/local-change-plan.js +101 -0
- package/esm/src/operations/local-directory-change.js +16 -0
- package/esm/src/operations/local-file-changes.js +74 -0
- package/esm/src/operations/local-git-changes.js +79 -0
- package/esm/src/operations/local-json-change.js +65 -0
- package/esm/src/operations/local-path-exists.js +13 -0
- package/esm/src/operations/local-plan-state.js +53 -0
- package/esm/src/package/metadata.js +58 -0
- package/esm/src/projects/auto-add.js +151 -0
- package/esm/src/projects/browser-connection.js +126 -0
- package/esm/src/projects/github-project-browser.js +238 -0
- package/esm/src/readme/build-readme.js +116 -0
- package/esm/src/readme/contribution-blocks.js +110 -0
- package/esm/src/readme/guide-contributions.js +48 -0
- package/esm/src/readme/guide-files.js +35 -0
- package/esm/src/readme/license-section.js +86 -0
- package/esm/src/readme/markdown-link.js +24 -0
- package/esm/src/readme/package-import.js +58 -0
- package/esm/src/readme/planned-readme-files.js +162 -0
- package/esm/src/readme/readme-path.js +53 -0
- package/esm/src/release/apply-checks.js +43 -0
- package/esm/src/release/apply-cleanup.js +141 -0
- package/esm/src/release/apply-observation.js +65 -0
- package/esm/src/release/apply-types.js +10 -0
- package/esm/src/release/changelog.js +33 -0
- package/esm/src/release/confirm-publication.js +18 -0
- package/esm/src/release/conventional-commit.js +29 -0
- package/esm/src/release/effective-protection.js +417 -0
- package/esm/src/release/fork-version.js +10 -0
- package/esm/src/release/github-output.js +12 -0
- package/esm/src/release/names.js +23 -0
- package/esm/src/release/previous-release.js +38 -0
- package/esm/src/release/protection-data.js +43 -0
- package/esm/src/release/publish-github.js +141 -0
- package/esm/src/release/publish-jsr.js +390 -0
- package/esm/src/release/publish-npm.js +224 -0
- package/esm/src/release/publish-tag-apply.js +248 -0
- package/esm/src/release/publish-tag-github.js +517 -0
- package/esm/src/release/publish-tag-orchestration.js +229 -0
- package/esm/src/release/publish-tag-prepare.js +499 -0
- package/esm/src/release/publish-tag-recovery.js +54 -0
- package/esm/src/release/publisher-input.js +117 -0
- package/esm/src/release/recovery-worktree.js +28 -0
- package/esm/src/release/release-bundle.js +156 -0
- package/esm/src/release/release-candidate.js +216 -0
- package/esm/src/release/release-environment.js +11 -0
- package/esm/src/release/release-pr.js +39 -0
- package/esm/src/release/release-process.js +53 -0
- package/esm/src/release/release-temp.js +8 -0
- package/esm/src/release/release-type.js +14 -0
- package/esm/src/release/ruleset-matching.js +99 -0
- package/esm/src/release/semver.js +57 -0
- package/esm/src/release/source-commit-validation.js +42 -0
- package/esm/src/release/synthetic-check.js +64 -0
- package/esm/src/release/version-file.js +25 -0
- package/esm/src/repository/canonical-ruleset.js +10 -0
- package/esm/src/repository/digest-bytes.js +6 -0
- package/esm/src/repository/directory-state-digest.js +50 -0
- package/esm/src/repository/file-access.js +79 -0
- package/esm/src/repository/file-mode.js +5 -0
- package/esm/src/repository/github-command.js +66 -0
- package/esm/src/repository/github-default-project.js +412 -0
- package/esm/src/repository/github-project-area.js +167 -0
- package/esm/src/repository/github-repository-setup.js +79 -0
- package/esm/src/repository/github-response.js +71 -0
- package/esm/src/repository/jsr-scope-reader.js +49 -0
- package/esm/src/repository/local-file-reader.js +127 -0
- package/esm/src/repository/local-git-reader.js +143 -0
- package/esm/src/repository/local-github-client.js +638 -0
- package/esm/src/repository/local-github-identity-reader.js +21 -0
- package/esm/src/repository/project-status-order.js +20 -0
- package/esm/src/repository/repository-path.js +22 -0
- package/esm/src/runtime/command.js +108 -0
- package/esm/src/runtime/deno-install.js +140 -0
- package/esm/src/runtime/deno-options.js +57 -0
- package/esm/src/runtime/deno-requirement.js +114 -0
- package/esm/src/runtime/errors.js +5 -0
- package/esm/src/runtime/external-deno.js +154 -0
- package/esm/src/runtime/external-tool.js +25 -0
- package/esm/src/runtime/temp.js +12 -0
- package/esm/toolchain.js +3 -0
- package/npm-dependencies.lock.json +1806 -0
- package/package.json +47 -0
|
@@ -0,0 +1,2413 @@
|
|
|
1
|
+
// https://github.com/Ethan-Arrowood/undici-fetch
|
|
2
|
+
|
|
3
|
+
'use strict'
|
|
4
|
+
|
|
5
|
+
const {
|
|
6
|
+
makeNetworkError,
|
|
7
|
+
makeAppropriateNetworkError,
|
|
8
|
+
filterResponse,
|
|
9
|
+
makeResponse,
|
|
10
|
+
fromInnerResponse,
|
|
11
|
+
getResponseState
|
|
12
|
+
} = require('./response')
|
|
13
|
+
const { HeadersList } = require('./headers')
|
|
14
|
+
const { Request, cloneRequest, getRequestDispatcher, getRequestState } = require('./request')
|
|
15
|
+
const zlib = require('node:zlib')
|
|
16
|
+
const {
|
|
17
|
+
makePolicyContainer,
|
|
18
|
+
clonePolicyContainer,
|
|
19
|
+
requestBadPort,
|
|
20
|
+
TAOCheck,
|
|
21
|
+
appendRequestOriginHeader,
|
|
22
|
+
responseLocationURL,
|
|
23
|
+
requestCurrentURL,
|
|
24
|
+
setRequestReferrerPolicyOnRedirect,
|
|
25
|
+
tryUpgradeRequestToAPotentiallyTrustworthyURL,
|
|
26
|
+
createOpaqueTimingInfo,
|
|
27
|
+
appendFetchMetadata,
|
|
28
|
+
corsCheck,
|
|
29
|
+
crossOriginResourcePolicyCheck,
|
|
30
|
+
determineRequestsReferrer,
|
|
31
|
+
coarsenedSharedCurrentTime,
|
|
32
|
+
sameOrigin,
|
|
33
|
+
isCancelled,
|
|
34
|
+
isAborted,
|
|
35
|
+
isErrorLike,
|
|
36
|
+
fullyReadBody,
|
|
37
|
+
readableStreamClose,
|
|
38
|
+
urlIsLocal,
|
|
39
|
+
urlIsHttpHttpsScheme,
|
|
40
|
+
urlHasHttpsScheme,
|
|
41
|
+
clampAndCoarsenConnectionTimingInfo,
|
|
42
|
+
simpleRangeHeaderValue,
|
|
43
|
+
buildContentRange,
|
|
44
|
+
createInflate,
|
|
45
|
+
extractMimeType,
|
|
46
|
+
hasAuthenticationEntry,
|
|
47
|
+
includesCredentials,
|
|
48
|
+
isTraversableNavigable
|
|
49
|
+
} = require('./util')
|
|
50
|
+
const assert = require('node:assert')
|
|
51
|
+
const { safelyExtractBody, extractBody } = require('./body')
|
|
52
|
+
const {
|
|
53
|
+
redirectStatusSet,
|
|
54
|
+
nullBodyStatus,
|
|
55
|
+
safeMethodsSet,
|
|
56
|
+
requestBodyHeader,
|
|
57
|
+
subresourceSet
|
|
58
|
+
} = require('./constants')
|
|
59
|
+
const EE = require('node:events')
|
|
60
|
+
const { Readable, pipeline, finished, isErrored, isReadable } = require('node:stream')
|
|
61
|
+
const { addAbortListener, bufferToLowerCasedHeaderName } = require('../../core/util')
|
|
62
|
+
const { dataURLProcessor, serializeAMimeType, minimizeSupportedMimeType } = require('./data-url')
|
|
63
|
+
const { getGlobalDispatcher } = require('../../global')
|
|
64
|
+
const { webidl } = require('../webidl')
|
|
65
|
+
const { STATUS_CODES } = require('node:http')
|
|
66
|
+
const { bytesMatch } = require('../subresource-integrity/subresource-integrity')
|
|
67
|
+
const { createDeferredPromise } = require('../../util/promise')
|
|
68
|
+
const { isomorphicEncode } = require('../infra')
|
|
69
|
+
const { runtimeFeatures } = require('../../util/runtime-features')
|
|
70
|
+
|
|
71
|
+
// Node.js v23.8.0+ and v22.15.0+ supports Zstandard
|
|
72
|
+
const hasZstd = runtimeFeatures.has('zstd')
|
|
73
|
+
|
|
74
|
+
const GET_OR_HEAD = ['GET', 'HEAD']
|
|
75
|
+
|
|
76
|
+
const defaultUserAgent = typeof __UNDICI_IS_NODE__ !== 'undefined' || typeof esbuildDetection !== 'undefined'
|
|
77
|
+
? 'node'
|
|
78
|
+
: 'undici'
|
|
79
|
+
|
|
80
|
+
/** @type {import('buffer').resolveObjectURL} */
|
|
81
|
+
let resolveObjectURL
|
|
82
|
+
|
|
83
|
+
class Fetch extends EE {
|
|
84
|
+
constructor (dispatcher) {
|
|
85
|
+
super()
|
|
86
|
+
|
|
87
|
+
this.dispatcher = dispatcher
|
|
88
|
+
this.connection = null
|
|
89
|
+
this.dump = false
|
|
90
|
+
this.state = 'ongoing'
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
terminate (reason) {
|
|
94
|
+
if (this.state !== 'ongoing') {
|
|
95
|
+
return
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
this.state = 'terminated'
|
|
99
|
+
this.connection?.destroy(reason)
|
|
100
|
+
this.emit('terminated', reason)
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// https://fetch.spec.whatwg.org/#fetch-controller-abort
|
|
104
|
+
abort (error) {
|
|
105
|
+
if (this.state !== 'ongoing') {
|
|
106
|
+
return
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// 1. Set controller’s state to "aborted".
|
|
110
|
+
this.state = 'aborted'
|
|
111
|
+
|
|
112
|
+
// 2. Let fallbackError be an "AbortError" DOMException.
|
|
113
|
+
// 3. Set error to fallbackError if it is not given.
|
|
114
|
+
if (!error) {
|
|
115
|
+
error = new DOMException('The operation was aborted.', 'AbortError')
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// 4. Let serializedError be StructuredSerialize(error).
|
|
119
|
+
// If that threw an exception, catch it, and let
|
|
120
|
+
// serializedError be StructuredSerialize(fallbackError).
|
|
121
|
+
|
|
122
|
+
// 5. Set controller’s serialized abort reason to serializedError.
|
|
123
|
+
this.serializedAbortReason = error
|
|
124
|
+
|
|
125
|
+
this.connection?.destroy(error)
|
|
126
|
+
this.emit('terminated', error)
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function handleFetchDone (response) {
|
|
131
|
+
finalizeAndReportTiming(response, 'fetch')
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// https://fetch.spec.whatwg.org/#fetch-method
|
|
135
|
+
function fetch (input, init = undefined) {
|
|
136
|
+
webidl.argumentLengthCheck(arguments, 1, 'globalThis.fetch')
|
|
137
|
+
|
|
138
|
+
// 1. Let p be a new promise.
|
|
139
|
+
let p = createDeferredPromise()
|
|
140
|
+
|
|
141
|
+
// 2. Let requestObject be the result of invoking the initial value of
|
|
142
|
+
// Request as constructor with input and init as arguments. If this throws
|
|
143
|
+
// an exception, reject p with it and return p.
|
|
144
|
+
let requestObject
|
|
145
|
+
|
|
146
|
+
try {
|
|
147
|
+
requestObject = new Request(input, init)
|
|
148
|
+
} catch (e) {
|
|
149
|
+
p.reject(e)
|
|
150
|
+
return p.promise
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// 3. Let request be requestObject’s request.
|
|
154
|
+
const request = getRequestState(requestObject)
|
|
155
|
+
|
|
156
|
+
// 4. If requestObject’s signal’s aborted flag is set, then:
|
|
157
|
+
if (requestObject.signal.aborted) {
|
|
158
|
+
// 1. Abort the fetch() call with p, request, null, and
|
|
159
|
+
// requestObject’s signal’s abort reason.
|
|
160
|
+
abortFetch(p, request, null, requestObject.signal.reason, null)
|
|
161
|
+
|
|
162
|
+
// 2. Return p.
|
|
163
|
+
return p.promise
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// 5. Let globalObject be request’s client’s global object.
|
|
167
|
+
const globalObject = request.client.globalObject
|
|
168
|
+
|
|
169
|
+
// 6. If globalObject is a ServiceWorkerGlobalScope object, then set
|
|
170
|
+
// request’s service-workers mode to "none".
|
|
171
|
+
if (globalObject?.constructor?.name === 'ServiceWorkerGlobalScope') {
|
|
172
|
+
request.serviceWorkers = 'none'
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// 7. Let responseObject be null.
|
|
176
|
+
let responseObject = null
|
|
177
|
+
|
|
178
|
+
// 8. Let relevantRealm be this’s relevant Realm.
|
|
179
|
+
|
|
180
|
+
// 9. Let locallyAborted be false.
|
|
181
|
+
let locallyAborted = false
|
|
182
|
+
|
|
183
|
+
// 10. Let controller be null.
|
|
184
|
+
let controller = null
|
|
185
|
+
|
|
186
|
+
// 11. Add the following abort steps to requestObject’s signal:
|
|
187
|
+
addAbortListener(
|
|
188
|
+
requestObject.signal,
|
|
189
|
+
() => {
|
|
190
|
+
// 1. Set locallyAborted to true.
|
|
191
|
+
locallyAborted = true
|
|
192
|
+
|
|
193
|
+
// 2. Assert: controller is non-null.
|
|
194
|
+
assert(controller != null)
|
|
195
|
+
|
|
196
|
+
// 3. Abort controller with requestObject’s signal’s abort reason.
|
|
197
|
+
controller.abort(requestObject.signal.reason)
|
|
198
|
+
|
|
199
|
+
const realResponse = responseObject?.deref()
|
|
200
|
+
|
|
201
|
+
// 4. Abort the fetch() call with p, request, responseObject,
|
|
202
|
+
// and requestObject’s signal’s abort reason.
|
|
203
|
+
abortFetch(p, request, realResponse, requestObject.signal.reason, controller.controller)
|
|
204
|
+
}
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
// 12. Let handleFetchDone given response response be to finalize and
|
|
208
|
+
// report timing with response, globalObject, and "fetch".
|
|
209
|
+
// see function handleFetchDone
|
|
210
|
+
|
|
211
|
+
// 13. Set controller to the result of calling fetch given request,
|
|
212
|
+
// with processResponseEndOfBody set to handleFetchDone, and processResponse
|
|
213
|
+
// given response being these substeps:
|
|
214
|
+
|
|
215
|
+
const processResponse = (response) => {
|
|
216
|
+
// 1. If locallyAborted is true, terminate these substeps.
|
|
217
|
+
if (locallyAborted) {
|
|
218
|
+
return
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// 2. If response’s aborted flag is set, then:
|
|
222
|
+
if (response.aborted) {
|
|
223
|
+
// 1. Let deserializedError be the result of deserialize a serialized
|
|
224
|
+
// abort reason given controller’s serialized abort reason and
|
|
225
|
+
// relevantRealm.
|
|
226
|
+
|
|
227
|
+
// 2. Abort the fetch() call with p, request, responseObject, and
|
|
228
|
+
// deserializedError.
|
|
229
|
+
|
|
230
|
+
abortFetch(p, request, responseObject, controller.serializedAbortReason, controller.controller)
|
|
231
|
+
return
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// 3. If response is a network error, then reject p with a TypeError
|
|
235
|
+
// and terminate these substeps.
|
|
236
|
+
if (response.type === 'error') {
|
|
237
|
+
p.reject(new TypeError('fetch failed', { cause: response.error }))
|
|
238
|
+
return
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// 4. Set responseObject to the result of creating a Response object,
|
|
242
|
+
// given response, "immutable", and relevantRealm.
|
|
243
|
+
responseObject = new WeakRef(fromInnerResponse(response, 'immutable'))
|
|
244
|
+
|
|
245
|
+
// 5. Resolve p with responseObject.
|
|
246
|
+
p.resolve(responseObject.deref())
|
|
247
|
+
p = null
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
controller = fetching({
|
|
251
|
+
request,
|
|
252
|
+
processResponseEndOfBody: handleFetchDone,
|
|
253
|
+
processResponse,
|
|
254
|
+
dispatcher: getRequestDispatcher(requestObject), // undici
|
|
255
|
+
// Keep requestObject alive to prevent its AbortController from being GC'd
|
|
256
|
+
// See https://github.com/nodejs/undici/issues/4627
|
|
257
|
+
requestObject
|
|
258
|
+
})
|
|
259
|
+
|
|
260
|
+
// 14. Return p.
|
|
261
|
+
return p.promise
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// https://fetch.spec.whatwg.org/#finalize-and-report-timing
|
|
265
|
+
function finalizeAndReportTiming (response, initiatorType = 'other') {
|
|
266
|
+
// 1. If response is an aborted network error, then return.
|
|
267
|
+
if (response.type === 'error' && response.aborted) {
|
|
268
|
+
return
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// 2. If response’s URL list is null or empty, then return.
|
|
272
|
+
if (!response.urlList?.length) {
|
|
273
|
+
return
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// 3. Let originalURL be response’s URL list[0].
|
|
277
|
+
const originalURL = response.urlList[0]
|
|
278
|
+
|
|
279
|
+
// 4. Let timingInfo be response’s timing info.
|
|
280
|
+
let timingInfo = response.timingInfo
|
|
281
|
+
|
|
282
|
+
// 5. Let cacheState be response’s cache state.
|
|
283
|
+
let cacheState = response.cacheState
|
|
284
|
+
|
|
285
|
+
// 6. If originalURL’s scheme is not an HTTP(S) scheme, then return.
|
|
286
|
+
if (!urlIsHttpHttpsScheme(originalURL)) {
|
|
287
|
+
return
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// 7. If timingInfo is null, then return.
|
|
291
|
+
if (timingInfo === null) {
|
|
292
|
+
return
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// 8. If response’s timing allow passed flag is not set, then:
|
|
296
|
+
if (!response.timingAllowPassed) {
|
|
297
|
+
// 1. Set timingInfo to a the result of creating an opaque timing info for timingInfo.
|
|
298
|
+
timingInfo = createOpaqueTimingInfo({
|
|
299
|
+
startTime: timingInfo.startTime
|
|
300
|
+
})
|
|
301
|
+
|
|
302
|
+
// 2. Set cacheState to the empty string.
|
|
303
|
+
cacheState = ''
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// 9. Set timingInfo’s end time to the coarsened shared current time
|
|
307
|
+
// given global’s relevant settings object’s cross-origin isolated
|
|
308
|
+
// capability.
|
|
309
|
+
// TODO: given global’s relevant settings object’s cross-origin isolated
|
|
310
|
+
// capability?
|
|
311
|
+
timingInfo.endTime = coarsenedSharedCurrentTime()
|
|
312
|
+
|
|
313
|
+
// 10. Set response’s timing info to timingInfo.
|
|
314
|
+
response.timingInfo = timingInfo
|
|
315
|
+
|
|
316
|
+
// 11. Mark resource timing for timingInfo, originalURL, initiatorType,
|
|
317
|
+
// global, and cacheState.
|
|
318
|
+
markResourceTiming(
|
|
319
|
+
timingInfo,
|
|
320
|
+
originalURL.href,
|
|
321
|
+
initiatorType,
|
|
322
|
+
globalThis,
|
|
323
|
+
cacheState,
|
|
324
|
+
'', // bodyType
|
|
325
|
+
response.status
|
|
326
|
+
)
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// https://w3c.github.io/resource-timing/#dfn-mark-resource-timing
|
|
330
|
+
const markResourceTiming = performance.markResourceTiming
|
|
331
|
+
|
|
332
|
+
// https://fetch.spec.whatwg.org/#abort-fetch
|
|
333
|
+
function abortFetch (p, request, responseObject, error, controller /* undici-specific */) {
|
|
334
|
+
// 1. Reject promise with error.
|
|
335
|
+
if (p) {
|
|
336
|
+
// We might have already resolved the promise at this stage
|
|
337
|
+
p.reject(error)
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// 2. If request’s body is not null and is readable, then cancel request’s
|
|
341
|
+
// body with error.
|
|
342
|
+
if (request.body?.stream != null && isReadable(request.body.stream)) {
|
|
343
|
+
request.body.stream.cancel(error).catch((err) => {
|
|
344
|
+
if (err.code === 'ERR_INVALID_STATE') {
|
|
345
|
+
// Node bug?
|
|
346
|
+
return
|
|
347
|
+
}
|
|
348
|
+
throw err
|
|
349
|
+
})
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// 3. If responseObject is null, then return.
|
|
353
|
+
if (responseObject == null) {
|
|
354
|
+
return
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// 4. Let response be responseObject’s response.
|
|
358
|
+
const response = getResponseState(responseObject)
|
|
359
|
+
|
|
360
|
+
// 5. If response’s body is not null and is readable, then error response’s
|
|
361
|
+
// body with error.
|
|
362
|
+
if (response.body?.stream != null && isReadable(response.body.stream)) {
|
|
363
|
+
controller.error(error)
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// https://fetch.spec.whatwg.org/#fetching
|
|
368
|
+
function fetching ({
|
|
369
|
+
request,
|
|
370
|
+
processRequestBodyChunkLength,
|
|
371
|
+
processRequestEndOfBody,
|
|
372
|
+
processResponse,
|
|
373
|
+
processResponseEndOfBody,
|
|
374
|
+
processResponseConsumeBody,
|
|
375
|
+
useParallelQueue = false,
|
|
376
|
+
dispatcher = getGlobalDispatcher(), // undici
|
|
377
|
+
requestObject = null // Keep alive to prevent AbortController GC, see #4627
|
|
378
|
+
}) {
|
|
379
|
+
// Ensure that the dispatcher is set accordingly
|
|
380
|
+
assert(dispatcher)
|
|
381
|
+
|
|
382
|
+
// 1. Let taskDestination be null.
|
|
383
|
+
let taskDestination = null
|
|
384
|
+
|
|
385
|
+
// 2. Let crossOriginIsolatedCapability be false.
|
|
386
|
+
let crossOriginIsolatedCapability = false
|
|
387
|
+
|
|
388
|
+
// 3. If request’s client is non-null, then:
|
|
389
|
+
if (request.client != null) {
|
|
390
|
+
// 1. Set taskDestination to request’s client’s global object.
|
|
391
|
+
taskDestination = request.client.globalObject
|
|
392
|
+
|
|
393
|
+
// 2. Set crossOriginIsolatedCapability to request’s client’s cross-origin
|
|
394
|
+
// isolated capability.
|
|
395
|
+
crossOriginIsolatedCapability =
|
|
396
|
+
request.client.crossOriginIsolatedCapability
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// 4. If useParallelQueue is true, then set taskDestination to the result of
|
|
400
|
+
// starting a new parallel queue.
|
|
401
|
+
// TODO
|
|
402
|
+
|
|
403
|
+
// 5. Let timingInfo be a new fetch timing info whose start time and
|
|
404
|
+
// post-redirect start time are the coarsened shared current time given
|
|
405
|
+
// crossOriginIsolatedCapability.
|
|
406
|
+
const currentTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability)
|
|
407
|
+
const timingInfo = createOpaqueTimingInfo({
|
|
408
|
+
startTime: currentTime
|
|
409
|
+
})
|
|
410
|
+
|
|
411
|
+
// 6. Let fetchParams be a new fetch params whose
|
|
412
|
+
// request is request,
|
|
413
|
+
// timing info is timingInfo,
|
|
414
|
+
// process request body chunk length is processRequestBodyChunkLength,
|
|
415
|
+
// process request end-of-body is processRequestEndOfBody,
|
|
416
|
+
// process response is processResponse,
|
|
417
|
+
// process response consume body is processResponseConsumeBody,
|
|
418
|
+
// process response end-of-body is processResponseEndOfBody,
|
|
419
|
+
// task destination is taskDestination,
|
|
420
|
+
// and cross-origin isolated capability is crossOriginIsolatedCapability.
|
|
421
|
+
const fetchParams = {
|
|
422
|
+
controller: new Fetch(dispatcher),
|
|
423
|
+
request,
|
|
424
|
+
timingInfo,
|
|
425
|
+
processRequestBodyChunkLength,
|
|
426
|
+
processRequestEndOfBody,
|
|
427
|
+
processResponse,
|
|
428
|
+
processResponseConsumeBody,
|
|
429
|
+
processResponseEndOfBody,
|
|
430
|
+
taskDestination,
|
|
431
|
+
crossOriginIsolatedCapability,
|
|
432
|
+
// Keep requestObject alive to prevent its AbortController from being GC'd
|
|
433
|
+
requestObject
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
// 7. If request’s body is a byte sequence, then set request’s body to
|
|
437
|
+
// request’s body as a body.
|
|
438
|
+
// NOTE: Since fetching is only called from fetch, body should already be
|
|
439
|
+
// extracted.
|
|
440
|
+
assert(!request.body || request.body.stream)
|
|
441
|
+
|
|
442
|
+
// 8. If request’s window is "client", then set request’s window to request’s
|
|
443
|
+
// client, if request’s client’s global object is a Window object; otherwise
|
|
444
|
+
// "no-window".
|
|
445
|
+
if (request.window === 'client') {
|
|
446
|
+
// TODO: What if request.client is null?
|
|
447
|
+
request.window =
|
|
448
|
+
request.client?.globalObject?.constructor?.name === 'Window'
|
|
449
|
+
? request.client
|
|
450
|
+
: 'no-window'
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// 9. If request’s origin is "client", then set request’s origin to request’s
|
|
454
|
+
// client’s origin.
|
|
455
|
+
if (request.origin === 'client') {
|
|
456
|
+
request.origin = request.client.origin
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// 10. If all of the following conditions are true:
|
|
460
|
+
// TODO
|
|
461
|
+
|
|
462
|
+
// 11. If request’s policy container is "client", then:
|
|
463
|
+
if (request.policyContainer === 'client') {
|
|
464
|
+
// 1. If request’s client is non-null, then set request’s policy
|
|
465
|
+
// container to a clone of request’s client’s policy container. [HTML]
|
|
466
|
+
if (request.client != null) {
|
|
467
|
+
request.policyContainer = clonePolicyContainer(
|
|
468
|
+
request.client.policyContainer
|
|
469
|
+
)
|
|
470
|
+
} else {
|
|
471
|
+
// 2. Otherwise, set request’s policy container to a new policy
|
|
472
|
+
// container.
|
|
473
|
+
request.policyContainer = makePolicyContainer()
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
// 12. If request’s header list does not contain `Accept`, then:
|
|
478
|
+
if (!request.headersList.contains('accept', true)) {
|
|
479
|
+
// 1. Let value be `*/*`.
|
|
480
|
+
const value = '*/*'
|
|
481
|
+
|
|
482
|
+
// 2. A user agent should set value to the first matching statement, if
|
|
483
|
+
// any, switching on request’s destination:
|
|
484
|
+
// "document"
|
|
485
|
+
// "frame"
|
|
486
|
+
// "iframe"
|
|
487
|
+
// `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`
|
|
488
|
+
// "image"
|
|
489
|
+
// `image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5`
|
|
490
|
+
// "style"
|
|
491
|
+
// `text/css,*/*;q=0.1`
|
|
492
|
+
// TODO
|
|
493
|
+
|
|
494
|
+
// 3. Append `Accept`/value to request’s header list.
|
|
495
|
+
request.headersList.append('accept', value, true)
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
// 13. If request’s header list does not contain `Accept-Language`, then
|
|
499
|
+
// user agents should append `Accept-Language`/an appropriate value to
|
|
500
|
+
// request’s header list.
|
|
501
|
+
if (!request.headersList.contains('accept-language', true)) {
|
|
502
|
+
request.headersList.append('accept-language', '*', true)
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// 14. If request’s priority is null, then use request’s initiator and
|
|
506
|
+
// destination appropriately in setting request’s priority to a
|
|
507
|
+
// user-agent-defined object.
|
|
508
|
+
if (request.priority === null) {
|
|
509
|
+
// TODO
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
// 15. If request is a subresource request, then:
|
|
513
|
+
if (subresourceSet.has(request.destination)) {
|
|
514
|
+
// TODO
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
// 16. Run main fetch given fetchParams.
|
|
518
|
+
mainFetch(fetchParams, false)
|
|
519
|
+
|
|
520
|
+
// 17. Return fetchParam's controller
|
|
521
|
+
return fetchParams.controller
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
// https://fetch.spec.whatwg.org/#concept-main-fetch
|
|
525
|
+
async function mainFetch (fetchParams, recursive) {
|
|
526
|
+
try {
|
|
527
|
+
// 1. Let request be fetchParams’s request.
|
|
528
|
+
const request = fetchParams.request
|
|
529
|
+
|
|
530
|
+
// 2. Let response be null.
|
|
531
|
+
let response = null
|
|
532
|
+
|
|
533
|
+
// 3. If request’s local-URLs-only flag is set and request’s current URL is
|
|
534
|
+
// not local, then set response to a network error.
|
|
535
|
+
if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request))) {
|
|
536
|
+
response = makeNetworkError('local URLs only')
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// 4. Run report Content Security Policy violations for request.
|
|
540
|
+
// TODO
|
|
541
|
+
|
|
542
|
+
// 5. Upgrade request to a potentially trustworthy URL, if appropriate.
|
|
543
|
+
tryUpgradeRequestToAPotentiallyTrustworthyURL(request)
|
|
544
|
+
|
|
545
|
+
// 6. If should request be blocked due to a bad port, should fetching request
|
|
546
|
+
// be blocked as mixed content, or should request be blocked by Content
|
|
547
|
+
// Security Policy returns blocked, then set response to a network error.
|
|
548
|
+
if (requestBadPort(request) === 'blocked') {
|
|
549
|
+
response = makeNetworkError('bad port')
|
|
550
|
+
}
|
|
551
|
+
// TODO: should fetching request be blocked as mixed content?
|
|
552
|
+
// TODO: should request be blocked by Content Security Policy?
|
|
553
|
+
|
|
554
|
+
// 7. If request’s referrer policy is the empty string, then set request’s
|
|
555
|
+
// referrer policy to request’s policy container’s referrer policy.
|
|
556
|
+
if (request.referrerPolicy === '') {
|
|
557
|
+
request.referrerPolicy = request.policyContainer.referrerPolicy
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
// 8. If request’s referrer is not "no-referrer", then set request’s
|
|
561
|
+
// referrer to the result of invoking determine request’s referrer.
|
|
562
|
+
if (request.referrer !== 'no-referrer') {
|
|
563
|
+
request.referrer = determineRequestsReferrer(request)
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
// 9. Set request’s current URL’s scheme to "https" if all of the following
|
|
567
|
+
// conditions are true:
|
|
568
|
+
// - request’s current URL’s scheme is "http"
|
|
569
|
+
// - request’s current URL’s host is a domain
|
|
570
|
+
// - Matching request’s current URL’s host per Known HSTS Host Domain Name
|
|
571
|
+
// Matching results in either a superdomain match with an asserted
|
|
572
|
+
// includeSubDomains directive or a congruent match (with or without an
|
|
573
|
+
// asserted includeSubDomains directive). [HSTS]
|
|
574
|
+
// TODO
|
|
575
|
+
|
|
576
|
+
// 10. If recursive is false, then run the remaining steps in parallel.
|
|
577
|
+
// TODO
|
|
578
|
+
|
|
579
|
+
// 11. If response is null, then set response to the result of running
|
|
580
|
+
// the steps corresponding to the first matching statement:
|
|
581
|
+
if (response === null) {
|
|
582
|
+
const currentURL = requestCurrentURL(request)
|
|
583
|
+
if (
|
|
584
|
+
// - request’s current URL’s origin is same origin with request’s origin,
|
|
585
|
+
// and request’s response tainting is "basic"
|
|
586
|
+
(sameOrigin(currentURL, request.url) && request.responseTainting === 'basic') ||
|
|
587
|
+
// request’s current URL’s scheme is "data"
|
|
588
|
+
(currentURL.protocol === 'data:') ||
|
|
589
|
+
// - request’s mode is "navigate" or "websocket"
|
|
590
|
+
(request.mode === 'navigate' || request.mode === 'websocket')
|
|
591
|
+
) {
|
|
592
|
+
// 1. Set request’s response tainting to "basic".
|
|
593
|
+
request.responseTainting = 'basic'
|
|
594
|
+
|
|
595
|
+
// 2. Return the result of running scheme fetch given fetchParams.
|
|
596
|
+
response = await schemeFetch(fetchParams)
|
|
597
|
+
|
|
598
|
+
// request’s mode is "same-origin"
|
|
599
|
+
} else if (request.mode === 'same-origin') {
|
|
600
|
+
// 1. Return a network error.
|
|
601
|
+
response = makeNetworkError('request mode cannot be "same-origin"')
|
|
602
|
+
|
|
603
|
+
// request’s mode is "no-cors"
|
|
604
|
+
} else if (request.mode === 'no-cors') {
|
|
605
|
+
// 1. If request’s redirect mode is not "follow", then return a network
|
|
606
|
+
// error.
|
|
607
|
+
if (request.redirect !== 'follow') {
|
|
608
|
+
response = makeNetworkError(
|
|
609
|
+
'redirect mode cannot be "follow" for "no-cors" request'
|
|
610
|
+
)
|
|
611
|
+
} else {
|
|
612
|
+
// 2. Set request’s response tainting to "opaque".
|
|
613
|
+
request.responseTainting = 'opaque'
|
|
614
|
+
|
|
615
|
+
// 3. Return the result of running scheme fetch given fetchParams.
|
|
616
|
+
response = await schemeFetch(fetchParams)
|
|
617
|
+
}
|
|
618
|
+
// request’s current URL’s scheme is not an HTTP(S) scheme
|
|
619
|
+
} else if (!urlIsHttpHttpsScheme(requestCurrentURL(request))) {
|
|
620
|
+
// Return a network error.
|
|
621
|
+
response = makeNetworkError('URL scheme must be a HTTP(S) scheme')
|
|
622
|
+
|
|
623
|
+
// - request’s use-CORS-preflight flag is set
|
|
624
|
+
// - request’s unsafe-request flag is set and either request’s method is
|
|
625
|
+
// not a CORS-safelisted method or CORS-unsafe request-header names with
|
|
626
|
+
// request’s header list is not empty
|
|
627
|
+
// 1. Set request’s response tainting to "cors".
|
|
628
|
+
// 2. Let corsWithPreflightResponse be the result of running HTTP fetch
|
|
629
|
+
// given fetchParams and true.
|
|
630
|
+
// 3. If corsWithPreflightResponse is a network error, then clear cache
|
|
631
|
+
// entries using request.
|
|
632
|
+
// 4. Return corsWithPreflightResponse.
|
|
633
|
+
// TODO
|
|
634
|
+
|
|
635
|
+
// Otherwise
|
|
636
|
+
} else {
|
|
637
|
+
// 1. Set request’s response tainting to "cors".
|
|
638
|
+
request.responseTainting = 'cors'
|
|
639
|
+
|
|
640
|
+
// 2. Return the result of running HTTP fetch given fetchParams.
|
|
641
|
+
response = await httpFetch(fetchParams)
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
// 12. If recursive is true, then return response.
|
|
646
|
+
if (recursive) {
|
|
647
|
+
return response
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
// 13. If response is not a network error and response is not a filtered
|
|
651
|
+
// response, then:
|
|
652
|
+
if (response.status !== 0 && !response.internalResponse) {
|
|
653
|
+
// If request’s response tainting is "cors", then:
|
|
654
|
+
if (request.responseTainting === 'cors') {
|
|
655
|
+
// 1. Let headerNames be the result of extracting header list values
|
|
656
|
+
// given `Access-Control-Expose-Headers` and response’s header list.
|
|
657
|
+
// TODO
|
|
658
|
+
// 2. If request’s credentials mode is not "include" and headerNames
|
|
659
|
+
// contains `*`, then set response’s CORS-exposed header-name list to
|
|
660
|
+
// all unique header names in response’s header list.
|
|
661
|
+
// TODO
|
|
662
|
+
// 3. Otherwise, if headerNames is not null or failure, then set
|
|
663
|
+
// response’s CORS-exposed header-name list to headerNames.
|
|
664
|
+
// TODO
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
// Set response to the following filtered response with response as its
|
|
668
|
+
// internal response, depending on request’s response tainting:
|
|
669
|
+
if (request.responseTainting === 'basic') {
|
|
670
|
+
response = filterResponse(response, 'basic')
|
|
671
|
+
} else if (request.responseTainting === 'cors') {
|
|
672
|
+
response = filterResponse(response, 'cors')
|
|
673
|
+
} else if (request.responseTainting === 'opaque') {
|
|
674
|
+
response = filterResponse(response, 'opaque')
|
|
675
|
+
} else {
|
|
676
|
+
assert(false)
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
// 14. Let internalResponse be response, if response is a network error,
|
|
681
|
+
// and response’s internal response otherwise.
|
|
682
|
+
let internalResponse =
|
|
683
|
+
response.status === 0 ? response : response.internalResponse
|
|
684
|
+
|
|
685
|
+
// 15. If internalResponse’s URL list is empty, then set it to a clone of
|
|
686
|
+
// request’s URL list.
|
|
687
|
+
if (internalResponse.urlList.length === 0) {
|
|
688
|
+
internalResponse.urlList.push(...request.urlList)
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
// 16. If request’s timing allow failed flag is unset, then set
|
|
692
|
+
// internalResponse’s timing allow passed flag.
|
|
693
|
+
if (!request.timingAllowFailed) {
|
|
694
|
+
response.timingAllowPassed = true
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
// 17. If response is not a network error and any of the following returns
|
|
698
|
+
// blocked
|
|
699
|
+
// - should internalResponse to request be blocked as mixed content
|
|
700
|
+
// - should internalResponse to request be blocked by Content Security Policy
|
|
701
|
+
// - should internalResponse to request be blocked due to its MIME type
|
|
702
|
+
// - should internalResponse to request be blocked due to nosniff
|
|
703
|
+
// TODO
|
|
704
|
+
|
|
705
|
+
// 18. If response’s type is "opaque", internalResponse’s status is 206,
|
|
706
|
+
// internalResponse’s range-requested flag is set, and request’s header
|
|
707
|
+
// list does not contain `Range`, then set response and internalResponse
|
|
708
|
+
// to a network error.
|
|
709
|
+
if (
|
|
710
|
+
response.type === 'opaque' &&
|
|
711
|
+
internalResponse.status === 206 &&
|
|
712
|
+
internalResponse.rangeRequested &&
|
|
713
|
+
!request.headers.contains('range', true)
|
|
714
|
+
) {
|
|
715
|
+
response = internalResponse = makeNetworkError()
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
// 19. If response is not a network error and either request’s method is
|
|
719
|
+
// `HEAD` or `CONNECT`, or internalResponse’s status is a null body status,
|
|
720
|
+
// set internalResponse’s body to null and disregard any enqueuing toward
|
|
721
|
+
// it (if any).
|
|
722
|
+
if (
|
|
723
|
+
response.status !== 0 &&
|
|
724
|
+
(request.method === 'HEAD' ||
|
|
725
|
+
request.method === 'CONNECT' ||
|
|
726
|
+
nullBodyStatus.includes(internalResponse.status))
|
|
727
|
+
) {
|
|
728
|
+
internalResponse.body = null
|
|
729
|
+
fetchParams.controller.dump = true
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
// 20. If request’s integrity metadata is not the empty string, then:
|
|
733
|
+
if (request.integrity) {
|
|
734
|
+
// 1. Let processBodyError be this step: run fetch finale given fetchParams
|
|
735
|
+
// and a network error.
|
|
736
|
+
const processBodyError = (reason) =>
|
|
737
|
+
fetchFinale(fetchParams, makeNetworkError(reason))
|
|
738
|
+
|
|
739
|
+
// 2. If request’s response tainting is "opaque", or response’s body is null,
|
|
740
|
+
// then run processBodyError and abort these steps.
|
|
741
|
+
if (request.responseTainting === 'opaque' || response.body == null) {
|
|
742
|
+
processBodyError(response.error)
|
|
743
|
+
return
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
// 3. Let processBody given bytes be these steps:
|
|
747
|
+
const processBody = (bytes) => {
|
|
748
|
+
// 1. If bytes do not match request’s integrity metadata,
|
|
749
|
+
// then run processBodyError and abort these steps. [SRI]
|
|
750
|
+
if (!bytesMatch(bytes, request.integrity)) {
|
|
751
|
+
processBodyError('integrity mismatch')
|
|
752
|
+
return
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
// 2. Set response’s body to bytes as a body.
|
|
756
|
+
response.body = safelyExtractBody(bytes)[0]
|
|
757
|
+
|
|
758
|
+
// 3. Run fetch finale given fetchParams and response.
|
|
759
|
+
fetchFinale(fetchParams, response)
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
// 4. Fully read response’s body given processBody and processBodyError.
|
|
763
|
+
fullyReadBody(response.body, processBody, processBodyError)
|
|
764
|
+
} else {
|
|
765
|
+
// 21. Otherwise, run fetch finale given fetchParams and response.
|
|
766
|
+
fetchFinale(fetchParams, response)
|
|
767
|
+
}
|
|
768
|
+
} catch (err) {
|
|
769
|
+
fetchParams.controller.terminate(err)
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
// https://fetch.spec.whatwg.org/#concept-scheme-fetch
|
|
774
|
+
// given a fetch params fetchParams
|
|
775
|
+
function schemeFetch (fetchParams) {
|
|
776
|
+
// Note: since the connection is destroyed on redirect, which sets fetchParams to a
|
|
777
|
+
// cancelled state, we do not want this condition to trigger *unless* there have been
|
|
778
|
+
// no redirects. See https://github.com/nodejs/undici/issues/1776
|
|
779
|
+
// 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.
|
|
780
|
+
if (isCancelled(fetchParams) && fetchParams.request.redirectCount === 0) {
|
|
781
|
+
return Promise.resolve(makeAppropriateNetworkError(fetchParams))
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
// 2. Let request be fetchParams’s request.
|
|
785
|
+
const { request } = fetchParams
|
|
786
|
+
|
|
787
|
+
const { protocol: scheme } = requestCurrentURL(request)
|
|
788
|
+
|
|
789
|
+
// 3. Switch on request’s current URL’s scheme and run the associated steps:
|
|
790
|
+
switch (scheme) {
|
|
791
|
+
case 'about:': {
|
|
792
|
+
// If request’s current URL’s path is the string "blank", then return a new response
|
|
793
|
+
// whose status message is `OK`, header list is « (`Content-Type`, `text/html;charset=utf-8`) »,
|
|
794
|
+
// and body is the empty byte sequence as a body.
|
|
795
|
+
|
|
796
|
+
// Otherwise, return a network error.
|
|
797
|
+
return Promise.resolve(makeNetworkError('about scheme is not supported'))
|
|
798
|
+
}
|
|
799
|
+
case 'blob:': {
|
|
800
|
+
if (!resolveObjectURL) {
|
|
801
|
+
resolveObjectURL = require('node:buffer').resolveObjectURL
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
// 1. Let blobURLEntry be request’s current URL’s blob URL entry.
|
|
805
|
+
const blobURLEntry = requestCurrentURL(request)
|
|
806
|
+
|
|
807
|
+
// https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/FileAPI/url/resources/fetch-tests.js#L52-L56
|
|
808
|
+
// Buffer.resolveObjectURL does not ignore URL queries.
|
|
809
|
+
if (blobURLEntry.search.length !== 0) {
|
|
810
|
+
return Promise.resolve(makeNetworkError('NetworkError when attempting to fetch resource.'))
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
const blob = resolveObjectURL(blobURLEntry.toString())
|
|
814
|
+
|
|
815
|
+
// 2. If request’s method is not `GET`, blobURLEntry is null, or blobURLEntry’s
|
|
816
|
+
// object is not a Blob object, then return a network error.
|
|
817
|
+
if (request.method !== 'GET' || !webidl.is.Blob(blob)) {
|
|
818
|
+
return Promise.resolve(makeNetworkError('invalid method'))
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
// 3. Let blob be blobURLEntry’s object.
|
|
822
|
+
// Note: done above
|
|
823
|
+
|
|
824
|
+
// 4. Let response be a new response.
|
|
825
|
+
const response = makeResponse()
|
|
826
|
+
|
|
827
|
+
// 5. Let fullLength be blob’s size.
|
|
828
|
+
const fullLength = blob.size
|
|
829
|
+
|
|
830
|
+
// 6. Let serializedFullLength be fullLength, serialized and isomorphic encoded.
|
|
831
|
+
const serializedFullLength = isomorphicEncode(`${fullLength}`)
|
|
832
|
+
|
|
833
|
+
// 7. Let type be blob’s type.
|
|
834
|
+
const type = blob.type
|
|
835
|
+
|
|
836
|
+
// 8. If request’s header list does not contain `Range`:
|
|
837
|
+
// 9. Otherwise:
|
|
838
|
+
if (!request.headersList.contains('range', true)) {
|
|
839
|
+
// 1. Let bodyWithType be the result of safely extracting blob.
|
|
840
|
+
// Note: in the FileAPI a blob "object" is a Blob *or* a MediaSource.
|
|
841
|
+
// In node, this can only ever be a Blob. Therefore we can safely
|
|
842
|
+
// use extractBody directly.
|
|
843
|
+
const bodyWithType = extractBody(blob)
|
|
844
|
+
|
|
845
|
+
// 2. Set response’s status message to `OK`.
|
|
846
|
+
response.statusText = 'OK'
|
|
847
|
+
|
|
848
|
+
// 3. Set response’s body to bodyWithType’s body.
|
|
849
|
+
response.body = bodyWithType[0]
|
|
850
|
+
|
|
851
|
+
// 4. Set response’s header list to « (`Content-Length`, serializedFullLength), (`Content-Type`, type) ».
|
|
852
|
+
response.headersList.set('content-length', serializedFullLength, true)
|
|
853
|
+
response.headersList.set('content-type', type, true)
|
|
854
|
+
} else {
|
|
855
|
+
// 1. Set response’s range-requested flag.
|
|
856
|
+
response.rangeRequested = true
|
|
857
|
+
|
|
858
|
+
// 2. Let rangeHeader be the result of getting `Range` from request’s header list.
|
|
859
|
+
const rangeHeader = request.headersList.get('range', true)
|
|
860
|
+
|
|
861
|
+
// 3. Let rangeValue be the result of parsing a single range header value given rangeHeader and true.
|
|
862
|
+
const rangeValue = simpleRangeHeaderValue(rangeHeader, true)
|
|
863
|
+
|
|
864
|
+
// 4. If rangeValue is failure, then return a network error.
|
|
865
|
+
if (rangeValue === 'failure') {
|
|
866
|
+
return Promise.resolve(makeNetworkError('failed to fetch the data URL'))
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
// 5. Let (rangeStart, rangeEnd) be rangeValue.
|
|
870
|
+
let { rangeStartValue: rangeStart, rangeEndValue: rangeEnd } = rangeValue
|
|
871
|
+
|
|
872
|
+
// 6. If rangeStart is null:
|
|
873
|
+
// 7. Otherwise:
|
|
874
|
+
if (rangeStart === null) {
|
|
875
|
+
// 1. Set rangeStart to fullLength − rangeEnd.
|
|
876
|
+
rangeStart = fullLength - rangeEnd
|
|
877
|
+
|
|
878
|
+
// 2. Set rangeEnd to rangeStart + rangeEnd − 1.
|
|
879
|
+
rangeEnd = rangeStart + rangeEnd - 1
|
|
880
|
+
} else {
|
|
881
|
+
// 1. If rangeStart is greater than or equal to fullLength, then return a network error.
|
|
882
|
+
if (rangeStart >= fullLength) {
|
|
883
|
+
return Promise.resolve(makeNetworkError('Range start is greater than the blob\'s size.'))
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
// 2. If rangeEnd is null or rangeEnd is greater than or equal to fullLength, then set
|
|
887
|
+
// rangeEnd to fullLength − 1.
|
|
888
|
+
if (rangeEnd === null || rangeEnd >= fullLength) {
|
|
889
|
+
rangeEnd = fullLength - 1
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
// 8. Let slicedBlob be the result of invoking slice blob given blob, rangeStart,
|
|
894
|
+
// rangeEnd + 1, and type.
|
|
895
|
+
const slicedBlob = blob.slice(rangeStart, rangeEnd + 1, type)
|
|
896
|
+
|
|
897
|
+
// 9. Let slicedBodyWithType be the result of safely extracting slicedBlob.
|
|
898
|
+
// Note: same reason as mentioned above as to why we use extractBody
|
|
899
|
+
const slicedBodyWithType = extractBody(slicedBlob)
|
|
900
|
+
|
|
901
|
+
// 10. Set response’s body to slicedBodyWithType’s body.
|
|
902
|
+
response.body = slicedBodyWithType[0]
|
|
903
|
+
|
|
904
|
+
// 11. Let serializedSlicedLength be slicedBlob’s size, serialized and isomorphic encoded.
|
|
905
|
+
const serializedSlicedLength = isomorphicEncode(`${slicedBlob.size}`)
|
|
906
|
+
|
|
907
|
+
// 12. Let contentRange be the result of invoking build a content range given rangeStart,
|
|
908
|
+
// rangeEnd, and fullLength.
|
|
909
|
+
const contentRange = buildContentRange(rangeStart, rangeEnd, fullLength)
|
|
910
|
+
|
|
911
|
+
// 13. Set response’s status to 206.
|
|
912
|
+
response.status = 206
|
|
913
|
+
|
|
914
|
+
// 14. Set response’s status message to `Partial Content`.
|
|
915
|
+
response.statusText = 'Partial Content'
|
|
916
|
+
|
|
917
|
+
// 15. Set response’s header list to « (`Content-Length`, serializedSlicedLength),
|
|
918
|
+
// (`Content-Type`, type), (`Content-Range`, contentRange) ».
|
|
919
|
+
response.headersList.set('content-length', serializedSlicedLength, true)
|
|
920
|
+
response.headersList.set('content-type', type, true)
|
|
921
|
+
response.headersList.set('content-range', contentRange, true)
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
// 10. Return response.
|
|
925
|
+
return Promise.resolve(response)
|
|
926
|
+
}
|
|
927
|
+
case 'data:': {
|
|
928
|
+
// 1. Let dataURLStruct be the result of running the
|
|
929
|
+
// data: URL processor on request’s current URL.
|
|
930
|
+
const currentURL = requestCurrentURL(request)
|
|
931
|
+
const dataURLStruct = dataURLProcessor(currentURL)
|
|
932
|
+
|
|
933
|
+
// 2. If dataURLStruct is failure, then return a
|
|
934
|
+
// network error.
|
|
935
|
+
if (dataURLStruct === 'failure') {
|
|
936
|
+
return Promise.resolve(makeNetworkError('failed to fetch the data URL'))
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
// 3. Let mimeType be dataURLStruct’s MIME type, serialized.
|
|
940
|
+
const mimeType = serializeAMimeType(dataURLStruct.mimeType)
|
|
941
|
+
|
|
942
|
+
// 4. Return a response whose status message is `OK`,
|
|
943
|
+
// header list is « (`Content-Type`, mimeType) »,
|
|
944
|
+
// and body is dataURLStruct’s body as a body.
|
|
945
|
+
return Promise.resolve(makeResponse({
|
|
946
|
+
statusText: 'OK',
|
|
947
|
+
headersList: [
|
|
948
|
+
['content-type', { name: 'Content-Type', value: mimeType }]
|
|
949
|
+
],
|
|
950
|
+
body: safelyExtractBody(dataURLStruct.body)[0]
|
|
951
|
+
}))
|
|
952
|
+
}
|
|
953
|
+
case 'file:': {
|
|
954
|
+
// For now, unfortunate as it is, file URLs are left as an exercise for the reader.
|
|
955
|
+
// When in doubt, return a network error.
|
|
956
|
+
return Promise.resolve(makeNetworkError('not implemented... yet...'))
|
|
957
|
+
}
|
|
958
|
+
case 'http:':
|
|
959
|
+
case 'https:': {
|
|
960
|
+
// Return the result of running HTTP fetch given fetchParams.
|
|
961
|
+
|
|
962
|
+
return httpFetch(fetchParams)
|
|
963
|
+
.catch((err) => makeNetworkError(err))
|
|
964
|
+
}
|
|
965
|
+
default: {
|
|
966
|
+
return Promise.resolve(makeNetworkError('unknown scheme'))
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
// https://fetch.spec.whatwg.org/#finalize-response
|
|
972
|
+
function finalizeResponse (fetchParams, response) {
|
|
973
|
+
// 1. Set fetchParams’s request’s done flag.
|
|
974
|
+
fetchParams.request.done = true
|
|
975
|
+
|
|
976
|
+
// 2, If fetchParams’s process response done is not null, then queue a fetch
|
|
977
|
+
// task to run fetchParams’s process response done given response, with
|
|
978
|
+
// fetchParams’s task destination.
|
|
979
|
+
if (fetchParams.processResponseDone != null) {
|
|
980
|
+
queueMicrotask(() => fetchParams.processResponseDone(response))
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
// https://fetch.spec.whatwg.org/#fetch-finale
|
|
985
|
+
function fetchFinale (fetchParams, response) {
|
|
986
|
+
// 1. Let timingInfo be fetchParams’s timing info.
|
|
987
|
+
let timingInfo = fetchParams.timingInfo
|
|
988
|
+
|
|
989
|
+
// 2. If response is not a network error and fetchParams’s request’s client is a secure context,
|
|
990
|
+
// then set timingInfo’s server-timing headers to the result of getting, decoding, and splitting
|
|
991
|
+
// `Server-Timing` from response’s internal response’s header list.
|
|
992
|
+
// TODO
|
|
993
|
+
|
|
994
|
+
// 3. Let processResponseEndOfBody be the following steps:
|
|
995
|
+
const processResponseEndOfBody = () => {
|
|
996
|
+
// 1. Let unsafeEndTime be the unsafe shared current time.
|
|
997
|
+
const unsafeEndTime = Date.now() // ?
|
|
998
|
+
|
|
999
|
+
// 2. If fetchParams’s request’s destination is "document", then set fetchParams’s controller’s
|
|
1000
|
+
// full timing info to fetchParams’s timing info.
|
|
1001
|
+
if (fetchParams.request.destination === 'document') {
|
|
1002
|
+
fetchParams.controller.fullTimingInfo = timingInfo
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
// 3. Set fetchParams’s controller’s report timing steps to the following steps given a global object global:
|
|
1006
|
+
fetchParams.controller.reportTimingSteps = () => {
|
|
1007
|
+
// 1. If fetchParams’s request’s URL’s scheme is not an HTTP(S) scheme, then return.
|
|
1008
|
+
if (!urlIsHttpHttpsScheme(fetchParams.request.url)) {
|
|
1009
|
+
return
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
// 2. Set timingInfo’s end time to the relative high resolution time given unsafeEndTime and global.
|
|
1013
|
+
timingInfo.endTime = unsafeEndTime
|
|
1014
|
+
|
|
1015
|
+
// 3. Let cacheState be response’s cache state.
|
|
1016
|
+
let cacheState = response.cacheState
|
|
1017
|
+
|
|
1018
|
+
// 4. Let bodyInfo be response’s body info.
|
|
1019
|
+
const bodyInfo = response.bodyInfo
|
|
1020
|
+
|
|
1021
|
+
// 5. If response’s timing allow passed flag is not set, then set timingInfo to the result of creating an
|
|
1022
|
+
// opaque timing info for timingInfo and set cacheState to the empty string.
|
|
1023
|
+
if (!response.timingAllowPassed) {
|
|
1024
|
+
timingInfo = createOpaqueTimingInfo(timingInfo)
|
|
1025
|
+
|
|
1026
|
+
cacheState = ''
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
// 6. Let responseStatus be 0.
|
|
1030
|
+
let responseStatus = 0
|
|
1031
|
+
|
|
1032
|
+
// 7. If fetchParams’s request’s mode is not "navigate" or response’s has-cross-origin-redirects is false:
|
|
1033
|
+
if (fetchParams.request.mode !== 'navigate' || !response.hasCrossOriginRedirects) {
|
|
1034
|
+
// 1. Set responseStatus to response’s status.
|
|
1035
|
+
responseStatus = response.status
|
|
1036
|
+
|
|
1037
|
+
// 2. Let mimeType be the result of extracting a MIME type from response’s header list.
|
|
1038
|
+
const mimeType = extractMimeType(response.headersList)
|
|
1039
|
+
|
|
1040
|
+
// 3. If mimeType is not failure, then set bodyInfo’s content type to the result of minimizing a supported MIME type given mimeType.
|
|
1041
|
+
if (mimeType !== 'failure') {
|
|
1042
|
+
bodyInfo.contentType = minimizeSupportedMimeType(mimeType)
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
// 8. If fetchParams’s request’s initiator type is non-null, then mark resource timing given timingInfo,
|
|
1047
|
+
// fetchParams’s request’s URL, fetchParams’s request’s initiator type, global, cacheState, bodyInfo,
|
|
1048
|
+
// and responseStatus.
|
|
1049
|
+
if (fetchParams.request.initiatorType != null) {
|
|
1050
|
+
markResourceTiming(timingInfo, fetchParams.request.url.href, fetchParams.request.initiatorType, globalThis, cacheState, bodyInfo, responseStatus)
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
// 4. Let processResponseEndOfBodyTask be the following steps:
|
|
1055
|
+
const processResponseEndOfBodyTask = () => {
|
|
1056
|
+
// 1. Set fetchParams’s request’s done flag.
|
|
1057
|
+
fetchParams.request.done = true
|
|
1058
|
+
|
|
1059
|
+
// 2. If fetchParams’s process response end-of-body is non-null, then run fetchParams’s process
|
|
1060
|
+
// response end-of-body given response.
|
|
1061
|
+
if (fetchParams.processResponseEndOfBody != null) {
|
|
1062
|
+
queueMicrotask(() => fetchParams.processResponseEndOfBody(response))
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
// 3. If fetchParams’s request’s initiator type is non-null and fetchParams’s request’s client’s
|
|
1066
|
+
// global object is fetchParams’s task destination, then run fetchParams’s controller’s report
|
|
1067
|
+
// timing steps given fetchParams’s request’s client’s global object.
|
|
1068
|
+
if (fetchParams.request.initiatorType != null) {
|
|
1069
|
+
fetchParams.controller.reportTimingSteps()
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
// 5. Queue a fetch task to run processResponseEndOfBodyTask with fetchParams’s task destination
|
|
1074
|
+
queueMicrotask(() => processResponseEndOfBodyTask())
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
// 4. If fetchParams’s process response is non-null, then queue a fetch task to run fetchParams’s
|
|
1078
|
+
// process response given response, with fetchParams’s task destination.
|
|
1079
|
+
if (fetchParams.processResponse != null) {
|
|
1080
|
+
queueMicrotask(() => {
|
|
1081
|
+
fetchParams.processResponse(response)
|
|
1082
|
+
fetchParams.processResponse = null
|
|
1083
|
+
})
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
// 5. Let internalResponse be response, if response is a network error; otherwise response’s internal response.
|
|
1087
|
+
const internalResponse = response.type === 'error' ? response : (response.internalResponse ?? response)
|
|
1088
|
+
|
|
1089
|
+
// 6. If internalResponse’s body is null, then run processResponseEndOfBody.
|
|
1090
|
+
// 7. Otherwise:
|
|
1091
|
+
if (internalResponse.body == null) {
|
|
1092
|
+
processResponseEndOfBody()
|
|
1093
|
+
} else {
|
|
1094
|
+
// mcollina: all the following steps of the specs are skipped.
|
|
1095
|
+
// The internal transform stream is not needed.
|
|
1096
|
+
// See https://github.com/nodejs/undici/pull/3093#issuecomment-2050198541
|
|
1097
|
+
|
|
1098
|
+
// 1. Let transformStream be a new TransformStream.
|
|
1099
|
+
// 2. Let identityTransformAlgorithm be an algorithm which, given chunk, enqueues chunk in transformStream.
|
|
1100
|
+
// 3. Set up transformStream with transformAlgorithm set to identityTransformAlgorithm and flushAlgorithm
|
|
1101
|
+
// set to processResponseEndOfBody.
|
|
1102
|
+
// 4. Set internalResponse’s body’s stream to the result of internalResponse’s body’s stream piped through transformStream.
|
|
1103
|
+
|
|
1104
|
+
finished(internalResponse.body.stream, () => {
|
|
1105
|
+
processResponseEndOfBody()
|
|
1106
|
+
})
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
// https://fetch.spec.whatwg.org/#http-fetch
|
|
1111
|
+
async function httpFetch (fetchParams) {
|
|
1112
|
+
// 1. Let request be fetchParams’s request.
|
|
1113
|
+
const request = fetchParams.request
|
|
1114
|
+
|
|
1115
|
+
// 2. Let response be null.
|
|
1116
|
+
let response = null
|
|
1117
|
+
|
|
1118
|
+
// 3. Let actualResponse be null.
|
|
1119
|
+
let actualResponse = null
|
|
1120
|
+
|
|
1121
|
+
// 4. Let timingInfo be fetchParams’s timing info.
|
|
1122
|
+
const timingInfo = fetchParams.timingInfo
|
|
1123
|
+
|
|
1124
|
+
// 5. If request’s service-workers mode is "all", then:
|
|
1125
|
+
if (request.serviceWorkers === 'all') {
|
|
1126
|
+
// TODO
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
// 6. If response is null, then:
|
|
1130
|
+
if (response === null) {
|
|
1131
|
+
// 1. If makeCORSPreflight is true and one of these conditions is true:
|
|
1132
|
+
// TODO
|
|
1133
|
+
|
|
1134
|
+
// 2. If request’s redirect mode is "follow", then set request’s
|
|
1135
|
+
// service-workers mode to "none".
|
|
1136
|
+
if (request.redirect === 'follow') {
|
|
1137
|
+
request.serviceWorkers = 'none'
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
// 3. Set response and actualResponse to the result of running
|
|
1141
|
+
// HTTP-network-or-cache fetch given fetchParams.
|
|
1142
|
+
actualResponse = response = await httpNetworkOrCacheFetch(fetchParams)
|
|
1143
|
+
|
|
1144
|
+
// 4. If request’s response tainting is "cors" and a CORS check
|
|
1145
|
+
// for request and response returns failure, then return a network error.
|
|
1146
|
+
if (
|
|
1147
|
+
request.responseTainting === 'cors' &&
|
|
1148
|
+
corsCheck(request, response) === 'failure'
|
|
1149
|
+
) {
|
|
1150
|
+
return makeNetworkError('cors failure')
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
// 5. If the TAO check for request and response returns failure, then set
|
|
1154
|
+
// request’s timing allow failed flag.
|
|
1155
|
+
if (TAOCheck(request, response) === 'failure') {
|
|
1156
|
+
request.timingAllowFailed = true
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
// 7. If either request’s response tainting or response’s type
|
|
1161
|
+
// is "opaque", and the cross-origin resource policy check with
|
|
1162
|
+
// request’s origin, request’s client, request’s destination,
|
|
1163
|
+
// and actualResponse returns blocked, then return a network error.
|
|
1164
|
+
if (
|
|
1165
|
+
(request.responseTainting === 'opaque' || response.type === 'opaque') &&
|
|
1166
|
+
crossOriginResourcePolicyCheck(
|
|
1167
|
+
request.origin,
|
|
1168
|
+
request.client,
|
|
1169
|
+
request.destination,
|
|
1170
|
+
actualResponse
|
|
1171
|
+
) === 'blocked'
|
|
1172
|
+
) {
|
|
1173
|
+
return makeNetworkError('blocked')
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
// 8. If actualResponse’s status is a redirect status, then:
|
|
1177
|
+
if (redirectStatusSet.has(actualResponse.status)) {
|
|
1178
|
+
// 1. If actualResponse’s status is not 303, request’s body is not null,
|
|
1179
|
+
// and the connection uses HTTP/2, then user agents may, and are even
|
|
1180
|
+
// encouraged to, transmit an RST_STREAM frame.
|
|
1181
|
+
// See, https://github.com/whatwg/fetch/issues/1288
|
|
1182
|
+
if (request.redirect !== 'manual') {
|
|
1183
|
+
fetchParams.controller.connection.destroy(undefined, false)
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
// 2. Switch on request’s redirect mode:
|
|
1187
|
+
if (request.redirect === 'error') {
|
|
1188
|
+
// Set response to a network error.
|
|
1189
|
+
response = makeNetworkError('unexpected redirect')
|
|
1190
|
+
} else if (request.redirect === 'manual') {
|
|
1191
|
+
// Set response to an opaque-redirect filtered response whose internal
|
|
1192
|
+
// response is actualResponse.
|
|
1193
|
+
// NOTE(spec): On the web this would return an `opaqueredirect` response,
|
|
1194
|
+
// but that doesn't make sense server side.
|
|
1195
|
+
// See https://github.com/nodejs/undici/issues/1193.
|
|
1196
|
+
response = actualResponse
|
|
1197
|
+
} else if (request.redirect === 'follow') {
|
|
1198
|
+
// Set response to the result of running HTTP-redirect fetch given
|
|
1199
|
+
// fetchParams and response.
|
|
1200
|
+
response = await httpRedirectFetch(fetchParams, response)
|
|
1201
|
+
} else {
|
|
1202
|
+
assert(false)
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
// 9. Set response’s timing info to timingInfo.
|
|
1207
|
+
response.timingInfo = timingInfo
|
|
1208
|
+
|
|
1209
|
+
// 10. Return response.
|
|
1210
|
+
return response
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
// https://fetch.spec.whatwg.org/#http-redirect-fetch
|
|
1214
|
+
function httpRedirectFetch (fetchParams, response) {
|
|
1215
|
+
// 1. Let request be fetchParams’s request.
|
|
1216
|
+
const request = fetchParams.request
|
|
1217
|
+
|
|
1218
|
+
// 2. Let actualResponse be response, if response is not a filtered response,
|
|
1219
|
+
// and response’s internal response otherwise.
|
|
1220
|
+
const actualResponse = response.internalResponse
|
|
1221
|
+
? response.internalResponse
|
|
1222
|
+
: response
|
|
1223
|
+
|
|
1224
|
+
// 3. Let locationURL be actualResponse’s location URL given request’s current
|
|
1225
|
+
// URL’s fragment.
|
|
1226
|
+
let locationURL
|
|
1227
|
+
|
|
1228
|
+
try {
|
|
1229
|
+
locationURL = responseLocationURL(
|
|
1230
|
+
actualResponse,
|
|
1231
|
+
requestCurrentURL(request).hash
|
|
1232
|
+
)
|
|
1233
|
+
|
|
1234
|
+
// 4. If locationURL is null, then return response.
|
|
1235
|
+
if (locationURL == null) {
|
|
1236
|
+
return response
|
|
1237
|
+
}
|
|
1238
|
+
} catch (err) {
|
|
1239
|
+
// 5. If locationURL is failure, then return a network error.
|
|
1240
|
+
return Promise.resolve(makeNetworkError(err))
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
// 6. If locationURL’s scheme is not an HTTP(S) scheme, then return a network
|
|
1244
|
+
// error.
|
|
1245
|
+
if (!urlIsHttpHttpsScheme(locationURL)) {
|
|
1246
|
+
return Promise.resolve(makeNetworkError('URL scheme must be a HTTP(S) scheme'))
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
// 7. If request’s redirect count is 20, then return a network error.
|
|
1250
|
+
if (request.redirectCount === 20) {
|
|
1251
|
+
return Promise.resolve(makeNetworkError('redirect count exceeded'))
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
// 8. Increase request’s redirect count by 1.
|
|
1255
|
+
request.redirectCount += 1
|
|
1256
|
+
|
|
1257
|
+
// 9. If request’s mode is "cors", locationURL includes credentials, and
|
|
1258
|
+
// request’s origin is not same origin with locationURL’s origin, then return
|
|
1259
|
+
// a network error.
|
|
1260
|
+
if (
|
|
1261
|
+
request.mode === 'cors' &&
|
|
1262
|
+
(locationURL.username || locationURL.password) &&
|
|
1263
|
+
!sameOrigin(request, locationURL)
|
|
1264
|
+
) {
|
|
1265
|
+
return Promise.resolve(makeNetworkError('cross origin not allowed for request mode "cors"'))
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
// 10. If request’s response tainting is "cors" and locationURL includes
|
|
1269
|
+
// credentials, then return a network error.
|
|
1270
|
+
if (
|
|
1271
|
+
request.responseTainting === 'cors' &&
|
|
1272
|
+
(locationURL.username || locationURL.password)
|
|
1273
|
+
) {
|
|
1274
|
+
return Promise.resolve(makeNetworkError(
|
|
1275
|
+
'URL cannot contain credentials for request mode "cors"'
|
|
1276
|
+
))
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
// 11. If actualResponse’s status is not 303, request’s body is non-null,
|
|
1280
|
+
// and request’s body’s source is null, then return a network error.
|
|
1281
|
+
if (
|
|
1282
|
+
actualResponse.status !== 303 &&
|
|
1283
|
+
request.body != null &&
|
|
1284
|
+
request.body.source == null
|
|
1285
|
+
) {
|
|
1286
|
+
return Promise.resolve(makeNetworkError())
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
// 12. If one of the following is true
|
|
1290
|
+
// - actualResponse’s status is 301 or 302 and request’s method is `POST`
|
|
1291
|
+
// - actualResponse’s status is 303 and request’s method is not `GET` or `HEAD`
|
|
1292
|
+
if (
|
|
1293
|
+
([301, 302].includes(actualResponse.status) && request.method === 'POST') ||
|
|
1294
|
+
(actualResponse.status === 303 &&
|
|
1295
|
+
!GET_OR_HEAD.includes(request.method))
|
|
1296
|
+
) {
|
|
1297
|
+
// then:
|
|
1298
|
+
// 1. Set request’s method to `GET` and request’s body to null.
|
|
1299
|
+
request.method = 'GET'
|
|
1300
|
+
request.body = null
|
|
1301
|
+
|
|
1302
|
+
// 2. For each headerName of request-body-header name, delete headerName from
|
|
1303
|
+
// request’s header list.
|
|
1304
|
+
for (const headerName of requestBodyHeader) {
|
|
1305
|
+
request.headersList.delete(headerName)
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
// 13. If request’s current URL’s origin is not same origin with locationURL’s
|
|
1310
|
+
// origin, then for each headerName of CORS non-wildcard request-header name,
|
|
1311
|
+
// delete headerName from request’s header list.
|
|
1312
|
+
if (!sameOrigin(requestCurrentURL(request), locationURL)) {
|
|
1313
|
+
// https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name
|
|
1314
|
+
request.headersList.delete('authorization', true)
|
|
1315
|
+
|
|
1316
|
+
// https://fetch.spec.whatwg.org/#authentication-entries
|
|
1317
|
+
request.headersList.delete('proxy-authorization', true)
|
|
1318
|
+
|
|
1319
|
+
// "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement.
|
|
1320
|
+
request.headersList.delete('cookie', true)
|
|
1321
|
+
request.headersList.delete('host', true)
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
// 14. If request's body is non-null, then set request's body to the first return
|
|
1325
|
+
// value of safely extracting request's body's source.
|
|
1326
|
+
if (request.body != null) {
|
|
1327
|
+
assert(request.body.source != null)
|
|
1328
|
+
request.body = safelyExtractBody(request.body.source)[0]
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
// 15. Let timingInfo be fetchParams’s timing info.
|
|
1332
|
+
const timingInfo = fetchParams.timingInfo
|
|
1333
|
+
|
|
1334
|
+
// 16. Set timingInfo’s redirect end time and post-redirect start time to the
|
|
1335
|
+
// coarsened shared current time given fetchParams’s cross-origin isolated
|
|
1336
|
+
// capability.
|
|
1337
|
+
timingInfo.redirectEndTime = timingInfo.postRedirectStartTime =
|
|
1338
|
+
coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
|
|
1339
|
+
|
|
1340
|
+
// 17. If timingInfo’s redirect start time is 0, then set timingInfo’s
|
|
1341
|
+
// redirect start time to timingInfo’s start time.
|
|
1342
|
+
if (timingInfo.redirectStartTime === 0) {
|
|
1343
|
+
timingInfo.redirectStartTime = timingInfo.startTime
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
// 18. Append locationURL to request’s URL list.
|
|
1347
|
+
request.urlList.push(locationURL)
|
|
1348
|
+
|
|
1349
|
+
// 19. Invoke set request’s referrer policy on redirect on request and
|
|
1350
|
+
// actualResponse.
|
|
1351
|
+
setRequestReferrerPolicyOnRedirect(request, actualResponse)
|
|
1352
|
+
|
|
1353
|
+
// 20. Return the result of running main fetch given fetchParams and true.
|
|
1354
|
+
return mainFetch(fetchParams, true)
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
// https://fetch.spec.whatwg.org/#http-network-or-cache-fetch
|
|
1358
|
+
async function httpNetworkOrCacheFetch (
|
|
1359
|
+
fetchParams,
|
|
1360
|
+
isAuthenticationFetch = false,
|
|
1361
|
+
isNewConnectionFetch = false
|
|
1362
|
+
) {
|
|
1363
|
+
// 1. Let request be fetchParams’s request.
|
|
1364
|
+
const request = fetchParams.request
|
|
1365
|
+
|
|
1366
|
+
// 2. Let httpFetchParams be null.
|
|
1367
|
+
let httpFetchParams = null
|
|
1368
|
+
|
|
1369
|
+
// 3. Let httpRequest be null.
|
|
1370
|
+
let httpRequest = null
|
|
1371
|
+
|
|
1372
|
+
// 4. Let response be null.
|
|
1373
|
+
let response = null
|
|
1374
|
+
|
|
1375
|
+
// 5. Let storedResponse be null.
|
|
1376
|
+
// TODO: cache
|
|
1377
|
+
|
|
1378
|
+
// 6. Let httpCache be null.
|
|
1379
|
+
const httpCache = null
|
|
1380
|
+
|
|
1381
|
+
// 7. Let the revalidatingFlag be unset.
|
|
1382
|
+
const revalidatingFlag = false
|
|
1383
|
+
|
|
1384
|
+
// 8. Run these steps, but abort when the ongoing fetch is terminated:
|
|
1385
|
+
|
|
1386
|
+
// 1. If request’s window is "no-window" and request’s redirect mode is
|
|
1387
|
+
// "error", then set httpFetchParams to fetchParams and httpRequest to
|
|
1388
|
+
// request.
|
|
1389
|
+
if (request.window === 'no-window' && request.redirect === 'error') {
|
|
1390
|
+
httpFetchParams = fetchParams
|
|
1391
|
+
httpRequest = request
|
|
1392
|
+
} else {
|
|
1393
|
+
// Otherwise:
|
|
1394
|
+
|
|
1395
|
+
// 1. Set httpRequest to a clone of request.
|
|
1396
|
+
httpRequest = cloneRequest(request)
|
|
1397
|
+
|
|
1398
|
+
// 2. Set httpFetchParams to a copy of fetchParams.
|
|
1399
|
+
httpFetchParams = { ...fetchParams }
|
|
1400
|
+
|
|
1401
|
+
// 3. Set httpFetchParams’s request to httpRequest.
|
|
1402
|
+
httpFetchParams.request = httpRequest
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
// 3. Let includeCredentials be true if one of
|
|
1406
|
+
const includeCredentials =
|
|
1407
|
+
request.credentials === 'include' ||
|
|
1408
|
+
(request.credentials === 'same-origin' &&
|
|
1409
|
+
request.responseTainting === 'basic')
|
|
1410
|
+
|
|
1411
|
+
// 4. Let contentLength be httpRequest’s body’s length, if httpRequest’s
|
|
1412
|
+
// body is non-null; otherwise null.
|
|
1413
|
+
const contentLength = httpRequest.body ? httpRequest.body.length : null
|
|
1414
|
+
|
|
1415
|
+
// 5. Let contentLengthHeaderValue be null.
|
|
1416
|
+
let contentLengthHeaderValue = null
|
|
1417
|
+
|
|
1418
|
+
// 6. If httpRequest’s body is null and httpRequest’s method is `POST` or
|
|
1419
|
+
// `PUT`, then set contentLengthHeaderValue to `0`.
|
|
1420
|
+
if (
|
|
1421
|
+
httpRequest.body == null &&
|
|
1422
|
+
['POST', 'PUT'].includes(httpRequest.method)
|
|
1423
|
+
) {
|
|
1424
|
+
contentLengthHeaderValue = '0'
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
// 7. If contentLength is non-null, then set contentLengthHeaderValue to
|
|
1428
|
+
// contentLength, serialized and isomorphic encoded.
|
|
1429
|
+
if (contentLength != null) {
|
|
1430
|
+
contentLengthHeaderValue = isomorphicEncode(`${contentLength}`)
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
// 8. If contentLengthHeaderValue is non-null, then append
|
|
1434
|
+
// `Content-Length`/contentLengthHeaderValue to httpRequest’s header
|
|
1435
|
+
// list.
|
|
1436
|
+
if (
|
|
1437
|
+
contentLengthHeaderValue != null &&
|
|
1438
|
+
!httpRequest.headersList.contains('content-length', true)
|
|
1439
|
+
) {
|
|
1440
|
+
httpRequest.headersList.append('content-length', contentLengthHeaderValue, true)
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
// 9. If contentLengthHeaderValue is non-null, then append (`Content-Length`,
|
|
1444
|
+
// contentLengthHeaderValue) to httpRequest’s header list.
|
|
1445
|
+
|
|
1446
|
+
// 10. If contentLength is non-null and httpRequest’s keepalive is true,
|
|
1447
|
+
// then:
|
|
1448
|
+
if (contentLength != null && httpRequest.keepalive) {
|
|
1449
|
+
// NOTE: keepalive is a noop outside of browser context.
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
// 11. If httpRequest’s referrer is a URL, then append
|
|
1453
|
+
// `Referer`/httpRequest’s referrer, serialized and isomorphic encoded,
|
|
1454
|
+
// to httpRequest’s header list.
|
|
1455
|
+
if (webidl.is.URL(httpRequest.referrer)) {
|
|
1456
|
+
httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href), true)
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
// 12. Append a request `Origin` header for httpRequest.
|
|
1460
|
+
appendRequestOriginHeader(httpRequest)
|
|
1461
|
+
|
|
1462
|
+
// 13. Append the Fetch metadata headers for httpRequest. [FETCH-METADATA]
|
|
1463
|
+
appendFetchMetadata(httpRequest)
|
|
1464
|
+
|
|
1465
|
+
// 14. If httpRequest’s header list does not contain `User-Agent`, then
|
|
1466
|
+
// user agents should append `User-Agent`/default `User-Agent` value to
|
|
1467
|
+
// httpRequest’s header list.
|
|
1468
|
+
if (!httpRequest.headersList.contains('user-agent', true)) {
|
|
1469
|
+
httpRequest.headersList.append('user-agent', defaultUserAgent, true)
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
// 15. If httpRequest’s cache mode is "default" and httpRequest’s header
|
|
1473
|
+
// list contains `If-Modified-Since`, `If-None-Match`,
|
|
1474
|
+
// `If-Unmodified-Since`, `If-Match`, or `If-Range`, then set
|
|
1475
|
+
// httpRequest’s cache mode to "no-store".
|
|
1476
|
+
if (
|
|
1477
|
+
httpRequest.cache === 'default' &&
|
|
1478
|
+
(httpRequest.headersList.contains('if-modified-since', true) ||
|
|
1479
|
+
httpRequest.headersList.contains('if-none-match', true) ||
|
|
1480
|
+
httpRequest.headersList.contains('if-unmodified-since', true) ||
|
|
1481
|
+
httpRequest.headersList.contains('if-match', true) ||
|
|
1482
|
+
httpRequest.headersList.contains('if-range', true))
|
|
1483
|
+
) {
|
|
1484
|
+
httpRequest.cache = 'no-store'
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
// 16. If httpRequest’s cache mode is "no-cache", httpRequest’s prevent
|
|
1488
|
+
// no-cache cache-control header modification flag is unset, and
|
|
1489
|
+
// httpRequest’s header list does not contain `Cache-Control`, then append
|
|
1490
|
+
// `Cache-Control`/`max-age=0` to httpRequest’s header list.
|
|
1491
|
+
if (
|
|
1492
|
+
httpRequest.cache === 'no-cache' &&
|
|
1493
|
+
!httpRequest.preventNoCacheCacheControlHeaderModification &&
|
|
1494
|
+
!httpRequest.headersList.contains('cache-control', true)
|
|
1495
|
+
) {
|
|
1496
|
+
httpRequest.headersList.append('cache-control', 'max-age=0', true)
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
// 17. If httpRequest’s cache mode is "no-store" or "reload", then:
|
|
1500
|
+
if (httpRequest.cache === 'no-store' || httpRequest.cache === 'reload') {
|
|
1501
|
+
// 1. If httpRequest’s header list does not contain `Pragma`, then append
|
|
1502
|
+
// `Pragma`/`no-cache` to httpRequest’s header list.
|
|
1503
|
+
if (!httpRequest.headersList.contains('pragma', true)) {
|
|
1504
|
+
httpRequest.headersList.append('pragma', 'no-cache', true)
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
// 2. If httpRequest’s header list does not contain `Cache-Control`,
|
|
1508
|
+
// then append `Cache-Control`/`no-cache` to httpRequest’s header list.
|
|
1509
|
+
if (!httpRequest.headersList.contains('cache-control', true)) {
|
|
1510
|
+
httpRequest.headersList.append('cache-control', 'no-cache', true)
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
// 18. If httpRequest’s header list contains `Range`, then append
|
|
1515
|
+
// `Accept-Encoding`/`identity` to httpRequest’s header list.
|
|
1516
|
+
if (httpRequest.headersList.contains('range', true)) {
|
|
1517
|
+
httpRequest.headersList.append('accept-encoding', 'identity', true)
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
// 19. Modify httpRequest’s header list per HTTP. Do not append a given
|
|
1521
|
+
// header if httpRequest’s header list contains that header’s name.
|
|
1522
|
+
// TODO: https://github.com/whatwg/fetch/issues/1285#issuecomment-896560129
|
|
1523
|
+
if (!httpRequest.headersList.contains('accept-encoding', true)) {
|
|
1524
|
+
if (urlHasHttpsScheme(requestCurrentURL(httpRequest))) {
|
|
1525
|
+
httpRequest.headersList.append('accept-encoding', 'br, gzip, deflate', true)
|
|
1526
|
+
} else {
|
|
1527
|
+
httpRequest.headersList.append('accept-encoding', 'gzip, deflate', true)
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
httpRequest.headersList.delete('host', true)
|
|
1532
|
+
|
|
1533
|
+
// 21. If includeCredentials is true, then:
|
|
1534
|
+
if (includeCredentials) {
|
|
1535
|
+
// 1. If the user agent is not configured to block cookies for httpRequest
|
|
1536
|
+
// (see section 7 of [COOKIES]), then:
|
|
1537
|
+
// TODO: credentials
|
|
1538
|
+
|
|
1539
|
+
// 2. If httpRequest’s header list does not contain `Authorization`, then:
|
|
1540
|
+
if (!httpRequest.headersList.contains('authorization', true)) {
|
|
1541
|
+
// 1. Let authorizationValue be null.
|
|
1542
|
+
let authorizationValue = null
|
|
1543
|
+
|
|
1544
|
+
// 2. If there’s an authentication entry for httpRequest and either
|
|
1545
|
+
// httpRequest’s use-URL-credentials flag is unset or httpRequest’s
|
|
1546
|
+
// current URL does not include credentials, then set
|
|
1547
|
+
// authorizationValue to authentication entry.
|
|
1548
|
+
if (hasAuthenticationEntry(httpRequest) && (
|
|
1549
|
+
httpRequest.useURLCredentials === undefined || !includesCredentials(requestCurrentURL(httpRequest))
|
|
1550
|
+
)) {
|
|
1551
|
+
// TODO
|
|
1552
|
+
} else if (includesCredentials(requestCurrentURL(httpRequest)) && isAuthenticationFetch) {
|
|
1553
|
+
// 3. Otherwise, if httpRequest’s current URL does include credentials
|
|
1554
|
+
// and isAuthenticationFetch is true, set authorizationValue to
|
|
1555
|
+
// httpRequest’s current URL, converted to an `Authorization` value
|
|
1556
|
+
const { username, password } = requestCurrentURL(httpRequest)
|
|
1557
|
+
authorizationValue = `Basic ${Buffer.from(`${username}:${password}`).toString('base64')}`
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
// 4. If authorizationValue is non-null, then append (`Authorization`,
|
|
1561
|
+
// authorizationValue) to httpRequest’s header list.
|
|
1562
|
+
if (authorizationValue !== null) {
|
|
1563
|
+
httpRequest.headersList.append('Authorization', authorizationValue, false)
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
// 21. If there’s a proxy-authentication entry, use it as appropriate.
|
|
1569
|
+
// TODO: proxy-authentication
|
|
1570
|
+
|
|
1571
|
+
// 22. Set httpCache to the result of determining the HTTP cache
|
|
1572
|
+
// partition, given httpRequest.
|
|
1573
|
+
// TODO: cache
|
|
1574
|
+
|
|
1575
|
+
// 23. If httpCache is null, then set httpRequest’s cache mode to
|
|
1576
|
+
// "no-store".
|
|
1577
|
+
if (httpCache == null) {
|
|
1578
|
+
httpRequest.cache = 'no-store'
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
// 24. If httpRequest’s cache mode is neither "no-store" nor "reload",
|
|
1582
|
+
// then:
|
|
1583
|
+
if (httpRequest.cache !== 'no-store' && httpRequest.cache !== 'reload') {
|
|
1584
|
+
// TODO: cache
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
// 9. If aborted, then return the appropriate network error for fetchParams.
|
|
1588
|
+
// TODO
|
|
1589
|
+
|
|
1590
|
+
// 10. If response is null, then:
|
|
1591
|
+
if (response == null) {
|
|
1592
|
+
// 1. If httpRequest’s cache mode is "only-if-cached", then return a
|
|
1593
|
+
// network error.
|
|
1594
|
+
if (httpRequest.cache === 'only-if-cached') {
|
|
1595
|
+
return makeNetworkError('only if cached')
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
// 2. Let forwardResponse be the result of running HTTP-network fetch
|
|
1599
|
+
// given httpFetchParams, includeCredentials, and isNewConnectionFetch.
|
|
1600
|
+
const forwardResponse = await httpNetworkFetch(
|
|
1601
|
+
httpFetchParams,
|
|
1602
|
+
includeCredentials,
|
|
1603
|
+
isNewConnectionFetch
|
|
1604
|
+
)
|
|
1605
|
+
|
|
1606
|
+
// 3. If httpRequest’s method is unsafe and forwardResponse’s status is
|
|
1607
|
+
// in the range 200 to 399, inclusive, invalidate appropriate stored
|
|
1608
|
+
// responses in httpCache, as per the "Invalidation" chapter of HTTP
|
|
1609
|
+
// Caching, and set storedResponse to null. [HTTP-CACHING]
|
|
1610
|
+
if (
|
|
1611
|
+
!safeMethodsSet.has(httpRequest.method) &&
|
|
1612
|
+
forwardResponse.status >= 200 &&
|
|
1613
|
+
forwardResponse.status <= 399
|
|
1614
|
+
) {
|
|
1615
|
+
// TODO: cache
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
// 4. If the revalidatingFlag is set and forwardResponse’s status is 304,
|
|
1619
|
+
// then:
|
|
1620
|
+
if (revalidatingFlag && forwardResponse.status === 304) {
|
|
1621
|
+
// TODO: cache
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
// 5. If response is null, then:
|
|
1625
|
+
if (response == null) {
|
|
1626
|
+
// 1. Set response to forwardResponse.
|
|
1627
|
+
response = forwardResponse
|
|
1628
|
+
|
|
1629
|
+
// 2. Store httpRequest and forwardResponse in httpCache, as per the
|
|
1630
|
+
// "Storing Responses in Caches" chapter of HTTP Caching. [HTTP-CACHING]
|
|
1631
|
+
// TODO: cache
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
// 11. Set response’s URL list to a clone of httpRequest’s URL list.
|
|
1636
|
+
response.urlList = [...httpRequest.urlList]
|
|
1637
|
+
|
|
1638
|
+
// 12. If httpRequest’s header list contains `Range`, then set response’s
|
|
1639
|
+
// range-requested flag.
|
|
1640
|
+
if (httpRequest.headersList.contains('range', true)) {
|
|
1641
|
+
response.rangeRequested = true
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
// 13. Set response’s request-includes-credentials to includeCredentials.
|
|
1645
|
+
response.requestIncludesCredentials = includeCredentials
|
|
1646
|
+
|
|
1647
|
+
// 14. If response’s status is 401, httpRequest’s response tainting is not "cors",
|
|
1648
|
+
// includeCredentials is true, and request’s traversable for user prompts is
|
|
1649
|
+
// a traversable navigable:
|
|
1650
|
+
//
|
|
1651
|
+
// In Node.js there is no traversable navigable to prompt the user, but we
|
|
1652
|
+
// still need to handle URL-embedded credentials so authentication retries
|
|
1653
|
+
// for WebSocket handshakes continue to work.
|
|
1654
|
+
if (response.status === 401 && httpRequest.responseTainting !== 'cors' && includeCredentials && (
|
|
1655
|
+
request.useURLCredentials !== undefined ||
|
|
1656
|
+
isTraversableNavigable(request.traversableForUserPrompts)
|
|
1657
|
+
)) {
|
|
1658
|
+
// 2. If request’s body is non-null, then:
|
|
1659
|
+
if (request.body != null) {
|
|
1660
|
+
// 1. If request’s body’s source is null, then return a network error.
|
|
1661
|
+
if (request.body.source == null) {
|
|
1662
|
+
// Note: In Node.js, this code path should not be reached because
|
|
1663
|
+
// isTraversableNavigable() returns false for non-navigable contexts.
|
|
1664
|
+
// However, we handle it gracefully by returning the response instead of
|
|
1665
|
+
// a network error, as we won't actually retry the request.
|
|
1666
|
+
// This aligns with the Fetch spec discussion in whatwg/fetch#1132,
|
|
1667
|
+
// which allows implementations flexibility when credentials can't be obtained.
|
|
1668
|
+
return response
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
// 2. Set request’s body to the body of the result of safely extracting
|
|
1672
|
+
// request’s body’s source.
|
|
1673
|
+
request.body = safelyExtractBody(request.body.source)[0]
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
// 3. If request’s use-URL-credentials flag is unset or isAuthenticationFetch is
|
|
1677
|
+
// true, then:
|
|
1678
|
+
if (request.useURLCredentials === undefined || isAuthenticationFetch) {
|
|
1679
|
+
// 1. If fetchParams is canceled, then return the appropriate network error
|
|
1680
|
+
// for fetchParams.
|
|
1681
|
+
if (isCancelled(fetchParams)) {
|
|
1682
|
+
return makeAppropriateNetworkError(fetchParams)
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
// 2. Let username and password be the result of prompting the end user for a
|
|
1686
|
+
// username and password, respectively, in request’s traversable for user prompts.
|
|
1687
|
+
// TODO
|
|
1688
|
+
|
|
1689
|
+
// 3. Set the username given request’s current URL and username.
|
|
1690
|
+
// requestCurrentURL(request).username = TODO
|
|
1691
|
+
|
|
1692
|
+
// 4. Set the password given request’s current URL and password.
|
|
1693
|
+
// requestCurrentURL(request).password = TODO
|
|
1694
|
+
|
|
1695
|
+
// In browsers, the user will be prompted to enter a username/password before the request
|
|
1696
|
+
// is re-sent. To prevent an infinite 401 loop, return the response for now.
|
|
1697
|
+
// https://github.com/nodejs/undici/pull/4756
|
|
1698
|
+
return response
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
// 4. Set response to the result of running HTTP-network-or-cache fetch given
|
|
1702
|
+
// fetchParams and true.
|
|
1703
|
+
fetchParams.controller.connection.destroy()
|
|
1704
|
+
|
|
1705
|
+
response = await httpNetworkOrCacheFetch(fetchParams, true)
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
// 15. If response’s status is 407, then:
|
|
1709
|
+
if (response.status === 407) {
|
|
1710
|
+
// 1. If request’s window is "no-window", then return a network error.
|
|
1711
|
+
if (request.window === 'no-window') {
|
|
1712
|
+
return makeNetworkError()
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
// 2. ???
|
|
1716
|
+
|
|
1717
|
+
// 3. If fetchParams is canceled, then return the appropriate network error for fetchParams.
|
|
1718
|
+
if (isCancelled(fetchParams)) {
|
|
1719
|
+
return makeAppropriateNetworkError(fetchParams)
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
// 4. Prompt the end user as appropriate in request’s window and store
|
|
1723
|
+
// the result as a proxy-authentication entry. [HTTP-AUTH]
|
|
1724
|
+
// TODO: Invoke some kind of callback?
|
|
1725
|
+
|
|
1726
|
+
// 5. Set response to the result of running HTTP-network-or-cache fetch given
|
|
1727
|
+
// fetchParams.
|
|
1728
|
+
// TODO
|
|
1729
|
+
return makeNetworkError('proxy authentication required')
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
// 16. If all of the following are true
|
|
1733
|
+
if (
|
|
1734
|
+
// response’s status is 421
|
|
1735
|
+
response.status === 421 &&
|
|
1736
|
+
// isNewConnectionFetch is false
|
|
1737
|
+
!isNewConnectionFetch &&
|
|
1738
|
+
// request’s body is null, or request’s body is non-null and request’s body’s source is non-null
|
|
1739
|
+
(request.body == null || request.body.source != null)
|
|
1740
|
+
) {
|
|
1741
|
+
// then:
|
|
1742
|
+
|
|
1743
|
+
// 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.
|
|
1744
|
+
if (isCancelled(fetchParams)) {
|
|
1745
|
+
return makeAppropriateNetworkError(fetchParams)
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
// 2. Set response to the result of running HTTP-network-or-cache
|
|
1749
|
+
// fetch given fetchParams, isAuthenticationFetch, and true.
|
|
1750
|
+
|
|
1751
|
+
// TODO (spec): The spec doesn't specify this but we need to cancel
|
|
1752
|
+
// the active response before we can start a new one.
|
|
1753
|
+
// https://github.com/whatwg/fetch/issues/1293
|
|
1754
|
+
fetchParams.controller.connection.destroy()
|
|
1755
|
+
|
|
1756
|
+
response = await httpNetworkOrCacheFetch(
|
|
1757
|
+
fetchParams,
|
|
1758
|
+
isAuthenticationFetch,
|
|
1759
|
+
true
|
|
1760
|
+
)
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
// 17. If isAuthenticationFetch is true, then create an authentication entry
|
|
1764
|
+
if (isAuthenticationFetch) {
|
|
1765
|
+
// TODO
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
// 18. Return response.
|
|
1769
|
+
return response
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
// https://fetch.spec.whatwg.org/#http-network-fetch
|
|
1773
|
+
async function httpNetworkFetch (
|
|
1774
|
+
fetchParams,
|
|
1775
|
+
includeCredentials = false,
|
|
1776
|
+
forceNewConnection = false
|
|
1777
|
+
) {
|
|
1778
|
+
assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed)
|
|
1779
|
+
|
|
1780
|
+
fetchParams.controller.connection = {
|
|
1781
|
+
abort: null,
|
|
1782
|
+
destroyed: false,
|
|
1783
|
+
destroy (err, abort = true) {
|
|
1784
|
+
if (!this.destroyed) {
|
|
1785
|
+
this.destroyed = true
|
|
1786
|
+
if (abort) {
|
|
1787
|
+
this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError'))
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
// 1. Let request be fetchParams’s request.
|
|
1794
|
+
const request = fetchParams.request
|
|
1795
|
+
|
|
1796
|
+
// 2. Let response be null.
|
|
1797
|
+
let response = null
|
|
1798
|
+
|
|
1799
|
+
// 3. Let timingInfo be fetchParams’s timing info.
|
|
1800
|
+
const timingInfo = fetchParams.timingInfo
|
|
1801
|
+
|
|
1802
|
+
// 4. Let httpCache be the result of determining the HTTP cache partition,
|
|
1803
|
+
// given request.
|
|
1804
|
+
// TODO: cache
|
|
1805
|
+
const httpCache = null
|
|
1806
|
+
|
|
1807
|
+
// 5. If httpCache is null, then set request’s cache mode to "no-store".
|
|
1808
|
+
if (httpCache == null) {
|
|
1809
|
+
request.cache = 'no-store'
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
// 6. Let networkPartitionKey be the result of determining the network
|
|
1813
|
+
// partition key given request.
|
|
1814
|
+
// TODO
|
|
1815
|
+
|
|
1816
|
+
// 7. Let newConnection be "yes" if forceNewConnection is true; otherwise
|
|
1817
|
+
// "no".
|
|
1818
|
+
const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars
|
|
1819
|
+
|
|
1820
|
+
// 8. Switch on request’s mode:
|
|
1821
|
+
if (request.mode === 'websocket') {
|
|
1822
|
+
// Let connection be the result of obtaining a WebSocket connection,
|
|
1823
|
+
// given request’s current URL.
|
|
1824
|
+
// TODO
|
|
1825
|
+
} else {
|
|
1826
|
+
// Let connection be the result of obtaining a connection, given
|
|
1827
|
+
// networkPartitionKey, request’s current URL’s origin,
|
|
1828
|
+
// includeCredentials, and forceNewConnection.
|
|
1829
|
+
// TODO
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
// 9. Run these steps, but abort when the ongoing fetch is terminated:
|
|
1833
|
+
|
|
1834
|
+
// 1. If connection is failure, then return a network error.
|
|
1835
|
+
|
|
1836
|
+
// 2. Set timingInfo’s final connection timing info to the result of
|
|
1837
|
+
// calling clamp and coarsen connection timing info with connection’s
|
|
1838
|
+
// timing info, timingInfo’s post-redirect start time, and fetchParams’s
|
|
1839
|
+
// cross-origin isolated capability.
|
|
1840
|
+
|
|
1841
|
+
// 3. If connection is not an HTTP/2 connection, request’s body is non-null,
|
|
1842
|
+
// and request’s body’s source is null, then append (`Transfer-Encoding`,
|
|
1843
|
+
// `chunked`) to request’s header list.
|
|
1844
|
+
|
|
1845
|
+
// 4. Set timingInfo’s final network-request start time to the coarsened
|
|
1846
|
+
// shared current time given fetchParams’s cross-origin isolated
|
|
1847
|
+
// capability.
|
|
1848
|
+
|
|
1849
|
+
// 5. Set response to the result of making an HTTP request over connection
|
|
1850
|
+
// using request with the following caveats:
|
|
1851
|
+
|
|
1852
|
+
// - Follow the relevant requirements from HTTP. [HTTP] [HTTP-SEMANTICS]
|
|
1853
|
+
// [HTTP-COND] [HTTP-CACHING] [HTTP-AUTH]
|
|
1854
|
+
|
|
1855
|
+
// - If request’s body is non-null, and request’s body’s source is null,
|
|
1856
|
+
// then the user agent may have a buffer of up to 64 kibibytes and store
|
|
1857
|
+
// a part of request’s body in that buffer. If the user agent reads from
|
|
1858
|
+
// request’s body beyond that buffer’s size and the user agent needs to
|
|
1859
|
+
// resend request, then instead return a network error.
|
|
1860
|
+
|
|
1861
|
+
// - Set timingInfo’s final network-response start time to the coarsened
|
|
1862
|
+
// shared current time given fetchParams’s cross-origin isolated capability,
|
|
1863
|
+
// immediately after the user agent’s HTTP parser receives the first byte
|
|
1864
|
+
// of the response (e.g., frame header bytes for HTTP/2 or response status
|
|
1865
|
+
// line for HTTP/1.x).
|
|
1866
|
+
|
|
1867
|
+
// - Wait until all the headers are transmitted.
|
|
1868
|
+
|
|
1869
|
+
// - Any responses whose status is in the range 100 to 199, inclusive,
|
|
1870
|
+
// and is not 101, are to be ignored, except for the purposes of setting
|
|
1871
|
+
// timingInfo’s final network-response start time above.
|
|
1872
|
+
|
|
1873
|
+
// - If request’s header list contains `Transfer-Encoding`/`chunked` and
|
|
1874
|
+
// response is transferred via HTTP/1.0 or older, then return a network
|
|
1875
|
+
// error.
|
|
1876
|
+
|
|
1877
|
+
// - If the HTTP request results in a TLS client certificate dialog, then:
|
|
1878
|
+
|
|
1879
|
+
// 1. If request’s window is an environment settings object, make the
|
|
1880
|
+
// dialog available in request’s window.
|
|
1881
|
+
|
|
1882
|
+
// 2. Otherwise, return a network error.
|
|
1883
|
+
|
|
1884
|
+
// To transmit request’s body body, run these steps:
|
|
1885
|
+
let requestBody = null
|
|
1886
|
+
// 1. If body is null and fetchParams’s process request end-of-body is
|
|
1887
|
+
// non-null, then queue a fetch task given fetchParams’s process request
|
|
1888
|
+
// end-of-body and fetchParams’s task destination.
|
|
1889
|
+
if (request.body == null && fetchParams.processRequestEndOfBody) {
|
|
1890
|
+
queueMicrotask(() => fetchParams.processRequestEndOfBody())
|
|
1891
|
+
} else if (request.body != null) {
|
|
1892
|
+
// 2. Otherwise, if body is non-null:
|
|
1893
|
+
|
|
1894
|
+
// 1. Let processBodyChunk given bytes be these steps:
|
|
1895
|
+
const processBodyChunk = async function * (bytes) {
|
|
1896
|
+
// 1. If the ongoing fetch is terminated, then abort these steps.
|
|
1897
|
+
if (isCancelled(fetchParams)) {
|
|
1898
|
+
return
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
// 2. Run this step in parallel: transmit bytes.
|
|
1902
|
+
yield bytes
|
|
1903
|
+
|
|
1904
|
+
// 3. If fetchParams’s process request body is non-null, then run
|
|
1905
|
+
// fetchParams’s process request body given bytes’s length.
|
|
1906
|
+
fetchParams.processRequestBodyChunkLength?.(bytes.byteLength)
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
// 2. Let processEndOfBody be these steps:
|
|
1910
|
+
const processEndOfBody = () => {
|
|
1911
|
+
// 1. If fetchParams is canceled, then abort these steps.
|
|
1912
|
+
if (isCancelled(fetchParams)) {
|
|
1913
|
+
return
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
// 2. If fetchParams’s process request end-of-body is non-null,
|
|
1917
|
+
// then run fetchParams’s process request end-of-body.
|
|
1918
|
+
if (fetchParams.processRequestEndOfBody) {
|
|
1919
|
+
fetchParams.processRequestEndOfBody()
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
// 3. Let processBodyError given e be these steps:
|
|
1924
|
+
const processBodyError = (e) => {
|
|
1925
|
+
// 1. If fetchParams is canceled, then abort these steps.
|
|
1926
|
+
if (isCancelled(fetchParams)) {
|
|
1927
|
+
return
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
// 2. If e is an "AbortError" DOMException, then abort fetchParams’s controller.
|
|
1931
|
+
if (e.name === 'AbortError') {
|
|
1932
|
+
fetchParams.controller.abort()
|
|
1933
|
+
} else {
|
|
1934
|
+
fetchParams.controller.terminate(e)
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
// 4. Incrementally read request’s body given processBodyChunk, processEndOfBody,
|
|
1939
|
+
// processBodyError, and fetchParams’s task destination.
|
|
1940
|
+
requestBody = (async function * () {
|
|
1941
|
+
try {
|
|
1942
|
+
for await (const bytes of request.body.stream) {
|
|
1943
|
+
yield * processBodyChunk(bytes)
|
|
1944
|
+
}
|
|
1945
|
+
processEndOfBody()
|
|
1946
|
+
} catch (err) {
|
|
1947
|
+
processBodyError(err)
|
|
1948
|
+
}
|
|
1949
|
+
})()
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
try {
|
|
1953
|
+
// socket is only provided for websockets
|
|
1954
|
+
const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody })
|
|
1955
|
+
|
|
1956
|
+
if (socket) {
|
|
1957
|
+
response = makeResponse({ status, statusText, headersList, socket })
|
|
1958
|
+
} else {
|
|
1959
|
+
const iterator = body[Symbol.asyncIterator]()
|
|
1960
|
+
fetchParams.controller.next = () => iterator.next()
|
|
1961
|
+
|
|
1962
|
+
response = makeResponse({ status, statusText, headersList })
|
|
1963
|
+
}
|
|
1964
|
+
} catch (err) {
|
|
1965
|
+
// 10. If aborted, then:
|
|
1966
|
+
if (err.name === 'AbortError') {
|
|
1967
|
+
// 1. If connection uses HTTP/2, then transmit an RST_STREAM frame.
|
|
1968
|
+
fetchParams.controller.connection.destroy()
|
|
1969
|
+
|
|
1970
|
+
// 2. Return the appropriate network error for fetchParams.
|
|
1971
|
+
return makeAppropriateNetworkError(fetchParams, err)
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
return makeNetworkError(err)
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
// 11. Let pullAlgorithm be an action that resumes the ongoing fetch
|
|
1978
|
+
// if it is suspended.
|
|
1979
|
+
const pullAlgorithm = () => {
|
|
1980
|
+
return fetchParams.controller.resume()
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
// 12. Let cancelAlgorithm be an algorithm that aborts fetchParams’s
|
|
1984
|
+
// controller with reason, given reason.
|
|
1985
|
+
const cancelAlgorithm = (reason) => {
|
|
1986
|
+
// If the aborted fetch was already terminated, then we do not
|
|
1987
|
+
// need to do anything.
|
|
1988
|
+
if (!isCancelled(fetchParams)) {
|
|
1989
|
+
fetchParams.controller.abort(reason)
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
// 13. Let highWaterMark be a non-negative, non-NaN number, chosen by
|
|
1994
|
+
// the user agent.
|
|
1995
|
+
// TODO
|
|
1996
|
+
|
|
1997
|
+
// 14. Let sizeAlgorithm be an algorithm that accepts a chunk object
|
|
1998
|
+
// and returns a non-negative, non-NaN, non-infinite number, chosen by the user agent.
|
|
1999
|
+
// TODO
|
|
2000
|
+
|
|
2001
|
+
// 15. Let stream be a new ReadableStream.
|
|
2002
|
+
// 16. Set up stream with byte reading support with pullAlgorithm set to pullAlgorithm,
|
|
2003
|
+
// cancelAlgorithm set to cancelAlgorithm.
|
|
2004
|
+
const stream = new ReadableStream(
|
|
2005
|
+
{
|
|
2006
|
+
start (controller) {
|
|
2007
|
+
fetchParams.controller.controller = controller
|
|
2008
|
+
},
|
|
2009
|
+
pull: pullAlgorithm,
|
|
2010
|
+
cancel: cancelAlgorithm,
|
|
2011
|
+
type: 'bytes'
|
|
2012
|
+
}
|
|
2013
|
+
)
|
|
2014
|
+
|
|
2015
|
+
// 17. Run these steps, but abort when the ongoing fetch is terminated:
|
|
2016
|
+
|
|
2017
|
+
// 1. Set response’s body to a new body whose stream is stream.
|
|
2018
|
+
response.body = { stream, source: null, length: null }
|
|
2019
|
+
|
|
2020
|
+
// 2. If response is not a network error and request’s cache mode is
|
|
2021
|
+
// not "no-store", then update response in httpCache for request.
|
|
2022
|
+
// TODO
|
|
2023
|
+
|
|
2024
|
+
// 3. If includeCredentials is true and the user agent is not configured
|
|
2025
|
+
// to block cookies for request (see section 7 of [COOKIES]), then run the
|
|
2026
|
+
// "set-cookie-string" parsing algorithm (see section 5.2 of [COOKIES]) on
|
|
2027
|
+
// the value of each header whose name is a byte-case-insensitive match for
|
|
2028
|
+
// `Set-Cookie` in response’s header list, if any, and request’s current URL.
|
|
2029
|
+
// TODO
|
|
2030
|
+
|
|
2031
|
+
// 18. If aborted, then:
|
|
2032
|
+
// TODO
|
|
2033
|
+
|
|
2034
|
+
// 19. Run these steps in parallel:
|
|
2035
|
+
|
|
2036
|
+
// 1. Run these steps, but abort when fetchParams is canceled:
|
|
2037
|
+
if (!fetchParams.controller.resume) {
|
|
2038
|
+
fetchParams.controller.on('terminated', onAborted)
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
fetchParams.controller.resume = async () => {
|
|
2042
|
+
// 1. While true
|
|
2043
|
+
while (true) {
|
|
2044
|
+
// 1-3. See onData...
|
|
2045
|
+
|
|
2046
|
+
// 4. Set bytes to the result of handling content codings given
|
|
2047
|
+
// codings and bytes.
|
|
2048
|
+
let bytes
|
|
2049
|
+
let isFailure
|
|
2050
|
+
try {
|
|
2051
|
+
const { done, value } = await fetchParams.controller.next()
|
|
2052
|
+
|
|
2053
|
+
if (isAborted(fetchParams)) {
|
|
2054
|
+
break
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
bytes = done ? undefined : value
|
|
2058
|
+
} catch (err) {
|
|
2059
|
+
if (fetchParams.controller.ended && !timingInfo.encodedBodySize) {
|
|
2060
|
+
// zlib doesn't like empty streams.
|
|
2061
|
+
bytes = undefined
|
|
2062
|
+
} else {
|
|
2063
|
+
bytes = err
|
|
2064
|
+
|
|
2065
|
+
// err may be propagated from the result of calling readablestream.cancel,
|
|
2066
|
+
// which might not be an error. https://github.com/nodejs/undici/issues/2009
|
|
2067
|
+
isFailure = true
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
if (bytes === undefined) {
|
|
2072
|
+
// 2. Otherwise, if the bytes transmission for response’s message
|
|
2073
|
+
// body is done normally and stream is readable, then close
|
|
2074
|
+
// stream, finalize response for fetchParams and response, and
|
|
2075
|
+
// abort these in-parallel steps.
|
|
2076
|
+
readableStreamClose(fetchParams.controller.controller)
|
|
2077
|
+
|
|
2078
|
+
finalizeResponse(fetchParams, response)
|
|
2079
|
+
|
|
2080
|
+
return
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
// 5. Increase timingInfo’s decoded body size by bytes’s length.
|
|
2084
|
+
timingInfo.decodedBodySize += bytes?.byteLength ?? 0
|
|
2085
|
+
|
|
2086
|
+
// 6. If bytes is failure, then terminate fetchParams’s controller.
|
|
2087
|
+
if (isFailure) {
|
|
2088
|
+
fetchParams.controller.terminate(bytes)
|
|
2089
|
+
return
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
// 7. Enqueue a Uint8Array wrapping an ArrayBuffer containing bytes
|
|
2093
|
+
// into stream.
|
|
2094
|
+
const buffer = new Uint8Array(bytes)
|
|
2095
|
+
if (buffer.byteLength) {
|
|
2096
|
+
fetchParams.controller.controller.enqueue(buffer)
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
// 8. If stream is errored, then terminate the ongoing fetch.
|
|
2100
|
+
if (isErrored(stream)) {
|
|
2101
|
+
fetchParams.controller.terminate()
|
|
2102
|
+
return
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
// 9. If stream doesn’t need more data ask the user agent to suspend
|
|
2106
|
+
// the ongoing fetch.
|
|
2107
|
+
if (fetchParams.controller.controller.desiredSize <= 0) {
|
|
2108
|
+
return
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
// 2. If aborted, then:
|
|
2114
|
+
function onAborted (reason) {
|
|
2115
|
+
// 2. If fetchParams is aborted, then:
|
|
2116
|
+
if (isAborted(fetchParams)) {
|
|
2117
|
+
// 1. Set response’s aborted flag.
|
|
2118
|
+
response.aborted = true
|
|
2119
|
+
|
|
2120
|
+
// 2. If stream is readable, then error stream with the result of
|
|
2121
|
+
// deserialize a serialized abort reason given fetchParams’s
|
|
2122
|
+
// controller’s serialized abort reason and an
|
|
2123
|
+
// implementation-defined realm.
|
|
2124
|
+
if (isReadable(stream)) {
|
|
2125
|
+
fetchParams.controller.controller.error(
|
|
2126
|
+
fetchParams.controller.serializedAbortReason
|
|
2127
|
+
)
|
|
2128
|
+
}
|
|
2129
|
+
} else {
|
|
2130
|
+
// 3. Otherwise, if stream is readable, error stream with a TypeError.
|
|
2131
|
+
if (isReadable(stream)) {
|
|
2132
|
+
fetchParams.controller.controller.error(new TypeError('terminated', {
|
|
2133
|
+
cause: isErrorLike(reason) ? reason : undefined
|
|
2134
|
+
}))
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
// 4. If connection uses HTTP/2, then transmit an RST_STREAM frame.
|
|
2139
|
+
// 5. Otherwise, the user agent should close connection unless it would be bad for performance to do so.
|
|
2140
|
+
fetchParams.controller.connection.destroy()
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
// 20. Return response.
|
|
2144
|
+
return response
|
|
2145
|
+
|
|
2146
|
+
function dispatch ({ body }) {
|
|
2147
|
+
const url = requestCurrentURL(request)
|
|
2148
|
+
/** @type {import('../../..').Agent} */
|
|
2149
|
+
const agent = fetchParams.controller.dispatcher
|
|
2150
|
+
|
|
2151
|
+
const path = url.pathname + url.search
|
|
2152
|
+
const hasTrailingQuestionMark = url.search.length === 0 && url.href[url.href.length - url.hash.length - 1] === '?'
|
|
2153
|
+
|
|
2154
|
+
return new Promise((resolve, reject) => agent.dispatch(
|
|
2155
|
+
{
|
|
2156
|
+
path: hasTrailingQuestionMark ? `${path}?` : path,
|
|
2157
|
+
origin: url.origin,
|
|
2158
|
+
method: request.method,
|
|
2159
|
+
body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,
|
|
2160
|
+
headers: request.headersList.entries,
|
|
2161
|
+
maxRedirections: 0,
|
|
2162
|
+
upgrade: request.mode === 'websocket' ? 'websocket' : undefined
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
body: null,
|
|
2166
|
+
abort: null,
|
|
2167
|
+
|
|
2168
|
+
onConnect (abort) {
|
|
2169
|
+
// TODO (fix): Do we need connection here?
|
|
2170
|
+
const { connection } = fetchParams.controller
|
|
2171
|
+
|
|
2172
|
+
// Set timingInfo’s final connection timing info to the result of calling clamp and coarsen
|
|
2173
|
+
// connection timing info with connection’s timing info, timingInfo’s post-redirect start
|
|
2174
|
+
// time, and fetchParams’s cross-origin isolated capability.
|
|
2175
|
+
// TODO: implement connection timing
|
|
2176
|
+
timingInfo.finalConnectionTimingInfo = clampAndCoarsenConnectionTimingInfo(undefined, timingInfo.postRedirectStartTime, fetchParams.crossOriginIsolatedCapability)
|
|
2177
|
+
|
|
2178
|
+
if (connection.destroyed) {
|
|
2179
|
+
abort(new DOMException('The operation was aborted.', 'AbortError'))
|
|
2180
|
+
} else {
|
|
2181
|
+
fetchParams.controller.on('terminated', abort)
|
|
2182
|
+
this.abort = connection.abort = abort
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
// Set timingInfo’s final network-request start time to the coarsened shared current time given
|
|
2186
|
+
// fetchParams’s cross-origin isolated capability.
|
|
2187
|
+
timingInfo.finalNetworkRequestStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
|
|
2188
|
+
},
|
|
2189
|
+
|
|
2190
|
+
onResponseStarted () {
|
|
2191
|
+
// Set timingInfo’s final network-response start time to the coarsened shared current
|
|
2192
|
+
// time given fetchParams’s cross-origin isolated capability, immediately after the
|
|
2193
|
+
// user agent’s HTTP parser receives the first byte of the response (e.g., frame header
|
|
2194
|
+
// bytes for HTTP/2 or response status line for HTTP/1.x).
|
|
2195
|
+
timingInfo.finalNetworkResponseStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)
|
|
2196
|
+
},
|
|
2197
|
+
|
|
2198
|
+
onHeaders (status, rawHeaders, resume, statusText) {
|
|
2199
|
+
if (status < 200) {
|
|
2200
|
+
return false
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
const headersList = new HeadersList()
|
|
2204
|
+
|
|
2205
|
+
for (let i = 0; i < rawHeaders.length; i += 2) {
|
|
2206
|
+
const nameStr = bufferToLowerCasedHeaderName(rawHeaders[i])
|
|
2207
|
+
const value = rawHeaders[i + 1]
|
|
2208
|
+
if (Array.isArray(value) && !Buffer.isBuffer(rawHeaders[i + 1])) {
|
|
2209
|
+
for (const val of value) {
|
|
2210
|
+
headersList.append(nameStr, val.toString('latin1'), true)
|
|
2211
|
+
}
|
|
2212
|
+
} else {
|
|
2213
|
+
headersList.append(nameStr, value.toString('latin1'), true)
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
const location = headersList.get('location', true)
|
|
2217
|
+
|
|
2218
|
+
this.body = new Readable({ read: resume })
|
|
2219
|
+
|
|
2220
|
+
const willFollow = location && request.redirect === 'follow' &&
|
|
2221
|
+
redirectStatusSet.has(status)
|
|
2222
|
+
|
|
2223
|
+
const decoders = []
|
|
2224
|
+
|
|
2225
|
+
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
|
|
2226
|
+
if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) {
|
|
2227
|
+
// https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1
|
|
2228
|
+
const contentEncoding = headersList.get('content-encoding', true)
|
|
2229
|
+
// "All content-coding values are case-insensitive..."
|
|
2230
|
+
/** @type {string[]} */
|
|
2231
|
+
const codings = contentEncoding ? contentEncoding.toLowerCase().split(',') : []
|
|
2232
|
+
|
|
2233
|
+
// Limit the number of content-encodings to prevent resource exhaustion.
|
|
2234
|
+
// CVE fix similar to urllib3 (GHSA-gm62-xv2j-4w53) and curl (CVE-2022-32206).
|
|
2235
|
+
const maxContentEncodings = 5
|
|
2236
|
+
if (codings.length > maxContentEncodings) {
|
|
2237
|
+
reject(new Error(`too many content-encodings in response: ${codings.length}, maximum allowed is ${maxContentEncodings}`))
|
|
2238
|
+
return true
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
for (let i = codings.length - 1; i >= 0; --i) {
|
|
2242
|
+
const coding = codings[i].trim()
|
|
2243
|
+
// https://www.rfc-editor.org/rfc/rfc9112.html#section-7.2
|
|
2244
|
+
if (coding === 'x-gzip' || coding === 'gzip') {
|
|
2245
|
+
decoders.push(zlib.createGunzip({
|
|
2246
|
+
// Be less strict when decoding compressed responses, since sometimes
|
|
2247
|
+
// servers send slightly invalid responses that are still accepted
|
|
2248
|
+
// by common browsers.
|
|
2249
|
+
// Always using Z_SYNC_FLUSH is what cURL does.
|
|
2250
|
+
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
2251
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
2252
|
+
}))
|
|
2253
|
+
} else if (coding === 'deflate') {
|
|
2254
|
+
decoders.push(createInflate({
|
|
2255
|
+
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
2256
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
2257
|
+
}))
|
|
2258
|
+
} else if (coding === 'br') {
|
|
2259
|
+
decoders.push(zlib.createBrotliDecompress({
|
|
2260
|
+
flush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
2261
|
+
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
|
|
2262
|
+
}))
|
|
2263
|
+
} else if (coding === 'zstd' && hasZstd) {
|
|
2264
|
+
decoders.push(zlib.createZstdDecompress({
|
|
2265
|
+
flush: zlib.constants.ZSTD_e_continue,
|
|
2266
|
+
finishFlush: zlib.constants.ZSTD_e_end
|
|
2267
|
+
}))
|
|
2268
|
+
} else {
|
|
2269
|
+
decoders.length = 0
|
|
2270
|
+
break
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
const onError = this.onError.bind(this)
|
|
2276
|
+
|
|
2277
|
+
resolve({
|
|
2278
|
+
status,
|
|
2279
|
+
statusText,
|
|
2280
|
+
headersList,
|
|
2281
|
+
body: decoders.length
|
|
2282
|
+
? pipeline(this.body, ...decoders, (err) => {
|
|
2283
|
+
if (err) {
|
|
2284
|
+
this.onError(err)
|
|
2285
|
+
}
|
|
2286
|
+
}).on('error', onError)
|
|
2287
|
+
: this.body.on('error', onError)
|
|
2288
|
+
})
|
|
2289
|
+
|
|
2290
|
+
return true
|
|
2291
|
+
},
|
|
2292
|
+
|
|
2293
|
+
onData (chunk) {
|
|
2294
|
+
if (fetchParams.controller.dump) {
|
|
2295
|
+
return
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
// 1. If one or more bytes have been transmitted from response’s
|
|
2299
|
+
// message body, then:
|
|
2300
|
+
|
|
2301
|
+
// 1. Let bytes be the transmitted bytes.
|
|
2302
|
+
const bytes = chunk
|
|
2303
|
+
|
|
2304
|
+
// 2. Let codings be the result of extracting header list values
|
|
2305
|
+
// given `Content-Encoding` and response’s header list.
|
|
2306
|
+
// See pullAlgorithm.
|
|
2307
|
+
|
|
2308
|
+
// 3. Increase timingInfo’s encoded body size by bytes’s length.
|
|
2309
|
+
timingInfo.encodedBodySize += bytes.byteLength
|
|
2310
|
+
|
|
2311
|
+
// 4. See pullAlgorithm...
|
|
2312
|
+
|
|
2313
|
+
return this.body.push(bytes)
|
|
2314
|
+
},
|
|
2315
|
+
|
|
2316
|
+
onComplete () {
|
|
2317
|
+
if (this.abort) {
|
|
2318
|
+
fetchParams.controller.off('terminated', this.abort)
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
fetchParams.controller.ended = true
|
|
2322
|
+
|
|
2323
|
+
this.body.push(null)
|
|
2324
|
+
},
|
|
2325
|
+
|
|
2326
|
+
onError (error) {
|
|
2327
|
+
if (this.abort) {
|
|
2328
|
+
fetchParams.controller.off('terminated', this.abort)
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
this.body?.destroy(error)
|
|
2332
|
+
|
|
2333
|
+
fetchParams.controller.terminate(error)
|
|
2334
|
+
|
|
2335
|
+
reject(error)
|
|
2336
|
+
},
|
|
2337
|
+
|
|
2338
|
+
onRequestUpgrade (_controller, status, headers, socket) {
|
|
2339
|
+
// We need to support 200 for websocket over h2 as per RFC-8441
|
|
2340
|
+
// Absence of session means H1
|
|
2341
|
+
if ((socket.session != null && status !== 200) || (socket.session == null && status !== 101)) {
|
|
2342
|
+
return false
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
const headersList = new HeadersList()
|
|
2346
|
+
|
|
2347
|
+
for (const [name, value] of Object.entries(headers)) {
|
|
2348
|
+
if (value == null) {
|
|
2349
|
+
continue
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
const headerName = name.toLowerCase()
|
|
2353
|
+
|
|
2354
|
+
if (Array.isArray(value)) {
|
|
2355
|
+
for (const entry of value) {
|
|
2356
|
+
headersList.append(headerName, String(entry), true)
|
|
2357
|
+
}
|
|
2358
|
+
} else {
|
|
2359
|
+
headersList.append(headerName, String(value), true)
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
resolve({
|
|
2364
|
+
status,
|
|
2365
|
+
statusText: STATUS_CODES[status],
|
|
2366
|
+
headersList,
|
|
2367
|
+
socket
|
|
2368
|
+
})
|
|
2369
|
+
|
|
2370
|
+
return true
|
|
2371
|
+
},
|
|
2372
|
+
|
|
2373
|
+
onUpgrade (status, rawHeaders, socket) {
|
|
2374
|
+
// We need to support 200 for websocket over h2 as per RFC-8441
|
|
2375
|
+
// Absence of session means H1
|
|
2376
|
+
if ((socket.session != null && status !== 200) || (socket.session == null && status !== 101)) {
|
|
2377
|
+
return false
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
const headersList = new HeadersList()
|
|
2381
|
+
|
|
2382
|
+
for (let i = 0; i < rawHeaders.length; i += 2) {
|
|
2383
|
+
const nameStr = bufferToLowerCasedHeaderName(rawHeaders[i])
|
|
2384
|
+
const value = rawHeaders[i + 1]
|
|
2385
|
+
if (Array.isArray(value) && !Buffer.isBuffer(rawHeaders[i + 1])) {
|
|
2386
|
+
for (const val of value) {
|
|
2387
|
+
headersList.append(nameStr, val.toString('latin1'), true)
|
|
2388
|
+
}
|
|
2389
|
+
} else {
|
|
2390
|
+
headersList.append(nameStr, value.toString('latin1'), true)
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
resolve({
|
|
2395
|
+
status,
|
|
2396
|
+
statusText: STATUS_CODES[status],
|
|
2397
|
+
headersList,
|
|
2398
|
+
socket
|
|
2399
|
+
})
|
|
2400
|
+
|
|
2401
|
+
return true
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
))
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
module.exports = {
|
|
2409
|
+
fetch,
|
|
2410
|
+
Fetch,
|
|
2411
|
+
fetching,
|
|
2412
|
+
finalizeAndReportTiming
|
|
2413
|
+
}
|