@mtkruto/node 0.66.2 → 0.66.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/0_deps.d.ts +10 -9
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +10 -9
- package/esm/client/2_update_manager.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +155 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/_util.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/abortable.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/abortable.js +2 -2
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/deadline.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/debounce.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/delay.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mod.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mux_async_iterator.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/pool.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/retry.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/tee.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/bytes/1.0.5 → esm/deps/jsr.io/@std/bytes/1.0.6}/concat.d.ts +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/datetime/0.225.5/_date_time_formatter.d.ts +19 -0
- package/esm/deps/jsr.io/@std/datetime/0.225.5/_date_time_formatter.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/datetime/0.225.5/_date_time_formatter.js +550 -0
- package/esm/deps/jsr.io/@std/datetime/{0.225.4 → 0.225.5}/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/datetime/0.225.5/format.d.ts +70 -0
- package/esm/deps/jsr.io/@std/datetime/0.225.5/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/datetime/0.225.5/format.js +66 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/basename.d.ts +3 -4
- package/esm/deps/jsr.io/@std/path/1.1.0/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/basename.js +2 -3
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/extname.d.ts +3 -4
- package/esm/deps/jsr.io/@std/path/1.1.0/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/extname.js +2 -3
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/join.d.ts +4 -4
- package/esm/deps/jsr.io/@std/path/1.1.0/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/join.js +5 -5
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/posix/basename.d.ts +3 -4
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/basename.js +6 -3
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/extname.d.ts +4 -4
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/extname.js +7 -3
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/posix/join.d.ts +4 -6
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/join.js +10 -7
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize.d.ts +3 -6
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize.js +6 -5
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/posix/to_file_url.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/to_file_url.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/_util.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/basename.d.ts +3 -4
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/basename.js +6 -3
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/extname.d.ts +3 -6
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/extname.js +6 -5
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.js +30 -0
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/is_absolute.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/join.js +9 -6
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/normalize.d.ts +3 -6
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/normalize.js +6 -5
- package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/streams/1.0.10/to_array_buffer.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/{1.0.9 → 1.0.10}/to_array_buffer.js +1 -1
- package/esm/utilities/1_logger.d.ts.map +1 -1
- package/esm/utilities/1_logger.js +2 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +10 -9
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +12 -10
- package/script/client/2_update_manager.d.ts.map +1 -1
- package/script/client/2_update_manager.js +155 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/_util.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/abortable.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/abortable.js +2 -2
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/deadline.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/debounce.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/delay.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mod.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mux_async_iterator.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/pool.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/retry.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/tee.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/bytes/1.0.5 → script/deps/jsr.io/@std/bytes/1.0.6}/concat.d.ts +1 -1
- package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/datetime/0.225.5/_date_time_formatter.d.ts +19 -0
- package/script/deps/jsr.io/@std/datetime/0.225.5/_date_time_formatter.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/datetime/0.225.5/_date_time_formatter.js +554 -0
- package/script/deps/jsr.io/@std/datetime/{0.225.4 → 0.225.5}/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/datetime/0.225.5/format.d.ts +70 -0
- package/script/deps/jsr.io/@std/datetime/0.225.5/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/datetime/0.225.5/format.js +69 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.js +12 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/basename.d.ts +3 -4
- package/script/deps/jsr.io/@std/path/1.1.0/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/basename.js +2 -3
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/extname.d.ts +3 -4
- package/script/deps/jsr.io/@std/path/1.1.0/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/extname.js +2 -3
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/join.d.ts +4 -4
- package/script/deps/jsr.io/@std/path/1.1.0/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/join.js +5 -5
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/posix/basename.d.ts +3 -4
- package/script/deps/jsr.io/@std/path/1.1.0/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/basename.js +6 -3
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/extname.d.ts +4 -4
- package/script/deps/jsr.io/@std/path/1.1.0/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/extname.js +7 -3
- package/script/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.js +24 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/posix/join.d.ts +4 -6
- package/script/deps/jsr.io/@std/path/1.1.0/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/join.js +10 -7
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize.d.ts +3 -6
- package/script/deps/jsr.io/@std/path/1.1.0/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize.js +6 -5
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/posix/to_file_url.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/to_file_url.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/windows/_util.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/windows/basename.d.ts +3 -4
- package/script/deps/jsr.io/@std/path/1.1.0/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/basename.js +6 -3
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/windows/extname.d.ts +3 -6
- package/script/deps/jsr.io/@std/path/1.1.0/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/extname.js +6 -5
- package/script/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.js +33 -0
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/windows/is_absolute.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/join.js +9 -6
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/windows/normalize.d.ts +3 -6
- package/script/deps/jsr.io/@std/path/1.1.0/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/normalize.js +6 -5
- package/{esm/deps/jsr.io/@std/path/1.0.9 → script/deps/jsr.io/@std/path/1.1.0}/windows/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/streams/1.0.10/to_array_buffer.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/{1.0.9 → 1.0.10}/to_array_buffer.js +1 -1
- package/script/utilities/1_logger.d.ts.map +1 -1
- package/script/utilities/1_logger.js +2 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/posix/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/windows/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.9/to_array_buffer.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/posix/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/posix/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/posix/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/posix/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/windows/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/windows/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.9/windows/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.9/to_array_buffer.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/abortable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/deadline.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/deadline.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/debounce.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/debounce.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/delay.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/delay.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mod.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mux_async_iterator.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mux_async_iterator.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/pool.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/pool.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/retry.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/retry.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/tee.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/tee.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.js +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.4 → 0.225.5}/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.4 → 0.225.5}/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_os.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.9 → 1.0.10}/to_array_buffer.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/_util.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/abortable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/deadline.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/deadline.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/debounce.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/debounce.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/delay.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/delay.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mod.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mod.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mux_async_iterator.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/mux_async_iterator.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/pool.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/pool.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/retry.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/retry.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/tee.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.12 → 1.0.13}/tee.js +0 -0
- /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.js +0 -0
- /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.js +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.4 → 0.225.5}/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.4 → 0.225.5}/constants.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_os.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.9 → 1.0.10}/to_array_buffer.d.ts +0 -0
package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/basename.d.ts
RENAMED
|
@@ -10,14 +10,13 @@
|
|
|
10
10
|
* assertEquals(basename("C:\\user\\Documents\\"), "Documents");
|
|
11
11
|
* assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
|
|
12
12
|
* assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
|
|
13
|
+
* assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
|
|
14
|
+
* assertEquals(basename(new URL("file:///C:/user/Documents/image.png"), ".png"), "image");
|
|
13
15
|
* ```
|
|
14
16
|
*
|
|
15
|
-
* Note: If you are working with file URLs,
|
|
16
|
-
* use the new version of `basename` from `@std/path/windows/unstable-basename`.
|
|
17
|
-
*
|
|
18
17
|
* @param path The path to extract the name from.
|
|
19
18
|
* @param suffix The suffix to remove from extracted name.
|
|
20
19
|
* @returns The extracted name.
|
|
21
20
|
*/
|
|
22
|
-
export declare function basename(path: string, suffix?: string): string;
|
|
21
|
+
export declare function basename(path: string | URL, suffix?: string): string;
|
|
23
22
|
//# sourceMappingURL=basename.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basename.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.0/windows/basename.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,MAAM,SAAK,GAAG,MAAM,CAoBhE"}
|
|
@@ -4,6 +4,7 @@ import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.j
|
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
5
5
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
6
6
|
import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
7
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
7
8
|
/**
|
|
8
9
|
* Return the last portion of a `path`.
|
|
9
10
|
* Trailing directory separators are ignored, and optional suffix is removed.
|
|
@@ -16,16 +17,18 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
|
16
17
|
* assertEquals(basename("C:\\user\\Documents\\"), "Documents");
|
|
17
18
|
* assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
|
|
18
19
|
* assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
|
|
20
|
+
* assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
|
|
21
|
+
* assertEquals(basename(new URL("file:///C:/user/Documents/image.png"), ".png"), "image");
|
|
19
22
|
* ```
|
|
20
23
|
*
|
|
21
|
-
* Note: If you are working with file URLs,
|
|
22
|
-
* use the new version of `basename` from `@std/path/windows/unstable-basename`.
|
|
23
|
-
*
|
|
24
24
|
* @param path The path to extract the name from.
|
|
25
25
|
* @param suffix The suffix to remove from extracted name.
|
|
26
26
|
* @returns The extracted name.
|
|
27
27
|
*/
|
|
28
28
|
export function basename(path, suffix = "") {
|
|
29
|
+
if (path instanceof URL) {
|
|
30
|
+
path = fromFileUrl(path);
|
|
31
|
+
}
|
|
29
32
|
assertArgs(path, suffix);
|
|
30
33
|
// Check for a drive letter prefix so as not to mistake the following
|
|
31
34
|
// path separator as an extra separator at the end of the path that can be
|
package/{script/deps/jsr.io/@std/path/1.0.9 → esm/deps/jsr.io/@std/path/1.1.0}/windows/extname.d.ts
RENAMED
|
@@ -6,15 +6,12 @@
|
|
|
6
6
|
* import { extname } from "@std/path/windows/extname";
|
|
7
7
|
* import { assertEquals } from "@std/assert";
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
* assertEquals(ext, ".
|
|
9
|
+
* assertEquals(extname("file.ts"), ".ts");
|
|
10
|
+
* assertEquals(extname(new URL("file:///C:/foo/bar/baz.ext")), ".ext");
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
|
-
* Note: If you are working with file URLs,
|
|
14
|
-
* use the new version of `extname` from `@std/path/windows/unstable-extname`.
|
|
15
|
-
*
|
|
16
13
|
* @param path The path to get the extension from.
|
|
17
14
|
* @returns The extension of the `path`.
|
|
18
15
|
*/
|
|
19
|
-
export declare function extname(path: string): string;
|
|
16
|
+
export declare function extname(path: string | URL): string;
|
|
20
17
|
//# sourceMappingURL=extname.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extname.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.0/windows/extname.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CAkElD"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { CHAR_COLON, CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
5
5
|
import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
6
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
6
7
|
/**
|
|
7
8
|
* Return the extension of the `path` with leading period.
|
|
8
9
|
*
|
|
@@ -11,17 +12,17 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
|
11
12
|
* import { extname } from "@std/path/windows/extname";
|
|
12
13
|
* import { assertEquals } from "@std/assert";
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
* assertEquals(ext, ".
|
|
15
|
+
* assertEquals(extname("file.ts"), ".ts");
|
|
16
|
+
* assertEquals(extname(new URL("file:///C:/foo/bar/baz.ext")), ".ext");
|
|
16
17
|
* ```
|
|
17
18
|
*
|
|
18
|
-
* Note: If you are working with file URLs,
|
|
19
|
-
* use the new version of `extname` from `@std/path/windows/unstable-extname`.
|
|
20
|
-
*
|
|
21
19
|
* @param path The path to get the extension from.
|
|
22
20
|
* @returns The extension of the `path`.
|
|
23
21
|
*/
|
|
24
22
|
export function extname(path) {
|
|
23
|
+
if (path instanceof URL) {
|
|
24
|
+
path = fromFileUrl(path);
|
|
25
|
+
}
|
|
25
26
|
assertPath(path);
|
|
26
27
|
let start = 0;
|
|
27
28
|
let startDot = -1;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a file URL to a path string.
|
|
3
|
+
*
|
|
4
|
+
* @example Usage
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { fromFileUrl } from "@std/path/windows/from-file-url";
|
|
7
|
+
* import { assertEquals } from "@std/assert";
|
|
8
|
+
*
|
|
9
|
+
* assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
|
|
10
|
+
* assertEquals(fromFileUrl("file:///C:/Users/foo"), "C:\\Users\\foo");
|
|
11
|
+
* assertEquals(fromFileUrl("file://localhost/home/foo"), "\\home\\foo");
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @param url The file URL to convert.
|
|
15
|
+
* @returns The path string.
|
|
16
|
+
*/
|
|
17
|
+
export declare function fromFileUrl(url: URL | string): string;
|
|
18
|
+
//# sourceMappingURL=from_file_url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"from_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,MAAM,CAYrD"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
|
+
// This module is browser compatible.
|
|
3
|
+
import { assertArg } from "../_common/from_file_url.js";
|
|
4
|
+
/**
|
|
5
|
+
* Converts a file URL to a path string.
|
|
6
|
+
*
|
|
7
|
+
* @example Usage
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { fromFileUrl } from "@std/path/windows/from-file-url";
|
|
10
|
+
* import { assertEquals } from "@std/assert";
|
|
11
|
+
*
|
|
12
|
+
* assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
|
|
13
|
+
* assertEquals(fromFileUrl("file:///C:/Users/foo"), "C:\\Users\\foo");
|
|
14
|
+
* assertEquals(fromFileUrl("file://localhost/home/foo"), "\\home\\foo");
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* @param url The file URL to convert.
|
|
18
|
+
* @returns The path string.
|
|
19
|
+
*/
|
|
20
|
+
export function fromFileUrl(url) {
|
|
21
|
+
url = assertArg(url);
|
|
22
|
+
let path = decodeURIComponent(url.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
|
|
23
|
+
if (url.hostname !== "") {
|
|
24
|
+
// Note: The `URL` implementation guarantees that the drive letter and
|
|
25
|
+
// hostname are mutually exclusive. Otherwise it would not have been valid
|
|
26
|
+
// to append the hostname and path like this.
|
|
27
|
+
path = `\\\\${url.hostname}${path}`;
|
|
28
|
+
}
|
|
29
|
+
return path;
|
|
30
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is_absolute.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0
|
|
1
|
+
{"version":3,"file":"is_absolute.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.0/windows/is_absolute.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAiBhD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
|
3
|
+
*
|
|
4
|
+
* @example Usage
|
|
5
|
+
* ```ts
|
|
6
|
+
* import { join } from "@std/path/windows/join";
|
|
7
|
+
* import { assertEquals } from "@std/assert";
|
|
8
|
+
*
|
|
9
|
+
* assertEquals(join("C:\\foo", "bar", "baz\\.."), "C:\\foo\\bar");
|
|
10
|
+
* assertEquals(join(new URL("file:///C:/foo"), "bar", "baz\\.."), "C:\\foo\\bar");
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @param path The path to join. This can be string or file URL.
|
|
14
|
+
* @param paths The paths to join.
|
|
15
|
+
* @returns The joined path.
|
|
16
|
+
*/
|
|
17
|
+
export declare function join(path?: URL | string, ...paths: string[]): string;
|
|
18
|
+
//# sourceMappingURL=join.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"join.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.0/windows/join.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,MAAM,EAAE,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAqDpE"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { assertPath } from "../_common/assert_path.js";
|
|
4
4
|
import { isPathSeparator } from "./_util.js";
|
|
5
5
|
import { normalize } from "./normalize.js";
|
|
6
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
6
7
|
/**
|
|
7
8
|
* Join all given a sequence of `paths`,then normalizes the resulting path.
|
|
8
9
|
*
|
|
@@ -11,17 +12,19 @@ import { normalize } from "./normalize.js";
|
|
|
11
12
|
* import { join } from "@std/path/windows/join";
|
|
12
13
|
* import { assertEquals } from "@std/assert";
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
* assertEquals(
|
|
15
|
+
* assertEquals(join("C:\\foo", "bar", "baz\\.."), "C:\\foo\\bar");
|
|
16
|
+
* assertEquals(join(new URL("file:///C:/foo"), "bar", "baz\\.."), "C:\\foo\\bar");
|
|
16
17
|
* ```
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
-
* use the new version of `join` from `@std/path/windows/unstable-join`.
|
|
20
|
-
*
|
|
19
|
+
* @param path The path to join. This can be string or file URL.
|
|
21
20
|
* @param paths The paths to join.
|
|
22
21
|
* @returns The joined path.
|
|
23
22
|
*/
|
|
24
|
-
export function join(...paths) {
|
|
23
|
+
export function join(path, ...paths) {
|
|
24
|
+
if (path instanceof URL) {
|
|
25
|
+
path = fromFileUrl(path);
|
|
26
|
+
}
|
|
27
|
+
paths = path ? [path, ...paths] : paths;
|
|
25
28
|
paths.forEach((path) => assertPath(path));
|
|
26
29
|
paths = paths.filter((path) => path.length > 0);
|
|
27
30
|
if (paths.length === 0)
|
|
@@ -8,15 +8,12 @@
|
|
|
8
8
|
* import { normalize } from "@std/path/windows/normalize";
|
|
9
9
|
* import { assertEquals } from "@std/assert";
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* assertEquals(
|
|
11
|
+
* assertEquals(normalize("C:\\foo\\..\\bar"), "C:\\bar");
|
|
12
|
+
* assertEquals(normalize(new URL("file:///C:/foo/../bar")), "C:\\bar");
|
|
13
13
|
* ```
|
|
14
14
|
*
|
|
15
|
-
* Note: If you are working with file URLs,
|
|
16
|
-
* use the new version of `normalize` from `@std/path/windows/unstable-normalize`.
|
|
17
|
-
*
|
|
18
15
|
* @param path The path to normalize
|
|
19
16
|
* @returns The normalized path
|
|
20
17
|
*/
|
|
21
|
-
export declare function normalize(path: string): string;
|
|
18
|
+
export declare function normalize(path: string | URL): string;
|
|
22
19
|
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.0/windows/normalize.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,CA6GpD"}
|
|
@@ -4,6 +4,7 @@ import { assertArg } from "../_common/normalize.js";
|
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
5
5
|
import { normalizeString } from "../_common/normalize_string.js";
|
|
6
6
|
import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
7
|
+
import { fromFileUrl } from "./from_file_url.js";
|
|
7
8
|
/**
|
|
8
9
|
* Normalize the `path`, resolving `'..'` and `'.'` segments.
|
|
9
10
|
* Note that resolving these segments does not necessarily mean that all will be eliminated.
|
|
@@ -14,17 +15,17 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
|
|
|
14
15
|
* import { normalize } from "@std/path/windows/normalize";
|
|
15
16
|
* import { assertEquals } from "@std/assert";
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
-
* assertEquals(
|
|
18
|
+
* assertEquals(normalize("C:\\foo\\..\\bar"), "C:\\bar");
|
|
19
|
+
* assertEquals(normalize(new URL("file:///C:/foo/../bar")), "C:\\bar");
|
|
19
20
|
* ```
|
|
20
21
|
*
|
|
21
|
-
* Note: If you are working with file URLs,
|
|
22
|
-
* use the new version of `normalize` from `@std/path/windows/unstable-normalize`.
|
|
23
|
-
*
|
|
24
22
|
* @param path The path to normalize
|
|
25
23
|
* @returns The normalized path
|
|
26
24
|
*/
|
|
27
25
|
export function normalize(path) {
|
|
26
|
+
if (path instanceof URL) {
|
|
27
|
+
path = fromFileUrl(path);
|
|
28
|
+
}
|
|
28
29
|
assertArg(path);
|
|
29
30
|
const len = path.length;
|
|
30
31
|
let rootEnd = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0
|
|
1
|
+
{"version":3,"file":"to_file_url.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.1.0/windows/to_file_url.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAgB3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to_array_buffer.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.0.10/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,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
|
-
import { concat } from "../../bytes/1.0.
|
|
3
|
+
import { concat } from "../../bytes/1.0.6/concat.js";
|
|
4
4
|
/**
|
|
5
5
|
* Converts a {@linkcode ReadableStream} of {@linkcode Uint8Array}s to an
|
|
6
6
|
* {@linkcode ArrayBuffer}. Works the same as {@linkcode Response.arrayBuffer}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_logger.d.ts","sourceRoot":"","sources":["../../src/utilities/1_logger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"1_logger.d.ts","sourceRoot":"","sources":["../../src/utilities/1_logger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,QAEjD;AAGD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,QAElD;AAGD,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3B,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3B,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC5B,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;CAC3B;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,eAAe,QAE5D;AAED,eAAO,MAAM,KAAK,IAAI,CAAC;AACvB,eAAO,MAAM,OAAO,IAAI,CAAC;AACzB,eAAO,MAAM,IAAI,IAAI,CAAC;AACtB,eAAO,MAAM,KAAK,IAAI,CAAC;AACvB,eAAO,MAAM,KAAK,IAAI,CAAC;AACvB,eAAO,MAAM,EAAE,KAAK,CAAC;AACrB,eAAO,MAAM,GAAG,KAAK,CAAC;AACtB,eAAO,MAAM,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,OAAO,KAAK,CAAC;AAW1B,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM;eAExB,MAAM;iBAGJ,MAAM;mBAGJ,GAAG,EAAE;qBAGH,GAAG,EAAE;kBAGR,GAAG,EAAE;mBAGJ,GAAG,EAAE;mBAGL,GAAG,EAAE;gBAGR,GAAG,EAAE;iBAGJ,GAAG,EAAE;aAGT,UAAU;cAMT,UAAU;oBAMJ,MAAM,WAAW,GAAG,EAAE;EA2BzC;AAED,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
20
|
// deno-lint-ignore-file no-explicit-any
|
|
21
|
+
import { format } from "../0_deps.js";
|
|
21
22
|
import { getNumber, getString } from "./0_env.js";
|
|
22
23
|
let verbosity = getNumber("LOG_VERBOSITY") || 0;
|
|
23
24
|
export function setLogVerbosity(verbosity_) {
|
|
@@ -115,7 +116,7 @@ export function getLogger(scope) {
|
|
|
115
116
|
default:
|
|
116
117
|
fn = provider.log;
|
|
117
118
|
}
|
|
118
|
-
fn(`[${verbosity_} ${scope}]`, ...args);
|
|
119
|
+
fn(`[${format(new Date(), "yyyy.MM.dd HH:mm:ss.SSS")} ${verbosity_} ${scope}]`, ...args);
|
|
119
120
|
},
|
|
120
121
|
};
|
|
121
122
|
}
|
package/package.json
CHANGED
package/script/0_deps.d.ts
CHANGED
|
@@ -22,16 +22,17 @@ export { assertFalse } from "./deps/jsr.io/@std/assert/1.0.13/false.js";
|
|
|
22
22
|
export { assertEquals } from "./deps/jsr.io/@std/assert/1.0.13/equals.js";
|
|
23
23
|
export { unreachable } from "./deps/jsr.io/@std/assert/1.0.13/unreachable.js";
|
|
24
24
|
export { AssertionError } from "./deps/jsr.io/@std/assert/1.0.13/assertion_error.js";
|
|
25
|
-
export { join } from "./deps/jsr.io/@std/path/1.0
|
|
26
|
-
export { extname } from "./deps/jsr.io/@std/path/1.0
|
|
27
|
-
export { basename } from "./deps/jsr.io/@std/path/1.0
|
|
28
|
-
export { toFileUrl } from "./deps/jsr.io/@std/path/1.0
|
|
29
|
-
export { isAbsolute } from "./deps/jsr.io/@std/path/1.0
|
|
30
|
-
export { delay } from "./deps/jsr.io/@std/async/1.0.
|
|
31
|
-
export { concat } from "./deps/jsr.io/@std/bytes/1.0.
|
|
25
|
+
export { join } from "./deps/jsr.io/@std/path/1.1.0/join.js";
|
|
26
|
+
export { extname } from "./deps/jsr.io/@std/path/1.1.0/extname.js";
|
|
27
|
+
export { basename } from "./deps/jsr.io/@std/path/1.1.0/basename.js";
|
|
28
|
+
export { toFileUrl } from "./deps/jsr.io/@std/path/1.1.0/to_file_url.js";
|
|
29
|
+
export { isAbsolute } from "./deps/jsr.io/@std/path/1.1.0/is_absolute.js";
|
|
30
|
+
export { delay } from "./deps/jsr.io/@std/async/1.0.13/mod.js";
|
|
31
|
+
export { concat } from "./deps/jsr.io/@std/bytes/1.0.6/concat.js";
|
|
32
32
|
export { iterateReader } from "./deps/jsr.io/@std/io/0.225.2/iterate_reader.js";
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
33
|
+
export { format } from "./deps/jsr.io/@std/datetime/0.225.5/format.js";
|
|
34
|
+
export { MINUTE, SECOND } from "./deps/jsr.io/@std/datetime/0.225.5/constants.js";
|
|
35
|
+
export { toArrayBuffer } from "./deps/jsr.io/@std/streams/1.0.10/to_array_buffer.js";
|
|
35
36
|
export { decodeBase64, encodeBase64 } from "./deps/jsr.io/@std/encoding/1.0.7/base64.js";
|
|
36
37
|
import { contentType as contentType_ } from "./deps/jsr.io/@std/media-types/1.1.0/content_type.js";
|
|
37
38
|
export declare const contentType: typeof contentType_;
|
package/script/0_deps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_deps.d.ts","sourceRoot":"","sources":["../src/0_deps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAErF,OAAO,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,kDAAkD,CAAC;AAElF,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"0_deps.d.ts","sourceRoot":"","sources":["../src/0_deps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAErF,OAAO,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AAEvE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,kDAAkD,CAAC;AAElF,OAAO,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAErF,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,sDAAsD,CAAC;AACnG,eAAO,MAAM,WAAW,EAAE,OAAO,YAMhC,CAAC;AAEF,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,UAMzC;AAED,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAEnH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC"}
|
package/script/0_deps.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.Parser = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.toArrayBuffer = exports.SECOND = exports.MINUTE = exports.iterateReader = exports.concat = exports.delay = exports.isAbsolute = exports.toFileUrl = exports.basename = exports.extname = exports.join = exports.AssertionError = exports.unreachable = exports.assertEquals = exports.assertFalse = exports.assert = void 0;
|
|
22
|
+
exports.Parser = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.toArrayBuffer = exports.SECOND = exports.MINUTE = exports.format = exports.iterateReader = exports.concat = exports.delay = exports.isAbsolute = exports.toFileUrl = exports.basename = exports.extname = exports.join = exports.AssertionError = exports.unreachable = exports.assertEquals = exports.assertFalse = exports.assert = void 0;
|
|
23
23
|
exports.extension = extension;
|
|
24
24
|
var assert_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/assert.js");
|
|
25
25
|
Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return assert_js_1.assert; } });
|
|
@@ -31,26 +31,28 @@ var unreachable_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/unreachable.js"
|
|
|
31
31
|
Object.defineProperty(exports, "unreachable", { enumerable: true, get: function () { return unreachable_js_1.unreachable; } });
|
|
32
32
|
var assertion_error_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/assertion_error.js");
|
|
33
33
|
Object.defineProperty(exports, "AssertionError", { enumerable: true, get: function () { return assertion_error_js_1.AssertionError; } });
|
|
34
|
-
var join_js_1 = require("./deps/jsr.io/@std/path/1.0
|
|
34
|
+
var join_js_1 = require("./deps/jsr.io/@std/path/1.1.0/join.js");
|
|
35
35
|
Object.defineProperty(exports, "join", { enumerable: true, get: function () { return join_js_1.join; } });
|
|
36
|
-
var extname_js_1 = require("./deps/jsr.io/@std/path/1.0
|
|
36
|
+
var extname_js_1 = require("./deps/jsr.io/@std/path/1.1.0/extname.js");
|
|
37
37
|
Object.defineProperty(exports, "extname", { enumerable: true, get: function () { return extname_js_1.extname; } });
|
|
38
|
-
var basename_js_1 = require("./deps/jsr.io/@std/path/1.0
|
|
38
|
+
var basename_js_1 = require("./deps/jsr.io/@std/path/1.1.0/basename.js");
|
|
39
39
|
Object.defineProperty(exports, "basename", { enumerable: true, get: function () { return basename_js_1.basename; } });
|
|
40
|
-
var to_file_url_js_1 = require("./deps/jsr.io/@std/path/1.0
|
|
40
|
+
var to_file_url_js_1 = require("./deps/jsr.io/@std/path/1.1.0/to_file_url.js");
|
|
41
41
|
Object.defineProperty(exports, "toFileUrl", { enumerable: true, get: function () { return to_file_url_js_1.toFileUrl; } });
|
|
42
|
-
var is_absolute_js_1 = require("./deps/jsr.io/@std/path/1.0
|
|
42
|
+
var is_absolute_js_1 = require("./deps/jsr.io/@std/path/1.1.0/is_absolute.js");
|
|
43
43
|
Object.defineProperty(exports, "isAbsolute", { enumerable: true, get: function () { return is_absolute_js_1.isAbsolute; } });
|
|
44
|
-
var mod_js_1 = require("./deps/jsr.io/@std/async/1.0.
|
|
44
|
+
var mod_js_1 = require("./deps/jsr.io/@std/async/1.0.13/mod.js");
|
|
45
45
|
Object.defineProperty(exports, "delay", { enumerable: true, get: function () { return mod_js_1.delay; } });
|
|
46
|
-
var concat_js_1 = require("./deps/jsr.io/@std/bytes/1.0.
|
|
46
|
+
var concat_js_1 = require("./deps/jsr.io/@std/bytes/1.0.6/concat.js");
|
|
47
47
|
Object.defineProperty(exports, "concat", { enumerable: true, get: function () { return concat_js_1.concat; } });
|
|
48
48
|
var iterate_reader_js_1 = require("./deps/jsr.io/@std/io/0.225.2/iterate_reader.js");
|
|
49
49
|
Object.defineProperty(exports, "iterateReader", { enumerable: true, get: function () { return iterate_reader_js_1.iterateReader; } });
|
|
50
|
-
var
|
|
50
|
+
var format_js_1 = require("./deps/jsr.io/@std/datetime/0.225.5/format.js");
|
|
51
|
+
Object.defineProperty(exports, "format", { enumerable: true, get: function () { return format_js_1.format; } });
|
|
52
|
+
var constants_js_1 = require("./deps/jsr.io/@std/datetime/0.225.5/constants.js");
|
|
51
53
|
Object.defineProperty(exports, "MINUTE", { enumerable: true, get: function () { return constants_js_1.MINUTE; } });
|
|
52
54
|
Object.defineProperty(exports, "SECOND", { enumerable: true, get: function () { return constants_js_1.SECOND; } });
|
|
53
|
-
var to_array_buffer_js_1 = require("./deps/jsr.io/@std/streams/1.0.
|
|
55
|
+
var to_array_buffer_js_1 = require("./deps/jsr.io/@std/streams/1.0.10/to_array_buffer.js");
|
|
54
56
|
Object.defineProperty(exports, "toArrayBuffer", { enumerable: true, get: function () { return to_array_buffer_js_1.toArrayBuffer; } });
|
|
55
57
|
var base64_js_1 = require("./deps/jsr.io/@std/encoding/1.0.7/base64.js");
|
|
56
58
|
Object.defineProperty(exports, "decodeBase64", { enumerable: true, get: function () { return base64_js_1.decodeBase64; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_update_manager.d.ts","sourceRoot":"","sources":["../../src/client/2_update_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAA4B,KAAK,EAAmB,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"2_update_manager.d.ts","sourceRoot":"","sources":["../../src/client/2_update_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAA4B,KAAK,EAAmB,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAGnC,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,KAAK,aAAa,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,KAAK,OAAO,CAAC,CAAC,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,SAAS,GACjB,GAAG,CAAC,gBAAgB,GACpB,GAAG,CAAC,oBAAoB,GACxB,GAAG,CAAC,sBAAsB,GAC1B,GAAG,CAAC,uBAAuB,GAC3B,GAAG,CAAC,2BAA2B,GAC/B,GAAG,CAAC,oBAAoB,GACxB,GAAG,CAAC,iBAAiB,GACrB,GAAG,CAAC,oBAAoB,GACxB,GAAG,CAAC,iBAAiB,GACrB,GAAG,CAAC,0BAA0B,GAC9B,GAAG,CAAC,aAAa,CAAC;AAEtB,MAAM,MAAM,gBAAgB,GACxB,GAAG,CAAC,uBAAuB,GAC3B,GAAG,CAAC,wBAAwB,GAC5B,GAAG,CAAC,2BAA2B,GAC/B,GAAG,CAAC,oBAAoB,CAAC;AAE7B,MAAM,MAAM,SAAS,GACjB,GAAG,CAAC,yBAAyB,GAC7B,GAAG,CAAC,qBAAqB,GACzB,GAAG,CAAC,gBAAgB,GACpB,GAAG,CAAC,qBAAqB,GACzB,GAAG,CAAC,wBAAwB,GAC5B,GAAG,CAAC,4BAA4B,GAChC,GAAG,CAAC,kBAAkB,GACtB,GAAG,CAAC,wBAAwB,GAC5B,GAAG,CAAC,yBAAyB,GAC7B,GAAG,CAAC,wBAAwB,GAC5B,GAAG,CAAC,2BAA2B,GAC/B,GAAG,CAAC,4BAA4B,GAChC,GAAG,CAAC,8BAA8B,CAAC;AAEvC,qBAAa,aAAa;;IACxB,MAAM,CAAC,QAAQ,CAAC,SAAS,KAAK;IAC9B,MAAM,CAAC,QAAQ,CAAC,WAAW,MAAM;gBAcrB,CAAC,EAAE,CAAC;IAahB,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,SAAS;IAIjD,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,SAAS;IAIjD,MAAM,CAAC,kBAAkB,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,CAAC,IAAI,gBAAgB;IAuCvE,UAAU,CAAC,MAAM,EAAE,MAAM;IA0DzB,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,gBAAgB;IA8B7D,aAAa,CAAC,MAAM,EAAE,GAAG,CAAC,gBAAgB;IA8C1C,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,gBAAgB;IAgCnE,oBAAoB,CAAC,KAAK,EAAE,MAAM;IA+JlC,cAAc,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,GAAE,GAAG,CAAC,SAAS,GAAG,IAAW,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI;IAsMvH,gBAAgB,CAAC,MAAM,EAAE,MAAM;IAmVrC,gBAAgB,CAAC,OAAO,EAAE,aAAa;IAKjC,QAAQ,CAAC,MAAM,EAAE,EAAE;IAkDnB,SAAS,CAAC,MAAM,EAAE,EAAE;IAW1B,aAAa;CAMd"}
|
|
@@ -29,7 +29,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
29
29
|
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");
|
|
30
30
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
31
31
|
};
|
|
32
|
-
var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_LrecoverUpdateGap, _UpdateManager_LrecoverChannelUpdateGap, _UpdateManager_L$handleUpdate, _UpdateManager_L$processUpdates, _UpdateManager_LfetchState, _UpdateManager_LopenChat, _UpdateManager_Lmin, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_extractMessages, _UpdateManager_extractMinPeerReferences, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkGapQts, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processQtsUpdateInner, _UpdateManager_qtsUpdateQueue, _UpdateManager_processQtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_setUpdateQts, _UpdateManager_getLocalState, _UpdateManager_recoveringUpdateGap, _UpdateManager_recoverUpdateGapMutex, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate, _UpdateManager_openChats;
|
|
32
|
+
var _UpdateManager_instances, _a, _UpdateManager_c, _UpdateManager_updateState, _UpdateManager_updateHandler, _UpdateManager_LrecoverUpdateGap, _UpdateManager_LrecoverChannelUpdateGap, _UpdateManager_L$handleUpdate, _UpdateManager_L$processUpdates, _UpdateManager_LfetchState, _UpdateManager_LopenChat, _UpdateManager_Lmin, _UpdateManager_defaultDropPendingUpdates, _UpdateManager_mustDropPendingUpdates, _UpdateManager_state, _UpdateManager_getState, _UpdateManager_setState, _UpdateManager_extractMessages, _UpdateManager_extractMinPeerReferences, _UpdateManager_handleUpdateQueues, _UpdateManager_nonFirst, _UpdateManager_getChannelPtsWithDropPendingUpdatesCheck, _UpdateManager_checkGap, _UpdateManager_checkGapQts, _UpdateManager_checkChannelGap, _UpdateManager_channelUpdateQueues, _UpdateManager_processChannelPtsUpdateInner, _UpdateManager_queueUpdate, _UpdateManager_processChannelPtsUpdate, _UpdateManager_processPtsUpdateInner, _UpdateManager_ptsUpdateQueue, _UpdateManager_processPtsUpdate, _UpdateManager_processQtsUpdateInner, _UpdateManager_qtsUpdateQueue, _UpdateManager_processQtsUpdate, _UpdateManager_processUpdatesQueue, _UpdateManager_processUpdates, _UpdateManager_setUpdateStateDate, _UpdateManager_setUpdatePts, _UpdateManager_setUpdateQts, _UpdateManager_getLocalState, _UpdateManager_recoveringUpdateGap, _UpdateManager_recoverUpdateGapMutex, _UpdateManager_recoverChannelUpdateGap, _UpdateManager_handleUpdatesSet, _UpdateManager_handleStoredUpdates, _UpdateManager_handleUpdate, _UpdateManager_needsGetDifference, _UpdateManager_collectChatIds, _UpdateManager_collectChatIdsFromEntities, _UpdateManager_openChats;
|
|
33
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
34
|
exports.UpdateManager = void 0;
|
|
35
35
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
@@ -38,6 +38,7 @@ const _1_utilities_js_1 = require("../1_utilities.js");
|
|
|
38
38
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
39
39
|
const _3_errors_js_1 = require("../3_errors.js");
|
|
40
40
|
const _4_constants_js_1 = require("../4_constants.js");
|
|
41
|
+
const _2_telegram_js_1 = require("../tl/2_telegram.js");
|
|
41
42
|
class UpdateManager {
|
|
42
43
|
constructor(c) {
|
|
43
44
|
_UpdateManager_instances.add(this);
|
|
@@ -520,6 +521,9 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
520
521
|
return;
|
|
521
522
|
}
|
|
522
523
|
}
|
|
524
|
+
if (await __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_needsGetDifference).call(this, update)) {
|
|
525
|
+
await this.recoverUpdateGap("needsGetDifference");
|
|
526
|
+
}
|
|
523
527
|
if (__classPrivateFieldGet(this, _UpdateManager_c, "f").guaranteeUpdateDelivery) {
|
|
524
528
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.setUpdate(_a.MAIN_BOX_ID, update);
|
|
525
529
|
}
|
|
@@ -856,6 +860,156 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
856
860
|
else {
|
|
857
861
|
return Promise.resolve(() => Promise.resolve());
|
|
858
862
|
}
|
|
863
|
+
}, _UpdateManager_needsGetDifference = async function _UpdateManager_needsGetDifference(update) {
|
|
864
|
+
const chatIds = __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_collectChatIds).call(this, update);
|
|
865
|
+
if (!chatIds.size) {
|
|
866
|
+
return false;
|
|
867
|
+
}
|
|
868
|
+
return (await Promise.all(chatIds.values().map((v) => __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.getEntity(v)))).some((v) => !!v);
|
|
869
|
+
}, _UpdateManager_collectChatIds = function _UpdateManager_collectChatIds(object) {
|
|
870
|
+
const chatIds = new Set();
|
|
871
|
+
if (_2_tl_js_1.Api.is("messageFwdHeader", object)) {
|
|
872
|
+
if (object.from_id) {
|
|
873
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.from_id));
|
|
874
|
+
}
|
|
875
|
+
if (object.saved_from_peer) {
|
|
876
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.saved_from_peer));
|
|
877
|
+
}
|
|
878
|
+
return chatIds;
|
|
879
|
+
}
|
|
880
|
+
if (_2_tl_js_1.Api.isOfEnum("MessageMedia", object)) {
|
|
881
|
+
switch (object._) {
|
|
882
|
+
case "messageMediaContact":
|
|
883
|
+
if (object.user_id) {
|
|
884
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerUser", user_id: object.user_id }));
|
|
885
|
+
}
|
|
886
|
+
break;
|
|
887
|
+
case "messageMediaStory":
|
|
888
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.peer));
|
|
889
|
+
break;
|
|
890
|
+
case "messageMediaGiveaway":
|
|
891
|
+
for (const chatId of object.channels.map((v) => (0, _2_telegram_js_1.peerToChatId)({ _: "peerChannel", channel_id: v }))) {
|
|
892
|
+
chatIds.add(chatId);
|
|
893
|
+
}
|
|
894
|
+
break;
|
|
895
|
+
case "messageMediaGiveawayResults":
|
|
896
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerChannel", channel_id: object.channel_id }));
|
|
897
|
+
for (const chatId of object.winners.map((user_id) => (0, _2_telegram_js_1.peerToChatId)({ _: "peerUser", user_id }))) {
|
|
898
|
+
chatIds.add(chatId);
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
return chatIds;
|
|
902
|
+
}
|
|
903
|
+
// messsages
|
|
904
|
+
if (!("message" in object)) {
|
|
905
|
+
return chatIds;
|
|
906
|
+
}
|
|
907
|
+
if (_2_tl_js_1.Api.is("messageEmpty", object.message)) {
|
|
908
|
+
return chatIds;
|
|
909
|
+
}
|
|
910
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.message.peer_id));
|
|
911
|
+
if (object.message.from_id) {
|
|
912
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.message.from_id));
|
|
913
|
+
}
|
|
914
|
+
if (_2_tl_js_1.Api.is("messageService", object.message)) {
|
|
915
|
+
switch (object.message.action._) {
|
|
916
|
+
case "messageActionChatCreate":
|
|
917
|
+
case "messageActionChatAddUser":
|
|
918
|
+
case "messageActionInviteToGroupCall":
|
|
919
|
+
for (const user_id of object.message.action.users) {
|
|
920
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerUser", user_id }));
|
|
921
|
+
}
|
|
922
|
+
break;
|
|
923
|
+
case "messageActionChatDeleteUser":
|
|
924
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerUser", user_id: object.message.action.user_id }));
|
|
925
|
+
break;
|
|
926
|
+
case "messageActionChatMigrateTo":
|
|
927
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerChannel", channel_id: object.message.action.channel_id }));
|
|
928
|
+
break;
|
|
929
|
+
case "messageActionChannelMigrateFrom":
|
|
930
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerChat", chat_id: object.message.action.chat_id }));
|
|
931
|
+
break;
|
|
932
|
+
case "messageActionConferenceCall":
|
|
933
|
+
if (object.message.action.other_participants) {
|
|
934
|
+
for (const participant of object.message.action.other_participants) {
|
|
935
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(participant));
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
break;
|
|
939
|
+
case "messageActionPaymentRefunded":
|
|
940
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.message.action.peer));
|
|
941
|
+
break;
|
|
942
|
+
case "messageActionGiftCode":
|
|
943
|
+
if (object.message.action.boost_peer) {
|
|
944
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.message.action.boost_peer));
|
|
945
|
+
}
|
|
946
|
+
break;
|
|
947
|
+
case "messageActionRequestedPeer":
|
|
948
|
+
if (__classPrivateFieldGet(this, _UpdateManager_c, "f").storage.accountType === "user") {
|
|
949
|
+
for (const peer of object.message.action.peers) {
|
|
950
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(peer));
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
break;
|
|
954
|
+
case "messageActionSetMessagesTTL":
|
|
955
|
+
if (object.message.action.auto_setting_from) {
|
|
956
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerUser", user_id: object.message.action.auto_setting_from }));
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
else {
|
|
961
|
+
if (object.message.reply_to) {
|
|
962
|
+
switch (object.message.reply_to._) {
|
|
963
|
+
case "messageReplyHeader":
|
|
964
|
+
if (object.message.reply_to.reply_to_peer_id) {
|
|
965
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.message.reply_to.reply_to_peer_id));
|
|
966
|
+
}
|
|
967
|
+
if (object.message.reply_to.reply_from) {
|
|
968
|
+
for (const chatId of __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_collectChatIds).call(this, object.message.reply_to.reply_from)) {
|
|
969
|
+
chatIds.add(chatId);
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
if (object.message.reply_to.quote_entities) {
|
|
973
|
+
for (const chatId of __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_collectChatIdsFromEntities).call(this, object.message.reply_to.quote_entities)) {
|
|
974
|
+
chatIds.add(chatId);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
if (object.message.reply_to.reply_media) {
|
|
978
|
+
for (const chatId of __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_collectChatIds).call(this, object.message.reply_to.reply_media)) {
|
|
979
|
+
chatIds.add(chatId);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
break;
|
|
983
|
+
case "messageReplyStoryHeader":
|
|
984
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)(object.message.reply_to.peer));
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
if (object.message.fwd_from) {
|
|
988
|
+
for (const chatId of __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_collectChatIds).call(this, object.message.fwd_from)) {
|
|
989
|
+
chatIds.add(chatId);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
if (object.message.via_bot_id) {
|
|
993
|
+
chatIds.add((0, _2_telegram_js_1.peerToChatId)({ _: "peerUser", user_id: object.message.via_bot_id }));
|
|
994
|
+
}
|
|
995
|
+
if (object.message.entities) {
|
|
996
|
+
for (const chatId of __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_collectChatIdsFromEntities).call(this, object.message.entities)) {
|
|
997
|
+
chatIds.add(chatId);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
if (object.message.media) {
|
|
1001
|
+
for (const chatId of __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_collectChatIds).call(this, object.message.media)) {
|
|
1002
|
+
chatIds.add(chatId);
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
return chatIds;
|
|
1007
|
+
}, _UpdateManager_collectChatIdsFromEntities = function _UpdateManager_collectChatIdsFromEntities(entities) {
|
|
1008
|
+
const chatIds = new Array();
|
|
1009
|
+
for (const user_id of entities.filter((v) => _2_tl_js_1.Api.is("messageEntityMentionName", v)).map((v) => v.user_id)) {
|
|
1010
|
+
chatIds.push((0, _2_telegram_js_1.peerToChatId)({ _: "peerUser", user_id }));
|
|
1011
|
+
}
|
|
1012
|
+
return chatIds;
|
|
859
1013
|
};
|
|
860
1014
|
Object.defineProperty(UpdateManager, "QTS_COUNT", {
|
|
861
1015
|
enumerable: true,
|