@effectionx/jsonl-store 0.1.2 → 0.2.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/_dnt.polyfills.d.ts +120 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -0
- package/esm/_dnt.polyfills.js +247 -0
- package/esm/_dnt.shims.d.ts +2 -0
- package/esm/_dnt.shims.d.ts.map +1 -0
- package/esm/_dnt.shims.js +57 -0
- package/esm/context.js +2 -2
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +2 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +32 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.js +50 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.js +33 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts +12 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.js +20 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts +10 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_is_same_path.js +17 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts +12 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_is_subdir.js +25 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts +9 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/_to_path_string.js +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/copy.d.ts +117 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/copy.js +312 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts +48 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/empty_dir.js +86 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_dir.js +101 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts +47 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_file.js +89 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_link.js +60 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts +52 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.js +119 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/eol.d.ts +53 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/eol.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/eol.js +63 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +219 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/exists.js +269 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts +267 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/expand_glob.js +414 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/mod.d.ts +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/mod.js +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/move.d.ts +86 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/move.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/move.js +140 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/walk.d.ts +777 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/walk.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.4/walk.js +845 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/_common.d.ts +4 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/_common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/_common.js +11 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts +70 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.js +196 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/mod.d.ts +23 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/mod.js +23 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts +53 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/parse_stream.js +66 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts +95 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/stringify_stream.js +88 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/types.d.ts +5 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.1/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/basename.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/dirname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/extname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/mod.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/normalize.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/basename.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +50 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/extname.js +73 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/basename.js +44 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +112 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/extname.js +81 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/join.js +74 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +134 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +31 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/_common.d.ts +5 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/_common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/_common.js +27 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts +300 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/buffer.js +406 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts +44 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.js +85 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts +27 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.js +47 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts +66 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.js +291 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts +83 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.js +102 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts +101 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.js +122 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts +84 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.js +106 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts +38 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.js +69 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/mod.d.ts +35 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/mod.js +35 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts +58 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.js +123 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts +72 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/text_line_stream.js +107 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +35 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts +22 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_blob.js +25 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts +38 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_json.js +42 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts +29 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_text.js +45 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts +61 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.js +102 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts +76 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.js +102 -0
- package/esm/jsonl.js +4 -4
- package/esm/mod.d.ts +1 -0
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -0
- package/package.json +5 -1
- package/script/_dnt.polyfills.d.ts +120 -0
- package/script/_dnt.polyfills.d.ts.map +1 -0
- package/script/_dnt.polyfills.js +250 -0
- package/script/_dnt.shims.d.ts +2 -0
- package/script/_dnt.shims.d.ts.map +1 -0
- package/script/_dnt.shims.js +60 -0
- package/script/context.js +2 -2
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +3 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +35 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +41 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/1.0.6/copy.js +53 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts +13 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.js +37 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts +12 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.js +23 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts +10 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_is_same_path.js +20 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts +12 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_is_subdir.js +28 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts +9 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/_to_path_string.js +16 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/copy.d.ts +117 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/copy.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/copy.js +316 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts +48 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/empty_dir.js +90 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts +49 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_dir.js +105 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts +47 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_file.js +93 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts +49 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_link.js +64 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts +52 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/ensure_symlink.js +123 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/eol.d.ts +53 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/eol.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/eol.js +68 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts +219 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/exists.js +273 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts +267 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/expand_glob.js +418 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/mod.d.ts +29 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/mod.js +45 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/move.d.ts +86 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/move.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/move.js +144 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/walk.d.ts +777 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/walk.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.4/walk.js +849 -0
- package/script/deps/jsr.io/@std/json/1.0.1/_common.d.ts +4 -0
- package/script/deps/jsr.io/@std/json/1.0.1/_common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.1/_common.js +14 -0
- package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts +70 -0
- package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.1/concatenated_json_parse_stream.js +200 -0
- package/script/deps/jsr.io/@std/json/1.0.1/mod.d.ts +23 -0
- package/script/deps/jsr.io/@std/json/1.0.1/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.1/mod.js +39 -0
- package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts +53 -0
- package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.1/parse_stream.js +70 -0
- package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts +95 -0
- package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.1/stringify_stream.js +92 -0
- package/script/deps/jsr.io/@std/json/1.0.1/types.d.ts +5 -0
- package/script/deps/jsr.io/@std/json/1.0.1/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.1/types.js +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +10 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/constants.js +49 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +237 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +80 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +18 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/_os.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.6/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/basename.js +39 -0
- package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.6/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/common.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/1.0.6/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/constants.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/extname.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/format.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts +77 -0
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +86 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts +54 -0
- package/script/deps/jsr.io/@std/path/1.0.6/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/mod.js +73 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts +27 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts +29 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +38 -0
- package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.6/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/parse.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +35 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +53 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +76 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts +72 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +34 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +118 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +109 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +95 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/relative.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts +38 -0
- package/script/deps/jsr.io/@std/path/1.0.6/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/types.js +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +47 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +115 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +84 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts +71 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +41 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +77 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +43 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +137 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +34 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +179 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +134 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +190 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +52 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/_common.d.ts +5 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/_common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/_common.js +31 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts +300 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/buffer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/buffer.js +410 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts +44 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/byte_slice_stream.js +89 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts +27 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/concat_readable_streams.js +50 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts +66 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/delimiter_stream.js +295 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts +83 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/early_zip_readable_streams.js +105 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts +101 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/limited_bytes_transform_stream.js +126 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts +84 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/limited_transform_stream.js +110 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts +38 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/merge_readable_streams.js +72 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/mod.d.ts +35 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/mod.js +51 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts +58 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/text_delimiter_stream.js +127 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts +72 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/text_line_stream.js +111 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts +22 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +38 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts +22 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_blob.js +28 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts +38 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_json.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_json.js +45 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts +29 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_text.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_text.js +48 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts +61 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/to_transform_stream.js +105 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts +76 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.8/zip_readable_streams.js +105 -0
- package/script/jsonl.js +14 -14
- package/script/mod.d.ts +1 -0
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.import_meta_ponyfill = exports.import_meta_ponyfill_esmodule = exports.import_meta_ponyfill_commonjs = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Based on [import-meta-ponyfill](https://github.com/gaubee/import-meta-ponyfill),
|
|
6
|
+
* but instead of using npm to install additional dependencies,
|
|
7
|
+
* this approach manually consolidates cjs/mjs/d.ts into a single file.
|
|
8
|
+
*
|
|
9
|
+
* Note that this code might be imported multiple times
|
|
10
|
+
* (for example, both dnt.test.polyfills.ts and dnt.polyfills.ts contain this code;
|
|
11
|
+
* or Node.js might dynamically clear the cache and then force a require).
|
|
12
|
+
* Therefore, it's important to avoid redundant writes to global objects.
|
|
13
|
+
* Additionally, consider that commonjs is used alongside esm,
|
|
14
|
+
* so the two ponyfill functions are stored independently in two separate global objects.
|
|
15
|
+
*/
|
|
16
|
+
//@ts-ignore
|
|
17
|
+
const node_module_1 = require("node:module");
|
|
18
|
+
//@ts-ignore
|
|
19
|
+
const node_url_1 = require("node:url");
|
|
20
|
+
//@ts-ignore
|
|
21
|
+
const node_path_1 = require("node:path");
|
|
22
|
+
const defineGlobalPonyfill = (symbolFor, fn) => {
|
|
23
|
+
if (!Reflect.has(globalThis, Symbol.for(symbolFor))) {
|
|
24
|
+
Object.defineProperty(globalThis, Symbol.for(symbolFor), {
|
|
25
|
+
configurable: true,
|
|
26
|
+
get() {
|
|
27
|
+
return fn;
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.import_meta_ponyfill_commonjs = (Reflect.get(globalThis, Symbol.for("import-meta-ponyfill-commonjs")) ??
|
|
33
|
+
(() => {
|
|
34
|
+
const moduleImportMetaWM = new WeakMap();
|
|
35
|
+
return (require, module) => {
|
|
36
|
+
let importMetaCache = moduleImportMetaWM.get(module);
|
|
37
|
+
if (importMetaCache == null) {
|
|
38
|
+
const importMeta = Object.assign(Object.create(null), {
|
|
39
|
+
url: (0, node_url_1.pathToFileURL)(module.filename).href,
|
|
40
|
+
main: require.main == module,
|
|
41
|
+
resolve: (specifier, parentURL = importMeta.url) => {
|
|
42
|
+
return (0, node_url_1.pathToFileURL)((importMeta.url === parentURL
|
|
43
|
+
? require
|
|
44
|
+
: (0, node_module_1.createRequire)(parentURL))
|
|
45
|
+
.resolve(specifier)).href;
|
|
46
|
+
},
|
|
47
|
+
filename: module.filename,
|
|
48
|
+
dirname: module.path,
|
|
49
|
+
});
|
|
50
|
+
moduleImportMetaWM.set(module, importMeta);
|
|
51
|
+
importMetaCache = importMeta;
|
|
52
|
+
}
|
|
53
|
+
return importMetaCache;
|
|
54
|
+
};
|
|
55
|
+
})());
|
|
56
|
+
defineGlobalPonyfill("import-meta-ponyfill-commonjs", exports.import_meta_ponyfill_commonjs);
|
|
57
|
+
exports.import_meta_ponyfill_esmodule = (Reflect.get(globalThis, Symbol.for("import-meta-ponyfill-esmodule")) ??
|
|
58
|
+
((importMeta) => {
|
|
59
|
+
const resolveFunStr = String(importMeta.resolve);
|
|
60
|
+
const shimWs = new WeakSet();
|
|
61
|
+
//@ts-ignore
|
|
62
|
+
const mainUrl = ("file:///" + process.argv[1].replace(/\\/g, "/"))
|
|
63
|
+
.replace(/\/{3,}/, "///");
|
|
64
|
+
const commonShim = (importMeta) => {
|
|
65
|
+
if (typeof importMeta.main !== "boolean") {
|
|
66
|
+
importMeta.main = importMeta.url === mainUrl;
|
|
67
|
+
}
|
|
68
|
+
if (typeof importMeta.filename !== "string") {
|
|
69
|
+
importMeta.filename = (0, node_url_1.fileURLToPath)(importMeta.url);
|
|
70
|
+
importMeta.dirname = (0, node_path_1.dirname)(importMeta.filename);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
if (
|
|
74
|
+
// v16.2.0+, v14.18.0+: Add support for WHATWG URL object to parentURL parameter.
|
|
75
|
+
resolveFunStr === "undefined" ||
|
|
76
|
+
// v20.0.0+, v18.19.0+"" This API now returns a string synchronously instead of a Promise.
|
|
77
|
+
resolveFunStr.startsWith("async")
|
|
78
|
+
// enable by --experimental-import-meta-resolve flag
|
|
79
|
+
) {
|
|
80
|
+
exports.import_meta_ponyfill_esmodule = (importMeta) => {
|
|
81
|
+
if (!shimWs.has(importMeta)) {
|
|
82
|
+
shimWs.add(importMeta);
|
|
83
|
+
const importMetaUrlRequire = {
|
|
84
|
+
url: importMeta.url,
|
|
85
|
+
require: (0, node_module_1.createRequire)(importMeta.url),
|
|
86
|
+
};
|
|
87
|
+
importMeta.resolve = function resolve(specifier, parentURL = importMeta.url) {
|
|
88
|
+
return (0, node_url_1.pathToFileURL)((importMetaUrlRequire.url === parentURL
|
|
89
|
+
? importMetaUrlRequire.require
|
|
90
|
+
: (0, node_module_1.createRequire)(parentURL)).resolve(specifier)).href;
|
|
91
|
+
};
|
|
92
|
+
commonShim(importMeta);
|
|
93
|
+
}
|
|
94
|
+
return importMeta;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
/// native support
|
|
99
|
+
exports.import_meta_ponyfill_esmodule = (importMeta) => {
|
|
100
|
+
if (!shimWs.has(importMeta)) {
|
|
101
|
+
shimWs.add(importMeta);
|
|
102
|
+
commonShim(importMeta);
|
|
103
|
+
}
|
|
104
|
+
return importMeta;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
return (0, exports.import_meta_ponyfill_esmodule)(importMeta);
|
|
108
|
+
}));
|
|
109
|
+
defineGlobalPonyfill("import-meta-ponyfill-esmodule", exports.import_meta_ponyfill_esmodule);
|
|
110
|
+
exports.import_meta_ponyfill = ((...args) => {
|
|
111
|
+
const _MODULE = (() => {
|
|
112
|
+
if (typeof require === "function" && typeof module === "object") {
|
|
113
|
+
return "commonjs";
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
// eval("typeof import.meta");
|
|
117
|
+
return "esmodule";
|
|
118
|
+
}
|
|
119
|
+
})();
|
|
120
|
+
if (_MODULE === "commonjs") {
|
|
121
|
+
//@ts-ignore
|
|
122
|
+
exports.import_meta_ponyfill = (r, m) => (0, exports.import_meta_ponyfill_commonjs)(r, m);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
//@ts-ignore
|
|
126
|
+
exports.import_meta_ponyfill = (im) => (0, exports.import_meta_ponyfill_esmodule)(im);
|
|
127
|
+
}
|
|
128
|
+
//@ts-ignore
|
|
129
|
+
return (0, exports.import_meta_ponyfill)(...args);
|
|
130
|
+
});
|
|
131
|
+
// From https://github.com/es-shims/array-from-async/blob/4a5ff83947b861f35b380d5d4f20da2f07698638/index.mjs
|
|
132
|
+
// Tried to have dnt depend on the package instead, but it distributes as an
|
|
133
|
+
// ES module, so doesn't work with CommonJS.
|
|
134
|
+
//
|
|
135
|
+
// Code below:
|
|
136
|
+
//
|
|
137
|
+
// Copyright 2021 J. S. Choi
|
|
138
|
+
//
|
|
139
|
+
// Redistribution and use in source and binary forms, with or without
|
|
140
|
+
// modification, are permitted provided that the following conditions
|
|
141
|
+
// are met:
|
|
142
|
+
//
|
|
143
|
+
// 1. Redistributions of source code must retain the above copyright
|
|
144
|
+
// notice, this list of conditions and the following disclaimer.
|
|
145
|
+
//
|
|
146
|
+
// 2. Redistributions in binary form must reproduce the above copyright
|
|
147
|
+
// notice, this list of conditions and the following disclaimer in the
|
|
148
|
+
// documentation and/or other materials provided with the distribution.
|
|
149
|
+
//
|
|
150
|
+
// 3. Neither the name of the copyright holder nor the names of its
|
|
151
|
+
// contributors may be used to endorse or promote products derived from
|
|
152
|
+
// this software without specific prior written permission.
|
|
153
|
+
//
|
|
154
|
+
// **This software is provided by the copyright holders and contributors
|
|
155
|
+
// "as is" and any express or implied warranties, including, but not
|
|
156
|
+
// limited to, the implied warranties of merchantability and fitness for a
|
|
157
|
+
// particular purpose are disclaimed. In no event shall the copyright
|
|
158
|
+
// holder or contributors be liable for any direct, indirect, incidental,
|
|
159
|
+
// special, exemplary, or consequential damages (including, but not limited
|
|
160
|
+
// to, procurement of substitute goods or services; loss of use, data, or
|
|
161
|
+
// profits; or business interruption) however caused and on any theory of
|
|
162
|
+
// liability, whether in contract, strict liability, or tort (including
|
|
163
|
+
// negligence or otherwise) arising in any way out of the use of this
|
|
164
|
+
// software, even if advised of the possibility of such damage.**
|
|
165
|
+
const { MAX_SAFE_INTEGER } = Number;
|
|
166
|
+
const iteratorSymbol = Symbol.iterator;
|
|
167
|
+
const asyncIteratorSymbol = Symbol.asyncIterator;
|
|
168
|
+
const IntrinsicArray = Array;
|
|
169
|
+
const tooLongErrorMessage = 'Input is too long and exceeded Number.MAX_SAFE_INTEGER times.';
|
|
170
|
+
function isConstructor(obj) {
|
|
171
|
+
if (obj != null) {
|
|
172
|
+
const prox = new Proxy(obj, {
|
|
173
|
+
construct() {
|
|
174
|
+
return prox;
|
|
175
|
+
},
|
|
176
|
+
});
|
|
177
|
+
try {
|
|
178
|
+
new prox;
|
|
179
|
+
return true;
|
|
180
|
+
}
|
|
181
|
+
catch (err) {
|
|
182
|
+
return false;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
async function fromAsync(items, mapfn, thisArg) {
|
|
190
|
+
const itemsAreIterable = (asyncIteratorSymbol in items ||
|
|
191
|
+
iteratorSymbol in items);
|
|
192
|
+
if (itemsAreIterable) {
|
|
193
|
+
const result = isConstructor(this)
|
|
194
|
+
? new this
|
|
195
|
+
: IntrinsicArray(0);
|
|
196
|
+
let i = 0;
|
|
197
|
+
for await (const v of items) {
|
|
198
|
+
if (i > MAX_SAFE_INTEGER) {
|
|
199
|
+
throw TypeError(tooLongErrorMessage);
|
|
200
|
+
}
|
|
201
|
+
else if (mapfn) {
|
|
202
|
+
result[i] = await mapfn.call(thisArg, v, i);
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
result[i] = v;
|
|
206
|
+
}
|
|
207
|
+
i++;
|
|
208
|
+
}
|
|
209
|
+
result.length = i;
|
|
210
|
+
return result;
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
// In this case, the items are assumed to be an arraylike object with
|
|
214
|
+
// a length property and integer properties for each element.
|
|
215
|
+
const { length } = items;
|
|
216
|
+
const result = isConstructor(this)
|
|
217
|
+
? new this(length)
|
|
218
|
+
: IntrinsicArray(length);
|
|
219
|
+
let i = 0;
|
|
220
|
+
while (i < length) {
|
|
221
|
+
if (i > MAX_SAFE_INTEGER) {
|
|
222
|
+
throw TypeError(tooLongErrorMessage);
|
|
223
|
+
}
|
|
224
|
+
const v = await items[i];
|
|
225
|
+
if (mapfn) {
|
|
226
|
+
result[i] = await mapfn.call(thisArg, v, i);
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
result[i] = v;
|
|
230
|
+
}
|
|
231
|
+
i++;
|
|
232
|
+
}
|
|
233
|
+
result.length = i;
|
|
234
|
+
return result;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
if (!Array.fromAsync) {
|
|
238
|
+
Array.fromAsync = fromAsync;
|
|
239
|
+
}
|
|
240
|
+
// https://github.com/tc39/proposal-promise-with-resolvers/blob/3a78801e073e99217dbeb2c43ba7212f3bdc8b83/polyfills.js#L1C1-L9C2
|
|
241
|
+
if (Promise.withResolvers === undefined) {
|
|
242
|
+
Promise.withResolvers = () => {
|
|
243
|
+
const out = {};
|
|
244
|
+
out.promise = new Promise((resolve_, reject_) => {
|
|
245
|
+
out.resolve = resolve_;
|
|
246
|
+
out.reject = reject_;
|
|
247
|
+
});
|
|
248
|
+
return out;
|
|
249
|
+
};
|
|
250
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_dnt.shims.d.ts","sourceRoot":"","sources":["../src/_dnt.shims.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,gCAA2C,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dntGlobalThis = void 0;
|
|
4
|
+
const dntGlobals = {};
|
|
5
|
+
exports.dntGlobalThis = createMergeProxy(globalThis, dntGlobals);
|
|
6
|
+
function createMergeProxy(baseObj, extObj) {
|
|
7
|
+
return new Proxy(baseObj, {
|
|
8
|
+
get(_target, prop, _receiver) {
|
|
9
|
+
if (prop in extObj) {
|
|
10
|
+
return extObj[prop];
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
return baseObj[prop];
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
set(_target, prop, value) {
|
|
17
|
+
if (prop in extObj) {
|
|
18
|
+
delete extObj[prop];
|
|
19
|
+
}
|
|
20
|
+
baseObj[prop] = value;
|
|
21
|
+
return true;
|
|
22
|
+
},
|
|
23
|
+
deleteProperty(_target, prop) {
|
|
24
|
+
let success = false;
|
|
25
|
+
if (prop in extObj) {
|
|
26
|
+
delete extObj[prop];
|
|
27
|
+
success = true;
|
|
28
|
+
}
|
|
29
|
+
if (prop in baseObj) {
|
|
30
|
+
delete baseObj[prop];
|
|
31
|
+
success = true;
|
|
32
|
+
}
|
|
33
|
+
return success;
|
|
34
|
+
},
|
|
35
|
+
ownKeys(_target) {
|
|
36
|
+
const baseKeys = Reflect.ownKeys(baseObj);
|
|
37
|
+
const extKeys = Reflect.ownKeys(extObj);
|
|
38
|
+
const extKeysSet = new Set(extKeys);
|
|
39
|
+
return [...baseKeys.filter((k) => !extKeysSet.has(k)), ...extKeys];
|
|
40
|
+
},
|
|
41
|
+
defineProperty(_target, prop, desc) {
|
|
42
|
+
if (prop in extObj) {
|
|
43
|
+
delete extObj[prop];
|
|
44
|
+
}
|
|
45
|
+
Reflect.defineProperty(baseObj, prop, desc);
|
|
46
|
+
return true;
|
|
47
|
+
},
|
|
48
|
+
getOwnPropertyDescriptor(_target, prop) {
|
|
49
|
+
if (prop in extObj) {
|
|
50
|
+
return Reflect.getOwnPropertyDescriptor(extObj, prop);
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
return Reflect.getOwnPropertyDescriptor(baseObj, prop);
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
has(_target, prop) {
|
|
57
|
+
return prop in extObj || prop in baseObj;
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
package/script/context.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StoreContext = void 0;
|
|
4
4
|
exports.useStore = useStore;
|
|
5
5
|
const effection_1 = require("effection");
|
|
6
|
-
const
|
|
6
|
+
const mod_js_1 = require("./deps/jsr.io/@std/path/1.0.6/mod.js");
|
|
7
7
|
const jsonl_js_1 = require("./jsonl.js");
|
|
8
8
|
const DEFAULT_STORE = jsonl_js_1.JSONLStore.from({
|
|
9
|
-
location: (0,
|
|
9
|
+
location: (0, mod_js_1.join)(globalThis[Symbol.for("import-meta-ponyfill-commonjs")](require, module).dirname ?? Deno.cwd(), ".store"),
|
|
10
10
|
});
|
|
11
11
|
exports.StoreContext = (0, effection_1.createContext)("store", DEFAULT_STORE);
|
|
12
12
|
function* useStore() {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Proxy type of {@code Uint8Array<ArrayBuffer} or {@code Uint8Array} in TypeScript 5.7 or below respectively.
|
|
3
|
+
*
|
|
4
|
+
* This type is internal utility type and should not be used directly.
|
|
5
|
+
*
|
|
6
|
+
* @internal @private
|
|
7
|
+
*/
|
|
8
|
+
export type Uint8Array_ = ReturnType<Uint8Array["slice"]>;
|
|
9
|
+
//# sourceMappingURL=_types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.6/_types.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Uint8Array_ } from "./_types.js";
|
|
2
|
+
export type { Uint8Array_ };
|
|
3
|
+
/**
|
|
4
|
+
* Concatenate an array of byte slices into a single slice.
|
|
5
|
+
*
|
|
6
|
+
* @param buffers Array of byte slices to concatenate.
|
|
7
|
+
* @returns A new byte slice containing all the input slices concatenated.
|
|
8
|
+
*
|
|
9
|
+
* @example Basic usage
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { concat } from "@std/bytes/concat";
|
|
12
|
+
* import { assertEquals } from "@std/assert";
|
|
13
|
+
*
|
|
14
|
+
* const a = new Uint8Array([0, 1, 2]);
|
|
15
|
+
* const b = new Uint8Array([3, 4, 5]);
|
|
16
|
+
*
|
|
17
|
+
* assertEquals(concat([a, b]), new Uint8Array([0, 1, 2, 3, 4, 5]));
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function concat(buffers: readonly Uint8Array[]): Uint8Array_;
|
|
21
|
+
//# sourceMappingURL=concat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.6/concat.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,SAAS,UAAU,EAAE,GAAG,WAAW,CAalE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.concat = concat;
|
|
6
|
+
/**
|
|
7
|
+
* Concatenate an array of byte slices into a single slice.
|
|
8
|
+
*
|
|
9
|
+
* @param buffers Array of byte slices to concatenate.
|
|
10
|
+
* @returns A new byte slice containing all the input slices concatenated.
|
|
11
|
+
*
|
|
12
|
+
* @example Basic usage
|
|
13
|
+
* ```ts
|
|
14
|
+
* import { concat } from "@std/bytes/concat";
|
|
15
|
+
* import { assertEquals } from "@std/assert";
|
|
16
|
+
*
|
|
17
|
+
* const a = new Uint8Array([0, 1, 2]);
|
|
18
|
+
* const b = new Uint8Array([3, 4, 5]);
|
|
19
|
+
*
|
|
20
|
+
* assertEquals(concat([a, b]), new Uint8Array([0, 1, 2, 3, 4, 5]));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function concat(buffers) {
|
|
24
|
+
let length = 0;
|
|
25
|
+
for (const buffer of buffers) {
|
|
26
|
+
length += buffer.length;
|
|
27
|
+
}
|
|
28
|
+
const output = new Uint8Array(length);
|
|
29
|
+
let index = 0;
|
|
30
|
+
for (const buffer of buffers) {
|
|
31
|
+
output.set(buffer, index);
|
|
32
|
+
index += buffer.length;
|
|
33
|
+
}
|
|
34
|
+
return output;
|
|
35
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copy bytes from the source array to the destination array and returns the
|
|
3
|
+
* number of bytes copied.
|
|
4
|
+
*
|
|
5
|
+
* If the source array is larger than what the `dst` array can hold, only the
|
|
6
|
+
* amount of bytes that fit in the `dst` array are copied.
|
|
7
|
+
*
|
|
8
|
+
* @param src Source array to copy from.
|
|
9
|
+
* @param dst Destination array to copy to.
|
|
10
|
+
* @param offset Offset in the destination array to start copying to. Defaults
|
|
11
|
+
* to 0.
|
|
12
|
+
* @returns Number of bytes copied.
|
|
13
|
+
*
|
|
14
|
+
* @example Basic usage
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { copy } from "@std/bytes/copy";
|
|
17
|
+
* import { assertEquals } from "@std/assert";
|
|
18
|
+
*
|
|
19
|
+
* const src = new Uint8Array([9, 8, 7]);
|
|
20
|
+
* const dst = new Uint8Array([0, 1, 2, 3, 4, 5]);
|
|
21
|
+
*
|
|
22
|
+
* assertEquals(copy(src, dst), 3);
|
|
23
|
+
* assertEquals(dst, new Uint8Array([9, 8, 7, 3, 4, 5]));
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @example Copy with offset
|
|
27
|
+
* ```ts
|
|
28
|
+
* import { copy } from "@std/bytes/copy";
|
|
29
|
+
* import { assertEquals } from "@std/assert";
|
|
30
|
+
*
|
|
31
|
+
* const src = new Uint8Array([1, 1, 1, 1]);
|
|
32
|
+
* const dst = new Uint8Array([0, 0, 0, 0]);
|
|
33
|
+
*
|
|
34
|
+
* assertEquals(copy(src, dst, 1), 3);
|
|
35
|
+
* assertEquals(dst, new Uint8Array([0, 1, 1, 1]));
|
|
36
|
+
* ```
|
|
37
|
+
* Defining an offset will start copying at the specified index in the
|
|
38
|
+
* destination array.
|
|
39
|
+
*/
|
|
40
|
+
export declare function copy(src: Uint8Array, dst: Uint8Array, offset?: number): number;
|
|
41
|
+
//# sourceMappingURL=copy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.6/copy.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,SAAI,GAAG,MAAM,CAQzE"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.copy = copy;
|
|
6
|
+
/**
|
|
7
|
+
* Copy bytes from the source array to the destination array and returns the
|
|
8
|
+
* number of bytes copied.
|
|
9
|
+
*
|
|
10
|
+
* If the source array is larger than what the `dst` array can hold, only the
|
|
11
|
+
* amount of bytes that fit in the `dst` array are copied.
|
|
12
|
+
*
|
|
13
|
+
* @param src Source array to copy from.
|
|
14
|
+
* @param dst Destination array to copy to.
|
|
15
|
+
* @param offset Offset in the destination array to start copying to. Defaults
|
|
16
|
+
* to 0.
|
|
17
|
+
* @returns Number of bytes copied.
|
|
18
|
+
*
|
|
19
|
+
* @example Basic usage
|
|
20
|
+
* ```ts
|
|
21
|
+
* import { copy } from "@std/bytes/copy";
|
|
22
|
+
* import { assertEquals } from "@std/assert";
|
|
23
|
+
*
|
|
24
|
+
* const src = new Uint8Array([9, 8, 7]);
|
|
25
|
+
* const dst = new Uint8Array([0, 1, 2, 3, 4, 5]);
|
|
26
|
+
*
|
|
27
|
+
* assertEquals(copy(src, dst), 3);
|
|
28
|
+
* assertEquals(dst, new Uint8Array([9, 8, 7, 3, 4, 5]));
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @example Copy with offset
|
|
32
|
+
* ```ts
|
|
33
|
+
* import { copy } from "@std/bytes/copy";
|
|
34
|
+
* import { assertEquals } from "@std/assert";
|
|
35
|
+
*
|
|
36
|
+
* const src = new Uint8Array([1, 1, 1, 1]);
|
|
37
|
+
* const dst = new Uint8Array([0, 0, 0, 0]);
|
|
38
|
+
*
|
|
39
|
+
* assertEquals(copy(src, dst, 1), 3);
|
|
40
|
+
* assertEquals(dst, new Uint8Array([0, 1, 1, 1]));
|
|
41
|
+
* ```
|
|
42
|
+
* Defining an offset will start copying at the specified index in the
|
|
43
|
+
* destination array.
|
|
44
|
+
*/
|
|
45
|
+
function copy(src, dst, offset = 0) {
|
|
46
|
+
offset = Math.max(0, Math.min(offset, dst.byteLength));
|
|
47
|
+
const dstBytesAvailable = dst.byteLength - offset;
|
|
48
|
+
if (src.byteLength > dstBytesAvailable) {
|
|
49
|
+
src = src.subarray(0, dstBytesAvailable);
|
|
50
|
+
}
|
|
51
|
+
dst.set(src, offset);
|
|
52
|
+
return src.byteLength;
|
|
53
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Walk entry for {@linkcode walk}, {@linkcode walkSync},
|
|
3
|
+
* {@linkcode expandGlob} and {@linkcode expandGlobSync}.
|
|
4
|
+
*/
|
|
5
|
+
export interface WalkEntry extends Deno.DirEntry {
|
|
6
|
+
/** Full path of the entry. */
|
|
7
|
+
path: string;
|
|
8
|
+
}
|
|
9
|
+
/** Create {@linkcode WalkEntry} for the `path` synchronously. */
|
|
10
|
+
export declare function createWalkEntrySync(path: string | URL): WalkEntry;
|
|
11
|
+
/** Create {@linkcode WalkEntry} for the `path` asynchronously. */
|
|
12
|
+
export declare function createWalkEntry(path: string | URL): Promise<WalkEntry>;
|
|
13
|
+
//# sourceMappingURL=_create_walk_entry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_create_walk_entry.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/_create_walk_entry.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ;IAC9C,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,iEAAiE;AACjE,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAYjE;AAED,kEAAkE;AAClE,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,SAAS,CAAC,CAY5E"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// Copyright the Browserify authors. MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.createWalkEntrySync = createWalkEntrySync;
|
|
6
|
+
exports.createWalkEntry = createWalkEntry;
|
|
7
|
+
const basename_js_1 = require("../../path/1.0.6/basename.js");
|
|
8
|
+
const normalize_js_1 = require("../../path/1.0.6/normalize.js");
|
|
9
|
+
const _to_path_string_js_1 = require("./_to_path_string.js");
|
|
10
|
+
/** Create {@linkcode WalkEntry} for the `path` synchronously. */
|
|
11
|
+
function createWalkEntrySync(path) {
|
|
12
|
+
path = (0, _to_path_string_js_1.toPathString)(path);
|
|
13
|
+
path = (0, normalize_js_1.normalize)(path);
|
|
14
|
+
const name = (0, basename_js_1.basename)(path);
|
|
15
|
+
const info = Deno.statSync(path);
|
|
16
|
+
return {
|
|
17
|
+
path,
|
|
18
|
+
name,
|
|
19
|
+
isFile: info.isFile,
|
|
20
|
+
isDirectory: info.isDirectory,
|
|
21
|
+
isSymlink: info.isSymlink,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/** Create {@linkcode WalkEntry} for the `path` asynchronously. */
|
|
25
|
+
async function createWalkEntry(path) {
|
|
26
|
+
path = (0, _to_path_string_js_1.toPathString)(path);
|
|
27
|
+
path = (0, normalize_js_1.normalize)(path);
|
|
28
|
+
const name = (0, basename_js_1.basename)(path);
|
|
29
|
+
const info = await Deno.stat(path);
|
|
30
|
+
return {
|
|
31
|
+
path,
|
|
32
|
+
name,
|
|
33
|
+
isFile: info.isFile,
|
|
34
|
+
isDirectory: info.isDirectory,
|
|
35
|
+
isSymlink: info.isSymlink,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type PathType = "file" | "dir" | "symlink";
|
|
2
|
+
/**
|
|
3
|
+
* Get a human readable file type string.
|
|
4
|
+
*
|
|
5
|
+
* @param file File information, as returned by {@linkcode Deno.stat} or
|
|
6
|
+
* {@linkcode Deno.lstat}.
|
|
7
|
+
*
|
|
8
|
+
* @returns The file type as a string, or `undefined` if the file type is
|
|
9
|
+
* unknown.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getFileInfoType(fileInfo: Deno.FileInfo): PathType | undefined;
|
|
12
|
+
//# sourceMappingURL=_get_file_info_type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_get_file_info_type.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/_get_file_info_type.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;AAElD;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAQ7E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// Copyright the Browserify authors. MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getFileInfoType = getFileInfoType;
|
|
6
|
+
/**
|
|
7
|
+
* Get a human readable file type string.
|
|
8
|
+
*
|
|
9
|
+
* @param file File information, as returned by {@linkcode Deno.stat} or
|
|
10
|
+
* {@linkcode Deno.lstat}.
|
|
11
|
+
*
|
|
12
|
+
* @returns The file type as a string, or `undefined` if the file type is
|
|
13
|
+
* unknown.
|
|
14
|
+
*/
|
|
15
|
+
function getFileInfoType(fileInfo) {
|
|
16
|
+
return fileInfo.isFile
|
|
17
|
+
? "file"
|
|
18
|
+
: fileInfo.isDirectory
|
|
19
|
+
? "dir"
|
|
20
|
+
: fileInfo.isSymlink
|
|
21
|
+
? "symlink"
|
|
22
|
+
: undefined;
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if two paths are the same.
|
|
3
|
+
*
|
|
4
|
+
* @param src Source file path as a string or URL.
|
|
5
|
+
* @param dest Destination file path as a string or URL.
|
|
6
|
+
*
|
|
7
|
+
* @returns `true` if the paths are the same, `false` otherwise.
|
|
8
|
+
*/
|
|
9
|
+
export declare function isSamePath(src: string | URL, dest: string | URL): boolean;
|
|
10
|
+
//# sourceMappingURL=_is_same_path.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_is_same_path.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/_is_same_path.ts"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,EAAE,MAAM,GAAG,GAAG,GACjB,OAAO,CAKT"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// Copyright the Browserify authors. MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.isSamePath = isSamePath;
|
|
6
|
+
const resolve_js_1 = require("../../path/1.0.6/resolve.js");
|
|
7
|
+
const _to_path_string_js_1 = require("./_to_path_string.js");
|
|
8
|
+
/**
|
|
9
|
+
* Checks if two paths are the same.
|
|
10
|
+
*
|
|
11
|
+
* @param src Source file path as a string or URL.
|
|
12
|
+
* @param dest Destination file path as a string or URL.
|
|
13
|
+
*
|
|
14
|
+
* @returns `true` if the paths are the same, `false` otherwise.
|
|
15
|
+
*/
|
|
16
|
+
function isSamePath(src, dest) {
|
|
17
|
+
src = (0, _to_path_string_js_1.toPathString)(src);
|
|
18
|
+
dest = (0, _to_path_string_js_1.toPathString)(dest);
|
|
19
|
+
return (0, resolve_js_1.resolve)(src) === (0, resolve_js_1.resolve)(dest);
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks whether `src` is a sub-directory of `dest`.
|
|
3
|
+
*
|
|
4
|
+
* @param src Source file path as a string or URL.
|
|
5
|
+
* @param dest Destination file path as a string or URL.
|
|
6
|
+
* @param sep Path separator. Defaults to `\\` for Windows and `/` for other
|
|
7
|
+
* platforms.
|
|
8
|
+
*
|
|
9
|
+
* @returns `true` if `src` is a sub-directory of `dest`, `false` otherwise.
|
|
10
|
+
*/
|
|
11
|
+
export declare function isSubdir(src: string | URL, dest: string | URL, sep?: "/" | "\\"): boolean;
|
|
12
|
+
//# sourceMappingURL=_is_subdir.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_is_subdir.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/fs/1.0.4/_is_subdir.ts"],"names":[],"mappings":"AAOA;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CACtB,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,EAAE,MAAM,GAAG,GAAG,EAClB,GAAG,aAAY,GACd,OAAO,CAYT"}
|