tinybase 5.3.0 → 5.3.2
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/cjs/common/index.cjs +5 -7
- package/cjs/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/common/index.cjs +5 -7
- package/cjs/es6/common/with-schemas/index.cjs +5 -7
- package/cjs/es6/index.cjs +18 -12
- package/cjs/es6/indexes/index.cjs +0 -6
- package/cjs/es6/indexes/with-schemas/index.cjs +0 -6
- package/cjs/es6/mergeable-store/index.cjs +17 -11
- package/cjs/es6/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/es6/metrics/index.cjs +1 -1
- package/cjs/es6/metrics/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/common/index.cjs +1 -1
- package/cjs/es6/min/common/index.cjs.gz +0 -0
- package/cjs/es6/min/common/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/index.cjs +1 -1
- package/cjs/es6/min/index.cjs.gz +0 -0
- package/cjs/es6/min/indexes/index.cjs +1 -1
- package/cjs/es6/min/indexes/index.cjs.gz +0 -0
- package/cjs/es6/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/indexes/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/store/index.cjs +1 -1
- package/cjs/es6/min/store/index.cjs.gz +0 -0
- package/cjs/es6/min/store/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/store/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/tools/index.cjs +1 -1
- package/cjs/es6/min/tools/index.cjs.gz +0 -0
- package/cjs/es6/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/index.cjs +1 -1
- package/cjs/es6/min/ui-react/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/min/with-schemas/index.cjs +1 -1
- package/cjs/es6/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/es6/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/es6/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/es6/queries/index.cjs +1 -1
- package/cjs/es6/queries/with-schemas/index.cjs +1 -1
- package/cjs/es6/store/index.cjs +0 -6
- package/cjs/es6/store/with-schemas/index.cjs +0 -6
- package/cjs/es6/synchronizers/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/es6/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/es6/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/es6/tools/index.cjs +7 -4
- package/cjs/es6/tools/with-schemas/index.cjs +7 -4
- package/cjs/es6/ui-react/index.cjs +101 -109
- package/cjs/es6/ui-react/with-schemas/index.cjs +101 -109
- package/cjs/es6/ui-react-dom/index.cjs +14 -8
- package/cjs/es6/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/es6/ui-react-inspector/index.cjs +18 -16
- package/cjs/es6/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/es6/with-schemas/index.cjs +18 -12
- package/cjs/index.cjs +18 -12
- package/cjs/indexes/index.cjs +0 -6
- package/cjs/indexes/with-schemas/index.cjs +0 -6
- package/cjs/mergeable-store/index.cjs +17 -11
- package/cjs/mergeable-store/with-schemas/index.cjs +17 -11
- package/cjs/metrics/index.cjs +1 -1
- package/cjs/metrics/with-schemas/index.cjs +1 -1
- package/cjs/min/common/index.cjs +1 -1
- package/cjs/min/common/index.cjs.gz +0 -0
- package/cjs/min/common/with-schemas/index.cjs +1 -1
- package/cjs/min/common/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/index.cjs +1 -1
- package/cjs/min/index.cjs.gz +0 -0
- package/cjs/min/indexes/index.cjs +1 -1
- package/cjs/min/indexes/index.cjs.gz +0 -0
- package/cjs/min/indexes/with-schemas/index.cjs +1 -1
- package/cjs/min/indexes/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/index.cjs +1 -1
- package/cjs/min/mergeable-store/index.cjs.gz +0 -0
- package/cjs/min/mergeable-store/with-schemas/index.cjs +1 -1
- package/cjs/min/mergeable-store/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/index.cjs.gz +0 -0
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/min/persisters/persister-pglite/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/store/index.cjs +1 -1
- package/cjs/min/store/index.cjs.gz +0 -0
- package/cjs/min/store/with-schemas/index.cjs +1 -1
- package/cjs/min/store/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/index.cjs +1 -1
- package/cjs/min/synchronizers/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-local/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-client/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/synchronizer-ws-server/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/synchronizers/with-schemas/index.cjs +1 -1
- package/cjs/min/synchronizers/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/tools/index.cjs +1 -1
- package/cjs/min/tools/index.cjs.gz +0 -0
- package/cjs/min/tools/with-schemas/index.cjs +1 -1
- package/cjs/min/tools/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react/index.cjs +1 -1
- package/cjs/min/ui-react/index.cjs.gz +0 -0
- package/cjs/min/ui-react/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/index.cjs +1 -1
- package/cjs/min/ui-react-dom/index.cjs.gz +0 -0
- package/cjs/min/ui-react-dom/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-dom/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/index.cjs.gz +0 -0
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs +1 -1
- package/cjs/min/ui-react-inspector/with-schemas/index.cjs.gz +0 -0
- package/cjs/min/with-schemas/index.cjs +1 -1
- package/cjs/min/with-schemas/index.cjs.gz +0 -0
- package/cjs/persisters/persister-pglite/index.cjs +1 -1
- package/cjs/persisters/persister-pglite/with-schemas/index.cjs +1 -1
- package/cjs/queries/index.cjs +1 -1
- package/cjs/queries/with-schemas/index.cjs +1 -1
- package/cjs/store/index.cjs +0 -6
- package/cjs/store/with-schemas/index.cjs +0 -6
- package/cjs/synchronizers/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-broadcast-channel/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-local/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-client/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/index.cjs +5 -7
- package/cjs/synchronizers/synchronizer-ws-server/with-schemas/index.cjs +5 -7
- package/cjs/synchronizers/with-schemas/index.cjs +5 -7
- package/cjs/tools/index.cjs +7 -4
- package/cjs/tools/with-schemas/index.cjs +7 -4
- package/cjs/ui-react/index.cjs +97 -107
- package/cjs/ui-react/with-schemas/index.cjs +97 -107
- package/cjs/ui-react-dom/index.cjs +14 -8
- package/cjs/ui-react-dom/with-schemas/index.cjs +14 -8
- package/cjs/ui-react-inspector/index.cjs +18 -16
- package/cjs/ui-react-inspector/with-schemas/index.cjs +18 -16
- package/cjs/with-schemas/index.cjs +18 -12
- package/common/index.js +5 -7
- package/common/with-schemas/index.js +5 -7
- package/es6/common/index.js +5 -7
- package/es6/common/with-schemas/index.js +5 -7
- package/es6/index.js +18 -12
- package/es6/indexes/index.js +0 -6
- package/es6/indexes/with-schemas/index.js +0 -6
- package/es6/mergeable-store/index.js +17 -11
- package/es6/mergeable-store/with-schemas/index.js +17 -11
- package/es6/metrics/index.js +1 -1
- package/es6/metrics/with-schemas/index.js +1 -1
- package/es6/min/common/index.js +1 -1
- package/es6/min/common/index.js.gz +0 -0
- package/es6/min/common/with-schemas/index.js +1 -1
- package/es6/min/common/with-schemas/index.js.gz +0 -0
- package/es6/min/index.js +1 -1
- package/es6/min/index.js.gz +0 -0
- package/es6/min/indexes/index.js +1 -1
- package/es6/min/indexes/index.js.gz +0 -0
- package/es6/min/indexes/with-schemas/index.js +1 -1
- package/es6/min/indexes/with-schemas/index.js.gz +0 -0
- package/es6/min/mergeable-store/index.js +1 -1
- package/es6/min/mergeable-store/index.js.gz +0 -0
- package/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/es6/min/persisters/persister-pglite/index.js +1 -1
- package/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/es6/min/store/index.js +1 -1
- package/es6/min/store/index.js.gz +0 -0
- package/es6/min/store/with-schemas/index.js +1 -1
- package/es6/min/store/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/index.js +1 -1
- package/es6/min/synchronizers/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/es6/min/tools/index.js +1 -1
- package/es6/min/tools/index.js.gz +0 -0
- package/es6/min/tools/with-schemas/index.js +1 -1
- package/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react/index.js +1 -1
- package/es6/min/ui-react/index.js.gz +0 -0
- package/es6/min/ui-react/with-schemas/index.js +1 -1
- package/es6/min/ui-react/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-dom/index.js +1 -1
- package/es6/min/ui-react-dom/index.js.gz +0 -0
- package/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/index.js +1 -1
- package/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/es6/min/with-schemas/index.js +1 -1
- package/es6/min/with-schemas/index.js.gz +0 -0
- package/es6/persisters/persister-pglite/index.js +1 -1
- package/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/es6/queries/index.js +1 -1
- package/es6/queries/with-schemas/index.js +1 -1
- package/es6/store/index.js +0 -6
- package/es6/store/with-schemas/index.js +0 -6
- package/es6/synchronizers/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/es6/synchronizers/with-schemas/index.js +5 -7
- package/es6/tools/index.js +7 -4
- package/es6/tools/with-schemas/index.js +7 -4
- package/es6/ui-react/index.js +101 -109
- package/es6/ui-react/with-schemas/index.js +101 -109
- package/es6/ui-react-dom/index.js +14 -8
- package/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/es6/ui-react-inspector/index.js +18 -16
- package/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/es6/with-schemas/index.js +18 -12
- package/index.js +18 -12
- package/indexes/index.js +0 -6
- package/indexes/with-schemas/index.js +0 -6
- package/mergeable-store/index.js +17 -11
- package/mergeable-store/with-schemas/index.js +17 -11
- package/metrics/index.js +1 -1
- package/metrics/with-schemas/index.js +1 -1
- package/min/common/index.js +1 -1
- package/min/common/index.js.gz +0 -0
- package/min/common/with-schemas/index.js +1 -1
- package/min/common/with-schemas/index.js.gz +0 -0
- package/min/index.js +1 -1
- package/min/index.js.gz +0 -0
- package/min/indexes/index.js +1 -1
- package/min/indexes/index.js.gz +0 -0
- package/min/indexes/with-schemas/index.js +1 -1
- package/min/indexes/with-schemas/index.js.gz +0 -0
- package/min/mergeable-store/index.js +1 -1
- package/min/mergeable-store/index.js.gz +0 -0
- package/min/mergeable-store/with-schemas/index.js +1 -1
- package/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/min/persisters/persister-pglite/index.js +1 -1
- package/min/persisters/persister-pglite/index.js.gz +0 -0
- package/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/min/store/index.js +1 -1
- package/min/store/index.js.gz +0 -0
- package/min/store/with-schemas/index.js +1 -1
- package/min/store/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/index.js +1 -1
- package/min/synchronizers/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/index.js +1 -1
- package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/min/synchronizers/with-schemas/index.js +1 -1
- package/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/min/tools/index.js +1 -1
- package/min/tools/index.js.gz +0 -0
- package/min/tools/with-schemas/index.js +1 -1
- package/min/tools/with-schemas/index.js.gz +0 -0
- package/min/ui-react/index.js +1 -1
- package/min/ui-react/index.js.gz +0 -0
- package/min/ui-react/with-schemas/index.js +1 -1
- package/min/ui-react/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom/index.js +1 -1
- package/min/ui-react-dom/index.js.gz +0 -0
- package/min/ui-react-dom/with-schemas/index.js +1 -1
- package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-react-inspector/index.js +1 -1
- package/min/ui-react-inspector/index.js.gz +0 -0
- package/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/min/with-schemas/index.js +1 -1
- package/min/with-schemas/index.js.gz +0 -0
- package/package.json +5 -5
- package/persisters/persister-pglite/index.js +1 -1
- package/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/queries/index.js +1 -1
- package/queries/with-schemas/index.js +1 -1
- package/readme.md +14 -14
- package/releases.md +24 -24
- package/store/index.js +0 -6
- package/store/with-schemas/index.js +0 -6
- package/synchronizers/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-local/index.js +5 -7
- package/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/synchronizers/with-schemas/index.js +5 -7
- package/tools/index.js +7 -4
- package/tools/with-schemas/index.js +7 -4
- package/ui-react/index.js +97 -107
- package/ui-react/with-schemas/index.js +97 -107
- package/ui-react-dom/index.js +14 -8
- package/ui-react-dom/with-schemas/index.js +14 -8
- package/ui-react-inspector/index.js +18 -16
- package/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/common/index.js +5 -7
- package/umd/common/with-schemas/index.js +5 -7
- package/umd/es6/common/index.js +5 -7
- package/umd/es6/common/with-schemas/index.js +5 -7
- package/umd/es6/index.js +18 -12
- package/umd/es6/indexes/index.js +0 -6
- package/umd/es6/indexes/with-schemas/index.js +0 -6
- package/umd/es6/mergeable-store/index.js +17 -11
- package/umd/es6/mergeable-store/with-schemas/index.js +17 -11
- package/umd/es6/metrics/index.js +1 -1
- package/umd/es6/metrics/with-schemas/index.js +1 -1
- package/umd/es6/min/common/index.js +1 -1
- package/umd/es6/min/common/index.js.gz +0 -0
- package/umd/es6/min/common/with-schemas/index.js +1 -1
- package/umd/es6/min/common/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/index.js +1 -1
- package/umd/es6/min/index.js.gz +0 -0
- package/umd/es6/min/indexes/index.js +1 -1
- package/umd/es6/min/indexes/index.js.gz +0 -0
- package/umd/es6/min/indexes/with-schemas/index.js +1 -1
- package/umd/es6/min/indexes/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/index.js +1 -1
- package/umd/es6/min/mergeable-store/index.js.gz +0 -0
- package/umd/es6/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/es6/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-pglite/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/store/index.js +1 -1
- package/umd/es6/min/store/index.js.gz +0 -0
- package/umd/es6/min/store/with-schemas/index.js +1 -1
- package/umd/es6/min/store/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/index.js +1 -1
- package/umd/es6/min/synchronizers/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/es6/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/tools/index.js +1 -1
- package/umd/es6/min/tools/index.js.gz +0 -0
- package/umd/es6/min/tools/with-schemas/index.js +1 -1
- package/umd/es6/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react/index.js +1 -1
- package/umd/es6/min/ui-react/index.js.gz +0 -0
- package/umd/es6/min/ui-react/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/index.js +1 -1
- package/umd/es6/min/ui-react-dom/index.js.gz +0 -0
- package/umd/es6/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/es6/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/es6/min/with-schemas/index.js +1 -1
- package/umd/es6/min/with-schemas/index.js.gz +0 -0
- package/umd/es6/persisters/persister-pglite/index.js +1 -1
- package/umd/es6/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/es6/queries/index.js +1 -1
- package/umd/es6/queries/with-schemas/index.js +1 -1
- package/umd/es6/store/index.js +0 -6
- package/umd/es6/store/with-schemas/index.js +0 -6
- package/umd/es6/synchronizers/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/es6/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/es6/synchronizers/with-schemas/index.js +5 -7
- package/umd/es6/tools/index.js +7 -4
- package/umd/es6/tools/with-schemas/index.js +7 -4
- package/umd/es6/ui-react/index.js +101 -118
- package/umd/es6/ui-react/with-schemas/index.js +101 -118
- package/umd/es6/ui-react-dom/index.js +14 -8
- package/umd/es6/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/es6/ui-react-inspector/index.js +18 -16
- package/umd/es6/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/es6/with-schemas/index.js +18 -12
- package/umd/index.js +18 -12
- package/umd/indexes/index.js +0 -6
- package/umd/indexes/with-schemas/index.js +0 -6
- package/umd/mergeable-store/index.js +17 -11
- package/umd/mergeable-store/with-schemas/index.js +17 -11
- package/umd/metrics/index.js +1 -1
- package/umd/metrics/with-schemas/index.js +1 -1
- package/umd/min/common/index.js +1 -1
- package/umd/min/common/index.js.gz +0 -0
- package/umd/min/common/with-schemas/index.js +1 -1
- package/umd/min/common/with-schemas/index.js.gz +0 -0
- package/umd/min/index.js +1 -1
- package/umd/min/index.js.gz +0 -0
- package/umd/min/indexes/index.js +1 -1
- package/umd/min/indexes/index.js.gz +0 -0
- package/umd/min/indexes/with-schemas/index.js +1 -1
- package/umd/min/indexes/with-schemas/index.js.gz +0 -0
- package/umd/min/mergeable-store/index.js +1 -1
- package/umd/min/mergeable-store/index.js.gz +0 -0
- package/umd/min/mergeable-store/with-schemas/index.js +1 -1
- package/umd/min/mergeable-store/with-schemas/index.js.gz +0 -0
- package/umd/min/persisters/persister-pglite/index.js +1 -1
- package/umd/min/persisters/persister-pglite/index.js.gz +0 -0
- package/umd/min/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/min/persisters/persister-pglite/with-schemas/index.js.gz +0 -0
- package/umd/min/store/index.js +1 -1
- package/umd/min/store/index.js.gz +0 -0
- package/umd/min/store/with-schemas/index.js +1 -1
- package/umd/min/store/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/index.js +1 -1
- package/umd/min/synchronizers/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-server/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
- package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
- package/umd/min/synchronizers/with-schemas/index.js +1 -1
- package/umd/min/synchronizers/with-schemas/index.js.gz +0 -0
- package/umd/min/tools/index.js +1 -1
- package/umd/min/tools/index.js.gz +0 -0
- package/umd/min/tools/with-schemas/index.js +1 -1
- package/umd/min/tools/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react/index.js +1 -1
- package/umd/min/ui-react/index.js.gz +0 -0
- package/umd/min/ui-react/with-schemas/index.js +1 -1
- package/umd/min/ui-react/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-dom/index.js +1 -1
- package/umd/min/ui-react-dom/index.js.gz +0 -0
- package/umd/min/ui-react-dom/with-schemas/index.js +1 -1
- package/umd/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/index.js +1 -1
- package/umd/min/ui-react-inspector/index.js.gz +0 -0
- package/umd/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/umd/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/umd/min/with-schemas/index.js +1 -1
- package/umd/min/with-schemas/index.js.gz +0 -0
- package/umd/persisters/persister-pglite/index.js +1 -1
- package/umd/persisters/persister-pglite/with-schemas/index.js +1 -1
- package/umd/queries/index.js +1 -1
- package/umd/queries/with-schemas/index.js +1 -1
- package/umd/store/index.js +0 -6
- package/umd/store/with-schemas/index.js +0 -6
- package/umd/synchronizers/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/index.js +5 -7
- package/umd/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/index.js +5 -7
- package/umd/synchronizers/synchronizer-local/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-client/with-schemas/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/index.js +5 -7
- package/umd/synchronizers/synchronizer-ws-server/with-schemas/index.js +5 -7
- package/umd/synchronizers/with-schemas/index.js +5 -7
- package/umd/tools/index.js +7 -4
- package/umd/tools/with-schemas/index.js +7 -4
- package/umd/ui-react/index.js +97 -110
- package/umd/ui-react/with-schemas/index.js +97 -110
- package/umd/ui-react-dom/index.js +14 -8
- package/umd/ui-react-dom/with-schemas/index.js +14 -8
- package/umd/ui-react-inspector/index.js +18 -16
- package/umd/ui-react-inspector/with-schemas/index.js +18 -16
- package/umd/with-schemas/index.js +18 -12
- package/with-schemas/index.js +18 -12
package/store/index.js
CHANGED
|
@@ -302,12 +302,6 @@ const jsonStringWithMap = (obj) =>
|
|
|
302
302
|
isInstanceOf(value, Map) ? object.fromEntries([...value]) : value,
|
|
303
303
|
);
|
|
304
304
|
|
|
305
|
-
const ENCODE =
|
|
306
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
307
|
-
EMPTY_STRING,
|
|
308
|
-
);
|
|
309
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
310
|
-
|
|
311
305
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
312
306
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
|
313
307
|
|
|
@@ -302,12 +302,6 @@ const jsonStringWithMap = (obj) =>
|
|
|
302
302
|
isInstanceOf(value, Map) ? object.fromEntries([...value]) : value,
|
|
303
303
|
);
|
|
304
304
|
|
|
305
|
-
const ENCODE =
|
|
306
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'.split(
|
|
307
|
-
EMPTY_STRING,
|
|
308
|
-
);
|
|
309
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
310
|
-
|
|
311
305
|
const defaultSorter = (sortKey1, sortKey2) =>
|
|
312
306
|
(sortKey1 ?? 0) < (sortKey2 ?? 0) ? -1 : 1;
|
|
313
307
|
|
package/synchronizers/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
3
|
+
str.split(separator, limit);
|
|
2
4
|
|
|
3
5
|
const promise = Promise;
|
|
4
6
|
const GLOBAL = globalThis;
|
|
@@ -91,8 +93,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
91
93
|
},
|
|
92
94
|
);
|
|
93
95
|
|
|
94
|
-
new GLOBAL.TextEncoder();
|
|
95
|
-
|
|
96
96
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
97
97
|
const getLatestTime = (time1, time2) =>
|
|
98
98
|
/* istanbul ignore next */
|
|
@@ -404,11 +404,9 @@ const createCustomPersister = (
|
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
const MASK6 = 63;
|
|
407
|
-
const ENCODE =
|
|
408
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
409
|
-
|
|
410
|
-
);
|
|
411
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
407
|
+
const ENCODE = strSplit(
|
|
408
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
409
|
+
);
|
|
412
410
|
const encode = (num) => ENCODE[num & MASK6];
|
|
413
411
|
|
|
414
412
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
3
|
+
str.split(separator, limit);
|
|
2
4
|
|
|
3
5
|
const promise = Promise;
|
|
4
6
|
const GLOBAL = globalThis;
|
|
@@ -91,8 +93,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
91
93
|
},
|
|
92
94
|
);
|
|
93
95
|
|
|
94
|
-
new GLOBAL.TextEncoder();
|
|
95
|
-
|
|
96
96
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
97
97
|
const getLatestTime = (time1, time2) =>
|
|
98
98
|
/* istanbul ignore next */
|
|
@@ -404,11 +404,9 @@ const createCustomPersister = (
|
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
const MASK6 = 63;
|
|
407
|
-
const ENCODE =
|
|
408
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
409
|
-
|
|
410
|
-
);
|
|
411
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
407
|
+
const ENCODE = strSplit(
|
|
408
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
409
|
+
);
|
|
412
410
|
const encode = (num) => ENCODE[num & MASK6];
|
|
413
411
|
|
|
414
412
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
3
|
+
str.split(separator, limit);
|
|
2
4
|
|
|
3
5
|
const promise = Promise;
|
|
4
6
|
const GLOBAL = globalThis;
|
|
@@ -91,8 +93,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
91
93
|
},
|
|
92
94
|
);
|
|
93
95
|
|
|
94
|
-
new GLOBAL.TextEncoder();
|
|
95
|
-
|
|
96
96
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
97
97
|
const getLatestTime = (time1, time2) =>
|
|
98
98
|
/* istanbul ignore next */
|
|
@@ -404,11 +404,9 @@ const createCustomPersister = (
|
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
const MASK6 = 63;
|
|
407
|
-
const ENCODE =
|
|
408
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
409
|
-
|
|
410
|
-
);
|
|
411
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
407
|
+
const ENCODE = strSplit(
|
|
408
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
409
|
+
);
|
|
412
410
|
const encode = (num) => ENCODE[num & MASK6];
|
|
413
411
|
|
|
414
412
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
3
|
+
str.split(separator, limit);
|
|
2
4
|
|
|
3
5
|
const promise = Promise;
|
|
4
6
|
const GLOBAL = globalThis;
|
|
@@ -93,8 +95,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
93
95
|
},
|
|
94
96
|
);
|
|
95
97
|
|
|
96
|
-
new GLOBAL.TextEncoder();
|
|
97
|
-
|
|
98
98
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
99
99
|
const getLatestTime = (time1, time2) =>
|
|
100
100
|
/* istanbul ignore next */
|
|
@@ -406,11 +406,9 @@ const createCustomPersister = (
|
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
const MASK6 = 63;
|
|
409
|
-
const ENCODE =
|
|
410
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
411
|
-
|
|
412
|
-
);
|
|
413
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
409
|
+
const ENCODE = strSplit(
|
|
410
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
411
|
+
);
|
|
414
412
|
const encode = (num) => ENCODE[num & MASK6];
|
|
415
413
|
|
|
416
414
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
3
|
+
str.split(separator, limit);
|
|
2
4
|
|
|
3
5
|
const promise = Promise;
|
|
4
6
|
const GLOBAL = globalThis;
|
|
@@ -93,8 +95,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
93
95
|
},
|
|
94
96
|
);
|
|
95
97
|
|
|
96
|
-
new GLOBAL.TextEncoder();
|
|
97
|
-
|
|
98
98
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
99
99
|
const getLatestTime = (time1, time2) =>
|
|
100
100
|
/* istanbul ignore next */
|
|
@@ -406,11 +406,9 @@ const createCustomPersister = (
|
|
|
406
406
|
};
|
|
407
407
|
|
|
408
408
|
const MASK6 = 63;
|
|
409
|
-
const ENCODE =
|
|
410
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
411
|
-
|
|
412
|
-
);
|
|
413
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
409
|
+
const ENCODE = strSplit(
|
|
410
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
411
|
+
);
|
|
414
412
|
const encode = (num) => ENCODE[num & MASK6];
|
|
415
413
|
|
|
416
414
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
2
|
const UTF8 = 'utf8';
|
|
3
3
|
const UNDEFINED = '\uFFFC';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -117,8 +119,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
117
119
|
},
|
|
118
120
|
);
|
|
119
121
|
|
|
120
|
-
new GLOBAL.TextEncoder();
|
|
121
|
-
|
|
122
122
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
123
123
|
const getLatestTime = (time1, time2) =>
|
|
124
124
|
/* istanbul ignore next */
|
|
@@ -430,11 +430,9 @@ const createCustomPersister = (
|
|
|
430
430
|
};
|
|
431
431
|
|
|
432
432
|
const MASK6 = 63;
|
|
433
|
-
const ENCODE =
|
|
434
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
435
|
-
|
|
436
|
-
);
|
|
437
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
433
|
+
const ENCODE = strSplit(
|
|
434
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
435
|
+
);
|
|
438
436
|
const encode = (num) => ENCODE[num & MASK6];
|
|
439
437
|
|
|
440
438
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
2
|
const UTF8 = 'utf8';
|
|
3
3
|
const UNDEFINED = '\uFFFC';
|
|
4
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
5
|
+
str.split(separator, limit);
|
|
4
6
|
|
|
5
7
|
const promise = Promise;
|
|
6
8
|
const GLOBAL = globalThis;
|
|
@@ -117,8 +119,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
117
119
|
},
|
|
118
120
|
);
|
|
119
121
|
|
|
120
|
-
new GLOBAL.TextEncoder();
|
|
121
|
-
|
|
122
122
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
123
123
|
const getLatestTime = (time1, time2) =>
|
|
124
124
|
/* istanbul ignore next */
|
|
@@ -430,11 +430,9 @@ const createCustomPersister = (
|
|
|
430
430
|
};
|
|
431
431
|
|
|
432
432
|
const MASK6 = 63;
|
|
433
|
-
const ENCODE =
|
|
434
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
435
|
-
|
|
436
|
-
);
|
|
437
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
433
|
+
const ENCODE = strSplit(
|
|
434
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
435
|
+
);
|
|
438
436
|
const encode = (num) => ENCODE[num & MASK6];
|
|
439
437
|
|
|
440
438
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -2,6 +2,8 @@ const EMPTY_STRING = '';
|
|
|
2
2
|
const UTF8 = 'utf8';
|
|
3
3
|
const UNDEFINED = '\uFFFC';
|
|
4
4
|
const strMatch = (str, regex) => str?.match(regex);
|
|
5
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
6
|
+
str.split(separator, limit);
|
|
5
7
|
|
|
6
8
|
const promise = Promise;
|
|
7
9
|
const GLOBAL = globalThis;
|
|
@@ -126,8 +128,6 @@ const createPayload = (toClientId, ...args) =>
|
|
|
126
128
|
const createRawPayload = (toClientId, remainder) =>
|
|
127
129
|
toClientId + MESSAGE_SEPARATOR + remainder;
|
|
128
130
|
|
|
129
|
-
new GLOBAL.TextEncoder();
|
|
130
|
-
|
|
131
131
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
132
132
|
const getLatestTime = (time1, time2) =>
|
|
133
133
|
/* istanbul ignore next */
|
|
@@ -429,11 +429,9 @@ const createCustomPersister = (
|
|
|
429
429
|
};
|
|
430
430
|
|
|
431
431
|
const MASK6 = 63;
|
|
432
|
-
const ENCODE =
|
|
433
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
434
|
-
|
|
435
|
-
);
|
|
436
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
432
|
+
const ENCODE = strSplit(
|
|
433
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
434
|
+
);
|
|
437
435
|
const encode = (num) => ENCODE[num & MASK6];
|
|
438
436
|
|
|
439
437
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -2,6 +2,8 @@ const EMPTY_STRING = '';
|
|
|
2
2
|
const UTF8 = 'utf8';
|
|
3
3
|
const UNDEFINED = '\uFFFC';
|
|
4
4
|
const strMatch = (str, regex) => str?.match(regex);
|
|
5
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
6
|
+
str.split(separator, limit);
|
|
5
7
|
|
|
6
8
|
const promise = Promise;
|
|
7
9
|
const GLOBAL = globalThis;
|
|
@@ -126,8 +128,6 @@ const createPayload = (toClientId, ...args) =>
|
|
|
126
128
|
const createRawPayload = (toClientId, remainder) =>
|
|
127
129
|
toClientId + MESSAGE_SEPARATOR + remainder;
|
|
128
130
|
|
|
129
|
-
new GLOBAL.TextEncoder();
|
|
130
|
-
|
|
131
131
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
132
132
|
const getLatestTime = (time1, time2) =>
|
|
133
133
|
/* istanbul ignore next */
|
|
@@ -429,11 +429,9 @@ const createCustomPersister = (
|
|
|
429
429
|
};
|
|
430
430
|
|
|
431
431
|
const MASK6 = 63;
|
|
432
|
-
const ENCODE =
|
|
433
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
434
|
-
|
|
435
|
-
);
|
|
436
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
432
|
+
const ENCODE = strSplit(
|
|
433
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
434
|
+
);
|
|
437
435
|
const encode = (num) => ENCODE[num & MASK6];
|
|
438
436
|
|
|
439
437
|
const getRandomValues = GLOBAL.crypto
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
const EMPTY_STRING = '';
|
|
2
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
3
|
+
str.split(separator, limit);
|
|
2
4
|
|
|
3
5
|
const promise = Promise;
|
|
4
6
|
const GLOBAL = globalThis;
|
|
@@ -91,8 +93,6 @@ const visitTree = (node, path, ensureLeaf, pruneLeaf, p = 0) =>
|
|
|
91
93
|
},
|
|
92
94
|
);
|
|
93
95
|
|
|
94
|
-
new GLOBAL.TextEncoder();
|
|
95
|
-
|
|
96
96
|
const newStamp = (value, time) => (time ? [value, time] : [value]);
|
|
97
97
|
const getLatestTime = (time1, time2) =>
|
|
98
98
|
/* istanbul ignore next */
|
|
@@ -404,11 +404,9 @@ const createCustomPersister = (
|
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
const MASK6 = 63;
|
|
407
|
-
const ENCODE =
|
|
408
|
-
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
|
|
409
|
-
|
|
410
|
-
);
|
|
411
|
-
mapNew(arrayMap(ENCODE, (char, index) => [char, index]));
|
|
407
|
+
const ENCODE = strSplit(
|
|
408
|
+
'-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz',
|
|
409
|
+
);
|
|
412
410
|
const encode = (num) => ENCODE[num & MASK6];
|
|
413
411
|
|
|
414
412
|
const getRandomValues = GLOBAL.crypto
|
package/tools/index.js
CHANGED
|
@@ -23,6 +23,10 @@ const CELL_IDS = CELL + IDS;
|
|
|
23
23
|
const VALUE = 'Value';
|
|
24
24
|
const VALUES = VALUE + 's';
|
|
25
25
|
const VALUE_IDS = VALUE + IDS;
|
|
26
|
+
const TRANSACTION = 'Transaction';
|
|
27
|
+
const PARTIAL = 'Partial';
|
|
28
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
29
|
+
str.split(separator, limit);
|
|
26
30
|
|
|
27
31
|
const promise = Promise;
|
|
28
32
|
const isFiniteNumber = isFinite;
|
|
@@ -119,7 +123,6 @@ const LISTENER_ = lower(LISTENER);
|
|
|
119
123
|
const OPTIONAL_COLON = '?: ';
|
|
120
124
|
const OR_UNDEFINED = ' | undefined';
|
|
121
125
|
const NON_NULLABLE = 'NonNullable';
|
|
122
|
-
const PARTIAL = 'Partial';
|
|
123
126
|
const PROPS = 'Props';
|
|
124
127
|
const PROVIDER = 'Provider';
|
|
125
128
|
const REGISTERS_A_LISTENER = `Registers a ${LISTENER_} that will be called`;
|
|
@@ -130,7 +133,6 @@ const SET = 'Set';
|
|
|
130
133
|
const SORTED_ARGS = ', descending?: boolean, offset?: number, limit?: number';
|
|
131
134
|
const SQUARE_BRACKETS = '[]';
|
|
132
135
|
const THE_STORE = 'the Store';
|
|
133
|
-
const TRANSACTION = 'Transaction';
|
|
134
136
|
const TRANSACTION_ = lower(TRANSACTION);
|
|
135
137
|
const TRANSACTION_DOC =
|
|
136
138
|
'Execute a ' + TRANSACTION_ + ' to make multiple mutations';
|
|
@@ -289,7 +291,7 @@ const flat = (array) => array.flat(1e3);
|
|
|
289
291
|
const camel = (str, firstCap = 0) =>
|
|
290
292
|
arrayJoin(
|
|
291
293
|
arrayMap(
|
|
292
|
-
str
|
|
294
|
+
strSplit(str, NON_ALPHANUMERIC),
|
|
293
295
|
(word, w) =>
|
|
294
296
|
(w > 0 || firstCap ? upper : lower)(slice(word, 0, 1)) + slice(word, 1),
|
|
295
297
|
),
|
|
@@ -297,7 +299,8 @@ const camel = (str, firstCap = 0) =>
|
|
|
297
299
|
const snake = (str) =>
|
|
298
300
|
upper(
|
|
299
301
|
arrayJoin(
|
|
300
|
-
(
|
|
302
|
+
strSplit(
|
|
303
|
+
str && !NON_ALPHA.test(str[0]) ? str : ' ' + str,
|
|
301
304
|
NON_ALPHANUMERIC,
|
|
302
305
|
),
|
|
303
306
|
'_',
|
|
@@ -23,6 +23,10 @@ const CELL_IDS = CELL + IDS;
|
|
|
23
23
|
const VALUE = 'Value';
|
|
24
24
|
const VALUES = VALUE + 's';
|
|
25
25
|
const VALUE_IDS = VALUE + IDS;
|
|
26
|
+
const TRANSACTION = 'Transaction';
|
|
27
|
+
const PARTIAL = 'Partial';
|
|
28
|
+
const strSplit = (str, separator = EMPTY_STRING, limit) =>
|
|
29
|
+
str.split(separator, limit);
|
|
26
30
|
|
|
27
31
|
const promise = Promise;
|
|
28
32
|
const isFiniteNumber = isFinite;
|
|
@@ -119,7 +123,6 @@ const LISTENER_ = lower(LISTENER);
|
|
|
119
123
|
const OPTIONAL_COLON = '?: ';
|
|
120
124
|
const OR_UNDEFINED = ' | undefined';
|
|
121
125
|
const NON_NULLABLE = 'NonNullable';
|
|
122
|
-
const PARTIAL = 'Partial';
|
|
123
126
|
const PROPS = 'Props';
|
|
124
127
|
const PROVIDER = 'Provider';
|
|
125
128
|
const REGISTERS_A_LISTENER = `Registers a ${LISTENER_} that will be called`;
|
|
@@ -130,7 +133,6 @@ const SET = 'Set';
|
|
|
130
133
|
const SORTED_ARGS = ', descending?: boolean, offset?: number, limit?: number';
|
|
131
134
|
const SQUARE_BRACKETS = '[]';
|
|
132
135
|
const THE_STORE = 'the Store';
|
|
133
|
-
const TRANSACTION = 'Transaction';
|
|
134
136
|
const TRANSACTION_ = lower(TRANSACTION);
|
|
135
137
|
const TRANSACTION_DOC =
|
|
136
138
|
'Execute a ' + TRANSACTION_ + ' to make multiple mutations';
|
|
@@ -289,7 +291,7 @@ const flat = (array) => array.flat(1e3);
|
|
|
289
291
|
const camel = (str, firstCap = 0) =>
|
|
290
292
|
arrayJoin(
|
|
291
293
|
arrayMap(
|
|
292
|
-
str
|
|
294
|
+
strSplit(str, NON_ALPHANUMERIC),
|
|
293
295
|
(word, w) =>
|
|
294
296
|
(w > 0 || firstCap ? upper : lower)(slice(word, 0, 1)) + slice(word, 1),
|
|
295
297
|
),
|
|
@@ -297,7 +299,8 @@ const camel = (str, firstCap = 0) =>
|
|
|
297
299
|
const snake = (str) =>
|
|
298
300
|
upper(
|
|
299
301
|
arrayJoin(
|
|
300
|
-
(
|
|
302
|
+
strSplit(
|
|
303
|
+
str && !NON_ALPHA.test(str[0]) ? str : ' ' + str,
|
|
301
304
|
NON_ALPHANUMERIC,
|
|
302
305
|
),
|
|
303
306
|
'_',
|