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,8 +1,8 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
4
|
-
import { basename } from "../../path/1.
|
|
5
|
-
import { normalize } from "../../path/1.
|
|
4
|
+
import { basename } from "../../path/1.1.3/basename.js";
|
|
5
|
+
import { normalize } from "../../path/1.1.3/normalize.js";
|
|
6
6
|
import { toPathString } from "./_to_path_string.js";
|
|
7
7
|
/** Create {@linkcode WalkEntry} for the `path` synchronously. */
|
|
8
8
|
export function createWalkEntrySync(path) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
|
-
import { resolve } from "../../path/1.
|
|
3
|
+
import { resolve } from "../../path/1.1.3/resolve.js";
|
|
4
4
|
import { toPathString } from "./_to_path_string.js";
|
|
5
5
|
/**
|
|
6
6
|
* Checks if two paths are the same.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
|
-
import { resolve } from "../../path/1.
|
|
4
|
-
import { SEPARATOR } from "../../path/1.
|
|
3
|
+
import { resolve } from "../../path/1.1.3/resolve.js";
|
|
4
|
+
import { SEPARATOR } from "../../path/1.1.3/constants.js";
|
|
5
5
|
import { toPathString } from "./_to_path_string.js";
|
|
6
6
|
/**
|
|
7
7
|
* Checks whether `src` is a sub-directory of `dest`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
|
-
import { fromFileUrl } from "../../path/1.
|
|
3
|
+
import { fromFileUrl } from "../../path/1.1.3/from_file_url.js";
|
|
4
4
|
/**
|
|
5
5
|
* Convert a URL or string to a path.
|
|
6
6
|
*
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { basename } from "../../path/1.
|
|
4
|
-
import { join } from "../../path/1.
|
|
5
|
-
import { resolve } from "../../path/1.
|
|
3
|
+
import { basename } from "../../path/1.1.3/basename.js";
|
|
4
|
+
import { join } from "../../path/1.1.3/join.js";
|
|
5
|
+
import { resolve } from "../../path/1.1.3/resolve.js";
|
|
6
6
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
7
7
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
8
8
|
import { toPathString } from "./_to_path_string.js";
|
|
9
9
|
import { isSubdir } from "./_is_subdir.js";
|
|
10
|
-
|
|
11
|
-
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
10
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
12
11
|
function assertIsDate(date, name) {
|
|
13
12
|
if (date === null) {
|
|
14
13
|
throw new Error(`${name} is unavailable`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { join } from "../../path/1.
|
|
3
|
+
import { join } from "../../path/1.1.3/join.js";
|
|
4
4
|
import { toPathString } from "./_to_path_string.js";
|
|
5
5
|
/**
|
|
6
6
|
* Asynchronously ensures that a directory is empty.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { dirname } from "../../path/1.
|
|
3
|
+
import { dirname } from "../../path/1.1.3/dirname.js";
|
|
4
4
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
5
5
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
6
6
|
import { toPathString } from "./_to_path_string.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { dirname } from "../../path/1.
|
|
3
|
+
import { dirname } from "../../path/1.1.3/dirname.js";
|
|
4
4
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
5
5
|
import { toPathString } from "./_to_path_string.js";
|
|
6
6
|
/**
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { dirname } from "../../path/1.
|
|
4
|
-
import { resolve } from "../../path/1.
|
|
3
|
+
import { dirname } from "../../path/1.1.3/dirname.js";
|
|
4
|
+
import { resolve } from "../../path/1.1.3/resolve.js";
|
|
5
5
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
6
6
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
7
7
|
import { toPathString } from "./_to_path_string.js";
|
|
8
|
-
|
|
9
|
-
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
8
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
10
9
|
function resolveSymlinkTarget(target, linkName) {
|
|
11
10
|
if (typeof target !== "string")
|
|
12
11
|
return target; // URL is always absolute path
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { globToRegExp } from "../../path/1.
|
|
4
|
-
import { joinGlobs } from "../../path/1.
|
|
5
|
-
import { isGlob } from "../../path/1.
|
|
6
|
-
import { isAbsolute } from "../../path/1.
|
|
7
|
-
import { resolve } from "../../path/1.
|
|
8
|
-
import { SEPARATOR_PATTERN } from "../../path/1.
|
|
3
|
+
import { globToRegExp } from "../../path/1.1.3/glob_to_regexp.js";
|
|
4
|
+
import { joinGlobs } from "../../path/1.1.3/join_globs.js";
|
|
5
|
+
import { isGlob } from "../../path/1.1.3/is_glob.js";
|
|
6
|
+
import { isAbsolute } from "../../path/1.1.3/is_absolute.js";
|
|
7
|
+
import { resolve } from "../../path/1.1.3/resolve.js";
|
|
8
|
+
import { SEPARATOR_PATTERN } from "../../path/1.1.3/constants.js";
|
|
9
9
|
import { walk, walkSync } from "./walk.js";
|
|
10
10
|
import { toPathString } from "./_to_path_string.js";
|
|
11
11
|
import { createWalkEntry, createWalkEntrySync, } from "./_create_walk_entry.js";
|
|
12
|
-
|
|
13
|
-
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
12
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
14
13
|
function split(path) {
|
|
15
14
|
const s = SEPARATOR_PATTERN.source;
|
|
16
15
|
const segments = path
|
|
@@ -229,11 +228,11 @@ export async function* expandGlob(glob, options) {
|
|
|
229
228
|
const excludePatterns = exclude
|
|
230
229
|
.map(resolveFromRoot)
|
|
231
230
|
.map((s) => globToRegExp(s, globOptions));
|
|
232
|
-
const shouldInclude = (path) => !excludePatterns.some((p) =>
|
|
231
|
+
const shouldInclude = (path) => !excludePatterns.some((p) => p.test(path));
|
|
233
232
|
let fixedRoot = isGlobAbsolute ? winRoot ?? "/" : absRoot;
|
|
234
233
|
while (segments.length > 0 && !isGlob(segments[0])) {
|
|
235
234
|
const seg = segments.shift();
|
|
236
|
-
fixedRoot = joinGlobs([fixedRoot, seg], globOptions);
|
|
235
|
+
fixedRoot = joinGlobs([fixedRoot, unescapeGlobSegment(seg)], globOptions);
|
|
237
236
|
}
|
|
238
237
|
let fixedRootInfo;
|
|
239
238
|
try {
|
|
@@ -350,11 +349,11 @@ export function* expandGlobSync(glob, options) {
|
|
|
350
349
|
const excludePatterns = exclude
|
|
351
350
|
.map(resolveFromRoot)
|
|
352
351
|
.map((s) => globToRegExp(s, globOptions));
|
|
353
|
-
const shouldInclude = (path) => !excludePatterns.some((p) =>
|
|
352
|
+
const shouldInclude = (path) => !excludePatterns.some((p) => p.test(path));
|
|
354
353
|
let fixedRoot = isGlobAbsolute ? winRoot ?? "/" : absRoot;
|
|
355
354
|
while (segments.length > 0 && !isGlob(segments[0])) {
|
|
356
355
|
const seg = segments.shift();
|
|
357
|
-
fixedRoot = joinGlobs([fixedRoot, seg], globOptions);
|
|
356
|
+
fixedRoot = joinGlobs([fixedRoot, unescapeGlobSegment(seg)], globOptions);
|
|
358
357
|
}
|
|
359
358
|
let fixedRootInfo;
|
|
360
359
|
try {
|
|
@@ -414,3 +413,28 @@ export function* expandGlobSync(glob, options) {
|
|
|
414
413
|
}
|
|
415
414
|
yield* currentMatches;
|
|
416
415
|
}
|
|
416
|
+
const globEscapeChar = dntShim.Deno.build.os === "windows" ? "`" : `\\`;
|
|
417
|
+
const globMetachars = "*?{}[]()|+@!";
|
|
418
|
+
function unescapeGlobSegment(segment) {
|
|
419
|
+
let result = "";
|
|
420
|
+
let lastIndex = 0;
|
|
421
|
+
for (let i = 0; i < segment.length; i++) {
|
|
422
|
+
const char = segment[i];
|
|
423
|
+
if (char === globEscapeChar) {
|
|
424
|
+
const nextChar = segment[i + 1];
|
|
425
|
+
if (nextChar && globMetachars.includes(nextChar)) {
|
|
426
|
+
// append the slice before the escape char, then the metachar
|
|
427
|
+
result += segment.slice(lastIndex, i) + nextChar;
|
|
428
|
+
i++; // skip next char since we already processed it
|
|
429
|
+
lastIndex = i + 1;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
// no escaped, return the original segment
|
|
434
|
+
if (lastIndex === 0) {
|
|
435
|
+
return segment;
|
|
436
|
+
}
|
|
437
|
+
// append any remaining characters
|
|
438
|
+
result += segment.slice(lastIndex);
|
|
439
|
+
return result;
|
|
440
|
+
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
3
|
import { isSubdir } from "./_is_subdir.js";
|
|
4
4
|
import { isSamePath } from "./_is_same_path.js";
|
|
5
|
-
const EXISTS_ERROR = new dntShim.Deno.errors.AlreadyExists("dest already exists.");
|
|
6
5
|
/**
|
|
7
6
|
* Asynchronously moves a file or directory (along with its contents).
|
|
8
7
|
*
|
|
@@ -60,6 +59,7 @@ export async function move(src, dest, options) {
|
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
else {
|
|
62
|
+
const EXISTS_ERROR = new dntShim.Deno.errors.AlreadyExists("dest already exists.");
|
|
63
63
|
try {
|
|
64
64
|
await dntShim.Deno.lstat(dest);
|
|
65
65
|
return Promise.reject(EXISTS_ERROR);
|
|
@@ -127,6 +127,7 @@ export function moveSync(src, dest, options) {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
130
|
+
const EXISTS_ERROR = new dntShim.Deno.errors.AlreadyExists("dest already exists.");
|
|
130
131
|
try {
|
|
131
132
|
dntShim.Deno.lstatSync(dest);
|
|
132
133
|
throw EXISTS_ERROR;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// https://golang.org/pkg/path/filepath/#Walk
|
|
4
4
|
// Copyright 2009 The Go Authors. All rights reserved. BSD license.
|
|
5
5
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
6
|
-
import { join } from "../../path/1.
|
|
6
|
+
import { join } from "../../path/1.1.3/join.js";
|
|
7
7
|
import { toPathString } from "./_to_path_string.js";
|
|
8
8
|
import { createWalkEntry, createWalkEntrySync, } from "./_create_walk_entry.js";
|
|
9
9
|
function include(path, exts, match, skip) {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
+
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
+
export function checkWindows() {
|
|
4
|
+
// deno-lint-ignore no-explicit-any
|
|
5
|
+
const global = dntShim.dntGlobalThis;
|
|
6
|
+
const os = global.Deno?.build?.os;
|
|
7
|
+
// Check Deno, then the remaining runtimes (e.g. Node, Bun and the browser)
|
|
8
|
+
return typeof os === "string"
|
|
9
|
+
? os === "windows"
|
|
10
|
+
: global.navigator?.platform?.startsWith("Win") ??
|
|
11
|
+
global.process?.platform?.startsWith("win") ?? false;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { concat } from "../../bytes/1.0.
|
|
3
|
+
import { concat } from "../../bytes/1.0.6/concat.js";
|
|
4
4
|
import { DEFAULT_CHUNK_SIZE } from "./_constants.js";
|
|
5
5
|
/**
|
|
6
6
|
* Read {@linkcode Reader} `r` until EOF (`null`) and resolve to the content as
|
|
@@ -13,7 +13,7 @@ var _ConsoleHandler_useColors;
|
|
|
13
13
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
14
14
|
// This module is browser compatible.
|
|
15
15
|
import { LogLevels } from "./levels.js";
|
|
16
|
-
import { blue, bold, red, yellow } from "../../fmt/1.0.
|
|
16
|
+
import { blue, bold, red, yellow } from "../../fmt/1.0.8/colors.js";
|
|
17
17
|
import { BaseHandler } from "./base_handler.js";
|
|
18
18
|
function applyColors(msg, level) {
|
|
19
19
|
switch (level) {
|
|
@@ -12,7 +12,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
12
12
|
var _RotatingFileHandler_maxBytes, _RotatingFileHandler_maxBackupCount, _RotatingFileHandler_currentFileSize;
|
|
13
13
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
14
14
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
15
|
-
import { existsSync } from "../../fs/1.0.
|
|
15
|
+
import { existsSync } from "../../fs/1.0.20/exists.js";
|
|
16
16
|
import { FileHandler } from "./file_handler.js";
|
|
17
17
|
import { encoderSymbol, filenameSymbol, fileSymbol, modeSymbol, openOptionsSymbol, } from "./_file_handler_symbols.js";
|
|
18
18
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { basename as posixBasename } from "./posix/basename.js";
|
|
5
5
|
import { basename as windowsBasename } from "./windows/basename.js";
|
|
6
6
|
/**
|
|
@@ -16,14 +16,13 @@ import { basename as windowsBasename } from "./windows/basename.js";
|
|
|
16
16
|
*
|
|
17
17
|
* if (Deno.build.os === "windows") {
|
|
18
18
|
* assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
|
|
19
|
+
* assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
|
|
19
20
|
* } else {
|
|
20
21
|
* assertEquals(basename("/home/user/Documents/image.png"), "image.png");
|
|
22
|
+
* assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
|
|
21
23
|
* }
|
|
22
24
|
* ```
|
|
23
25
|
*
|
|
24
|
-
* Note: If you are working with file URLs,
|
|
25
|
-
* use the new version of `basename` from `@std/path/unstable-basename`.
|
|
26
|
-
*
|
|
27
26
|
* @param path Path to extract the name from.
|
|
28
27
|
* @param suffix Suffix to remove from extracted name.
|
|
29
28
|
*
|
|
@@ -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 { common as _common } from "./_common/common.js";
|
|
4
4
|
import { SEPARATOR } from "./constants.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
/**
|
|
5
5
|
* The character used to separate entries in the PATH environment variable.
|
|
6
6
|
* On Windows, this is `;`. On all other platforms, this is `:`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { dirname as posixDirname } from "./posix/dirname.js";
|
|
5
5
|
import { dirname as windowsDirname } from "./windows/dirname.js";
|
|
6
6
|
/**
|
|
@@ -13,14 +13,13 @@ import { dirname as windowsDirname } from "./windows/dirname.js";
|
|
|
13
13
|
*
|
|
14
14
|
* if (Deno.build.os === "windows") {
|
|
15
15
|
* assertEquals(dirname("C:\\home\\user\\Documents\\image.png"), "C:\\home\\user\\Documents");
|
|
16
|
+
* assertEquals(dirname(new URL("file:///C:/home/user/Documents/image.png")), "C:\\home\\user\\Documents");
|
|
16
17
|
* } else {
|
|
17
18
|
* assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
|
|
19
|
+
* assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
|
|
18
20
|
* }
|
|
19
21
|
* ```
|
|
20
22
|
*
|
|
21
|
-
* Note: If you are working with file URLs,
|
|
22
|
-
* use the new version of `dirname` from `@std/path/unstable-dirname`.
|
|
23
|
-
*
|
|
24
23
|
* @param path Path to extract the directory from.
|
|
25
24
|
* @returns The directory path.
|
|
26
25
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { extname as posixExtname } from "./posix/extname.js";
|
|
5
5
|
import { extname as windowsExtname } from "./windows/extname.js";
|
|
6
6
|
/**
|
|
@@ -13,14 +13,13 @@ import { extname as windowsExtname } from "./windows/extname.js";
|
|
|
13
13
|
*
|
|
14
14
|
* if (Deno.build.os === "windows") {
|
|
15
15
|
* assertEquals(extname("C:\\home\\user\\Documents\\image.png"), ".png");
|
|
16
|
+
* assertEquals(extname(new URL("file:///C:/home/user/Documents/image.png")), ".png");
|
|
16
17
|
* } else {
|
|
17
18
|
* assertEquals(extname("/home/user/Documents/image.png"), ".png");
|
|
19
|
+
* assertEquals(extname(new URL("file:///home/user/Documents/image.png")), ".png");
|
|
18
20
|
* }
|
|
19
21
|
* ```
|
|
20
22
|
*
|
|
21
|
-
* Note: If you are working with file URLs,
|
|
22
|
-
* use the new version of `extname` from `@std/path/unstable-extname`.
|
|
23
|
-
*
|
|
24
23
|
* @param path Path with extension.
|
|
25
24
|
* @returns The file extension. E.g. returns `.ts` for `file.ts`.
|
|
26
25
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { format as posixFormat } from "./posix/format.js";
|
|
5
5
|
import { format as windowsFormat } from "./windows/format.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { fromFileUrl as posixFromFileUrl } from "./posix/from_file_url.js";
|
|
5
5
|
import { fromFileUrl as windowsFromFileUrl } from "./windows/from_file_url.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { globToRegExp as posixGlobToRegExp } from "./posix/glob_to_regexp.js";
|
|
5
5
|
import { globToRegExp as windowsGlobToRegExp, } from "./windows/glob_to_regexp.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { isAbsolute as posixIsAbsolute } from "./posix/is_absolute.js";
|
|
5
5
|
import { isAbsolute as windowsIsAbsolute } from "./windows/is_absolute.js";
|
|
6
6
|
/**
|
|
@@ -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
|
/**
|
|
4
4
|
* Test whether the given string is a glob.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export function isGlob(str) {
|
|
19
19
|
const chars = { "{": "}", "(": ")", "[": "]" };
|
|
20
|
-
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[
|
|
20
|
+
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
|
|
21
21
|
if (str === "") {
|
|
22
22
|
return false;
|
|
23
23
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { join as posixJoin } from "./posix/join.js";
|
|
5
5
|
import { join as windowsJoin } from "./windows/join.js";
|
|
6
6
|
/**
|
|
@@ -13,17 +13,17 @@ import { join as windowsJoin } from "./windows/join.js";
|
|
|
13
13
|
*
|
|
14
14
|
* if (Deno.build.os === "windows") {
|
|
15
15
|
* assertEquals(join("C:\\foo", "bar", "baz\\quux", "garply", ".."), "C:\\foo\\bar\\baz\\quux");
|
|
16
|
+
* assertEquals(join(new URL("file:///C:/foo"), "bar", "baz/asdf", "quux", ".."), "C:\\foo\\bar\\baz\\asdf");
|
|
16
17
|
* } else {
|
|
17
18
|
* assertEquals(join("/foo", "bar", "baz/quux", "garply", ".."), "/foo/bar/baz/quux");
|
|
19
|
+
* assertEquals(join(new URL("file:///foo"), "bar", "baz/asdf", "quux", ".."), "/foo/bar/baz/asdf");
|
|
18
20
|
* }
|
|
19
21
|
* ```
|
|
20
22
|
*
|
|
21
|
-
*
|
|
22
|
-
* use the new version of `join` from `@std/path/unstable-join`.
|
|
23
|
-
*
|
|
23
|
+
* @param path The path to join. This can be string or file URL.
|
|
24
24
|
* @param paths Paths to be joined and normalized.
|
|
25
25
|
* @returns The joined and normalized path.
|
|
26
26
|
*/
|
|
27
|
-
export function join(...paths) {
|
|
28
|
-
return isWindows ? windowsJoin(...paths) : posixJoin(...paths);
|
|
27
|
+
export function join(path, ...paths) {
|
|
28
|
+
return isWindows ? windowsJoin(path, ...paths) : posixJoin(path, ...paths);
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "../../internal/1.0.12/os.js";
|
|
4
4
|
import { joinGlobs as posixJoinGlobs } from "./posix/join_globs.js";
|
|
5
5
|
import { joinGlobs as windowsJoinGlobs } from "./windows/join_globs.js";
|
|
6
6
|
/**
|