@ac-kit/core 0.1.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/LICENSE +28 -0
- package/README.md +39 -0
- package/dist/array/find-index.d.ts +19 -0
- package/dist/array/find-index.d.ts.map +1 -0
- package/dist/array/find-index.js +29 -0
- package/dist/array/find-index.js.map +1 -0
- package/dist/array/remove-all.d.ts +19 -0
- package/dist/array/remove-all.d.ts.map +1 -0
- package/dist/array/remove-all.js +36 -0
- package/dist/array/remove-all.js.map +1 -0
- package/dist/big-int/abs.d.ts +3 -0
- package/dist/big-int/abs.d.ts.map +1 -0
- package/dist/big-int/abs.js +5 -0
- package/dist/big-int/abs.js.map +1 -0
- package/dist/big-int/bit/bit-reverse64.d.ts +12 -0
- package/dist/big-int/bit/bit-reverse64.d.ts.map +1 -0
- package/dist/big-int/bit/bit-reverse64.js +23 -0
- package/dist/big-int/bit/bit-reverse64.js.map +1 -0
- package/dist/big-int/bit/byte-swap64.d.ts +11 -0
- package/dist/big-int/bit/byte-swap64.d.ts.map +1 -0
- package/dist/big-int/bit/byte-swap64.js +18 -0
- package/dist/big-int/bit/byte-swap64.js.map +1 -0
- package/dist/big-int/bit/clz64.d.ts +12 -0
- package/dist/big-int/bit/clz64.d.ts.map +1 -0
- package/dist/big-int/bit/clz64.js +16 -0
- package/dist/big-int/bit/clz64.js.map +1 -0
- package/dist/big-int/bit/ctz64.d.ts +11 -0
- package/dist/big-int/bit/ctz64.d.ts.map +1 -0
- package/dist/big-int/bit/ctz64.js +16 -0
- package/dist/big-int/bit/ctz64.js.map +1 -0
- package/dist/big-int/bit/mask64.d.ts +3 -0
- package/dist/big-int/bit/mask64.d.ts.map +1 -0
- package/dist/big-int/bit/mask64.js +6 -0
- package/dist/big-int/bit/mask64.js.map +1 -0
- package/dist/big-int/bit/mul-wide64.d.ts +9 -0
- package/dist/big-int/bit/mul-wide64.d.ts.map +1 -0
- package/dist/big-int/bit/mul-wide64.js +10 -0
- package/dist/big-int/bit/mul-wide64.js.map +1 -0
- package/dist/big-int/bit/pop-count.d.ts +16 -0
- package/dist/big-int/bit/pop-count.d.ts.map +1 -0
- package/dist/big-int/bit/pop-count.js +26 -0
- package/dist/big-int/bit/pop-count.js.map +1 -0
- package/dist/big-int/bit/pop-count64.d.ts +11 -0
- package/dist/big-int/bit/pop-count64.d.ts.map +1 -0
- package/dist/big-int/bit/pop-count64.js +20 -0
- package/dist/big-int/bit/pop-count64.js.map +1 -0
- package/dist/big-int/bit/rotl64.d.ts +12 -0
- package/dist/big-int/bit/rotl64.d.ts.map +1 -0
- package/dist/big-int/bit/rotl64.js +15 -0
- package/dist/big-int/bit/rotl64.js.map +1 -0
- package/dist/big-int/bit/rotr64.d.ts +12 -0
- package/dist/big-int/bit/rotr64.d.ts.map +1 -0
- package/dist/big-int/bit/rotr64.js +15 -0
- package/dist/big-int/bit/rotr64.js.map +1 -0
- package/dist/big-int/bit/shift-right-unsigned64.d.ts +16 -0
- package/dist/big-int/bit/shift-right-unsigned64.d.ts.map +1 -0
- package/dist/big-int/bit/shift-right-unsigned64.js +26 -0
- package/dist/big-int/bit/shift-right-unsigned64.js.map +1 -0
- package/dist/big-int/bit/xorshift64.d.ts +3 -0
- package/dist/big-int/bit/xorshift64.d.ts.map +1 -0
- package/dist/big-int/bit/xorshift64.js +5 -0
- package/dist/big-int/bit/xorshift64.js.map +1 -0
- package/dist/big-int/bit-length.d.ts +8 -0
- package/dist/big-int/bit-length.d.ts.map +1 -0
- package/dist/big-int/bit-length.js +17 -0
- package/dist/big-int/bit-length.js.map +1 -0
- package/dist/big-int/clamp.d.ts +7 -0
- package/dist/big-int/clamp.d.ts.map +1 -0
- package/dist/big-int/clamp.js +13 -0
- package/dist/big-int/clamp.js.map +1 -0
- package/dist/big-int/div-euclid.d.ts +11 -0
- package/dist/big-int/div-euclid.d.ts.map +1 -0
- package/dist/big-int/div-euclid.js +14 -0
- package/dist/big-int/div-euclid.js.map +1 -0
- package/dist/big-int/div-floor.d.ts +9 -0
- package/dist/big-int/div-floor.d.ts.map +1 -0
- package/dist/big-int/div-floor.js +17 -0
- package/dist/big-int/div-floor.js.map +1 -0
- package/dist/big-int/div-trunc.d.ts +9 -0
- package/dist/big-int/div-trunc.d.ts.map +1 -0
- package/dist/big-int/div-trunc.js +14 -0
- package/dist/big-int/div-trunc.js.map +1 -0
- package/dist/big-int/log10.d.ts +22 -0
- package/dist/big-int/log10.d.ts.map +1 -0
- package/dist/big-int/log10.js +42 -0
- package/dist/big-int/log10.js.map +1 -0
- package/dist/big-int/log2.d.ts +8 -0
- package/dist/big-int/log2.d.ts.map +1 -0
- package/dist/big-int/log2.js +14 -0
- package/dist/big-int/log2.js.map +1 -0
- package/dist/big-int/min-max.d.ts +20 -0
- package/dist/big-int/min-max.d.ts.map +1 -0
- package/dist/big-int/min-max.js +30 -0
- package/dist/big-int/min-max.js.map +1 -0
- package/dist/big-int/mod-euclid.d.ts +11 -0
- package/dist/big-int/mod-euclid.d.ts.map +1 -0
- package/dist/big-int/mod-euclid.js +18 -0
- package/dist/big-int/mod-euclid.js.map +1 -0
- package/dist/big-int/mod.d.ts +16 -0
- package/dist/big-int/mod.d.ts.map +1 -0
- package/dist/big-int/mod.js +25 -0
- package/dist/big-int/mod.js.map +1 -0
- package/dist/big-int/parse.d.ts +31 -0
- package/dist/big-int/parse.d.ts.map +1 -0
- package/dist/big-int/parse.js +102 -0
- package/dist/big-int/parse.js.map +1 -0
- package/dist/big-int/pow.d.ts +7 -0
- package/dist/big-int/pow.d.ts.map +1 -0
- package/dist/big-int/pow.js +12 -0
- package/dist/big-int/pow.js.map +1 -0
- package/dist/big-int/pow10.d.ts +20 -0
- package/dist/big-int/pow10.d.ts.map +1 -0
- package/dist/big-int/pow10.js +39 -0
- package/dist/big-int/pow10.js.map +1 -0
- package/dist/big-int/power-of-two.d.ts +4 -0
- package/dist/big-int/power-of-two.d.ts.map +1 -0
- package/dist/big-int/power-of-two.js +26 -0
- package/dist/big-int/power-of-two.js.map +1 -0
- package/dist/big-int/sign.d.ts +8 -0
- package/dist/big-int/sign.d.ts.map +1 -0
- package/dist/big-int/sign.js +13 -0
- package/dist/big-int/sign.js.map +1 -0
- package/dist/big-int/sqrt-exact.d.ts +7 -0
- package/dist/big-int/sqrt-exact.d.ts.map +1 -0
- package/dist/big-int/sqrt-exact.js +11 -0
- package/dist/big-int/sqrt-exact.js.map +1 -0
- package/dist/big-int/sqrt.d.ts +7 -0
- package/dist/big-int/sqrt.d.ts.map +1 -0
- package/dist/big-int/sqrt.js +25 -0
- package/dist/big-int/sqrt.js.map +1 -0
- package/dist/buffer/bytes-is-equal.d.ts +9 -0
- package/dist/buffer/bytes-is-equal.d.ts.map +1 -0
- package/dist/buffer/bytes-is-equal.js +19 -0
- package/dist/buffer/bytes-is-equal.js.map +1 -0
- package/dist/buffer/chunk-bytes.d.ts +7 -0
- package/dist/buffer/chunk-bytes.d.ts.map +1 -0
- package/dist/buffer/chunk-bytes.js +13 -0
- package/dist/buffer/chunk-bytes.js.map +1 -0
- package/dist/buffer/codec/get-big-uint64-be.d.ts +15 -0
- package/dist/buffer/codec/get-big-uint64-be.d.ts.map +1 -0
- package/dist/buffer/codec/get-big-uint64-be.js +24 -0
- package/dist/buffer/codec/get-big-uint64-be.js.map +1 -0
- package/dist/buffer/codec/get-big-uint64-le.d.ts +16 -0
- package/dist/buffer/codec/get-big-uint64-le.d.ts.map +1 -0
- package/dist/buffer/codec/get-big-uint64-le.js +25 -0
- package/dist/buffer/codec/get-big-uint64-le.js.map +1 -0
- package/dist/buffer/codec/get-float32-be.d.ts +10 -0
- package/dist/buffer/codec/get-float32-be.d.ts.map +1 -0
- package/dist/buffer/codec/get-float32-be.js +12 -0
- package/dist/buffer/codec/get-float32-be.js.map +1 -0
- package/dist/buffer/codec/get-float32-le.d.ts +10 -0
- package/dist/buffer/codec/get-float32-le.d.ts.map +1 -0
- package/dist/buffer/codec/get-float32-le.js +12 -0
- package/dist/buffer/codec/get-float32-le.js.map +1 -0
- package/dist/buffer/codec/get-float64-be.d.ts +10 -0
- package/dist/buffer/codec/get-float64-be.d.ts.map +1 -0
- package/dist/buffer/codec/get-float64-be.js +12 -0
- package/dist/buffer/codec/get-float64-be.js.map +1 -0
- package/dist/buffer/codec/get-float64-le.d.ts +10 -0
- package/dist/buffer/codec/get-float64-le.d.ts.map +1 -0
- package/dist/buffer/codec/get-float64-le.js +12 -0
- package/dist/buffer/codec/get-float64-le.js.map +1 -0
- package/dist/buffer/codec/get-uint32-array-le.d.ts +17 -0
- package/dist/buffer/codec/get-uint32-array-le.d.ts.map +1 -0
- package/dist/buffer/codec/get-uint32-array-le.js +29 -0
- package/dist/buffer/codec/get-uint32-array-le.js.map +1 -0
- package/dist/buffer/codec/get-uint32-be.d.ts +17 -0
- package/dist/buffer/codec/get-uint32-be.d.ts.map +1 -0
- package/dist/buffer/codec/get-uint32-be.js +30 -0
- package/dist/buffer/codec/get-uint32-be.js.map +1 -0
- package/dist/buffer/codec/get-uint32-le.d.ts +18 -0
- package/dist/buffer/codec/get-uint32-le.d.ts.map +1 -0
- package/dist/buffer/codec/get-uint32-le.js +31 -0
- package/dist/buffer/codec/get-uint32-le.js.map +1 -0
- package/dist/buffer/codec/set-big-uint64-array-be.d.ts +12 -0
- package/dist/buffer/codec/set-big-uint64-array-be.d.ts.map +1 -0
- package/dist/buffer/codec/set-big-uint64-array-be.js +24 -0
- package/dist/buffer/codec/set-big-uint64-array-be.js.map +1 -0
- package/dist/buffer/codec/set-big-uint64-array-le.d.ts +13 -0
- package/dist/buffer/codec/set-big-uint64-array-le.d.ts.map +1 -0
- package/dist/buffer/codec/set-big-uint64-array-le.js +25 -0
- package/dist/buffer/codec/set-big-uint64-array-le.js.map +1 -0
- package/dist/buffer/codec/set-big-uint64-be.d.ts +13 -0
- package/dist/buffer/codec/set-big-uint64-be.d.ts.map +1 -0
- package/dist/buffer/codec/set-big-uint64-be.js +18 -0
- package/dist/buffer/codec/set-big-uint64-be.js.map +1 -0
- package/dist/buffer/codec/set-big-uint64-le.d.ts +13 -0
- package/dist/buffer/codec/set-big-uint64-le.d.ts.map +1 -0
- package/dist/buffer/codec/set-big-uint64-le.js +18 -0
- package/dist/buffer/codec/set-big-uint64-le.js.map +1 -0
- package/dist/buffer/codec/set-float32-be.d.ts +13 -0
- package/dist/buffer/codec/set-float32-be.d.ts.map +1 -0
- package/dist/buffer/codec/set-float32-be.js +15 -0
- package/dist/buffer/codec/set-float32-be.js.map +1 -0
- package/dist/buffer/codec/set-float32-le.d.ts +13 -0
- package/dist/buffer/codec/set-float32-le.d.ts.map +1 -0
- package/dist/buffer/codec/set-float32-le.js +15 -0
- package/dist/buffer/codec/set-float32-le.js.map +1 -0
- package/dist/buffer/codec/set-float64-be.d.ts +13 -0
- package/dist/buffer/codec/set-float64-be.d.ts.map +1 -0
- package/dist/buffer/codec/set-float64-be.js +15 -0
- package/dist/buffer/codec/set-float64-be.js.map +1 -0
- package/dist/buffer/codec/set-float64-le.d.ts +13 -0
- package/dist/buffer/codec/set-float64-le.d.ts.map +1 -0
- package/dist/buffer/codec/set-float64-le.js +15 -0
- package/dist/buffer/codec/set-float64-le.js.map +1 -0
- package/dist/buffer/codec/set-uint32-array-be.d.ts +15 -0
- package/dist/buffer/codec/set-uint32-array-be.d.ts.map +1 -0
- package/dist/buffer/codec/set-uint32-array-be.js +27 -0
- package/dist/buffer/codec/set-uint32-array-be.js.map +1 -0
- package/dist/buffer/codec/set-uint32-array-le.d.ts +15 -0
- package/dist/buffer/codec/set-uint32-array-le.d.ts.map +1 -0
- package/dist/buffer/codec/set-uint32-array-le.js +27 -0
- package/dist/buffer/codec/set-uint32-array-le.js.map +1 -0
- package/dist/buffer/codec/set-uint32-be.d.ts +13 -0
- package/dist/buffer/codec/set-uint32-be.d.ts.map +1 -0
- package/dist/buffer/codec/set-uint32-be.js +18 -0
- package/dist/buffer/codec/set-uint32-be.js.map +1 -0
- package/dist/buffer/codec/set-uint32-le.d.ts +13 -0
- package/dist/buffer/codec/set-uint32-le.d.ts.map +1 -0
- package/dist/buffer/codec/set-uint32-le.js +18 -0
- package/dist/buffer/codec/set-uint32-le.js.map +1 -0
- package/dist/buffer/compare-bytes.d.ts +11 -0
- package/dist/buffer/compare-bytes.d.ts.map +1 -0
- package/dist/buffer/compare-bytes.js +19 -0
- package/dist/buffer/compare-bytes.js.map +1 -0
- package/dist/buffer/concat-bytes.d.ts +12 -0
- package/dist/buffer/concat-bytes.d.ts.map +1 -0
- package/dist/buffer/concat-bytes.js +17 -0
- package/dist/buffer/concat-bytes.js.map +1 -0
- package/dist/buffer/index-of-sequence.d.ts +13 -0
- package/dist/buffer/index-of-sequence.d.ts.map +1 -0
- package/dist/buffer/index-of-sequence.js +31 -0
- package/dist/buffer/index-of-sequence.js.map +1 -0
- package/dist/buffer/stream/bit-builder.d.ts +46 -0
- package/dist/buffer/stream/bit-builder.d.ts.map +1 -0
- package/dist/buffer/stream/bit-builder.js +75 -0
- package/dist/buffer/stream/bit-builder.js.map +1 -0
- package/dist/buffer/stream/bit-reader.d.ts +49 -0
- package/dist/buffer/stream/bit-reader.d.ts.map +1 -0
- package/dist/buffer/stream/bit-reader.js +100 -0
- package/dist/buffer/stream/bit-reader.js.map +1 -0
- package/dist/buffer/stream/block-accumulator.d.ts +51 -0
- package/dist/buffer/stream/block-accumulator.d.ts.map +1 -0
- package/dist/buffer/stream/block-accumulator.js +79 -0
- package/dist/buffer/stream/block-accumulator.js.map +1 -0
- package/dist/buffer/stream/byte-accumulator.d.ts +65 -0
- package/dist/buffer/stream/byte-accumulator.d.ts.map +1 -0
- package/dist/buffer/stream/byte-accumulator.js +130 -0
- package/dist/buffer/stream/byte-accumulator.js.map +1 -0
- package/dist/buffer/stream/byte-builder.d.ts +23 -0
- package/dist/buffer/stream/byte-builder.d.ts.map +1 -0
- package/dist/buffer/stream/byte-builder.js +40 -0
- package/dist/buffer/stream/byte-builder.js.map +1 -0
- package/dist/buffer/stream/byte-reader.d.ts +68 -0
- package/dist/buffer/stream/byte-reader.d.ts.map +1 -0
- package/dist/buffer/stream/byte-reader.js +110 -0
- package/dist/buffer/stream/byte-reader.js.map +1 -0
- package/dist/buffer/text/decode-text.d.ts +46 -0
- package/dist/buffer/text/decode-text.d.ts.map +1 -0
- package/dist/buffer/text/decode-text.js +65 -0
- package/dist/buffer/text/decode-text.js.map +1 -0
- package/dist/buffer/text/encode-text.d.ts +15 -0
- package/dist/buffer/text/encode-text.d.ts.map +1 -0
- package/dist/buffer/text/encode-text.js +61 -0
- package/dist/buffer/text/encode-text.js.map +1 -0
- package/dist/buffer/text/text-encoding-name.d.ts +20 -0
- package/dist/buffer/text/text-encoding-name.d.ts.map +1 -0
- package/dist/buffer/text/text-encoding-name.js +2 -0
- package/dist/buffer/text/text-encoding-name.js.map +1 -0
- package/dist/constants/ascii.d.ts +162 -0
- package/dist/constants/ascii.d.ts.map +1 -0
- package/dist/constants/ascii.js +162 -0
- package/dist/constants/ascii.js.map +1 -0
- package/dist/constants/float.d.ts +27 -0
- package/dist/constants/float.d.ts.map +1 -0
- package/dist/constants/float.js +33 -0
- package/dist/constants/float.js.map +1 -0
- package/dist/constants/limits.d.ts +16 -0
- package/dist/constants/limits.d.ts.map +1 -0
- package/dist/constants/limits.js +16 -0
- package/dist/constants/limits.js.map +1 -0
- package/dist/constants/mask.d.ts +4 -0
- package/dist/constants/mask.d.ts.map +1 -0
- package/dist/constants/mask.js +4 -0
- package/dist/constants/mask.js.map +1 -0
- package/dist/constants/units.d.ts +14 -0
- package/dist/constants/units.d.ts.map +1 -0
- package/dist/constants/units.js +14 -0
- package/dist/constants/units.js.map +1 -0
- package/dist/error/buffer-overflow-error.d.ts +5 -0
- package/dist/error/buffer-overflow-error.d.ts.map +1 -0
- package/dist/error/buffer-overflow-error.js +8 -0
- package/dist/error/buffer-overflow-error.js.map +1 -0
- package/dist/error/capture-stack-trace.d.ts +33 -0
- package/dist/error/capture-stack-trace.d.ts.map +1 -0
- package/dist/error/capture-stack-trace.js +38 -0
- package/dist/error/capture-stack-trace.js.map +1 -0
- package/dist/error/capture-v8-frames.d.ts +20 -0
- package/dist/error/capture-v8-frames.d.ts.map +1 -0
- package/dist/error/capture-v8-frames.js +42 -0
- package/dist/error/capture-v8-frames.js.map +1 -0
- package/dist/error/capture-v8-stack-trace.d.ts +28 -0
- package/dist/error/capture-v8-stack-trace.d.ts.map +1 -0
- package/dist/error/capture-v8-stack-trace.js +21 -0
- package/dist/error/capture-v8-stack-trace.js.map +1 -0
- package/dist/error/format-error-stack.d.ts +25 -0
- package/dist/error/format-error-stack.d.ts.map +1 -0
- package/dist/error/format-error-stack.js +24 -0
- package/dist/error/format-error-stack.js.map +1 -0
- package/dist/error/format-error.d.ts +31 -0
- package/dist/error/format-error.d.ts.map +1 -0
- package/dist/error/format-error.js +142 -0
- package/dist/error/format-error.js.map +1 -0
- package/dist/error/parse-error-stack.d.ts +26 -0
- package/dist/error/parse-error-stack.d.ts.map +1 -0
- package/dist/error/parse-error-stack.js +16 -0
- package/dist/error/parse-error-stack.js.map +1 -0
- package/dist/error/reject-out-of-band.d.ts +8 -0
- package/dist/error/reject-out-of-band.d.ts.map +1 -0
- package/dist/error/reject-out-of-band.js +12 -0
- package/dist/error/reject-out-of-band.js.map +1 -0
- package/dist/error/throw-out-of-band.d.ts +8 -0
- package/dist/error/throw-out-of-band.d.ts.map +1 -0
- package/dist/error/throw-out-of-band.js +12 -0
- package/dist/error/throw-out-of-band.js.map +1 -0
- package/dist/error/traverse-error.d.ts +26 -0
- package/dist/error/traverse-error.d.ts.map +1 -0
- package/dist/error/traverse-error.js +72 -0
- package/dist/error/traverse-error.js.map +1 -0
- package/dist/error/unimplemented-error.d.ts +22 -0
- package/dist/error/unimplemented-error.d.ts.map +1 -0
- package/dist/error/unimplemented-error.js +25 -0
- package/dist/error/unimplemented-error.js.map +1 -0
- package/dist/error/unsupported-error.d.ts +10 -0
- package/dist/error/unsupported-error.d.ts.map +1 -0
- package/dist/error/unsupported-error.js +13 -0
- package/dist/error/unsupported-error.js.map +1 -0
- package/dist/error/v8-stack-trace.d.ts +27 -0
- package/dist/error/v8-stack-trace.d.ts.map +1 -0
- package/dist/error/v8-stack-trace.js +27 -0
- package/dist/error/v8-stack-trace.js.map +1 -0
- package/dist/function/compare/compare-natural.d.ts +20 -0
- package/dist/function/compare/compare-natural.d.ts.map +1 -0
- package/dist/function/compare/compare-natural.js +37 -0
- package/dist/function/compare/compare-natural.js.map +1 -0
- package/dist/function/compare/create-chained-comparator.d.ts +12 -0
- package/dist/function/compare/create-chained-comparator.d.ts.map +1 -0
- package/dist/function/compare/create-chained-comparator.js +28 -0
- package/dist/function/compare/create-chained-comparator.js.map +1 -0
- package/dist/function/compare/create-comparator.d.ts +26 -0
- package/dist/function/compare/create-comparator.d.ts.map +1 -0
- package/dist/function/compare/create-comparator.js +54 -0
- package/dist/function/compare/create-comparator.js.map +1 -0
- package/dist/function/compare/create-equality-comparator.d.ts +16 -0
- package/dist/function/compare/create-equality-comparator.d.ts.map +1 -0
- package/dist/function/compare/create-equality-comparator.js +16 -0
- package/dist/function/compare/create-equality-comparator.js.map +1 -0
- package/dist/function/compare/create-lexicographical-comparator.d.ts +11 -0
- package/dist/function/compare/create-lexicographical-comparator.d.ts.map +1 -0
- package/dist/function/compare/create-lexicographical-comparator.js +35 -0
- package/dist/function/compare/create-lexicographical-comparator.js.map +1 -0
- package/dist/function/compare/create-nullish-comparator.d.ts +12 -0
- package/dist/function/compare/create-nullish-comparator.d.ts.map +1 -0
- package/dist/function/compare/create-nullish-comparator.js +31 -0
- package/dist/function/compare/create-nullish-comparator.js.map +1 -0
- package/dist/function/compare/create-order-predicate.d.ts +8 -0
- package/dist/function/compare/create-order-predicate.d.ts.map +1 -0
- package/dist/function/compare/create-order-predicate.js +9 -0
- package/dist/function/compare/create-order-predicate.js.map +1 -0
- package/dist/function/compare/create-reversed-comparator.d.ts +4 -0
- package/dist/function/compare/create-reversed-comparator.d.ts.map +1 -0
- package/dist/function/compare/create-reversed-comparator.js +5 -0
- package/dist/function/compare/create-reversed-comparator.js.map +1 -0
- package/dist/function/compare/types.d.ts +38 -0
- package/dist/function/compare/types.d.ts.map +1 -0
- package/dist/function/compare/types.js +2 -0
- package/dist/function/compare/types.js.map +1 -0
- package/dist/function/identity.d.ts +8 -0
- package/dist/function/identity.d.ts.map +1 -0
- package/dist/function/identity.js +10 -0
- package/dist/function/identity.js.map +1 -0
- package/dist/function/memoize.d.ts +19 -0
- package/dist/function/memoize.d.ts.map +1 -0
- package/dist/function/memoize.js +17 -0
- package/dist/function/memoize.js.map +1 -0
- package/dist/function/no-throw.d.ts +39 -0
- package/dist/function/no-throw.d.ts.map +1 -0
- package/dist/function/no-throw.js +66 -0
- package/dist/function/no-throw.js.map +1 -0
- package/dist/function/serialize-queue-next.d.ts +21 -0
- package/dist/function/serialize-queue-next.d.ts.map +1 -0
- package/dist/function/serialize-queue-next.js +56 -0
- package/dist/function/serialize-queue-next.js.map +1 -0
- package/dist/function/settle.d.ts +21 -0
- package/dist/function/settle.d.ts.map +1 -0
- package/dist/function/settle.js +34 -0
- package/dist/function/settle.js.map +1 -0
- package/dist/function/variadic-args.d.ts +41 -0
- package/dist/function/variadic-args.d.ts.map +1 -0
- package/dist/function/variadic-args.js +36 -0
- package/dist/function/variadic-args.js.map +1 -0
- package/dist/function/wait-for.d.ts +22 -0
- package/dist/function/wait-for.d.ts.map +1 -0
- package/dist/function/wait-for.js +27 -0
- package/dist/function/wait-for.js.map +1 -0
- package/dist/guards/is-aggregate-error.d.ts +7 -0
- package/dist/guards/is-aggregate-error.d.ts.map +1 -0
- package/dist/guards/is-aggregate-error.js +9 -0
- package/dist/guards/is-aggregate-error.js.map +1 -0
- package/dist/guards/is-array-buffer.d.ts +14 -0
- package/dist/guards/is-array-buffer.d.ts.map +1 -0
- package/dist/guards/is-array-buffer.js +16 -0
- package/dist/guards/is-array-buffer.js.map +1 -0
- package/dist/guards/is-data-view.d.ts +11 -0
- package/dist/guards/is-data-view.d.ts.map +1 -0
- package/dist/guards/is-data-view.js +13 -0
- package/dist/guards/is-data-view.js.map +1 -0
- package/dist/guards/is-date.d.ts +14 -0
- package/dist/guards/is-date.d.ts.map +1 -0
- package/dist/guards/is-date.js +16 -0
- package/dist/guards/is-date.js.map +1 -0
- package/dist/guards/is-error.d.ts +4 -0
- package/dist/guards/is-error.d.ts.map +1 -0
- package/dist/guards/is-error.js +6 -0
- package/dist/guards/is-error.js.map +1 -0
- package/dist/guards/is-function.d.ts +8 -0
- package/dist/guards/is-function.d.ts.map +1 -0
- package/dist/guards/is-function.js +10 -0
- package/dist/guards/is-function.js.map +1 -0
- package/dist/guards/is-map.d.ts +11 -0
- package/dist/guards/is-map.d.ts.map +1 -0
- package/dist/guards/is-map.js +13 -0
- package/dist/guards/is-map.js.map +1 -0
- package/dist/guards/is-object.d.ts +10 -0
- package/dist/guards/is-object.d.ts.map +1 -0
- package/dist/guards/is-object.js +12 -0
- package/dist/guards/is-object.js.map +1 -0
- package/dist/guards/is-plain-object.d.ts +8 -0
- package/dist/guards/is-plain-object.d.ts.map +1 -0
- package/dist/guards/is-plain-object.js +11 -0
- package/dist/guards/is-plain-object.js.map +1 -0
- package/dist/guards/is-pojo.d.ts +9 -0
- package/dist/guards/is-pojo.d.ts.map +1 -0
- package/dist/guards/is-pojo.js +13 -0
- package/dist/guards/is-pojo.js.map +1 -0
- package/dist/guards/is-primitive.d.ts +14 -0
- package/dist/guards/is-primitive.d.ts.map +1 -0
- package/dist/guards/is-primitive.js +21 -0
- package/dist/guards/is-primitive.js.map +1 -0
- package/dist/guards/is-promise.d.ts +16 -0
- package/dist/guards/is-promise.d.ts.map +1 -0
- package/dist/guards/is-promise.js +18 -0
- package/dist/guards/is-promise.js.map +1 -0
- package/dist/guards/is-property-key.d.ts +9 -0
- package/dist/guards/is-property-key.d.ts.map +1 -0
- package/dist/guards/is-property-key.js +12 -0
- package/dist/guards/is-property-key.js.map +1 -0
- package/dist/guards/is-regexp.d.ts +11 -0
- package/dist/guards/is-regexp.d.ts.map +1 -0
- package/dist/guards/is-regexp.js +13 -0
- package/dist/guards/is-regexp.js.map +1 -0
- package/dist/guards/is-set.d.ts +11 -0
- package/dist/guards/is-set.d.ts.map +1 -0
- package/dist/guards/is-set.js +13 -0
- package/dist/guards/is-set.js.map +1 -0
- package/dist/guards/is-shared-array-buffer.d.ts +14 -0
- package/dist/guards/is-shared-array-buffer.d.ts.map +1 -0
- package/dist/guards/is-shared-array-buffer.js +17 -0
- package/dist/guards/is-shared-array-buffer.js.map +1 -0
- package/dist/guards/is-suppressed-error.d.ts +7 -0
- package/dist/guards/is-suppressed-error.d.ts.map +1 -0
- package/dist/guards/is-suppressed-error.js +9 -0
- package/dist/guards/is-suppressed-error.js.map +1 -0
- package/dist/guards/is-thenable.d.ts +12 -0
- package/dist/guards/is-thenable.d.ts.map +1 -0
- package/dist/guards/is-thenable.js +16 -0
- package/dist/guards/is-thenable.js.map +1 -0
- package/dist/guards/is-typed-array.d.ts +16 -0
- package/dist/guards/is-typed-array.d.ts.map +1 -0
- package/dist/guards/is-typed-array.js +17 -0
- package/dist/guards/is-typed-array.js.map +1 -0
- package/dist/guards/is-v8-error-constructor.d.ts +13 -0
- package/dist/guards/is-v8-error-constructor.d.ts.map +1 -0
- package/dist/guards/is-v8-error-constructor.js +5 -0
- package/dist/guards/is-v8-error-constructor.js.map +1 -0
- package/dist/guards/is-weak-map.d.ts +11 -0
- package/dist/guards/is-weak-map.d.ts.map +1 -0
- package/dist/guards/is-weak-map.js +13 -0
- package/dist/guards/is-weak-map.js.map +1 -0
- package/dist/guards/is-weak-set.d.ts +11 -0
- package/dist/guards/is-weak-set.d.ts.map +1 -0
- package/dist/guards/is-weak-set.js +13 -0
- package/dist/guards/is-weak-set.js.map +1 -0
- package/dist/index.d.ts +334 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +334 -0
- package/dist/index.js.map +1 -0
- package/dist/iterable/always-iterable.d.ts +20 -0
- package/dist/iterable/always-iterable.d.ts.map +1 -0
- package/dist/iterable/always-iterable.js +29 -0
- package/dist/iterable/always-iterable.js.map +1 -0
- package/dist/iterable/async/_async-iterator.d.ts +10 -0
- package/dist/iterable/async/_async-iterator.d.ts.map +1 -0
- package/dist/iterable/async/_async-iterator.js +13 -0
- package/dist/iterable/async/_async-iterator.js.map +1 -0
- package/dist/iterable/async/always-iterable.d.ts +17 -0
- package/dist/iterable/async/always-iterable.d.ts.map +1 -0
- package/dist/iterable/async/always-iterable.js +26 -0
- package/dist/iterable/async/always-iterable.js.map +1 -0
- package/dist/iterable/async/before-and-after.d.ts +21 -0
- package/dist/iterable/async/before-and-after.d.ts.map +1 -0
- package/dist/iterable/async/before-and-after.js +55 -0
- package/dist/iterable/async/before-and-after.js.map +1 -0
- package/dist/iterable/async/chunk.d.ts +16 -0
- package/dist/iterable/async/chunk.d.ts.map +1 -0
- package/dist/iterable/async/chunk.js +30 -0
- package/dist/iterable/async/chunk.js.map +1 -0
- package/dist/iterable/async/compact.d.ts +13 -0
- package/dist/iterable/async/compact.d.ts.map +1 -0
- package/dist/iterable/async/compact.js +18 -0
- package/dist/iterable/async/compact.js.map +1 -0
- package/dist/iterable/async/concat.d.ts +16 -0
- package/dist/iterable/async/concat.d.ts.map +1 -0
- package/dist/iterable/async/concat.js +19 -0
- package/dist/iterable/async/concat.js.map +1 -0
- package/dist/iterable/async/consume.d.ts +19 -0
- package/dist/iterable/async/consume.d.ts.map +1 -0
- package/dist/iterable/async/consume.js +33 -0
- package/dist/iterable/async/consume.js.map +1 -0
- package/dist/iterable/async/count.d.ts +15 -0
- package/dist/iterable/async/count.d.ts.map +1 -0
- package/dist/iterable/async/count.js +24 -0
- package/dist/iterable/async/count.js.map +1 -0
- package/dist/iterable/async/cycle.d.ts +19 -0
- package/dist/iterable/async/cycle.d.ts.map +1 -0
- package/dist/iterable/async/cycle.js +37 -0
- package/dist/iterable/async/cycle.js.map +1 -0
- package/dist/iterable/async/deltas.d.ts +17 -0
- package/dist/iterable/async/deltas.d.ts.map +1 -0
- package/dist/iterable/async/deltas.js +25 -0
- package/dist/iterable/async/deltas.js.map +1 -0
- package/dist/iterable/async/drop-while.d.ts +18 -0
- package/dist/iterable/async/drop-while.d.ts.map +1 -0
- package/dist/iterable/async/drop-while.js +26 -0
- package/dist/iterable/async/drop-while.js.map +1 -0
- package/dist/iterable/async/drop.d.ts +17 -0
- package/dist/iterable/async/drop.d.ts.map +1 -0
- package/dist/iterable/async/drop.js +28 -0
- package/dist/iterable/async/drop.js.map +1 -0
- package/dist/iterable/async/filter-map.d.ts +20 -0
- package/dist/iterable/async/filter-map.d.ts.map +1 -0
- package/dist/iterable/async/filter-map.js +25 -0
- package/dist/iterable/async/filter-map.js.map +1 -0
- package/dist/iterable/async/first.d.ts +16 -0
- package/dist/iterable/async/first.d.ts.map +1 -0
- package/dist/iterable/async/first.js +20 -0
- package/dist/iterable/async/first.js.map +1 -0
- package/dist/iterable/async/flatten-deep.d.ts +21 -0
- package/dist/iterable/async/flatten-deep.d.ts.map +1 -0
- package/dist/iterable/async/flatten-deep.js +28 -0
- package/dist/iterable/async/flatten-deep.js.map +1 -0
- package/dist/iterable/async/flatten.d.ts +14 -0
- package/dist/iterable/async/flatten.d.ts.map +1 -0
- package/dist/iterable/async/flatten.js +17 -0
- package/dist/iterable/async/flatten.js.map +1 -0
- package/dist/iterable/async/includes.d.ts +18 -0
- package/dist/iterable/async/includes.d.ts.map +1 -0
- package/dist/iterable/async/includes.js +26 -0
- package/dist/iterable/async/includes.js.map +1 -0
- package/dist/iterable/async/indices-where.d.ts +31 -0
- package/dist/iterable/async/indices-where.d.ts.map +1 -0
- package/dist/iterable/async/indices-where.js +49 -0
- package/dist/iterable/async/indices-where.js.map +1 -0
- package/dist/iterable/async/intersperse.d.ts +15 -0
- package/dist/iterable/async/intersperse.d.ts.map +1 -0
- package/dist/iterable/async/intersperse.js +23 -0
- package/dist/iterable/async/intersperse.js.map +1 -0
- package/dist/iterable/async/is-iterable-equal.d.ts +22 -0
- package/dist/iterable/async/is-iterable-equal.d.ts.map +1 -0
- package/dist/iterable/async/is-iterable-equal.js +49 -0
- package/dist/iterable/async/is-iterable-equal.js.map +1 -0
- package/dist/iterable/async/last.d.ts +16 -0
- package/dist/iterable/async/last.d.ts.map +1 -0
- package/dist/iterable/async/last.js +22 -0
- package/dist/iterable/async/last.js.map +1 -0
- package/dist/iterable/async/map.d.ts +15 -0
- package/dist/iterable/async/map.d.ts.map +1 -0
- package/dist/iterable/async/map.js +18 -0
- package/dist/iterable/async/map.js.map +1 -0
- package/dist/iterable/async/mark-ends.d.ts +18 -0
- package/dist/iterable/async/mark-ends.d.ts.map +1 -0
- package/dist/iterable/async/mark-ends.js +33 -0
- package/dist/iterable/async/mark-ends.js.map +1 -0
- package/dist/iterable/async/nth.d.ts +20 -0
- package/dist/iterable/async/nth.d.ts.map +1 -0
- package/dist/iterable/async/nth.js +32 -0
- package/dist/iterable/async/nth.js.map +1 -0
- package/dist/iterable/async/one.d.ts +20 -0
- package/dist/iterable/async/one.d.ts.map +1 -0
- package/dist/iterable/async/one.js +32 -0
- package/dist/iterable/async/one.js.map +1 -0
- package/dist/iterable/async/only.d.ts +18 -0
- package/dist/iterable/async/only.d.ts.map +1 -0
- package/dist/iterable/async/only.js +31 -0
- package/dist/iterable/async/only.js.map +1 -0
- package/dist/iterable/async/pad.d.ts +17 -0
- package/dist/iterable/async/pad.d.ts.map +1 -0
- package/dist/iterable/async/pad.js +28 -0
- package/dist/iterable/async/pad.js.map +1 -0
- package/dist/iterable/async/pairwise.d.ts +15 -0
- package/dist/iterable/async/pairwise.d.ts.map +1 -0
- package/dist/iterable/async/pairwise.js +24 -0
- package/dist/iterable/async/pairwise.js.map +1 -0
- package/dist/iterable/async/repeat-each.d.ts +17 -0
- package/dist/iterable/async/repeat-each.d.ts.map +1 -0
- package/dist/iterable/async/repeat-each.js +28 -0
- package/dist/iterable/async/repeat-each.js.map +1 -0
- package/dist/iterable/async/take-while-inclusive.d.ts +19 -0
- package/dist/iterable/async/take-while-inclusive.d.ts.map +1 -0
- package/dist/iterable/async/take-while-inclusive.js +25 -0
- package/dist/iterable/async/take-while-inclusive.js.map +1 -0
- package/dist/iterable/async/take-while.d.ts +17 -0
- package/dist/iterable/async/take-while.d.ts.map +1 -0
- package/dist/iterable/async/take-while.js +23 -0
- package/dist/iterable/async/take-while.js.map +1 -0
- package/dist/iterable/async/take.d.ts +16 -0
- package/dist/iterable/async/take.d.ts.map +1 -0
- package/dist/iterable/async/take.js +29 -0
- package/dist/iterable/async/take.js.map +1 -0
- package/dist/iterable/async/tap.d.ts +18 -0
- package/dist/iterable/async/tap.d.ts.map +1 -0
- package/dist/iterable/async/tap.js +22 -0
- package/dist/iterable/async/tap.js.map +1 -0
- package/dist/iterable/async/tee.d.ts +23 -0
- package/dist/iterable/async/tee.d.ts.map +1 -0
- package/dist/iterable/async/tee.js +77 -0
- package/dist/iterable/async/tee.js.map +1 -0
- package/dist/iterable/async/trim-while.d.ts +31 -0
- package/dist/iterable/async/trim-while.d.ts.map +1 -0
- package/dist/iterable/async/trim-while.js +43 -0
- package/dist/iterable/async/trim-while.js.map +1 -0
- package/dist/iterable/async/unfold.d.ts +17 -0
- package/dist/iterable/async/unfold.d.ts.map +1 -0
- package/dist/iterable/async/unfold.js +26 -0
- package/dist/iterable/async/unfold.js.map +1 -0
- package/dist/iterable/async/unzip.d.ts +17 -0
- package/dist/iterable/async/unzip.d.ts.map +1 -0
- package/dist/iterable/async/unzip.js +27 -0
- package/dist/iterable/async/unzip.js.map +1 -0
- package/dist/iterable/async/windowed.d.ts +17 -0
- package/dist/iterable/async/windowed.d.ts.map +1 -0
- package/dist/iterable/async/windowed.js +42 -0
- package/dist/iterable/async/windowed.js.map +1 -0
- package/dist/iterable/async/zip-longest.d.ts +18 -0
- package/dist/iterable/async/zip-longest.d.ts.map +1 -0
- package/dist/iterable/async/zip-longest.js +52 -0
- package/dist/iterable/async/zip-longest.js.map +1 -0
- package/dist/iterable/async/zip.d.ts +21 -0
- package/dist/iterable/async/zip.d.ts.map +1 -0
- package/dist/iterable/async/zip.js +42 -0
- package/dist/iterable/async/zip.js.map +1 -0
- package/dist/iterable/before-and-after.d.ts +25 -0
- package/dist/iterable/before-and-after.d.ts.map +1 -0
- package/dist/iterable/before-and-after.js +59 -0
- package/dist/iterable/before-and-after.js.map +1 -0
- package/dist/iterable/big-int-range.d.ts +20 -0
- package/dist/iterable/big-int-range.d.ts.map +1 -0
- package/dist/iterable/big-int-range.js +34 -0
- package/dist/iterable/big-int-range.js.map +1 -0
- package/dist/iterable/chunk.d.ts +16 -0
- package/dist/iterable/chunk.d.ts.map +1 -0
- package/dist/iterable/chunk.js +31 -0
- package/dist/iterable/chunk.js.map +1 -0
- package/dist/iterable/compact.d.ts +8 -0
- package/dist/iterable/compact.d.ts.map +1 -0
- package/dist/iterable/compact.js +14 -0
- package/dist/iterable/compact.js.map +1 -0
- package/dist/iterable/concat.d.ts +12 -0
- package/dist/iterable/concat.d.ts.map +1 -0
- package/dist/iterable/concat.js +16 -0
- package/dist/iterable/concat.js.map +1 -0
- package/dist/iterable/consume.d.ts +16 -0
- package/dist/iterable/consume.d.ts.map +1 -0
- package/dist/iterable/consume.js +28 -0
- package/dist/iterable/consume.js.map +1 -0
- package/dist/iterable/count.d.ts +13 -0
- package/dist/iterable/count.d.ts.map +1 -0
- package/dist/iterable/count.js +28 -0
- package/dist/iterable/count.js.map +1 -0
- package/dist/iterable/cycle.d.ts +18 -0
- package/dist/iterable/cycle.d.ts.map +1 -0
- package/dist/iterable/cycle.js +37 -0
- package/dist/iterable/cycle.js.map +1 -0
- package/dist/iterable/deltas.d.ts +23 -0
- package/dist/iterable/deltas.d.ts.map +1 -0
- package/dist/iterable/deltas.js +32 -0
- package/dist/iterable/deltas.js.map +1 -0
- package/dist/iterable/drop-while.d.ts +18 -0
- package/dist/iterable/drop-while.d.ts.map +1 -0
- package/dist/iterable/drop-while.js +27 -0
- package/dist/iterable/drop-while.js.map +1 -0
- package/dist/iterable/drop.d.ts +16 -0
- package/dist/iterable/drop.d.ts.map +1 -0
- package/dist/iterable/drop.js +28 -0
- package/dist/iterable/drop.js.map +1 -0
- package/dist/iterable/filter-map.d.ts +20 -0
- package/dist/iterable/filter-map.d.ts.map +1 -0
- package/dist/iterable/filter-map.js +26 -0
- package/dist/iterable/filter-map.js.map +1 -0
- package/dist/iterable/first.d.ts +14 -0
- package/dist/iterable/first.d.ts.map +1 -0
- package/dist/iterable/first.js +18 -0
- package/dist/iterable/first.js.map +1 -0
- package/dist/iterable/flatten-deep.d.ts +25 -0
- package/dist/iterable/flatten-deep.d.ts.map +1 -0
- package/dist/iterable/flatten-deep.js +33 -0
- package/dist/iterable/flatten-deep.js.map +1 -0
- package/dist/iterable/flatten.d.ts +18 -0
- package/dist/iterable/flatten.d.ts.map +1 -0
- package/dist/iterable/flatten.js +22 -0
- package/dist/iterable/flatten.js.map +1 -0
- package/dist/iterable/includes.d.ts +19 -0
- package/dist/iterable/includes.d.ts.map +1 -0
- package/dist/iterable/includes.js +26 -0
- package/dist/iterable/includes.js.map +1 -0
- package/dist/iterable/indices-where.d.ts +32 -0
- package/dist/iterable/indices-where.d.ts.map +1 -0
- package/dist/iterable/indices-where.js +46 -0
- package/dist/iterable/indices-where.js.map +1 -0
- package/dist/iterable/intersperse.d.ts +15 -0
- package/dist/iterable/intersperse.d.ts.map +1 -0
- package/dist/iterable/intersperse.js +24 -0
- package/dist/iterable/intersperse.js.map +1 -0
- package/dist/iterable/is-iterable-equal.d.ts +21 -0
- package/dist/iterable/is-iterable-equal.d.ts.map +1 -0
- package/dist/iterable/is-iterable-equal.js +46 -0
- package/dist/iterable/is-iterable-equal.js.map +1 -0
- package/dist/iterable/last.d.ts +15 -0
- package/dist/iterable/last.d.ts.map +1 -0
- package/dist/iterable/last.js +25 -0
- package/dist/iterable/last.js.map +1 -0
- package/dist/iterable/map.d.ts +19 -0
- package/dist/iterable/map.d.ts.map +1 -0
- package/dist/iterable/map.js +23 -0
- package/dist/iterable/map.js.map +1 -0
- package/dist/iterable/mark-ends.d.ts +20 -0
- package/dist/iterable/mark-ends.d.ts.map +1 -0
- package/dist/iterable/mark-ends.js +34 -0
- package/dist/iterable/mark-ends.js.map +1 -0
- package/dist/iterable/nth.d.ts +21 -0
- package/dist/iterable/nth.d.ts.map +1 -0
- package/dist/iterable/nth.js +32 -0
- package/dist/iterable/nth.js.map +1 -0
- package/dist/iterable/one.d.ts +18 -0
- package/dist/iterable/one.d.ts.map +1 -0
- package/dist/iterable/one.js +28 -0
- package/dist/iterable/one.js.map +1 -0
- package/dist/iterable/only.d.ts +15 -0
- package/dist/iterable/only.d.ts.map +1 -0
- package/dist/iterable/only.js +26 -0
- package/dist/iterable/only.js.map +1 -0
- package/dist/iterable/pad.d.ts +17 -0
- package/dist/iterable/pad.d.ts.map +1 -0
- package/dist/iterable/pad.js +29 -0
- package/dist/iterable/pad.js.map +1 -0
- package/dist/iterable/pairwise.d.ts +16 -0
- package/dist/iterable/pairwise.d.ts.map +1 -0
- package/dist/iterable/pairwise.js +26 -0
- package/dist/iterable/pairwise.js.map +1 -0
- package/dist/iterable/range.d.ts +24 -0
- package/dist/iterable/range.d.ts.map +1 -0
- package/dist/iterable/range.js +44 -0
- package/dist/iterable/range.js.map +1 -0
- package/dist/iterable/repeat-each.d.ts +17 -0
- package/dist/iterable/repeat-each.d.ts.map +1 -0
- package/dist/iterable/repeat-each.js +29 -0
- package/dist/iterable/repeat-each.js.map +1 -0
- package/dist/iterable/take-while-inclusive.d.ts +19 -0
- package/dist/iterable/take-while-inclusive.d.ts.map +1 -0
- package/dist/iterable/take-while-inclusive.js +26 -0
- package/dist/iterable/take-while-inclusive.js.map +1 -0
- package/dist/iterable/take-while.d.ts +18 -0
- package/dist/iterable/take-while.d.ts.map +1 -0
- package/dist/iterable/take-while.js +25 -0
- package/dist/iterable/take-while.js.map +1 -0
- package/dist/iterable/take.d.ts +18 -0
- package/dist/iterable/take.d.ts.map +1 -0
- package/dist/iterable/take.js +32 -0
- package/dist/iterable/take.js.map +1 -0
- package/dist/iterable/tap.d.ts +17 -0
- package/dist/iterable/tap.d.ts.map +1 -0
- package/dist/iterable/tap.js +22 -0
- package/dist/iterable/tap.js.map +1 -0
- package/dist/iterable/tee.d.ts +22 -0
- package/dist/iterable/tee.d.ts.map +1 -0
- package/dist/iterable/tee.js +64 -0
- package/dist/iterable/tee.js.map +1 -0
- package/dist/iterable/trim-while.d.ts +31 -0
- package/dist/iterable/trim-while.d.ts.map +1 -0
- package/dist/iterable/trim-while.js +44 -0
- package/dist/iterable/trim-while.js.map +1 -0
- package/dist/iterable/unfold.d.ts +19 -0
- package/dist/iterable/unfold.d.ts.map +1 -0
- package/dist/iterable/unfold.js +28 -0
- package/dist/iterable/unfold.js.map +1 -0
- package/dist/iterable/unzip.d.ts +22 -0
- package/dist/iterable/unzip.d.ts.map +1 -0
- package/dist/iterable/unzip.js +28 -0
- package/dist/iterable/unzip.js.map +1 -0
- package/dist/iterable/windowed.d.ts +23 -0
- package/dist/iterable/windowed.d.ts.map +1 -0
- package/dist/iterable/windowed.js +49 -0
- package/dist/iterable/windowed.js.map +1 -0
- package/dist/iterable/zip-longest.d.ts +24 -0
- package/dist/iterable/zip-longest.d.ts.map +1 -0
- package/dist/iterable/zip-longest.js +55 -0
- package/dist/iterable/zip-longest.js.map +1 -0
- package/dist/iterable/zip.d.ts +27 -0
- package/dist/iterable/zip.d.ts.map +1 -0
- package/dist/iterable/zip.js +43 -0
- package/dist/iterable/zip.js.map +1 -0
- package/dist/json/json-make-replacer-function.d.ts +16 -0
- package/dist/json/json-make-replacer-function.d.ts.map +1 -0
- package/dist/json/json-make-replacer-function.js +37 -0
- package/dist/json/json-make-replacer-function.js.map +1 -0
- package/dist/json/json-serialize-safe.d.ts +20 -0
- package/dist/json/json-serialize-safe.d.ts.map +1 -0
- package/dist/json/json-serialize-safe.js +7 -0
- package/dist/json/json-serialize-safe.js.map +1 -0
- package/dist/json/json-serialize.d.ts +16 -0
- package/dist/json/json-serialize.d.ts.map +1 -0
- package/dist/json/json-serialize.js +8 -0
- package/dist/json/json-serialize.js.map +1 -0
- package/dist/json/json-stringify-safe.d.ts +23 -0
- package/dist/json/json-stringify-safe.d.ts.map +1 -0
- package/dist/json/json-stringify-safe.js +6 -0
- package/dist/json/json-stringify-safe.js.map +1 -0
- package/dist/json/jsonify-safe.d.ts +29 -0
- package/dist/json/jsonify-safe.d.ts.map +1 -0
- package/dist/json/jsonify-safe.js +2 -0
- package/dist/json/jsonify-safe.js.map +1 -0
- package/dist/json/replacers/all-replacers.d.ts +7 -0
- package/dist/json/replacers/all-replacers.d.ts.map +1 -0
- package/dist/json/replacers/all-replacers.js +7 -0
- package/dist/json/replacers/all-replacers.js.map +1 -0
- package/dist/json/replacers/big-int.d.ts +16 -0
- package/dist/json/replacers/big-int.d.ts.map +1 -0
- package/dist/json/replacers/big-int.js +28 -0
- package/dist/json/replacers/big-int.js.map +1 -0
- package/dist/json/replacers/circular-reference.d.ts +22 -0
- package/dist/json/replacers/circular-reference.d.ts.map +1 -0
- package/dist/json/replacers/circular-reference.js +45 -0
- package/dist/json/replacers/circular-reference.js.map +1 -0
- package/dist/json/replacers/error.d.ts +31 -0
- package/dist/json/replacers/error.d.ts.map +1 -0
- package/dist/json/replacers/error.js +42 -0
- package/dist/json/replacers/error.js.map +1 -0
- package/dist/map/case-insensitive-map.d.ts +17 -0
- package/dist/map/case-insensitive-map.d.ts.map +1 -0
- package/dist/map/case-insensitive-map.js +64 -0
- package/dist/map/case-insensitive-map.js.map +1 -0
- package/dist/map/join-mappings.d.ts +32 -0
- package/dist/map/join-mappings.d.ts.map +1 -0
- package/dist/map/join-mappings.js +31 -0
- package/dist/map/join-mappings.js.map +1 -0
- package/dist/net/ephemeral-port.d.ts +13 -0
- package/dist/net/ephemeral-port.d.ts.map +1 -0
- package/dist/net/ephemeral-port.js +19 -0
- package/dist/net/ephemeral-port.js.map +1 -0
- package/dist/net/inet-address.d.ts +20 -0
- package/dist/net/inet-address.d.ts.map +1 -0
- package/dist/net/inet-address.js +42 -0
- package/dist/net/inet-address.js.map +1 -0
- package/dist/net/inet-endpoint.d.ts +7 -0
- package/dist/net/inet-endpoint.d.ts.map +1 -0
- package/dist/net/inet-endpoint.js +2 -0
- package/dist/net/inet-endpoint.js.map +1 -0
- package/dist/number/bit/bit-reverse32.d.ts +13 -0
- package/dist/number/bit/bit-reverse32.d.ts.map +1 -0
- package/dist/number/bit/bit-reverse32.js +21 -0
- package/dist/number/bit/bit-reverse32.js.map +1 -0
- package/dist/number/bit/byte-swap32.d.ts +11 -0
- package/dist/number/bit/byte-swap32.d.ts.map +1 -0
- package/dist/number/bit/byte-swap32.js +18 -0
- package/dist/number/bit/byte-swap32.js.map +1 -0
- package/dist/number/bit/bytes-for-bits.d.ts +8 -0
- package/dist/number/bit/bytes-for-bits.d.ts.map +1 -0
- package/dist/number/bit/bytes-for-bits.js +10 -0
- package/dist/number/bit/bytes-for-bits.js.map +1 -0
- package/dist/number/bit/ctz32.d.ts +15 -0
- package/dist/number/bit/ctz32.d.ts.map +1 -0
- package/dist/number/bit/ctz32.js +18 -0
- package/dist/number/bit/ctz32.js.map +1 -0
- package/dist/number/bit/pop-count32.d.ts +11 -0
- package/dist/number/bit/pop-count32.d.ts.map +1 -0
- package/dist/number/bit/pop-count32.js +17 -0
- package/dist/number/bit/pop-count32.js.map +1 -0
- package/dist/number/bit/popcount32.d.ts +11 -0
- package/dist/number/bit/popcount32.d.ts.map +1 -0
- package/dist/number/bit/popcount32.js +17 -0
- package/dist/number/bit/popcount32.js.map +1 -0
- package/dist/number/bit/rotl32.d.ts +13 -0
- package/dist/number/bit/rotl32.d.ts.map +1 -0
- package/dist/number/bit/rotl32.js +15 -0
- package/dist/number/bit/rotl32.js.map +1 -0
- package/dist/number/bit/rotr32.d.ts +13 -0
- package/dist/number/bit/rotr32.d.ts.map +1 -0
- package/dist/number/bit/rotr32.js +15 -0
- package/dist/number/bit/rotr32.js.map +1 -0
- package/dist/number/bit/words-for-bits.d.ts +10 -0
- package/dist/number/bit/words-for-bits.d.ts.map +1 -0
- package/dist/number/bit/words-for-bits.js +12 -0
- package/dist/number/bit/words-for-bits.js.map +1 -0
- package/dist/number/clamp.d.ts +10 -0
- package/dist/number/clamp.d.ts.map +1 -0
- package/dist/number/clamp.js +15 -0
- package/dist/number/clamp.js.map +1 -0
- package/dist/number/float16-bits.d.ts +15 -0
- package/dist/number/float16-bits.d.ts.map +1 -0
- package/dist/number/float16-bits.js +24 -0
- package/dist/number/float16-bits.js.map +1 -0
- package/dist/number/float32-bits.d.ts +14 -0
- package/dist/number/float32-bits.d.ts.map +1 -0
- package/dist/number/float32-bits.js +23 -0
- package/dist/number/float32-bits.js.map +1 -0
- package/dist/number/float64-bits.d.ts +15 -0
- package/dist/number/float64-bits.d.ts.map +1 -0
- package/dist/number/float64-bits.js +24 -0
- package/dist/number/float64-bits.js.map +1 -0
- package/dist/number/integer/_powers-of-ten.d.ts +2 -0
- package/dist/number/integer/_powers-of-ten.d.ts.map +1 -0
- package/dist/number/integer/_powers-of-ten.js +11 -0
- package/dist/number/integer/_powers-of-ten.js.map +1 -0
- package/dist/number/integer/bit-length.d.ts +13 -0
- package/dist/number/integer/bit-length.d.ts.map +1 -0
- package/dist/number/integer/bit-length.js +22 -0
- package/dist/number/integer/bit-length.js.map +1 -0
- package/dist/number/integer/clamp-to-integer.d.ts +14 -0
- package/dist/number/integer/clamp-to-integer.d.ts.map +1 -0
- package/dist/number/integer/clamp-to-integer.js +20 -0
- package/dist/number/integer/clamp-to-integer.js.map +1 -0
- package/dist/number/integer/div-euclid.d.ts +11 -0
- package/dist/number/integer/div-euclid.d.ts.map +1 -0
- package/dist/number/integer/div-euclid.js +14 -0
- package/dist/number/integer/div-euclid.js.map +1 -0
- package/dist/number/integer/div-floor.d.ts +10 -0
- package/dist/number/integer/div-floor.d.ts.map +1 -0
- package/dist/number/integer/div-floor.js +13 -0
- package/dist/number/integer/div-floor.js.map +1 -0
- package/dist/number/integer/div-trunc.d.ts +12 -0
- package/dist/number/integer/div-trunc.d.ts.map +1 -0
- package/dist/number/integer/div-trunc.js +17 -0
- package/dist/number/integer/div-trunc.js.map +1 -0
- package/dist/number/integer/ilog10.d.ts +20 -0
- package/dist/number/integer/ilog10.d.ts.map +1 -0
- package/dist/number/integer/ilog10.js +30 -0
- package/dist/number/integer/ilog10.js.map +1 -0
- package/dist/number/integer/ilog2.d.ts +8 -0
- package/dist/number/integer/ilog2.d.ts.map +1 -0
- package/dist/number/integer/ilog2.js +14 -0
- package/dist/number/integer/ilog2.js.map +1 -0
- package/dist/number/integer/ipow.d.ts +15 -0
- package/dist/number/integer/ipow.d.ts.map +1 -0
- package/dist/number/integer/ipow.js +41 -0
- package/dist/number/integer/ipow.js.map +1 -0
- package/dist/number/integer/ipow10.d.ts +12 -0
- package/dist/number/integer/ipow10.d.ts.map +1 -0
- package/dist/number/integer/ipow10.js +18 -0
- package/dist/number/integer/ipow10.js.map +1 -0
- package/dist/number/integer/isqrt.d.ts +12 -0
- package/dist/number/integer/isqrt.d.ts.map +1 -0
- package/dist/number/integer/isqrt.js +25 -0
- package/dist/number/integer/isqrt.js.map +1 -0
- package/dist/number/integer/mod-euclid.d.ts +11 -0
- package/dist/number/integer/mod-euclid.d.ts.map +1 -0
- package/dist/number/integer/mod-euclid.js +17 -0
- package/dist/number/integer/mod-euclid.js.map +1 -0
- package/dist/number/integer/mod.d.ts +18 -0
- package/dist/number/integer/mod.d.ts.map +1 -0
- package/dist/number/integer/mod.js +23 -0
- package/dist/number/integer/mod.js.map +1 -0
- package/dist/number/integer/power-of-two.d.ts +7 -0
- package/dist/number/integer/power-of-two.d.ts.map +1 -0
- package/dist/number/integer/power-of-two.js +41 -0
- package/dist/number/integer/power-of-two.js.map +1 -0
- package/dist/number/integer/sqrt-exact.d.ts +9 -0
- package/dist/number/integer/sqrt-exact.d.ts.map +1 -0
- package/dist/number/integer/sqrt-exact.js +13 -0
- package/dist/number/integer/sqrt-exact.js.map +1 -0
- package/dist/number/is-close-absolute.d.ts +18 -0
- package/dist/number/is-close-absolute.d.ts.map +1 -0
- package/dist/number/is-close-absolute.js +28 -0
- package/dist/number/is-close-absolute.js.map +1 -0
- package/dist/number/is-close-relative.d.ts +22 -0
- package/dist/number/is-close-relative.d.ts.map +1 -0
- package/dist/number/is-close-relative.js +32 -0
- package/dist/number/is-close-relative.js.map +1 -0
- package/dist/number/is-close-to.d.ts +35 -0
- package/dist/number/is-close-to.d.ts.map +1 -0
- package/dist/number/is-close-to.js +39 -0
- package/dist/number/is-close-to.js.map +1 -0
- package/dist/number/is-close-ulp.d.ts +22 -0
- package/dist/number/is-close-ulp.d.ts.map +1 -0
- package/dist/number/is-close-ulp.js +25 -0
- package/dist/number/is-close-ulp.js.map +1 -0
- package/dist/number/is-finite-positive.d.ts +3 -0
- package/dist/number/is-finite-positive.d.ts.map +1 -0
- package/dist/number/is-finite-positive.js +5 -0
- package/dist/number/is-finite-positive.js.map +1 -0
- package/dist/number/is-normal.d.ts +8 -0
- package/dist/number/is-normal.d.ts.map +1 -0
- package/dist/number/is-normal.js +11 -0
- package/dist/number/is-normal.js.map +1 -0
- package/dist/number/is-subnormal.d.ts +6 -0
- package/dist/number/is-subnormal.d.ts.map +1 -0
- package/dist/number/is-subnormal.js +9 -0
- package/dist/number/is-subnormal.js.map +1 -0
- package/dist/number/minmax.d.ts +21 -0
- package/dist/number/minmax.d.ts.map +1 -0
- package/dist/number/minmax.js +22 -0
- package/dist/number/minmax.js.map +1 -0
- package/dist/number/next-after.d.ts +12 -0
- package/dist/number/next-after.d.ts.map +1 -0
- package/dist/number/next-after.js +28 -0
- package/dist/number/next-after.js.map +1 -0
- package/dist/number/precise-sum.d.ts +62 -0
- package/dist/number/precise-sum.d.ts.map +1 -0
- package/dist/number/precise-sum.js +209 -0
- package/dist/number/precise-sum.js.map +1 -0
- package/dist/number/round.d.ts +35 -0
- package/dist/number/round.d.ts.map +1 -0
- package/dist/number/round.js +47 -0
- package/dist/number/round.js.map +1 -0
- package/dist/number/to-fixed-length.d.ts +50 -0
- package/dist/number/to-fixed-length.d.ts.map +1 -0
- package/dist/number/to-fixed-length.js +90 -0
- package/dist/number/to-fixed-length.js.map +1 -0
- package/dist/number/ulp-distance.d.ts +13 -0
- package/dist/number/ulp-distance.d.ts.map +1 -0
- package/dist/number/ulp-distance.js +39 -0
- package/dist/number/ulp-distance.js.map +1 -0
- package/dist/number/ulp.d.ts +9 -0
- package/dist/number/ulp.d.ts.map +1 -0
- package/dist/number/ulp.js +24 -0
- package/dist/number/ulp.js.map +1 -0
- package/dist/object/clone.d.ts +78 -0
- package/dist/object/clone.d.ts.map +1 -0
- package/dist/object/clone.js +359 -0
- package/dist/object/clone.js.map +1 -0
- package/dist/object/defaults.d.ts +21 -0
- package/dist/object/defaults.d.ts.map +1 -0
- package/dist/object/defaults.js +33 -0
- package/dist/object/defaults.js.map +1 -0
- package/dist/object/get-at-path.d.ts +14 -0
- package/dist/object/get-at-path.d.ts.map +1 -0
- package/dist/object/get-at-path.js +28 -0
- package/dist/object/get-at-path.js.map +1 -0
- package/dist/object/get-object-keys.d.ts +44 -0
- package/dist/object/get-object-keys.d.ts.map +1 -0
- package/dist/object/get-object-keys.js +52 -0
- package/dist/object/get-object-keys.js.map +1 -0
- package/dist/object/is-deep-equal.d.ts +21 -0
- package/dist/object/is-deep-equal.d.ts.map +1 -0
- package/dist/object/is-deep-equal.js +123 -0
- package/dist/object/is-deep-equal.js.map +1 -0
- package/dist/object/is-equal.d.ts +110 -0
- package/dist/object/is-equal.d.ts.map +1 -0
- package/dist/object/is-equal.js +107 -0
- package/dist/object/is-equal.js.map +1 -0
- package/dist/object/merge-inplace.d.ts +34 -0
- package/dist/object/merge-inplace.d.ts.map +1 -0
- package/dist/object/merge-inplace.js +107 -0
- package/dist/object/merge-inplace.js.map +1 -0
- package/dist/object/merge-options.d.ts +23 -0
- package/dist/object/merge-options.d.ts.map +1 -0
- package/dist/object/merge-options.js +6 -0
- package/dist/object/merge-options.js.map +1 -0
- package/dist/object/merge.d.ts +32 -0
- package/dist/object/merge.d.ts.map +1 -0
- package/dist/object/merge.js +105 -0
- package/dist/object/merge.js.map +1 -0
- package/dist/object/set-at-path.d.ts +14 -0
- package/dist/object/set-at-path.d.ts.map +1 -0
- package/dist/object/set-at-path.js +51 -0
- package/dist/object/set-at-path.js.map +1 -0
- package/dist/object/traverse.d.ts +100 -0
- package/dist/object/traverse.d.ts.map +1 -0
- package/dist/object/traverse.js +358 -0
- package/dist/object/traverse.js.map +1 -0
- package/dist/pattern/pattern-trim.d.ts +71 -0
- package/dist/pattern/pattern-trim.d.ts.map +1 -0
- package/dist/pattern/pattern-trim.js +94 -0
- package/dist/pattern/pattern-trim.js.map +1 -0
- package/dist/pattern/pattern-util.d.ts +51 -0
- package/dist/pattern/pattern-util.d.ts.map +1 -0
- package/dist/pattern/pattern-util.js +49 -0
- package/dist/pattern/pattern-util.js.map +1 -0
- package/dist/pattern/types.d.ts +3 -0
- package/dist/pattern/types.d.ts.map +1 -0
- package/dist/pattern/types.js +2 -0
- package/dist/pattern/types.js.map +1 -0
- package/dist/polyfill/math-sum-precise.d.ts +46 -0
- package/dist/polyfill/math-sum-precise.d.ts.map +1 -0
- package/dist/polyfill/math-sum-precise.js +53 -0
- package/dist/polyfill/math-sum-precise.js.map +1 -0
- package/dist/promise/promise-to-async-iterable-iterator.d.ts +10 -0
- package/dist/promise/promise-to-async-iterable-iterator.d.ts.map +1 -0
- package/dist/promise/promise-to-async-iterable-iterator.js +24 -0
- package/dist/promise/promise-to-async-iterable-iterator.js.map +1 -0
- package/dist/promise/waiter-queue.d.ts +40 -0
- package/dist/promise/waiter-queue.d.ts.map +1 -0
- package/dist/promise/waiter-queue.js +90 -0
- package/dist/promise/waiter-queue.js.map +1 -0
- package/dist/set/fast-set.d.ts +17 -0
- package/dist/set/fast-set.d.ts.map +1 -0
- package/dist/set/fast-set.js +38 -0
- package/dist/set/fast-set.js.map +1 -0
- package/dist/shell/fs/escape-posix-path.d.ts +9 -0
- package/dist/shell/fs/escape-posix-path.d.ts.map +1 -0
- package/dist/shell/fs/escape-posix-path.js +15 -0
- package/dist/shell/fs/escape-posix-path.js.map +1 -0
- package/dist/shell/fs/escape-win32-path.d.ts +9 -0
- package/dist/shell/fs/escape-win32-path.d.ts.map +1 -0
- package/dist/shell/fs/escape-win32-path.js +18 -0
- package/dist/shell/fs/escape-win32-path.js.map +1 -0
- package/dist/shell/process/parse-env-variable.d.ts +43 -0
- package/dist/shell/process/parse-env-variable.d.ts.map +1 -0
- package/dist/shell/process/parse-env-variable.js +109 -0
- package/dist/shell/process/parse-env-variable.js.map +1 -0
- package/dist/shell/process/stringify-env-variable.d.ts +50 -0
- package/dist/shell/process/stringify-env-variable.d.ts.map +1 -0
- package/dist/shell/process/stringify-env-variable.js +86 -0
- package/dist/shell/process/stringify-env-variable.js.map +1 -0
- package/dist/shell/process/types.d.ts +7 -0
- package/dist/shell/process/types.d.ts.map +1 -0
- package/dist/shell/process/types.js +2 -0
- package/dist/shell/process/types.js.map +1 -0
- package/dist/shell/shell/escape-posix-sh-command-arg.d.ts +20 -0
- package/dist/shell/shell/escape-posix-sh-command-arg.d.ts.map +1 -0
- package/dist/shell/shell/escape-posix-sh-command-arg.js +26 -0
- package/dist/shell/shell/escape-posix-sh-command-arg.js.map +1 -0
- package/dist/shell/shell/escape-posix-sh-command.d.ts +19 -0
- package/dist/shell/shell/escape-posix-sh-command.d.ts.map +1 -0
- package/dist/shell/shell/escape-posix-sh-command.js +55 -0
- package/dist/shell/shell/escape-posix-sh-command.js.map +1 -0
- package/dist/shell/shell/escape-posix-sh-sqe.d.ts +13 -0
- package/dist/shell/shell/escape-posix-sh-sqe.d.ts.map +1 -0
- package/dist/shell/shell/escape-posix-sh-sqe.js +15 -0
- package/dist/shell/shell/escape-posix-sh-sqe.js.map +1 -0
- package/dist/shell/shell/escape-win32-cmd-command-arg.d.ts +20 -0
- package/dist/shell/shell/escape-win32-cmd-command-arg.d.ts.map +1 -0
- package/dist/shell/shell/escape-win32-cmd-command-arg.js +29 -0
- package/dist/shell/shell/escape-win32-cmd-command-arg.js.map +1 -0
- package/dist/shell/shell/escape-win32-cmd-command.d.ts +18 -0
- package/dist/shell/shell/escape-win32-cmd-command.d.ts.map +1 -0
- package/dist/shell/shell/escape-win32-cmd-command.js +20 -0
- package/dist/shell/shell/escape-win32-cmd-command.js.map +1 -0
- package/dist/string/apply-text-edits.d.ts +23 -0
- package/dist/string/apply-text-edits.d.ts.map +1 -0
- package/dist/string/apply-text-edits.js +22 -0
- package/dist/string/apply-text-edits.js.map +1 -0
- package/dist/string/ascii/is-ascii-alpha-numeric.d.ts +3 -0
- package/dist/string/ascii/is-ascii-alpha-numeric.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-alpha-numeric.js +7 -0
- package/dist/string/ascii/is-ascii-alpha-numeric.js.map +1 -0
- package/dist/string/ascii/is-ascii-alpha.d.ts +6 -0
- package/dist/string/ascii/is-ascii-alpha.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-alpha.js +10 -0
- package/dist/string/ascii/is-ascii-alpha.js.map +1 -0
- package/dist/string/ascii/is-ascii-base64-char.d.ts +12 -0
- package/dist/string/ascii/is-ascii-base64-char.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-base64-char.js +20 -0
- package/dist/string/ascii/is-ascii-base64-char.js.map +1 -0
- package/dist/string/ascii/is-ascii-digit.d.ts +3 -0
- package/dist/string/ascii/is-ascii-digit.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-digit.js +6 -0
- package/dist/string/ascii/is-ascii-digit.js.map +1 -0
- package/dist/string/ascii/is-ascii-hex-digit.d.ts +6 -0
- package/dist/string/ascii/is-ascii-hex-digit.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-hex-digit.js +11 -0
- package/dist/string/ascii/is-ascii-hex-digit.js.map +1 -0
- package/dist/string/ascii/is-ascii-lower-alpha.d.ts +6 -0
- package/dist/string/ascii/is-ascii-lower-alpha.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-lower-alpha.js +9 -0
- package/dist/string/ascii/is-ascii-lower-alpha.js.map +1 -0
- package/dist/string/ascii/is-ascii-octal-digit.d.ts +6 -0
- package/dist/string/ascii/is-ascii-octal-digit.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-octal-digit.js +9 -0
- package/dist/string/ascii/is-ascii-octal-digit.js.map +1 -0
- package/dist/string/ascii/is-ascii-upper-alpha.d.ts +6 -0
- package/dist/string/ascii/is-ascii-upper-alpha.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-upper-alpha.js +9 -0
- package/dist/string/ascii/is-ascii-upper-alpha.js.map +1 -0
- package/dist/string/ascii/is-ascii-whitespace.d.ts +7 -0
- package/dist/string/ascii/is-ascii-whitespace.d.ts.map +1 -0
- package/dist/string/ascii/is-ascii-whitespace.js +10 -0
- package/dist/string/ascii/is-ascii-whitespace.js.map +1 -0
- package/dist/string/capitalize.d.ts +9 -0
- package/dist/string/capitalize.d.ts.map +1 -0
- package/dist/string/capitalize.js +14 -0
- package/dist/string/capitalize.js.map +1 -0
- package/dist/string/case/camel-case.d.ts +17 -0
- package/dist/string/case/camel-case.d.ts.map +1 -0
- package/dist/string/case/camel-case.js +25 -0
- package/dist/string/case/camel-case.js.map +1 -0
- package/dist/string/case/case-options.d.ts +15 -0
- package/dist/string/case/case-options.d.ts.map +1 -0
- package/dist/string/case/case-options.js +5 -0
- package/dist/string/case/case-options.js.map +1 -0
- package/dist/string/case/kebab-case.d.ts +17 -0
- package/dist/string/case/kebab-case.d.ts.map +1 -0
- package/dist/string/case/kebab-case.js +25 -0
- package/dist/string/case/kebab-case.js.map +1 -0
- package/dist/string/case/lower-case.d.ts +17 -0
- package/dist/string/case/lower-case.d.ts.map +1 -0
- package/dist/string/case/lower-case.js +25 -0
- package/dist/string/case/lower-case.js.map +1 -0
- package/dist/string/case/snake-case.d.ts +21 -0
- package/dist/string/case/snake-case.d.ts.map +1 -0
- package/dist/string/case/snake-case.js +29 -0
- package/dist/string/case/snake-case.js.map +1 -0
- package/dist/string/case/start-case.d.ts +18 -0
- package/dist/string/case/start-case.d.ts.map +1 -0
- package/dist/string/case/start-case.js +27 -0
- package/dist/string/case/start-case.js.map +1 -0
- package/dist/string/case/upper-case.d.ts +18 -0
- package/dist/string/case/upper-case.d.ts.map +1 -0
- package/dist/string/case/upper-case.js +26 -0
- package/dist/string/case/upper-case.js.map +1 -0
- package/dist/string/dedent.d.ts +27 -0
- package/dist/string/dedent.d.ts.map +1 -0
- package/dist/string/dedent.js +51 -0
- package/dist/string/dedent.js.map +1 -0
- package/dist/string/join-non-empty.d.ts +9 -0
- package/dist/string/join-non-empty.d.ts.map +1 -0
- package/dist/string/join-non-empty.js +13 -0
- package/dist/string/join-non-empty.js.map +1 -0
- package/dist/string/lower-first.d.ts +8 -0
- package/dist/string/lower-first.d.ts.map +1 -0
- package/dist/string/lower-first.js +13 -0
- package/dist/string/lower-first.js.map +1 -0
- package/dist/string/prefix-lines.d.ts +17 -0
- package/dist/string/prefix-lines.d.ts.map +1 -0
- package/dist/string/prefix-lines.js +22 -0
- package/dist/string/prefix-lines.js.map +1 -0
- package/dist/string/slugify.d.ts +20 -0
- package/dist/string/slugify.d.ts.map +1 -0
- package/dist/string/slugify.js +25 -0
- package/dist/string/slugify.js.map +1 -0
- package/dist/string/span.d.ts +19 -0
- package/dist/string/span.d.ts.map +1 -0
- package/dist/string/span.js +13 -0
- package/dist/string/span.js.map +1 -0
- package/dist/string/string-is-equal.d.ts +35 -0
- package/dist/string/string-is-equal.d.ts.map +1 -0
- package/dist/string/string-is-equal.js +30 -0
- package/dist/string/string-is-equal.js.map +1 -0
- package/dist/string/string-pointer.d.ts +34 -0
- package/dist/string/string-pointer.d.ts.map +1 -0
- package/dist/string/string-pointer.js +55 -0
- package/dist/string/string-pointer.js.map +1 -0
- package/dist/string/strip-diacritics.d.ts +11 -0
- package/dist/string/strip-diacritics.d.ts.map +1 -0
- package/dist/string/strip-diacritics.js +14 -0
- package/dist/string/strip-diacritics.js.map +1 -0
- package/dist/string/truncate-core.d.ts +31 -0
- package/dist/string/truncate-core.d.ts.map +1 -0
- package/dist/string/truncate-core.js +85 -0
- package/dist/string/truncate-core.js.map +1 -0
- package/dist/string/truncate.d.ts +35 -0
- package/dist/string/truncate.d.ts.map +1 -0
- package/dist/string/truncate.js +33 -0
- package/dist/string/truncate.js.map +1 -0
- package/dist/string/upper-first.d.ts +8 -0
- package/dist/string/upper-first.d.ts.map +1 -0
- package/dist/string/upper-first.js +13 -0
- package/dist/string/upper-first.js.map +1 -0
- package/dist/time/format-duration.d.ts +20 -0
- package/dist/time/format-duration.d.ts.map +1 -0
- package/dist/time/format-duration.js +134 -0
- package/dist/time/format-duration.js.map +1 -0
- package/dist/time/periodical-timer.d.ts +37 -0
- package/dist/time/periodical-timer.d.ts.map +1 -0
- package/dist/time/periodical-timer.js +74 -0
- package/dist/time/periodical-timer.js.map +1 -0
- package/dist/time/sleep.d.ts +10 -0
- package/dist/time/sleep.d.ts.map +1 -0
- package/dist/time/sleep.js +22 -0
- package/dist/time/sleep.js.map +1 -0
- package/dist/time/timer.d.ts +29 -0
- package/dist/time/timer.d.ts.map +1 -0
- package/dist/time/timer.js +50 -0
- package/dist/time/timer.js.map +1 -0
- package/dist/types/callable.d.ts +11 -0
- package/dist/types/callable.d.ts.map +1 -0
- package/dist/types/callable.js +2 -0
- package/dist/types/callable.js.map +1 -0
- package/dist/types/data.d.ts +2 -0
- package/dist/types/data.d.ts.map +1 -0
- package/dist/types/data.js +2 -0
- package/dist/types/data.js.map +1 -0
- package/dist/types/defined-value.d.ts +20 -0
- package/dist/types/defined-value.d.ts.map +1 -0
- package/dist/types/defined-value.js +2 -0
- package/dist/types/defined-value.js.map +1 -0
- package/dist/types/dispose.d.ts +2 -0
- package/dist/types/dispose.d.ts.map +1 -0
- package/dist/types/dispose.js +2 -0
- package/dist/types/dispose.js.map +1 -0
- package/dist/types/error.d.ts +29 -0
- package/dist/types/error.d.ts.map +1 -0
- package/dist/types/error.js +2 -0
- package/dist/types/error.js.map +1 -0
- package/dist/types/globals/builtin-array.d.ts +18 -0
- package/dist/types/globals/builtin-array.d.ts.map +1 -0
- package/dist/types/globals/builtin-array.js +2 -0
- package/dist/types/globals/builtin-array.js.map +1 -0
- package/dist/types/globals/builtin-json.d.ts +41 -0
- package/dist/types/globals/builtin-json.d.ts.map +1 -0
- package/dist/types/globals/builtin-json.js +2 -0
- package/dist/types/globals/builtin-json.js.map +1 -0
- package/dist/types/globals/builtin-object.d.ts +27 -0
- package/dist/types/globals/builtin-object.d.ts.map +1 -0
- package/dist/types/globals/builtin-object.js +2 -0
- package/dist/types/globals/builtin-object.js.map +1 -0
- package/dist/types/globals/builtin-regexp.d.ts +15 -0
- package/dist/types/globals/builtin-regexp.d.ts.map +1 -0
- package/dist/types/globals/builtin-regexp.js +2 -0
- package/dist/types/globals/builtin-regexp.js.map +1 -0
- package/dist/types/iterator.d.ts +10 -0
- package/dist/types/iterator.d.ts.map +1 -0
- package/dist/types/iterator.js +2 -0
- package/dist/types/iterator.js.map +1 -0
- package/dist/types/json.d.ts +25 -0
- package/dist/types/json.d.ts.map +1 -0
- package/dist/types/json.js +2 -0
- package/dist/types/json.js.map +1 -0
- package/dist/types/primitive.d.ts +2 -0
- package/dist/types/primitive.d.ts.map +1 -0
- package/dist/types/primitive.js +2 -0
- package/dist/types/primitive.js.map +1 -0
- package/dist/types/promise.d.ts +13 -0
- package/dist/types/promise.d.ts.map +1 -0
- package/dist/types/promise.js +2 -0
- package/dist/types/promise.js.map +1 -0
- package/dist/types/random-fn.d.ts +4 -0
- package/dist/types/random-fn.d.ts.map +1 -0
- package/dist/types/random-fn.js +2 -0
- package/dist/types/random-fn.js.map +1 -0
- package/dist/types/util/defined.d.ts +15 -0
- package/dist/types/util/defined.d.ts.map +1 -0
- package/dist/types/util/defined.js +2 -0
- package/dist/types/util/defined.js.map +1 -0
- package/dist/types/util/set-nullable.d.ts +30 -0
- package/dist/types/util/set-nullable.d.ts.map +1 -0
- package/dist/types/util/set-nullable.js +2 -0
- package/dist/types/util/set-nullable.js.map +1 -0
- package/dist/types/v8-call-site.d.ts +33 -0
- package/dist/types/v8-call-site.d.ts.map +1 -0
- package/dist/types/v8-call-site.js +2 -0
- package/dist/types/v8-call-site.js.map +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reads a big-endian unsigned integer from `data` at `offset`.
|
|
3
|
+
*
|
|
4
|
+
* Unlike `DataView.getUint32`, this reads straight from the array and therefore
|
|
5
|
+
* needs no view object per call. The caller is responsible for ensuring that
|
|
6
|
+
* `byteLength` bytes are available at `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param data - The bytes to read from.
|
|
9
|
+
* @param offset - The index of the first byte to read.
|
|
10
|
+
* @param byteLength - How many bytes to read, in the 0..4 range. Defaults to 4
|
|
11
|
+
* (a full word); fewer bytes read a narrower big-endian integer formed from
|
|
12
|
+
* just those leading bytes — not a zero-padded full word — for a binary
|
|
13
|
+
* format's variable-width or partial trailing fields.
|
|
14
|
+
* @returns The value as an unsigned 32-bit integer.
|
|
15
|
+
*/
|
|
16
|
+
export declare function getUint32Be(data: Uint8Array, offset: number, byteLength?: number): number;
|
|
17
|
+
//# sourceMappingURL=get-uint32-be.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uint32-be.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/get-uint32-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CAC1B,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,MAAM,EACd,UAAU,SAAI,GACZ,MAAM,CAgBR"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reads a big-endian unsigned integer from `data` at `offset`.
|
|
3
|
+
*
|
|
4
|
+
* Unlike `DataView.getUint32`, this reads straight from the array and therefore
|
|
5
|
+
* needs no view object per call. The caller is responsible for ensuring that
|
|
6
|
+
* `byteLength` bytes are available at `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param data - The bytes to read from.
|
|
9
|
+
* @param offset - The index of the first byte to read.
|
|
10
|
+
* @param byteLength - How many bytes to read, in the 0..4 range. Defaults to 4
|
|
11
|
+
* (a full word); fewer bytes read a narrower big-endian integer formed from
|
|
12
|
+
* just those leading bytes — not a zero-padded full word — for a binary
|
|
13
|
+
* format's variable-width or partial trailing fields.
|
|
14
|
+
* @returns The value as an unsigned 32-bit integer.
|
|
15
|
+
*/
|
|
16
|
+
export function getUint32Be(data, offset, byteLength = 4) {
|
|
17
|
+
if (byteLength === 4) {
|
|
18
|
+
return (((data[offset] << 24) |
|
|
19
|
+
(data[offset + 1] << 16) |
|
|
20
|
+
(data[offset + 2] << 8) |
|
|
21
|
+
data[offset + 3]) >>>
|
|
22
|
+
0);
|
|
23
|
+
}
|
|
24
|
+
let value = 0;
|
|
25
|
+
for (let i = 0; i < byteLength; i++) {
|
|
26
|
+
value = ((value << 8) | data[offset + i]) >>> 0;
|
|
27
|
+
}
|
|
28
|
+
return value;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=get-uint32-be.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uint32-be.js","sourceRoot":"","sources":["../../../src/buffer/codec/get-uint32-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,WAAW,CAC1B,IAAgB,EAChB,MAAc,EACd,UAAU,GAAG,CAAC;IAEd,IAAI,UAAU,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,CACN,CAAC,CAAC,IAAI,CAAC,MAAM,CAAE,IAAI,EAAE,CAAC;YACrB,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,IAAI,EAAE,CAAC;YACzB,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,IAAI,CAAC,CAAC;YACxB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC;YACnB,CAAC,CACD,CAAC;IACH,CAAC;IAED,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;QACrC,KAAK,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reads a little-endian unsigned integer from `data` at `offset`.
|
|
3
|
+
*
|
|
4
|
+
* Unlike `DataView.getUint32`, this reads straight from the array and therefore
|
|
5
|
+
* needs no view object per call. The caller is responsible for ensuring that
|
|
6
|
+
* `byteLength` bytes are available at `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param data - The bytes to read from.
|
|
9
|
+
* @param offset - The index of the first byte to read.
|
|
10
|
+
* @param byteLength - How many bytes to read, in the 0..4 range. Defaults to 4
|
|
11
|
+
* (a full word); fewer bytes read a narrower little-endian integer formed
|
|
12
|
+
* from just those leading bytes, which for little-endian is equivalent to
|
|
13
|
+
* zero-padding the missing high bytes — for a binary format's variable-width
|
|
14
|
+
* or partial trailing fields.
|
|
15
|
+
* @returns The value as an unsigned 32-bit integer.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getUint32Le(data: Uint8Array, offset: number, byteLength?: number): number;
|
|
18
|
+
//# sourceMappingURL=get-uint32-le.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uint32-le.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/get-uint32-le.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CAC1B,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,MAAM,EACd,UAAU,SAAI,GACZ,MAAM,CAgBR"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reads a little-endian unsigned integer from `data` at `offset`.
|
|
3
|
+
*
|
|
4
|
+
* Unlike `DataView.getUint32`, this reads straight from the array and therefore
|
|
5
|
+
* needs no view object per call. The caller is responsible for ensuring that
|
|
6
|
+
* `byteLength` bytes are available at `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param data - The bytes to read from.
|
|
9
|
+
* @param offset - The index of the first byte to read.
|
|
10
|
+
* @param byteLength - How many bytes to read, in the 0..4 range. Defaults to 4
|
|
11
|
+
* (a full word); fewer bytes read a narrower little-endian integer formed
|
|
12
|
+
* from just those leading bytes, which for little-endian is equivalent to
|
|
13
|
+
* zero-padding the missing high bytes — for a binary format's variable-width
|
|
14
|
+
* or partial trailing fields.
|
|
15
|
+
* @returns The value as an unsigned 32-bit integer.
|
|
16
|
+
*/
|
|
17
|
+
export function getUint32Le(data, offset, byteLength = 4) {
|
|
18
|
+
if (byteLength === 4) {
|
|
19
|
+
return ((data[offset] |
|
|
20
|
+
(data[offset + 1] << 8) |
|
|
21
|
+
(data[offset + 2] << 16) |
|
|
22
|
+
(data[offset + 3] << 24)) >>>
|
|
23
|
+
0);
|
|
24
|
+
}
|
|
25
|
+
let value = 0;
|
|
26
|
+
for (let i = byteLength - 1; i >= 0; i--) {
|
|
27
|
+
value = ((value << 8) | data[offset + i]) >>> 0;
|
|
28
|
+
}
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=get-uint32-le.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uint32-le.js","sourceRoot":"","sources":["../../../src/buffer/codec/get-uint32-le.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,WAAW,CAC1B,IAAgB,EAChB,MAAc,EACd,UAAU,GAAG,CAAC;IAEd,IAAI,UAAU,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,CACN,CAAC,IAAI,CAAC,MAAM,CAAE;YACb,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,IAAI,CAAC,CAAC;YACxB,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,IAAI,EAAE,CAAC;YACzB,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,IAAI,EAAE,CAAC,CAAC;YAC3B,CAAC,CACD,CAAC;IACH,CAAC;IAED,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,IAAI,CAAC,GAAG,UAAU,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1C,KAAK,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAE,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `words` into `target` at `offset` as big-endian bytes, in place.
|
|
3
|
+
*
|
|
4
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
5
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
6
|
+
* @param offset - The index of the first byte to write.
|
|
7
|
+
* @param words - The words to serialize.
|
|
8
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
9
|
+
* `words`. Truncation is byte-granular, not word-granular.
|
|
10
|
+
*/
|
|
11
|
+
export declare function setBigUint64ArrayBe(target: Uint8Array, offset: number, words: BigUint64Array, byteLength?: number): void;
|
|
12
|
+
//# sourceMappingURL=set-big-uint64-array-be.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-array-be.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-array-be.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAClC,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc,EACrB,UAAU,GAAE,MAAyB,GACnC,IAAI,CAcN"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { setBigUint64Be } from "./set-big-uint64-be.js";
|
|
2
|
+
/**
|
|
3
|
+
* Writes `words` into `target` at `offset` as big-endian bytes, in place.
|
|
4
|
+
*
|
|
5
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
6
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
7
|
+
* @param offset - The index of the first byte to write.
|
|
8
|
+
* @param words - The words to serialize.
|
|
9
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
10
|
+
* `words`. Truncation is byte-granular, not word-granular.
|
|
11
|
+
*/
|
|
12
|
+
export function setBigUint64ArrayBe(target, offset, words, byteLength = words.length * 8) {
|
|
13
|
+
const fullWords = byteLength >> 3;
|
|
14
|
+
for (let word = 0; word < fullWords; word++) {
|
|
15
|
+
setBigUint64Be(target, offset + word * 8, words[word]);
|
|
16
|
+
}
|
|
17
|
+
const remainder = byteLength - fullWords * 8;
|
|
18
|
+
if (remainder > 0) {
|
|
19
|
+
const tail = new Uint8Array(8);
|
|
20
|
+
setBigUint64Be(tail, 0, words[fullWords]);
|
|
21
|
+
target.set(tail.subarray(0, remainder), offset + fullWords * 8);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=set-big-uint64-array-be.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-array-be.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-array-be.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;;;;;;GASG;AACH,MAAM,UAAU,mBAAmB,CAClC,MAAkB,EAClB,MAAc,EACd,KAAqB,EACrB,UAAU,GAAW,KAAK,CAAC,MAAM,GAAG,CAAC;IAErC,MAAM,SAAS,GAAG,UAAU,IAAI,CAAC,CAAC;IAElC,KAAK,IAAI,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;QAC7C,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,CAAE,CAAC,CAAC;IACzD,CAAC;IAED,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC;IAE7C,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAC/B,cAAc,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAE,CAAC,CAAC;QAC3C,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC;IACjE,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `words` into `target` at `offset` as little-endian bytes, in place.
|
|
3
|
+
*
|
|
4
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
5
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
6
|
+
* @param offset - The index of the first byte to write.
|
|
7
|
+
* @param words - The words to serialize.
|
|
8
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
9
|
+
* `words`. Truncation is byte-granular, not word-granular — e.g. BLAKE2b
|
|
10
|
+
* accepts any output length from 1 to 64 bytes, not just multiples of 8.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setBigUint64ArrayLe(target: Uint8Array, offset: number, words: BigUint64Array, byteLength?: number): void;
|
|
13
|
+
//# sourceMappingURL=set-big-uint64-array-le.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-array-le.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-array-le.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAClC,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc,EACrB,UAAU,GAAE,MAAyB,GACnC,IAAI,CAcN"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { setBigUint64Le } from "./set-big-uint64-le.js";
|
|
2
|
+
/**
|
|
3
|
+
* Writes `words` into `target` at `offset` as little-endian bytes, in place.
|
|
4
|
+
*
|
|
5
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
6
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
7
|
+
* @param offset - The index of the first byte to write.
|
|
8
|
+
* @param words - The words to serialize.
|
|
9
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
10
|
+
* `words`. Truncation is byte-granular, not word-granular — e.g. BLAKE2b
|
|
11
|
+
* accepts any output length from 1 to 64 bytes, not just multiples of 8.
|
|
12
|
+
*/
|
|
13
|
+
export function setBigUint64ArrayLe(target, offset, words, byteLength = words.length * 8) {
|
|
14
|
+
const fullWords = byteLength >> 3;
|
|
15
|
+
for (let word = 0; word < fullWords; word++) {
|
|
16
|
+
setBigUint64Le(target, offset + word * 8, words[word]);
|
|
17
|
+
}
|
|
18
|
+
const remainder = byteLength - fullWords * 8;
|
|
19
|
+
if (remainder > 0) {
|
|
20
|
+
const tail = new Uint8Array(8);
|
|
21
|
+
setBigUint64Le(tail, 0, words[fullWords]);
|
|
22
|
+
target.set(tail.subarray(0, remainder), offset + fullWords * 8);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=set-big-uint64-array-le.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-array-le.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-array-le.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CAClC,MAAkB,EAClB,MAAc,EACd,KAAqB,EACrB,UAAU,GAAW,KAAK,CAAC,MAAM,GAAG,CAAC;IAErC,MAAM,SAAS,GAAG,UAAU,IAAI,CAAC,CAAC;IAElC,KAAK,IAAI,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;QAC7C,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,CAAE,CAAC,CAAC;IACzD,CAAC;IAED,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC;IAE7C,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAC/B,cAAc,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAE,CAAC,CAAC;QAC3C,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC;IACjE,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a big-endian unsigned 64-bit
|
|
3
|
+
* integer.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write; only its low 64 bits are used.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setBigUint64Be(target: Uint8Array, offset: number, value: bigint): void;
|
|
13
|
+
//# sourceMappingURL=set-big-uint64-be.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-be.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-be.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC7B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAGN"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MASK_32N } from "../../constants/mask.js";
|
|
2
|
+
import { setUint32Be } from "./set-uint32-be.js";
|
|
3
|
+
/**
|
|
4
|
+
* Writes `value` into `target` at `offset` as a big-endian unsigned 64-bit
|
|
5
|
+
* integer.
|
|
6
|
+
*
|
|
7
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
8
|
+
* `offset`.
|
|
9
|
+
*
|
|
10
|
+
* @param target - The bytes to write into.
|
|
11
|
+
* @param offset - The index of the first byte to write.
|
|
12
|
+
* @param value - The value to write; only its low 64 bits are used.
|
|
13
|
+
*/
|
|
14
|
+
export function setBigUint64Be(target, offset, value) {
|
|
15
|
+
setUint32Be(target, offset, Number((value >> 32n) & MASK_32N));
|
|
16
|
+
setUint32Be(target, offset + 4, Number(value & MASK_32N));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=set-big-uint64-be.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-be.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-be.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;;;;;GAUG;AACH,MAAM,UAAU,cAAc,CAC7B,MAAkB,EAClB,MAAc,EACd,KAAa;IAEb,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC;IAC/D,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a little-endian unsigned 64-bit
|
|
3
|
+
* integer.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write; only its low 64 bits are used.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setBigUint64Le(target: Uint8Array, offset: number, value: bigint): void;
|
|
13
|
+
//# sourceMappingURL=set-big-uint64-le.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-le.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-le.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAC7B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAGN"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MASK_32N } from "../../constants/mask.js";
|
|
2
|
+
import { setUint32Le } from "./set-uint32-le.js";
|
|
3
|
+
/**
|
|
4
|
+
* Writes `value` into `target` at `offset` as a little-endian unsigned 64-bit
|
|
5
|
+
* integer.
|
|
6
|
+
*
|
|
7
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
8
|
+
* `offset`.
|
|
9
|
+
*
|
|
10
|
+
* @param target - The bytes to write into.
|
|
11
|
+
* @param offset - The index of the first byte to write.
|
|
12
|
+
* @param value - The value to write; only its low 64 bits are used.
|
|
13
|
+
*/
|
|
14
|
+
export function setBigUint64Le(target, offset, value) {
|
|
15
|
+
setUint32Le(target, offset, Number(value & MASK_32N));
|
|
16
|
+
setUint32Le(target, offset + 4, Number((value >> 32n) & MASK_32N));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=set-big-uint64-le.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-big-uint64-le.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-big-uint64-le.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;;;;;GAUG;AACH,MAAM,UAAU,cAAc,CAC7B,MAAkB,EAClB,MAAc,EACd,KAAa;IAEb,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;IACtD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a big-endian IEEE 754
|
|
3
|
+
* single-precision (binary32) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that four bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setFloat32Be(target: Uint8Array, offset: number, value: number): void;
|
|
13
|
+
//# sourceMappingURL=set-float32-be.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float32-be.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-float32-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC3B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAMN"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a big-endian IEEE 754
|
|
3
|
+
* single-precision (binary32) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that four bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export function setFloat32Be(target, offset, value) {
|
|
13
|
+
new DataView(target.buffer, target.byteOffset + offset, 4).setFloat32(0, value, false);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=set-float32-be.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float32-be.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-float32-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAC3B,MAAkB,EAClB,MAAc,EACd,KAAa;IAEb,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,UAAU,CACpE,CAAC,EACD,KAAK,EACL,KAAK,CACL,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a little-endian IEEE 754
|
|
3
|
+
* single-precision (binary32) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that four bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setFloat32Le(target: Uint8Array, offset: number, value: number): void;
|
|
13
|
+
//# sourceMappingURL=set-float32-le.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float32-le.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-float32-le.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC3B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAMN"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a little-endian IEEE 754
|
|
3
|
+
* single-precision (binary32) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that four bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export function setFloat32Le(target, offset, value) {
|
|
13
|
+
new DataView(target.buffer, target.byteOffset + offset, 4).setFloat32(0, value, true);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=set-float32-le.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float32-le.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-float32-le.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAC3B,MAAkB,EAClB,MAAc,EACd,KAAa;IAEb,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,UAAU,CACpE,CAAC,EACD,KAAK,EACL,IAAI,CACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a big-endian IEEE 754
|
|
3
|
+
* double-precision (binary64) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setFloat64Be(target: Uint8Array, offset: number, value: number): void;
|
|
13
|
+
//# sourceMappingURL=set-float64-be.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float64-be.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-float64-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC3B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAMN"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a big-endian IEEE 754
|
|
3
|
+
* double-precision (binary64) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export function setFloat64Be(target, offset, value) {
|
|
13
|
+
new DataView(target.buffer, target.byteOffset + offset, 8).setFloat64(0, value, false);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=set-float64-be.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float64-be.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-float64-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAC3B,MAAkB,EAClB,MAAc,EACd,KAAa;IAEb,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,UAAU,CACpE,CAAC,EACD,KAAK,EACL,KAAK,CACL,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a little-endian IEEE 754
|
|
3
|
+
* double-precision (binary64) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setFloat64Le(target: Uint8Array, offset: number, value: number): void;
|
|
13
|
+
//# sourceMappingURL=set-float64-le.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float64-le.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-float64-le.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC3B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAMN"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a little-endian IEEE 754
|
|
3
|
+
* double-precision (binary64) float.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that eight bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write.
|
|
11
|
+
*/
|
|
12
|
+
export function setFloat64Le(target, offset, value) {
|
|
13
|
+
new DataView(target.buffer, target.byteOffset + offset, 8).setFloat64(0, value, true);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=set-float64-le.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-float64-le.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-float64-le.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAC3B,MAAkB,EAClB,MAAc,EACd,KAAa;IAEb,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,UAAU,CACpE,CAAC,EACD,KAAK,EACL,IAAI,CACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `words` into `target` at `offset` as big-endian bytes, in place.
|
|
3
|
+
*
|
|
4
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
5
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
6
|
+
* @param offset - The index of the first byte to write.
|
|
7
|
+
* @param words - The words to serialize.
|
|
8
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
9
|
+
* `words`. Truncation is byte-granular, not word-granular — e.g. BLAKE2s
|
|
10
|
+
* accepts any output length from 1 to 32 bytes, not just multiples of 4 — so
|
|
11
|
+
* a truncated final word writes only its leading bytes, never spilling past
|
|
12
|
+
* `offset + byteLength` into whatever follows in `target`.
|
|
13
|
+
*/
|
|
14
|
+
export declare function setUint32ArrayBe(target: Uint8Array, offset: number, words: Uint32Array, byteLength?: number): void;
|
|
15
|
+
//# sourceMappingURL=set-uint32-array-be.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-uint32-array-be.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-uint32-array-be.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC/B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,WAAW,EAClB,UAAU,GAAE,MAAyB,GACnC,IAAI,CAcN"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { setUint32Be } from "./set-uint32-be.js";
|
|
2
|
+
/**
|
|
3
|
+
* Writes `words` into `target` at `offset` as big-endian bytes, in place.
|
|
4
|
+
*
|
|
5
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
6
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
7
|
+
* @param offset - The index of the first byte to write.
|
|
8
|
+
* @param words - The words to serialize.
|
|
9
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
10
|
+
* `words`. Truncation is byte-granular, not word-granular — e.g. BLAKE2s
|
|
11
|
+
* accepts any output length from 1 to 32 bytes, not just multiples of 4 — so
|
|
12
|
+
* a truncated final word writes only its leading bytes, never spilling past
|
|
13
|
+
* `offset + byteLength` into whatever follows in `target`.
|
|
14
|
+
*/
|
|
15
|
+
export function setUint32ArrayBe(target, offset, words, byteLength = words.length * 4) {
|
|
16
|
+
const fullWords = byteLength >> 2;
|
|
17
|
+
for (let word = 0; word < fullWords; word++) {
|
|
18
|
+
setUint32Be(target, offset + word * 4, words[word]);
|
|
19
|
+
}
|
|
20
|
+
const remainder = byteLength - fullWords * 4;
|
|
21
|
+
if (remainder > 0) {
|
|
22
|
+
const tail = new Uint8Array(4);
|
|
23
|
+
setUint32Be(tail, 0, words[fullWords]);
|
|
24
|
+
target.set(tail.subarray(0, remainder), offset + fullWords * 4);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=set-uint32-array-be.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-uint32-array-be.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-uint32-array-be.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,gBAAgB,CAC/B,MAAkB,EAClB,MAAc,EACd,KAAkB,EAClB,UAAU,GAAW,KAAK,CAAC,MAAM,GAAG,CAAC;IAErC,MAAM,SAAS,GAAG,UAAU,IAAI,CAAC,CAAC;IAElC,KAAK,IAAI,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;QAC7C,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,CAAE,CAAC,CAAC;IACtD,CAAC;IAED,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC;IAE7C,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAC/B,WAAW,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAE,CAAC,CAAC;QACxC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC;IACjE,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `words` into `target` at `offset` as little-endian bytes, in place.
|
|
3
|
+
*
|
|
4
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
5
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
6
|
+
* @param offset - The index of the first byte to write.
|
|
7
|
+
* @param words - The words to serialize.
|
|
8
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
9
|
+
* `words`. Truncation is byte-granular, not word-granular — e.g. BLAKE2s
|
|
10
|
+
* accepts any output length from 1 to 32 bytes, not just multiples of 4 — so
|
|
11
|
+
* a truncated final word writes only its leading bytes, never spilling past
|
|
12
|
+
* `offset + byteLength` into whatever follows in `target`.
|
|
13
|
+
*/
|
|
14
|
+
export declare function setUint32ArrayLe(target: Uint8Array, offset: number, words: Uint32Array, byteLength?: number): void;
|
|
15
|
+
//# sourceMappingURL=set-uint32-array-le.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-uint32-array-le.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-uint32-array-le.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC/B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,WAAW,EAClB,UAAU,GAAE,MAAyB,GACnC,IAAI,CAcN"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { setUint32Le } from "./set-uint32-le.js";
|
|
2
|
+
/**
|
|
3
|
+
* Writes `words` into `target` at `offset` as little-endian bytes, in place.
|
|
4
|
+
*
|
|
5
|
+
* @param target - The bytes to write into. The caller is responsible for
|
|
6
|
+
* ensuring that `byteLength` bytes are available at `offset`.
|
|
7
|
+
* @param offset - The index of the first byte to write.
|
|
8
|
+
* @param words - The words to serialize.
|
|
9
|
+
* @param byteLength - How many leading bytes to write. Defaults to all of
|
|
10
|
+
* `words`. Truncation is byte-granular, not word-granular — e.g. BLAKE2s
|
|
11
|
+
* accepts any output length from 1 to 32 bytes, not just multiples of 4 — so
|
|
12
|
+
* a truncated final word writes only its leading bytes, never spilling past
|
|
13
|
+
* `offset + byteLength` into whatever follows in `target`.
|
|
14
|
+
*/
|
|
15
|
+
export function setUint32ArrayLe(target, offset, words, byteLength = words.length * 4) {
|
|
16
|
+
const fullWords = byteLength >> 2;
|
|
17
|
+
for (let word = 0; word < fullWords; word++) {
|
|
18
|
+
setUint32Le(target, offset + word * 4, words[word]);
|
|
19
|
+
}
|
|
20
|
+
const remainder = byteLength - fullWords * 4;
|
|
21
|
+
if (remainder > 0) {
|
|
22
|
+
const tail = new Uint8Array(4);
|
|
23
|
+
setUint32Le(tail, 0, words[fullWords]);
|
|
24
|
+
target.set(tail.subarray(0, remainder), offset + fullWords * 4);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=set-uint32-array-le.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-uint32-array-le.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-uint32-array-le.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,gBAAgB,CAC/B,MAAkB,EAClB,MAAc,EACd,KAAkB,EAClB,UAAU,GAAW,KAAK,CAAC,MAAM,GAAG,CAAC;IAErC,MAAM,SAAS,GAAG,UAAU,IAAI,CAAC,CAAC;IAElC,KAAK,IAAI,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;QAC7C,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,CAAE,CAAC,CAAC;IACtD,CAAC;IAED,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC;IAE7C,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAC/B,WAAW,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAE,CAAC,CAAC;QACxC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC;IACjE,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a big-endian unsigned 32-bit
|
|
3
|
+
* integer.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that four bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write; only its low 32 bits are used.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setUint32Be(target: Uint8Array, offset: number, value: number): void;
|
|
13
|
+
//# sourceMappingURL=set-uint32-be.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-uint32-be.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-uint32-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAC1B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAKN"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a big-endian unsigned 32-bit
|
|
3
|
+
* integer.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that four bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write; only its low 32 bits are used.
|
|
11
|
+
*/
|
|
12
|
+
export function setUint32Be(target, offset, value) {
|
|
13
|
+
target[offset] = (value >>> 24) & 0xff;
|
|
14
|
+
target[offset + 1] = (value >>> 16) & 0xff;
|
|
15
|
+
target[offset + 2] = (value >>> 8) & 0xff;
|
|
16
|
+
target[offset + 3] = value & 0xff;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=set-uint32-be.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-uint32-be.js","sourceRoot":"","sources":["../../../src/buffer/codec/set-uint32-be.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,WAAW,CAC1B,MAAkB,EAClB,MAAc,EACd,KAAa;IAEb,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;IAC1C,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Writes `value` into `target` at `offset` as a little-endian unsigned 32-bit
|
|
3
|
+
* integer.
|
|
4
|
+
*
|
|
5
|
+
* The caller is responsible for ensuring that four bytes are available at
|
|
6
|
+
* `offset`.
|
|
7
|
+
*
|
|
8
|
+
* @param target - The bytes to write into.
|
|
9
|
+
* @param offset - The index of the first byte to write.
|
|
10
|
+
* @param value - The value to write; only its low 32 bits are used.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setUint32Le(target: Uint8Array, offset: number, value: number): void;
|
|
13
|
+
//# sourceMappingURL=set-uint32-le.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-uint32-le.d.ts","sourceRoot":"","sources":["../../../src/buffer/codec/set-uint32-le.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAC1B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,IAAI,CAKN"}
|