windmill-cli 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +110 -0
- package/esm/_dnt.polyfills.d.ts +19 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -0
- package/esm/_dnt.polyfills.js +124 -0
- package/esm/_dnt.shims.d.ts +14 -0
- package/esm/_dnt.shims.d.ts.map +1 -0
- package/esm/_dnt.shims.js +69 -0
- package/esm/apps.d.ts +16 -0
- package/esm/apps.d.ts.map +1 -0
- package/esm/apps.js +123 -0
- package/esm/bootstrap/common.d.ts +35 -0
- package/esm/bootstrap/common.d.ts.map +1 -0
- package/esm/bootstrap/common.js +1 -0
- package/esm/bootstrap/flow_bootstrap.d.ts +20 -0
- package/esm/bootstrap/flow_bootstrap.d.ts.map +1 -0
- package/esm/bootstrap/flow_bootstrap.js +17 -0
- package/esm/bootstrap/script_bootstrap.d.ts +34 -0
- package/esm/bootstrap/script_bootstrap.d.ts.map +1 -0
- package/esm/bootstrap/script_bootstrap.js +57 -0
- package/esm/codebase.d.ts +6 -0
- package/esm/codebase.d.ts.map +1 -0
- package/esm/codebase.js +18 -0
- package/esm/conf.d.ts +41 -0
- package/esm/conf.d.ts.map +1 -0
- package/esm/conf.js +19 -0
- package/esm/context.d.ts +15 -0
- package/esm/context.d.ts.map +1 -0
- package/esm/context.js +97 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/ansi_escapes.d.ts +135 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/ansi_escapes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/ansi_escapes.js +218 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/chain.d.ts +137 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/chain.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/chain.js +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/colors.d.ts +39 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/colors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/colors.js +48 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/cursor_position.d.ts +28 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/cursor_position.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/cursor_position.js +31 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/tty.d.ts +37 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/tty.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/ansi/1.0.0-rc.5/tty.js +61 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_argument_types.d.ts +157 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_argument_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_argument_types.js +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_errors.d.ts +77 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_errors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_errors.js +155 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_spread.d.ts +16 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_spread.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_spread.js +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_type_utils.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_type_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_type_utils.js +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_utils.d.ts +37 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/_utils.js +125 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/command.d.ts +815 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/command.js +1789 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_bash_completions_generator.d.ts +19 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_bash_completions_generator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_bash_completions_generator.js +211 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_fish_completions_generator.d.ts +16 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_fish_completions_generator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_fish_completions_generator.js +151 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_zsh_completions_generator.d.ts +23 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_zsh_completions_generator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/_zsh_completions_generator.js +314 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/bash.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/bash.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/bash.js +39 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/complete.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/complete.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/complete.js +32 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/completions_command.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/completions_command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/completions_command.js +47 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/fish.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/fish.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/fish.js +39 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/mod.d.ts +5 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/mod.js +4 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/zsh.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/zsh.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/completions/zsh.js +39 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/deprecated.d.ts +46 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/deprecated.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/deprecated.js +2 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/help/_help_generator.d.ts +28 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/help/_help_generator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/help/_help_generator.js +320 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/mod.d.ts +15 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/mod.js +13 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/type.d.ts +45 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/type.js +27 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/action_list.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/action_list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/action_list.js +20 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/boolean.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/boolean.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/boolean.js +13 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/child_command.d.ts +10 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/child_command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/child_command.js +27 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/command.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/command.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/enum.d.ts +11 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/enum.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/enum.js +29 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/file.d.ts +6 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/file.js +12 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/integer.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/integer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/integer.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/number.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/number.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/number.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/string.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types/string.js +9 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types.d.ts +119 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/types.js +2 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/_check_version.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/_check_version.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/_check_version.js +21 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/get_runtime.d.ts +11 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/get_runtime.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/get_runtime.js +21 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/logger.d.ts +13 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/logger.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/logger.js +15 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/mod.d.ts +3 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/mod.js +2 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/provider/npm.d.ts +19 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/provider/npm.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/provider/npm.js +61 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/provider.d.ts +66 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/provider.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/provider.js +118 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/bun_runtime.d.ts +6 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/bun_runtime.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/bun_runtime.js +21 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/deno_runtime.d.ts +14 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/deno_runtime.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/deno_runtime.js +34 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/node_runtime.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/node_runtime.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime/node_runtime.js +29 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime.d.ts +12 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/runtime.js +3 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/spinner.d.ts +156 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/spinner.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/spinner.js +198 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/upgrade.d.ts +27 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/upgrade.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/upgrade.js +42 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/upgrade_command.d.ts +52 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/upgrade_command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/command/1.0.0-rc.5/upgrade/upgrade_command.js +133 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_errors.d.ts +61 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_errors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_errors.js +117 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_utils.d.ts +17 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_utils.js +89 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_validate_flags.d.ts +11 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_validate_flags.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/_validate_flags.js +155 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/deprecated.d.ts +25 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/deprecated.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/deprecated.js +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/flags.d.ts +35 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/flags.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/flags.js +401 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/mod.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/mod.js +7 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/boolean.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/boolean.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/boolean.js +11 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/integer.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/integer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/integer.js +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/number.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/number.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/number.js +9 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/string.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types/string.js +4 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types.d.ts +137 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/flags/1.0.0-rc.5/types.js +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/exit.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/exit.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/exit.js +16 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_args.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_args.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_args.js +11 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_columns.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_columns.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_columns.js +23 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_env.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_env.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_env.js +18 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_os.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/get_os.js +19 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/inspect.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/inspect.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/inspect.js +11 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/is_directory.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/is_directory.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/is_directory.js +16 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/is_terminal.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/is_terminal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/is_terminal.js +19 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/no_color.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/no_color.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/no_color.js +18 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read.js +36 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read_dir.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read_dir.js +23 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read_sync.d.ts +8 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read_sync.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/read_sync.js +28 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/set_raw.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/set_raw.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/set_raw.js +21 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/stat.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/stat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/stat.js +21 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/write_sync.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/write_sync.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/internal/1.0.0-rc.5/runtime/write_sync.js +21 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/_key_codes.d.ts +9 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/_key_codes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/_key_codes.js +103 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/key_code.d.ts +37 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/key_code.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/key_code.js +235 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/mod.d.ts +2 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/keycode/1.0.0-rc.5/mod.js +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_figures.d.ts +34 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_figures.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_figures.js +63 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_input.d.ts +49 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_input.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_input.js +112 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_list.d.ts +190 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_list.js +519 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_prompt.d.ts +142 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_prompt.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_prompt.js +282 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_suggestions.d.ts +115 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_suggestions.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_generic_suggestions.js +424 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_utils.d.ts +4 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/_utils.js +5 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/confirm.d.ts +66 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/confirm.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/confirm.js +117 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/input.d.ts +64 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/input.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/input.js +88 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/secret.d.ts +74 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/secret.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/secret.js +96 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/select.d.ts +142 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/select.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/prompt/1.0.0-rc.5/select.js +184 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/_layout.d.ts +104 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/_layout.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/_layout.js +546 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/_utils.d.ts +29 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/_utils.js +71 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/border.d.ts +23 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/border.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/border.js +18 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/cell.d.ts +157 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/cell.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/cell.js +199 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/column.d.ts +62 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/column.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/column.js +85 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/consume_words.d.ts +30 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/consume_words.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/consume_words.js +64 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/mod.d.ts +7 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/mod.js +6 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/row.d.ts +71 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/row.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/row.js +90 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/table.d.ts +192 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/table.d.ts.map +1 -0
- package/esm/deps/jsr.io/@cliffy/table/1.0.0-rc.5/table.js +304 -0
- package/esm/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.d.ts +17 -0
- package/esm/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.js +113 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts +19 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.2/concat.js +32 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.d.ts +9 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.js +17 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.d.ts +9 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.js +34 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.d.ts +40 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.js +74 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.d.ts +2 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.js +26 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.d.ts +38 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.js +163 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_base32_common.d.ts +17 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_base32_common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_base32_common.js +183 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.d.ts +2 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.js +26 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/ascii85.d.ts +59 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/ascii85.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/ascii85.js +152 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32.d.ts +38 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32.js +69 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32_stream.d.ts +48 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32_stream.js +92 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex.d.ts +42 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex.js +77 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.d.ts +48 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.js +92 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base58.d.ts +38 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base58.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base58.js +131 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64.d.ts +38 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64.js +163 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64_stream.d.ts +48 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64_stream.js +92 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url.d.ts +38 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url.js +81 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.d.ts +49 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.js +93 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex.d.ts +37 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex.js +109 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex_stream.d.ts +48 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex_stream.js +81 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/mod.d.ts +28 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/mod.js +28 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/varint.d.ts +118 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/varint.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.4/varint.js +207 -0
- package/esm/deps/jsr.io/@std/fmt/0.225.6/colors.d.ts +716 -0
- package/esm/deps/jsr.io/@std/fmt/0.225.6/colors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fmt/0.225.6/colors.js +916 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts +700 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.2/colors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.2/colors.js +903 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_create_walk_entry.d.ts +14 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_create_walk_entry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_create_walk_entry.js +34 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_get_file_info_type.d.ts +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_get_file_info_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_get_file_info_type.js +18 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_is_same_path.d.ts +10 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_is_same_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_is_same_path.js +17 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_is_subdir.d.ts +12 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_is_subdir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_is_subdir.js +25 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_to_path_string.d.ts +9 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_to_path_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/_to_path_string.js +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/copy.d.ts +117 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/copy.js +313 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/empty_dir.d.ts +48 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/empty_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/empty_dir.js +87 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_dir.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_dir.js +102 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_file.d.ts +47 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_file.js +90 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_link.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_link.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_link.js +61 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_symlink.d.ts +52 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_symlink.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/ensure_symlink.js +120 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/eol.d.ts +52 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/eol.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/eol.js +64 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/exists.d.ts +198 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/exists.js +251 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/expand_glob.d.ts +267 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/expand_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/expand_glob.js +415 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/mod.d.ts +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/mod.js +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/move.d.ts +86 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/move.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/move.js +141 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/walk.d.ts +777 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/walk.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.3/walk.js +846 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/_constants.d.ts +3 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/_constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/_constants.js +4 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/copy.d.ts +25 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/copy.js +36 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/read_all.d.ts +42 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/read_all.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/read_all.js +73 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/types.d.ts +95 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/types.js +3 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/write_all.d.ts +51 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/write_all.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.224.7/write_all.js +61 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_config.d.ts +4 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_config.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_config.js +14 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_file_handler_symbols.d.ts +8 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_file_handler_symbols.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_file_handler_symbols.js +8 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_state.d.ts +8 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/_state.js +7 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts +22 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/base_handler.js +60 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts +18 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/console_handler.js +58 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/critical.d.ts +5 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/critical.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/critical.js +10 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/debug.d.ts +5 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/debug.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/debug.js +10 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/error.d.ts +5 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/error.js +10 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts +54 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/file_handler.js +135 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/formatters.d.ts +6 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/formatters.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/formatters.js +19 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts +4 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/get_logger.js +21 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/info.d.ts +5 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/info.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/info.js +10 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/levels.d.ts +26 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/levels.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/levels.js +43 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/logger.d.ts +62 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/logger.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/logger.js +179 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/mod.d.ts +390 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/mod.js +390 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/rotating_file_handler.d.ts +53 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/rotating_file_handler.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/rotating_file_handler.js +125 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/setup.d.ts +4 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/setup.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/setup.js +41 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/warn.d.ts +5 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/warn.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/warn.js +10 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/get_available_port.d.ts +52 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/get_available_port.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/get_available_port.js +125 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/get_network_address.d.ts +37 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/get_network_address.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/get_network_address.js +46 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/mod.d.ts +20 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/net/1.0.2/mod.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.d.ts +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.d.ts +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_os.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/basename.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/basename.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.js +26 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/extname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/extname.js +26 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.d.ts +79 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join.js +26 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/mod.d.ts +51 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/mod.js +54 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.js +47 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.js +70 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.js +26 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.d.ts +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.js +109 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.js +78 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.js +71 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.d.ts +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/glob_to_reg_exp.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/basename.d.ts +53 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/basename.js +10 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/dirname.d.ts +43 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/extname.d.ts +43 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/extname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/glob_to_regexp.d.ts +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/join.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/join.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/mod.d.ts +54 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/mod.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/normalize.d.ts +51 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/basename.d.ts +43 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/basename.js +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/dirname.d.ts +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/dirname.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/extname.d.ts +43 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/extname.js +58 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/join.d.ts +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/join.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/join_globs.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/normalize.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/normalize.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/normalize_glob.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/basename.d.ts +43 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/basename.js +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/dirname.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/dirname.js +98 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/extname.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/extname.js +67 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/join.d.ts +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/join.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/normalize.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/normalize.js +116 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/normalize_glob.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.4/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.d.ts +29 -0
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.js +52 -0
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.d.ts +18 -0
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.js +40 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts +33 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_chars.js +48 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts +99 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.js +707 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts +60 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_loader_state.js +1409 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts +40 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_schema.js +112 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/binary.js +103 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/bool.js +32 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/float.js +96 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/int.js +159 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/map.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/merge.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/nil.js +22 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/omap.js +29 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.js +19 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.js +30 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/seq.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/set.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/str.js +9 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.js +81 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts +3 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.js +20 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts +16 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type.js +6 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts +4 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_utils.js +13 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts +50 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/mod.js +52 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts +76 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/parse.js +93 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts +100 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/stringify.js +33 -0
- package/esm/deps.d.ts +27 -0
- package/esm/deps.d.ts.map +1 -0
- package/esm/deps.js +30 -0
- package/esm/dev.d.ts +12 -0
- package/esm/dev.d.ts.map +1 -0
- package/esm/dev.js +107 -0
- package/esm/flow.d.ts +29 -0
- package/esm/flow.d.ts.map +1 -0
- package/esm/flow.js +267 -0
- package/esm/folder.d.ts +16 -0
- package/esm/folder.d.ts.map +1 -0
- package/esm/folder.js +97 -0
- package/esm/hub.d.ts +10 -0
- package/esm/hub.d.ts.map +1 -0
- package/esm/hub.js +71 -0
- package/esm/instance.d.ts +39 -0
- package/esm/instance.d.ts.map +1 -0
- package/esm/instance.js +384 -0
- package/esm/login.d.ts +5 -0
- package/esm/login.d.ts.map +1 -0
- package/esm/login.js +96 -0
- package/esm/main.d.ts +6 -0
- package/esm/main.d.ts.map +1 -0
- package/esm/main.js +132 -0
- package/esm/metadata.d.ts +71 -0
- package/esm/metadata.d.ts.map +1 -0
- package/esm/metadata.js +631 -0
- package/esm/package.json +3 -0
- package/esm/pull.d.ts +12 -0
- package/esm/pull.d.ts.map +1 -0
- package/esm/pull.js +39 -0
- package/esm/push.d.ts +10 -0
- package/esm/push.d.ts.map +1 -0
- package/esm/push.js +10 -0
- package/esm/resource-type.d.ts +15 -0
- package/esm/resource-type.d.ts.map +1 -0
- package/esm/resource-type.js +70 -0
- package/esm/resource.d.ts +17 -0
- package/esm/resource.d.ts.map +1 -0
- package/esm/resource.js +86 -0
- package/esm/schedule.d.ts +19 -0
- package/esm/schedule.d.ts.map +1 -0
- package/esm/schedule.js +88 -0
- package/esm/script.d.ts +51 -0
- package/esm/script.d.ts.map +1 -0
- package/esm/script.js +666 -0
- package/esm/script_common.d.ts +3 -0
- package/esm/script_common.d.ts.map +1 -0
- package/esm/script_common.js +50 -0
- package/esm/settings.d.ts +24 -0
- package/esm/settings.d.ts.map +1 -0
- package/esm/settings.js +327 -0
- package/esm/store.d.ts +3 -0
- package/esm/store.d.ts.map +1 -0
- package/esm/store.js +71 -0
- package/esm/sync.d.ts +99 -0
- package/esm/sync.d.ts.map +1 -0
- package/esm/sync.js +1137 -0
- package/esm/types.d.ts +31 -0
- package/esm/types.d.ts.map +1 -0
- package/esm/types.js +179 -0
- package/esm/user.d.ts +30 -0
- package/esm/user.d.ts.map +1 -0
- package/esm/user.js +396 -0
- package/esm/utils.d.ts +8 -0
- package/esm/utils.d.ts.map +1 -0
- package/esm/utils.js +122 -0
- package/esm/variable.d.ts +20 -0
- package/esm/variable.d.ts.map +1 -0
- package/esm/variable.js +118 -0
- package/esm/wasm/windmill_parser_wasm.generated.d.ts +117 -0
- package/esm/wasm/windmill_parser_wasm.generated.d.ts.map +1 -0
- package/esm/wasm/windmill_parser_wasm.generated.js +1029 -0
- package/esm/workspace.d.ts +27 -0
- package/esm/workspace.d.ts.map +1 -0
- package/esm/workspace.js +241 -0
- package/package.json +40 -0
|
@@ -0,0 +1,1409 @@
|
|
|
1
|
+
// Ported from js-yaml v3.13.1:
|
|
2
|
+
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
|
+
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
6
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
7
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
8
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
9
|
+
};
|
|
10
|
+
var _LoaderState_instances, _LoaderState_createError;
|
|
11
|
+
import { AMPERSAND, ASTERISK, BACKSLASH, CARRIAGE_RETURN, COLON, COMMA, COMMERCIAL_AT, DOT, DOUBLE_QUOTE, EXCLAMATION, GRAVE_ACCENT, GREATER_THAN, isEOL, isFlowIndicator, isWhiteSpace, isWhiteSpaceOrEOL, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LINE_FEED, MINUS, PERCENT, PLUS, QUESTION, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SHARP, SINGLE_QUOTE, SMALLER_THAN, SPACE, VERTICAL_LINE, } from "./_chars.js";
|
|
12
|
+
import { DEFAULT_SCHEMA } from "./_schema.js";
|
|
13
|
+
import { isObject, isPlainObject } from "./_utils.js";
|
|
14
|
+
const CONTEXT_FLOW_IN = 1;
|
|
15
|
+
const CONTEXT_FLOW_OUT = 2;
|
|
16
|
+
const CONTEXT_BLOCK_IN = 3;
|
|
17
|
+
const CONTEXT_BLOCK_OUT = 4;
|
|
18
|
+
const CHOMPING_CLIP = 1;
|
|
19
|
+
const CHOMPING_STRIP = 2;
|
|
20
|
+
const CHOMPING_KEEP = 3;
|
|
21
|
+
const PATTERN_NON_PRINTABLE =
|
|
22
|
+
// deno-lint-ignore no-control-regex
|
|
23
|
+
/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
|
24
|
+
const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
|
25
|
+
const PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
|
26
|
+
const PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
|
27
|
+
const PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
28
|
+
const ESCAPED_HEX_LENGTHS = new Map([
|
|
29
|
+
[0x78, 2], // x
|
|
30
|
+
[0x75, 4], // u
|
|
31
|
+
[0x55, 8], // U
|
|
32
|
+
]);
|
|
33
|
+
const SIMPLE_ESCAPE_SEQUENCES = new Map([
|
|
34
|
+
[0x30, "\x00"], // 0
|
|
35
|
+
[0x61, "\x07"], // a
|
|
36
|
+
[0x62, "\x08"], // b
|
|
37
|
+
[0x74, "\x09"], // t
|
|
38
|
+
[0x09, "\x09"], // Tab
|
|
39
|
+
[0x6e, "\x0A"], // n
|
|
40
|
+
[0x76, "\x0B"], // v
|
|
41
|
+
[0x66, "\x0C"], // f
|
|
42
|
+
[0x72, "\x0D"], // r
|
|
43
|
+
[0x65, "\x1B"], // e
|
|
44
|
+
[0x20, " "], // Space
|
|
45
|
+
[0x22, '"'], // "
|
|
46
|
+
[0x2f, "/"], // /
|
|
47
|
+
[0x5c, "\\"], // \
|
|
48
|
+
[0x4e, "\x85"], // N
|
|
49
|
+
[0x5f, "\xA0"], // _
|
|
50
|
+
[0x4c, "\u2028"], // L
|
|
51
|
+
[0x50, "\u2029"], // P
|
|
52
|
+
]);
|
|
53
|
+
/**
|
|
54
|
+
* Converts a hexadecimal character code to its decimal value.
|
|
55
|
+
*/
|
|
56
|
+
function hexCharCodeToNumber(charCode) {
|
|
57
|
+
// Check if the character code is in the range for '0' to '9'
|
|
58
|
+
if (0x30 <= charCode && charCode <= 0x39)
|
|
59
|
+
return charCode - 0x30; // Convert '0'-'9' to 0-9
|
|
60
|
+
// Normalize the character code to lowercase if it's a letter
|
|
61
|
+
const lc = charCode | 0x20;
|
|
62
|
+
// Check if the character code is in the range for 'a' to 'f'
|
|
63
|
+
if (0x61 <= lc && lc <= 0x66)
|
|
64
|
+
return lc - 0x61 + 10; // Convert 'a'-'f' to 10-15
|
|
65
|
+
return -1;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Converts a decimal character code to its decimal value.
|
|
69
|
+
*/
|
|
70
|
+
function decimalCharCodeToNumber(charCode) {
|
|
71
|
+
// Check if the character code is in the range for '0' to '9'
|
|
72
|
+
if (0x30 <= charCode && charCode <= 0x39)
|
|
73
|
+
return charCode - 0x30; // Convert '0'-'9' to 0-9
|
|
74
|
+
return -1;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Converts a Unicode code point to a string.
|
|
78
|
+
*/
|
|
79
|
+
function codepointToChar(codepoint) {
|
|
80
|
+
// Check if the code point is within the Basic Multilingual Plane (BMP)
|
|
81
|
+
if (codepoint <= 0xffff)
|
|
82
|
+
return String.fromCharCode(codepoint); // Convert BMP code point to character
|
|
83
|
+
// Encode UTF-16 surrogate pair for code points beyond BMP
|
|
84
|
+
// Reference: https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
|
|
85
|
+
return String.fromCharCode(((codepoint - 0x010000) >> 10) + 0xd800, // High surrogate
|
|
86
|
+
((codepoint - 0x010000) & 0x03ff) + 0xdc00);
|
|
87
|
+
}
|
|
88
|
+
const INDENT = 4;
|
|
89
|
+
const MAX_LENGTH = 75;
|
|
90
|
+
const DELIMITERS = "\x00\r\n\x85\u2028\u2029";
|
|
91
|
+
function getSnippet(buffer, position) {
|
|
92
|
+
if (!buffer)
|
|
93
|
+
return null;
|
|
94
|
+
let start = position;
|
|
95
|
+
let end = position;
|
|
96
|
+
let head = "";
|
|
97
|
+
let tail = "";
|
|
98
|
+
while (start > 0 && !DELIMITERS.includes(buffer.charAt(start - 1))) {
|
|
99
|
+
start--;
|
|
100
|
+
if (position - start > MAX_LENGTH / 2 - 1) {
|
|
101
|
+
head = " ... ";
|
|
102
|
+
start += 5;
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
while (end < buffer.length && !DELIMITERS.includes(buffer.charAt(end))) {
|
|
107
|
+
end++;
|
|
108
|
+
if (end - position > MAX_LENGTH / 2 - 1) {
|
|
109
|
+
tail = " ... ";
|
|
110
|
+
end -= 5;
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const snippet = buffer.slice(start, end);
|
|
115
|
+
const indent = " ".repeat(INDENT);
|
|
116
|
+
const caretIndent = " ".repeat(INDENT + position - start + head.length);
|
|
117
|
+
return `${indent + head + snippet + tail}\n${caretIndent}^`;
|
|
118
|
+
}
|
|
119
|
+
function markToString(buffer, position, line, column) {
|
|
120
|
+
let where = `at line ${line + 1}, column ${column + 1}`;
|
|
121
|
+
const snippet = getSnippet(buffer, position);
|
|
122
|
+
if (snippet)
|
|
123
|
+
where += `:\n${snippet}`;
|
|
124
|
+
return where;
|
|
125
|
+
}
|
|
126
|
+
export class LoaderState {
|
|
127
|
+
constructor(input, { schema = DEFAULT_SCHEMA, onWarning, allowDuplicateKeys = false, }) {
|
|
128
|
+
_LoaderState_instances.add(this);
|
|
129
|
+
Object.defineProperty(this, "input", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
configurable: true,
|
|
132
|
+
writable: true,
|
|
133
|
+
value: void 0
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(this, "length", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
configurable: true,
|
|
138
|
+
writable: true,
|
|
139
|
+
value: void 0
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(this, "lineIndent", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
configurable: true,
|
|
144
|
+
writable: true,
|
|
145
|
+
value: 0
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(this, "lineStart", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
configurable: true,
|
|
150
|
+
writable: true,
|
|
151
|
+
value: 0
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(this, "position", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
configurable: true,
|
|
156
|
+
writable: true,
|
|
157
|
+
value: 0
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(this, "line", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
configurable: true,
|
|
162
|
+
writable: true,
|
|
163
|
+
value: 0
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(this, "onWarning", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
configurable: true,
|
|
168
|
+
writable: true,
|
|
169
|
+
value: void 0
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(this, "allowDuplicateKeys", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
configurable: true,
|
|
174
|
+
writable: true,
|
|
175
|
+
value: void 0
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(this, "implicitTypes", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
configurable: true,
|
|
180
|
+
writable: true,
|
|
181
|
+
value: void 0
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(this, "typeMap", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
configurable: true,
|
|
186
|
+
writable: true,
|
|
187
|
+
value: void 0
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(this, "version", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
configurable: true,
|
|
192
|
+
writable: true,
|
|
193
|
+
value: void 0
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(this, "checkLineBreaks", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
configurable: true,
|
|
198
|
+
writable: true,
|
|
199
|
+
value: false
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(this, "tagMap", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
configurable: true,
|
|
204
|
+
writable: true,
|
|
205
|
+
value: new Map()
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(this, "anchorMap", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
configurable: true,
|
|
210
|
+
writable: true,
|
|
211
|
+
value: new Map()
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(this, "tag", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
configurable: true,
|
|
216
|
+
writable: true,
|
|
217
|
+
value: void 0
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(this, "anchor", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
configurable: true,
|
|
222
|
+
writable: true,
|
|
223
|
+
value: void 0
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(this, "kind", {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
configurable: true,
|
|
228
|
+
writable: true,
|
|
229
|
+
value: void 0
|
|
230
|
+
});
|
|
231
|
+
Object.defineProperty(this, "result", {
|
|
232
|
+
enumerable: true,
|
|
233
|
+
configurable: true,
|
|
234
|
+
writable: true,
|
|
235
|
+
value: ""
|
|
236
|
+
});
|
|
237
|
+
this.input = input;
|
|
238
|
+
this.onWarning = onWarning;
|
|
239
|
+
this.allowDuplicateKeys = allowDuplicateKeys;
|
|
240
|
+
this.implicitTypes = schema.implicitTypes;
|
|
241
|
+
this.typeMap = schema.typeMap;
|
|
242
|
+
this.length = input.length;
|
|
243
|
+
this.version = null;
|
|
244
|
+
this.readIndent();
|
|
245
|
+
}
|
|
246
|
+
readIndent() {
|
|
247
|
+
let char = this.peek();
|
|
248
|
+
while (char === SPACE) {
|
|
249
|
+
this.lineIndent += 1;
|
|
250
|
+
char = this.next();
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
peek(offset = 0) {
|
|
254
|
+
return this.input.charCodeAt(this.position + offset);
|
|
255
|
+
}
|
|
256
|
+
next() {
|
|
257
|
+
this.position += 1;
|
|
258
|
+
return this.peek();
|
|
259
|
+
}
|
|
260
|
+
throwError(message) {
|
|
261
|
+
throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, message);
|
|
262
|
+
}
|
|
263
|
+
dispatchWarning(message) {
|
|
264
|
+
const error = __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, message);
|
|
265
|
+
this.onWarning?.(error);
|
|
266
|
+
}
|
|
267
|
+
yamlDirectiveHandler(...args) {
|
|
268
|
+
if (this.version !== null) {
|
|
269
|
+
return this.throwError("Cannot handle YAML directive: duplication of %YAML directive");
|
|
270
|
+
}
|
|
271
|
+
if (args.length !== 1) {
|
|
272
|
+
return this.throwError("Cannot handle YAML directive: YAML directive accepts exactly one argument");
|
|
273
|
+
}
|
|
274
|
+
const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
|
275
|
+
if (match === null) {
|
|
276
|
+
return this.throwError("Cannot handle YAML directive: ill-formed argument");
|
|
277
|
+
}
|
|
278
|
+
const major = parseInt(match[1], 10);
|
|
279
|
+
const minor = parseInt(match[2], 10);
|
|
280
|
+
if (major !== 1) {
|
|
281
|
+
return this.throwError("Cannot handle YAML directive: unacceptable YAML version");
|
|
282
|
+
}
|
|
283
|
+
this.version = args[0] ?? null;
|
|
284
|
+
this.checkLineBreaks = minor < 2;
|
|
285
|
+
if (minor !== 1 && minor !== 2) {
|
|
286
|
+
return this.dispatchWarning("Cannot handle YAML directive: unsupported YAML version");
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
tagDirectiveHandler(...args) {
|
|
290
|
+
if (args.length !== 2) {
|
|
291
|
+
return this.throwError(`Cannot handle tag directive: directive accepts exactly two arguments, received ${args.length}`);
|
|
292
|
+
}
|
|
293
|
+
const handle = args[0];
|
|
294
|
+
const prefix = args[1];
|
|
295
|
+
if (!PATTERN_TAG_HANDLE.test(handle)) {
|
|
296
|
+
return this.throwError(`Cannot handle tag directive: ill-formed handle (first argument) in "${handle}"`);
|
|
297
|
+
}
|
|
298
|
+
if (this.tagMap.has(handle)) {
|
|
299
|
+
return this.throwError(`Cannot handle tag directive: previously declared suffix for "${handle}" tag handle`);
|
|
300
|
+
}
|
|
301
|
+
if (!PATTERN_TAG_URI.test(prefix)) {
|
|
302
|
+
return this.throwError("Cannot handle tag directive: ill-formed tag prefix (second argument) of the TAG directive");
|
|
303
|
+
}
|
|
304
|
+
this.tagMap.set(handle, prefix);
|
|
305
|
+
}
|
|
306
|
+
captureSegment(start, end, checkJson) {
|
|
307
|
+
let result;
|
|
308
|
+
if (start < end) {
|
|
309
|
+
result = this.input.slice(start, end);
|
|
310
|
+
if (checkJson) {
|
|
311
|
+
for (let position = 0; position < result.length; position++) {
|
|
312
|
+
const character = result.charCodeAt(position);
|
|
313
|
+
if (!(character === 0x09 ||
|
|
314
|
+
(0x20 <= character && character <= 0x10ffff))) {
|
|
315
|
+
return this.throwError(`Expected valid JSON character: received "${character}"`);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
else if (PATTERN_NON_PRINTABLE.test(result)) {
|
|
320
|
+
return this.throwError("Stream contains non-printable characters");
|
|
321
|
+
}
|
|
322
|
+
this.result += result;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
readBlockSequence(nodeIndent) {
|
|
326
|
+
let line;
|
|
327
|
+
let following;
|
|
328
|
+
let detected = false;
|
|
329
|
+
let ch;
|
|
330
|
+
const tag = this.tag;
|
|
331
|
+
const anchor = this.anchor;
|
|
332
|
+
const result = [];
|
|
333
|
+
if (this.anchor !== null && typeof this.anchor !== "undefined") {
|
|
334
|
+
this.anchorMap.set(this.anchor, result);
|
|
335
|
+
}
|
|
336
|
+
ch = this.peek();
|
|
337
|
+
while (ch !== 0) {
|
|
338
|
+
if (ch !== MINUS) {
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
following = this.peek(1);
|
|
342
|
+
if (!isWhiteSpaceOrEOL(following)) {
|
|
343
|
+
break;
|
|
344
|
+
}
|
|
345
|
+
detected = true;
|
|
346
|
+
this.position++;
|
|
347
|
+
if (this.skipSeparationSpace(true, -1)) {
|
|
348
|
+
if (this.lineIndent <= nodeIndent) {
|
|
349
|
+
result.push(null);
|
|
350
|
+
ch = this.peek();
|
|
351
|
+
continue;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
line = this.line;
|
|
355
|
+
this.composeNode(nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
|
356
|
+
result.push(this.result);
|
|
357
|
+
this.skipSeparationSpace(true, -1);
|
|
358
|
+
ch = this.peek();
|
|
359
|
+
if ((this.line === line || this.lineIndent > nodeIndent) && ch !== 0) {
|
|
360
|
+
return this.throwError("Cannot read block sequence: bad indentation of a sequence entry");
|
|
361
|
+
}
|
|
362
|
+
else if (this.lineIndent < nodeIndent) {
|
|
363
|
+
break;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
if (detected) {
|
|
367
|
+
this.tag = tag;
|
|
368
|
+
this.anchor = anchor;
|
|
369
|
+
this.kind = "sequence";
|
|
370
|
+
this.result = result;
|
|
371
|
+
return true;
|
|
372
|
+
}
|
|
373
|
+
return false;
|
|
374
|
+
}
|
|
375
|
+
mergeMappings(destination, source, overridableKeys) {
|
|
376
|
+
if (!isObject(source)) {
|
|
377
|
+
return this.throwError("Cannot merge mappings: the provided source object is unacceptable");
|
|
378
|
+
}
|
|
379
|
+
for (const [key, value] of Object.entries(source)) {
|
|
380
|
+
if (Object.hasOwn(destination, key))
|
|
381
|
+
continue;
|
|
382
|
+
Object.defineProperty(destination, key, {
|
|
383
|
+
value,
|
|
384
|
+
writable: true,
|
|
385
|
+
enumerable: true,
|
|
386
|
+
configurable: true,
|
|
387
|
+
});
|
|
388
|
+
overridableKeys.add(key);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
|
|
392
|
+
// The output is a plain object here, so keys can only be strings.
|
|
393
|
+
// We need to convert keyNode to a string, but doing so can hang the process
|
|
394
|
+
// (deeply nested arrays that explode exponentially using aliases).
|
|
395
|
+
if (Array.isArray(keyNode)) {
|
|
396
|
+
keyNode = Array.prototype.slice.call(keyNode);
|
|
397
|
+
for (let index = 0; index < keyNode.length; index++) {
|
|
398
|
+
if (Array.isArray(keyNode[index])) {
|
|
399
|
+
return this.throwError("Cannot store mapping pair: nested arrays are not supported inside keys");
|
|
400
|
+
}
|
|
401
|
+
if (typeof keyNode === "object" && isPlainObject(keyNode[index])) {
|
|
402
|
+
keyNode[index] = "[object Object]";
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
// Avoid code execution in load() via toString property
|
|
407
|
+
// (still use its own toString for arrays, timestamps,
|
|
408
|
+
// and whatever user schema extensions happen to have @@toStringTag)
|
|
409
|
+
if (typeof keyNode === "object" && isPlainObject(keyNode)) {
|
|
410
|
+
keyNode = "[object Object]";
|
|
411
|
+
}
|
|
412
|
+
keyNode = String(keyNode);
|
|
413
|
+
if (keyTag === "tag:yaml.org,2002:merge") {
|
|
414
|
+
if (Array.isArray(valueNode)) {
|
|
415
|
+
for (let index = 0; index < valueNode.length; index++) {
|
|
416
|
+
this.mergeMappings(result, valueNode[index], overridableKeys);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
else {
|
|
420
|
+
this.mergeMappings(result, valueNode, overridableKeys);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
if (!this.allowDuplicateKeys &&
|
|
425
|
+
!overridableKeys.has(keyNode) &&
|
|
426
|
+
Object.hasOwn(result, keyNode)) {
|
|
427
|
+
this.line = startLine || this.line;
|
|
428
|
+
this.position = startPos || this.position;
|
|
429
|
+
return this.throwError("Cannot store mapping pair: duplicated key");
|
|
430
|
+
}
|
|
431
|
+
Object.defineProperty(result, keyNode, {
|
|
432
|
+
value: valueNode,
|
|
433
|
+
writable: true,
|
|
434
|
+
enumerable: true,
|
|
435
|
+
configurable: true,
|
|
436
|
+
});
|
|
437
|
+
overridableKeys.delete(keyNode);
|
|
438
|
+
}
|
|
439
|
+
return result;
|
|
440
|
+
}
|
|
441
|
+
readLineBreak() {
|
|
442
|
+
const ch = this.peek();
|
|
443
|
+
if (ch === LINE_FEED) {
|
|
444
|
+
this.position++;
|
|
445
|
+
}
|
|
446
|
+
else if (ch === CARRIAGE_RETURN) {
|
|
447
|
+
this.position++;
|
|
448
|
+
if (this.peek() === LINE_FEED) {
|
|
449
|
+
this.position++;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
return this.throwError("Cannot read line: line break not found");
|
|
454
|
+
}
|
|
455
|
+
this.line += 1;
|
|
456
|
+
this.lineStart = this.position;
|
|
457
|
+
}
|
|
458
|
+
skipSeparationSpace(allowComments, checkIndent) {
|
|
459
|
+
let lineBreaks = 0;
|
|
460
|
+
let ch = this.peek();
|
|
461
|
+
while (ch !== 0) {
|
|
462
|
+
while (isWhiteSpace(ch)) {
|
|
463
|
+
ch = this.next();
|
|
464
|
+
}
|
|
465
|
+
if (allowComments && ch === SHARP) {
|
|
466
|
+
do {
|
|
467
|
+
ch = this.next();
|
|
468
|
+
} while (ch !== LINE_FEED && ch !== CARRIAGE_RETURN && ch !== 0);
|
|
469
|
+
}
|
|
470
|
+
if (isEOL(ch)) {
|
|
471
|
+
this.readLineBreak();
|
|
472
|
+
ch = this.peek();
|
|
473
|
+
lineBreaks++;
|
|
474
|
+
this.lineIndent = 0;
|
|
475
|
+
this.readIndent();
|
|
476
|
+
ch = this.peek();
|
|
477
|
+
}
|
|
478
|
+
else {
|
|
479
|
+
break;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
if (checkIndent !== -1 &&
|
|
483
|
+
lineBreaks !== 0 &&
|
|
484
|
+
this.lineIndent < checkIndent) {
|
|
485
|
+
this.dispatchWarning("deficient indentation");
|
|
486
|
+
}
|
|
487
|
+
return lineBreaks;
|
|
488
|
+
}
|
|
489
|
+
testDocumentSeparator() {
|
|
490
|
+
let ch = this.peek();
|
|
491
|
+
// Condition this.position === this.lineStart is tested
|
|
492
|
+
// in parent on each call, for efficiency. No needs to test here again.
|
|
493
|
+
if ((ch === MINUS || ch === DOT) &&
|
|
494
|
+
ch === this.peek(1) &&
|
|
495
|
+
ch === this.peek(2)) {
|
|
496
|
+
ch = this.peek(3);
|
|
497
|
+
if (ch === 0 || isWhiteSpaceOrEOL(ch)) {
|
|
498
|
+
return true;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
return false;
|
|
502
|
+
}
|
|
503
|
+
writeFoldedLines(count) {
|
|
504
|
+
if (count === 1) {
|
|
505
|
+
this.result += " ";
|
|
506
|
+
}
|
|
507
|
+
else if (count > 1) {
|
|
508
|
+
this.result += "\n".repeat(count - 1);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
readPlainScalar(nodeIndent, withinFlowCollection) {
|
|
512
|
+
const kind = this.kind;
|
|
513
|
+
const result = this.result;
|
|
514
|
+
let ch = this.peek();
|
|
515
|
+
if (isWhiteSpaceOrEOL(ch) ||
|
|
516
|
+
isFlowIndicator(ch) ||
|
|
517
|
+
ch === SHARP ||
|
|
518
|
+
ch === AMPERSAND ||
|
|
519
|
+
ch === ASTERISK ||
|
|
520
|
+
ch === EXCLAMATION ||
|
|
521
|
+
ch === VERTICAL_LINE ||
|
|
522
|
+
ch === GREATER_THAN ||
|
|
523
|
+
ch === SINGLE_QUOTE ||
|
|
524
|
+
ch === DOUBLE_QUOTE ||
|
|
525
|
+
ch === PERCENT ||
|
|
526
|
+
ch === COMMERCIAL_AT ||
|
|
527
|
+
ch === GRAVE_ACCENT) {
|
|
528
|
+
return false;
|
|
529
|
+
}
|
|
530
|
+
let following;
|
|
531
|
+
if (ch === QUESTION || ch === MINUS) {
|
|
532
|
+
following = this.peek(1);
|
|
533
|
+
if (isWhiteSpaceOrEOL(following) ||
|
|
534
|
+
(withinFlowCollection && isFlowIndicator(following))) {
|
|
535
|
+
return false;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
this.kind = "scalar";
|
|
539
|
+
this.result = "";
|
|
540
|
+
let captureEnd = this.position;
|
|
541
|
+
let captureStart = this.position;
|
|
542
|
+
let hasPendingContent = false;
|
|
543
|
+
let line = 0;
|
|
544
|
+
while (ch !== 0) {
|
|
545
|
+
if (ch === COLON) {
|
|
546
|
+
following = this.peek(1);
|
|
547
|
+
if (isWhiteSpaceOrEOL(following) ||
|
|
548
|
+
(withinFlowCollection && isFlowIndicator(following))) {
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
else if (ch === SHARP) {
|
|
553
|
+
const preceding = this.peek(-1);
|
|
554
|
+
if (isWhiteSpaceOrEOL(preceding)) {
|
|
555
|
+
break;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
else if ((this.position === this.lineStart && this.testDocumentSeparator()) ||
|
|
559
|
+
(withinFlowCollection && isFlowIndicator(ch))) {
|
|
560
|
+
break;
|
|
561
|
+
}
|
|
562
|
+
else if (isEOL(ch)) {
|
|
563
|
+
line = this.line;
|
|
564
|
+
const lineStart = this.lineStart;
|
|
565
|
+
const lineIndent = this.lineIndent;
|
|
566
|
+
this.skipSeparationSpace(false, -1);
|
|
567
|
+
if (this.lineIndent >= nodeIndent) {
|
|
568
|
+
hasPendingContent = true;
|
|
569
|
+
ch = this.peek();
|
|
570
|
+
continue;
|
|
571
|
+
}
|
|
572
|
+
else {
|
|
573
|
+
this.position = captureEnd;
|
|
574
|
+
this.line = line;
|
|
575
|
+
this.lineStart = lineStart;
|
|
576
|
+
this.lineIndent = lineIndent;
|
|
577
|
+
break;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
if (hasPendingContent) {
|
|
581
|
+
this.captureSegment(captureStart, captureEnd, false);
|
|
582
|
+
this.writeFoldedLines(this.line - line);
|
|
583
|
+
captureStart = captureEnd = this.position;
|
|
584
|
+
hasPendingContent = false;
|
|
585
|
+
}
|
|
586
|
+
if (!isWhiteSpace(ch)) {
|
|
587
|
+
captureEnd = this.position + 1;
|
|
588
|
+
}
|
|
589
|
+
ch = this.next();
|
|
590
|
+
}
|
|
591
|
+
this.captureSegment(captureStart, captureEnd, false);
|
|
592
|
+
if (this.result) {
|
|
593
|
+
return true;
|
|
594
|
+
}
|
|
595
|
+
this.kind = kind;
|
|
596
|
+
this.result = result;
|
|
597
|
+
return false;
|
|
598
|
+
}
|
|
599
|
+
readSingleQuotedScalar(nodeIndent) {
|
|
600
|
+
let ch;
|
|
601
|
+
let captureStart;
|
|
602
|
+
let captureEnd;
|
|
603
|
+
ch = this.peek();
|
|
604
|
+
if (ch !== SINGLE_QUOTE) {
|
|
605
|
+
return false;
|
|
606
|
+
}
|
|
607
|
+
this.kind = "scalar";
|
|
608
|
+
this.result = "";
|
|
609
|
+
this.position++;
|
|
610
|
+
captureStart = captureEnd = this.position;
|
|
611
|
+
while ((ch = this.peek()) !== 0) {
|
|
612
|
+
if (ch === SINGLE_QUOTE) {
|
|
613
|
+
this.captureSegment(captureStart, this.position, true);
|
|
614
|
+
ch = this.next();
|
|
615
|
+
if (ch === SINGLE_QUOTE) {
|
|
616
|
+
captureStart = this.position;
|
|
617
|
+
this.position++;
|
|
618
|
+
captureEnd = this.position;
|
|
619
|
+
}
|
|
620
|
+
else {
|
|
621
|
+
return true;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
else if (isEOL(ch)) {
|
|
625
|
+
this.captureSegment(captureStart, captureEnd, true);
|
|
626
|
+
this.writeFoldedLines(this.skipSeparationSpace(false, nodeIndent));
|
|
627
|
+
captureStart = captureEnd = this.position;
|
|
628
|
+
}
|
|
629
|
+
else if (this.position === this.lineStart &&
|
|
630
|
+
this.testDocumentSeparator()) {
|
|
631
|
+
return this.throwError("Unexpected end of the document within a single quoted scalar");
|
|
632
|
+
}
|
|
633
|
+
else {
|
|
634
|
+
this.position++;
|
|
635
|
+
captureEnd = this.position;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
return this.throwError("Unexpected end of the stream within a single quoted scalar");
|
|
639
|
+
}
|
|
640
|
+
readDoubleQuotedScalar(nodeIndent) {
|
|
641
|
+
let ch = this.peek();
|
|
642
|
+
if (ch !== DOUBLE_QUOTE) {
|
|
643
|
+
return false;
|
|
644
|
+
}
|
|
645
|
+
this.kind = "scalar";
|
|
646
|
+
this.result = "";
|
|
647
|
+
this.position++;
|
|
648
|
+
let captureEnd = this.position;
|
|
649
|
+
let captureStart = this.position;
|
|
650
|
+
let tmp;
|
|
651
|
+
while ((ch = this.peek()) !== 0) {
|
|
652
|
+
if (ch === DOUBLE_QUOTE) {
|
|
653
|
+
this.captureSegment(captureStart, this.position, true);
|
|
654
|
+
this.position++;
|
|
655
|
+
return true;
|
|
656
|
+
}
|
|
657
|
+
if (ch === BACKSLASH) {
|
|
658
|
+
this.captureSegment(captureStart, this.position, true);
|
|
659
|
+
ch = this.next();
|
|
660
|
+
if (isEOL(ch)) {
|
|
661
|
+
this.skipSeparationSpace(false, nodeIndent);
|
|
662
|
+
}
|
|
663
|
+
else if (ch < 256 && SIMPLE_ESCAPE_SEQUENCES.has(ch)) {
|
|
664
|
+
this.result += SIMPLE_ESCAPE_SEQUENCES.get(ch);
|
|
665
|
+
this.position++;
|
|
666
|
+
}
|
|
667
|
+
else if ((tmp = ESCAPED_HEX_LENGTHS.get(ch) ?? 0) > 0) {
|
|
668
|
+
let hexLength = tmp;
|
|
669
|
+
let hexResult = 0;
|
|
670
|
+
for (; hexLength > 0; hexLength--) {
|
|
671
|
+
ch = this.next();
|
|
672
|
+
if ((tmp = hexCharCodeToNumber(ch)) >= 0) {
|
|
673
|
+
hexResult = (hexResult << 4) + tmp;
|
|
674
|
+
}
|
|
675
|
+
else {
|
|
676
|
+
return this.throwError("Cannot read double quoted scalar: expected hexadecimal character");
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
this.result += codepointToChar(hexResult);
|
|
680
|
+
this.position++;
|
|
681
|
+
}
|
|
682
|
+
else {
|
|
683
|
+
return this.throwError("Cannot read double quoted scalar: unknown escape sequence");
|
|
684
|
+
}
|
|
685
|
+
captureStart = captureEnd = this.position;
|
|
686
|
+
}
|
|
687
|
+
else if (isEOL(ch)) {
|
|
688
|
+
this.captureSegment(captureStart, captureEnd, true);
|
|
689
|
+
this.writeFoldedLines(this.skipSeparationSpace(false, nodeIndent));
|
|
690
|
+
captureStart = captureEnd = this.position;
|
|
691
|
+
}
|
|
692
|
+
else if (this.position === this.lineStart &&
|
|
693
|
+
this.testDocumentSeparator()) {
|
|
694
|
+
return this.throwError("Unexpected end of the document within a double quoted scalar");
|
|
695
|
+
}
|
|
696
|
+
else {
|
|
697
|
+
this.position++;
|
|
698
|
+
captureEnd = this.position;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
return this.throwError("Unexpected end of the stream within a double quoted scalar");
|
|
702
|
+
}
|
|
703
|
+
readFlowCollection(nodeIndent) {
|
|
704
|
+
let ch = this.peek();
|
|
705
|
+
let terminator;
|
|
706
|
+
let isMapping = true;
|
|
707
|
+
let result = {};
|
|
708
|
+
if (ch === LEFT_SQUARE_BRACKET) {
|
|
709
|
+
terminator = RIGHT_SQUARE_BRACKET;
|
|
710
|
+
isMapping = false;
|
|
711
|
+
result = [];
|
|
712
|
+
}
|
|
713
|
+
else if (ch === LEFT_CURLY_BRACKET) {
|
|
714
|
+
terminator = RIGHT_CURLY_BRACKET;
|
|
715
|
+
}
|
|
716
|
+
else {
|
|
717
|
+
return false;
|
|
718
|
+
}
|
|
719
|
+
if (this.anchor !== null && typeof this.anchor !== "undefined") {
|
|
720
|
+
this.anchorMap.set(this.anchor, result);
|
|
721
|
+
}
|
|
722
|
+
ch = this.next();
|
|
723
|
+
const tag = this.tag;
|
|
724
|
+
const anchor = this.anchor;
|
|
725
|
+
let readNext = true;
|
|
726
|
+
let valueNode = null;
|
|
727
|
+
let keyNode = null;
|
|
728
|
+
let keyTag = null;
|
|
729
|
+
let isExplicitPair = false;
|
|
730
|
+
let isPair = false;
|
|
731
|
+
let following = 0;
|
|
732
|
+
let line = 0;
|
|
733
|
+
const overridableKeys = new Set();
|
|
734
|
+
while (ch !== 0) {
|
|
735
|
+
this.skipSeparationSpace(true, nodeIndent);
|
|
736
|
+
ch = this.peek();
|
|
737
|
+
if (ch === terminator) {
|
|
738
|
+
this.position++;
|
|
739
|
+
this.tag = tag;
|
|
740
|
+
this.anchor = anchor;
|
|
741
|
+
this.kind = isMapping ? "mapping" : "sequence";
|
|
742
|
+
this.result = result;
|
|
743
|
+
return true;
|
|
744
|
+
}
|
|
745
|
+
if (!readNext) {
|
|
746
|
+
return this.throwError("Cannot read flow collection: missing comma between flow collection entries");
|
|
747
|
+
}
|
|
748
|
+
keyTag = keyNode = valueNode = null;
|
|
749
|
+
isPair = isExplicitPair = false;
|
|
750
|
+
if (ch === QUESTION) {
|
|
751
|
+
following = this.peek(1);
|
|
752
|
+
if (isWhiteSpaceOrEOL(following)) {
|
|
753
|
+
isPair = isExplicitPair = true;
|
|
754
|
+
this.position++;
|
|
755
|
+
this.skipSeparationSpace(true, nodeIndent);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
line = this.line;
|
|
759
|
+
this.composeNode(nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
760
|
+
keyTag = this.tag || null;
|
|
761
|
+
keyNode = this.result;
|
|
762
|
+
this.skipSeparationSpace(true, nodeIndent);
|
|
763
|
+
ch = this.peek();
|
|
764
|
+
if ((isExplicitPair || this.line === line) && ch === COLON) {
|
|
765
|
+
isPair = true;
|
|
766
|
+
ch = this.next();
|
|
767
|
+
this.skipSeparationSpace(true, nodeIndent);
|
|
768
|
+
this.composeNode(nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
769
|
+
valueNode = this.result;
|
|
770
|
+
}
|
|
771
|
+
if (isMapping) {
|
|
772
|
+
this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode);
|
|
773
|
+
}
|
|
774
|
+
else if (isPair) {
|
|
775
|
+
result.push(this.storeMappingPair({}, overridableKeys, keyTag, keyNode, valueNode));
|
|
776
|
+
}
|
|
777
|
+
else {
|
|
778
|
+
result.push(keyNode);
|
|
779
|
+
}
|
|
780
|
+
this.skipSeparationSpace(true, nodeIndent);
|
|
781
|
+
ch = this.peek();
|
|
782
|
+
if (ch === COMMA) {
|
|
783
|
+
readNext = true;
|
|
784
|
+
ch = this.next();
|
|
785
|
+
}
|
|
786
|
+
else {
|
|
787
|
+
readNext = false;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
return this.throwError("Cannot read flow collection: unexpected end of the stream within a flow collection");
|
|
791
|
+
}
|
|
792
|
+
// Handles block scaler styles: e.g. '|', '>', '|-' and '>-'.
|
|
793
|
+
// https://yaml.org/spec/1.2.2/#81-block-scalar-styles
|
|
794
|
+
readBlockScalar(nodeIndent) {
|
|
795
|
+
let chomping = CHOMPING_CLIP;
|
|
796
|
+
let didReadContent = false;
|
|
797
|
+
let detectedIndent = false;
|
|
798
|
+
let textIndent = nodeIndent;
|
|
799
|
+
let emptyLines = 0;
|
|
800
|
+
let atMoreIndented = false;
|
|
801
|
+
let ch = this.peek();
|
|
802
|
+
let folding = false;
|
|
803
|
+
if (ch === VERTICAL_LINE) {
|
|
804
|
+
folding = false;
|
|
805
|
+
}
|
|
806
|
+
else if (ch === GREATER_THAN) {
|
|
807
|
+
folding = true;
|
|
808
|
+
}
|
|
809
|
+
else {
|
|
810
|
+
return false;
|
|
811
|
+
}
|
|
812
|
+
this.kind = "scalar";
|
|
813
|
+
this.result = "";
|
|
814
|
+
let tmp = 0;
|
|
815
|
+
while (ch !== 0) {
|
|
816
|
+
ch = this.next();
|
|
817
|
+
if (ch === PLUS || ch === MINUS) {
|
|
818
|
+
if (CHOMPING_CLIP === chomping) {
|
|
819
|
+
chomping = ch === PLUS ? CHOMPING_KEEP : CHOMPING_STRIP;
|
|
820
|
+
}
|
|
821
|
+
else {
|
|
822
|
+
return this.throwError("Cannot read block: chomping mode identifier repeated");
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
else if ((tmp = decimalCharCodeToNumber(ch)) >= 0) {
|
|
826
|
+
if (tmp === 0) {
|
|
827
|
+
return this.throwError("Cannot read block: indentation width must be greater than 0");
|
|
828
|
+
}
|
|
829
|
+
else if (!detectedIndent) {
|
|
830
|
+
textIndent = nodeIndent + tmp - 1;
|
|
831
|
+
detectedIndent = true;
|
|
832
|
+
}
|
|
833
|
+
else {
|
|
834
|
+
return this.throwError("Cannot read block: indentation width identifier repeated");
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
else {
|
|
838
|
+
break;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
if (isWhiteSpace(ch)) {
|
|
842
|
+
do {
|
|
843
|
+
ch = this.next();
|
|
844
|
+
} while (isWhiteSpace(ch));
|
|
845
|
+
if (ch === SHARP) {
|
|
846
|
+
do {
|
|
847
|
+
ch = this.next();
|
|
848
|
+
} while (!isEOL(ch) && ch !== 0);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
while (ch !== 0) {
|
|
852
|
+
this.readLineBreak();
|
|
853
|
+
this.lineIndent = 0;
|
|
854
|
+
ch = this.peek();
|
|
855
|
+
while ((!detectedIndent || this.lineIndent < textIndent) &&
|
|
856
|
+
ch === SPACE) {
|
|
857
|
+
this.lineIndent++;
|
|
858
|
+
ch = this.next();
|
|
859
|
+
}
|
|
860
|
+
if (!detectedIndent && this.lineIndent > textIndent) {
|
|
861
|
+
textIndent = this.lineIndent;
|
|
862
|
+
}
|
|
863
|
+
if (isEOL(ch)) {
|
|
864
|
+
emptyLines++;
|
|
865
|
+
continue;
|
|
866
|
+
}
|
|
867
|
+
// End of the scalar.
|
|
868
|
+
if (this.lineIndent < textIndent) {
|
|
869
|
+
// Perform the chomping.
|
|
870
|
+
if (chomping === CHOMPING_KEEP) {
|
|
871
|
+
this.result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
|
|
872
|
+
}
|
|
873
|
+
else if (chomping === CHOMPING_CLIP) {
|
|
874
|
+
if (didReadContent) {
|
|
875
|
+
// i.e. only if the scalar is not empty.
|
|
876
|
+
this.result += "\n";
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
// Break this `while` cycle and go to the function's epilogue.
|
|
880
|
+
break;
|
|
881
|
+
}
|
|
882
|
+
// Folded style: use fancy rules to handle line breaks.
|
|
883
|
+
if (folding) {
|
|
884
|
+
// Lines starting with white space characters (more-indented lines) are not folded.
|
|
885
|
+
if (isWhiteSpace(ch)) {
|
|
886
|
+
atMoreIndented = true;
|
|
887
|
+
// except for the first content line (cf. Example 8.1)
|
|
888
|
+
this.result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
|
|
889
|
+
// End of more-indented block.
|
|
890
|
+
}
|
|
891
|
+
else if (atMoreIndented) {
|
|
892
|
+
atMoreIndented = false;
|
|
893
|
+
this.result += "\n".repeat(emptyLines + 1);
|
|
894
|
+
// Just one line break - perceive as the same line.
|
|
895
|
+
}
|
|
896
|
+
else if (emptyLines === 0) {
|
|
897
|
+
if (didReadContent) {
|
|
898
|
+
// i.e. only if we have already read some scalar content.
|
|
899
|
+
this.result += " ";
|
|
900
|
+
}
|
|
901
|
+
// Several line breaks - perceive as different lines.
|
|
902
|
+
}
|
|
903
|
+
else {
|
|
904
|
+
this.result += "\n".repeat(emptyLines);
|
|
905
|
+
}
|
|
906
|
+
// Literal style: just add exact number of line breaks between content lines.
|
|
907
|
+
}
|
|
908
|
+
else {
|
|
909
|
+
// Keep all line breaks except the header line break.
|
|
910
|
+
this.result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
|
|
911
|
+
}
|
|
912
|
+
didReadContent = true;
|
|
913
|
+
detectedIndent = true;
|
|
914
|
+
emptyLines = 0;
|
|
915
|
+
const captureStart = this.position;
|
|
916
|
+
while (!isEOL(ch) && ch !== 0) {
|
|
917
|
+
ch = this.next();
|
|
918
|
+
}
|
|
919
|
+
this.captureSegment(captureStart, this.position, false);
|
|
920
|
+
}
|
|
921
|
+
return true;
|
|
922
|
+
}
|
|
923
|
+
readBlockMapping(nodeIndent, flowIndent) {
|
|
924
|
+
const tag = this.tag;
|
|
925
|
+
const anchor = this.anchor;
|
|
926
|
+
const result = {};
|
|
927
|
+
const overridableKeys = new Set();
|
|
928
|
+
let following;
|
|
929
|
+
let allowCompact = false;
|
|
930
|
+
let line;
|
|
931
|
+
let pos;
|
|
932
|
+
let keyTag = null;
|
|
933
|
+
let keyNode = null;
|
|
934
|
+
let valueNode = null;
|
|
935
|
+
let atExplicitKey = false;
|
|
936
|
+
let detected = false;
|
|
937
|
+
let ch;
|
|
938
|
+
if (this.anchor !== null && typeof this.anchor !== "undefined") {
|
|
939
|
+
this.anchorMap.set(this.anchor, result);
|
|
940
|
+
}
|
|
941
|
+
ch = this.peek();
|
|
942
|
+
while (ch !== 0) {
|
|
943
|
+
following = this.peek(1);
|
|
944
|
+
line = this.line; // Save the current line.
|
|
945
|
+
pos = this.position;
|
|
946
|
+
//
|
|
947
|
+
// Explicit notation case. There are two separate blocks:
|
|
948
|
+
// first for the key (denoted by "?") and second for the value (denoted by ":")
|
|
949
|
+
//
|
|
950
|
+
if ((ch === QUESTION || ch === COLON) && isWhiteSpaceOrEOL(following)) {
|
|
951
|
+
if (ch === QUESTION) {
|
|
952
|
+
if (atExplicitKey) {
|
|
953
|
+
this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
|
|
954
|
+
keyTag = keyNode = valueNode = null;
|
|
955
|
+
}
|
|
956
|
+
detected = true;
|
|
957
|
+
atExplicitKey = true;
|
|
958
|
+
allowCompact = true;
|
|
959
|
+
}
|
|
960
|
+
else if (atExplicitKey) {
|
|
961
|
+
// i.e. 0x3A/* : */ === character after the explicit key.
|
|
962
|
+
atExplicitKey = false;
|
|
963
|
+
allowCompact = true;
|
|
964
|
+
}
|
|
965
|
+
else {
|
|
966
|
+
return this.throwError("Cannot read block as explicit mapping pair is incomplete: a key node is missed or followed by a non-tabulated empty line");
|
|
967
|
+
}
|
|
968
|
+
this.position += 1;
|
|
969
|
+
ch = following;
|
|
970
|
+
//
|
|
971
|
+
// Implicit notation case. Flow-style node as the key first, then ":", and the value.
|
|
972
|
+
//
|
|
973
|
+
}
|
|
974
|
+
else if (this.composeNode(flowIndent, CONTEXT_FLOW_OUT, false, true)) {
|
|
975
|
+
if (this.line === line) {
|
|
976
|
+
ch = this.peek();
|
|
977
|
+
while (isWhiteSpace(ch)) {
|
|
978
|
+
ch = this.next();
|
|
979
|
+
}
|
|
980
|
+
if (ch === COLON) {
|
|
981
|
+
ch = this.next();
|
|
982
|
+
if (!isWhiteSpaceOrEOL(ch)) {
|
|
983
|
+
return this.throwError("Cannot read block: a whitespace character is expected after the key-value separator within a block mapping");
|
|
984
|
+
}
|
|
985
|
+
if (atExplicitKey) {
|
|
986
|
+
this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
|
|
987
|
+
keyTag = keyNode = valueNode = null;
|
|
988
|
+
}
|
|
989
|
+
detected = true;
|
|
990
|
+
atExplicitKey = false;
|
|
991
|
+
allowCompact = false;
|
|
992
|
+
keyTag = this.tag;
|
|
993
|
+
keyNode = this.result;
|
|
994
|
+
}
|
|
995
|
+
else if (detected) {
|
|
996
|
+
return this.throwError("Cannot read an implicit mapping pair: missing colon");
|
|
997
|
+
}
|
|
998
|
+
else {
|
|
999
|
+
this.tag = tag;
|
|
1000
|
+
this.anchor = anchor;
|
|
1001
|
+
return true; // Keep the result of `composeNode`.
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
else if (detected) {
|
|
1005
|
+
return this.throwError("Cannot read a block mapping entry: a multiline key may not be an implicit key");
|
|
1006
|
+
}
|
|
1007
|
+
else {
|
|
1008
|
+
this.tag = tag;
|
|
1009
|
+
this.anchor = anchor;
|
|
1010
|
+
return true; // Keep the result of `composeNode`.
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
else {
|
|
1014
|
+
break; // Reading is done. Go to the epilogue.
|
|
1015
|
+
}
|
|
1016
|
+
//
|
|
1017
|
+
// Common reading code for both explicit and implicit notations.
|
|
1018
|
+
//
|
|
1019
|
+
if (this.line === line || this.lineIndent > nodeIndent) {
|
|
1020
|
+
if (this.composeNode(nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
|
|
1021
|
+
if (atExplicitKey) {
|
|
1022
|
+
keyNode = this.result;
|
|
1023
|
+
}
|
|
1024
|
+
else {
|
|
1025
|
+
valueNode = this.result;
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
if (!atExplicitKey) {
|
|
1029
|
+
this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode, line, pos);
|
|
1030
|
+
keyTag = keyNode = valueNode = null;
|
|
1031
|
+
}
|
|
1032
|
+
this.skipSeparationSpace(true, -1);
|
|
1033
|
+
ch = this.peek();
|
|
1034
|
+
}
|
|
1035
|
+
if (this.lineIndent > nodeIndent && ch !== 0) {
|
|
1036
|
+
return this.throwError("Cannot read block: bad indentation of a mapping entry");
|
|
1037
|
+
}
|
|
1038
|
+
else if (this.lineIndent < nodeIndent) {
|
|
1039
|
+
break;
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
//
|
|
1043
|
+
// Epilogue.
|
|
1044
|
+
//
|
|
1045
|
+
// Special case: last mapping's node contains only the key in explicit notation.
|
|
1046
|
+
if (atExplicitKey) {
|
|
1047
|
+
this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
|
|
1048
|
+
}
|
|
1049
|
+
// Expose the resulting mapping.
|
|
1050
|
+
if (detected) {
|
|
1051
|
+
this.tag = tag;
|
|
1052
|
+
this.anchor = anchor;
|
|
1053
|
+
this.kind = "mapping";
|
|
1054
|
+
this.result = result;
|
|
1055
|
+
}
|
|
1056
|
+
return detected;
|
|
1057
|
+
}
|
|
1058
|
+
readTagProperty() {
|
|
1059
|
+
let position;
|
|
1060
|
+
let isVerbatim = false;
|
|
1061
|
+
let isNamed = false;
|
|
1062
|
+
let tagHandle = "";
|
|
1063
|
+
let tagName;
|
|
1064
|
+
let ch;
|
|
1065
|
+
ch = this.peek();
|
|
1066
|
+
if (ch !== EXCLAMATION)
|
|
1067
|
+
return false;
|
|
1068
|
+
if (this.tag !== null) {
|
|
1069
|
+
return this.throwError("Cannot read tag property: duplication of a tag property");
|
|
1070
|
+
}
|
|
1071
|
+
ch = this.next();
|
|
1072
|
+
if (ch === SMALLER_THAN) {
|
|
1073
|
+
isVerbatim = true;
|
|
1074
|
+
ch = this.next();
|
|
1075
|
+
}
|
|
1076
|
+
else if (ch === EXCLAMATION) {
|
|
1077
|
+
isNamed = true;
|
|
1078
|
+
tagHandle = "!!";
|
|
1079
|
+
ch = this.next();
|
|
1080
|
+
}
|
|
1081
|
+
else {
|
|
1082
|
+
tagHandle = "!";
|
|
1083
|
+
}
|
|
1084
|
+
position = this.position;
|
|
1085
|
+
if (isVerbatim) {
|
|
1086
|
+
do {
|
|
1087
|
+
ch = this.next();
|
|
1088
|
+
} while (ch !== 0 && ch !== GREATER_THAN);
|
|
1089
|
+
if (this.position < this.length) {
|
|
1090
|
+
tagName = this.input.slice(position, this.position);
|
|
1091
|
+
ch = this.next();
|
|
1092
|
+
}
|
|
1093
|
+
else {
|
|
1094
|
+
return this.throwError("Cannot read tag property: unexpected end of stream");
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
else {
|
|
1098
|
+
while (ch !== 0 && !isWhiteSpaceOrEOL(ch)) {
|
|
1099
|
+
if (ch === EXCLAMATION) {
|
|
1100
|
+
if (!isNamed) {
|
|
1101
|
+
tagHandle = this.input.slice(position - 1, this.position + 1);
|
|
1102
|
+
if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
|
|
1103
|
+
return this.throwError("Cannot read tag property: named tag handle contains invalid characters");
|
|
1104
|
+
}
|
|
1105
|
+
isNamed = true;
|
|
1106
|
+
position = this.position + 1;
|
|
1107
|
+
}
|
|
1108
|
+
else {
|
|
1109
|
+
return this.throwError("Cannot read tag property: tag suffix cannot contain an exclamation mark");
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
ch = this.next();
|
|
1113
|
+
}
|
|
1114
|
+
tagName = this.input.slice(position, this.position);
|
|
1115
|
+
if (PATTERN_FLOW_INDICATORS.test(tagName)) {
|
|
1116
|
+
return this.throwError("Cannot read tag property: tag suffix cannot contain flow indicator characters");
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
if (tagName && !PATTERN_TAG_URI.test(tagName)) {
|
|
1120
|
+
return this.throwError(`Cannot read tag property: invalid characters in tag name "${tagName}"`);
|
|
1121
|
+
}
|
|
1122
|
+
if (isVerbatim) {
|
|
1123
|
+
this.tag = tagName;
|
|
1124
|
+
}
|
|
1125
|
+
else if (this.tagMap.has(tagHandle)) {
|
|
1126
|
+
this.tag = this.tagMap.get(tagHandle) + tagName;
|
|
1127
|
+
}
|
|
1128
|
+
else if (tagHandle === "!") {
|
|
1129
|
+
this.tag = `!${tagName}`;
|
|
1130
|
+
}
|
|
1131
|
+
else if (tagHandle === "!!") {
|
|
1132
|
+
this.tag = `tag:yaml.org,2002:${tagName}`;
|
|
1133
|
+
}
|
|
1134
|
+
else {
|
|
1135
|
+
return this.throwError(`Cannot read tag property: undeclared tag handle "${tagHandle}"`);
|
|
1136
|
+
}
|
|
1137
|
+
return true;
|
|
1138
|
+
}
|
|
1139
|
+
readAnchorProperty() {
|
|
1140
|
+
let ch = this.peek();
|
|
1141
|
+
if (ch !== AMPERSAND)
|
|
1142
|
+
return false;
|
|
1143
|
+
if (this.anchor !== null) {
|
|
1144
|
+
return this.throwError("Cannot read anchor property: duplicate anchor property");
|
|
1145
|
+
}
|
|
1146
|
+
ch = this.next();
|
|
1147
|
+
const position = this.position;
|
|
1148
|
+
while (ch !== 0 && !isWhiteSpaceOrEOL(ch) && !isFlowIndicator(ch)) {
|
|
1149
|
+
ch = this.next();
|
|
1150
|
+
}
|
|
1151
|
+
if (this.position === position) {
|
|
1152
|
+
return this.throwError("Cannot read anchor property: name of an anchor node must contain at least one character");
|
|
1153
|
+
}
|
|
1154
|
+
this.anchor = this.input.slice(position, this.position);
|
|
1155
|
+
return true;
|
|
1156
|
+
}
|
|
1157
|
+
readAlias() {
|
|
1158
|
+
if (this.peek() !== ASTERISK)
|
|
1159
|
+
return false;
|
|
1160
|
+
let ch = this.next();
|
|
1161
|
+
const position = this.position;
|
|
1162
|
+
while (ch !== 0 && !isWhiteSpaceOrEOL(ch) && !isFlowIndicator(ch)) {
|
|
1163
|
+
ch = this.next();
|
|
1164
|
+
}
|
|
1165
|
+
if (this.position === position) {
|
|
1166
|
+
return this.throwError("Cannot read alias: alias name must contain at least one character");
|
|
1167
|
+
}
|
|
1168
|
+
const alias = this.input.slice(position, this.position);
|
|
1169
|
+
if (!this.anchorMap.has(alias)) {
|
|
1170
|
+
return this.throwError(`Cannot read alias: unidentified alias "${alias}"`);
|
|
1171
|
+
}
|
|
1172
|
+
this.result = this.anchorMap.get(alias);
|
|
1173
|
+
this.skipSeparationSpace(true, -1);
|
|
1174
|
+
return true;
|
|
1175
|
+
}
|
|
1176
|
+
composeNode(parentIndent, nodeContext, allowToSeek, allowCompact) {
|
|
1177
|
+
let allowBlockScalars;
|
|
1178
|
+
let allowBlockCollections;
|
|
1179
|
+
let indentStatus = 1; // 1: this>parent, 0: this=parent, -1: this<parent
|
|
1180
|
+
let atNewLine = false;
|
|
1181
|
+
let hasContent = false;
|
|
1182
|
+
let type;
|
|
1183
|
+
let flowIndent;
|
|
1184
|
+
let blockIndent;
|
|
1185
|
+
this.tag = null;
|
|
1186
|
+
this.anchor = null;
|
|
1187
|
+
this.kind = null;
|
|
1188
|
+
this.result = null;
|
|
1189
|
+
const allowBlockStyles = (allowBlockScalars =
|
|
1190
|
+
allowBlockCollections =
|
|
1191
|
+
CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext);
|
|
1192
|
+
if (allowToSeek) {
|
|
1193
|
+
if (this.skipSeparationSpace(true, -1)) {
|
|
1194
|
+
atNewLine = true;
|
|
1195
|
+
if (this.lineIndent > parentIndent) {
|
|
1196
|
+
indentStatus = 1;
|
|
1197
|
+
}
|
|
1198
|
+
else if (this.lineIndent === parentIndent) {
|
|
1199
|
+
indentStatus = 0;
|
|
1200
|
+
}
|
|
1201
|
+
else if (this.lineIndent < parentIndent) {
|
|
1202
|
+
indentStatus = -1;
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
if (indentStatus === 1) {
|
|
1207
|
+
while (this.readTagProperty() || this.readAnchorProperty()) {
|
|
1208
|
+
if (this.skipSeparationSpace(true, -1)) {
|
|
1209
|
+
atNewLine = true;
|
|
1210
|
+
allowBlockCollections = allowBlockStyles;
|
|
1211
|
+
if (this.lineIndent > parentIndent) {
|
|
1212
|
+
indentStatus = 1;
|
|
1213
|
+
}
|
|
1214
|
+
else if (this.lineIndent === parentIndent) {
|
|
1215
|
+
indentStatus = 0;
|
|
1216
|
+
}
|
|
1217
|
+
else if (this.lineIndent < parentIndent) {
|
|
1218
|
+
indentStatus = -1;
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
else {
|
|
1222
|
+
allowBlockCollections = false;
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
if (allowBlockCollections) {
|
|
1227
|
+
allowBlockCollections = atNewLine || allowCompact;
|
|
1228
|
+
}
|
|
1229
|
+
if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
|
|
1230
|
+
const cond = CONTEXT_FLOW_IN === nodeContext ||
|
|
1231
|
+
CONTEXT_FLOW_OUT === nodeContext;
|
|
1232
|
+
flowIndent = cond ? parentIndent : parentIndent + 1;
|
|
1233
|
+
blockIndent = this.position - this.lineStart;
|
|
1234
|
+
if (indentStatus === 1) {
|
|
1235
|
+
if ((allowBlockCollections &&
|
|
1236
|
+
(this.readBlockSequence(blockIndent) ||
|
|
1237
|
+
this.readBlockMapping(blockIndent, flowIndent))) ||
|
|
1238
|
+
this.readFlowCollection(flowIndent)) {
|
|
1239
|
+
hasContent = true;
|
|
1240
|
+
}
|
|
1241
|
+
else {
|
|
1242
|
+
if ((allowBlockScalars && this.readBlockScalar(flowIndent)) ||
|
|
1243
|
+
this.readSingleQuotedScalar(flowIndent) ||
|
|
1244
|
+
this.readDoubleQuotedScalar(flowIndent)) {
|
|
1245
|
+
hasContent = true;
|
|
1246
|
+
}
|
|
1247
|
+
else if (this.readAlias()) {
|
|
1248
|
+
hasContent = true;
|
|
1249
|
+
if (this.tag !== null || this.anchor !== null) {
|
|
1250
|
+
return this.throwError("Cannot compose node: alias node should not have any properties");
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
else if (this.readPlainScalar(flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
|
|
1254
|
+
hasContent = true;
|
|
1255
|
+
if (this.tag === null) {
|
|
1256
|
+
this.tag = "?";
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
if (this.anchor !== null) {
|
|
1260
|
+
this.anchorMap.set(this.anchor, this.result);
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
else if (indentStatus === 0) {
|
|
1265
|
+
// Special case: block sequences are allowed to have same indentation level as the parent.
|
|
1266
|
+
// http://www.yaml.org/spec/1.2/spec.html#id2799784
|
|
1267
|
+
hasContent = allowBlockCollections &&
|
|
1268
|
+
this.readBlockSequence(blockIndent);
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
if (this.tag !== null && this.tag !== "!") {
|
|
1272
|
+
if (this.tag === "?") {
|
|
1273
|
+
for (let typeIndex = 0; typeIndex < this.implicitTypes.length; typeIndex++) {
|
|
1274
|
+
type = this.implicitTypes[typeIndex];
|
|
1275
|
+
// Implicit resolving is not allowed for non-scalar types, and '?'
|
|
1276
|
+
// non-specific tag is only assigned to plain scalars. So, it isn't
|
|
1277
|
+
// needed to check for 'kind' conformity.
|
|
1278
|
+
if (type.resolve(this.result)) {
|
|
1279
|
+
// `state.result` updated in resolver if matched
|
|
1280
|
+
this.result = type.construct(this.result);
|
|
1281
|
+
this.tag = type.tag;
|
|
1282
|
+
if (this.anchor !== null) {
|
|
1283
|
+
this.anchorMap.set(this.anchor, this.result);
|
|
1284
|
+
}
|
|
1285
|
+
break;
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
else if (this.typeMap[this.kind ?? "fallback"].has(this.tag)) {
|
|
1290
|
+
const map = this.typeMap[this.kind ?? "fallback"];
|
|
1291
|
+
type = map.get(this.tag);
|
|
1292
|
+
if (this.result !== null && type.kind !== this.kind) {
|
|
1293
|
+
return this.throwError(`Unacceptable node kind for !<${this.tag}> tag: it should be "${type.kind}", not "${this.kind}"`);
|
|
1294
|
+
}
|
|
1295
|
+
if (!type.resolve(this.result)) {
|
|
1296
|
+
// `state.result` updated in resolver if matched
|
|
1297
|
+
return this.throwError(`Cannot resolve a node with !<${this.tag}> explicit tag`);
|
|
1298
|
+
}
|
|
1299
|
+
else {
|
|
1300
|
+
this.result = type.construct(this.result);
|
|
1301
|
+
if (this.anchor !== null) {
|
|
1302
|
+
this.anchorMap.set(this.anchor, this.result);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
else {
|
|
1307
|
+
return this.throwError(`Cannot resolve unknown tag !<${this.tag}>`);
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
return this.tag !== null || this.anchor !== null || hasContent;
|
|
1311
|
+
}
|
|
1312
|
+
readDocument() {
|
|
1313
|
+
const documentStart = this.position;
|
|
1314
|
+
let position;
|
|
1315
|
+
let directiveName;
|
|
1316
|
+
let directiveArgs;
|
|
1317
|
+
let hasDirectives = false;
|
|
1318
|
+
let ch;
|
|
1319
|
+
this.version = null;
|
|
1320
|
+
this.checkLineBreaks = false;
|
|
1321
|
+
this.tagMap = new Map();
|
|
1322
|
+
this.anchorMap = new Map();
|
|
1323
|
+
while ((ch = this.peek()) !== 0) {
|
|
1324
|
+
this.skipSeparationSpace(true, -1);
|
|
1325
|
+
ch = this.peek();
|
|
1326
|
+
if (this.lineIndent > 0 || ch !== PERCENT) {
|
|
1327
|
+
break;
|
|
1328
|
+
}
|
|
1329
|
+
hasDirectives = true;
|
|
1330
|
+
ch = this.next();
|
|
1331
|
+
position = this.position;
|
|
1332
|
+
while (ch !== 0 && !isWhiteSpaceOrEOL(ch)) {
|
|
1333
|
+
ch = this.next();
|
|
1334
|
+
}
|
|
1335
|
+
directiveName = this.input.slice(position, this.position);
|
|
1336
|
+
directiveArgs = [];
|
|
1337
|
+
if (directiveName.length < 1) {
|
|
1338
|
+
return this.throwError("Cannot read document: directive name length must be greater than zero");
|
|
1339
|
+
}
|
|
1340
|
+
while (ch !== 0) {
|
|
1341
|
+
while (isWhiteSpace(ch)) {
|
|
1342
|
+
ch = this.next();
|
|
1343
|
+
}
|
|
1344
|
+
if (ch === SHARP) {
|
|
1345
|
+
do {
|
|
1346
|
+
ch = this.next();
|
|
1347
|
+
} while (ch !== 0 && !isEOL(ch));
|
|
1348
|
+
break;
|
|
1349
|
+
}
|
|
1350
|
+
if (isEOL(ch))
|
|
1351
|
+
break;
|
|
1352
|
+
position = this.position;
|
|
1353
|
+
while (ch !== 0 && !isWhiteSpaceOrEOL(ch)) {
|
|
1354
|
+
ch = this.next();
|
|
1355
|
+
}
|
|
1356
|
+
directiveArgs.push(this.input.slice(position, this.position));
|
|
1357
|
+
}
|
|
1358
|
+
if (ch !== 0)
|
|
1359
|
+
this.readLineBreak();
|
|
1360
|
+
switch (directiveName) {
|
|
1361
|
+
case "YAML":
|
|
1362
|
+
this.yamlDirectiveHandler(...directiveArgs);
|
|
1363
|
+
break;
|
|
1364
|
+
case "TAG":
|
|
1365
|
+
this.tagDirectiveHandler(...directiveArgs);
|
|
1366
|
+
break;
|
|
1367
|
+
default:
|
|
1368
|
+
this.dispatchWarning(`unknown document directive "${directiveName}"`);
|
|
1369
|
+
break;
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
this.skipSeparationSpace(true, -1);
|
|
1373
|
+
if (this.lineIndent === 0 &&
|
|
1374
|
+
this.peek() === MINUS &&
|
|
1375
|
+
this.peek(1) === MINUS &&
|
|
1376
|
+
this.peek(2) === MINUS) {
|
|
1377
|
+
this.position += 3;
|
|
1378
|
+
this.skipSeparationSpace(true, -1);
|
|
1379
|
+
}
|
|
1380
|
+
else if (hasDirectives) {
|
|
1381
|
+
return this.throwError("Cannot read document: directives end mark is expected");
|
|
1382
|
+
}
|
|
1383
|
+
this.composeNode(this.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
|
|
1384
|
+
this.skipSeparationSpace(true, -1);
|
|
1385
|
+
if (this.checkLineBreaks &&
|
|
1386
|
+
PATTERN_NON_ASCII_LINE_BREAKS.test(this.input.slice(documentStart, this.position))) {
|
|
1387
|
+
this.dispatchWarning("non-ASCII line breaks are interpreted as content");
|
|
1388
|
+
}
|
|
1389
|
+
if (this.position === this.lineStart && this.testDocumentSeparator()) {
|
|
1390
|
+
if (this.peek() === DOT) {
|
|
1391
|
+
this.position += 3;
|
|
1392
|
+
this.skipSeparationSpace(true, -1);
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
else if (this.position < this.length - 1) {
|
|
1396
|
+
return this.throwError("Cannot read document: end of the stream or a document separator is expected");
|
|
1397
|
+
}
|
|
1398
|
+
return this.result;
|
|
1399
|
+
}
|
|
1400
|
+
*readDocuments() {
|
|
1401
|
+
while (this.position < this.length - 1) {
|
|
1402
|
+
yield this.readDocument();
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
_LoaderState_instances = new WeakSet(), _LoaderState_createError = function _LoaderState_createError(message) {
|
|
1407
|
+
const mark = markToString(this.input, this.position, this.line, this.position - this.lineStart);
|
|
1408
|
+
return new SyntaxError(`${message} ${mark}`);
|
|
1409
|
+
};
|