windmill-cli 1.586.0 → 1.586.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +5 -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,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.0.8/basename.js";
|
|
5
|
+
import { normalize } from "../../path/1.0.8/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.0.8/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.0.8/resolve.js";
|
|
4
|
+
import { SEPARATOR } from "../../path/1.0.8/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.0.8/from_file_url.js";
|
|
4
4
|
/**
|
|
5
5
|
* Convert a URL or string to a path.
|
|
6
6
|
*
|
|
@@ -1,13 +1,14 @@
|
|
|
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.0.8/basename.js";
|
|
4
|
+
import { join } from "../../path/1.0.8/join.js";
|
|
5
|
+
import { resolve } from "../../path/1.0.8/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
|
-
|
|
10
|
+
// deno-lint-ignore no-explicit-any
|
|
11
|
+
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
11
12
|
function assertIsDate(date, name) {
|
|
12
13
|
if (date === null) {
|
|
13
14
|
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.0.8/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.0.8/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.0.8/dirname.js";
|
|
4
4
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
5
5
|
import { toPathString } from "./_to_path_string.js";
|
|
6
6
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
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.0.8/dirname.js";
|
|
4
|
+
import { resolve } from "../../path/1.0.8/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
|
-
|
|
8
|
+
// deno-lint-ignore no-explicit-any
|
|
9
|
+
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
9
10
|
function resolveSymlinkTarget(target, linkName) {
|
|
10
11
|
if (typeof target !== "string")
|
|
11
12
|
return target; // URL is always absolute path
|
|
@@ -1,15 +1,16 @@
|
|
|
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.0.8/glob_to_regexp.js";
|
|
4
|
+
import { joinGlobs } from "../../path/1.0.8/join_globs.js";
|
|
5
|
+
import { isGlob } from "../../path/1.0.8/is_glob.js";
|
|
6
|
+
import { isAbsolute } from "../../path/1.0.8/is_absolute.js";
|
|
7
|
+
import { resolve } from "../../path/1.0.8/resolve.js";
|
|
8
|
+
import { SEPARATOR_PATTERN } from "../../path/1.0.8/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
|
-
|
|
12
|
+
// deno-lint-ignore no-explicit-any
|
|
13
|
+
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
13
14
|
function split(path) {
|
|
14
15
|
const s = SEPARATOR_PATTERN.source;
|
|
15
16
|
const segments = path
|
|
@@ -228,11 +229,11 @@ export async function* expandGlob(glob, options) {
|
|
|
228
229
|
const excludePatterns = exclude
|
|
229
230
|
.map(resolveFromRoot)
|
|
230
231
|
.map((s) => globToRegExp(s, globOptions));
|
|
231
|
-
const shouldInclude = (path) => !excludePatterns.some((p) =>
|
|
232
|
+
const shouldInclude = (path) => !excludePatterns.some((p) => !!path.match(p));
|
|
232
233
|
let fixedRoot = isGlobAbsolute ? winRoot ?? "/" : absRoot;
|
|
233
234
|
while (segments.length > 0 && !isGlob(segments[0])) {
|
|
234
235
|
const seg = segments.shift();
|
|
235
|
-
fixedRoot = joinGlobs([fixedRoot,
|
|
236
|
+
fixedRoot = joinGlobs([fixedRoot, seg], globOptions);
|
|
236
237
|
}
|
|
237
238
|
let fixedRootInfo;
|
|
238
239
|
try {
|
|
@@ -349,11 +350,11 @@ export function* expandGlobSync(glob, options) {
|
|
|
349
350
|
const excludePatterns = exclude
|
|
350
351
|
.map(resolveFromRoot)
|
|
351
352
|
.map((s) => globToRegExp(s, globOptions));
|
|
352
|
-
const shouldInclude = (path) => !excludePatterns.some((p) =>
|
|
353
|
+
const shouldInclude = (path) => !excludePatterns.some((p) => !!path.match(p));
|
|
353
354
|
let fixedRoot = isGlobAbsolute ? winRoot ?? "/" : absRoot;
|
|
354
355
|
while (segments.length > 0 && !isGlob(segments[0])) {
|
|
355
356
|
const seg = segments.shift();
|
|
356
|
-
fixedRoot = joinGlobs([fixedRoot,
|
|
357
|
+
fixedRoot = joinGlobs([fixedRoot, seg], globOptions);
|
|
357
358
|
}
|
|
358
359
|
let fixedRootInfo;
|
|
359
360
|
try {
|
|
@@ -413,28 +414,3 @@ export function* expandGlobSync(glob, options) {
|
|
|
413
414
|
}
|
|
414
415
|
yield* currentMatches;
|
|
415
416
|
}
|
|
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,6 +2,7 @@
|
|
|
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.");
|
|
5
6
|
/**
|
|
6
7
|
* Asynchronously moves a file or directory (along with its contents).
|
|
7
8
|
*
|
|
@@ -59,7 +60,6 @@ export async function move(src, dest, options) {
|
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
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,7 +127,6 @@ 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.");
|
|
131
130
|
try {
|
|
132
131
|
dntShim.Deno.lstatSync(dest);
|
|
133
132
|
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.0.8/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) {
|
|
@@ -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.5/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.6/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.16/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-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,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,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.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// deno-lint-ignore-file no-explicit-any
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
// Check Deno, then the remaining runtimes (e.g. Node, Bun and the browser)
|
|
5
|
+
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
6
|
+
export const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows" ||
|
|
7
|
+
dntShim.dntGlobalThis.navigator?.platform?.startsWith("Win") ||
|
|
8
|
+
dntShim.dntGlobalThis.process?.platform?.startsWith("win") ||
|
|
9
|
+
false;
|
|
@@ -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 { basename as posixBasename } from "./posix/basename.js";
|
|
5
5
|
import { basename as windowsBasename } from "./windows/basename.js";
|
|
6
6
|
/**
|
|
@@ -16,13 +16,14 @@ 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");
|
|
20
19
|
* } else {
|
|
21
20
|
* assertEquals(basename("/home/user/Documents/image.png"), "image.png");
|
|
22
|
-
* assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
|
|
23
21
|
* }
|
|
24
22
|
* ```
|
|
25
23
|
*
|
|
24
|
+
* Note: If you are working with file URLs,
|
|
25
|
+
* use the new version of `basename` from `@std/path/unstable-basename`.
|
|
26
|
+
*
|
|
26
27
|
* @param path Path to extract the name from.
|
|
27
28
|
* @param suffix Suffix to remove from extracted name.
|
|
28
29
|
*
|
|
@@ -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 { common as _common } from "./_common/common.js";
|
|
4
4
|
import { SEPARATOR } from "./constants.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
|
/**
|
|
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-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 { dirname as posixDirname } from "./posix/dirname.js";
|
|
5
5
|
import { dirname as windowsDirname } from "./windows/dirname.js";
|
|
6
6
|
/**
|
|
@@ -13,13 +13,14 @@ 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");
|
|
17
16
|
* } else {
|
|
18
17
|
* assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
|
|
19
|
-
* assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
|
|
20
18
|
* }
|
|
21
19
|
* ```
|
|
22
20
|
*
|
|
21
|
+
* Note: If you are working with file URLs,
|
|
22
|
+
* use the new version of `dirname` from `@std/path/unstable-dirname`.
|
|
23
|
+
*
|
|
23
24
|
* @param path Path to extract the directory from.
|
|
24
25
|
* @returns The directory path.
|
|
25
26
|
*/
|
|
@@ -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 { extname as posixExtname } from "./posix/extname.js";
|
|
5
5
|
import { extname as windowsExtname } from "./windows/extname.js";
|
|
6
6
|
/**
|
|
@@ -13,13 +13,14 @@ 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");
|
|
17
16
|
* } else {
|
|
18
17
|
* assertEquals(extname("/home/user/Documents/image.png"), ".png");
|
|
19
|
-
* assertEquals(extname(new URL("file:///home/user/Documents/image.png")), ".png");
|
|
20
18
|
* }
|
|
21
19
|
* ```
|
|
22
20
|
*
|
|
21
|
+
* Note: If you are working with file URLs,
|
|
22
|
+
* use the new version of `extname` from `@std/path/unstable-extname`.
|
|
23
|
+
*
|
|
23
24
|
* @param path Path with extension.
|
|
24
25
|
* @returns The file extension. E.g. returns `.ts` for `file.ts`.
|
|
25
26
|
*/
|
|
@@ -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 { 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-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 { 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-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 { 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-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 { 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-2024 the Deno authors. All rights reserved. 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-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 { 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");
|
|
17
16
|
* } else {
|
|
18
17
|
* 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");
|
|
20
18
|
* }
|
|
21
19
|
* ```
|
|
22
20
|
*
|
|
23
|
-
*
|
|
21
|
+
* Note: If you are working with file URLs,
|
|
22
|
+
* use the new version of `join` from `@std/path/unstable-join`.
|
|
23
|
+
*
|
|
24
24
|
* @param paths Paths to be joined and normalized.
|
|
25
25
|
* @returns The joined and normalized path.
|
|
26
26
|
*/
|
|
27
|
-
export function join(
|
|
28
|
-
return isWindows ? windowsJoin(
|
|
27
|
+
export function join(...paths) {
|
|
28
|
+
return isWindows ? windowsJoin(...paths) : posixJoin(...paths);
|
|
29
29
|
}
|
|
@@ -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 { joinGlobs as posixJoinGlobs } from "./posix/join_globs.js";
|
|
5
5
|
import { joinGlobs as windowsJoinGlobs } from "./windows/join_globs.js";
|
|
6
6
|
/**
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
|
+
// Copyright the Browserify authors. MIT License.
|
|
3
|
+
// Ported mostly from https://github.com/browserify/path-browserify/
|
|
4
|
+
// This module is browser compatible.
|
|
5
|
+
/**
|
|
6
|
+
* Utilities for working with OS-specific file paths.
|
|
7
|
+
*
|
|
8
|
+
* Functions from this module will automatically switch to support the path style
|
|
9
|
+
* of the current OS, either `windows` for Microsoft Windows, or `posix` for
|
|
10
|
+
* every other operating system, eg. Linux, MacOS, BSD etc.
|
|
11
|
+
*
|
|
12
|
+
* To use functions for a specific path style regardless of the current OS
|
|
13
|
+
* import the modules from the platform sub directory instead.
|
|
14
|
+
*
|
|
15
|
+
* Example, for POSIX:
|
|
16
|
+
*
|
|
17
|
+
* ```ts
|
|
18
|
+
* import { fromFileUrl } from "@std/path/posix/from-file-url";
|
|
19
|
+
* import { assertEquals } from "@std/assert";
|
|
20
|
+
*
|
|
21
|
+
* assertEquals(fromFileUrl("file:///home/foo"), "/home/foo");
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* Or, for Windows:
|
|
25
|
+
*
|
|
26
|
+
* ```ts
|
|
27
|
+
* import { fromFileUrl } from "@std/path/windows/from-file-url";
|
|
28
|
+
* import { assertEquals } from "@std/assert";
|
|
29
|
+
*
|
|
30
|
+
* assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* Functions for working with URLs can be found in
|
|
34
|
+
* {@link ./doc/posix/~ | @std/path/posix}.
|
|
35
|
+
*
|
|
36
|
+
* @module
|
|
37
|
+
*/
|
|
38
|
+
export * from "./basename.js";
|
|
39
|
+
export * from "./constants.js";
|
|
40
|
+
export * from "./dirname.js";
|
|
41
|
+
export * from "./extname.js";
|
|
42
|
+
export * from "./format.js";
|
|
43
|
+
export * from "./from_file_url.js";
|
|
44
|
+
export * from "./is_absolute.js";
|
|
45
|
+
export * from "./join.js";
|
|
46
|
+
export * from "./normalize.js";
|
|
47
|
+
export * from "./parse.js";
|
|
48
|
+
export * from "./relative.js";
|
|
49
|
+
export * from "./resolve.js";
|
|
50
|
+
export * from "./to_file_url.js";
|
|
51
|
+
export * from "./to_namespaced_path.js";
|
|
52
|
+
export * from "./common.js";
|
|
53
|
+
export * from "./types.js";
|
|
54
|
+
export * from "./glob_to_regexp.js";
|
|
55
|
+
export * from "./is_glob.js";
|
|
56
|
+
export * from "./join_globs.js";
|
|
57
|
+
export * from "./normalize_glob.js";
|