@effectionx/jsonl-store 0.1.2 → 0.3.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/README.md +4 -4
- 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.d.ts.map +1 -1
- package/esm/context.js +3 -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.20/_create_walk_entry.d.ts +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +33 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +12 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +20 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +10 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +17 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +12 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +25 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +9 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +117 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/copy.js +312 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +48 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +86 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +101 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +47 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +89 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +49 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +60 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +70 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +155 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +52 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/eol.js +67 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +219 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +269 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +267 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +439 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/mod.js +29 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts +86 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/move.js +141 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +777 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.20/walk.js +845 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +12 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +5 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts +4 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/_common.js +11 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +70 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +196 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts +23 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/mod.js +23 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +53 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.js +66 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +95 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +88 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts +5 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/json/1.0.2/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts +27 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/basename.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/dirname.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/extname.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +77 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts +213 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +216 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +26 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +39 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.js +52 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +64 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +37 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.js +93 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +31 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.js +45 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +37 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +58 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.js +47 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +113 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +19 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +135 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +5 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/_common.js +27 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +300 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.js +411 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +44 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +85 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +27 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +48 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +66 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +291 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +83 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +102 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +101 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +122 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +84 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +106 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +38 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +69 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +35 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/mod.js +35 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +58 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +123 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +72 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +107 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +22 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +35 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +22 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.js +25 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +38 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.js +42 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +29 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.js +45 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +61 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +103 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +76 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +102 -0
- package/esm/jsonl.d.ts +2 -2
- package/esm/jsonl.d.ts.map +1 -1
- package/esm/jsonl.js +23 -35
- 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.d.ts.map +1 -1
- package/script/context.js +6 -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.20/_create_walk_entry.d.ts +13 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +37 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +12 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +23 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +10 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +20 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +12 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +28 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +9 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +16 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +117 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/copy.js +316 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +48 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +90 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +49 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +105 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +47 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +93 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +49 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +64 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +70 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +159 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +52 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/eol.js +105 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +219 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +273 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +267 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +443 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +29 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/mod.js +45 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts +86 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/move.js +145 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +777 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.20/walk.js +849 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +48 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/os.js +8 -0
- package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts +4 -0
- package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.2/_common.js +14 -0
- package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +70 -0
- package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +200 -0
- package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts +23 -0
- package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.2/mod.js +39 -0
- package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +53 -0
- package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.js +70 -0
- package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +95 -0
- package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +92 -0
- package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts +5 -0
- package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/json/1.0.2/types.js +4 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +10 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.js +45 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/common.js +26 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.js +49 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +11 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/format.js +23 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +12 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +237 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +11 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +80 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.js +12 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +18 -0
- package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts +27 -0
- package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/basename.js +38 -0
- package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/common.js +36 -0
- package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/constants.js +20 -0
- package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/dirname.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/extname.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/format.js +30 -0
- package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +77 -0
- package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +86 -0
- package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/is_glob.js +45 -0
- package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/join_globs.js +37 -0
- package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts +213 -0
- package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/mod.js +232 -0
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +26 -0
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +35 -0
- package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +29 -0
- package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +38 -0
- package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/parse.js +42 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.js +11 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +39 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.js +55 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +30 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +67 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +37 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.js +96 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +24 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +72 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +26 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.js +48 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +43 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +37 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +61 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +35 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.js +118 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.js +109 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +95 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +30 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +23 -0
- package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/relative.js +33 -0
- package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/resolve.js +33 -0
- package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +32 -0
- package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts +38 -0
- package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/types.js +4 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.js +20 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.js +50 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +116 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.js +85 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +33 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +71 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +41 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.js +80 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +44 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +19 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +138 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +35 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.js +179 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.js +134 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +190 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +37 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +52 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +5 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/_common.js +31 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +300 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/buffer.js +415 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +44 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +89 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +27 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +51 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +66 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +295 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +83 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +105 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +101 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +126 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +84 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +110 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +38 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +72 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +35 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/mod.js +51 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +58 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +127 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +72 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +111 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +22 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +38 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +22 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.js +28 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +38 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_json.js +45 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +29 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_text.js +48 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +61 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +106 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +76 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +105 -0
- package/script/jsonl.d.ts +2 -2
- package/script/jsonl.d.ts.map +1 -1
- package/script/jsonl.js +62 -41
- package/script/mod.d.ts +1 -0
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -0
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
/** Options for {@linkcode Buffer.bytes}. */
|
|
2
|
+
export interface BufferBytesOptions {
|
|
3
|
+
/**
|
|
4
|
+
* If true, {@linkcode Buffer.bytes} will return a copy of the buffered data.
|
|
5
|
+
*
|
|
6
|
+
* If false, it will return a slice to the buffer's data.
|
|
7
|
+
*
|
|
8
|
+
* @default {true}
|
|
9
|
+
*/
|
|
10
|
+
copy?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A variable-sized buffer of bytes with `readable` and `writable` getters that
|
|
14
|
+
* allows you to work with {@link https://developer.mozilla.org/en-US/docs/Web/API/Streams_API | Web Streams API}.
|
|
15
|
+
*
|
|
16
|
+
* Buffer is almost always used with some I/O like files and sockets. It allows
|
|
17
|
+
* one to buffer up a download from a socket. Buffer grows and shrinks as
|
|
18
|
+
* necessary.
|
|
19
|
+
*
|
|
20
|
+
* Buffer is NOT the same thing as Node's Buffer. Node's Buffer was created in
|
|
21
|
+
* 2009 before JavaScript had the concept of ArrayBuffers. It's simply a
|
|
22
|
+
* non-standard ArrayBuffer.
|
|
23
|
+
*
|
|
24
|
+
* ArrayBuffer is a fixed memory allocation. Buffer is implemented on top of
|
|
25
|
+
* ArrayBuffer.
|
|
26
|
+
*
|
|
27
|
+
* Based on {@link https://golang.org/pkg/bytes/#Buffer | Go Buffer}.
|
|
28
|
+
*
|
|
29
|
+
* @example Buffer input bytes and convert it to a string
|
|
30
|
+
* ```ts
|
|
31
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
32
|
+
* import { toText } from "@std/streams/to-text";
|
|
33
|
+
* import { assert } from "@std/assert";
|
|
34
|
+
* import { assertEquals } from "@std/assert";
|
|
35
|
+
*
|
|
36
|
+
* // Create a new buffer
|
|
37
|
+
* const buf = new Buffer();
|
|
38
|
+
* assertEquals(buf.capacity, 0);
|
|
39
|
+
* assertEquals(buf.length, 0);
|
|
40
|
+
*
|
|
41
|
+
* // Dummy input stream
|
|
42
|
+
* const inputStream = ReadableStream.from([
|
|
43
|
+
* "hello, ",
|
|
44
|
+
* "world",
|
|
45
|
+
* "!",
|
|
46
|
+
* ]);
|
|
47
|
+
*
|
|
48
|
+
* // Pipe the input stream to the buffer
|
|
49
|
+
* await inputStream.pipeThrough(new TextEncoderStream()).pipeTo(buf.writable);
|
|
50
|
+
* assert(buf.capacity > 0);
|
|
51
|
+
* assert(buf.length > 0);
|
|
52
|
+
*
|
|
53
|
+
* // Convert the buffered bytes to a string
|
|
54
|
+
* const result = await toText(buf.readable);
|
|
55
|
+
* assertEquals(result, "hello, world!");
|
|
56
|
+
* assert(buf.empty());
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare class Buffer {
|
|
60
|
+
#private;
|
|
61
|
+
/**
|
|
62
|
+
* Getter returning the instance's {@linkcode ReadableStream}.
|
|
63
|
+
*
|
|
64
|
+
* @returns A `ReadableStream` of the buffer.
|
|
65
|
+
*
|
|
66
|
+
* @example Read the content out of the buffer to stdout
|
|
67
|
+
* ```ts ignore
|
|
68
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
69
|
+
*
|
|
70
|
+
* const buf = new Buffer();
|
|
71
|
+
* await buf.readable.pipeTo(Deno.stdout.writable);
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
get readable(): ReadableStream<Uint8Array>;
|
|
75
|
+
/**
|
|
76
|
+
* Getter returning the instance's {@linkcode WritableStream}.
|
|
77
|
+
*
|
|
78
|
+
* @returns A `WritableStream` of the buffer.
|
|
79
|
+
*
|
|
80
|
+
* @example Write the data from stdin to the buffer
|
|
81
|
+
* ```ts ignore
|
|
82
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
83
|
+
*
|
|
84
|
+
* const buf = new Buffer();
|
|
85
|
+
* await Deno.stdin.readable.pipeTo(buf.writable);
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
get writable(): WritableStream<Uint8Array>;
|
|
89
|
+
/**
|
|
90
|
+
* Constructs a new instance.
|
|
91
|
+
*
|
|
92
|
+
* @param ab An optional buffer to use as the initial buffer.
|
|
93
|
+
*/
|
|
94
|
+
constructor(ab?: ArrayBufferLike | ArrayLike<number>);
|
|
95
|
+
/**
|
|
96
|
+
* Returns a slice holding the unread portion of the buffer.
|
|
97
|
+
*
|
|
98
|
+
* The slice is valid for use only until the next buffer modification (that
|
|
99
|
+
* is, only until the next call to a method that mutates or consumes the
|
|
100
|
+
* buffer, like reading data out via `readable`, `reset()`, or `truncate()`).
|
|
101
|
+
*
|
|
102
|
+
* If `options.copy` is false the slice aliases the buffer content at least
|
|
103
|
+
* until the next buffer modification, so immediate changes to the slice will
|
|
104
|
+
* affect the result of future reads. If `options` is not provided,
|
|
105
|
+
* `options.copy` defaults to `true`.
|
|
106
|
+
*
|
|
107
|
+
* @param options Options for the bytes method.
|
|
108
|
+
* @returns A copy or a slice of the buffer.
|
|
109
|
+
*
|
|
110
|
+
* @example Copy the buffer
|
|
111
|
+
* ```ts
|
|
112
|
+
* import { assertEquals } from "@std/assert";
|
|
113
|
+
* import { assertNotEquals } from "@std/assert";
|
|
114
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
115
|
+
*
|
|
116
|
+
* const array = new Uint8Array([0, 1, 2]);
|
|
117
|
+
* const buf = new Buffer(array.buffer);
|
|
118
|
+
* const copied = buf.bytes();
|
|
119
|
+
* assertEquals(copied.length, array.length);
|
|
120
|
+
*
|
|
121
|
+
* // Modify an element in the original array
|
|
122
|
+
* array[1] = 99;
|
|
123
|
+
* assertEquals(copied[0], array[0]);
|
|
124
|
+
* // The copied buffer is not affected by the modification
|
|
125
|
+
* assertNotEquals(copied[1], array[1]);
|
|
126
|
+
* assertEquals(copied[2], array[2]);
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @example Get a slice to the buffer
|
|
130
|
+
* ```ts
|
|
131
|
+
* import { assertEquals } from "@std/assert";
|
|
132
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
133
|
+
*
|
|
134
|
+
* const array = new Uint8Array([0, 1, 2]);
|
|
135
|
+
* const buf = new Buffer(array.buffer);
|
|
136
|
+
* const slice = buf.bytes({ copy: false });
|
|
137
|
+
* assertEquals(slice.length, array.length);
|
|
138
|
+
*
|
|
139
|
+
* // Modify an element in the original array
|
|
140
|
+
* array[1] = 99;
|
|
141
|
+
* assertEquals(slice[0], array[0]);
|
|
142
|
+
* // The slice _is_ affected by the modification
|
|
143
|
+
* assertEquals(slice[1], array[1]);
|
|
144
|
+
* assertEquals(slice[2], array[2]);
|
|
145
|
+
* ```
|
|
146
|
+
*/
|
|
147
|
+
bytes(options?: BufferBytesOptions): Uint8Array;
|
|
148
|
+
/**
|
|
149
|
+
* Returns whether the unread portion of the buffer is empty.
|
|
150
|
+
*
|
|
151
|
+
* @returns Whether the buffer is empty.
|
|
152
|
+
*
|
|
153
|
+
* @example Empty buffer
|
|
154
|
+
* ```ts
|
|
155
|
+
* import { assert } from "@std/assert";
|
|
156
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
157
|
+
*
|
|
158
|
+
* const buf = new Buffer();
|
|
159
|
+
* assert(buf.empty());
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @example Non-empty buffer
|
|
163
|
+
* ```ts
|
|
164
|
+
* import { assert } from "@std/assert";
|
|
165
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
166
|
+
*
|
|
167
|
+
* const array = new Uint8Array([42]);
|
|
168
|
+
* const buf = new Buffer(array.buffer);
|
|
169
|
+
* assert(!buf.empty());
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* @example Non-empty, but the content was already read
|
|
173
|
+
* ```ts ignore
|
|
174
|
+
* import { assert } from "@std/assert";
|
|
175
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
176
|
+
*
|
|
177
|
+
* const array = new Uint8Array([42]);
|
|
178
|
+
* const buf = new Buffer(array.buffer);
|
|
179
|
+
* assert(!buf.empty());
|
|
180
|
+
* // Read the content out of the buffer
|
|
181
|
+
* await buf.readable.pipeTo(Deno.stdout.writable);
|
|
182
|
+
* // The buffer is now empty
|
|
183
|
+
* assert(buf.empty());
|
|
184
|
+
* ```
|
|
185
|
+
*/
|
|
186
|
+
empty(): boolean;
|
|
187
|
+
/**
|
|
188
|
+
* A read only number of bytes of the unread portion of the buffer.
|
|
189
|
+
*
|
|
190
|
+
* @returns The number of bytes in the unread portion of the buffer.
|
|
191
|
+
*
|
|
192
|
+
* @example Basic usage
|
|
193
|
+
* ```ts
|
|
194
|
+
* import { assertEquals } from "@std/assert";
|
|
195
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
196
|
+
*
|
|
197
|
+
* const array = new Uint8Array([0, 1, 2]);
|
|
198
|
+
* const buf = new Buffer(array.buffer);
|
|
199
|
+
* assertEquals(buf.length, 3);
|
|
200
|
+
* ```
|
|
201
|
+
*
|
|
202
|
+
* @example Length becomes 0 after the content is read
|
|
203
|
+
* ```ts ignore
|
|
204
|
+
* import { assertEquals } from "@std/assert";
|
|
205
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
206
|
+
*
|
|
207
|
+
* const array = new Uint8Array([42]);
|
|
208
|
+
* const buf = new Buffer(array.buffer);
|
|
209
|
+
* assertEquals(buf.length, 1);
|
|
210
|
+
* // Read the content out of the buffer
|
|
211
|
+
* await buf.readable.pipeTo(Deno.stdout.writable);
|
|
212
|
+
* // The length is now 0
|
|
213
|
+
* assertEquals(buf.length, 0);
|
|
214
|
+
* ```
|
|
215
|
+
*/
|
|
216
|
+
get length(): number;
|
|
217
|
+
/**
|
|
218
|
+
* The read only capacity of the buffer's underlying byte slice, that is,
|
|
219
|
+
* the total space allocated for the buffer's data.
|
|
220
|
+
*
|
|
221
|
+
* @returns The number of allocated bytes for the buffer.
|
|
222
|
+
*
|
|
223
|
+
* @example Basic usage
|
|
224
|
+
* ```ts
|
|
225
|
+
* import { assertEquals } from "@std/assert";
|
|
226
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
227
|
+
*
|
|
228
|
+
* const arrayBuffer = new ArrayBuffer(256);
|
|
229
|
+
* const buf = new Buffer(arrayBuffer);
|
|
230
|
+
* assertEquals(buf.capacity, 256);
|
|
231
|
+
* ```
|
|
232
|
+
*/
|
|
233
|
+
get capacity(): number;
|
|
234
|
+
/**
|
|
235
|
+
* Discards all but the first `n` unread bytes from the buffer but
|
|
236
|
+
* continues to use the same allocated storage. It throws if `n` is
|
|
237
|
+
* negative or greater than the length of the buffer.
|
|
238
|
+
*
|
|
239
|
+
* @param n The number of bytes to keep.
|
|
240
|
+
*
|
|
241
|
+
* @example Basic usage
|
|
242
|
+
* ```ts
|
|
243
|
+
* import { assertEquals } from "@std/assert";
|
|
244
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
245
|
+
*
|
|
246
|
+
* const array = new Uint8Array([0, 1, 2]);
|
|
247
|
+
* const buf = new Buffer(array.buffer);
|
|
248
|
+
* assertEquals(buf.bytes(), array);
|
|
249
|
+
*
|
|
250
|
+
* // Discard all but the first 2 bytes
|
|
251
|
+
* buf.truncate(2);
|
|
252
|
+
* assertEquals(buf.bytes(), array.slice(0, 2));
|
|
253
|
+
* ```
|
|
254
|
+
*/
|
|
255
|
+
truncate(n: number): void;
|
|
256
|
+
/**
|
|
257
|
+
* Resets to an empty buffer.
|
|
258
|
+
*
|
|
259
|
+
* @example Basic usage
|
|
260
|
+
* ```ts
|
|
261
|
+
* import { assert } from "@std/assert";
|
|
262
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
263
|
+
*
|
|
264
|
+
* const array = new Uint8Array([0, 1, 2]);
|
|
265
|
+
* const buf = new Buffer(array.buffer);
|
|
266
|
+
* assert(!buf.empty());
|
|
267
|
+
*
|
|
268
|
+
* // Reset
|
|
269
|
+
* buf.reset();
|
|
270
|
+
* assert(buf.empty());
|
|
271
|
+
* ```
|
|
272
|
+
*/
|
|
273
|
+
reset(): void;
|
|
274
|
+
/**
|
|
275
|
+
* Grows the buffer's capacity, if necessary, to guarantee space for
|
|
276
|
+
* another `n` bytes. After `.grow(n)`, at least `n` bytes can be written to
|
|
277
|
+
* the buffer without another allocation. If `n` is negative, `.grow()` will
|
|
278
|
+
* throw. If the buffer can't grow it will throw an error.
|
|
279
|
+
*
|
|
280
|
+
* @param n The number of bytes to grow the buffer by.
|
|
281
|
+
*
|
|
282
|
+
* Based on Go Lang's
|
|
283
|
+
* {@link https://golang.org/pkg/bytes/#Buffer.Grow | Buffer.Grow}.
|
|
284
|
+
*
|
|
285
|
+
* @example Basic usage
|
|
286
|
+
* ```ts
|
|
287
|
+
* import { assert } from "@std/assert";
|
|
288
|
+
* import { assertEquals } from "@std/assert";
|
|
289
|
+
* import { Buffer } from "@std/streams/buffer";
|
|
290
|
+
*
|
|
291
|
+
* const buf = new Buffer();
|
|
292
|
+
* assertEquals(buf.capacity, 0);
|
|
293
|
+
*
|
|
294
|
+
* buf.grow(200);
|
|
295
|
+
* assert(buf.capacity >= 200);
|
|
296
|
+
* ```
|
|
297
|
+
*/
|
|
298
|
+
grow(n: number): void;
|
|
299
|
+
}
|
|
300
|
+
//# sourceMappingURL=buffer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buffer.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/buffer.ts"],"names":[],"mappings":"AAQA,4CAA4C;AAC5C,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,qBAAa,MAAM;;IAqBjB;;;;;;;;;;;;OAYG;IACH,IAAI,QAAQ,IAAI,cAAc,CAAC,UAAU,CAAC,CAEzC;IASD;;;;;;;;;;;;OAYG;IACH,IAAI,QAAQ,IAAI,cAAc,CAAC,UAAU,CAAC,CAEzC;IAED;;;;OAIG;gBACS,EAAE,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC,MAAM,CAAC;IAQpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,KAAK,CAAC,OAAO,GAAE,kBAAmC,GAAG,UAAU;IAK/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,KAAK,IAAI,OAAO;IAIhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;;;;;;;;;;;;;;OAeG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAazB;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK;IAoDL;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,IAAI,CAAC,CAAC,EAAE,MAAM;CASf"}
|