@dxos/util 0.8.4-main.fdfb99ef29 → 0.8.4-staging.60fe92afc8
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 +102 -5
- package/dist/lib/browser/index.mjs +75 -26
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +75 -26
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/id.d.ts +30 -0
- package/dist/types/src/id.d.ts.map +1 -0
- package/dist/types/src/id.test.d.ts +2 -0
- package/dist/types/src/id.test.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/map-values.d.ts.map +1 -1
- package/dist/types/src/position.d.ts +4 -4
- package/dist/types/src/position.d.ts.map +1 -1
- package/dist/types/src/string.d.ts +12 -0
- package/dist/types/src/string.d.ts.map +1 -1
- package/dist/types/src/uint8array.d.ts +27 -0
- package/dist/types/src/uint8array.d.ts.map +1 -1
- package/dist/types/src/unit.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -7
- package/src/id.test.ts +109 -0
- package/src/id.ts +48 -0
- package/src/index.ts +1 -0
- package/src/map-values.ts +6 -0
- package/src/position.test.ts +38 -44
- package/src/position.ts +7 -11
- package/src/string.test.ts +24 -1
- package/src/string.ts +16 -0
- package/src/uint8array.ts +44 -0
- package/src/unit.ts +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/array-to-hex.ts":{"bytes":2379,"imports":[],"format":"esm"},"src/array.ts":{"bytes":11929,"imports":[],"format":"esm"},"src/assume.ts":{"bytes":1259,"imports":[],"format":"esm"},"src/binder.ts":{"bytes":1230,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true}],"format":"esm"},"src/bitfield.ts":{"bytes":8147,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/browser-storage.ts":{"bytes":6825,"imports":[],"format":"esm"},"src/callback-collection.ts":{"bytes":3085,"imports":[],"format":"esm"},"src/callback.ts":{"bytes":4733,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/case.ts":{"bytes":4504,"imports":[],"format":"esm"},"src/chunk-array.ts":{"bytes":1118,"imports":[],"format":"esm"},"src/circular-buffer.ts":{"bytes":6300,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/clear-undefined.ts":{"bytes":1473,"imports":[],"format":"esm"},"src/complex.ts":{"bytes":25202,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/composite-key.ts":{"bytes":1461,"imports":[],"format":"esm"},"src/deep.ts":{"bytes":3594,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/defer-function.ts":{"bytes":1474,"imports":[],"format":"esm"},"src/defer.ts":{"bytes":3584,"imports":[{"path":"@hazae41/symbol-dispose-polyfill","kind":"import-statement","external":true}],"format":"esm"},"src/entry.ts":{"bytes":2931,"imports":[],"format":"esm"},"src/error-format.ts":{"bytes":2089,"imports":[],"format":"esm"},"src/filename.ts":{"bytes":1273,"imports":[],"format":"esm"},"src/for-each-async.ts":{"bytes":701,"imports":[],"format":"esm"},"src/human-hash.ts":{"bytes":19681,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"src/map.ts":{"bytes":1420,"imports":[],"format":"esm"},"src/instance-id.ts":{"bytes":4145,"imports":[{"path":"src/map.ts","kind":"import-statement","original":"./map"}],"format":"esm"},"src/interval.ts":{"bytes":1745,"imports":[],"format":"esm"},"src/join-tables.ts":{"bytes":2986,"imports":[],"format":"esm"},"src/uint8array.ts":{"bytes":3669,"imports":[],"format":"esm"},"src/json.ts":{"bytes":13202,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/human-hash.ts","kind":"import-statement","original":"./human-hash"},{"path":"src/uint8array.ts","kind":"import-statement","original":"./uint8array"}],"format":"esm"},"src/map-values.ts":{"bytes":12805,"imports":[],"format":"esm"},"src/no-infer.ts":{"bytes":396,"imports":[],"format":"esm"},"src/object.ts":{"bytes":998,"imports":[],"format":"esm"},"src/order-keys.ts":{"bytes":1518,"imports":[],"format":"esm"},"src/order.ts":{"bytes":4900,"imports":[],"format":"esm"},"src/pick.ts":{"bytes":3578,"imports":[],"format":"esm"},"src/platform.ts":{"bytes":17349,"imports":[],"format":"esm"},"src/position.ts":{"bytes":2425,"imports":[],"format":"esm"},"src/random.ts":{"bytes":1231,"imports":[],"format":"esm"},"src/range.ts":{"bytes":2540,"imports":[],"format":"esm"},"src/reducers.ts":{"bytes":12738,"imports":[{"path":"src/map.ts","kind":"import-statement","original":"./map"}],"format":"esm"},"src/remove-undefined-keys.ts":{"bytes":4473,"imports":[],"format":"esm"},"src/retry.ts":{"bytes":4890,"imports":[],"format":"esm"},"src/safe-await.ts":{"bytes":2767,"imports":[],"format":"esm"},"src/safe-instanceof.ts":{"bytes":2599,"imports":[],"format":"esm"},"src/safe-parse.ts":{"bytes":3850,"imports":[],"format":"esm"},"src/safe-stringify.ts":{"bytes":13259,"imports":[],"format":"esm"},"src/sliding-window-summary.ts":{"bytes":7195,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/circular-buffer.ts","kind":"import-statement","original":"./circular-buffer"}],"format":"esm"},"src/sort.ts":{"bytes":3861,"imports":[],"format":"esm"},"src/string.ts":{"bytes":5662,"imports":[],"format":"esm"},"src/sum.ts":{"bytes":606,"imports":[],"format":"esm"},"src/throw-unhandled-error.ts":{"bytes":1076,"imports":[],"format":"esm"},"src/to-fallback.ts":{"bytes":12393,"imports":[],"format":"esm"},"src/tracer.ts":{"bytes":7153,"imports":[{"path":"src/map.ts","kind":"import-statement","original":"./map"}],"format":"esm"},"src/tree.ts":{"bytes":6176,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":10311,"imports":[],"format":"esm"},"src/unit.ts":{"bytes":9150,"imports":[],"format":"esm"},"src/url.ts":{"bytes":1558,"imports":[],"format":"esm"},"src/weak.ts":{"bytes":13604,"imports":[],"format":"esm"},"src/index.ts":{"bytes":5477,"imports":[{"path":"src/array-to-hex.ts","kind":"import-statement","original":"./array-to-hex"},{"path":"src/array.ts","kind":"import-statement","original":"./array"},{"path":"src/assume.ts","kind":"import-statement","original":"./assume"},{"path":"src/binder.ts","kind":"import-statement","original":"./binder"},{"path":"src/bitfield.ts","kind":"import-statement","original":"./bitfield"},{"path":"src/browser-storage.ts","kind":"import-statement","original":"./browser-storage"},{"path":"src/callback-collection.ts","kind":"import-statement","original":"./callback-collection"},{"path":"src/callback.ts","kind":"import-statement","original":"./callback"},{"path":"src/case.ts","kind":"import-statement","original":"./case"},{"path":"src/chunk-array.ts","kind":"import-statement","original":"./chunk-array"},{"path":"src/circular-buffer.ts","kind":"import-statement","original":"./circular-buffer"},{"path":"src/clear-undefined.ts","kind":"import-statement","original":"./clear-undefined"},{"path":"src/complex.ts","kind":"import-statement","original":"./complex"},{"path":"src/composite-key.ts","kind":"import-statement","original":"./composite-key"},{"path":"src/deep.ts","kind":"import-statement","original":"./deep"},{"path":"src/defer-function.ts","kind":"import-statement","original":"./defer-function"},{"path":"src/defer.ts","kind":"import-statement","original":"./defer"},{"path":"src/entry.ts","kind":"import-statement","original":"./entry"},{"path":"src/error-format.ts","kind":"import-statement","original":"./error-format"},{"path":"src/filename.ts","kind":"import-statement","original":"./filename"},{"path":"src/for-each-async.ts","kind":"import-statement","original":"./for-each-async"},{"path":"src/human-hash.ts","kind":"import-statement","original":"./human-hash"},{"path":"src/instance-id.ts","kind":"import-statement","original":"./instance-id"},{"path":"src/interval.ts","kind":"import-statement","original":"./interval"},{"path":"src/join-tables.ts","kind":"import-statement","original":"./join-tables"},{"path":"src/json.ts","kind":"import-statement","original":"./json"},{"path":"src/map-values.ts","kind":"import-statement","original":"./map-values"},{"path":"src/map.ts","kind":"import-statement","original":"./map"},{"path":"src/no-infer.ts","kind":"import-statement","original":"./no-infer"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/order-keys.ts","kind":"import-statement","original":"./order-keys"},{"path":"src/order.ts","kind":"import-statement","original":"./order"},{"path":"src/pick.ts","kind":"import-statement","original":"./pick"},{"path":"src/platform.ts","kind":"import-statement","original":"./platform"},{"path":"src/position.ts","kind":"import-statement","original":"./position"},{"path":"src/random.ts","kind":"import-statement","original":"./random"},{"path":"src/range.ts","kind":"import-statement","original":"./range"},{"path":"src/reducers.ts","kind":"import-statement","original":"./reducers"},{"path":"src/remove-undefined-keys.ts","kind":"import-statement","original":"./remove-undefined-keys"},{"path":"src/retry.ts","kind":"import-statement","original":"./retry"},{"path":"src/safe-await.ts","kind":"import-statement","original":"./safe-await"},{"path":"src/safe-instanceof.ts","kind":"import-statement","original":"./safe-instanceof"},{"path":"src/safe-parse.ts","kind":"import-statement","original":"./safe-parse"},{"path":"src/safe-stringify.ts","kind":"import-statement","original":"./safe-stringify"},{"path":"src/sliding-window-summary.ts","kind":"import-statement","original":"./sliding-window-summary"},{"path":"src/sort.ts","kind":"import-statement","original":"./sort"},{"path":"src/string.ts","kind":"import-statement","original":"./string"},{"path":"src/sum.ts","kind":"import-statement","original":"./sum"},{"path":"src/throw-unhandled-error.ts","kind":"import-statement","original":"./throw-unhandled-error"},{"path":"src/to-fallback.ts","kind":"import-statement","original":"./to-fallback"},{"path":"src/tracer.ts","kind":"import-statement","original":"./tracer"},{"path":"src/tree.ts","kind":"import-statement","original":"./tree"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/uint8array.ts","kind":"import-statement","original":"./uint8array"},{"path":"src/unit.ts","kind":"import-statement","original":"./unit"},{"path":"src/url.ts","kind":"import-statement","original":"./url"},{"path":"src/weak.ts","kind":"import-statement","original":"./weak"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":157684},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@hazae41/symbol-dispose-polyfill","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"exports":["BitField","Callback","CallbackCollection","CircularBuffer","ComplexMap","ComplexSet","HumanHasher","MapEntry","SKIP","SlidingWindowSummary","Tracer","Unit","WeakDictionary","accessBy","arrayMove","arraySwap","arrayToBuffer","arrayToHex","arrayToString","arraysEqual","assumeType","bufferToArray","byPosition","capitalize","chunkArray","clamp","clearCaches","clearIndexedDB","clearOPFS","clearServiceWorkers","clearUndefined","coerceArray","compareMulti","compareObject","compareScalar","compareString","compositeKey","createBinder","createBucketReducer","createFilename","createGroupReducer","createReplacer","createSetDispatch","createUrl","decamelize","deepMapValues","deepMapValuesAsync","defaultFilter","defaultMap","defer","deferAsync","deferFunction","diff","distinctBy","doAsync","entries","entry","exponentialBackoffInterval","forEachAsync","formatErrorWithCauses","getAsyncProviderValue","getDate","getDebugName","getDeep","getHostPlatform","getPrototypeSpecificInstanceId","getProviderValue","hexToEmoji","hexToFallback","hexToHue","humanize","hyphenize","idEmoji","idHue","inferObjectOrder","inferRecordOrder","intersectBy","intersection","iosCheck","isBun","isMobile","isMobileOrTablet","isNode","isNonNullable","isTauri","isTruthy","joinTables","jsonKeyReplacer","jsonReplacer","jsonify","jsonlogify","kebabize","keyToEmoji","keyToFallback","keyToHue","keys","makeMap","makeSet","mapValues","median","numericalValues","omit","orderKeys","partition","pick","pickBy","randomInt","range","rangeFromTo","reduceGroupBy","reduceSeries","reduceSet","removeBy","removeProperties","removeUndefinedProperties","retry","safariCheck","safeAwaitAll","safeInstanceof","safeParseFloat","safeParseInt","safeParseJson","safeStringify","safeUrl","setDeep","sortKeys","splitCompositeKey","stringToArray","stringifyTree","stripUndefined","sum","throwUnhandledError","toEmoji","toFallback","toHue","tracer","trim","visitValues"],"entryPoint":"src/index.ts","inputs":{"src/array-to-hex.ts":{"bytesInOutput":341},"src/index.ts":{"bytesInOutput":0},"src/array.ts":{"bytesInOutput":1931},"src/assume.ts":{"bytesInOutput":31},"src/binder.ts":{"bytesInOutput":153},"src/bitfield.ts":{"bytesInOutput":1637},"src/browser-storage.ts":{"bytesInOutput":1360},"src/callback-collection.ts":{"bytesInOutput":558},"src/callback.ts":{"bytesInOutput":763},"src/case.ts":{"bytesInOutput":940},"src/chunk-array.ts":{"bytesInOutput":173},"src/circular-buffer.ts":{"bytesInOutput":1390},"src/clear-undefined.ts":{"bytesInOutput":223},"src/complex.ts":{"bytesInOutput":5568},"src/composite-key.ts":{"bytesInOutput":132},"src/deep.ts":{"bytesInOutput":530},"src/defer-function.ts":{"bytesInOutput":72},"src/defer.ts":{"bytesInOutput":603},"src/entry.ts":{"bytesInOutput":487},"src/error-format.ts":{"bytesInOutput":380},"src/filename.ts":{"bytesInOutput":176},"src/for-each-async.ts":{"bytesInOutput":62},"src/human-hash.ts":{"bytesInOutput":5674},"src/map.ts":{"bytesInOutput":193},"src/instance-id.ts":{"bytesInOutput":800},"src/interval.ts":{"bytesInOutput":290},"src/join-tables.ts":{"bytesInOutput":493},"src/json.ts":{"bytesInOutput":2958},"src/uint8array.ts":{"bytesInOutput":562},"src/map-values.ts":{"bytesInOutput":2490},"src/object.ts":{"bytesInOutput":82},"src/order-keys.ts":{"bytesInOutput":266},"src/order.ts":{"bytesInOutput":676},"src/pick.ts":{"bytesInOutput":482},"src/platform.ts":{"bytesInOutput":5437},"src/position.ts":{"bytesInOutput":271},"src/random.ts":{"bytesInOutput":148},"src/range.ts":{"bytesInOutput":371},"src/reducers.ts":{"bytesInOutput":2326},"src/remove-undefined-keys.ts":{"bytesInOutput":935},"src/retry.ts":{"bytesInOutput":903},"src/safe-await.ts":{"bytesInOutput":345},"src/safe-instanceof.ts":{"bytesInOutput":387},"src/safe-parse.ts":{"bytesInOutput":634},"src/safe-stringify.ts":{"bytesInOutput":2691},"src/sliding-window-summary.ts":{"bytesInOutput":1569},"src/sort.ts":{"bytesInOutput":643},"src/string.ts":{"bytesInOutput":945},"src/sum.ts":{"bytesInOutput":57},"src/throw-unhandled-error.ts":{"bytesInOutput":90},"src/to-fallback.ts":{"bytesInOutput":3114},"src/tracer.ts":{"bytesInOutput":1390},"src/tree.ts":{"bytesInOutput":1193},"src/types.ts":{"bytesInOutput":1044},"src/unit.ts":{"bytesInOutput":2278},"src/url.ts":{"bytesInOutput":246},"src/weak.ts":{"bytesInOutput":3309}},"bytes":66129}}}
|
|
1
|
+
{"inputs":{"src/array-to-hex.ts":{"bytes":2379,"imports":[],"format":"esm"},"src/array.ts":{"bytes":11929,"imports":[],"format":"esm"},"src/assume.ts":{"bytes":1259,"imports":[],"format":"esm"},"src/binder.ts":{"bytes":1230,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true}],"format":"esm"},"src/bitfield.ts":{"bytes":8147,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/browser-storage.ts":{"bytes":6825,"imports":[],"format":"esm"},"src/callback-collection.ts":{"bytes":3085,"imports":[],"format":"esm"},"src/callback.ts":{"bytes":4733,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/case.ts":{"bytes":4504,"imports":[],"format":"esm"},"src/chunk-array.ts":{"bytes":1118,"imports":[],"format":"esm"},"src/circular-buffer.ts":{"bytes":6300,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/clear-undefined.ts":{"bytes":1473,"imports":[],"format":"esm"},"src/complex.ts":{"bytes":25202,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/composite-key.ts":{"bytes":1461,"imports":[],"format":"esm"},"src/deep.ts":{"bytes":3594,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/defer-function.ts":{"bytes":1474,"imports":[],"format":"esm"},"src/defer.ts":{"bytes":3584,"imports":[{"path":"@hazae41/symbol-dispose-polyfill","kind":"import-statement","external":true}],"format":"esm"},"src/entry.ts":{"bytes":2931,"imports":[],"format":"esm"},"src/error-format.ts":{"bytes":2089,"imports":[],"format":"esm"},"src/filename.ts":{"bytes":1273,"imports":[],"format":"esm"},"src/for-each-async.ts":{"bytes":701,"imports":[],"format":"esm"},"src/human-hash.ts":{"bytes":19681,"imports":[{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"src/id.ts":{"bytes":5229,"imports":[],"format":"esm"},"src/map.ts":{"bytes":1420,"imports":[],"format":"esm"},"src/instance-id.ts":{"bytes":4145,"imports":[{"path":"src/map.ts","kind":"import-statement","original":"./map"}],"format":"esm"},"src/interval.ts":{"bytes":1745,"imports":[],"format":"esm"},"src/join-tables.ts":{"bytes":2986,"imports":[],"format":"esm"},"src/uint8array.ts":{"bytes":8452,"imports":[],"format":"esm"},"src/json.ts":{"bytes":13202,"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/human-hash.ts","kind":"import-statement","original":"./human-hash"},{"path":"src/uint8array.ts","kind":"import-statement","original":"./uint8array"}],"format":"esm"},"src/map-values.ts":{"bytes":13773,"imports":[],"format":"esm"},"src/no-infer.ts":{"bytes":396,"imports":[],"format":"esm"},"src/object.ts":{"bytes":998,"imports":[],"format":"esm"},"src/order-keys.ts":{"bytes":1518,"imports":[],"format":"esm"},"src/order.ts":{"bytes":4900,"imports":[],"format":"esm"},"src/pick.ts":{"bytes":3578,"imports":[],"format":"esm"},"src/platform.ts":{"bytes":17349,"imports":[],"format":"esm"},"src/position.ts":{"bytes":2211,"imports":[],"format":"esm"},"src/random.ts":{"bytes":1231,"imports":[],"format":"esm"},"src/range.ts":{"bytes":2540,"imports":[],"format":"esm"},"src/reducers.ts":{"bytes":12738,"imports":[{"path":"src/map.ts","kind":"import-statement","original":"./map"}],"format":"esm"},"src/remove-undefined-keys.ts":{"bytes":4473,"imports":[],"format":"esm"},"src/retry.ts":{"bytes":4890,"imports":[],"format":"esm"},"src/safe-await.ts":{"bytes":2767,"imports":[],"format":"esm"},"src/safe-instanceof.ts":{"bytes":2599,"imports":[],"format":"esm"},"src/safe-parse.ts":{"bytes":3850,"imports":[],"format":"esm"},"src/safe-stringify.ts":{"bytes":13259,"imports":[],"format":"esm"},"src/sliding-window-summary.ts":{"bytes":7195,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/circular-buffer.ts","kind":"import-statement","original":"./circular-buffer"}],"format":"esm"},"src/sort.ts":{"bytes":3861,"imports":[],"format":"esm"},"src/string.ts":{"bytes":7221,"imports":[],"format":"esm"},"src/sum.ts":{"bytes":606,"imports":[],"format":"esm"},"src/throw-unhandled-error.ts":{"bytes":1076,"imports":[],"format":"esm"},"src/to-fallback.ts":{"bytes":12393,"imports":[],"format":"esm"},"src/tracer.ts":{"bytes":7153,"imports":[{"path":"src/map.ts","kind":"import-statement","original":"./map"}],"format":"esm"},"src/tree.ts":{"bytes":6176,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":10311,"imports":[],"format":"esm"},"src/unit.ts":{"bytes":9344,"imports":[],"format":"esm"},"src/url.ts":{"bytes":1558,"imports":[],"format":"esm"},"src/weak.ts":{"bytes":13604,"imports":[],"format":"esm"},"src/index.ts":{"bytes":5551,"imports":[{"path":"src/array-to-hex.ts","kind":"import-statement","original":"./array-to-hex"},{"path":"src/array.ts","kind":"import-statement","original":"./array"},{"path":"src/assume.ts","kind":"import-statement","original":"./assume"},{"path":"src/binder.ts","kind":"import-statement","original":"./binder"},{"path":"src/bitfield.ts","kind":"import-statement","original":"./bitfield"},{"path":"src/browser-storage.ts","kind":"import-statement","original":"./browser-storage"},{"path":"src/callback-collection.ts","kind":"import-statement","original":"./callback-collection"},{"path":"src/callback.ts","kind":"import-statement","original":"./callback"},{"path":"src/case.ts","kind":"import-statement","original":"./case"},{"path":"src/chunk-array.ts","kind":"import-statement","original":"./chunk-array"},{"path":"src/circular-buffer.ts","kind":"import-statement","original":"./circular-buffer"},{"path":"src/clear-undefined.ts","kind":"import-statement","original":"./clear-undefined"},{"path":"src/complex.ts","kind":"import-statement","original":"./complex"},{"path":"src/composite-key.ts","kind":"import-statement","original":"./composite-key"},{"path":"src/deep.ts","kind":"import-statement","original":"./deep"},{"path":"src/defer-function.ts","kind":"import-statement","original":"./defer-function"},{"path":"src/defer.ts","kind":"import-statement","original":"./defer"},{"path":"src/entry.ts","kind":"import-statement","original":"./entry"},{"path":"src/error-format.ts","kind":"import-statement","original":"./error-format"},{"path":"src/filename.ts","kind":"import-statement","original":"./filename"},{"path":"src/for-each-async.ts","kind":"import-statement","original":"./for-each-async"},{"path":"src/human-hash.ts","kind":"import-statement","original":"./human-hash"},{"path":"src/id.ts","kind":"import-statement","original":"./id"},{"path":"src/instance-id.ts","kind":"import-statement","original":"./instance-id"},{"path":"src/interval.ts","kind":"import-statement","original":"./interval"},{"path":"src/join-tables.ts","kind":"import-statement","original":"./join-tables"},{"path":"src/json.ts","kind":"import-statement","original":"./json"},{"path":"src/map-values.ts","kind":"import-statement","original":"./map-values"},{"path":"src/map.ts","kind":"import-statement","original":"./map"},{"path":"src/no-infer.ts","kind":"import-statement","original":"./no-infer"},{"path":"src/object.ts","kind":"import-statement","original":"./object"},{"path":"src/order-keys.ts","kind":"import-statement","original":"./order-keys"},{"path":"src/order.ts","kind":"import-statement","original":"./order"},{"path":"src/pick.ts","kind":"import-statement","original":"./pick"},{"path":"src/platform.ts","kind":"import-statement","original":"./platform"},{"path":"src/position.ts","kind":"import-statement","original":"./position"},{"path":"src/random.ts","kind":"import-statement","original":"./random"},{"path":"src/range.ts","kind":"import-statement","original":"./range"},{"path":"src/reducers.ts","kind":"import-statement","original":"./reducers"},{"path":"src/remove-undefined-keys.ts","kind":"import-statement","original":"./remove-undefined-keys"},{"path":"src/retry.ts","kind":"import-statement","original":"./retry"},{"path":"src/safe-await.ts","kind":"import-statement","original":"./safe-await"},{"path":"src/safe-instanceof.ts","kind":"import-statement","original":"./safe-instanceof"},{"path":"src/safe-parse.ts","kind":"import-statement","original":"./safe-parse"},{"path":"src/safe-stringify.ts","kind":"import-statement","original":"./safe-stringify"},{"path":"src/sliding-window-summary.ts","kind":"import-statement","original":"./sliding-window-summary"},{"path":"src/sort.ts","kind":"import-statement","original":"./sort"},{"path":"src/string.ts","kind":"import-statement","original":"./string"},{"path":"src/sum.ts","kind":"import-statement","original":"./sum"},{"path":"src/throw-unhandled-error.ts","kind":"import-statement","original":"./throw-unhandled-error"},{"path":"src/to-fallback.ts","kind":"import-statement","original":"./to-fallback"},{"path":"src/tracer.ts","kind":"import-statement","original":"./tracer"},{"path":"src/tree.ts","kind":"import-statement","original":"./tree"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/uint8array.ts","kind":"import-statement","original":"./uint8array"},{"path":"src/unit.ts","kind":"import-statement","original":"./unit"},{"path":"src/url.ts","kind":"import-statement","original":"./url"},{"path":"src/weak.ts","kind":"import-statement","original":"./weak"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":163918},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@hazae41/symbol-dispose-polyfill","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/node-std/util","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"exports":["BitField","Callback","CallbackCollection","CircularBuffer","ComplexMap","ComplexSet","HumanHasher","MapEntry","SKIP","SlidingWindowSummary","Tracer","Unit","WeakDictionary","accessBy","arrayMove","arraySwap","arrayToBuffer","arrayToHex","arrayToString","arraysEqual","assumeType","bufferToArray","byPosition","capitalize","chunkArray","clamp","clearCaches","clearIndexedDB","clearOPFS","clearServiceWorkers","clearUndefined","coerceArray","compareMulti","compareObject","compareScalar","compareString","compositeKey","createBinder","createBucketReducer","createFilename","createGroupReducer","createReplacer","createSetDispatch","createUrl","decamelize","decodeUint8ArrayFromJson","deepMapValues","deepMapValuesAsync","defaultFilter","defaultMap","defer","deferAsync","deferFunction","diff","distinctBy","doAsync","encodeUint8ArrayToJson","entries","entry","exponentialBackoffInterval","forEachAsync","formatErrorWithCauses","getAsyncProviderValue","getDate","getDebugName","getDeep","getHostPlatform","getPrototypeSpecificInstanceId","getProviderValue","hexToEmoji","hexToFallback","hexToHue","humanize","hyphenize","id","idEmoji","idHue","inferObjectOrder","inferRecordOrder","inline","intersectBy","intersection","iosCheck","isBun","isEncodedUint8Array","isMobile","isMobileOrTablet","isNode","isNonNullable","isTauri","isTruthy","isWellFormedId","isWellFormedIdPart","joinTables","jsonKeyReplacer","jsonReplacer","jsonify","jsonlogify","kebabize","keyToEmoji","keyToFallback","keyToHue","keys","makeMap","makeSet","mapValues","median","numericalValues","omit","orderKeys","partition","pick","pickBy","randomInt","range","rangeFromTo","reduceGroupBy","reduceSeries","reduceSet","removeBy","removeProperties","removeUndefinedProperties","retry","safariCheck","safeAwaitAll","safeInstanceof","safeParseFloat","safeParseInt","safeParseJson","safeStringify","safeUrl","setDeep","sortKeys","splitCompositeKey","stringToArray","stringifyTree","stripUndefined","sum","throwUnhandledError","toEmoji","toFallback","toHue","tracer","trim","visitValues"],"entryPoint":"src/index.ts","inputs":{"src/array-to-hex.ts":{"bytesInOutput":341},"src/index.ts":{"bytesInOutput":0},"src/array.ts":{"bytesInOutput":1931},"src/assume.ts":{"bytesInOutput":31},"src/binder.ts":{"bytesInOutput":153},"src/bitfield.ts":{"bytesInOutput":1637},"src/browser-storage.ts":{"bytesInOutput":1360},"src/callback-collection.ts":{"bytesInOutput":558},"src/callback.ts":{"bytesInOutput":763},"src/case.ts":{"bytesInOutput":940},"src/chunk-array.ts":{"bytesInOutput":173},"src/circular-buffer.ts":{"bytesInOutput":1390},"src/clear-undefined.ts":{"bytesInOutput":223},"src/complex.ts":{"bytesInOutput":5568},"src/composite-key.ts":{"bytesInOutput":132},"src/deep.ts":{"bytesInOutput":530},"src/defer-function.ts":{"bytesInOutput":72},"src/defer.ts":{"bytesInOutput":603},"src/entry.ts":{"bytesInOutput":487},"src/error-format.ts":{"bytesInOutput":380},"src/filename.ts":{"bytesInOutput":176},"src/for-each-async.ts":{"bytesInOutput":62},"src/human-hash.ts":{"bytesInOutput":5674},"src/id.ts":{"bytesInOutput":552},"src/map.ts":{"bytesInOutput":193},"src/instance-id.ts":{"bytesInOutput":805},"src/interval.ts":{"bytesInOutput":290},"src/join-tables.ts":{"bytesInOutput":493},"src/json.ts":{"bytesInOutput":2958},"src/uint8array.ts":{"bytesInOutput":1261},"src/map-values.ts":{"bytesInOutput":2618},"src/object.ts":{"bytesInOutput":82},"src/order-keys.ts":{"bytesInOutput":266},"src/order.ts":{"bytesInOutput":687},"src/pick.ts":{"bytesInOutput":482},"src/platform.ts":{"bytesInOutput":5437},"src/position.ts":{"bytesInOutput":241},"src/random.ts":{"bytesInOutput":148},"src/range.ts":{"bytesInOutput":371},"src/reducers.ts":{"bytesInOutput":2326},"src/remove-undefined-keys.ts":{"bytesInOutput":935},"src/retry.ts":{"bytesInOutput":903},"src/safe-await.ts":{"bytesInOutput":345},"src/safe-instanceof.ts":{"bytesInOutput":387},"src/safe-parse.ts":{"bytesInOutput":634},"src/safe-stringify.ts":{"bytesInOutput":2691},"src/sliding-window-summary.ts":{"bytesInOutput":1569},"src/sort.ts":{"bytesInOutput":643},"src/string.ts":{"bytesInOutput":1136},"src/sum.ts":{"bytesInOutput":57},"src/throw-unhandled-error.ts":{"bytesInOutput":90},"src/to-fallback.ts":{"bytesInOutput":3114},"src/tracer.ts":{"bytesInOutput":1402},"src/tree.ts":{"bytesInOutput":1193},"src/types.ts":{"bytesInOutput":1044},"src/unit.ts":{"bytesInOutput":2338},"src/url.ts":{"bytesInOutput":246},"src/weak.ts":{"bytesInOutput":3309}},"bytes":67904}}}
|
|
@@ -1060,6 +1060,19 @@ var humanize = (value) => {
|
|
|
1060
1060
|
return hasher.humanize(value);
|
|
1061
1061
|
};
|
|
1062
1062
|
|
|
1063
|
+
// src/id.ts
|
|
1064
|
+
var PART = /^[a-zA-Z][a-zA-Z0-9]{0,62}$/;
|
|
1065
|
+
var ID = /^[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(\.[a-zA-Z]([a-zA-Z0-9]{0,62})?)$/;
|
|
1066
|
+
function id(strings, ...values) {
|
|
1067
|
+
const raw = strings.reduce((out, str, i) => out + str + (i < values.length ? String(values[i]) : ""), "");
|
|
1068
|
+
if (!ID.test(raw)) {
|
|
1069
|
+
throw new Error(`Invalid id (expected AT Protocol NSID): ${JSON.stringify(raw)}`);
|
|
1070
|
+
}
|
|
1071
|
+
return raw;
|
|
1072
|
+
}
|
|
1073
|
+
var isWellFormedId = (value) => ID.test(value);
|
|
1074
|
+
var isWellFormedIdPart = (value) => PART.test(value);
|
|
1075
|
+
|
|
1063
1076
|
// src/map.ts
|
|
1064
1077
|
var defaultMap = (map, key, def) => {
|
|
1065
1078
|
let value = map.get(key);
|
|
@@ -1079,12 +1092,12 @@ var getPrototypeSpecificInstanceId = (instance) => {
|
|
|
1079
1092
|
nextId: 0,
|
|
1080
1093
|
instanceIds: /* @__PURE__ */ new WeakMap()
|
|
1081
1094
|
}));
|
|
1082
|
-
let
|
|
1083
|
-
if (
|
|
1084
|
-
|
|
1085
|
-
instanceCtx.instanceIds.set(instance,
|
|
1095
|
+
let id2 = instanceCtx.instanceIds.get(instance);
|
|
1096
|
+
if (id2 === void 0) {
|
|
1097
|
+
id2 = instanceCtx.nextId++;
|
|
1098
|
+
instanceCtx.instanceIds.set(instance, id2);
|
|
1086
1099
|
}
|
|
1087
|
-
return
|
|
1100
|
+
return id2;
|
|
1088
1101
|
};
|
|
1089
1102
|
var getDebugName = (instance) => {
|
|
1090
1103
|
if (instance == null) {
|
|
@@ -1151,6 +1164,26 @@ var bufferToArray = (buffer) => {
|
|
|
1151
1164
|
};
|
|
1152
1165
|
var stringToArray = (string) => bufferToArray(Buffer.from(string, "hex"));
|
|
1153
1166
|
var arrayToString = (array) => arrayToBuffer(array).toString("hex");
|
|
1167
|
+
var toUnpaddedBase64 = (bytes) => arrayToBuffer(bytes).toString("base64").replace(/=+$/, "");
|
|
1168
|
+
var encodeUint8ArrayToJson = (bytes) => ({
|
|
1169
|
+
"/": {
|
|
1170
|
+
bytes: toUnpaddedBase64(bytes)
|
|
1171
|
+
}
|
|
1172
|
+
});
|
|
1173
|
+
var isEncodedUint8Array = (value) => {
|
|
1174
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
1175
|
+
return false;
|
|
1176
|
+
}
|
|
1177
|
+
if (Object.keys(value).length !== 1) {
|
|
1178
|
+
return false;
|
|
1179
|
+
}
|
|
1180
|
+
const inner = value["/"];
|
|
1181
|
+
if (typeof inner !== "object" || inner === null || Array.isArray(inner)) {
|
|
1182
|
+
return false;
|
|
1183
|
+
}
|
|
1184
|
+
return Object.keys(inner).length === 1 && typeof inner.bytes === "string";
|
|
1185
|
+
};
|
|
1186
|
+
var decodeUint8ArrayFromJson = (encoded) => bufferToArray(Buffer.from(encoded["/"].bytes, "base64"));
|
|
1154
1187
|
|
|
1155
1188
|
// src/json.ts
|
|
1156
1189
|
var MAX_DEPTH = 5;
|
|
@@ -1280,6 +1313,8 @@ var DeepMapper = class {
|
|
|
1280
1313
|
res[i] = this._map(value[i], i);
|
|
1281
1314
|
}
|
|
1282
1315
|
return res;
|
|
1316
|
+
} else if (ArrayBuffer.isView(value)) {
|
|
1317
|
+
return value;
|
|
1283
1318
|
} else if (value !== null && typeof value === "object") {
|
|
1284
1319
|
const res = {};
|
|
1285
1320
|
this._cyclic.set(value, res);
|
|
@@ -1321,6 +1356,8 @@ var DeepMapperAsync = class {
|
|
|
1321
1356
|
res[i] = await this._map(value[i], i);
|
|
1322
1357
|
}
|
|
1323
1358
|
return res;
|
|
1359
|
+
} else if (ArrayBuffer.isView(value)) {
|
|
1360
|
+
return value;
|
|
1324
1361
|
} else if (value !== null && typeof value === "object") {
|
|
1325
1362
|
const res = {};
|
|
1326
1363
|
this._cyclic.set(value, res);
|
|
@@ -1365,27 +1402,27 @@ var orderKeys = (obj, order) => {
|
|
|
1365
1402
|
|
|
1366
1403
|
// src/order.ts
|
|
1367
1404
|
var inferObjectOrder = (objectMap, order = []) => {
|
|
1368
|
-
const orderedObjects = order.reduce((acc,
|
|
1369
|
-
if (
|
|
1370
|
-
acc.objects.push(objectMap[
|
|
1371
|
-
acc.ids.add(
|
|
1405
|
+
const orderedObjects = order.reduce((acc, id2) => {
|
|
1406
|
+
if (id2 in objectMap) {
|
|
1407
|
+
acc.objects.push(objectMap[id2]);
|
|
1408
|
+
acc.ids.add(id2);
|
|
1372
1409
|
}
|
|
1373
1410
|
return acc;
|
|
1374
1411
|
}, {
|
|
1375
1412
|
objects: [],
|
|
1376
1413
|
ids: /* @__PURE__ */ new Set()
|
|
1377
1414
|
});
|
|
1378
|
-
const { objects } = Object.keys(objectMap).reduce((acc,
|
|
1379
|
-
if (!acc.ids.has(
|
|
1380
|
-
acc.objects.push(objectMap[
|
|
1415
|
+
const { objects } = Object.keys(objectMap).reduce((acc, id2) => {
|
|
1416
|
+
if (!acc.ids.has(id2)) {
|
|
1417
|
+
acc.objects.push(objectMap[id2]);
|
|
1381
1418
|
}
|
|
1382
1419
|
return acc;
|
|
1383
1420
|
}, orderedObjects);
|
|
1384
1421
|
return objects;
|
|
1385
1422
|
};
|
|
1386
1423
|
var inferRecordOrder = (objectMap, order = []) => {
|
|
1387
|
-
return Object.assign(order.filter((
|
|
1388
|
-
acc[
|
|
1424
|
+
return Object.assign(order.filter((id2) => id2 in objectMap).reduce((acc, id2) => {
|
|
1425
|
+
acc[id2] = null;
|
|
1389
1426
|
return acc;
|
|
1390
1427
|
}, {}), objectMap);
|
|
1391
1428
|
};
|
|
@@ -1471,12 +1508,12 @@ var getHostPlatform = () => {
|
|
|
1471
1508
|
};
|
|
1472
1509
|
|
|
1473
1510
|
// src/position.ts
|
|
1474
|
-
var byPosition = ({ position: a
|
|
1511
|
+
var byPosition = ({ position: a }, { position: b }) => {
|
|
1475
1512
|
if (a === b) {
|
|
1476
1513
|
return 0;
|
|
1477
|
-
} else if (a === "
|
|
1514
|
+
} else if (a === "first" || b === "last") {
|
|
1478
1515
|
return -1;
|
|
1479
|
-
} else if (b === "
|
|
1516
|
+
} else if (b === "first" || a === "last") {
|
|
1480
1517
|
return 1;
|
|
1481
1518
|
} else {
|
|
1482
1519
|
return 0;
|
|
@@ -1898,6 +1935,10 @@ var capitalize = (str) => {
|
|
|
1898
1935
|
}
|
|
1899
1936
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
1900
1937
|
};
|
|
1938
|
+
function inline(strings, ...values) {
|
|
1939
|
+
const raw = strings.reduce((out, str, i) => out + str + (i < values.length ? String(values[i]) : ""), "");
|
|
1940
|
+
return raw.replace(/\s+/g, " ").trim();
|
|
1941
|
+
}
|
|
1901
1942
|
function trim(strings, ...values) {
|
|
1902
1943
|
const raw = strings.reduce((out, str, i) => {
|
|
1903
1944
|
out += str;
|
|
@@ -2118,8 +2159,8 @@ var Tracer = class {
|
|
|
2118
2159
|
keys() {
|
|
2119
2160
|
return Array.from(this._events.keys());
|
|
2120
2161
|
}
|
|
2121
|
-
get(
|
|
2122
|
-
const events = this._events.get(
|
|
2162
|
+
get(id2, filter) {
|
|
2163
|
+
const events = this._events.get(id2);
|
|
2123
2164
|
if (filter) {
|
|
2124
2165
|
return events?.filter((event) => Object.entries(filter).every(([key, value]) => event?.value[key] === value));
|
|
2125
2166
|
}
|
|
@@ -2136,11 +2177,11 @@ var Tracer = class {
|
|
|
2136
2177
|
this._recording = false;
|
|
2137
2178
|
return this;
|
|
2138
2179
|
}
|
|
2139
|
-
emit(
|
|
2140
|
-
this._post(this._createEvent(
|
|
2180
|
+
emit(id2, value) {
|
|
2181
|
+
this._post(this._createEvent(id2, value));
|
|
2141
2182
|
}
|
|
2142
|
-
mark(
|
|
2143
|
-
const event = this._createEvent(
|
|
2183
|
+
mark(id2, value) {
|
|
2184
|
+
const event = this._createEvent(id2, value);
|
|
2144
2185
|
const start = performance.now();
|
|
2145
2186
|
return {
|
|
2146
2187
|
start,
|
|
@@ -2150,9 +2191,9 @@ var Tracer = class {
|
|
|
2150
2191
|
}
|
|
2151
2192
|
};
|
|
2152
2193
|
}
|
|
2153
|
-
_createEvent(
|
|
2194
|
+
_createEvent(id2, value) {
|
|
2154
2195
|
const event = {
|
|
2155
|
-
id,
|
|
2196
|
+
id: id2,
|
|
2156
2197
|
timestamp: Date.now()
|
|
2157
2198
|
};
|
|
2158
2199
|
if (value !== void 0) {
|
|
@@ -2315,6 +2356,7 @@ var Unit = {
|
|
|
2315
2356
|
symbol: "ms",
|
|
2316
2357
|
quotient: 1
|
|
2317
2358
|
}),
|
|
2359
|
+
// TODO(burdon): Inconsistent formattedValue.
|
|
2318
2360
|
Duration: (n) => {
|
|
2319
2361
|
const hours = Math.floor(n / MS_HOURS);
|
|
2320
2362
|
const minutes = Math.floor(n % MS_HOURS / MS_MINUTES);
|
|
@@ -2332,7 +2374,7 @@ var Unit = {
|
|
|
2332
2374
|
}
|
|
2333
2375
|
if (minutes) {
|
|
2334
2376
|
const seconds2 = (n - MS_MINUTES * minutes) / MS_SECONDS;
|
|
2335
|
-
const formattedValue = seconds2 ? `${minutes}m ${seconds2}s` : `${minutes}m`;
|
|
2377
|
+
const formattedValue = seconds2 ? `${minutes}m ${Math.round(seconds2)}s` : `${minutes}m`;
|
|
2336
2378
|
return {
|
|
2337
2379
|
unit: {
|
|
2338
2380
|
symbol: "m",
|
|
@@ -2540,6 +2582,7 @@ export {
|
|
|
2540
2582
|
createSetDispatch,
|
|
2541
2583
|
createUrl,
|
|
2542
2584
|
decamelize,
|
|
2585
|
+
decodeUint8ArrayFromJson,
|
|
2543
2586
|
deepMapValues,
|
|
2544
2587
|
deepMapValuesAsync,
|
|
2545
2588
|
defaultFilter,
|
|
@@ -2550,6 +2593,7 @@ export {
|
|
|
2550
2593
|
diff,
|
|
2551
2594
|
distinctBy,
|
|
2552
2595
|
doAsync,
|
|
2596
|
+
encodeUint8ArrayToJson,
|
|
2553
2597
|
entries,
|
|
2554
2598
|
entry,
|
|
2555
2599
|
exponentialBackoffInterval,
|
|
@@ -2567,20 +2611,25 @@ export {
|
|
|
2567
2611
|
hexToHue,
|
|
2568
2612
|
humanize,
|
|
2569
2613
|
hyphenize,
|
|
2614
|
+
id,
|
|
2570
2615
|
idEmoji,
|
|
2571
2616
|
idHue,
|
|
2572
2617
|
inferObjectOrder,
|
|
2573
2618
|
inferRecordOrder,
|
|
2619
|
+
inline,
|
|
2574
2620
|
intersectBy,
|
|
2575
2621
|
intersection,
|
|
2576
2622
|
iosCheck,
|
|
2577
2623
|
isBun,
|
|
2624
|
+
isEncodedUint8Array,
|
|
2578
2625
|
isMobile,
|
|
2579
2626
|
isMobileOrTablet,
|
|
2580
2627
|
isNode,
|
|
2581
2628
|
isNonNullable,
|
|
2582
2629
|
isTauri,
|
|
2583
2630
|
isTruthy,
|
|
2631
|
+
isWellFormedId,
|
|
2632
|
+
isWellFormedIdPart,
|
|
2584
2633
|
joinTables,
|
|
2585
2634
|
jsonKeyReplacer,
|
|
2586
2635
|
jsonReplacer,
|