windmill-cli 1.586.0 → 1.586.2
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.20 → 1.0.16}/_create_walk_entry.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_same_path.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_subdir.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_to_path_string.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/copy.js +5 -4
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/empty_dir.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_file.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_link.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_symlink.js +4 -3
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/expand_glob.js +12 -36
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/move.js +1 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/walk.js +1 -1
- 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.1.3 → 1.0.8}/_common/assert_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/common.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/dirname.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/glob_to_reg_exp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize_string.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/strip_trailing_separators.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/basename.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/common.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/constants.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/dirname.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/extname.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/format.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/from_file_url.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/glob_to_regexp.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_absolute.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_glob.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join.js +7 -7
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join_globs.js +2 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize_glob.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/parse.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/_util.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/basename.js +4 -7
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/dirname.js +4 -6
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/extname.js +4 -8
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/glob_to_regexp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join.js +8 -11
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join_globs.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/parse.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/resolve.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_namespaced_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/relative.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/resolve.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_file_url.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_namespaced_path.js +2 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/_util.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/basename.js +4 -7
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/dirname.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/extname.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/glob_to_regexp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join.js +7 -10
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join_globs.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/parse.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/resolve.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_namespaced_path.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_chars.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_dumper_state.js +5 -14
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_loader_state.js +150 -168
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_schema.js +6 -11
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/bool.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/float.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/int.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/map.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/merge.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/nil.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/omap.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/pairs.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/regexp.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/seq.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/set.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/str.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/timestamp.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/undefined.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_utils.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/parse.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/stringify.js +1 -1
- package/esm/deps/jsr.io/@windmill-labs/shared-utils/1.0.10/lib.es.js +1522 -0
- package/esm/deps.js +6 -6
- package/esm/gen/services.gen.js +138 -0
- package/esm/src/commands/app/app_metadata.js +287 -0
- package/esm/src/commands/app/apps.js +65 -31
- package/esm/src/commands/app/bundle.js +249 -0
- package/esm/src/commands/app/dev.js +591 -0
- package/esm/src/commands/app/metadata.js +1 -0
- package/esm/src/commands/app/raw_apps.js +212 -0
- package/esm/src/commands/app/wmillTsDev.js +89 -0
- package/esm/src/commands/dependencies/dependencies.js +66 -0
- package/esm/src/commands/dev/dev.js +1 -1
- package/esm/src/commands/flow/flow.js +4 -5
- package/esm/src/commands/flow/flow_metadata.js +140 -0
- package/esm/src/commands/script/script.js +20 -37
- package/esm/src/commands/sync/pull.js +5 -3
- package/esm/src/commands/sync/sync.js +264 -76
- package/esm/src/commands/workspace/fork.js +6 -8
- package/esm/src/commands/workspace/workspace.js +7 -4
- package/esm/src/core/conf.js +5 -1
- package/esm/src/core/context.js +57 -47
- package/esm/src/main.js +2 -0
- package/esm/src/types.js +33 -16
- package/esm/src/utils/metadata.js +58 -178
- package/esm/src/utils/script_common.js +5 -5
- package/esm/src/utils/utils.js +21 -9
- package/package.json +4 -3
- package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_create_walk_entry.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_get_file_info_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_same_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_subdir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_to_path_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/copy.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/empty_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_file.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_link.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_symlink.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/eol.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/exists.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/expand_glob.d.ts +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/expand_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/move.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/walk.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/assert_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/basename.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/dirname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/glob_to_reg_exp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/basename.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/dirname.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/extname.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join.d.ts +4 -4
- package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/basename.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/dirname.d.ts +4 -2
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/extname.d.ts +4 -4
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join.d.ts +6 -4
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize.d.ts +6 -3
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/basename.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/extname.d.ts +6 -3
- package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize.d.ts +6 -3
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_dumper_state.d.ts +1 -8
- package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_loader_state.d.ts +8 -14
- package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_schema.d.ts +3 -7
- package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type.d.ts +0 -16
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
- package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.10/lib.es.d.ts +7 -0
- package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.10/lib.es.d.ts.map +1 -0
- package/types/deps.d.ts +6 -6
- package/types/deps.d.ts.map +1 -1
- package/types/gen/services.gen.d.ts +66 -1
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +73 -0
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/commands/app/app_metadata.d.ts +26 -0
- package/types/src/commands/app/app_metadata.d.ts.map +1 -0
- package/types/src/commands/app/apps.d.ts +10 -1
- package/types/src/commands/app/apps.d.ts.map +1 -1
- package/types/src/commands/app/bundle.d.ts +70 -0
- package/types/src/commands/app/bundle.d.ts.map +1 -0
- package/types/src/commands/app/dev.d.ts +18 -0
- package/types/src/commands/app/dev.d.ts.map +1 -0
- package/types/src/commands/app/metadata.d.ts +20 -0
- package/types/src/commands/app/metadata.d.ts.map +1 -0
- package/types/src/commands/app/raw_apps.d.ts +18 -0
- package/types/src/commands/app/raw_apps.d.ts.map +1 -0
- package/types/src/commands/app/wmillTsDev.d.ts +2 -0
- package/types/src/commands/app/wmillTsDev.d.ts.map +1 -0
- package/types/src/commands/dependencies/dependencies.d.ts +15 -0
- package/types/src/commands/dependencies/dependencies.d.ts.map +1 -0
- package/types/src/commands/flow/flow.d.ts.map +1 -1
- package/types/src/commands/flow/flow_metadata.d.ts +8 -0
- package/types/src/commands/flow/flow_metadata.d.ts.map +1 -0
- package/types/src/commands/script/script.d.ts +4 -5
- package/types/src/commands/script/script.d.ts.map +1 -1
- package/types/src/commands/sync/pull.d.ts +1 -1
- package/types/src/commands/sync/pull.d.ts.map +1 -1
- package/types/src/commands/sync/sync.d.ts +7 -1
- package/types/src/commands/sync/sync.d.ts.map +1 -1
- package/types/src/commands/workspace/fork.d.ts.map +1 -1
- package/types/src/commands/workspace/workspace.d.ts.map +1 -1
- package/types/src/core/conf.d.ts +8 -1
- package/types/src/core/conf.d.ts.map +1 -1
- package/types/src/core/context.d.ts.map +1 -1
- package/types/src/main.d.ts.map +1 -1
- package/types/src/types.d.ts +1 -1
- package/types/src/types.d.ts.map +1 -1
- package/types/src/utils/metadata.d.ts +8 -9
- package/types/src/utils/metadata.d.ts.map +1 -1
- package/types/src/utils/script_common.d.ts +6 -6
- package/types/src/utils/script_common.d.ts.map +1 -1
- package/types/src/utils/utils.d.ts +2 -0
- package/types/src/utils/utils.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +73 -0
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +0 -216
- package/esm/deps/jsr.io/@std/path/1.1.3/types.js +0 -3
- package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
- package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
- package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
- package/types/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_dumper_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.10/stringify.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
- /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_get_file_info_type.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_dir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/eol.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/binary.js +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_create_walk_entry.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_get_file_info_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_same_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_subdir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_to_path_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/copy.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/empty_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_file.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_link.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_symlink.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/eol.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/exists.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/move.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/walk.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/assert_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_chars.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/binary.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/bool.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/float.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/int.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/map.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/merge.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/nil.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/omap.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/pairs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/seq.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/str.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/timestamp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/undefined.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_utils.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/stringify.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "./_os.js";
|
|
4
4
|
import { normalize as posixNormalize } from "./posix/normalize.js";
|
|
5
5
|
import { normalize as windowsNormalize } from "./windows/normalize.js";
|
|
6
6
|
/**
|
|
@@ -17,13 +17,14 @@ import { normalize as windowsNormalize } from "./windows/normalize.js";
|
|
|
17
17
|
*
|
|
18
18
|
* if (Deno.build.os === "windows") {
|
|
19
19
|
* assertEquals(normalize("C:\\foo\\bar\\..\\baz\\quux"), "C:\\foo\\baz\\quux");
|
|
20
|
-
* assertEquals(normalize(new URL("file:///C:/foo/bar/../baz/quux")), "C:\\foo\\baz\\quux");
|
|
21
20
|
* } else {
|
|
22
21
|
* assertEquals(normalize("/foo/bar/../baz/quux"), "/foo/baz/quux");
|
|
23
|
-
* assertEquals(normalize(new URL("file:///foo/bar/../baz/quux")), "/foo/baz/quux");
|
|
24
22
|
* }
|
|
25
23
|
* ```
|
|
26
24
|
*
|
|
25
|
+
* Note: If you are working with file URLs,
|
|
26
|
+
* use the new version of `normalize` from `@std/path/unstable-normalize`.
|
|
27
|
+
*
|
|
27
28
|
* @param path Path to be normalized
|
|
28
29
|
* @returns The normalized path.
|
|
29
30
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "./_os.js";
|
|
4
4
|
import { normalizeGlob as posixNormalizeGlob } from "./posix/normalize_glob.js";
|
|
5
5
|
import { normalizeGlob as windowsNormalizeGlob, } from "./windows/normalize_glob.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "./_os.js";
|
|
4
4
|
import { parse as posixParse } from "./posix/parse.js";
|
|
5
5
|
import { parse as windowsParse } from "./windows/parse.js";
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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,7 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.js";
|
|
4
|
-
import { fromFileUrl } from "./from_file_url.js";
|
|
5
4
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
6
5
|
import { isPosixPathSeparator } from "./_util.js";
|
|
7
6
|
/**
|
|
@@ -16,8 +15,6 @@ import { isPosixPathSeparator } from "./_util.js";
|
|
|
16
15
|
* assertEquals(basename("/home/user/Documents/"), "Documents");
|
|
17
16
|
* assertEquals(basename("/home/user/Documents/image.png"), "image.png");
|
|
18
17
|
* assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
|
|
19
|
-
* assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
|
|
20
|
-
* assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
|
|
21
18
|
* ```
|
|
22
19
|
*
|
|
23
20
|
* @example Working with URLs
|
|
@@ -37,14 +34,14 @@ import { isPosixPathSeparator } from "./_util.js";
|
|
|
37
34
|
* assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
|
|
38
35
|
* ```
|
|
39
36
|
*
|
|
37
|
+
* Note: If you are working with file URLs,
|
|
38
|
+
* use the new version of `basename` from `@std/path/posix/unstable-basename`.
|
|
39
|
+
*
|
|
40
40
|
* @param path The path to extract the name from.
|
|
41
41
|
* @param suffix The suffix to remove from extracted name.
|
|
42
42
|
* @returns The extracted name.
|
|
43
43
|
*/
|
|
44
44
|
export function basename(path, suffix = "") {
|
|
45
|
-
if (path instanceof URL) {
|
|
46
|
-
path = fromFileUrl(path);
|
|
47
|
-
}
|
|
48
45
|
assertArgs(path, suffix);
|
|
49
46
|
const lastSegment = lastPathSegment(path, isPosixPathSeparator);
|
|
50
47
|
const strippedSegment = stripTrailingSeparators(lastSegment, isPosixPathSeparator);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/dirname.js";
|
|
4
4
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
5
5
|
import { isPosixPathSeparator } from "./_util.js";
|
|
6
|
-
import { fromFileUrl } from "./from_file_url.js";
|
|
7
6
|
/**
|
|
8
7
|
* Return the directory path of a `path`.
|
|
9
8
|
*
|
|
@@ -15,7 +14,6 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
15
14
|
* assertEquals(dirname("/home/user/Documents/"), "/home/user");
|
|
16
15
|
* assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
|
|
17
16
|
* assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
|
|
18
|
-
* assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
|
|
19
17
|
* ```
|
|
20
18
|
*
|
|
21
19
|
* @example Working with URLs
|
|
@@ -29,13 +27,13 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
29
27
|
* assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
|
|
30
28
|
* ```
|
|
31
29
|
*
|
|
30
|
+
* Note: If you are working with file URLs,
|
|
31
|
+
* use the new version of `dirname` from `@std/path/posix/unstable-dirname`.
|
|
32
|
+
*
|
|
32
33
|
* @param path The path to get the directory from.
|
|
33
34
|
* @returns The directory path.
|
|
34
35
|
*/
|
|
35
36
|
export function dirname(path) {
|
|
36
|
-
if (path instanceof URL) {
|
|
37
|
-
path = fromFileUrl(path);
|
|
38
|
-
}
|
|
39
37
|
assertArg(path);
|
|
40
38
|
let end = -1;
|
|
41
39
|
let matchedNonSeparator = false;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
5
5
|
import { isPosixPathSeparator } from "./_util.js";
|
|
6
|
-
import { fromFileUrl } from "./from_file_url.js";
|
|
7
6
|
/**
|
|
8
7
|
* Return the extension of the `path` with leading period.
|
|
9
8
|
*
|
|
@@ -15,9 +14,6 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
15
14
|
* assertEquals(extname("/home/user/Documents/file.ts"), ".ts");
|
|
16
15
|
* assertEquals(extname("/home/user/Documents/"), "");
|
|
17
16
|
* assertEquals(extname("/home/user/Documents/image.png"), ".png");
|
|
18
|
-
* assertEquals(extname(new URL("file:///home/user/Documents/file.ts")), ".ts");
|
|
19
|
-
* assertEquals(extname(new URL("file:///home/user/Documents/file.ts?a=b")), ".ts");
|
|
20
|
-
* assertEquals(extname(new URL("file:///home/user/Documents/file.ts#header")), ".ts");
|
|
21
17
|
* ```
|
|
22
18
|
*
|
|
23
19
|
* @example Working with URLs
|
|
@@ -36,13 +32,13 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
36
32
|
* assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
|
|
37
33
|
* ```
|
|
38
34
|
*
|
|
35
|
+
* Note: If you are working with file URLs,
|
|
36
|
+
* use the new version of `extname` from `@std/path/posix/unstable-extname`.
|
|
37
|
+
*
|
|
39
38
|
* @param path The path to get the extension from.
|
|
40
39
|
* @returns The extension (ex. for `file.ts` returns `.ts`).
|
|
41
40
|
*/
|
|
42
41
|
export function extname(path) {
|
|
43
|
-
if (path instanceof URL) {
|
|
44
|
-
path = fromFileUrl(path);
|
|
45
|
-
}
|
|
46
42
|
assertPath(path);
|
|
47
43
|
let startDot = -1;
|
|
48
44
|
let startPart = 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertPath } from "../_common/assert_path.js";
|
|
4
4
|
import { isPosixPathSeparator } from "./_util.js";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertPath } from "../_common/assert_path.js";
|
|
4
|
-
import { fromFileUrl } from "./from_file_url.js";
|
|
5
4
|
import { normalize } from "./normalize.js";
|
|
6
5
|
/**
|
|
7
6
|
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
|
@@ -11,8 +10,8 @@ import { normalize } from "./normalize.js";
|
|
|
11
10
|
* import { join } from "@std/path/posix/join";
|
|
12
11
|
* import { assertEquals } from "@std/assert";
|
|
13
12
|
*
|
|
14
|
-
*
|
|
15
|
-
* assertEquals(
|
|
13
|
+
* const path = join("/foo", "bar", "baz/asdf", "quux", "..");
|
|
14
|
+
* assertEquals(path, "/foo/bar/baz/asdf");
|
|
16
15
|
* ```
|
|
17
16
|
*
|
|
18
17
|
* @example Working with URLs
|
|
@@ -28,17 +27,15 @@ import { normalize } from "./normalize.js";
|
|
|
28
27
|
* assertEquals(url.href, "https://deno.land/std/path/mod.ts");
|
|
29
28
|
* ```
|
|
30
29
|
*
|
|
31
|
-
*
|
|
30
|
+
* Note: If you are working with file URLs,
|
|
31
|
+
* use the new version of `join` from `@std/path/posix/unstable-join`.
|
|
32
|
+
*
|
|
32
33
|
* @param paths The paths to join.
|
|
33
34
|
* @returns The joined path.
|
|
34
35
|
*/
|
|
35
|
-
export function join(
|
|
36
|
-
if (
|
|
36
|
+
export function join(...paths) {
|
|
37
|
+
if (paths.length === 0)
|
|
37
38
|
return ".";
|
|
38
|
-
if (path instanceof URL) {
|
|
39
|
-
path = fromFileUrl(path);
|
|
40
|
-
}
|
|
41
|
-
paths = path ? [path, ...paths] : paths;
|
|
42
39
|
paths.forEach((path) => assertPath(path));
|
|
43
40
|
const joined = paths.filter((path) => path.length > 0).join("/");
|
|
44
41
|
return joined === "" ? "." : normalize(joined);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/normalize.js";
|
|
4
4
|
import { normalizeString } from "../_common/normalize_string.js";
|
|
5
5
|
import { isPosixPathSeparator } from "./_util.js";
|
|
6
|
-
import { fromFileUrl } from "./from_file_url.js";
|
|
7
6
|
/**
|
|
8
7
|
* Normalize the `path`, resolving `'..'` and `'.'` segments.
|
|
9
8
|
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
|
@@ -14,8 +13,8 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
14
13
|
* import { normalize } from "@std/path/posix/normalize";
|
|
15
14
|
* import { assertEquals } from "@std/assert";
|
|
16
15
|
*
|
|
17
|
-
*
|
|
18
|
-
* assertEquals(
|
|
16
|
+
* const path = normalize("/foo/bar//baz/asdf/quux/..");
|
|
17
|
+
* assertEquals(path, "/foo/bar/baz/asdf");
|
|
19
18
|
* ```
|
|
20
19
|
*
|
|
21
20
|
* @example Working with URLs
|
|
@@ -36,13 +35,13 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
36
35
|
* assertEquals(url.href, "https://deno.land/std/async/retry.ts");
|
|
37
36
|
* ```
|
|
38
37
|
*
|
|
38
|
+
* Note: If you are working with file URLs,
|
|
39
|
+
* use the new version of `normalize` from `@std/path/posix/unstable-normalize`.
|
|
40
|
+
*
|
|
39
41
|
* @param path The path to normalize.
|
|
40
42
|
* @returns The normalized path.
|
|
41
43
|
*/
|
|
42
44
|
export function normalize(path) {
|
|
43
|
-
if (path instanceof URL) {
|
|
44
|
-
path = fromFileUrl(path);
|
|
45
|
-
}
|
|
46
45
|
assertArg(path);
|
|
47
46
|
const isAbsolute = isPosixPathSeparator(path.charCodeAt(0));
|
|
48
47
|
const trailingSeparator = isPosixPathSeparator(path.charCodeAt(path.length - 1));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import * as dntShim from "../../../../../../_dnt.shims.js";
|
|
4
4
|
import { normalizeString } from "../_common/normalize_string.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "./_os.js";
|
|
4
4
|
import { relative as posixRelative } from "./posix/relative.js";
|
|
5
5
|
import { relative as windowsRelative } from "./windows/relative.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "./_os.js";
|
|
4
4
|
import { resolve as posixResolve } from "./posix/resolve.js";
|
|
5
5
|
import { resolve as windowsResolve } from "./windows/resolve.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "./_os.js";
|
|
4
4
|
import { toFileUrl as posixToFileUrl } from "./posix/to_file_url.js";
|
|
5
5
|
import { toFileUrl as windowsToFileUrl } from "./windows/to_file_url.js";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { isWindows } from "
|
|
3
|
+
import { isWindows } from "./_os.js";
|
|
4
4
|
import { toNamespacedPath as posixToNamespacedPath } from "./posix/to_namespaced_path.js";
|
|
5
5
|
import { toNamespacedPath as windowsToNamespacedPath } from "./windows/to_namespaced_path.js";
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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,10 +1,9 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.js";
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
5
5
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
6
6
|
import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
7
|
-
import { fromFileUrl } from "./from_file_url.js";
|
|
8
7
|
/**
|
|
9
8
|
* Return the last portion of a `path`.
|
|
10
9
|
* Trailing directory separators are ignored, and optional suffix is removed.
|
|
@@ -17,18 +16,16 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
17
16
|
* assertEquals(basename("C:\\user\\Documents\\"), "Documents");
|
|
18
17
|
* assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
|
|
19
18
|
* assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
|
|
20
|
-
* assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
|
|
21
|
-
* assertEquals(basename(new URL("file:///C:/user/Documents/image.png"), ".png"), "image");
|
|
22
19
|
* ```
|
|
23
20
|
*
|
|
21
|
+
* Note: If you are working with file URLs,
|
|
22
|
+
* use the new version of `basename` from `@std/path/windows/unstable-basename`.
|
|
23
|
+
*
|
|
24
24
|
* @param path The path to extract the name from.
|
|
25
25
|
* @param suffix The suffix to remove from extracted name.
|
|
26
26
|
* @returns The extracted name.
|
|
27
27
|
*/
|
|
28
28
|
export function basename(path, suffix = "") {
|
|
29
|
-
if (path instanceof URL) {
|
|
30
|
-
path = fromFileUrl(path);
|
|
31
|
-
}
|
|
32
29
|
assertArgs(path, suffix);
|
|
33
30
|
// Check for a drive letter prefix so as not to mistake the following
|
|
34
31
|
// path separator as an extra separator at the end of the path that can be
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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";
|
|
8
7
|
/**
|
|
9
8
|
* Return the directory path of a `path`.
|
|
10
9
|
*
|
|
@@ -13,17 +12,17 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
13
12
|
* import { dirname } from "@std/path/windows/dirname";
|
|
14
13
|
* import { assertEquals } from "@std/assert";
|
|
15
14
|
*
|
|
16
|
-
*
|
|
17
|
-
* assertEquals(
|
|
15
|
+
* const dir = dirname("C:\\foo\\bar\\baz.ext");
|
|
16
|
+
* assertEquals(dir, "C:\\foo\\bar");
|
|
18
17
|
* ```
|
|
19
18
|
*
|
|
19
|
+
* Note: If you are working with file URLs,
|
|
20
|
+
* use the new version of `dirname` from `@std/path/windows/unstable-dirname`.
|
|
21
|
+
*
|
|
20
22
|
* @param path The path to get the directory from.
|
|
21
23
|
* @returns The directory path.
|
|
22
24
|
*/
|
|
23
25
|
export function dirname(path) {
|
|
24
|
-
if (path instanceof URL) {
|
|
25
|
-
path = fromFileUrl(path);
|
|
26
|
-
}
|
|
27
26
|
assertArg(path);
|
|
28
27
|
const len = path.length;
|
|
29
28
|
let rootEnd = -1;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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";
|
|
7
6
|
/**
|
|
8
7
|
* Return the extension of the `path` with leading period.
|
|
9
8
|
*
|
|
@@ -12,17 +11,17 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
12
11
|
* import { extname } from "@std/path/windows/extname";
|
|
13
12
|
* import { assertEquals } from "@std/assert";
|
|
14
13
|
*
|
|
15
|
-
*
|
|
16
|
-
* assertEquals(
|
|
14
|
+
* const ext = extname("file.ts");
|
|
15
|
+
* assertEquals(ext, ".ts");
|
|
17
16
|
* ```
|
|
18
17
|
*
|
|
18
|
+
* Note: If you are working with file URLs,
|
|
19
|
+
* use the new version of `extname` from `@std/path/windows/unstable-extname`.
|
|
20
|
+
*
|
|
19
21
|
* @param path The path to get the extension from.
|
|
20
22
|
* @returns The extension of the `path`.
|
|
21
23
|
*/
|
|
22
24
|
export function extname(path) {
|
|
23
|
-
if (path instanceof URL) {
|
|
24
|
-
path = fromFileUrl(path);
|
|
25
|
-
}
|
|
26
25
|
assertPath(path);
|
|
27
26
|
let start = 0;
|
|
28
27
|
let startDot = -1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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,9 +1,8 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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";
|
|
7
6
|
/**
|
|
8
7
|
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
|
9
8
|
*
|
|
@@ -12,19 +11,17 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
12
11
|
* import { join } from "@std/path/windows/join";
|
|
13
12
|
* import { assertEquals } from "@std/assert";
|
|
14
13
|
*
|
|
15
|
-
*
|
|
16
|
-
* assertEquals(
|
|
14
|
+
* const joined = join("C:\\foo", "bar", "baz\\..");
|
|
15
|
+
* assertEquals(joined, "C:\\foo\\bar");
|
|
17
16
|
* ```
|
|
18
17
|
*
|
|
19
|
-
*
|
|
18
|
+
* Note: If you are working with file URLs,
|
|
19
|
+
* use the new version of `join` from `@std/path/windows/unstable-join`.
|
|
20
|
+
*
|
|
20
21
|
* @param paths The paths to join.
|
|
21
22
|
* @returns The joined path.
|
|
22
23
|
*/
|
|
23
|
-
export function join(
|
|
24
|
-
if (path instanceof URL) {
|
|
25
|
-
path = fromFileUrl(path);
|
|
26
|
-
}
|
|
27
|
-
paths = path ? [path, ...paths] : paths;
|
|
24
|
+
export function join(...paths) {
|
|
28
25
|
paths.forEach((path) => assertPath(path));
|
|
29
26
|
paths = paths.filter((path) => path.length > 0);
|
|
30
27
|
if (paths.length === 0)
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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";
|
|
8
7
|
/**
|
|
9
8
|
* Normalize the `path`, resolving `'..'` and `'.'` segments.
|
|
10
9
|
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
|
@@ -15,17 +14,17 @@ import { fromFileUrl } from "./from_file_url.js";
|
|
|
15
14
|
* import { normalize } from "@std/path/windows/normalize";
|
|
16
15
|
* import { assertEquals } from "@std/assert";
|
|
17
16
|
*
|
|
18
|
-
*
|
|
19
|
-
* assertEquals(
|
|
17
|
+
* const normalized = normalize("C:\\foo\\..\\bar");
|
|
18
|
+
* assertEquals(normalized, "C:\\bar");
|
|
20
19
|
* ```
|
|
21
20
|
*
|
|
21
|
+
* Note: If you are working with file URLs,
|
|
22
|
+
* use the new version of `normalize` from `@std/path/windows/unstable-normalize`.
|
|
23
|
+
*
|
|
22
24
|
* @param path The path to normalize
|
|
23
25
|
* @returns The normalized path
|
|
24
26
|
*/
|
|
25
27
|
export function normalize(path) {
|
|
26
|
-
if (path instanceof URL) {
|
|
27
|
-
path = fromFileUrl(path);
|
|
28
|
-
}
|
|
29
28
|
assertArg(path);
|
|
30
29
|
const len = path.length;
|
|
31
30
|
let rootEnd = 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. 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";
|