@effectionx/jsonl-store 0.3.0 → 0.4.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/context.test.ts +10 -0
- package/context.ts +18 -0
- package/{esm → dist}/context.d.ts +1 -1
- package/dist/context.d.ts.map +1 -0
- package/{esm → dist}/context.js +2 -2
- package/dist/fs-helpers.d.ts +41 -0
- package/dist/fs-helpers.d.ts.map +1 -0
- package/dist/fs-helpers.js +94 -0
- package/{script → dist}/jsonl.d.ts +1 -1
- package/dist/jsonl.d.ts.map +1 -0
- package/{esm → dist}/jsonl.js +16 -21
- package/dist/mod.d.ts +4 -0
- package/dist/mod.d.ts.map +1 -0
- package/{esm → dist}/mod.js +0 -1
- package/dist/stream-helpers.d.ts +14 -0
- package/dist/stream-helpers.d.ts.map +1 -0
- package/dist/stream-helpers.js +44 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types.d.ts.map +1 -0
- package/fs-helpers.ts +129 -0
- package/jsonl.test.ts +135 -0
- package/jsonl.ts +254 -0
- package/mod.ts +3 -0
- package/package.json +19 -17
- package/stream-helpers.ts +45 -0
- package/tsconfig.json +14 -0
- package/types.ts +15 -0
- package/esm/_dnt.polyfills.d.ts +0 -120
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.polyfills.js +0 -247
- package/esm/_dnt.shims.d.ts +0 -2
- package/esm/_dnt.shims.d.ts.map +0 -1
- package/esm/_dnt.shims.js +0 -57
- package/esm/context.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -2
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -32
- package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +0 -41
- package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.6/copy.js +0 -50
- package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +0 -13
- package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +0 -33
- package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +0 -12
- package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +0 -20
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +0 -10
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +0 -17
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +0 -12
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +0 -25
- package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +0 -9
- package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +0 -13
- package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +0 -117
- package/esm/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/copy.js +0 -312
- package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +0 -48
- package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +0 -86
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +0 -49
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +0 -101
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +0 -47
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +0 -89
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +0 -49
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +0 -60
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +0 -70
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +0 -155
- package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +0 -52
- package/esm/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/eol.js +0 -67
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +0 -219
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -269
- package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +0 -267
- package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +0 -439
- package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +0 -29
- package/esm/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/mod.js +0 -29
- package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts +0 -86
- package/esm/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/move.js +0 -141
- package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +0 -777
- package/esm/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/walk.js +0 -845
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
- package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts +0 -4
- package/esm/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/json/1.0.2/_common.js +0 -11
- package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +0 -70
- package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +0 -196
- package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts +0 -23
- package/esm/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/json/1.0.2/mod.js +0 -23
- package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +0 -53
- package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/json/1.0.2/parse_stream.js +0 -66
- package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +0 -95
- package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +0 -88
- package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts +0 -5
- package/esm/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/json/1.0.2/types.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +0 -7
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +0 -4
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/basename.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/common.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.js +0 -46
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +0 -4
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/format.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +0 -234
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/relative.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/basename.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/common.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/constants.js +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/dirname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/extname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/format.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/from_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +0 -83
- package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/is_absolute.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/is_glob.js +0 -42
- package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/join.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/join_globs.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +0 -216
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +0 -26
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/parse.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +0 -39
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/basename.js +0 -52
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +0 -13
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +0 -64
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +0 -37
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/extname.js +0 -93
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +0 -16
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +0 -72
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +0 -31
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.js +0 -45
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +0 -37
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +0 -58
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +0 -25
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/parse.js +0 -115
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/relative.js +0 -106
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +0 -59
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +0 -16
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/relative.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/resolve.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/to_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts +0 -38
- package/esm/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/types.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +0 -4
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/basename.js +0 -47
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +0 -13
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +0 -113
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/extname.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +0 -18
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +0 -71
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +0 -38
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +0 -41
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +0 -135
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +0 -25
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/parse.js +0 -176
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/relative.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +0 -154
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +0 -49
- package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +0 -5
- package/esm/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/_common.js +0 -27
- package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +0 -300
- package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/buffer.js +0 -411
- package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +0 -44
- package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +0 -85
- package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +0 -27
- package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +0 -48
- package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +0 -66
- package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +0 -291
- package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +0 -83
- package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +0 -102
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +0 -101
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +0 -122
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +0 -84
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +0 -106
- package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +0 -38
- package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +0 -69
- package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +0 -35
- package/esm/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/mod.js +0 -35
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +0 -58
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +0 -123
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +0 -72
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +0 -107
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +0 -22
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +0 -35
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +0 -22
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_blob.js +0 -25
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +0 -38
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_json.js +0 -42
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +0 -29
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_text.js +0 -45
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +0 -61
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +0 -103
- package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +0 -76
- package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +0 -102
- package/esm/jsonl.d.ts +0 -102
- package/esm/jsonl.d.ts.map +0 -1
- package/esm/mod.d.ts +0 -5
- package/esm/mod.d.ts.map +0 -1
- package/esm/package.json +0 -3
- package/esm/types.d.ts.map +0 -1
- package/script/_dnt.polyfills.d.ts +0 -120
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.polyfills.js +0 -250
- package/script/_dnt.shims.d.ts +0 -2
- package/script/_dnt.shims.d.ts.map +0 -1
- package/script/_dnt.shims.js +0 -60
- package/script/context.d.ts +0 -5
- package/script/context.d.ts.map +0 -1
- package/script/context.js +0 -18
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -3
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -35
- package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts +0 -41
- package/script/deps/jsr.io/@std/bytes/1.0.6/copy.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/1.0.6/copy.js +0 -53
- package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts +0 -13
- package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/_create_walk_entry.js +0 -37
- package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts +0 -12
- package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/_get_file_info_type.js +0 -23
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts +0 -10
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_same_path.js +0 -20
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts +0 -12
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/_is_subdir.js +0 -28
- package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts +0 -9
- package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/_to_path_string.js +0 -16
- package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts +0 -117
- package/script/deps/jsr.io/@std/fs/1.0.20/copy.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/copy.js +0 -316
- package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts +0 -48
- package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/empty_dir.js +0 -90
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts +0 -49
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_dir.js +0 -105
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts +0 -47
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_file.js +0 -93
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts +0 -49
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_link.js +0 -64
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts +0 -70
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/ensure_symlink.js +0 -159
- package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts +0 -52
- package/script/deps/jsr.io/@std/fs/1.0.20/eol.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/eol.js +0 -105
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts +0 -219
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -273
- package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts +0 -267
- package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/expand_glob.js +0 -443
- package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts +0 -29
- package/script/deps/jsr.io/@std/fs/1.0.20/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/mod.js +0 -45
- package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts +0 -86
- package/script/deps/jsr.io/@std/fs/1.0.20/move.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/move.js +0 -145
- package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts +0 -777
- package/script/deps/jsr.io/@std/fs/1.0.20/walk.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/walk.js +0 -849
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -48
- package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
- package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/os.js +0 -8
- package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts +0 -4
- package/script/deps/jsr.io/@std/json/1.0.2/_common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/json/1.0.2/_common.js +0 -14
- package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts +0 -70
- package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/json/1.0.2/concatenated_json_parse_stream.js +0 -200
- package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts +0 -23
- package/script/deps/jsr.io/@std/json/1.0.2/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/json/1.0.2/mod.js +0 -39
- package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts +0 -53
- package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/json/1.0.2/parse_stream.js +0 -70
- package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts +0 -95
- package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/json/1.0.2/stringify_stream.js +0 -92
- package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts +0 -5
- package/script/deps/jsr.io/@std/json/1.0.2/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/json/1.0.2/types.js +0 -4
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.js +0 -10
- package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts +0 -4
- package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/basename.js +0 -45
- package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/common.js +0 -26
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts +0 -40
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.js +0 -49
- package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/dirname.js +0 -11
- package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts +0 -4
- package/script/deps/jsr.io/@std/path/1.1.3/_common/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/format.js +0 -23
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.js +0 -12
- package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts +0 -35
- package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/glob_to_reg_exp.js +0 -237
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.js +0 -11
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.js +0 -80
- package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/relative.js +0 -12
- package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/strip_trailing_separators.js +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/to_file_url.js +0 -18
- package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts +0 -27
- package/script/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/basename.js +0 -38
- package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts +0 -28
- package/script/deps/jsr.io/@std/path/1.1.3/common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/common.js +0 -36
- package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts +0 -15
- package/script/deps/jsr.io/@std/path/1.1.3/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/constants.js +0 -20
- package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/dirname.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/extname.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/format.js +0 -30
- package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/from_file_url.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts +0 -77
- package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/glob_to_regexp.js +0 -86
- package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/is_absolute.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/is_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/is_glob.js +0 -45
- package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts +0 -23
- package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/join.js +0 -32
- package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts +0 -28
- package/script/deps/jsr.io/@std/path/1.1.3/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/join_globs.js +0 -37
- package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
- package/script/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/mod.js +0 -232
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts +0 -26
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -35
- package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts +0 -29
- package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/normalize_glob.js +0 -38
- package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts +0 -35
- package/script/deps/jsr.io/@std/path/1.1.3/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/parse.js +0 -42
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.js +0 -11
- package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts +0 -39
- package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/basename.js +0 -55
- package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts +0 -13
- package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/constants.js +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts +0 -30
- package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/dirname.js +0 -67
- package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts +0 -37
- package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/extname.js +0 -96
- package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.1.3/posix/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/format.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts +0 -16
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.js +0 -24
- package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts +0 -72
- package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/glob_to_regexp.js +0 -85
- package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/is_absolute.js +0 -26
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.js +0 -48
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join_globs.js +0 -43
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts +0 -37
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.js +0 -61
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize_glob.js +0 -35
- package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts +0 -25
- package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/parse.js +0 -118
- package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/relative.js +0 -109
- package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/resolve.js +0 -95
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_file_url.js +0 -30
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts +0 -16
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/to_namespaced_path.js +0 -23
- package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.1.3/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/relative.js +0 -33
- package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/resolve.js +0 -33
- package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/to_file_url.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts +0 -21
- package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/to_namespaced_path.js +0 -32
- package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts +0 -38
- package/script/deps/jsr.io/@std/path/1.1.3/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/types.js +0 -4
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts +0 -4
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.js +0 -20
- package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/basename.js +0 -50
- package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts +0 -13
- package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/constants.js +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/dirname.js +0 -116
- package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/extname.js +0 -85
- package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.1.3/windows/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/format.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts +0 -18
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.js +0 -33
- package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts +0 -71
- package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/glob_to_regexp.js +0 -85
- package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/is_absolute.js +0 -41
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.js +0 -80
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts +0 -21
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join_globs.js +0 -44
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts +0 -19
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.js +0 -138
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize_glob.js +0 -35
- package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts +0 -25
- package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/parse.js +0 -179
- package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts +0 -23
- package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/relative.js +0 -134
- package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/resolve.js +0 -190
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_file_url.js +0 -37
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/to_namespaced_path.js +0 -52
- package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts +0 -5
- package/script/deps/jsr.io/@std/streams/1.0.14/_common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/_common.js +0 -31
- package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts +0 -300
- package/script/deps/jsr.io/@std/streams/1.0.14/buffer.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/buffer.js +0 -415
- package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts +0 -44
- package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/byte_slice_stream.js +0 -89
- package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts +0 -27
- package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/concat_readable_streams.js +0 -51
- package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts +0 -66
- package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/delimiter_stream.js +0 -295
- package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts +0 -83
- package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/early_zip_readable_streams.js +0 -105
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts +0 -101
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_bytes_transform_stream.js +0 -126
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts +0 -84
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.js +0 -110
- package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts +0 -38
- package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.js +0 -72
- package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts +0 -35
- package/script/deps/jsr.io/@std/streams/1.0.14/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/mod.js +0 -51
- package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts +0 -58
- package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.js +0 -127
- package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts +0 -72
- package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/text_line_stream.js +0 -111
- package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts +0 -22
- package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.js +0 -38
- package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts +0 -22
- package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/to_blob.js +0 -28
- package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts +0 -38
- package/script/deps/jsr.io/@std/streams/1.0.14/to_json.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/to_json.js +0 -45
- package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts +0 -29
- package/script/deps/jsr.io/@std/streams/1.0.14/to_text.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/to_text.js +0 -48
- package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts +0 -61
- package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/to_transform_stream.js +0 -106
- package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts +0 -76
- package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.14/zip_readable_streams.js +0 -105
- package/script/jsonl.d.ts.map +0 -1
- package/script/jsonl.js +0 -244
- package/script/mod.d.ts +0 -5
- package/script/mod.d.ts.map +0 -1
- package/script/mod.js +0 -24
- package/script/package.json +0 -3
- package/script/types.d.ts +0 -14
- package/script/types.d.ts.map +0 -1
- package/script/types.js +0 -2
- /package/{esm → dist}/types.d.ts +0 -0
- /package/{esm → dist}/types.js +0 -0
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
5
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
6
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
7
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
8
|
-
};
|
|
9
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
10
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
11
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
12
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
13
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
14
|
-
};
|
|
15
|
-
var _TextDelimiterStream_instances, _TextDelimiterStream_buf, _TextDelimiterStream_delimiter, _TextDelimiterStream_inspectIndex, _TextDelimiterStream_matchIndex, _TextDelimiterStream_delimLPS, _TextDelimiterStream_disp, _TextDelimiterStream_handle;
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.TextDelimiterStream = void 0;
|
|
18
|
-
const _common_js_1 = require("./_common.js");
|
|
19
|
-
/**
|
|
20
|
-
* Transform a stream `string` into a stream where each chunk is divided by a
|
|
21
|
-
* given delimiter.
|
|
22
|
-
*
|
|
23
|
-
* If you are working with a stream of `Uint8Array`, consider using {@linkcode DelimiterStream}.
|
|
24
|
-
*
|
|
25
|
-
* If you want to split by a newline, consider using {@linkcode TextLineStream}.
|
|
26
|
-
*
|
|
27
|
-
* @example Comma-separated values
|
|
28
|
-
* ```ts
|
|
29
|
-
* import { TextDelimiterStream } from "@std/streams/text-delimiter-stream";
|
|
30
|
-
* import { assertEquals } from "@std/assert";
|
|
31
|
-
*
|
|
32
|
-
* const stream = ReadableStream.from([
|
|
33
|
-
* "alice,20,",
|
|
34
|
-
* ",US,",
|
|
35
|
-
* ]);
|
|
36
|
-
*
|
|
37
|
-
* const valueStream = stream.pipeThrough(new TextDelimiterStream(","));
|
|
38
|
-
*
|
|
39
|
-
* assertEquals(
|
|
40
|
-
* await Array.fromAsync(valueStream),
|
|
41
|
-
* ["alice", "20", "", "US", ""],
|
|
42
|
-
* );
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @example Semicolon-separated values with suffix disposition
|
|
46
|
-
* ```ts
|
|
47
|
-
* import { TextDelimiterStream } from "@std/streams/text-delimiter-stream";
|
|
48
|
-
* import { assertEquals } from "@std/assert";
|
|
49
|
-
*
|
|
50
|
-
* const stream = ReadableStream.from([
|
|
51
|
-
* "const a = 42;;let b =",
|
|
52
|
-
* " true;",
|
|
53
|
-
* ]);
|
|
54
|
-
*
|
|
55
|
-
* const valueStream = stream.pipeThrough(
|
|
56
|
-
* new TextDelimiterStream(";", { disposition: "suffix" }),
|
|
57
|
-
* );
|
|
58
|
-
*
|
|
59
|
-
* assertEquals(
|
|
60
|
-
* await Array.fromAsync(valueStream),
|
|
61
|
-
* ["const a = 42;", ";", "let b = true;", ""],
|
|
62
|
-
* );
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
class TextDelimiterStream extends TransformStream {
|
|
66
|
-
/**
|
|
67
|
-
* Constructs a new instance.
|
|
68
|
-
*
|
|
69
|
-
* @param delimiter A delimiter to split the stream by.
|
|
70
|
-
* @param options Options for the stream.
|
|
71
|
-
*/
|
|
72
|
-
constructor(delimiter, options) {
|
|
73
|
-
super({
|
|
74
|
-
transform: (chunk, controller) => {
|
|
75
|
-
__classPrivateFieldGet(this, _TextDelimiterStream_instances, "m", _TextDelimiterStream_handle).call(this, chunk, controller);
|
|
76
|
-
},
|
|
77
|
-
flush: (controller) => {
|
|
78
|
-
controller.enqueue(__classPrivateFieldGet(this, _TextDelimiterStream_buf, "f"));
|
|
79
|
-
},
|
|
80
|
-
});
|
|
81
|
-
_TextDelimiterStream_instances.add(this);
|
|
82
|
-
_TextDelimiterStream_buf.set(this, "");
|
|
83
|
-
_TextDelimiterStream_delimiter.set(this, void 0);
|
|
84
|
-
_TextDelimiterStream_inspectIndex.set(this, 0);
|
|
85
|
-
_TextDelimiterStream_matchIndex.set(this, 0);
|
|
86
|
-
_TextDelimiterStream_delimLPS.set(this, void 0);
|
|
87
|
-
_TextDelimiterStream_disp.set(this, void 0);
|
|
88
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_delimiter, delimiter, "f");
|
|
89
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_delimLPS, (0, _common_js_1.createLPS)(new TextEncoder().encode(delimiter)), "f");
|
|
90
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_disp, options?.disposition ?? "discard", "f");
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
exports.TextDelimiterStream = TextDelimiterStream;
|
|
94
|
-
_TextDelimiterStream_buf = new WeakMap(), _TextDelimiterStream_delimiter = new WeakMap(), _TextDelimiterStream_inspectIndex = new WeakMap(), _TextDelimiterStream_matchIndex = new WeakMap(), _TextDelimiterStream_delimLPS = new WeakMap(), _TextDelimiterStream_disp = new WeakMap(), _TextDelimiterStream_instances = new WeakSet(), _TextDelimiterStream_handle = function _TextDelimiterStream_handle(chunk, controller) {
|
|
95
|
-
var _a, _b, _c;
|
|
96
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_buf, __classPrivateFieldGet(this, _TextDelimiterStream_buf, "f") + chunk, "f");
|
|
97
|
-
let localIndex = 0;
|
|
98
|
-
while (__classPrivateFieldGet(this, _TextDelimiterStream_inspectIndex, "f") < __classPrivateFieldGet(this, _TextDelimiterStream_buf, "f").length) {
|
|
99
|
-
if (chunk[localIndex] === __classPrivateFieldGet(this, _TextDelimiterStream_delimiter, "f")[__classPrivateFieldGet(this, _TextDelimiterStream_matchIndex, "f")]) {
|
|
100
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_inspectIndex, (_a = __classPrivateFieldGet(this, _TextDelimiterStream_inspectIndex, "f"), _a++, _a), "f");
|
|
101
|
-
localIndex++;
|
|
102
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_matchIndex, (_b = __classPrivateFieldGet(this, _TextDelimiterStream_matchIndex, "f"), _b++, _b), "f");
|
|
103
|
-
if (__classPrivateFieldGet(this, _TextDelimiterStream_matchIndex, "f") === __classPrivateFieldGet(this, _TextDelimiterStream_delimiter, "f").length) {
|
|
104
|
-
// Full match
|
|
105
|
-
const start = __classPrivateFieldGet(this, _TextDelimiterStream_inspectIndex, "f") - __classPrivateFieldGet(this, _TextDelimiterStream_delimiter, "f").length;
|
|
106
|
-
const end = __classPrivateFieldGet(this, _TextDelimiterStream_disp, "f") === "suffix" ? __classPrivateFieldGet(this, _TextDelimiterStream_inspectIndex, "f") : start;
|
|
107
|
-
const copy = __classPrivateFieldGet(this, _TextDelimiterStream_buf, "f").slice(0, end);
|
|
108
|
-
controller.enqueue(copy);
|
|
109
|
-
const shift = __classPrivateFieldGet(this, _TextDelimiterStream_disp, "f") === "prefix" ? start : __classPrivateFieldGet(this, _TextDelimiterStream_inspectIndex, "f");
|
|
110
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_buf, __classPrivateFieldGet(this, _TextDelimiterStream_buf, "f").slice(shift), "f");
|
|
111
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_inspectIndex, __classPrivateFieldGet(this, _TextDelimiterStream_disp, "f") === "prefix"
|
|
112
|
-
? __classPrivateFieldGet(this, _TextDelimiterStream_delimiter, "f").length
|
|
113
|
-
: 0, "f");
|
|
114
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_matchIndex, 0, "f");
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
if (__classPrivateFieldGet(this, _TextDelimiterStream_matchIndex, "f") === 0) {
|
|
119
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_inspectIndex, (_c = __classPrivateFieldGet(this, _TextDelimiterStream_inspectIndex, "f"), _c++, _c), "f");
|
|
120
|
-
localIndex++;
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
__classPrivateFieldSet(this, _TextDelimiterStream_matchIndex, __classPrivateFieldGet(this, _TextDelimiterStream_delimLPS, "f")[__classPrivateFieldGet(this, _TextDelimiterStream_matchIndex, "f") - 1], "f");
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/** Options for {@linkcode TextLineStream}. */
|
|
2
|
-
export interface TextLineStreamOptions {
|
|
3
|
-
/**
|
|
4
|
-
* Allow splitting by `\r`.
|
|
5
|
-
*
|
|
6
|
-
* @default {false}
|
|
7
|
-
*/
|
|
8
|
-
allowCR?: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Transform a stream into a stream where each chunk is divided by a newline,
|
|
12
|
-
* be it `\n` or `\r\n`. `\r` can be enabled via the `allowCR` option.
|
|
13
|
-
*
|
|
14
|
-
* If you want to split by a custom delimiter, consider using {@linkcode TextDelimiterStream}.
|
|
15
|
-
*
|
|
16
|
-
* @example JSON Lines
|
|
17
|
-
* ```ts
|
|
18
|
-
* import { TextLineStream } from "@std/streams/text-line-stream";
|
|
19
|
-
* import { toTransformStream } from "@std/streams/to-transform-stream";
|
|
20
|
-
* import { assertEquals } from "@std/assert";
|
|
21
|
-
*
|
|
22
|
-
* const stream = ReadableStream.from([
|
|
23
|
-
* '{"name": "Alice", "age": ',
|
|
24
|
-
* '30}\n{"name": "Bob", "age"',
|
|
25
|
-
* ": 25}\n",
|
|
26
|
-
* ]);
|
|
27
|
-
*
|
|
28
|
-
* type Person = { name: string; age: number };
|
|
29
|
-
*
|
|
30
|
-
* // Split the stream by newline and parse each line as a JSON object
|
|
31
|
-
* const jsonStream = stream.pipeThrough(new TextLineStream())
|
|
32
|
-
* .pipeThrough(toTransformStream(async function* (src) {
|
|
33
|
-
* for await (const chunk of src) {
|
|
34
|
-
* if (chunk.trim().length === 0) {
|
|
35
|
-
* continue;
|
|
36
|
-
* }
|
|
37
|
-
* yield JSON.parse(chunk) as Person;
|
|
38
|
-
* }
|
|
39
|
-
* }));
|
|
40
|
-
*
|
|
41
|
-
* assertEquals(
|
|
42
|
-
* await Array.fromAsync(jsonStream),
|
|
43
|
-
* [{ "name": "Alice", "age": 30 }, { "name": "Bob", "age": 25 }],
|
|
44
|
-
* );
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @example Allow splitting by `\r`
|
|
48
|
-
*
|
|
49
|
-
* ```ts
|
|
50
|
-
* import { TextLineStream } from "@std/streams/text-line-stream";
|
|
51
|
-
* import { assertEquals } from "@std/assert";
|
|
52
|
-
*
|
|
53
|
-
* const stream = ReadableStream.from([
|
|
54
|
-
* "CR\rLF",
|
|
55
|
-
* "\nCRLF\r\ndone",
|
|
56
|
-
* ]).pipeThrough(new TextLineStream({ allowCR: true }));
|
|
57
|
-
*
|
|
58
|
-
* const lines = await Array.fromAsync(stream);
|
|
59
|
-
*
|
|
60
|
-
* assertEquals(lines, ["CR", "LF", "CRLF", "done"]);
|
|
61
|
-
* ```
|
|
62
|
-
*/
|
|
63
|
-
export declare class TextLineStream extends TransformStream<string, string> {
|
|
64
|
-
#private;
|
|
65
|
-
/**
|
|
66
|
-
* Constructs a new instance.
|
|
67
|
-
*
|
|
68
|
-
* @param options Options for the stream.
|
|
69
|
-
*/
|
|
70
|
-
constructor(options?: TextLineStreamOptions);
|
|
71
|
-
}
|
|
72
|
-
//# sourceMappingURL=text_line_stream.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text_line_stream.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/text_line_stream.ts"],"names":[],"mappings":"AAGA,8CAA8C;AAC9C,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBAAa,cAAe,SAAQ,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC;;IAGjE;;;;OAIG;gBACS,OAAO,GAAE,qBAA0C;CAoChE"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
5
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
6
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
7
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
8
|
-
};
|
|
9
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
10
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
11
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
12
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
13
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
14
|
-
};
|
|
15
|
-
var _TextLineStream_currentLine;
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.TextLineStream = void 0;
|
|
18
|
-
/**
|
|
19
|
-
* Transform a stream into a stream where each chunk is divided by a newline,
|
|
20
|
-
* be it `\n` or `\r\n`. `\r` can be enabled via the `allowCR` option.
|
|
21
|
-
*
|
|
22
|
-
* If you want to split by a custom delimiter, consider using {@linkcode TextDelimiterStream}.
|
|
23
|
-
*
|
|
24
|
-
* @example JSON Lines
|
|
25
|
-
* ```ts
|
|
26
|
-
* import { TextLineStream } from "@std/streams/text-line-stream";
|
|
27
|
-
* import { toTransformStream } from "@std/streams/to-transform-stream";
|
|
28
|
-
* import { assertEquals } from "@std/assert";
|
|
29
|
-
*
|
|
30
|
-
* const stream = ReadableStream.from([
|
|
31
|
-
* '{"name": "Alice", "age": ',
|
|
32
|
-
* '30}\n{"name": "Bob", "age"',
|
|
33
|
-
* ": 25}\n",
|
|
34
|
-
* ]);
|
|
35
|
-
*
|
|
36
|
-
* type Person = { name: string; age: number };
|
|
37
|
-
*
|
|
38
|
-
* // Split the stream by newline and parse each line as a JSON object
|
|
39
|
-
* const jsonStream = stream.pipeThrough(new TextLineStream())
|
|
40
|
-
* .pipeThrough(toTransformStream(async function* (src) {
|
|
41
|
-
* for await (const chunk of src) {
|
|
42
|
-
* if (chunk.trim().length === 0) {
|
|
43
|
-
* continue;
|
|
44
|
-
* }
|
|
45
|
-
* yield JSON.parse(chunk) as Person;
|
|
46
|
-
* }
|
|
47
|
-
* }));
|
|
48
|
-
*
|
|
49
|
-
* assertEquals(
|
|
50
|
-
* await Array.fromAsync(jsonStream),
|
|
51
|
-
* [{ "name": "Alice", "age": 30 }, { "name": "Bob", "age": 25 }],
|
|
52
|
-
* );
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @example Allow splitting by `\r`
|
|
56
|
-
*
|
|
57
|
-
* ```ts
|
|
58
|
-
* import { TextLineStream } from "@std/streams/text-line-stream";
|
|
59
|
-
* import { assertEquals } from "@std/assert";
|
|
60
|
-
*
|
|
61
|
-
* const stream = ReadableStream.from([
|
|
62
|
-
* "CR\rLF",
|
|
63
|
-
* "\nCRLF\r\ndone",
|
|
64
|
-
* ]).pipeThrough(new TextLineStream({ allowCR: true }));
|
|
65
|
-
*
|
|
66
|
-
* const lines = await Array.fromAsync(stream);
|
|
67
|
-
*
|
|
68
|
-
* assertEquals(lines, ["CR", "LF", "CRLF", "done"]);
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
class TextLineStream extends TransformStream {
|
|
72
|
-
/**
|
|
73
|
-
* Constructs a new instance.
|
|
74
|
-
*
|
|
75
|
-
* @param options Options for the stream.
|
|
76
|
-
*/
|
|
77
|
-
constructor(options = { allowCR: false }) {
|
|
78
|
-
super({
|
|
79
|
-
transform: (chars, controller) => {
|
|
80
|
-
chars = __classPrivateFieldGet(this, _TextLineStream_currentLine, "f") + chars;
|
|
81
|
-
while (true) {
|
|
82
|
-
const lfIndex = chars.indexOf("\n");
|
|
83
|
-
const crIndex = options.allowCR ? chars.indexOf("\r") : -1;
|
|
84
|
-
if (crIndex !== -1 && crIndex !== (chars.length - 1) &&
|
|
85
|
-
(lfIndex === -1 || (lfIndex - 1) > crIndex)) {
|
|
86
|
-
controller.enqueue(chars.slice(0, crIndex));
|
|
87
|
-
chars = chars.slice(crIndex + 1);
|
|
88
|
-
continue;
|
|
89
|
-
}
|
|
90
|
-
if (lfIndex === -1)
|
|
91
|
-
break;
|
|
92
|
-
const endIndex = chars[lfIndex - 1] === "\r" ? lfIndex - 1 : lfIndex;
|
|
93
|
-
controller.enqueue(chars.slice(0, endIndex));
|
|
94
|
-
chars = chars.slice(lfIndex + 1);
|
|
95
|
-
}
|
|
96
|
-
__classPrivateFieldSet(this, _TextLineStream_currentLine, chars, "f");
|
|
97
|
-
},
|
|
98
|
-
flush: (controller) => {
|
|
99
|
-
if (__classPrivateFieldGet(this, _TextLineStream_currentLine, "f") === "")
|
|
100
|
-
return;
|
|
101
|
-
const currentLine = options.allowCR && __classPrivateFieldGet(this, _TextLineStream_currentLine, "f").endsWith("\r")
|
|
102
|
-
? __classPrivateFieldGet(this, _TextLineStream_currentLine, "f").slice(0, -1)
|
|
103
|
-
: __classPrivateFieldGet(this, _TextLineStream_currentLine, "f");
|
|
104
|
-
controller.enqueue(currentLine);
|
|
105
|
-
},
|
|
106
|
-
});
|
|
107
|
-
_TextLineStream_currentLine.set(this, "");
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
exports.TextLineStream = TextLineStream;
|
|
111
|
-
_TextLineStream_currentLine = new WeakMap();
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to an
|
|
3
|
-
* {@linkcode ArrayBuffer}. Works the same as {@linkcode Response.arrayBuffer}.
|
|
4
|
-
*
|
|
5
|
-
* @param readableStream A `ReadableStream` of `Uint8Array`s to convert into an `ArrayBuffer`.
|
|
6
|
-
* @returns A promise that resolves with the `ArrayBuffer` containing all the data from the stream.
|
|
7
|
-
*
|
|
8
|
-
* @example Basic usage
|
|
9
|
-
* ```ts
|
|
10
|
-
* import { toArrayBuffer } from "@std/streams/to-array-buffer";
|
|
11
|
-
* import { assertEquals } from "@std/assert";
|
|
12
|
-
*
|
|
13
|
-
* const stream = ReadableStream.from([
|
|
14
|
-
* new Uint8Array([1, 2]),
|
|
15
|
-
* new Uint8Array([3, 4, 5]),
|
|
16
|
-
* ]);
|
|
17
|
-
* const buf = await toArrayBuffer(stream);
|
|
18
|
-
* assertEquals(buf.byteLength, 5);
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare function toArrayBuffer(readableStream: ReadableStream<Uint8Array>): Promise<ArrayBuffer>;
|
|
22
|
-
//# sourceMappingURL=to_array_buffer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"to_array_buffer.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/to_array_buffer.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,aAAa,CACjC,cAAc,EAAE,cAAc,CAAC,UAAU,CAAC,GACzC,OAAO,CAAC,WAAW,CAAC,CAetB"}
|
|
@@ -1,38 +0,0 @@
|
|
|
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.toArrayBuffer = toArrayBuffer;
|
|
6
|
-
const concat_js_1 = require("../../bytes/1.0.6/concat.js");
|
|
7
|
-
/**
|
|
8
|
-
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to an
|
|
9
|
-
* {@linkcode ArrayBuffer}. Works the same as {@linkcode Response.arrayBuffer}.
|
|
10
|
-
*
|
|
11
|
-
* @param readableStream A `ReadableStream` of `Uint8Array`s to convert into an `ArrayBuffer`.
|
|
12
|
-
* @returns A promise that resolves with the `ArrayBuffer` containing all the data from the stream.
|
|
13
|
-
*
|
|
14
|
-
* @example Basic usage
|
|
15
|
-
* ```ts
|
|
16
|
-
* import { toArrayBuffer } from "@std/streams/to-array-buffer";
|
|
17
|
-
* import { assertEquals } from "@std/assert";
|
|
18
|
-
*
|
|
19
|
-
* const stream = ReadableStream.from([
|
|
20
|
-
* new Uint8Array([1, 2]),
|
|
21
|
-
* new Uint8Array([3, 4, 5]),
|
|
22
|
-
* ]);
|
|
23
|
-
* const buf = await toArrayBuffer(stream);
|
|
24
|
-
* assertEquals(buf.byteLength, 5);
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
async function toArrayBuffer(readableStream) {
|
|
28
|
-
const reader = readableStream.getReader();
|
|
29
|
-
const chunks = [];
|
|
30
|
-
while (true) {
|
|
31
|
-
const { done, value } = await reader.read();
|
|
32
|
-
if (done) {
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
chunks.push(value);
|
|
36
|
-
}
|
|
37
|
-
return (0, concat_js_1.concat)(chunks).buffer;
|
|
38
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to a
|
|
3
|
-
* {@linkcode Blob}. Works the same as {@linkcode Response.blob}.
|
|
4
|
-
*
|
|
5
|
-
* @param stream A `ReadableStream` of `Uint8Array`s to convert into a `Blob`.
|
|
6
|
-
* @returns A `Promise` that resolves to the `Blob`.
|
|
7
|
-
*
|
|
8
|
-
* @example Basic usage
|
|
9
|
-
* ```ts
|
|
10
|
-
* import { toBlob } from "@std/streams/to-blob";
|
|
11
|
-
* import { assertEquals } from "@std/assert";
|
|
12
|
-
*
|
|
13
|
-
* const stream = ReadableStream.from([
|
|
14
|
-
* new Uint8Array([1, 2]),
|
|
15
|
-
* new Uint8Array([3, 4, 5]),
|
|
16
|
-
* ]);
|
|
17
|
-
* const blob = await toBlob(stream);
|
|
18
|
-
* assertEquals(blob.size, 5);
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare function toBlob(stream: ReadableStream<Uint8Array>): Promise<Blob>;
|
|
22
|
-
//# sourceMappingURL=to_blob.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"to_blob.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/to_blob.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,MAAM,CAC1B,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,GACjC,OAAO,CAAC,IAAI,CAAC,CAEf"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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.toBlob = toBlob;
|
|
6
|
-
/**
|
|
7
|
-
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to a
|
|
8
|
-
* {@linkcode Blob}. Works the same as {@linkcode Response.blob}.
|
|
9
|
-
*
|
|
10
|
-
* @param stream A `ReadableStream` of `Uint8Array`s to convert into a `Blob`.
|
|
11
|
-
* @returns A `Promise` that resolves to the `Blob`.
|
|
12
|
-
*
|
|
13
|
-
* @example Basic usage
|
|
14
|
-
* ```ts
|
|
15
|
-
* import { toBlob } from "@std/streams/to-blob";
|
|
16
|
-
* import { assertEquals } from "@std/assert";
|
|
17
|
-
*
|
|
18
|
-
* const stream = ReadableStream.from([
|
|
19
|
-
* new Uint8Array([1, 2]),
|
|
20
|
-
* new Uint8Array([3, 4, 5]),
|
|
21
|
-
* ]);
|
|
22
|
-
* const blob = await toBlob(stream);
|
|
23
|
-
* assertEquals(blob.size, 5);
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
async function toBlob(stream) {
|
|
27
|
-
return await new Response(stream).blob();
|
|
28
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a
|
|
3
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON}-formatted
|
|
4
|
-
* {@linkcode ReadableSteam} of strings or {@linkcode Uint8Array}s to an object.
|
|
5
|
-
* Works the same as {@linkcode Response.json} and {@linkcode Request.json}, but
|
|
6
|
-
* also extends to support streams of strings.
|
|
7
|
-
*
|
|
8
|
-
* @param stream A `ReadableStream` whose chunks compose a JSON.
|
|
9
|
-
* @returns A promise that resolves to the parsed JSON.
|
|
10
|
-
*
|
|
11
|
-
* @example Usage with a stream of strings
|
|
12
|
-
* ```ts
|
|
13
|
-
* import { toJson } from "@std/streams/to-json";
|
|
14
|
-
* import { assertEquals } from "@std/assert";
|
|
15
|
-
*
|
|
16
|
-
* const stream = ReadableStream.from([
|
|
17
|
-
* "[1, true",
|
|
18
|
-
* ', [], {}, "hello',
|
|
19
|
-
* '", null]',
|
|
20
|
-
* ]);
|
|
21
|
-
* assertEquals(await toJson(stream), [1, true, [], {}, "hello", null]);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @example Usage with a stream of `Uint8Array`s
|
|
25
|
-
* ```ts
|
|
26
|
-
* import { toJson } from "@std/streams/to-json";
|
|
27
|
-
* import { assertEquals } from "@std/assert";
|
|
28
|
-
*
|
|
29
|
-
* const stream = ReadableStream.from([
|
|
30
|
-
* "[1, true",
|
|
31
|
-
* ', [], {}, "hello',
|
|
32
|
-
* '", null]',
|
|
33
|
-
* ]).pipeThrough(new TextEncoderStream());
|
|
34
|
-
* assertEquals(await toJson(stream), [1, true, [], {}, "hello", null]);
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare function toJson(stream: ReadableStream<string> | ReadableStream<Uint8Array>): Promise<unknown>;
|
|
38
|
-
//# sourceMappingURL=to_json.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"to_json.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/to_json.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,MAAM,CACpB,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,UAAU,CAAC,GAC1D,OAAO,CAAC,OAAO,CAAC,CAElB"}
|
|
@@ -1,45 +0,0 @@
|
|
|
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.toJson = toJson;
|
|
6
|
-
const to_text_js_1 = require("./to_text.js");
|
|
7
|
-
/**
|
|
8
|
-
* Converts a
|
|
9
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON}-formatted
|
|
10
|
-
* {@linkcode ReadableSteam} of strings or {@linkcode Uint8Array}s to an object.
|
|
11
|
-
* Works the same as {@linkcode Response.json} and {@linkcode Request.json}, but
|
|
12
|
-
* also extends to support streams of strings.
|
|
13
|
-
*
|
|
14
|
-
* @param stream A `ReadableStream` whose chunks compose a JSON.
|
|
15
|
-
* @returns A promise that resolves to the parsed JSON.
|
|
16
|
-
*
|
|
17
|
-
* @example Usage with a stream of strings
|
|
18
|
-
* ```ts
|
|
19
|
-
* import { toJson } from "@std/streams/to-json";
|
|
20
|
-
* import { assertEquals } from "@std/assert";
|
|
21
|
-
*
|
|
22
|
-
* const stream = ReadableStream.from([
|
|
23
|
-
* "[1, true",
|
|
24
|
-
* ', [], {}, "hello',
|
|
25
|
-
* '", null]',
|
|
26
|
-
* ]);
|
|
27
|
-
* assertEquals(await toJson(stream), [1, true, [], {}, "hello", null]);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @example Usage with a stream of `Uint8Array`s
|
|
31
|
-
* ```ts
|
|
32
|
-
* import { toJson } from "@std/streams/to-json";
|
|
33
|
-
* import { assertEquals } from "@std/assert";
|
|
34
|
-
*
|
|
35
|
-
* const stream = ReadableStream.from([
|
|
36
|
-
* "[1, true",
|
|
37
|
-
* ', [], {}, "hello',
|
|
38
|
-
* '", null]',
|
|
39
|
-
* ]).pipeThrough(new TextEncoderStream());
|
|
40
|
-
* assertEquals(await toJson(stream), [1, true, [], {}, "hello", null]);
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
function toJson(stream) {
|
|
44
|
-
return (0, to_text_js_1.toText)(stream).then(JSON.parse);
|
|
45
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a {@linkcode ReadableSteam} of strings or {@linkcode Uint8Array}s
|
|
3
|
-
* to a single string. Works the same as {@linkcode Response.text} and
|
|
4
|
-
* {@linkcode Request.text}, but also extends to support streams of strings.
|
|
5
|
-
*
|
|
6
|
-
* @param stream A `ReadableStream` to convert into a `string`.
|
|
7
|
-
* @returns A `Promise` that resolves to the `string`.
|
|
8
|
-
*
|
|
9
|
-
* @example Basic usage with a stream of strings
|
|
10
|
-
* ```ts
|
|
11
|
-
* import { toText } from "@std/streams/to-text";
|
|
12
|
-
* import { assertEquals } from "@std/assert";
|
|
13
|
-
*
|
|
14
|
-
* const stream = ReadableStream.from(["Hello, ", "world!"]);
|
|
15
|
-
* assertEquals(await toText(stream), "Hello, world!");
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @example Basic usage with a stream of `Uint8Array`s
|
|
19
|
-
* ```ts
|
|
20
|
-
* import { toText } from "@std/streams/to-text";
|
|
21
|
-
* import { assertEquals } from "@std/assert";
|
|
22
|
-
*
|
|
23
|
-
* const stream = ReadableStream.from(["Hello, ", "world!"])
|
|
24
|
-
* .pipeThrough(new TextEncoderStream());
|
|
25
|
-
* assertEquals(await toText(stream), "Hello, world!");
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare function toText(stream: ReadableStream<string> | ReadableStream<Uint8Array>): Promise<string>;
|
|
29
|
-
//# sourceMappingURL=to_text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"to_text.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/to_text.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,MAAM,CAC1B,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,UAAU,CAAC,GAC1D,OAAO,CAAC,MAAM,CAAC,CAkBjB"}
|
|
@@ -1,48 +0,0 @@
|
|
|
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.toText = toText;
|
|
6
|
-
/**
|
|
7
|
-
* Converts a {@linkcode ReadableSteam} of strings or {@linkcode Uint8Array}s
|
|
8
|
-
* to a single string. Works the same as {@linkcode Response.text} and
|
|
9
|
-
* {@linkcode Request.text}, but also extends to support streams of strings.
|
|
10
|
-
*
|
|
11
|
-
* @param stream A `ReadableStream` to convert into a `string`.
|
|
12
|
-
* @returns A `Promise` that resolves to the `string`.
|
|
13
|
-
*
|
|
14
|
-
* @example Basic usage with a stream of strings
|
|
15
|
-
* ```ts
|
|
16
|
-
* import { toText } from "@std/streams/to-text";
|
|
17
|
-
* import { assertEquals } from "@std/assert";
|
|
18
|
-
*
|
|
19
|
-
* const stream = ReadableStream.from(["Hello, ", "world!"]);
|
|
20
|
-
* assertEquals(await toText(stream), "Hello, world!");
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @example Basic usage with a stream of `Uint8Array`s
|
|
24
|
-
* ```ts
|
|
25
|
-
* import { toText } from "@std/streams/to-text";
|
|
26
|
-
* import { assertEquals } from "@std/assert";
|
|
27
|
-
*
|
|
28
|
-
* const stream = ReadableStream.from(["Hello, ", "world!"])
|
|
29
|
-
* .pipeThrough(new TextEncoderStream());
|
|
30
|
-
* assertEquals(await toText(stream), "Hello, world!");
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
async function toText(stream) {
|
|
34
|
-
const textDecoder = new TextDecoder();
|
|
35
|
-
const reader = stream.getReader();
|
|
36
|
-
let result = "";
|
|
37
|
-
while (true) {
|
|
38
|
-
const { done, value } = await reader.read();
|
|
39
|
-
if (done) {
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
result += typeof value === "string"
|
|
43
|
-
? value
|
|
44
|
-
: textDecoder.decode(value, { stream: true });
|
|
45
|
-
}
|
|
46
|
-
result += textDecoder.decode();
|
|
47
|
-
return result;
|
|
48
|
-
}
|