windmill-cli 1.475.1 → 1.476.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/codebase.js +14 -8
- package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.2}/concat.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_base32_common.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_validate_binary_like.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/ascii85.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base32.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base58.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64url.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/hex.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/varint.js +3 -1
- package/esm/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.2}/colors.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_create_walk_entry.js +3 -3
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_same_path.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_subdir.js +3 -3
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_to_path_string.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/copy.js +11 -12
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/empty_dir.js +4 -4
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_dir.js +3 -3
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_file.js +4 -4
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_link.js +4 -4
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_symlink.js +14 -51
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/eol.js +5 -7
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/exists.js +17 -37
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/expand_glob.js +14 -15
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/mod.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/move.js +5 -5
- package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/walk.js +22 -22
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/_constants.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/copy.js +2 -2
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/read_all.js +7 -6
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/write_all.js +3 -3
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_config.js +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_file_handler_symbols.js +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_state.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.7/base_handler.js +60 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/console_handler.js +58 -0
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/critical.js +1 -2
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/debug.js +1 -2
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/error.js +1 -2
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/file_handler.js +15 -147
- package/esm/deps/jsr.io/@std/log/0.224.7/formatters.js +19 -0
- package/esm/deps/jsr.io/@std/log/0.224.7/get_logger.js +21 -0
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/info.js +1 -2
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/levels.js +1 -3
- package/esm/deps/jsr.io/@std/log/0.224.7/logger.js +179 -0
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/mod.js +7 -11
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/rotating_file_handler.js +2 -2
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/setup.js +1 -1
- package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/warn.js +1 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/basename.js +0 -17
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/dirname.js +0 -12
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/extname.js +0 -16
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join.js +0 -13
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.js +2 -3
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize.js +0 -18
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.js +1 -2
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.js +2 -3
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.js +1 -2
- package/esm/deps.js +8 -8
- package/esm/flow.js +1 -1
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/main.js +1 -1
- package/esm/metadata.js +1 -1
- package/esm/pull.js +2 -2
- package/esm/script.js +4 -5
- package/esm/sync.js +65 -46
- package/package.json +1 -1
- package/types/codebase.d.ts +2 -2
- package/types/codebase.d.ts.map +1 -1
- package/types/conf.d.ts +1 -0
- package/types/conf.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.2}/concat.d.ts +1 -3
- package/types/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_base32_common.d.ts +1 -2
- package/types/deps/jsr.io/@std/encoding/1.0.5/_base32_common.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_validate_binary_like.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/ascii85.d.ts +1 -3
- package/types/deps/jsr.io/@std/encoding/1.0.5/ascii85.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base32.d.ts +1 -3
- package/types/deps/jsr.io/@std/encoding/1.0.5/base32.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base58.d.ts +1 -3
- package/types/deps/jsr.io/@std/encoding/1.0.5/base58.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64.d.ts +1 -3
- package/types/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64url.d.ts +1 -3
- package/types/deps/jsr.io/@std/encoding/1.0.5/base64url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/hex.d.ts +1 -3
- package/types/deps/jsr.io/@std/encoding/1.0.5/hex.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/varint.d.ts +1 -3
- package/types/deps/jsr.io/@std/encoding/1.0.5/varint.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.2}/colors.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/1.0.3/_create_walk_entry.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.3/_get_file_info_type.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.3/_is_same_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.3/_is_subdir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.3/_to_path_string.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/copy.d.ts +6 -6
- package/types/deps/jsr.io/@std/fs/1.0.3/copy.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/empty_dir.d.ts +2 -2
- package/types/deps/jsr.io/@std/fs/1.0.3/empty_dir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_dir.d.ts +2 -2
- package/types/deps/jsr.io/@std/fs/1.0.3/ensure_dir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_file.d.ts +2 -2
- package/types/deps/jsr.io/@std/fs/1.0.3/ensure_file.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_link.d.ts +2 -2
- package/types/deps/jsr.io/@std/fs/1.0.3/ensure_link.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_symlink.d.ts +8 -26
- package/types/deps/jsr.io/@std/fs/1.0.3/ensure_symlink.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/eol.d.ts +3 -3
- package/types/deps/jsr.io/@std/fs/1.0.3/eol.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/exists.d.ts +16 -36
- package/types/deps/jsr.io/@std/fs/1.0.3/exists.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/expand_glob.d.ts +7 -7
- package/types/deps/jsr.io/@std/fs/1.0.3/expand_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/mod.d.ts +1 -1
- package/types/deps/jsr.io/@std/fs/1.0.3/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/move.d.ts +4 -4
- package/types/deps/jsr.io/@std/fs/1.0.3/move.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/walk.d.ts +20 -20
- package/types/deps/jsr.io/@std/fs/1.0.3/walk.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/_constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/copy.d.ts +1 -1
- package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/copy.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/read_all.d.ts +2 -2
- package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/read_all.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/write_all.d.ts +2 -2
- package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/write_all.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/log/0.224.7/_config.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/_file_handler_symbols.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts +22 -0
- package/types/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts +18 -0
- package/types/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/critical.d.ts +5 -0
- package/types/deps/jsr.io/@std/log/0.224.7/critical.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/debug.d.ts +5 -0
- package/types/deps/jsr.io/@std/log/0.224.7/debug.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/error.d.ts +5 -0
- package/types/deps/jsr.io/@std/log/0.224.7/error.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts +54 -0
- package/types/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/formatters.d.ts +6 -0
- package/types/deps/jsr.io/@std/log/0.224.7/formatters.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts +4 -0
- package/types/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/info.d.ts +5 -0
- package/types/deps/jsr.io/@std/log/0.224.7/info.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/levels.d.ts +0 -2
- package/types/deps/jsr.io/@std/log/0.224.7/levels.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/logger.d.ts +62 -0
- package/types/deps/jsr.io/@std/log/0.224.7/logger.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/mod.d.ts +6 -10
- package/types/deps/jsr.io/@std/log/0.224.7/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/rotating_file_handler.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/setup.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts +5 -0
- package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/basename.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/dirname.d.ts +0 -12
- package/types/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
- package/types/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join.d.ts +0 -13
- package/types/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.d.ts +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.d.ts +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.d.ts +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.d.ts +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts +1 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts +1 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts +1 -1
- package/types/deps.d.ts +8 -8
- package/types/deps.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +4 -0
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/main.d.ts +1 -1
- package/types/pull.d.ts +1 -1
- package/types/pull.d.ts.map +1 -1
- package/types/script.d.ts.map +1 -1
- package/types/sync.d.ts +6 -1
- package/types/sync.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +0 -2
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +0 -2
- package/esm/deps/jsr.io/@std/io/0.225.2/types.js +0 -15
- package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.js +0 -331
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +0 -112
- package/esm/deps/jsr.io/@std/log/0.224.14/formatters.js +0 -45
- package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.js +0 -75
- package/esm/deps/jsr.io/@std/log/0.224.14/logger.js +0 -525
- package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +0 -9
- package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/_base32_common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +0 -9
- package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/ascii85.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base32.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base58.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.7/varint.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/_create_walk_entry.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/_get_file_info_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/_is_same_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/_is_subdir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/_to_path_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/copy.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/empty_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/ensure_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/ensure_file.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/ensure_link.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/ensure_symlink.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/eol.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/exists.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/expand_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/move.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.14/walk.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/io/0.225.2/types.d.ts +0 -146
- package/types/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -326
- package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -76
- package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -105
- package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -200
- package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -34
- package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -59
- package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -622
- package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +0 -37
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_get_file_info_type.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_os.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.js +0 -0
- /package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_validate_binary_like.d.ts +0 -0
- /package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.2}/colors.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_create_walk_entry.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_get_file_info_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_same_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_subdir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_to_path_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/_constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_config.d.ts +0 -0
- /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_file_handler_symbols.d.ts +0 -0
- /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_state.d.ts +0 -0
- /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/rotating_file_handler.d.ts +0 -0
- /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/setup.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_os.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.d.ts +0 -0
package/esm/codebase.js
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { log } from "./deps.js";
|
|
2
2
|
import { digestDir } from "./utils.js";
|
|
3
|
-
export
|
|
3
|
+
export function listSyncCodebases(options) {
|
|
4
4
|
const res = [];
|
|
5
5
|
const nb_codebase = options?.codebases?.length ?? 0;
|
|
6
6
|
if (nb_codebase > 0) {
|
|
7
|
-
log.info(`Found ${nb_codebase} codebases
|
|
7
|
+
log.info(`Found ${nb_codebase} codebases: ${options?.codebases?.map((c) => c.relative_path).join(", ")}`);
|
|
8
8
|
}
|
|
9
9
|
for (const codebase of options?.codebases ?? []) {
|
|
10
|
-
let
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
let _digest = undefined;
|
|
11
|
+
const getDigest = async () => {
|
|
12
|
+
if (_digest == undefined) {
|
|
13
|
+
_digest = await digestDir(codebase.relative_path, JSON.stringify(codebase));
|
|
14
|
+
if (Array.isArray(codebase.assets) && codebase.assets.length > 0) {
|
|
15
|
+
_digest += ".tar";
|
|
16
|
+
}
|
|
17
|
+
log.info(`Codebase ${codebase.relative_path}, digest: ${_digest}`);
|
|
18
|
+
}
|
|
19
|
+
return _digest;
|
|
20
|
+
};
|
|
21
|
+
res.push({ ...codebase, getDigest });
|
|
16
22
|
}
|
|
17
23
|
return res;
|
|
18
24
|
}
|
|
@@ -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
|
* Utilities for working with {@link https://en.wikipedia.org/wiki/Ascii85 | ascii85} encoding.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2009 The Go Authors. All rights reserved.
|
|
2
2
|
// https://github.com/golang/go/blob/master/LICENSE
|
|
3
|
-
// Copyright 2018-
|
|
3
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
4
4
|
// This module is browser compatible.
|
|
5
5
|
/**
|
|
6
6
|
* Port of the Go
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright 2020 Keith Cirkel. All rights reserved. MIT license.
|
|
3
3
|
// Copyright 2023 Skye "MierenManz". All rights reserved. MIT license.
|
|
4
4
|
/**
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
*
|
|
25
25
|
* @module
|
|
26
26
|
*/
|
|
27
|
+
// This implementation is a port of https://deno.land/x/varint@v2.0.0 by @keithamus
|
|
28
|
+
// This module is browser compatible.
|
|
27
29
|
/**
|
|
28
30
|
* The maximum value of an unsigned 64-bit integer.
|
|
29
31
|
* Equivalent to `2n**64n - 1n`
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
4
|
-
import { basename } from "../../path/1.0.
|
|
5
|
-
import { normalize } from "../../path/1.0.
|
|
4
|
+
import { basename } from "../../path/1.0.6/basename.js";
|
|
5
|
+
import { normalize } from "../../path/1.0.6/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
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
|
-
import { resolve } from "../../path/1.0.
|
|
3
|
+
import { resolve } from "../../path/1.0.6/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
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
|
-
import { resolve } from "../../path/1.0.
|
|
4
|
-
import { SEPARATOR } from "../../path/1.0.
|
|
3
|
+
import { resolve } from "../../path/1.0.6/resolve.js";
|
|
4
|
+
import { SEPARATOR } from "../../path/1.0.6/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
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
|
-
import { fromFileUrl } from "../../path/1.0.
|
|
3
|
+
import { fromFileUrl } from "../../path/1.0.6/from_file_url.js";
|
|
4
4
|
/**
|
|
5
5
|
* Convert a URL or string to a path.
|
|
6
6
|
*
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { basename } from "../../path/1.0.
|
|
4
|
-
import { join } from "../../path/1.0.
|
|
5
|
-
import { resolve } from "../../path/1.0.
|
|
3
|
+
import { basename } from "../../path/1.0.6/basename.js";
|
|
4
|
+
import { join } from "../../path/1.0.6/join.js";
|
|
5
|
+
import { resolve } from "../../path/1.0.6/resolve.js";
|
|
6
6
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
7
7
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
8
8
|
import { toPathString } from "./_to_path_string.js";
|
|
9
9
|
import { isSubdir } from "./_is_subdir.js";
|
|
10
|
-
|
|
11
|
-
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
10
|
+
const isWindows = dntShim.Deno.build.os === "windows";
|
|
12
11
|
function assertIsDate(date, name) {
|
|
13
12
|
if (date === null) {
|
|
14
13
|
throw new Error(`${name} is unavailable`);
|
|
@@ -196,7 +195,7 @@ function copyDirSync(src, dest, options) {
|
|
|
196
195
|
* @returns A promise that resolves once the copy operation completes.
|
|
197
196
|
*
|
|
198
197
|
* @example Basic usage
|
|
199
|
-
* ```ts
|
|
198
|
+
* ```ts no-eval
|
|
200
199
|
* import { copy } from "@std/fs/copy";
|
|
201
200
|
*
|
|
202
201
|
* await copy("./foo", "./bar");
|
|
@@ -206,7 +205,7 @@ function copyDirSync(src, dest, options) {
|
|
|
206
205
|
* overwriting.
|
|
207
206
|
*
|
|
208
207
|
* @example Overwriting files/directories
|
|
209
|
-
* ```ts
|
|
208
|
+
* ```ts no-eval
|
|
210
209
|
* import { copy } from "@std/fs/copy";
|
|
211
210
|
*
|
|
212
211
|
* await copy("./foo", "./bar", { overwrite: true });
|
|
@@ -216,7 +215,7 @@ function copyDirSync(src, dest, options) {
|
|
|
216
215
|
* any existing files or directories.
|
|
217
216
|
*
|
|
218
217
|
* @example Preserving timestamps
|
|
219
|
-
* ```ts
|
|
218
|
+
* ```ts no-eval
|
|
220
219
|
* import { copy } from "@std/fs/copy";
|
|
221
220
|
*
|
|
222
221
|
* await copy("./foo", "./bar", { preserveTimestamps: true });
|
|
@@ -263,7 +262,7 @@ export async function copy(src, dest, options = {}) {
|
|
|
263
262
|
* @returns A void value that returns once the copy operation completes.
|
|
264
263
|
*
|
|
265
264
|
* @example Basic usage
|
|
266
|
-
* ```ts
|
|
265
|
+
* ```ts no-eval
|
|
267
266
|
* import { copySync } from "@std/fs/copy";
|
|
268
267
|
*
|
|
269
268
|
* copySync("./foo", "./bar");
|
|
@@ -273,7 +272,7 @@ export async function copy(src, dest, options = {}) {
|
|
|
273
272
|
* overwriting.
|
|
274
273
|
*
|
|
275
274
|
* @example Overwriting files/directories
|
|
276
|
-
* ```ts
|
|
275
|
+
* ```ts no-eval
|
|
277
276
|
* import { copySync } from "@std/fs/copy";
|
|
278
277
|
*
|
|
279
278
|
* copySync("./foo", "./bar", { overwrite: true });
|
|
@@ -283,7 +282,7 @@ export async function copy(src, dest, options = {}) {
|
|
|
283
282
|
* any existing files or directories.
|
|
284
283
|
*
|
|
285
284
|
* @example Preserving timestamps
|
|
286
|
-
* ```ts
|
|
285
|
+
* ```ts no-eval
|
|
287
286
|
* import { copySync } from "@std/fs/copy";
|
|
288
287
|
*
|
|
289
288
|
* copySync("./foo", "./bar", { preserveTimestamps: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { join } from "../../path/1.0.
|
|
3
|
+
import { join } from "../../path/1.0.6/join.js";
|
|
4
4
|
import { toPathString } from "./_to_path_string.js";
|
|
5
5
|
/**
|
|
6
6
|
* Asynchronously ensures that a directory is empty.
|
|
@@ -18,7 +18,7 @@ import { toPathString } from "./_to_path_string.js";
|
|
|
18
18
|
* @returns A void promise that resolves once the directory is empty.
|
|
19
19
|
*
|
|
20
20
|
* @example Usage
|
|
21
|
-
* ```ts
|
|
21
|
+
* ```ts no-eval
|
|
22
22
|
* import { emptyDir } from "@std/fs/empty-dir";
|
|
23
23
|
*
|
|
24
24
|
* await emptyDir("./foo");
|
|
@@ -59,7 +59,7 @@ export async function emptyDir(dir) {
|
|
|
59
59
|
* @returns A void value that returns once the directory is empty.
|
|
60
60
|
*
|
|
61
61
|
* @example Usage
|
|
62
|
-
* ```ts
|
|
62
|
+
* ```ts no-eval
|
|
63
63
|
* import { emptyDirSync } from "@std/fs/empty-dir";
|
|
64
64
|
*
|
|
65
65
|
* emptyDirSync("./foo");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
3
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
4
4
|
/**
|
|
@@ -18,7 +18,7 @@ import { getFileInfoType } from "./_get_file_info_type.js";
|
|
|
18
18
|
* @returns A promise that resolves once the directory exists.
|
|
19
19
|
*
|
|
20
20
|
* @example Usage
|
|
21
|
-
* ```ts
|
|
21
|
+
* ```ts no-eval
|
|
22
22
|
* import { ensureDir } from "@std/fs/ensure-dir";
|
|
23
23
|
*
|
|
24
24
|
* await ensureDir("./bar");
|
|
@@ -65,7 +65,7 @@ export async function ensureDir(dir) {
|
|
|
65
65
|
* @returns A void value that returns once the directory exists.
|
|
66
66
|
*
|
|
67
67
|
* @example Usage
|
|
68
|
-
* ```ts
|
|
68
|
+
* ```ts no-eval
|
|
69
69
|
* import { ensureDirSync } from "@std/fs/ensure-dir";
|
|
70
70
|
*
|
|
71
71
|
* ensureDirSync("./bar");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { dirname } from "../../path/1.0.
|
|
3
|
+
import { dirname } from "../../path/1.0.6/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";
|
|
@@ -20,7 +20,7 @@ import { toPathString } from "./_to_path_string.js";
|
|
|
20
20
|
* @returns A void promise that resolves once the file exists.
|
|
21
21
|
*
|
|
22
22
|
* @example Usage
|
|
23
|
-
* ```ts
|
|
23
|
+
* ```ts no-eval
|
|
24
24
|
* import { ensureFile } from "@std/fs/ensure-file";
|
|
25
25
|
*
|
|
26
26
|
* await ensureFile("./folder/targetFile.dat");
|
|
@@ -62,7 +62,7 @@ export async function ensureFile(filePath) {
|
|
|
62
62
|
* @returns A void value that returns once the file exists.
|
|
63
63
|
*
|
|
64
64
|
* @example Usage
|
|
65
|
-
* ```ts
|
|
65
|
+
* ```ts no-eval
|
|
66
66
|
* import { ensureFileSync } from "@std/fs/ensure-file";
|
|
67
67
|
*
|
|
68
68
|
* ensureFileSync("./folder/targetFile.dat");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { dirname } from "../../path/1.0.
|
|
3
|
+
import { dirname } from "../../path/1.0.6/dirname.js";
|
|
4
4
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
5
5
|
import { toPathString } from "./_to_path_string.js";
|
|
6
6
|
/**
|
|
@@ -20,7 +20,7 @@ import { toPathString } from "./_to_path_string.js";
|
|
|
20
20
|
* @returns A void promise that resolves once the hard link exists.
|
|
21
21
|
*
|
|
22
22
|
* @example Usage
|
|
23
|
-
* ```ts
|
|
23
|
+
* ```ts no-eval
|
|
24
24
|
* import { ensureLink } from "@std/fs/ensure-link";
|
|
25
25
|
*
|
|
26
26
|
* await ensureLink("./folder/targetFile.dat", "./folder/targetFile.link.dat");
|
|
@@ -48,7 +48,7 @@ export async function ensureLink(src, dest) {
|
|
|
48
48
|
* @returns A void value that returns once the hard link exists.
|
|
49
49
|
*
|
|
50
50
|
* @example Usage
|
|
51
|
-
* ```ts
|
|
51
|
+
* ```ts no-eval
|
|
52
52
|
* import { ensureLinkSync } from "@std/fs/ensure-link";
|
|
53
53
|
*
|
|
54
54
|
* ensureLinkSync("./folder/targetFile.dat", "./folder/targetFile.link.dat");
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
3
|
-
import { dirname } from "../../path/1.0.
|
|
4
|
-
import { resolve } from "../../path/1.0.
|
|
3
|
+
import { dirname } from "../../path/1.0.6/dirname.js";
|
|
4
|
+
import { resolve } from "../../path/1.0.6/resolve.js";
|
|
5
5
|
import { ensureDir, ensureDirSync } from "./ensure_dir.js";
|
|
6
6
|
import { getFileInfoType } from "./_get_file_info_type.js";
|
|
7
7
|
import { toPathString } from "./_to_path_string.js";
|
|
8
|
-
|
|
9
|
-
const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows";
|
|
8
|
+
const isWindows = dntShim.Deno.build.os === "windows";
|
|
10
9
|
function resolveSymlinkTarget(target, linkName) {
|
|
11
10
|
if (typeof target !== "string")
|
|
12
11
|
return target; // URL is always absolute path
|
|
@@ -33,39 +32,21 @@ function getSymlinkOption(type) {
|
|
|
33
32
|
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
|
|
34
33
|
* for more information on Deno's permissions system.
|
|
35
34
|
*
|
|
36
|
-
* @param target The source file path as a string or URL.
|
|
35
|
+
* @param target The source file path as a string or URL.
|
|
37
36
|
* @param linkName The destination link path as a string or URL.
|
|
38
37
|
*
|
|
39
38
|
* @returns A void promise that resolves once the link exists.
|
|
40
39
|
*
|
|
41
|
-
* @example
|
|
42
|
-
* ```ts
|
|
40
|
+
* @example Usage
|
|
41
|
+
* ```ts no-eval
|
|
43
42
|
* import { ensureSymlink } from "@std/fs/ensure-symlink";
|
|
44
43
|
*
|
|
45
|
-
*
|
|
46
|
-
* await ensureSymlink("./targetFile.dat", "./targetFile.link.dat");
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @example Ensuring a link in a folder
|
|
50
|
-
* ```ts ignore
|
|
51
|
-
* import { ensureSymlink } from "@std/fs/ensure-symlink";
|
|
52
|
-
*
|
|
53
|
-
* // Ensures the link `./folder/targetFile.link.dat` exists and points to `./folder/targetFile.dat`
|
|
54
|
-
* await ensureSymlink("./targetFile.dat", "./folder/targetFile.link.dat");
|
|
44
|
+
* await ensureSymlink("./folder/targetFile.dat", "./folder/targetFile.link.dat");
|
|
55
45
|
* ```
|
|
56
46
|
*/
|
|
57
47
|
export async function ensureSymlink(target, linkName) {
|
|
58
48
|
const targetRealPath = resolveSymlinkTarget(target, linkName);
|
|
59
|
-
|
|
60
|
-
try {
|
|
61
|
-
srcStatInfo = await dntShim.Deno.lstat(targetRealPath);
|
|
62
|
-
}
|
|
63
|
-
catch (error) {
|
|
64
|
-
if (error instanceof dntShim.Deno.errors.NotFound) {
|
|
65
|
-
throw new dntShim.Deno.errors.NotFound(`Cannot ensure symlink as the target path does not exist: ${targetRealPath}`);
|
|
66
|
-
}
|
|
67
|
-
throw error;
|
|
68
|
-
}
|
|
49
|
+
const srcStatInfo = await dntShim.Deno.lstat(targetRealPath);
|
|
69
50
|
const srcFilePathType = getFileInfoType(srcStatInfo);
|
|
70
51
|
await ensureDir(dirname(toPathString(linkName)));
|
|
71
52
|
const options = getSymlinkOption(srcFilePathType);
|
|
@@ -101,38 +82,20 @@ export async function ensureSymlink(target, linkName) {
|
|
|
101
82
|
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
|
|
102
83
|
* for more information on Deno's permissions system.
|
|
103
84
|
*
|
|
104
|
-
* @param target The source file path as a string or URL.
|
|
85
|
+
* @param target The source file path as a string or URL.
|
|
105
86
|
* @param linkName The destination link path as a string or URL.
|
|
106
87
|
* @returns A void value that returns once the link exists.
|
|
107
88
|
*
|
|
108
|
-
* @example
|
|
109
|
-
* ```ts
|
|
89
|
+
* @example Usage
|
|
90
|
+
* ```ts no-eval
|
|
110
91
|
* import { ensureSymlinkSync } from "@std/fs/ensure-symlink";
|
|
111
92
|
*
|
|
112
|
-
*
|
|
113
|
-
* ensureSymlinkSync("./targetFile.dat", "./targetFile.link.dat");
|
|
114
|
-
* ```
|
|
115
|
-
*
|
|
116
|
-
* @example Ensuring a link in a folder
|
|
117
|
-
* ```ts ignore
|
|
118
|
-
* import { ensureSymlinkSync } from "@std/fs/ensure-symlink";
|
|
119
|
-
*
|
|
120
|
-
* // Ensures the link `./folder/targetFile.link.dat` exists and points to `./folder/targetFile.dat`
|
|
121
|
-
* ensureSymlinkSync("./targetFile.dat", "./folder/targetFile.link.dat");
|
|
93
|
+
* ensureSymlinkSync("./folder/targetFile.dat", "./folder/targetFile.link.dat");
|
|
122
94
|
* ```
|
|
123
95
|
*/
|
|
124
96
|
export function ensureSymlinkSync(target, linkName) {
|
|
125
97
|
const targetRealPath = resolveSymlinkTarget(target, linkName);
|
|
126
|
-
|
|
127
|
-
try {
|
|
128
|
-
srcStatInfo = dntShim.Deno.lstatSync(targetRealPath);
|
|
129
|
-
}
|
|
130
|
-
catch (error) {
|
|
131
|
-
if (error instanceof dntShim.Deno.errors.NotFound) {
|
|
132
|
-
throw new dntShim.Deno.errors.NotFound(`Cannot ensure symlink as the target path does not exist: ${targetRealPath}`);
|
|
133
|
-
}
|
|
134
|
-
throw error;
|
|
135
|
-
}
|
|
98
|
+
const srcStatInfo = dntShim.Deno.lstatSync(targetRealPath);
|
|
136
99
|
const srcFilePathType = getFileInfoType(srcStatInfo);
|
|
137
100
|
ensureDirSync(dirname(toPathString(linkName)));
|
|
138
101
|
const options = getSymlinkOption(srcFilePathType);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
/** End-of-line character for POSIX platforms such as macOS and Linux. */
|
|
3
3
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
4
4
|
export const LF = "\n";
|
|
@@ -8,15 +8,13 @@ export const CRLF = "\r\n";
|
|
|
8
8
|
* End-of-line character evaluated for the current platform.
|
|
9
9
|
*
|
|
10
10
|
* @example Usage
|
|
11
|
-
* ```ts
|
|
11
|
+
* ```ts no-eval
|
|
12
12
|
* import { EOL } from "@std/fs/eol";
|
|
13
13
|
*
|
|
14
14
|
* EOL; // "\n" on POSIX platforms and "\r\n" on Windows
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
export const EOL =
|
|
18
|
-
// deno-lint-ignore no-explicit-any
|
|
19
|
-
dntShim.dntGlobalThis.Deno?.build.os === "windows" ? CRLF : LF;
|
|
17
|
+
export const EOL = dntShim.Deno?.build.os === "windows" ? CRLF : LF;
|
|
20
18
|
const regDetect = /(?:\r?\n)/g;
|
|
21
19
|
/**
|
|
22
20
|
* Returns the detected EOL character(s) detected in the input string. If no EOL
|
|
@@ -27,7 +25,7 @@ const regDetect = /(?:\r?\n)/g;
|
|
|
27
25
|
* @returns The detected EOL character(s) or `null` if no EOL character is detected.
|
|
28
26
|
*
|
|
29
27
|
* @example Usage
|
|
30
|
-
* ```ts
|
|
28
|
+
* ```ts no-eval
|
|
31
29
|
* import { detect } from "@std/fs/eol";
|
|
32
30
|
*
|
|
33
31
|
* detect("deno\r\nis not\r\nnode"); // "\r\n"
|
|
@@ -53,7 +51,7 @@ export function detect(content) {
|
|
|
53
51
|
* @returns The input string normalized to the targeted EOL.
|
|
54
52
|
*
|
|
55
53
|
* @example Usage
|
|
56
|
-
* ```ts
|
|
54
|
+
* ```ts no-eval
|
|
57
55
|
* import { LF, format } from "@std/fs/eol";
|
|
58
56
|
*
|
|
59
57
|
* const CRLFinput = "deno\r\nis not\r\nnode";
|