@effectionx/jsonl-store 0.3.1 → 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,122 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
-
// This module is browser compatible.
|
|
3
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
4
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
5
|
-
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");
|
|
6
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
-
};
|
|
8
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
9
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
10
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
11
|
-
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");
|
|
12
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
13
|
-
};
|
|
14
|
-
var _LimitedBytesTransformStream_read;
|
|
15
|
-
/**
|
|
16
|
-
* A {@linkcode TransformStream} that will only read & enqueue chunks until the
|
|
17
|
-
* total amount of enqueued data exceeds `size`. The last chunk that would
|
|
18
|
-
* exceed the limit will NOT be enqueued, in which case a {@linkcode RangeError}
|
|
19
|
-
* is thrown when `options.error` is set to true, otherwise the stream is just
|
|
20
|
-
* terminated.
|
|
21
|
-
*
|
|
22
|
-
* @example `size` is equal to the total byte length of the chunks
|
|
23
|
-
* ```ts
|
|
24
|
-
* import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
|
|
25
|
-
* import { assertEquals } from "@std/assert";
|
|
26
|
-
*
|
|
27
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
28
|
-
* const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
|
|
29
|
-
* new LimitedBytesTransformStream(8),
|
|
30
|
-
* ).pipeThrough(new TextDecoderStream());
|
|
31
|
-
*
|
|
32
|
-
* assertEquals(
|
|
33
|
-
* await Array.fromAsync(transformed),
|
|
34
|
-
* ["1234", "5678"],
|
|
35
|
-
* );
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @example `size` is less than the total byte length of the chunks, and at the
|
|
39
|
-
* boundary of the chunks
|
|
40
|
-
* ```ts
|
|
41
|
-
* import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
|
|
42
|
-
* import { assertEquals } from "@std/assert";
|
|
43
|
-
*
|
|
44
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
45
|
-
* const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
|
|
46
|
-
* // `4` is the boundary of the chunks
|
|
47
|
-
* new LimitedBytesTransformStream(4),
|
|
48
|
-
* ).pipeThrough(new TextDecoderStream());
|
|
49
|
-
*
|
|
50
|
-
* assertEquals(
|
|
51
|
-
* await Array.fromAsync(transformed),
|
|
52
|
-
* // The first chunk was read, but the second chunk was not
|
|
53
|
-
* ["1234"],
|
|
54
|
-
* );
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @example `size` is less than the total byte length of the chunks, and not at
|
|
58
|
-
* the boundary of the chunks
|
|
59
|
-
* ```ts
|
|
60
|
-
* import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
|
|
61
|
-
* import { assertEquals } from "@std/assert";
|
|
62
|
-
*
|
|
63
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
64
|
-
* const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
|
|
65
|
-
* // `5` is not the boundary of the chunks
|
|
66
|
-
* new LimitedBytesTransformStream(5),
|
|
67
|
-
* ).pipeThrough(new TextDecoderStream());
|
|
68
|
-
*
|
|
69
|
-
* assertEquals(
|
|
70
|
-
* await Array.fromAsync(transformed),
|
|
71
|
-
* // The second chunk was not read because it would exceed the specified size
|
|
72
|
-
* ["1234"],
|
|
73
|
-
* );
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* @example Throw error when the total byte length of the chunks exceeds the
|
|
77
|
-
* specified size
|
|
78
|
-
*
|
|
79
|
-
* To do so, set `options.error` to `true`.
|
|
80
|
-
*
|
|
81
|
-
* ```ts
|
|
82
|
-
* import { LimitedBytesTransformStream } from "@std/streams/limited-bytes-transform-stream";
|
|
83
|
-
* import { assertRejects } from "@std/assert";
|
|
84
|
-
*
|
|
85
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
86
|
-
* const transformed = stream.pipeThrough(new TextEncoderStream()).pipeThrough(
|
|
87
|
-
* new LimitedBytesTransformStream(5, { error: true }),
|
|
88
|
-
* ).pipeThrough(new TextDecoderStream());
|
|
89
|
-
*
|
|
90
|
-
* await assertRejects(async () => {
|
|
91
|
-
* await Array.fromAsync(transformed);
|
|
92
|
-
* }, RangeError);
|
|
93
|
-
* ```
|
|
94
|
-
*/
|
|
95
|
-
export class LimitedBytesTransformStream extends TransformStream {
|
|
96
|
-
/**
|
|
97
|
-
* Constructs a new instance.
|
|
98
|
-
*
|
|
99
|
-
* @param size A size limit in bytes.
|
|
100
|
-
* @param options Options for the stream.
|
|
101
|
-
*/
|
|
102
|
-
constructor(size, options = { error: false }) {
|
|
103
|
-
super({
|
|
104
|
-
transform: (chunk, controller) => {
|
|
105
|
-
if ((__classPrivateFieldGet(this, _LimitedBytesTransformStream_read, "f") + chunk.byteLength) > size) {
|
|
106
|
-
if (options.error) {
|
|
107
|
-
throw new RangeError(`Exceeded byte size limit of '${size}'`);
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
controller.terminate();
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
__classPrivateFieldSet(this, _LimitedBytesTransformStream_read, __classPrivateFieldGet(this, _LimitedBytesTransformStream_read, "f") + chunk.byteLength, "f");
|
|
115
|
-
controller.enqueue(chunk);
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
});
|
|
119
|
-
_LimitedBytesTransformStream_read.set(this, 0);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
_LimitedBytesTransformStream_read = new WeakMap();
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/** Options for {@linkcode LimitedTransformStream} */
|
|
2
|
-
export interface LimitedTransformStreamOptions {
|
|
3
|
-
/**
|
|
4
|
-
* If true, a {@linkcode RangeError} is thrown when the total number of
|
|
5
|
-
* enqueued chunks is about to exceed the specified limit.
|
|
6
|
-
*
|
|
7
|
-
* @default {false}
|
|
8
|
-
*/
|
|
9
|
-
error?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A {@linkcode TransformStream} that will only read & enqueue `size` amount of
|
|
13
|
-
* chunks.
|
|
14
|
-
*
|
|
15
|
-
* If `options.error` is set, then instead of terminating the stream,
|
|
16
|
-
* a {@linkcode RangeError} will be thrown when the total number of enqueued
|
|
17
|
-
* chunks is about to exceed the specified size.
|
|
18
|
-
*
|
|
19
|
-
* @typeparam T The type the chunks in the stream.
|
|
20
|
-
*
|
|
21
|
-
* @example `size` is equal to the total number of chunks
|
|
22
|
-
* ```ts
|
|
23
|
-
* import { LimitedTransformStream } from "@std/streams/limited-transform-stream";
|
|
24
|
-
* import { assertEquals } from "@std/assert";
|
|
25
|
-
*
|
|
26
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
27
|
-
* const transformed = stream.pipeThrough(
|
|
28
|
-
* new LimitedTransformStream(2),
|
|
29
|
-
* );
|
|
30
|
-
*
|
|
31
|
-
* // All chunks were read
|
|
32
|
-
* assertEquals(
|
|
33
|
-
* await Array.fromAsync(transformed),
|
|
34
|
-
* ["1234", "5678"],
|
|
35
|
-
* );
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @example `size` is less than the total number of chunks
|
|
39
|
-
* ```ts
|
|
40
|
-
* import { LimitedTransformStream } from "@std/streams/limited-transform-stream";
|
|
41
|
-
* import { assertEquals } from "@std/assert";
|
|
42
|
-
*
|
|
43
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
44
|
-
* const transformed = stream.pipeThrough(
|
|
45
|
-
* new LimitedTransformStream(1),
|
|
46
|
-
* );
|
|
47
|
-
*
|
|
48
|
-
* // Only the first chunk was read
|
|
49
|
-
* assertEquals(
|
|
50
|
-
* await Array.fromAsync(transformed),
|
|
51
|
-
* ["1234"],
|
|
52
|
-
* );
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @example Throw a {@linkcode RangeError} when the total number of chunks is
|
|
56
|
-
* about to exceed the specified limit
|
|
57
|
-
*
|
|
58
|
-
* Do this by setting `options.error` to `true`.
|
|
59
|
-
*
|
|
60
|
-
* ```ts
|
|
61
|
-
* import { LimitedTransformStream } from "@std/streams/limited-transform-stream";
|
|
62
|
-
* import { assertRejects } from "@std/assert";
|
|
63
|
-
*
|
|
64
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
65
|
-
* const transformed = stream.pipeThrough(
|
|
66
|
-
* new LimitedTransformStream(1, { error: true }),
|
|
67
|
-
* );
|
|
68
|
-
*
|
|
69
|
-
* await assertRejects(async () => {
|
|
70
|
-
* await Array.fromAsync(transformed);
|
|
71
|
-
* }, RangeError);
|
|
72
|
-
* ```
|
|
73
|
-
*/
|
|
74
|
-
export declare class LimitedTransformStream<T> extends TransformStream<T, T> {
|
|
75
|
-
#private;
|
|
76
|
-
/**
|
|
77
|
-
* Constructs a new instance.
|
|
78
|
-
*
|
|
79
|
-
* @param size The maximum number of chunks to read.
|
|
80
|
-
* @param options Options for the stream.
|
|
81
|
-
*/
|
|
82
|
-
constructor(size: number, options?: LimitedTransformStreamOptions);
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=limited_transform_stream.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"limited_transform_stream.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/limited_transform_stream.ts"],"names":[],"mappings":"AAGA,qDAAqD;AACrD,MAAM,WAAW,6BAA6B;IAC5C;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,qBAAa,sBAAsB,CAAC,CAAC,CAAE,SAAQ,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC;;IAGlE;;;;;OAKG;gBAED,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,6BAAgD;CAiB5D"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
-
// This module is browser compatible.
|
|
3
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
4
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
5
|
-
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");
|
|
6
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
-
};
|
|
8
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
9
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
10
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
11
|
-
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");
|
|
12
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
13
|
-
};
|
|
14
|
-
var _LimitedTransformStream_read;
|
|
15
|
-
/**
|
|
16
|
-
* A {@linkcode TransformStream} that will only read & enqueue `size` amount of
|
|
17
|
-
* chunks.
|
|
18
|
-
*
|
|
19
|
-
* If `options.error` is set, then instead of terminating the stream,
|
|
20
|
-
* a {@linkcode RangeError} will be thrown when the total number of enqueued
|
|
21
|
-
* chunks is about to exceed the specified size.
|
|
22
|
-
*
|
|
23
|
-
* @typeparam T The type the chunks in the stream.
|
|
24
|
-
*
|
|
25
|
-
* @example `size` is equal to the total number of chunks
|
|
26
|
-
* ```ts
|
|
27
|
-
* import { LimitedTransformStream } from "@std/streams/limited-transform-stream";
|
|
28
|
-
* import { assertEquals } from "@std/assert";
|
|
29
|
-
*
|
|
30
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
31
|
-
* const transformed = stream.pipeThrough(
|
|
32
|
-
* new LimitedTransformStream(2),
|
|
33
|
-
* );
|
|
34
|
-
*
|
|
35
|
-
* // All chunks were read
|
|
36
|
-
* assertEquals(
|
|
37
|
-
* await Array.fromAsync(transformed),
|
|
38
|
-
* ["1234", "5678"],
|
|
39
|
-
* );
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @example `size` is less than the total number of chunks
|
|
43
|
-
* ```ts
|
|
44
|
-
* import { LimitedTransformStream } from "@std/streams/limited-transform-stream";
|
|
45
|
-
* import { assertEquals } from "@std/assert";
|
|
46
|
-
*
|
|
47
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
48
|
-
* const transformed = stream.pipeThrough(
|
|
49
|
-
* new LimitedTransformStream(1),
|
|
50
|
-
* );
|
|
51
|
-
*
|
|
52
|
-
* // Only the first chunk was read
|
|
53
|
-
* assertEquals(
|
|
54
|
-
* await Array.fromAsync(transformed),
|
|
55
|
-
* ["1234"],
|
|
56
|
-
* );
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @example Throw a {@linkcode RangeError} when the total number of chunks is
|
|
60
|
-
* about to exceed the specified limit
|
|
61
|
-
*
|
|
62
|
-
* Do this by setting `options.error` to `true`.
|
|
63
|
-
*
|
|
64
|
-
* ```ts
|
|
65
|
-
* import { LimitedTransformStream } from "@std/streams/limited-transform-stream";
|
|
66
|
-
* import { assertRejects } from "@std/assert";
|
|
67
|
-
*
|
|
68
|
-
* const stream = ReadableStream.from(["1234", "5678"]);
|
|
69
|
-
* const transformed = stream.pipeThrough(
|
|
70
|
-
* new LimitedTransformStream(1, { error: true }),
|
|
71
|
-
* );
|
|
72
|
-
*
|
|
73
|
-
* await assertRejects(async () => {
|
|
74
|
-
* await Array.fromAsync(transformed);
|
|
75
|
-
* }, RangeError);
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
export class LimitedTransformStream extends TransformStream {
|
|
79
|
-
/**
|
|
80
|
-
* Constructs a new instance.
|
|
81
|
-
*
|
|
82
|
-
* @param size The maximum number of chunks to read.
|
|
83
|
-
* @param options Options for the stream.
|
|
84
|
-
*/
|
|
85
|
-
constructor(size, options = { error: false }) {
|
|
86
|
-
super({
|
|
87
|
-
transform: (chunk, controller) => {
|
|
88
|
-
var _a;
|
|
89
|
-
if ((__classPrivateFieldGet(this, _LimitedTransformStream_read, "f") + 1) > size) {
|
|
90
|
-
if (options.error) {
|
|
91
|
-
throw new RangeError(`Exceeded chunk limit of '${size}'`);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
controller.terminate();
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
__classPrivateFieldSet(this, _LimitedTransformStream_read, (_a = __classPrivateFieldGet(this, _LimitedTransformStream_read, "f"), _a++, _a), "f");
|
|
99
|
-
controller.enqueue(chunk);
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
});
|
|
103
|
-
_LimitedTransformStream_read.set(this, 0);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
_LimitedTransformStream_read = new WeakMap();
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Merge multiple streams into a single one, not taking order into account.
|
|
3
|
-
* If a stream ends before other ones, the other will continue adding data,
|
|
4
|
-
* and the finished one will not add any more data.
|
|
5
|
-
*
|
|
6
|
-
* @typeparam T The type of the chunks in the input/output streams.
|
|
7
|
-
* @param streams An iterable of `ReadableStream`s to merge.
|
|
8
|
-
* @returns A `ReadableStream` that will emit the merged chunks.
|
|
9
|
-
*
|
|
10
|
-
* @example Merge 2 streams
|
|
11
|
-
* ```ts
|
|
12
|
-
* import { mergeReadableStreams } from "@std/streams/merge-readable-streams";
|
|
13
|
-
* import { assertEquals } from "@std/assert";
|
|
14
|
-
*
|
|
15
|
-
* const stream1 = ReadableStream.from([1, 2]);
|
|
16
|
-
* const stream2 = ReadableStream.from([3, 4, 5]);
|
|
17
|
-
*
|
|
18
|
-
* const mergedStream = mergeReadableStreams(stream1, stream2);
|
|
19
|
-
* const merged = await Array.fromAsync(mergedStream);
|
|
20
|
-
* assertEquals(merged.toSorted(), [1, 2, 3, 4, 5]);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @example Merge 3 streams
|
|
24
|
-
* ```ts
|
|
25
|
-
* import { mergeReadableStreams } from "@std/streams/merge-readable-streams";
|
|
26
|
-
* import { assertEquals } from "@std/assert";
|
|
27
|
-
*
|
|
28
|
-
* const stream1 = ReadableStream.from([1, 2]);
|
|
29
|
-
* const stream2 = ReadableStream.from([3, 4, 5]);
|
|
30
|
-
* const stream3 = ReadableStream.from([6]);
|
|
31
|
-
*
|
|
32
|
-
* const mergedStream = mergeReadableStreams(stream1, stream2, stream3);
|
|
33
|
-
* const merged = await Array.fromAsync(mergedStream);
|
|
34
|
-
* assertEquals(merged.toSorted(), [1, 2, 3, 4, 5, 6]);
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare function mergeReadableStreams<T>(...streams: ReadableStream<T>[]): ReadableStream<T>;
|
|
38
|
-
//# sourceMappingURL=merge_readable_streams.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"merge_readable_streams.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/merge_readable_streams.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,GAAG,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,GAC9B,cAAc,CAAC,CAAC,CAAC,CA8BnB"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
-
/**
|
|
3
|
-
* Merge multiple streams into a single one, not taking order into account.
|
|
4
|
-
* If a stream ends before other ones, the other will continue adding data,
|
|
5
|
-
* and the finished one will not add any more data.
|
|
6
|
-
*
|
|
7
|
-
* @typeparam T The type of the chunks in the input/output streams.
|
|
8
|
-
* @param streams An iterable of `ReadableStream`s to merge.
|
|
9
|
-
* @returns A `ReadableStream` that will emit the merged chunks.
|
|
10
|
-
*
|
|
11
|
-
* @example Merge 2 streams
|
|
12
|
-
* ```ts
|
|
13
|
-
* import { mergeReadableStreams } from "@std/streams/merge-readable-streams";
|
|
14
|
-
* import { assertEquals } from "@std/assert";
|
|
15
|
-
*
|
|
16
|
-
* const stream1 = ReadableStream.from([1, 2]);
|
|
17
|
-
* const stream2 = ReadableStream.from([3, 4, 5]);
|
|
18
|
-
*
|
|
19
|
-
* const mergedStream = mergeReadableStreams(stream1, stream2);
|
|
20
|
-
* const merged = await Array.fromAsync(mergedStream);
|
|
21
|
-
* assertEquals(merged.toSorted(), [1, 2, 3, 4, 5]);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @example Merge 3 streams
|
|
25
|
-
* ```ts
|
|
26
|
-
* import { mergeReadableStreams } from "@std/streams/merge-readable-streams";
|
|
27
|
-
* import { assertEquals } from "@std/assert";
|
|
28
|
-
*
|
|
29
|
-
* const stream1 = ReadableStream.from([1, 2]);
|
|
30
|
-
* const stream2 = ReadableStream.from([3, 4, 5]);
|
|
31
|
-
* const stream3 = ReadableStream.from([6]);
|
|
32
|
-
*
|
|
33
|
-
* const mergedStream = mergeReadableStreams(stream1, stream2, stream3);
|
|
34
|
-
* const merged = await Array.fromAsync(mergedStream);
|
|
35
|
-
* assertEquals(merged.toSorted(), [1, 2, 3, 4, 5, 6]);
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
export function mergeReadableStreams(...streams) {
|
|
39
|
-
const resolvePromises = streams.map(() => Promise.withResolvers());
|
|
40
|
-
return new ReadableStream({
|
|
41
|
-
start(controller) {
|
|
42
|
-
let mustClose = false;
|
|
43
|
-
Promise.all(resolvePromises.map(({ promise }) => promise))
|
|
44
|
-
.then(() => {
|
|
45
|
-
controller.close();
|
|
46
|
-
})
|
|
47
|
-
.catch((error) => {
|
|
48
|
-
mustClose = true;
|
|
49
|
-
controller.error(error);
|
|
50
|
-
});
|
|
51
|
-
for (const [index, stream] of streams.entries()) {
|
|
52
|
-
(async () => {
|
|
53
|
-
try {
|
|
54
|
-
for await (const data of stream) {
|
|
55
|
-
if (mustClose) {
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
controller.enqueue(data);
|
|
59
|
-
}
|
|
60
|
-
resolvePromises[index].resolve();
|
|
61
|
-
}
|
|
62
|
-
catch (error) {
|
|
63
|
-
resolvePromises[index].reject(error);
|
|
64
|
-
}
|
|
65
|
-
})();
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
});
|
|
69
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utilities for working with the
|
|
3
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Streams_API | Streams API}.
|
|
4
|
-
*
|
|
5
|
-
* Includes buffering and conversion.
|
|
6
|
-
*
|
|
7
|
-
* ```ts
|
|
8
|
-
* import { toText } from "@std/streams";
|
|
9
|
-
* import { assertEquals } from "@std/assert";
|
|
10
|
-
*
|
|
11
|
-
* const stream = ReadableStream.from(["Hello, world!"]);
|
|
12
|
-
* const text = await toText(stream);
|
|
13
|
-
*
|
|
14
|
-
* assertEquals(text, "Hello, world!");
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* @module
|
|
18
|
-
*/
|
|
19
|
-
export * from "./buffer.js";
|
|
20
|
-
export * from "./byte_slice_stream.js";
|
|
21
|
-
export * from "./concat_readable_streams.js";
|
|
22
|
-
export * from "./delimiter_stream.js";
|
|
23
|
-
export * from "./early_zip_readable_streams.js";
|
|
24
|
-
export * from "./limited_bytes_transform_stream.js";
|
|
25
|
-
export * from "./limited_transform_stream.js";
|
|
26
|
-
export * from "./merge_readable_streams.js";
|
|
27
|
-
export * from "./text_delimiter_stream.js";
|
|
28
|
-
export * from "./text_line_stream.js";
|
|
29
|
-
export * from "./to_array_buffer.js";
|
|
30
|
-
export * from "./to_blob.js";
|
|
31
|
-
export * from "./to_json.js";
|
|
32
|
-
export * from "./to_text.js";
|
|
33
|
-
export * from "./to_transform_stream.js";
|
|
34
|
-
export * from "./zip_readable_streams.js";
|
|
35
|
-
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/mod.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;GAiBG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
-
/**
|
|
3
|
-
* Utilities for working with the
|
|
4
|
-
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Streams_API | Streams API}.
|
|
5
|
-
*
|
|
6
|
-
* Includes buffering and conversion.
|
|
7
|
-
*
|
|
8
|
-
* ```ts
|
|
9
|
-
* import { toText } from "@std/streams";
|
|
10
|
-
* import { assertEquals } from "@std/assert";
|
|
11
|
-
*
|
|
12
|
-
* const stream = ReadableStream.from(["Hello, world!"]);
|
|
13
|
-
* const text = await toText(stream);
|
|
14
|
-
*
|
|
15
|
-
* assertEquals(text, "Hello, world!");
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @module
|
|
19
|
-
*/
|
|
20
|
-
export * from "./buffer.js";
|
|
21
|
-
export * from "./byte_slice_stream.js";
|
|
22
|
-
export * from "./concat_readable_streams.js";
|
|
23
|
-
export * from "./delimiter_stream.js";
|
|
24
|
-
export * from "./early_zip_readable_streams.js";
|
|
25
|
-
export * from "./limited_bytes_transform_stream.js";
|
|
26
|
-
export * from "./limited_transform_stream.js";
|
|
27
|
-
export * from "./merge_readable_streams.js";
|
|
28
|
-
export * from "./text_delimiter_stream.js";
|
|
29
|
-
export * from "./text_line_stream.js";
|
|
30
|
-
export * from "./to_array_buffer.js";
|
|
31
|
-
export * from "./to_blob.js";
|
|
32
|
-
export * from "./to_json.js";
|
|
33
|
-
export * from "./to_text.js";
|
|
34
|
-
export * from "./to_transform_stream.js";
|
|
35
|
-
export * from "./zip_readable_streams.js";
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { DelimiterStreamOptions } from "./delimiter_stream.js";
|
|
2
|
-
/**
|
|
3
|
-
* Transform a stream `string` into a stream where each chunk is divided by a
|
|
4
|
-
* given delimiter.
|
|
5
|
-
*
|
|
6
|
-
* If you are working with a stream of `Uint8Array`, consider using {@linkcode DelimiterStream}.
|
|
7
|
-
*
|
|
8
|
-
* If you want to split by a newline, consider using {@linkcode TextLineStream}.
|
|
9
|
-
*
|
|
10
|
-
* @example Comma-separated values
|
|
11
|
-
* ```ts
|
|
12
|
-
* import { TextDelimiterStream } from "@std/streams/text-delimiter-stream";
|
|
13
|
-
* import { assertEquals } from "@std/assert";
|
|
14
|
-
*
|
|
15
|
-
* const stream = ReadableStream.from([
|
|
16
|
-
* "alice,20,",
|
|
17
|
-
* ",US,",
|
|
18
|
-
* ]);
|
|
19
|
-
*
|
|
20
|
-
* const valueStream = stream.pipeThrough(new TextDelimiterStream(","));
|
|
21
|
-
*
|
|
22
|
-
* assertEquals(
|
|
23
|
-
* await Array.fromAsync(valueStream),
|
|
24
|
-
* ["alice", "20", "", "US", ""],
|
|
25
|
-
* );
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @example Semicolon-separated values with suffix disposition
|
|
29
|
-
* ```ts
|
|
30
|
-
* import { TextDelimiterStream } from "@std/streams/text-delimiter-stream";
|
|
31
|
-
* import { assertEquals } from "@std/assert";
|
|
32
|
-
*
|
|
33
|
-
* const stream = ReadableStream.from([
|
|
34
|
-
* "const a = 42;;let b =",
|
|
35
|
-
* " true;",
|
|
36
|
-
* ]);
|
|
37
|
-
*
|
|
38
|
-
* const valueStream = stream.pipeThrough(
|
|
39
|
-
* new TextDelimiterStream(";", { disposition: "suffix" }),
|
|
40
|
-
* );
|
|
41
|
-
*
|
|
42
|
-
* assertEquals(
|
|
43
|
-
* await Array.fromAsync(valueStream),
|
|
44
|
-
* ["const a = 42;", ";", "let b = true;", ""],
|
|
45
|
-
* );
|
|
46
|
-
* ```
|
|
47
|
-
*/
|
|
48
|
-
export declare class TextDelimiterStream extends TransformStream<string, string> {
|
|
49
|
-
#private;
|
|
50
|
-
/**
|
|
51
|
-
* Constructs a new instance.
|
|
52
|
-
*
|
|
53
|
-
* @param delimiter A delimiter to split the stream by.
|
|
54
|
-
* @param options Options for the stream.
|
|
55
|
-
*/
|
|
56
|
-
constructor(delimiter: string, options?: DelimiterStreamOptions);
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=text_delimiter_stream.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"text_delimiter_stream.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.14/text_delimiter_stream.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,qBAAa,mBAAoB,SAAQ,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC;;IAQtE;;;;;OAKG;gBAED,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,sBAAsB;CAkDnC"}
|