windmill-cli 1.586.4 → 1.587.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_create_walk_entry.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_is_same_path.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_is_subdir.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_to_path_string.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/copy.js +4 -5
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/empty_dir.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_file.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_link.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_symlink.js +3 -4
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/expand_glob.js +36 -12
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/move.js +2 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/walk.js +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +12 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +5 -0
- package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/assert_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/common.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/dirname.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/glob_to_reg_exp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/normalize.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/normalize_string.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/strip_trailing_separators.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/basename.js +4 -5
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/common.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/constants.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/dirname.js +4 -5
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/extname.js +4 -5
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/format.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/from_file_url.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/glob_to_regexp.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/is_absolute.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/is_glob.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/join.js +7 -7
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/join_globs.js +2 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +216 -0
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/normalize.js +4 -5
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/normalize_glob.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/parse.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/_util.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/basename.js +7 -4
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/dirname.js +6 -4
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/extname.js +8 -4
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/glob_to_regexp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/join.js +11 -8
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/join_globs.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/normalize.js +7 -6
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/normalize_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/parse.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/resolve.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/to_namespaced_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/relative.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/resolve.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/to_file_url.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/to_namespaced_path.js +2 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/_util.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/basename.js +7 -4
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/dirname.js +7 -6
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/extname.js +7 -6
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/glob_to_regexp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/join.js +10 -7
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/join_globs.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/normalize.js +7 -6
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/normalize_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/parse.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/resolve.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/to_namespaced_path.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_chars.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_dumper_state.js +14 -5
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_loader_state.js +168 -150
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_schema.js +11 -6
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/bool.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/float.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/int.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/map.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/merge.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/nil.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/omap.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/pairs.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/regexp.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/seq.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/set.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/str.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/timestamp.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/undefined.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_utils.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/parse.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/stringify.js +1 -1
- package/esm/deps.js +5 -5
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/src/commands/init/init.js +3 -3
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.8}/colors.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_create_walk_entry.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_get_file_info_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_is_same_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_is_subdir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_to_path_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/copy.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/empty_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_file.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_link.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_symlink.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/eol.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/exists.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/expand_glob.d.ts +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/expand_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/move.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/walk.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
- package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
- package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/assert_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/basename.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/dirname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/glob_to_reg_exp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/normalize.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/normalize_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/basename.d.ts +3 -4
- package/types/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/dirname.d.ts +3 -4
- package/types/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/extname.d.ts +3 -4
- package/types/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/is_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/join.d.ts +4 -4
- package/types/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.1.3/mod.d.ts +213 -0
- package/types/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/normalize.d.ts +3 -4
- package/types/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/basename.d.ts +3 -4
- package/types/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/dirname.d.ts +2 -4
- package/types/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/extname.d.ts +4 -4
- package/types/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/join.d.ts +4 -6
- package/types/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/normalize.d.ts +3 -6
- package/types/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/basename.d.ts +3 -4
- package/types/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +17 -0
- package/types/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/extname.d.ts +3 -6
- package/types/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +18 -0
- package/types/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/normalize.d.ts +3 -6
- package/types/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_dumper_state.d.ts +8 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_dumper_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_loader_state.d.ts +14 -8
- package/types/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_schema.d.ts +7 -3
- package/types/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type.d.ts +16 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.10/stringify.d.ts.map +1 -0
- package/types/deps.d.ts +5 -5
- package/types/deps.d.ts.map +1 -1
- package/types/src/commands/init/init.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +0 -57
- package/esm/deps/jsr.io/@std/path/1.0.8/types.js +0 -3
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +0 -54
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.js +0 -0
- /package/esm/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.8}/colors.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_get_file_info_type.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_dir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/eol.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/binary.js +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.8}/colors.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_create_walk_entry.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_get_file_info_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_is_same_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_is_subdir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/_to_path_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/copy.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/empty_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_file.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_link.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/ensure_symlink.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/eol.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/exists.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/move.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.16 → 1.0.20}/walk.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/assert_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/glob_to_reg_exp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/normalize_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/strip_trailing_separators.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/_common/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/is_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/posix/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.1.3}/windows/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_chars.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/binary.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/bool.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/float.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/int.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/map.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/merge.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/nil.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/omap.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/pairs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/seq.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/str.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/timestamp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_type/undefined.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/_utils.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.5 → 1.0.10}/stringify.d.ts +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/dirname.js";
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
5
5
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
6
6
|
import { isPathSeparator, isPosixPathSeparator, isWindowsDeviceRoot, } from "./_util.js";
|
|
7
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
7
8
|
/**
|
|
8
9
|
* Return the directory path of a `path`.
|
|
9
10
|
*
|
|
@@ -12,17 +13,17 @@ import { isPathSeparator, isPosixPathSeparator, isWindowsDeviceRoot, } from "./_
|
|
|
12
13
|
* import { dirname } from "@std/path/windows/dirname";
|
|
13
14
|
* import { assertEquals } from "@std/assert";
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
-
* assertEquals(
|
|
16
|
+
* assertEquals(dirname("C:\\foo\\bar\\baz.ext"), "C:\\foo\\bar");
|
|
17
|
+
* assertEquals(dirname(new URL("file:///C:/foo/bar/baz.ext")), "C:\\foo\\bar");
|
|
17
18
|
* ```
|
|
18
19
|
*
|
|
19
|
-
* Note: If you are working with file URLs,
|
|
20
|
-
* use the new version of `dirname` from `@std/path/windows/unstable-dirname`.
|
|
21
|
-
*
|
|
22
20
|
* @param path The path to get the directory from.
|
|
23
21
|
* @returns The directory path.
|
|
24
22
|
*/
|
|
25
23
|
export function dirname(path) {
|
|
24
|
+
if (path instanceof URL) {
|
|
25
|
+
path = fromFileUrl(path);
|
|
26
|
+
}
|
|
26
27
|
assertArg(path);
|
|
27
28
|
const len = path.length;
|
|
28
29
|
let rootEnd = -1;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_COLON, CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
5
5
|
import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
6
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
6
7
|
/**
|
|
7
8
|
* Return the extension of the `path` with leading period.
|
|
8
9
|
*
|
|
@@ -11,17 +12,17 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
|
11
12
|
* import { extname } from "@std/path/windows/extname";
|
|
12
13
|
* import { assertEquals } from "@std/assert";
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
* assertEquals(ext, ".
|
|
15
|
+
* assertEquals(extname("file.ts"), ".ts");
|
|
16
|
+
* assertEquals(extname(new URL("file:///C:/foo/bar/baz.ext")), ".ext");
|
|
16
17
|
* ```
|
|
17
18
|
*
|
|
18
|
-
* Note: If you are working with file URLs,
|
|
19
|
-
* use the new version of `extname` from `@std/path/windows/unstable-extname`.
|
|
20
|
-
*
|
|
21
19
|
* @param path The path to get the extension from.
|
|
22
20
|
* @returns The extension of the `path`.
|
|
23
21
|
*/
|
|
24
22
|
export function extname(path) {
|
|
23
|
+
if (path instanceof URL) {
|
|
24
|
+
path = fromFileUrl(path);
|
|
25
|
+
}
|
|
25
26
|
assertPath(path);
|
|
26
27
|
let start = 0;
|
|
27
28
|
let startDot = -1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertPath } from "../_common/assert_path.js";
|
|
4
4
|
import { isPathSeparator } from "./_util.js";
|
|
5
5
|
import { normalize } from "./normalize.js";
|
|
6
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
6
7
|
/**
|
|
7
8
|
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
|
8
9
|
*
|
|
@@ -11,17 +12,19 @@ import { normalize } from "./normalize.js";
|
|
|
11
12
|
* import { join } from "@std/path/windows/join";
|
|
12
13
|
* import { assertEquals } from "@std/assert";
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
* assertEquals(
|
|
15
|
+
* assertEquals(join("C:\\foo", "bar", "baz\\.."), "C:\\foo\\bar");
|
|
16
|
+
* assertEquals(join(new URL("file:///C:/foo"), "bar", "baz\\.."), "C:\\foo\\bar");
|
|
16
17
|
* ```
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
-
* use the new version of `join` from `@std/path/windows/unstable-join`.
|
|
20
|
-
*
|
|
19
|
+
* @param path The path to join. This can be string or file URL.
|
|
21
20
|
* @param paths The paths to join.
|
|
22
21
|
* @returns The joined path.
|
|
23
22
|
*/
|
|
24
|
-
export function join(...paths) {
|
|
23
|
+
export function join(path, ...paths) {
|
|
24
|
+
if (path instanceof URL) {
|
|
25
|
+
path = fromFileUrl(path);
|
|
26
|
+
}
|
|
27
|
+
paths = path ? [path, ...paths] : paths;
|
|
25
28
|
paths.forEach((path) => assertPath(path));
|
|
26
29
|
paths = paths.filter((path) => path.length > 0);
|
|
27
30
|
if (paths.length === 0)
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/normalize.js";
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
5
5
|
import { normalizeString } from "../_common/normalize_string.js";
|
|
6
6
|
import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
7
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
7
8
|
/**
|
|
8
9
|
* Normalize the `path`, resolving `'..'` and `'.'` segments.
|
|
9
10
|
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
|
@@ -14,17 +15,17 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
|
14
15
|
* import { normalize } from "@std/path/windows/normalize";
|
|
15
16
|
* import { assertEquals } from "@std/assert";
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
-
* assertEquals(
|
|
18
|
+
* assertEquals(normalize("C:\\foo\\..\\bar"), "C:\\bar");
|
|
19
|
+
* assertEquals(normalize(new URL("file:///C:/foo/../bar")), "C:\\bar");
|
|
19
20
|
* ```
|
|
20
21
|
*
|
|
21
|
-
* Note: If you are working with file URLs,
|
|
22
|
-
* use the new version of `normalize` from `@std/path/windows/unstable-normalize`.
|
|
23
|
-
*
|
|
24
22
|
* @param path The path to normalize
|
|
25
23
|
* @returns The normalized path
|
|
26
24
|
*/
|
|
27
25
|
export function normalize(path) {
|
|
26
|
+
if (path instanceof URL) {
|
|
27
|
+
path = fromFileUrl(path);
|
|
28
|
+
}
|
|
28
29
|
assertArg(path);
|
|
29
30
|
const len = path.length;
|
|
30
31
|
let rootEnd = 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_COLON, CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_BACKWARD_SLASH } from "../_common/constants.js";
|
|
4
4
|
import { resolve } from "./resolve.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import * as dntShim from "../../../../../../_dnt.shims.js";
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { encodeWhitespace } from "../_common/to_file_url.js";
|
|
4
4
|
import { isAbsolute } from "./is_absolute.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_BACKWARD_SLASH, CHAR_COLON, CHAR_DOT, CHAR_QUESTION_MARK, } from "../_common/constants.js";
|
|
4
4
|
import { isWindowsDeviceRoot } from "./_util.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
export const BOM = 0xfeff; /* BOM */
|
|
6
6
|
export const TAB = 0x09; /* Tab */
|
|
7
7
|
export const LINE_FEED = 0x0a; /* LF */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
5
5
|
import { AMPERSAND, ASTERISK, BOM, COLON, COMMA, COMMERCIAL_AT, DOUBLE_QUOTE, EXCLAMATION, GRAVE_ACCENT, GREATER_THAN, isWhiteSpace, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LINE_FEED, MINUS, PERCENT, QUESTION, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SHARP, SINGLE_QUOTE, VERTICAL_LINE, } from "./_chars.js";
|
|
6
6
|
import { DEFAULT_SCHEMA } from "./_schema.js";
|
|
7
7
|
import { isObject } from "./_utils.js";
|
|
@@ -135,7 +135,7 @@ function needIndentIndicator(string) {
|
|
|
135
135
|
// STYLE_PLAIN or STYLE_SINGLE => no \n are in the string.
|
|
136
136
|
// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).
|
|
137
137
|
// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth !== -1).
|
|
138
|
-
function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, implicitTypes) {
|
|
138
|
+
function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, implicitTypes, quoteStyle) {
|
|
139
139
|
const shouldTrackWidth = lineWidth !== -1;
|
|
140
140
|
let hasLineBreak = false;
|
|
141
141
|
let hasFoldableLine = false; // only checked if shouldTrackWidth
|
|
@@ -189,7 +189,9 @@ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, im
|
|
|
189
189
|
// e.g. the string 'true' vs. the boolean true.
|
|
190
190
|
return plain && !implicitTypes.some((type) => type.resolve(string))
|
|
191
191
|
? STYLE_PLAIN
|
|
192
|
-
:
|
|
192
|
+
: quoteStyle === "'"
|
|
193
|
+
? STYLE_SINGLE
|
|
194
|
+
: STYLE_DOUBLE;
|
|
193
195
|
}
|
|
194
196
|
// Edge case: block indentation indicator can only have one digit.
|
|
195
197
|
if (indentPerLevel > 9 && needIndentIndicator(string)) {
|
|
@@ -327,7 +329,7 @@ function inspectNode(object, objects, duplicateObjects) {
|
|
|
327
329
|
}
|
|
328
330
|
}
|
|
329
331
|
export class DumperState {
|
|
330
|
-
constructor({ schema = DEFAULT_SCHEMA, indent = 2, arrayIndent = true, skipInvalid = false, flowLevel = -1, styles = undefined, sortKeys = false, lineWidth = 80, useAnchors = true, compatMode = true, condenseFlow = false, }) {
|
|
332
|
+
constructor({ schema = DEFAULT_SCHEMA, indent = 2, arrayIndent = true, skipInvalid = false, flowLevel = -1, styles = undefined, sortKeys = false, lineWidth = 80, useAnchors = true, compatMode = true, condenseFlow = false, quoteStyle = "'", }) {
|
|
331
333
|
Object.defineProperty(this, "indent", {
|
|
332
334
|
enumerable: true,
|
|
333
335
|
configurable: true,
|
|
@@ -412,6 +414,12 @@ export class DumperState {
|
|
|
412
414
|
writable: true,
|
|
413
415
|
value: new Map()
|
|
414
416
|
});
|
|
417
|
+
Object.defineProperty(this, "quoteStyle", {
|
|
418
|
+
enumerable: true,
|
|
419
|
+
configurable: true,
|
|
420
|
+
writable: true,
|
|
421
|
+
value: void 0
|
|
422
|
+
});
|
|
415
423
|
this.indent = Math.max(1, indent);
|
|
416
424
|
this.arrayIndent = arrayIndent;
|
|
417
425
|
this.skipInvalid = skipInvalid;
|
|
@@ -425,6 +433,7 @@ export class DumperState {
|
|
|
425
433
|
this.condenseFlow = condenseFlow;
|
|
426
434
|
this.implicitTypes = schema.implicitTypes;
|
|
427
435
|
this.explicitTypes = schema.explicitTypes;
|
|
436
|
+
this.quoteStyle = quoteStyle;
|
|
428
437
|
}
|
|
429
438
|
// Note: line breaking/folding is implemented for only the folded style.
|
|
430
439
|
// NB. We drop the last trailing newline (if any) of a returned block scalar
|
|
@@ -457,7 +466,7 @@ export class DumperState {
|
|
|
457
466
|
const singleLineOnly = isKey ||
|
|
458
467
|
// No block styles in flow mode.
|
|
459
468
|
(this.flowLevel > -1 && level >= this.flowLevel);
|
|
460
|
-
const scalarStyle = chooseScalarStyle(string, singleLineOnly, this.indent, lineWidth, this.implicitTypes);
|
|
469
|
+
const scalarStyle = chooseScalarStyle(string, singleLineOnly, this.indent, lineWidth, this.implicitTypes, this.quoteStyle);
|
|
461
470
|
switch (scalarStyle) {
|
|
462
471
|
case STYLE_PLAIN:
|
|
463
472
|
return string;
|