@tstdl/base 0.82.41 → 0.82.42
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/api/client/client.d.ts +4 -4
- package/api/client/client.js +25 -25
- package/api/client/client.js.map +1 -1
- package/api/client/index.d.ts +1 -1
- package/api/client/index.js +1 -1
- package/api/client/index.js.map +1 -1
- package/api/default-error-handlers.d.ts +1 -1
- package/api/default-error-handlers.js +2 -2
- package/api/default-error-handlers.js.map +1 -1
- package/api/index.d.ts +3 -3
- package/api/index.js +3 -3
- package/api/index.js.map +1 -1
- package/api/response.d.ts +2 -2
- package/api/response.js +21 -21
- package/api/response.js.map +1 -1
- package/api/server/api-controller.d.ts +3 -3
- package/api/server/api-controller.js +6 -6
- package/api/server/api-controller.js.map +1 -1
- package/api/server/api-request-token.provider.d.ts +1 -1
- package/api/server/api-request-token.provider.js +2 -2
- package/api/server/api-request-token.provider.js.map +1 -1
- package/api/server/error-handler.d.ts +3 -3
- package/api/server/error-handler.js +10 -10
- package/api/server/error-handler.js.map +1 -1
- package/api/server/gateway.d.ts +11 -11
- package/api/server/gateway.js +53 -53
- package/api/server/gateway.js.map +1 -1
- package/api/server/index.d.ts +5 -5
- package/api/server/index.js +5 -5
- package/api/server/index.js.map +1 -1
- package/api/server/middlewares/allowed-methods.middleware.d.ts +4 -4
- package/api/server/middlewares/allowed-methods.middleware.js +6 -6
- package/api/server/middlewares/allowed-methods.middleware.js.map +1 -1
- package/api/server/middlewares/catch-error.middleware.d.ts +3 -3
- package/api/server/middlewares/catch-error.middleware.js +2 -2
- package/api/server/middlewares/catch-error.middleware.js.map +1 -1
- package/api/server/middlewares/cors.middleware.d.ts +2 -2
- package/api/server/middlewares/cors.middleware.js +17 -17
- package/api/server/middlewares/cors.middleware.js.map +1 -1
- package/api/server/middlewares/index.d.ts +4 -4
- package/api/server/middlewares/index.js +4 -4
- package/api/server/middlewares/index.js.map +1 -1
- package/api/server/middlewares/response-time.middleware.d.ts +2 -2
- package/api/server/middlewares/response-time.middleware.js +4 -4
- package/api/server/middlewares/response-time.middleware.js.map +1 -1
- package/api/server/module.d.ts +3 -3
- package/api/server/module.js +10 -10
- package/api/server/module.js.map +1 -1
- package/api/server/tokens.d.ts +2 -2
- package/api/server/tokens.js +2 -2
- package/api/server/tokens.js.map +1 -1
- package/api/types.d.ts +5 -5
- package/api/types.js +4 -4
- package/api/types.js.map +1 -1
- package/api/utils.d.ts +1 -1
- package/api/utils.js +10 -10
- package/api/utils.js.map +1 -1
- package/application/application.d.ts +5 -5
- package/application/application.js +26 -26
- package/application/application.js.map +1 -1
- package/application/index.d.ts +1 -1
- package/application/index.js +1 -1
- package/application/index.js.map +1 -1
- package/authentication/authentication.api.d.ts +23 -23
- package/authentication/authentication.api.js +17 -17
- package/authentication/authentication.api.js.map +1 -1
- package/authentication/client/api.client.d.ts +4 -4
- package/authentication/client/api.client.js +12 -12
- package/authentication/client/api.client.js.map +1 -1
- package/authentication/client/authentication.service.d.ts +11 -11
- package/authentication/client/authentication.service.js +47 -47
- package/authentication/client/authentication.service.js.map +1 -1
- package/authentication/client/http-client.middleware.d.ts +2 -2
- package/authentication/client/http-client.middleware.js +9 -9
- package/authentication/client/http-client.middleware.js.map +1 -1
- package/authentication/client/index.d.ts +5 -5
- package/authentication/client/index.js +5 -5
- package/authentication/client/index.js.map +1 -1
- package/authentication/client/module.d.ts +3 -3
- package/authentication/client/module.js +11 -11
- package/authentication/client/module.js.map +1 -1
- package/authentication/client/tokens.d.ts +4 -4
- package/authentication/client/tokens.js +5 -5
- package/authentication/client/tokens.js.map +1 -1
- package/authentication/index.d.ts +2 -2
- package/authentication/index.js +2 -2
- package/authentication/index.js.map +1 -1
- package/authentication/models/authentication-credentials.model.js +10 -10
- package/authentication/models/authentication-credentials.model.js.map +1 -1
- package/authentication/models/authentication-session.model.js +14 -14
- package/authentication/models/authentication-session.model.js.map +1 -1
- package/authentication/models/index.d.ts +4 -4
- package/authentication/models/index.js +4 -4
- package/authentication/models/index.js.map +1 -1
- package/authentication/models/token-payload-base.model.js +7 -7
- package/authentication/models/token-payload-base.model.js.map +1 -1
- package/authentication/models/token.model.d.ts +3 -3
- package/authentication/server/authentication-api-request-token.provider.d.ts +3 -3
- package/authentication/server/authentication-api-request-token.provider.js +8 -8
- package/authentication/server/authentication-api-request-token.provider.js.map +1 -1
- package/authentication/server/authentication-credentials.repository.d.ts +1 -1
- package/authentication/server/authentication-credentials.repository.js +2 -2
- package/authentication/server/authentication-credentials.repository.js.map +1 -1
- package/authentication/server/authentication-session.repository.d.ts +2 -2
- package/authentication/server/authentication-subject.resolver.js +2 -2
- package/authentication/server/authentication-subject.resolver.js.map +1 -1
- package/authentication/server/authentication-token-payload.provider.d.ts +1 -1
- package/authentication/server/authentication-token-payload.provider.js +2 -2
- package/authentication/server/authentication-token-payload.provider.js.map +1 -1
- package/authentication/server/authentication.api-controller.d.ts +4 -4
- package/authentication/server/authentication.api-controller.js +15 -15
- package/authentication/server/authentication.api-controller.js.map +1 -1
- package/authentication/server/authentication.service.d.ts +8 -8
- package/authentication/server/authentication.service.js +53 -53
- package/authentication/server/authentication.service.js.map +1 -1
- package/authentication/server/helper.d.ts +3 -3
- package/authentication/server/helper.js +22 -22
- package/authentication/server/helper.js.map +1 -1
- package/authentication/server/index.d.ts +9 -9
- package/authentication/server/index.js +9 -9
- package/authentication/server/index.js.map +1 -1
- package/authentication/server/module.d.ts +6 -6
- package/authentication/server/module.js +16 -16
- package/authentication/server/module.js.map +1 -1
- package/authentication/server/mongo/index.d.ts +2 -2
- package/authentication/server/mongo/index.js +2 -2
- package/authentication/server/mongo/index.js.map +1 -1
- package/authentication/server/mongo/mongo-authentication-credentials.repository.d.ts +8 -8
- package/authentication/server/mongo/mongo-authentication-credentials.repository.js +16 -16
- package/authentication/server/mongo/mongo-authentication-credentials.repository.js.map +1 -1
- package/authentication/server/mongo/mongo-authentication-session.repository.d.ts +8 -8
- package/authentication/server/mongo/mongo-authentication-session.repository.js +12 -12
- package/authentication/server/mongo/mongo-authentication-session.repository.js.map +1 -1
- package/collections/awaitable/awaitable-map.js +8 -8
- package/collections/awaitable/awaitable-map.js.map +1 -1
- package/collections/awaitable/awaitable-set.js +4 -4
- package/collections/awaitable/awaitable-set.js.map +1 -1
- package/collections/awaitable/index.d.ts +3 -3
- package/collections/awaitable/index.js +3 -3
- package/collections/awaitable/index.js.map +1 -1
- package/collections/index.d.ts +6 -6
- package/collections/index.js +6 -6
- package/collections/index.js.map +1 -1
- package/collections/keyed-set.js +2 -2
- package/collections/keyed-set.js.map +1 -1
- package/collections/list.d.ts +1 -1
- package/collections/observable/index.d.ts +8 -8
- package/collections/observable/index.js +8 -8
- package/collections/observable/index.js.map +1 -1
- package/collections/observable/observable-array.d.ts +2 -2
- package/collections/observable/observable-array.js +2 -2
- package/collections/observable/observable-array.js.map +1 -1
- package/collections/observable/observable-collection-base.d.ts +1 -1
- package/collections/observable/observable-collection.d.ts +1 -1
- package/collections/observable/observable-list-base.d.ts +3 -3
- package/collections/observable/observable-list-base.js +2 -2
- package/collections/observable/observable-list-base.js.map +1 -1
- package/collections/observable/observable-list.d.ts +3 -3
- package/collections/observable/observable-set.d.ts +2 -2
- package/collections/observable/observable-set.js +2 -2
- package/collections/observable/observable-set.js.map +1 -1
- package/collections/observable/observable-sorted-array-list.d.ts +3 -3
- package/collections/observable/observable-sorted-array-list.js +21 -21
- package/collections/observable/observable-sorted-array-list.js.map +1 -1
- package/collections/sorted-array-list.d.ts +2 -2
- package/collections/sorted-array-list.js +16 -16
- package/collections/sorted-array-list.js.map +1 -1
- package/collections/sorted-list.d.ts +1 -1
- package/collections/sorted-map.d.ts +2 -2
- package/collections/sorted-map.js +7 -9
- package/collections/sorted-map.js.map +1 -1
- package/container/container.d.ts +5 -5
- package/container/container.js +110 -104
- package/container/container.js.map +1 -1
- package/container/decorators.d.ts +6 -6
- package/container/decorators.js +20 -20
- package/container/decorators.js.map +1 -1
- package/container/index.d.ts +10 -10
- package/container/index.js +10 -10
- package/container/index.js.map +1 -1
- package/container/provider.d.ts +7 -7
- package/container/provider.js +5 -5
- package/container/provider.js.map +1 -1
- package/container/resolve-chain.d.ts +2 -2
- package/container/resolve-chain.js +7 -7
- package/container/resolve-chain.js.map +1 -1
- package/container/resolve.error.d.ts +2 -2
- package/container/resolve.error.js +4 -4
- package/container/resolve.error.js.map +1 -1
- package/container/token.d.ts +1 -1
- package/container/token.js +3 -3
- package/container/token.js.map +1 -1
- package/container/type-info.d.ts +2 -2
- package/container/types.d.ts +3 -3
- package/container/utils.d.ts +1 -1
- package/container/utils.js +4 -4
- package/container/utils.js.map +1 -1
- package/cookie/cookie.js +13 -13
- package/cookie/cookie.js.map +1 -1
- package/cookie/index.d.ts +1 -1
- package/cookie/index.js +1 -1
- package/cookie/index.js.map +1 -1
- package/core.d.ts +6 -6
- package/core.js +19 -18
- package/core.js.map +1 -1
- package/data-structures/array-list.d.ts +2 -2
- package/data-structures/array-list.js +2 -2
- package/data-structures/array-list.js.map +1 -1
- package/data-structures/circular-buffer.d.ts +2 -2
- package/data-structures/circular-buffer.js +8 -8
- package/data-structures/circular-buffer.js.map +1 -1
- package/data-structures/collection.d.ts +1 -1
- package/data-structures/index-out-of-bounds.error.d.ts +1 -1
- package/data-structures/index-out-of-bounds.error.js +5 -5
- package/data-structures/index-out-of-bounds.error.js.map +1 -1
- package/data-structures/index.d.ts +12 -12
- package/data-structures/index.js +12 -12
- package/data-structures/index.js.map +1 -1
- package/data-structures/iterable-weak-map.d.ts +1 -1
- package/data-structures/iterable-weak-map.js +13 -13
- package/data-structures/iterable-weak-map.js.map +1 -1
- package/data-structures/linked-list.d.ts +4 -4
- package/data-structures/linked-list.js +24 -24
- package/data-structures/linked-list.js.map +1 -1
- package/data-structures/list.d.ts +2 -2
- package/data-structures/list.js +10 -10
- package/data-structures/list.js.map +1 -1
- package/data-structures/map.d.ts +1 -1
- package/data-structures/map.js +2 -2
- package/data-structures/map.js.map +1 -1
- package/data-structures/multi-key-map.d.ts +1 -1
- package/data-structures/multi-key-map.js +12 -12
- package/data-structures/multi-key-map.js.map +1 -1
- package/data-structures/set.d.ts +1 -1
- package/data-structures/set.js +2 -2
- package/data-structures/set.js.map +1 -1
- package/data-structures/sorted-array-list.d.ts +5 -5
- package/data-structures/sorted-array-list.js +19 -19
- package/data-structures/sorted-array-list.js.map +1 -1
- package/data-structures/weak-ref-map.d.ts +1 -1
- package/data-structures/weak-ref-map.js +11 -11
- package/data-structures/weak-ref-map.js.map +1 -1
- package/database/entity-repository.d.ts +2 -2
- package/database/id.js +3 -3
- package/database/id.js.map +1 -1
- package/database/index.d.ts +6 -6
- package/database/index.js +6 -6
- package/database/index.js.map +1 -1
- package/database/module.js +2 -2
- package/database/module.js.map +1 -1
- package/database/mongo/classes.d.ts +5 -5
- package/database/mongo/classes.js +7 -7
- package/database/mongo/classes.js.map +1 -1
- package/database/mongo/index.d.ts +10 -10
- package/database/mongo/index.js +10 -10
- package/database/mongo/index.js.map +1 -1
- package/database/mongo/model/document.d.ts +3 -3
- package/database/mongo/model/document.js +4 -4
- package/database/mongo/model/document.js.map +1 -1
- package/database/mongo/model/index.d.ts +1 -1
- package/database/mongo/model/index.js +1 -1
- package/database/mongo/model/index.js.map +1 -1
- package/database/mongo/module.d.ts +1 -1
- package/database/mongo/module.js +18 -18
- package/database/mongo/module.js.map +1 -1
- package/database/mongo/mongo-base.repository.d.ts +5 -5
- package/database/mongo/mongo-base.repository.js +38 -41
- package/database/mongo/mongo-base.repository.js.map +1 -1
- package/database/mongo/mongo-bulk.d.ts +4 -4
- package/database/mongo/mongo-bulk.js +16 -16
- package/database/mongo/mongo-bulk.js.map +1 -1
- package/database/mongo/mongo-entity-repository.d.ts +8 -8
- package/database/mongo/mongo-entity-repository.js +23 -23
- package/database/mongo/mongo-entity-repository.js.map +1 -1
- package/database/mongo/operations.d.ts +4 -4
- package/database/mongo/query-converter.d.ts +4 -4
- package/database/mongo/query-converter.js +13 -13
- package/database/mongo/query-converter.js.map +1 -1
- package/database/mongo/simple-entity-repository.d.ts +4 -4
- package/database/mongo/simple-entity-repository.js +3 -3
- package/database/mongo/simple-entity-repository.js.map +1 -1
- package/database/mongo/types.d.ts +3 -3
- package/database/query.d.ts +2 -2
- package/database/utils.d.ts +1 -1
- package/disposable/async-disposer.d.ts +4 -4
- package/disposable/async-disposer.js +20 -20
- package/disposable/async-disposer.js.map +1 -1
- package/disposable/disposable.js +3 -3
- package/disposable/disposable.js.map +1 -1
- package/disposable/index.d.ts +3 -3
- package/disposable/index.js +3 -3
- package/disposable/index.js.map +1 -1
- package/disposable/using.d.ts +1 -1
- package/disposable/using.js +3 -3
- package/disposable/using.js.map +1 -1
- package/distributed-loop/distributed-loop.d.ts +5 -5
- package/distributed-loop/distributed-loop.js +15 -15
- package/distributed-loop/distributed-loop.js.map +1 -1
- package/distributed-loop/index.d.ts +3 -3
- package/distributed-loop/index.js +3 -3
- package/distributed-loop/index.js.map +1 -1
- package/distributed-loop/provider.d.ts +2 -2
- package/distributed-loop/provider.js +6 -6
- package/distributed-loop/provider.js.map +1 -1
- package/enumerable/async-enumerable.d.ts +7 -7
- package/enumerable/async-enumerable.js +67 -67
- package/enumerable/async-enumerable.js.map +1 -1
- package/enumerable/enumerable.d.ts +6 -6
- package/enumerable/enumerable.js +45 -45
- package/enumerable/enumerable.js.map +1 -1
- package/enumerable/index.d.ts +2 -2
- package/enumerable/index.js +2 -2
- package/enumerable/index.js.map +1 -1
- package/error/api.error.d.ts +2 -2
- package/error/api.error.js +2 -2
- package/error/api.error.js.map +1 -1
- package/error/assertion.error.d.ts +1 -1
- package/error/assertion.error.js +2 -2
- package/error/assertion.error.js.map +1 -1
- package/error/bad-request.error.d.ts +1 -1
- package/error/bad-request.error.js +2 -2
- package/error/bad-request.error.js.map +1 -1
- package/error/details.error.d.ts +1 -1
- package/error/details.error.js +2 -2
- package/error/details.error.js.map +1 -1
- package/error/forbidden.error.d.ts +1 -1
- package/error/forbidden.error.js +2 -2
- package/error/forbidden.error.js.map +1 -1
- package/error/index.d.ts +15 -15
- package/error/index.js +15 -15
- package/error/index.js.map +1 -1
- package/error/invalid-token.error.d.ts +1 -1
- package/error/invalid-token.error.js +2 -2
- package/error/invalid-token.error.js.map +1 -1
- package/error/max-bytes-exceeded.error.d.ts +1 -1
- package/error/max-bytes-exceeded.error.js +2 -2
- package/error/max-bytes-exceeded.error.js.map +1 -1
- package/error/method-not-allowed.error.d.ts +1 -1
- package/error/method-not-allowed.error.js +2 -2
- package/error/method-not-allowed.error.js.map +1 -1
- package/error/multi.error.d.ts +1 -1
- package/error/multi.error.js +2 -2
- package/error/multi.error.js.map +1 -1
- package/error/not-found.error.d.ts +1 -1
- package/error/not-found.error.js +2 -2
- package/error/not-found.error.js.map +1 -1
- package/error/not-implemented.error.d.ts +1 -1
- package/error/not-implemented.error.js +2 -2
- package/error/not-implemented.error.js.map +1 -1
- package/error/not-supported.error.d.ts +2 -2
- package/error/not-supported.error.js +4 -4
- package/error/not-supported.error.js.map +1 -1
- package/error/unauthorized.error.d.ts +1 -1
- package/error/unauthorized.error.js +2 -2
- package/error/unauthorized.error.js.map +1 -1
- package/error/unsupported-media-type.error.d.ts +1 -1
- package/error/unsupported-media-type.error.js +2 -2
- package/error/unsupported-media-type.error.js.map +1 -1
- package/examples/api/authentication.js +31 -32
- package/examples/api/authentication.js.map +1 -1
- package/examples/api/basic-overview.js +32 -31
- package/examples/api/basic-overview.js.map +1 -1
- package/examples/api/custom-authentication.js +38 -38
- package/examples/api/custom-authentication.js.map +1 -1
- package/examples/api/streaming.js +38 -37
- package/examples/api/streaming.js.map +1 -1
- package/examples/http/client.js +5 -5
- package/examples/http/client.js.map +1 -1
- package/examples/mail/basic.js +25 -25
- package/examples/mail/basic.js.map +1 -1
- package/examples/mail/templates/hello-name.d.ts +1 -1
- package/examples/mail/templates/hello-name.js +7 -7
- package/examples/mail/templates/hello-name.js.map +1 -1
- package/examples/pdf/basic.js +19 -19
- package/examples/pdf/basic.js.map +1 -1
- package/examples/pdf/templates/hello-name.d.ts +1 -1
- package/examples/pdf/templates/hello-name.js +10 -10
- package/examples/pdf/templates/hello-name.js.map +1 -1
- package/examples/reflection/basic.d.ts +1 -1
- package/examples/reflection/basic.js +14 -14
- package/examples/reflection/basic.js.map +1 -1
- package/examples/template/basic.js +19 -19
- package/examples/template/basic.js.map +1 -1
- package/examples/template/templates/hello-jsx.d.ts +1 -1
- package/examples/template/templates/hello-jsx.js +3 -3
- package/examples/template/templates/hello-jsx.js.map +1 -1
- package/examples/template/templates/hello-name.d.ts +1 -1
- package/examples/template/templates/hello-name.js +6 -6
- package/examples/template/templates/hello-name.js.map +1 -1
- package/http/client/adapters/undici-http-client.adapter.d.ts +3 -3
- package/http/client/adapters/undici-http-client.adapter.js +27 -26
- package/http/client/adapters/undici-http-client.adapter.js.map +1 -1
- package/http/client/http-client-options.d.ts +1 -1
- package/http/client/http-client-request.d.ts +13 -13
- package/http/client/http-client-request.js +23 -23
- package/http/client/http-client-request.js.map +1 -1
- package/http/client/http-client-response.d.ts +6 -6
- package/http/client/http-client-response.js +4 -4
- package/http/client/http-client-response.js.map +1 -1
- package/http/client/http-client.adapter.d.ts +2 -2
- package/http/client/http-client.d.ts +10 -10
- package/http/client/http-client.js +61 -61
- package/http/client/http-client.js.map +1 -1
- package/http/client/index.d.ts +6 -6
- package/http/client/index.js +6 -6
- package/http/client/index.js.map +1 -1
- package/http/client/module.d.ts +3 -3
- package/http/client/module.js +7 -7
- package/http/client/module.js.map +1 -1
- package/http/cookie-parser.d.ts +1 -1
- package/http/cookie-parser.js +6 -6
- package/http/cookie-parser.js.map +1 -1
- package/http/http-body.d.ts +4 -4
- package/http/http-body.js +11 -11
- package/http/http-body.js.map +1 -1
- package/http/http-form.d.ts +3 -3
- package/http/http-form.js +2 -2
- package/http/http-form.js.map +1 -1
- package/http/http-headers.d.ts +3 -3
- package/http/http-headers.js +15 -15
- package/http/http-headers.js.map +1 -1
- package/http/http-query.d.ts +3 -3
- package/http/http-query.js +2 -2
- package/http/http-query.js.map +1 -1
- package/http/http-url-parameters.d.ts +3 -3
- package/http/http-url-parameters.js +2 -2
- package/http/http-url-parameters.js.map +1 -1
- package/http/http-value-map.d.ts +2 -2
- package/http/http-value-map.js +19 -19
- package/http/http-value-map.js.map +1 -1
- package/http/http.error.d.ts +4 -4
- package/http/http.error.js +11 -11
- package/http/http.error.js.map +1 -1
- package/http/index.d.ts +11 -11
- package/http/index.js +11 -11
- package/http/index.js.map +1 -1
- package/http/server/http-server-request.d.ts +7 -7
- package/http/server/http-server-request.js +4 -4
- package/http/server/http-server-request.js.map +1 -1
- package/http/server/http-server-response.d.ts +5 -5
- package/http/server/http-server-response.js +8 -8
- package/http/server/http-server-response.js.map +1 -1
- package/http/server/http-server.d.ts +3 -3
- package/http/server/http-server.js +1 -1
- package/http/server/http-server.js.map +1 -1
- package/http/server/index.d.ts +3 -3
- package/http/server/index.js +3 -3
- package/http/server/index.js.map +1 -1
- package/http/server/node/index.d.ts +2 -2
- package/http/server/node/index.js +2 -2
- package/http/server/node/index.js.map +1 -1
- package/http/server/node/module.js +4 -4
- package/http/server/node/module.js.map +1 -1
- package/http/server/node/node-http-server.d.ts +8 -8
- package/http/server/node/node-http-server.js +47 -47
- package/http/server/node/node-http-server.js.map +1 -1
- package/http/types.d.ts +1 -1
- package/http/types.js +4 -4
- package/http/types.js.map +1 -1
- package/http/utils.d.ts +3 -3
- package/http/utils.js +32 -32
- package/http/utils.js.map +1 -1
- package/image-service/image-service.js +13 -13
- package/image-service/image-service.js.map +1 -1
- package/image-service/imgproxy/imgproxy-image-service.d.ts +5 -5
- package/image-service/imgproxy/imgproxy-image-service.js +29 -29
- package/image-service/imgproxy/imgproxy-image-service.js.map +1 -1
- package/image-service/imgproxy/index.d.ts +1 -1
- package/image-service/imgproxy/index.js +1 -1
- package/image-service/imgproxy/index.js.map +1 -1
- package/image-service/index.d.ts +1 -1
- package/image-service/index.js +1 -1
- package/image-service/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/json-path/index.d.ts +1 -1
- package/json-path/index.js +1 -1
- package/json-path/index.js.map +1 -1
- package/json-path/json-path.js +15 -15
- package/json-path/json-path.js.map +1 -1
- package/key-value-store/index.d.ts +2 -2
- package/key-value-store/index.js +2 -2
- package/key-value-store/index.js.map +1 -1
- package/key-value-store/key-value-store.provider.d.ts +2 -2
- package/key-value-store/key-value.store.d.ts +3 -3
- package/key-value-store/key-value.store.js +2 -2
- package/key-value-store/key-value.store.js.map +1 -1
- package/key-value-store/mongo/index.d.ts +5 -5
- package/key-value-store/mongo/index.js +5 -5
- package/key-value-store/mongo/index.js.map +1 -1
- package/key-value-store/mongo/module.d.ts +2 -2
- package/key-value-store/mongo/module.js +7 -7
- package/key-value-store/mongo/module.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value-store.provider.d.ts +3 -3
- package/key-value-store/mongo/mongo-key-value-store.provider.js +6 -6
- package/key-value-store/mongo/mongo-key-value-store.provider.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value.model.d.ts +1 -1
- package/key-value-store/mongo/mongo-key-value.repository.d.ts +6 -6
- package/key-value-store/mongo/mongo-key-value.repository.js +11 -11
- package/key-value-store/mongo/mongo-key-value.repository.js.map +1 -1
- package/key-value-store/mongo/mongo-key-value.store.d.ts +3 -3
- package/key-value-store/mongo/mongo-key-value.store.js +17 -17
- package/key-value-store/mongo/mongo-key-value.store.js.map +1 -1
- package/lock/index.d.ts +2 -2
- package/lock/index.js +2 -2
- package/lock/index.js.map +1 -1
- package/lock/lock.d.ts +2 -2
- package/lock/lock.js +2 -2
- package/lock/lock.js.map +1 -1
- package/lock/mongo/index.d.ts +5 -5
- package/lock/mongo/index.js +5 -5
- package/lock/mongo/index.js.map +1 -1
- package/lock/mongo/lock.d.ts +4 -4
- package/lock/mongo/lock.js +28 -28
- package/lock/mongo/lock.js.map +1 -1
- package/lock/mongo/model.d.ts +1 -1
- package/lock/mongo/module.d.ts +2 -2
- package/lock/mongo/module.js +7 -7
- package/lock/mongo/module.js.map +1 -1
- package/lock/mongo/mongo-lock-repository.d.ts +6 -6
- package/lock/mongo/mongo-lock-repository.js +14 -14
- package/lock/mongo/mongo-lock-repository.js.map +1 -1
- package/lock/mongo/provider.d.ts +4 -4
- package/lock/mongo/provider.js +15 -15
- package/lock/mongo/provider.js.map +1 -1
- package/lock/provider.d.ts +3 -3
- package/lock/provider.js +2 -2
- package/lock/provider.js.map +1 -1
- package/lock/web/index.d.ts +3 -3
- package/lock/web/index.js +3 -3
- package/lock/web/index.js.map +1 -1
- package/lock/web/module.js +7 -7
- package/lock/web/module.js.map +1 -1
- package/lock/web/web-lock.d.ts +2 -2
- package/lock/web/web-lock.js +17 -17
- package/lock/web/web-lock.js.map +1 -1
- package/lock/web/web-lock.provider.d.ts +2 -2
- package/lock/web/web-lock.provider.js +7 -7
- package/lock/web/web-lock.provider.js.map +1 -1
- package/logger/console/index.d.ts +1 -1
- package/logger/console/index.js +1 -1
- package/logger/console/index.js.map +1 -1
- package/logger/console/logger.d.ts +3 -3
- package/logger/console/logger.js +18 -18
- package/logger/console/logger.js.map +1 -1
- package/logger/index.d.ts +2 -2
- package/logger/index.js +2 -2
- package/logger/index.js.map +1 -1
- package/logger/logger.d.ts +3 -3
- package/logger/logger.js +13 -13
- package/logger/logger.js.map +1 -1
- package/logger/noop/index.d.ts +1 -1
- package/logger/noop/index.js +1 -1
- package/logger/noop/index.js.map +1 -1
- package/logger/noop/logger.d.ts +1 -1
- package/logger/noop/logger.js +4 -4
- package/logger/noop/logger.js.map +1 -1
- package/mail/clients/nodemailer.mail-client.d.ts +2 -2
- package/mail/clients/nodemailer.mail-client.js +9 -9
- package/mail/clients/nodemailer.mail-client.js.map +1 -1
- package/mail/index.d.ts +5 -5
- package/mail/index.js +5 -5
- package/mail/index.js.map +1 -1
- package/mail/mail-log.repository.d.ts +2 -2
- package/mail/mail-log.repository.js +2 -2
- package/mail/mail-log.repository.js.map +1 -1
- package/mail/mail.client.d.ts +3 -3
- package/mail/mail.client.js +11 -11
- package/mail/mail.client.js.map +1 -1
- package/mail/mail.service.d.ts +7 -7
- package/mail/mail.service.js +22 -22
- package/mail/mail.service.js.map +1 -1
- package/mail/models/index.d.ts +6 -6
- package/mail/models/index.js +6 -6
- package/mail/models/index.js.map +1 -1
- package/mail/models/mail-data.model.d.ts +3 -3
- package/mail/models/mail-log.model.d.ts +3 -3
- package/mail/models/mail-send-result.model.d.ts +1 -1
- package/mail/models/mail-template.model.d.ts +1 -1
- package/mail/module.d.ts +4 -4
- package/mail/module.js +13 -13
- package/mail/module.js.map +1 -1
- package/mail/repositories/mongo-mail-log.repository.d.ts +6 -6
- package/mail/repositories/mongo-mail-log.repository.js +9 -9
- package/mail/repositories/mongo-mail-log.repository.js.map +1 -1
- package/mail/tokens.d.ts +1 -1
- package/mail/tokens.js +2 -2
- package/mail/tokens.js.map +1 -1
- package/memory/index.d.ts +1 -1
- package/memory/index.js +1 -1
- package/memory/index.js.map +1 -1
- package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.d.ts +3 -3
- package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js +7 -7
- package/message-bus/broadcast-channel/broadcast-channel-message-bus-provider.js.map +1 -1
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.d.ts +3 -3
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.js +11 -11
- package/message-bus/broadcast-channel/broadcast-channel-message-bus.js.map +1 -1
- package/message-bus/broadcast-channel/index.d.ts +3 -3
- package/message-bus/broadcast-channel/index.js +3 -3
- package/message-bus/broadcast-channel/index.js.map +1 -1
- package/message-bus/broadcast-channel/module.js +7 -7
- package/message-bus/broadcast-channel/module.js.map +1 -1
- package/message-bus/index.d.ts +3 -3
- package/message-bus/index.js +3 -3
- package/message-bus/index.js.map +1 -1
- package/message-bus/local/index.d.ts +3 -3
- package/message-bus/local/index.js +3 -3
- package/message-bus/local/index.js.map +1 -1
- package/message-bus/local/local-message-bus-provider.d.ts +3 -3
- package/message-bus/local/local-message-bus-provider.js +14 -14
- package/message-bus/local/local-message-bus-provider.js.map +1 -1
- package/message-bus/local/local-message-bus.d.ts +4 -4
- package/message-bus/local/local-message-bus.js +10 -10
- package/message-bus/local/local-message-bus.js.map +1 -1
- package/message-bus/local/module.js +7 -7
- package/message-bus/local/module.js.map +1 -1
- package/message-bus/message-bus-base.d.ts +4 -4
- package/message-bus/message-bus-base.js +6 -6
- package/message-bus/message-bus-base.js.map +1 -1
- package/message-bus/message-bus-provider.d.ts +1 -1
- package/message-bus/message-bus.d.ts +4 -4
- package/message-bus/message-bus.js +4 -4
- package/message-bus/message-bus.js.map +1 -1
- package/migration/index.d.ts +3 -3
- package/migration/index.js +3 -3
- package/migration/index.js.map +1 -1
- package/migration/migration-state-repository.d.ts +2 -2
- package/migration/migration-state-repository.js +2 -2
- package/migration/migration-state-repository.js.map +1 -1
- package/migration/migration-state.d.ts +1 -1
- package/migration/migrator.d.ts +3 -3
- package/migration/migrator.js +22 -22
- package/migration/migrator.js.map +1 -1
- package/migration/mongo/index.d.ts +2 -2
- package/migration/mongo/index.js +2 -2
- package/migration/mongo/index.js.map +1 -1
- package/migration/mongo/migration-state-repository.d.ts +7 -7
- package/migration/mongo/migration-state-repository.js +12 -12
- package/migration/mongo/migration-state-repository.js.map +1 -1
- package/migration/mongo/module.d.ts +2 -2
- package/migration/mongo/module.js +4 -4
- package/migration/mongo/module.js.map +1 -1
- package/module/index.d.ts +4 -4
- package/module/index.js +4 -4
- package/module/index.js.map +1 -1
- package/module/module-base.d.ts +5 -5
- package/module/module-base.js +9 -9
- package/module/module-base.js.map +1 -1
- package/module/module-metric-reporter.d.ts +4 -4
- package/module/module-metric-reporter.js +10 -11
- package/module/module-metric-reporter.js.map +1 -1
- package/module/module.d.ts +1 -1
- package/module/modules/function.module.d.ts +3 -3
- package/module/modules/function.module.js +2 -2
- package/module/modules/function.module.js.map +1 -1
- package/module/modules/index.d.ts +2 -2
- package/module/modules/index.js +2 -2
- package/module/modules/index.js.map +1 -1
- package/module/modules/web-server.module.d.ts +9 -9
- package/module/modules/web-server.module.js +17 -17
- package/module/modules/web-server.module.js.map +1 -1
- package/module/utils.d.ts +2 -2
- package/notification/api.d.ts +3 -3
- package/notification/api.js +9 -9
- package/notification/api.js.map +1 -1
- package/notification/models/index.d.ts +2 -2
- package/notification/models/index.js +2 -2
- package/notification/models/index.js.map +1 -1
- package/notification/models/notification.model.js +13 -13
- package/notification/models/notification.model.js.map +1 -1
- package/notification/notification-channel.service.d.ts +1 -1
- package/notification/notification.repository.d.ts +1 -1
- package/notification/notification.service.d.ts +2 -2
- package/notification/notification.service.js +6 -6
- package/notification/notification.service.js.map +1 -1
- package/object-storage/index.d.ts +3 -3
- package/object-storage/index.js +3 -3
- package/object-storage/index.js.map +1 -1
- package/object-storage/object-storage-provider.d.ts +1 -1
- package/object-storage/object-storage.d.ts +3 -3
- package/object-storage/object-storage.js +2 -2
- package/object-storage/object-storage.js.map +1 -1
- package/object-storage/object.d.ts +1 -1
- package/object-storage/s3/index.d.ts +3 -3
- package/object-storage/s3/index.js +3 -3
- package/object-storage/s3/index.js.map +1 -1
- package/object-storage/s3/s3.object-storage-provider.d.ts +3 -3
- package/object-storage/s3/s3.object-storage-provider.js +15 -15
- package/object-storage/s3/s3.object-storage-provider.js.map +1 -1
- package/object-storage/s3/s3.object-storage.d.ts +4 -4
- package/object-storage/s3/s3.object-storage.js +23 -26
- package/object-storage/s3/s3.object-storage.js.map +1 -1
- package/object-storage/s3/s3.object.d.ts +3 -3
- package/object-storage/s3/s3.object.js +5 -5
- package/object-storage/s3/s3.object.js.map +1 -1
- package/openid-connect/cached-oidc-configuration.service.d.ts +3 -3
- package/openid-connect/cached-oidc-configuration.service.js +13 -13
- package/openid-connect/cached-oidc-configuration.service.js.map +1 -1
- package/openid-connect/index.d.ts +7 -7
- package/openid-connect/index.js +11 -11
- package/openid-connect/index.js.map +1 -1
- package/openid-connect/mongo-oidc-state.repository.d.ts +8 -8
- package/openid-connect/mongo-oidc-state.repository.js +12 -12
- package/openid-connect/mongo-oidc-state.repository.js.map +1 -1
- package/openid-connect/oidc-configuration.service.d.ts +1 -1
- package/openid-connect/oidc-configuration.service.js +12 -12
- package/openid-connect/oidc-configuration.service.js.map +1 -1
- package/openid-connect/oidc-state.model.d.ts +1 -1
- package/openid-connect/oidc-state.repository.d.ts +2 -2
- package/openid-connect/oidc-state.repository.js +2 -2
- package/openid-connect/oidc-state.repository.js.map +1 -1
- package/openid-connect/oidc.service.d.ts +6 -6
- package/openid-connect/oidc.service.js +34 -34
- package/openid-connect/oidc.service.js.map +1 -1
- package/package.json +5 -5
- package/pdf/index.d.ts +1 -1
- package/pdf/index.js +1 -1
- package/pdf/index.js.map +1 -1
- package/pdf/pdf.service.d.ts +7 -7
- package/pdf/pdf.service.js +53 -53
- package/pdf/pdf.service.js.map +1 -1
- package/pool/index.d.ts +1 -1
- package/pool/index.js +1 -1
- package/pool/index.js.map +1 -1
- package/pool/pool.d.ts +3 -3
- package/pool/pool.js +10 -10
- package/pool/pool.js.map +1 -1
- package/process-shutdown.d.ts +2 -2
- package/process-shutdown.js +7 -7
- package/process-shutdown.js.map +1 -1
- package/promise/index.d.ts +3 -3
- package/promise/index.js +3 -3
- package/promise/index.js.map +1 -1
- package/promise/lazy-promise.js +4 -4
- package/promise/lazy-promise.js.map +1 -1
- package/queue/enqueue-batch.d.ts +1 -1
- package/queue/index.d.ts +3 -3
- package/queue/index.js +3 -3
- package/queue/index.js.map +1 -1
- package/queue/mongo/index.d.ts +4 -4
- package/queue/mongo/index.js +4 -4
- package/queue/mongo/index.js.map +1 -1
- package/queue/mongo/job.d.ts +3 -3
- package/queue/mongo/mongo-job.repository.d.ts +7 -7
- package/queue/mongo/mongo-job.repository.js +18 -18
- package/queue/mongo/mongo-job.repository.js.map +1 -1
- package/queue/mongo/queue.d.ts +6 -6
- package/queue/mongo/queue.js +47 -47
- package/queue/mongo/queue.js.map +1 -1
- package/queue/mongo/queue.provider.d.ts +10 -10
- package/queue/mongo/queue.provider.js +15 -15
- package/queue/mongo/queue.provider.js.map +1 -1
- package/queue/provider.d.ts +1 -1
- package/queue/queue.d.ts +4 -4
- package/queue/queue.js +6 -6
- package/queue/queue.js.map +1 -1
- package/random/index.d.ts +1 -1
- package/random/index.js +1 -1
- package/random/index.js.map +1 -1
- package/random/number/index.d.ts +3 -3
- package/random/number/index.js +3 -3
- package/random/number/index.js.map +1 -1
- package/random/number/mulberry32.d.ts +1 -1
- package/random/number/mulberry32.js +2 -2
- package/random/number/mulberry32.js.map +1 -1
- package/random/number/sfc32.d.ts +1 -1
- package/random/number/sfc32.js +2 -2
- package/random/number/sfc32.js.map +1 -1
- package/reflection/decorator-data.d.ts +1 -1
- package/reflection/decorator-data.js +11 -11
- package/reflection/decorator-data.js.map +1 -1
- package/reflection/decorators.d.ts +2 -2
- package/reflection/decorators.js +12 -12
- package/reflection/decorators.js.map +1 -1
- package/reflection/index.d.ts +5 -5
- package/reflection/index.js +5 -5
- package/reflection/index.js.map +1 -1
- package/reflection/reflection-data-map.d.ts +1 -1
- package/reflection/reflection-data-map.js +6 -6
- package/reflection/reflection-data-map.js.map +1 -1
- package/reflection/registry.d.ts +3 -3
- package/reflection/registry.js +27 -27
- package/reflection/registry.js.map +1 -1
- package/reflection/types.d.ts +2 -2
- package/reflection/utils.d.ts +2 -2
- package/reflection/utils.js +18 -18
- package/reflection/utils.js.map +1 -1
- package/rpc/endpoints/message-port.rpc-endpoint.d.ts +2 -2
- package/rpc/endpoints/message-port.rpc-endpoint.js +5 -5
- package/rpc/endpoints/message-port.rpc-endpoint.js.map +1 -1
- package/rpc/index.d.ts +4 -4
- package/rpc/index.js +4 -4
- package/rpc/index.js.map +1 -1
- package/rpc/model.d.ts +2 -2
- package/rpc/model.js +2 -2
- package/rpc/model.js.map +1 -1
- package/rpc/rpc-endpoint.d.ts +1 -1
- package/rpc/rpc-error.d.ts +1 -1
- package/rpc/rpc-error.js +8 -8
- package/rpc/rpc-error.js.map +1 -1
- package/rpc/rpc.d.ts +4 -4
- package/rpc/rpc.js +32 -32
- package/rpc/rpc.js.map +1 -1
- package/rxjs/index.d.ts +12 -12
- package/rxjs/index.js +12 -12
- package/rxjs/index.js.map +1 -1
- package/rxjs/intersection-observer.js +6 -6
- package/rxjs/intersection-observer.js.map +1 -1
- package/rxjs/mutation-observer.js +6 -6
- package/rxjs/mutation-observer.js.map +1 -1
- package/rxjs/performance-observer.js +6 -6
- package/rxjs/performance-observer.js.map +1 -1
- package/rxjs/resize-observer.js +6 -6
- package/rxjs/resize-observer.js.map +1 -1
- package/rxjs/retry-backoff.d.ts +1 -1
- package/rxjs/retry-backoff.js +3 -3
- package/rxjs/retry-backoff.js.map +1 -1
- package/schema/array-constraints/index.d.ts +2 -2
- package/schema/array-constraints/index.js +2 -2
- package/schema/array-constraints/index.js.map +1 -1
- package/schema/array-constraints/maximum-length.d.ts +4 -4
- package/schema/array-constraints/maximum-length.js +6 -6
- package/schema/array-constraints/maximum-length.js.map +1 -1
- package/schema/array-constraints/minimum-length.d.ts +4 -4
- package/schema/array-constraints/minimum-length.js +6 -6
- package/schema/array-constraints/minimum-length.js.map +1 -1
- package/schema/coercers/boolean.coercer.d.ts +3 -3
- package/schema/coercers/boolean.coercer.js +6 -6
- package/schema/coercers/boolean.coercer.js.map +1 -1
- package/schema/coercers/date.coercer.d.ts +3 -3
- package/schema/coercers/date.coercer.js +6 -6
- package/schema/coercers/date.coercer.js.map +1 -1
- package/schema/coercers/index.d.ts +6 -6
- package/schema/coercers/index.js +6 -6
- package/schema/coercers/index.js.map +1 -1
- package/schema/coercers/number.coercer.d.ts +3 -3
- package/schema/coercers/number.coercer.js +4 -4
- package/schema/coercers/number.coercer.js.map +1 -1
- package/schema/coercers/regexp.coercer.d.ts +3 -3
- package/schema/coercers/regexp.coercer.js +4 -4
- package/schema/coercers/regexp.coercer.js.map +1 -1
- package/schema/coercers/string.coercer.d.ts +3 -3
- package/schema/coercers/string.coercer.js +6 -6
- package/schema/coercers/string.coercer.js.map +1 -1
- package/schema/coercers/uint8-array.coercer.d.ts +3 -3
- package/schema/coercers/uint8-array.coercer.js +9 -9
- package/schema/coercers/uint8-array.coercer.js.map +1 -1
- package/schema/constraints/enumeration.d.ts +4 -4
- package/schema/constraints/enumeration.js +11 -11
- package/schema/constraints/enumeration.js.map +1 -1
- package/schema/constraints/generic.d.ts +5 -5
- package/schema/constraints/generic.js +6 -6
- package/schema/constraints/generic.js.map +1 -1
- package/schema/constraints/index.d.ts +12 -12
- package/schema/constraints/index.js +12 -12
- package/schema/constraints/index.js.map +1 -1
- package/schema/constraints/integer.d.ts +4 -4
- package/schema/constraints/integer.js +7 -7
- package/schema/constraints/integer.js.map +1 -1
- package/schema/constraints/length.d.ts +1 -1
- package/schema/constraints/length.js +9 -9
- package/schema/constraints/length.js.map +1 -1
- package/schema/constraints/literal.d.ts +3 -3
- package/schema/constraints/literal.js +9 -9
- package/schema/constraints/literal.js.map +1 -1
- package/schema/constraints/maximum-date.d.ts +4 -4
- package/schema/constraints/maximum-date.js +10 -10
- package/schema/constraints/maximum-date.js.map +1 -1
- package/schema/constraints/maximum-length.d.ts +4 -4
- package/schema/constraints/maximum-length.js +8 -8
- package/schema/constraints/maximum-length.js.map +1 -1
- package/schema/constraints/maximum.d.ts +4 -4
- package/schema/constraints/maximum.js +7 -7
- package/schema/constraints/maximum.js.map +1 -1
- package/schema/constraints/minimum-date.d.ts +4 -4
- package/schema/constraints/minimum-date.js +10 -10
- package/schema/constraints/minimum-date.js.map +1 -1
- package/schema/constraints/minimum-length.d.ts +4 -4
- package/schema/constraints/minimum-length.js +8 -8
- package/schema/constraints/minimum-length.js.map +1 -1
- package/schema/constraints/minimum.d.ts +4 -4
- package/schema/constraints/minimum.js +7 -7
- package/schema/constraints/minimum.js.map +1 -1
- package/schema/constraints/pattern.d.ts +4 -4
- package/schema/constraints/pattern.js +7 -7
- package/schema/constraints/pattern.js.map +1 -1
- package/schema/decorators/class.d.ts +2 -2
- package/schema/decorators/class.js +2 -2
- package/schema/decorators/class.js.map +1 -1
- package/schema/decorators/coerce.d.ts +1 -1
- package/schema/decorators/coerce.js +2 -2
- package/schema/decorators/coerce.js.map +1 -1
- package/schema/decorators/constraint.d.ts +3 -3
- package/schema/decorators/constraint.js +4 -4
- package/schema/decorators/constraint.js.map +1 -1
- package/schema/decorators/index.d.ts +6 -6
- package/schema/decorators/index.js +6 -6
- package/schema/decorators/index.js.map +1 -1
- package/schema/decorators/property.d.ts +4 -4
- package/schema/decorators/property.js +11 -11
- package/schema/decorators/property.js.map +1 -1
- package/schema/decorators/types.d.ts +3 -3
- package/schema/decorators/utils.d.ts +8 -8
- package/schema/decorators/utils.js +14 -14
- package/schema/decorators/utils.js.map +1 -1
- package/schema/index.d.ts +10 -10
- package/schema/index.js +10 -10
- package/schema/index.js.map +1 -1
- package/schema/schema.d.ts +2 -2
- package/schema/schema.error.d.ts +6 -6
- package/schema/schema.error.js +18 -18
- package/schema/schema.error.js.map +1 -1
- package/schema/schema.js +63 -63
- package/schema/schema.js.map +1 -1
- package/schema/schemas/any.d.ts +2 -2
- package/schema/schemas/any.js +4 -4
- package/schema/schemas/any.js.map +1 -1
- package/schema/schemas/array.d.ts +4 -4
- package/schema/schemas/array.js +12 -12
- package/schema/schemas/array.js.map +1 -1
- package/schema/schemas/assign.d.ts +1 -1
- package/schema/schemas/assign.js +6 -6
- package/schema/schemas/assign.js.map +1 -1
- package/schema/schemas/boolean.d.ts +2 -2
- package/schema/schemas/boolean.js +4 -4
- package/schema/schemas/boolean.js.map +1 -1
- package/schema/schemas/constraint.d.ts +4 -4
- package/schema/schemas/constraint.js +4 -4
- package/schema/schemas/constraint.js.map +1 -1
- package/schema/schemas/date.d.ts +2 -2
- package/schema/schemas/date.js +12 -12
- package/schema/schemas/date.js.map +1 -1
- package/schema/schemas/defaulted.d.ts +4 -4
- package/schema/schemas/defaulted.js +5 -5
- package/schema/schemas/defaulted.js.map +1 -1
- package/schema/schemas/enumeration.d.ts +3 -3
- package/schema/schemas/enumeration.js +8 -8
- package/schema/schemas/enumeration.js.map +1 -1
- package/schema/schemas/index.d.ts +26 -26
- package/schema/schemas/index.js +26 -26
- package/schema/schemas/index.js.map +1 -1
- package/schema/schemas/instance.d.ts +1 -1
- package/schema/schemas/instance.js +2 -2
- package/schema/schemas/instance.js.map +1 -1
- package/schema/schemas/literal.d.ts +2 -2
- package/schema/schemas/literal.js +9 -9
- package/schema/schemas/literal.js.map +1 -1
- package/schema/schemas/nullable.d.ts +3 -3
- package/schema/schemas/nullable.js +4 -4
- package/schema/schemas/nullable.js.map +1 -1
- package/schema/schemas/number.d.ts +2 -2
- package/schema/schemas/number.js +15 -15
- package/schema/schemas/number.js.map +1 -1
- package/schema/schemas/object.d.ts +2 -2
- package/schema/schemas/object.js +2 -2
- package/schema/schemas/object.js.map +1 -1
- package/schema/schemas/omit.d.ts +2 -2
- package/schema/schemas/omit.js +8 -8
- package/schema/schemas/omit.js.map +1 -1
- package/schema/schemas/one-or-many.d.ts +5 -5
- package/schema/schemas/one-or-many.js +8 -8
- package/schema/schemas/one-or-many.js.map +1 -1
- package/schema/schemas/optional.d.ts +4 -4
- package/schema/schemas/optional.js +4 -4
- package/schema/schemas/optional.js.map +1 -1
- package/schema/schemas/partial.d.ts +2 -2
- package/schema/schemas/partial.js +11 -11
- package/schema/schemas/partial.js.map +1 -1
- package/schema/schemas/pick.d.ts +2 -2
- package/schema/schemas/pick.js +8 -8
- package/schema/schemas/pick.js.map +1 -1
- package/schema/schemas/readable-stream.d.ts +3 -3
- package/schema/schemas/readable-stream.js +4 -4
- package/schema/schemas/readable-stream.js.map +1 -1
- package/schema/schemas/record.d.ts +3 -3
- package/schema/schemas/record.js +2 -2
- package/schema/schemas/record.js.map +1 -1
- package/schema/schemas/regexp.d.ts +3 -3
- package/schema/schemas/regexp.js +4 -4
- package/schema/schemas/regexp.js.map +1 -1
- package/schema/schemas/string.d.ts +2 -2
- package/schema/schemas/string.js +22 -22
- package/schema/schemas/string.js.map +1 -1
- package/schema/schemas/transform.d.ts +4 -4
- package/schema/schemas/transform.js +4 -4
- package/schema/schemas/transform.js.map +1 -1
- package/schema/schemas/uint8-array.d.ts +2 -2
- package/schema/schemas/uint8-array.js +16 -16
- package/schema/schemas/uint8-array.js.map +1 -1
- package/schema/schemas/union.d.ts +3 -3
- package/schema/schemas/union.js +8 -8
- package/schema/schemas/union.js.map +1 -1
- package/schema/schemas/unknown.d.ts +2 -2
- package/schema/schemas/unknown.js +4 -4
- package/schema/schemas/unknown.js.map +1 -1
- package/schema/transformers/generic.d.ts +4 -4
- package/schema/transformers/generic.js +4 -4
- package/schema/transformers/generic.js.map +1 -1
- package/schema/transformers/index.d.ts +4 -4
- package/schema/transformers/index.js +4 -4
- package/schema/transformers/index.js.map +1 -1
- package/schema/transformers/lowercase.d.ts +3 -3
- package/schema/transformers/lowercase.js +4 -4
- package/schema/transformers/lowercase.js.map +1 -1
- package/schema/transformers/trim.d.ts +3 -3
- package/schema/transformers/trim.js +4 -4
- package/schema/transformers/trim.js.map +1 -1
- package/schema/transformers/uppercase.d.ts +3 -3
- package/schema/transformers/uppercase.js +4 -4
- package/schema/transformers/uppercase.js.map +1 -1
- package/schema/types/index.d.ts +5 -5
- package/schema/types/index.js +5 -5
- package/schema/types/index.js.map +1 -1
- package/schema/types/schema-array-constraint.d.ts +2 -2
- package/schema/types/schema-value-coercer.d.ts +3 -3
- package/schema/types/schema-value-constraint.d.ts +3 -3
- package/schema/types/schema-value-transformer.d.ts +3 -3
- package/schema/types/types.d.ts +7 -7
- package/schema/types/types.js +24 -24
- package/schema/types/types.js.map +1 -1
- package/schema/utils/index.d.ts +2 -2
- package/schema/utils/index.js +2 -2
- package/schema/utils/index.js.map +1 -1
- package/schema/utils/schema.d.ts +3 -3
- package/schema/utils/schema.js +40 -40
- package/schema/utils/schema.js.map +1 -1
- package/schema/utils/value-type.d.ts +3 -3
- package/schema/utils/value-type.js +22 -22
- package/schema/utils/value-type.js.map +1 -1
- package/search-index/elastic/config.d.ts +3 -3
- package/search-index/elastic/config.js +6 -6
- package/search-index/elastic/config.js.map +1 -1
- package/search-index/elastic/index.d.ts +6 -6
- package/search-index/elastic/index.js +6 -6
- package/search-index/elastic/index.js.map +1 -1
- package/search-index/elastic/model/elastic-query.d.ts +1 -1
- package/search-index/elastic/model/index-mapping.d.ts +3 -3
- package/search-index/elastic/model/index-mapping.js +2 -2
- package/search-index/elastic/model/index-mapping.js.map +1 -1
- package/search-index/elastic/model/index.d.ts +3 -3
- package/search-index/elastic/model/index.js +3 -3
- package/search-index/elastic/model/index.js.map +1 -1
- package/search-index/elastic/model/sort.d.ts +3 -3
- package/search-index/elastic/module.d.ts +4 -4
- package/search-index/elastic/module.js +17 -17
- package/search-index/elastic/module.js.map +1 -1
- package/search-index/elastic/query-builder/boolean-query-builder.d.ts +1 -1
- package/search-index/elastic/query-builder/index.d.ts +1 -1
- package/search-index/elastic/query-builder/index.js +1 -1
- package/search-index/elastic/query-builder/index.js.map +1 -1
- package/search-index/elastic/query-converter.d.ts +4 -4
- package/search-index/elastic/query-converter.js +26 -26
- package/search-index/elastic/query-converter.js.map +1 -1
- package/search-index/elastic/search-index.d.ts +10 -10
- package/search-index/elastic/search-index.js +33 -33
- package/search-index/elastic/search-index.js.map +1 -1
- package/search-index/elastic/sort-converter.d.ts +3 -3
- package/search-index/elastic/types.d.ts +1 -1
- package/search-index/error.d.ts +1 -1
- package/search-index/error.js +4 -4
- package/search-index/error.js.map +1 -1
- package/search-index/index.d.ts +3 -3
- package/search-index/index.js +3 -3
- package/search-index/index.js.map +1 -1
- package/search-index/memory/index.d.ts +1 -1
- package/search-index/memory/index.js +1 -1
- package/search-index/memory/index.js.map +1 -1
- package/search-index/memory/memory-search-index.d.ts +3 -3
- package/search-index/memory/memory-search-index.js +26 -26
- package/search-index/memory/memory-search-index.js.map +1 -1
- package/search-index/search-index.d.ts +3 -3
- package/search-index/search-index.js +3 -3
- package/search-index/search-index.js.map +1 -1
- package/search-index/search-result.d.ts +1 -1
- package/serializer/handlers/binary.d.ts +1 -1
- package/serializer/handlers/binary.js +7 -7
- package/serializer/handlers/binary.js.map +1 -1
- package/serializer/handlers/index.d.ts +7 -7
- package/serializer/handlers/index.js +7 -7
- package/serializer/handlers/index.js.map +1 -1
- package/serializer/handlers/map.d.ts +1 -1
- package/serializer/handlers/register.d.ts +1 -1
- package/serializer/handlers/register.js +18 -18
- package/serializer/handlers/register.js.map +1 -1
- package/serializer/handlers/set.d.ts +2 -2
- package/serializer/index.d.ts +4 -4
- package/serializer/index.js +7 -7
- package/serializer/index.js.map +1 -1
- package/serializer/serializable.d.ts +1 -1
- package/serializer/serializable.js +5 -5
- package/serializer/serializable.js.map +1 -1
- package/serializer/serializer.d.ts +2 -2
- package/serializer/serializer.js +35 -35
- package/serializer/serializer.js.map +1 -1
- package/serializer/types.d.ts +1 -1
- package/sse/index.d.ts +1 -1
- package/sse/index.js +1 -1
- package/sse/index.js.map +1 -1
- package/sse/server-sent-events.js +5 -5
- package/sse/server-sent-events.js.map +1 -1
- package/tailwind/index.d.ts +1 -1
- package/tailwind/index.js +1 -1
- package/tailwind/index.js.map +1 -1
- package/tailwind/theme-adapter.d.ts +1 -1
- package/tailwind/theme-adapter.js +4 -4
- package/tailwind/theme-adapter.js.map +1 -1
- package/templates/index.d.ts +9 -9
- package/templates/index.js +9 -9
- package/templates/index.js.map +1 -1
- package/templates/module.d.ts +4 -4
- package/templates/module.js +12 -12
- package/templates/module.js.map +1 -1
- package/templates/providers/file.template-provider.d.ts +4 -4
- package/templates/providers/file.template-provider.js +13 -13
- package/templates/providers/file.template-provider.js.map +1 -1
- package/templates/providers/memory.template-provider.d.ts +2 -2
- package/templates/providers/memory.template-provider.js +6 -6
- package/templates/providers/memory.template-provider.js.map +1 -1
- package/templates/renderers/handlebars.template-renderer.d.ts +5 -5
- package/templates/renderers/handlebars.template-renderer.js +19 -19
- package/templates/renderers/handlebars.template-renderer.js.map +1 -1
- package/templates/renderers/jsx.template-renderer.d.ts +6 -6
- package/templates/renderers/jsx.template-renderer.js +8 -8
- package/templates/renderers/jsx.template-renderer.js.map +1 -1
- package/templates/renderers/mjml.template-renderer.d.ts +3 -3
- package/templates/renderers/mjml.template-renderer.js +7 -7
- package/templates/renderers/mjml.template-renderer.js.map +1 -1
- package/templates/renderers/string.template-renderer.d.ts +2 -2
- package/templates/renderers/string.template-renderer.js +4 -4
- package/templates/renderers/string.template-renderer.js.map +1 -1
- package/templates/resolvers/file.template-resolver.d.ts +6 -6
- package/templates/resolvers/file.template-resolver.js +13 -13
- package/templates/resolvers/file.template-resolver.js.map +1 -1
- package/templates/resolvers/jsx.template-resolver.d.ts +4 -4
- package/templates/resolvers/jsx.template-resolver.js +8 -8
- package/templates/resolvers/jsx.template-resolver.js.map +1 -1
- package/templates/resolvers/string.template-resolver.d.ts +4 -4
- package/templates/resolvers/string.template-resolver.js +8 -8
- package/templates/resolvers/string.template-resolver.js.map +1 -1
- package/templates/template-renderer.provider.d.ts +1 -1
- package/templates/template-renderer.provider.js +4 -4
- package/templates/template-renderer.provider.js.map +1 -1
- package/templates/template-resolver.provider.d.ts +1 -1
- package/templates/template-resolver.provider.js +4 -4
- package/templates/template-resolver.provider.js.map +1 -1
- package/templates/template.model.d.ts +1 -1
- package/templates/template.model.js +10 -10
- package/templates/template.model.js.map +1 -1
- package/templates/template.provider.d.ts +1 -1
- package/templates/template.renderer.d.ts +2 -2
- package/templates/template.renderer.js +4 -4
- package/templates/template.renderer.js.map +1 -1
- package/templates/template.resolver.d.ts +1 -1
- package/templates/template.service.d.ts +5 -5
- package/templates/template.service.js +15 -15
- package/templates/template.service.js.map +1 -1
- package/templates/tokens.d.ts +4 -4
- package/templates/tokens.js +3 -3
- package/templates/tokens.js.map +1 -1
- package/text/dynamic-text.model.d.ts +3 -3
- package/text/dynamic-text.model.js +7 -7
- package/text/dynamic-text.model.js.map +1 -1
- package/text/index.d.ts +3 -3
- package/text/index.js +3 -3
- package/text/index.js.map +1 -1
- package/text/localizable-text.model.d.ts +1 -1
- package/text/localization.service.d.ts +7 -4
- package/text/localization.service.js +50 -35
- package/text/localization.service.js.map +1 -1
- package/theme/adapters/css-adapter.d.ts +1 -1
- package/theme/adapters/css-adapter.js +19 -19
- package/theme/adapters/css-adapter.js.map +1 -1
- package/theme/index.d.ts +1 -1
- package/theme/index.js +1 -1
- package/theme/index.js.map +1 -1
- package/theme/theme-service.d.ts +2 -2
- package/theme/theme-service.js +19 -19
- package/theme/theme-service.js.map +1 -1
- package/threading/index.d.ts +2 -2
- package/threading/index.js +2 -2
- package/threading/index.js.map +1 -1
- package/threading/thread-pool.d.ts +4 -4
- package/threading/thread-pool.js +11 -11
- package/threading/thread-pool.js.map +1 -1
- package/threading/thread-worker.d.ts +1 -1
- package/threading/thread-worker.js +2 -2
- package/threading/thread-worker.js.map +1 -1
- package/tokens.d.ts +1 -1
- package/tokens.js +2 -2
- package/tokens.js.map +1 -1
- package/types/geo-json.d.ts +1 -1
- package/utils/any-iterable-iterator.js +3 -3
- package/utils/any-iterable-iterator.js.map +1 -1
- package/utils/array/array-backtracker.js +5 -5
- package/utils/array/array-backtracker.js.map +1 -1
- package/utils/array/array.js +11 -11
- package/utils/array/array.js.map +1 -1
- package/utils/array/index.d.ts +2 -2
- package/utils/array/index.js +2 -2
- package/utils/array/index.js.map +1 -1
- package/utils/async-iterable-helpers/all.d.ts +2 -2
- package/utils/async-iterable-helpers/all.js +2 -2
- package/utils/async-iterable-helpers/all.js.map +1 -1
- package/utils/async-iterable-helpers/any.d.ts +2 -2
- package/utils/async-iterable-helpers/any.js +2 -2
- package/utils/async-iterable-helpers/any.js.map +1 -1
- package/utils/async-iterable-helpers/assert.d.ts +2 -2
- package/utils/async-iterable-helpers/assert.js +5 -5
- package/utils/async-iterable-helpers/assert.js.map +1 -1
- package/utils/async-iterable-helpers/batch.d.ts +1 -1
- package/utils/async-iterable-helpers/batch.js +2 -2
- package/utils/async-iterable-helpers/batch.js.map +1 -1
- package/utils/async-iterable-helpers/buffer.d.ts +1 -1
- package/utils/async-iterable-helpers/buffer.js +8 -8
- package/utils/async-iterable-helpers/buffer.js.map +1 -1
- package/utils/async-iterable-helpers/concat.d.ts +1 -1
- package/utils/async-iterable-helpers/default-if-empty.d.ts +1 -1
- package/utils/async-iterable-helpers/deferred.d.ts +1 -1
- package/utils/async-iterable-helpers/difference.d.ts +2 -2
- package/utils/async-iterable-helpers/difference.js +8 -8
- package/utils/async-iterable-helpers/difference.js.map +1 -1
- package/utils/async-iterable-helpers/distinct.d.ts +2 -2
- package/utils/async-iterable-helpers/distinct.js +2 -2
- package/utils/async-iterable-helpers/distinct.js.map +1 -1
- package/utils/async-iterable-helpers/drain.d.ts +1 -1
- package/utils/async-iterable-helpers/filter.d.ts +2 -2
- package/utils/async-iterable-helpers/filter.js +2 -2
- package/utils/async-iterable-helpers/filter.js.map +1 -1
- package/utils/async-iterable-helpers/first-or-default.d.ts +3 -3
- package/utils/async-iterable-helpers/first-or-default.js +2 -2
- package/utils/async-iterable-helpers/first-or-default.js.map +1 -1
- package/utils/async-iterable-helpers/first.d.ts +3 -3
- package/utils/async-iterable-helpers/first.js +2 -2
- package/utils/async-iterable-helpers/first.js.map +1 -1
- package/utils/async-iterable-helpers/for-each.d.ts +2 -2
- package/utils/async-iterable-helpers/for-each.js +2 -2
- package/utils/async-iterable-helpers/for-each.js.map +1 -1
- package/utils/async-iterable-helpers/group-single.d.ts +2 -2
- package/utils/async-iterable-helpers/group-single.js +2 -2
- package/utils/async-iterable-helpers/group-single.js.map +1 -1
- package/utils/async-iterable-helpers/group-to-map.d.ts +2 -2
- package/utils/async-iterable-helpers/group-to-map.js +5 -5
- package/utils/async-iterable-helpers/group-to-map.js.map +1 -1
- package/utils/async-iterable-helpers/group-to-single-map.d.ts +2 -2
- package/utils/async-iterable-helpers/group-to-single-map.js +2 -2
- package/utils/async-iterable-helpers/group-to-single-map.js.map +1 -1
- package/utils/async-iterable-helpers/group.d.ts +2 -2
- package/utils/async-iterable-helpers/group.js +2 -2
- package/utils/async-iterable-helpers/group.js.map +1 -1
- package/utils/async-iterable-helpers/includes.d.ts +1 -1
- package/utils/async-iterable-helpers/includes.js +6 -6
- package/utils/async-iterable-helpers/includes.js.map +1 -1
- package/utils/async-iterable-helpers/index.d.ts +48 -48
- package/utils/async-iterable-helpers/index.js +48 -48
- package/utils/async-iterable-helpers/index.js.map +1 -1
- package/utils/async-iterable-helpers/interrupt.d.ts +1 -1
- package/utils/async-iterable-helpers/interrupt.js +5 -5
- package/utils/async-iterable-helpers/interrupt.js.map +1 -1
- package/utils/async-iterable-helpers/is-async-iterable.d.ts +1 -1
- package/utils/async-iterable-helpers/is-async-iterable.js +3 -3
- package/utils/async-iterable-helpers/is-async-iterable.js.map +1 -1
- package/utils/async-iterable-helpers/last-or-default.d.ts +3 -3
- package/utils/async-iterable-helpers/last-or-default.js +2 -2
- package/utils/async-iterable-helpers/last-or-default.js.map +1 -1
- package/utils/async-iterable-helpers/last.d.ts +3 -3
- package/utils/async-iterable-helpers/last.js +2 -2
- package/utils/async-iterable-helpers/last.js.map +1 -1
- package/utils/async-iterable-helpers/map-many.d.ts +2 -2
- package/utils/async-iterable-helpers/map-many.js +2 -2
- package/utils/async-iterable-helpers/map-many.js.map +1 -1
- package/utils/async-iterable-helpers/map.d.ts +2 -2
- package/utils/async-iterable-helpers/map.js +2 -2
- package/utils/async-iterable-helpers/map.js.map +1 -1
- package/utils/async-iterable-helpers/materialize.d.ts +1 -1
- package/utils/async-iterable-helpers/materialize.js +4 -4
- package/utils/async-iterable-helpers/materialize.js.map +1 -1
- package/utils/async-iterable-helpers/metadata.d.ts +2 -2
- package/utils/async-iterable-helpers/metadata.js +2 -2
- package/utils/async-iterable-helpers/metadata.js.map +1 -1
- package/utils/async-iterable-helpers/multiplex.d.ts +1 -1
- package/utils/async-iterable-helpers/multiplex.js +3 -3
- package/utils/async-iterable-helpers/multiplex.js.map +1 -1
- package/utils/async-iterable-helpers/observable-iterable.js +5 -5
- package/utils/async-iterable-helpers/observable-iterable.js.map +1 -1
- package/utils/async-iterable-helpers/pairwise.d.ts +1 -1
- package/utils/async-iterable-helpers/pairwise.js +2 -2
- package/utils/async-iterable-helpers/pairwise.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/feed.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/feed.js +6 -6
- package/utils/async-iterable-helpers/parallel/feed.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/filter.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/filter.js +2 -2
- package/utils/async-iterable-helpers/parallel/filter.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/for-each.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/for-each.js +4 -4
- package/utils/async-iterable-helpers/parallel/for-each.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/group.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/group.js +4 -4
- package/utils/async-iterable-helpers/parallel/group.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/index.d.ts +7 -7
- package/utils/async-iterable-helpers/parallel/index.js +7 -7
- package/utils/async-iterable-helpers/parallel/index.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/map.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/map.js +2 -2
- package/utils/async-iterable-helpers/parallel/map.js.map +1 -1
- package/utils/async-iterable-helpers/parallel/tap.d.ts +2 -2
- package/utils/async-iterable-helpers/parallel/tap.js +2 -2
- package/utils/async-iterable-helpers/parallel/tap.js.map +1 -1
- package/utils/async-iterable-helpers/reduce.d.ts +2 -2
- package/utils/async-iterable-helpers/reduce.js +2 -2
- package/utils/async-iterable-helpers/reduce.js.map +1 -1
- package/utils/async-iterable-helpers/retry.d.ts +2 -2
- package/utils/async-iterable-helpers/retry.js +2 -2
- package/utils/async-iterable-helpers/retry.js.map +1 -1
- package/utils/async-iterable-helpers/single-or-default.d.ts +3 -3
- package/utils/async-iterable-helpers/single.d.ts +3 -3
- package/utils/async-iterable-helpers/skip.d.ts +1 -1
- package/utils/async-iterable-helpers/skip.js +2 -2
- package/utils/async-iterable-helpers/skip.js.map +1 -1
- package/utils/async-iterable-helpers/sort.d.ts +2 -2
- package/utils/async-iterable-helpers/sort.js +4 -4
- package/utils/async-iterable-helpers/sort.js.map +1 -1
- package/utils/async-iterable-helpers/take-until.d.ts +2 -2
- package/utils/async-iterable-helpers/take-until.js +2 -2
- package/utils/async-iterable-helpers/take-until.js.map +1 -1
- package/utils/async-iterable-helpers/take-while.d.ts +2 -2
- package/utils/async-iterable-helpers/take-while.js +2 -2
- package/utils/async-iterable-helpers/take-while.js.map +1 -1
- package/utils/async-iterable-helpers/take.d.ts +1 -1
- package/utils/async-iterable-helpers/tap.d.ts +2 -2
- package/utils/async-iterable-helpers/tap.js +2 -2
- package/utils/async-iterable-helpers/tap.js.map +1 -1
- package/utils/async-iterable-helpers/throttle.d.ts +2 -2
- package/utils/async-iterable-helpers/throttle.js +2 -2
- package/utils/async-iterable-helpers/throttle.js.map +1 -1
- package/utils/async-iterable-helpers/to-array.d.ts +1 -1
- package/utils/async-iterable-helpers/to-array.js +2 -2
- package/utils/async-iterable-helpers/to-array.js.map +1 -1
- package/utils/async-iterable-helpers/to-async-iterable-iterator.d.ts +1 -1
- package/utils/async-iterable-helpers/to-async-iterator.d.ts +1 -1
- package/utils/async-iterable-helpers/to-async-iterator.js +7 -7
- package/utils/async-iterable-helpers/to-async-iterator.js.map +1 -1
- package/utils/async-iterable-helpers/to-set.d.ts +1 -1
- package/utils/async-iterable-helpers/to-set.js +2 -2
- package/utils/async-iterable-helpers/to-set.js.map +1 -1
- package/utils/async-iterable-helpers/to-sync-iterable.d.ts +1 -1
- package/utils/async-iterable-helpers/to-sync-iterable.js +4 -4
- package/utils/async-iterable-helpers/to-sync-iterable.js.map +1 -1
- package/utils/async-iterable-helpers/types.d.ts +1 -1
- package/utils/async-iterable-helpers/while.d.ts +2 -2
- package/utils/async-iterable-helpers/while.js +2 -2
- package/utils/async-iterable-helpers/while.js.map +1 -1
- package/utils/async-iterator-iterable-iterator.js +3 -3
- package/utils/async-iterator-iterable-iterator.js.map +1 -1
- package/utils/backoff.d.ts +2 -2
- package/utils/backoff.js +9 -9
- package/utils/backoff.js.map +1 -1
- package/utils/base64.d.ts +1 -1
- package/utils/base64.js +8 -8
- package/utils/base64.js.map +1 -1
- package/utils/benchmark.d.ts +2 -2
- package/utils/benchmark.js +12 -12
- package/utils/benchmark.js.map +1 -1
- package/utils/binary-search.d.ts +1 -1
- package/utils/binary-search.js +8 -8
- package/utils/binary-search.js.map +1 -1
- package/utils/binary.d.ts +1 -1
- package/utils/binary.js +6 -6
- package/utils/binary.js.map +1 -1
- package/utils/cancellation-token.js +8 -8
- package/utils/cancellation-token.js.map +1 -1
- package/utils/clone.js +15 -15
- package/utils/clone.js.map +1 -1
- package/utils/compression.d.ts +1 -1
- package/utils/compression.js +26 -26
- package/utils/compression.js.map +1 -1
- package/utils/config-parser.js +3 -3
- package/utils/config-parser.js.map +1 -1
- package/utils/cryptography.d.ts +1 -1
- package/utils/cryptography.js +33 -33
- package/utils/cryptography.js.map +1 -1
- package/utils/date-time.js +11 -11
- package/utils/date-time.js.map +1 -1
- package/utils/encoding.d.ts +1 -1
- package/utils/encoding.js +8 -8
- package/utils/encoding.js.map +1 -1
- package/utils/enum.d.ts +1 -1
- package/utils/enum.js +10 -10
- package/utils/enum.js.map +1 -1
- package/utils/equals.d.ts +2 -2
- package/utils/equals.js +14 -14
- package/utils/equals.js.map +1 -1
- package/utils/event-loop.d.ts +2 -2
- package/utils/event-loop.js +7 -7
- package/utils/event-loop.js.map +1 -1
- package/utils/feedable-async-iterable.js +4 -4
- package/utils/feedable-async-iterable.js.map +1 -1
- package/utils/file-reader.js +2 -2
- package/utils/file-reader.js.map +1 -1
- package/utils/format-error.d.ts +1 -1
- package/utils/format-error.js +10 -10
- package/utils/format-error.js.map +1 -1
- package/utils/function/index.d.ts +2 -2
- package/utils/function/index.js +2 -2
- package/utils/function/index.js.map +1 -1
- package/utils/function/memoize.js +4 -4
- package/utils/function/memoize.js.map +1 -1
- package/utils/function/throttle.js +2 -2
- package/utils/function/throttle.js.map +1 -1
- package/utils/helpers.d.ts +1 -1
- package/utils/helpers.js +8 -8
- package/utils/helpers.js.map +1 -1
- package/utils/image.js +9 -9
- package/utils/image.js.map +1 -1
- package/utils/index.d.ts +47 -47
- package/utils/index.js +47 -47
- package/utils/index.js.map +1 -1
- package/utils/iterable-helpers/all.d.ts +1 -1
- package/utils/iterable-helpers/any.d.ts +1 -1
- package/utils/iterable-helpers/assert.d.ts +1 -1
- package/utils/iterable-helpers/assert.js +2 -2
- package/utils/iterable-helpers/assert.js.map +1 -1
- package/utils/iterable-helpers/difference.d.ts +1 -1
- package/utils/iterable-helpers/difference.js +5 -5
- package/utils/iterable-helpers/difference.js.map +1 -1
- package/utils/iterable-helpers/distinct.d.ts +1 -1
- package/utils/iterable-helpers/filter.d.ts +1 -1
- package/utils/iterable-helpers/first-or-default.d.ts +1 -1
- package/utils/iterable-helpers/first-or-default.js +2 -2
- package/utils/iterable-helpers/first-or-default.js.map +1 -1
- package/utils/iterable-helpers/first.d.ts +1 -1
- package/utils/iterable-helpers/first.js +2 -2
- package/utils/iterable-helpers/first.js.map +1 -1
- package/utils/iterable-helpers/for-each.d.ts +1 -1
- package/utils/iterable-helpers/group-single.d.ts +1 -1
- package/utils/iterable-helpers/group-single.js +2 -2
- package/utils/iterable-helpers/group-single.js.map +1 -1
- package/utils/iterable-helpers/group-to-map.d.ts +1 -1
- package/utils/iterable-helpers/group-to-map.js +2 -2
- package/utils/iterable-helpers/group-to-map.js.map +1 -1
- package/utils/iterable-helpers/group-to-single-map.d.ts +1 -1
- package/utils/iterable-helpers/group.d.ts +1 -1
- package/utils/iterable-helpers/group.js +2 -2
- package/utils/iterable-helpers/group.js.map +1 -1
- package/utils/iterable-helpers/includes.js +2 -2
- package/utils/iterable-helpers/includes.js.map +1 -1
- package/utils/iterable-helpers/index.d.ts +39 -39
- package/utils/iterable-helpers/index.js +39 -39
- package/utils/iterable-helpers/index.js.map +1 -1
- package/utils/iterable-helpers/is-iterable.d.ts +1 -1
- package/utils/iterable-helpers/is-iterable.js +3 -3
- package/utils/iterable-helpers/is-iterable.js.map +1 -1
- package/utils/iterable-helpers/last-or-default.d.ts +1 -1
- package/utils/iterable-helpers/last-or-default.js +2 -2
- package/utils/iterable-helpers/last-or-default.js.map +1 -1
- package/utils/iterable-helpers/last.d.ts +1 -1
- package/utils/iterable-helpers/last.js +2 -2
- package/utils/iterable-helpers/last.js.map +1 -1
- package/utils/iterable-helpers/map-many.d.ts +1 -1
- package/utils/iterable-helpers/map.d.ts +1 -1
- package/utils/iterable-helpers/metadata.d.ts +1 -1
- package/utils/iterable-helpers/reduce.d.ts +1 -1
- package/utils/iterable-helpers/single-or-default.d.ts +1 -1
- package/utils/iterable-helpers/single.d.ts +1 -1
- package/utils/iterable-helpers/sort.d.ts +1 -1
- package/utils/iterable-helpers/sort.js +2 -2
- package/utils/iterable-helpers/sort.js.map +1 -1
- package/utils/iterable-helpers/take-until.d.ts +1 -1
- package/utils/iterable-helpers/take-while.d.ts +1 -1
- package/utils/iterable-helpers/tap.d.ts +1 -1
- package/utils/iterable-helpers/while.d.ts +1 -1
- package/utils/jwt.d.ts +2 -2
- package/utils/jwt.js +26 -26
- package/utils/jwt.js.map +1 -1
- package/utils/map.js +2 -2
- package/utils/map.js.map +1 -1
- package/utils/math.js +3 -3
- package/utils/math.js.map +1 -1
- package/utils/merge.d.ts +1 -1
- package/utils/merge.js +11 -11
- package/utils/merge.js.map +1 -1
- package/utils/moving-metric.js +2 -2
- package/utils/moving-metric.js.map +1 -1
- package/utils/object/decycle.d.ts +1 -1
- package/utils/object/decycle.js +20 -20
- package/utils/object/decycle.js.map +1 -1
- package/utils/object/dereference.d.ts +1 -1
- package/utils/object/dereference.js +4 -4
- package/utils/object/dereference.js.map +1 -1
- package/utils/object/forward-ref.js +14 -14
- package/utils/object/forward-ref.js.map +1 -1
- package/utils/object/index.d.ts +7 -7
- package/utils/object/index.js +7 -7
- package/utils/object/index.js.map +1 -1
- package/utils/object/lazy-property.d.ts +1 -1
- package/utils/object/lazy-property.js +11 -11
- package/utils/object/lazy-property.js.map +1 -1
- package/utils/object/merge.js +12 -12
- package/utils/object/merge.js.map +1 -1
- package/utils/object/object.d.ts +1 -1
- package/utils/object/object.js +9 -9
- package/utils/object/object.js.map +1 -1
- package/utils/object/property-name.d.ts +2 -2
- package/utils/object/property-name.js +7 -7
- package/utils/object/property-name.js.map +1 -1
- package/utils/ordered-feedable-async-iterable.d.ts +1 -1
- package/utils/ordered-feedable-async-iterable.js +2 -2
- package/utils/ordered-feedable-async-iterable.js.map +1 -1
- package/utils/patch-worker.d.ts +1 -1
- package/utils/patch-worker.js +10 -10
- package/utils/patch-worker.js.map +1 -1
- package/utils/periodic-reporter.js +6 -6
- package/utils/periodic-reporter.js.map +1 -1
- package/utils/periodic-sampler.js +8 -8
- package/utils/periodic-sampler.js.map +1 -1
- package/utils/provider-function-iterable.js +2 -2
- package/utils/provider-function-iterable.js.map +1 -1
- package/utils/proxy.js +2 -2
- package/utils/proxy.js.map +1 -1
- package/utils/random.js +2 -2
- package/utils/random.js.map +1 -1
- package/utils/reflection.d.ts +1 -1
- package/utils/set.js +2 -2
- package/utils/set.js.map +1 -1
- package/utils/singleton.js +2 -2
- package/utils/singleton.js.map +1 -1
- package/utils/sort.js +3 -3
- package/utils/sort.js.map +1 -1
- package/utils/stream/index.d.ts +6 -6
- package/utils/stream/index.js +6 -6
- package/utils/stream/index.js.map +1 -1
- package/utils/stream/readable-stream-adapter.d.ts +1 -1
- package/utils/stream/readable-stream-adapter.js +2 -2
- package/utils/stream/readable-stream-adapter.js.map +1 -1
- package/utils/stream/size-limited-stream.d.ts +1 -1
- package/utils/stream/size-limited-stream.js +2 -2
- package/utils/stream/size-limited-stream.js.map +1 -1
- package/utils/stream/stream-reader.d.ts +1 -1
- package/utils/stream/stream-reader.js +10 -10
- package/utils/stream/stream-reader.js.map +1 -1
- package/utils/string/index.d.ts +2 -2
- package/utils/string/index.js +2 -2
- package/utils/string/index.js.map +1 -1
- package/utils/timing.d.ts +1 -1
- package/utils/type-guards.d.ts +1 -1
- package/utils/type-guards.js +6 -6
- package/utils/type-guards.js.map +1 -1
- package/utils/type-of.js +2 -2
- package/utils/type-of.js.map +1 -1
- package/utils/url-builder.d.ts +1 -1
- package/utils/url-builder.js +9 -9
- package/utils/url-builder.js.map +1 -1
- package/utils/z-base32.d.ts +1 -1
- package/utils/z-base32.js +4 -4
- package/utils/z-base32.js.map +1 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export * from './all';
|
|
2
|
-
export * from './any';
|
|
3
|
-
export * from './assert';
|
|
4
|
-
export * from './batch';
|
|
5
|
-
export * from './concat';
|
|
6
|
-
export * from './default-if-empty';
|
|
7
|
-
export * from './deferred';
|
|
8
|
-
export * from './difference';
|
|
9
|
-
export * from './distinct';
|
|
10
|
-
export * from './drain';
|
|
11
|
-
export * from './filter';
|
|
12
|
-
export * from './first';
|
|
13
|
-
export * from './first
|
|
14
|
-
export * from './for-each';
|
|
15
|
-
export * from './group';
|
|
16
|
-
export * from './group-
|
|
17
|
-
export * from './group-to-map';
|
|
18
|
-
export * from './group
|
|
19
|
-
export * from './includes';
|
|
20
|
-
export * from './is-iterable';
|
|
21
|
-
export * from './last';
|
|
22
|
-
export * from './last
|
|
23
|
-
export * from './map';
|
|
24
|
-
export * from './map
|
|
25
|
-
export * from './materialize';
|
|
26
|
-
export * from './metadata';
|
|
27
|
-
export * from './pairwise';
|
|
28
|
-
export * from './range';
|
|
29
|
-
export * from './reduce';
|
|
30
|
-
export * from './single';
|
|
31
|
-
export * from './single
|
|
32
|
-
export * from './skip';
|
|
33
|
-
export * from './sort';
|
|
34
|
-
export * from './take';
|
|
35
|
-
export * from './take-
|
|
36
|
-
export * from './take
|
|
37
|
-
export * from './tap';
|
|
38
|
-
export * from './types';
|
|
39
|
-
export * from './while';
|
|
1
|
+
export * from './all.js';
|
|
2
|
+
export * from './any.js';
|
|
3
|
+
export * from './assert.js';
|
|
4
|
+
export * from './batch.js';
|
|
5
|
+
export * from './concat.js';
|
|
6
|
+
export * from './default-if-empty.js';
|
|
7
|
+
export * from './deferred.js';
|
|
8
|
+
export * from './difference.js';
|
|
9
|
+
export * from './distinct.js';
|
|
10
|
+
export * from './drain.js';
|
|
11
|
+
export * from './filter.js';
|
|
12
|
+
export * from './first-or-default.js';
|
|
13
|
+
export * from './first.js';
|
|
14
|
+
export * from './for-each.js';
|
|
15
|
+
export * from './group-single.js';
|
|
16
|
+
export * from './group-to-map.js';
|
|
17
|
+
export * from './group-to-single-map.js';
|
|
18
|
+
export * from './group.js';
|
|
19
|
+
export * from './includes.js';
|
|
20
|
+
export * from './is-iterable.js';
|
|
21
|
+
export * from './last-or-default.js';
|
|
22
|
+
export * from './last.js';
|
|
23
|
+
export * from './map-many.js';
|
|
24
|
+
export * from './map.js';
|
|
25
|
+
export * from './materialize.js';
|
|
26
|
+
export * from './metadata.js';
|
|
27
|
+
export * from './pairwise.js';
|
|
28
|
+
export * from './range.js';
|
|
29
|
+
export * from './reduce.js';
|
|
30
|
+
export * from './single-or-default.js';
|
|
31
|
+
export * from './single.js';
|
|
32
|
+
export * from './skip.js';
|
|
33
|
+
export * from './sort.js';
|
|
34
|
+
export * from './take-until.js';
|
|
35
|
+
export * from './take-while.js';
|
|
36
|
+
export * from './take.js';
|
|
37
|
+
export * from './tap.js';
|
|
38
|
+
export * from './types.js';
|
|
39
|
+
export * from './while.js';
|
|
@@ -14,43 +14,43 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./all"), exports);
|
|
18
|
-
__exportStar(require("./any"), exports);
|
|
19
|
-
__exportStar(require("./assert"), exports);
|
|
20
|
-
__exportStar(require("./batch"), exports);
|
|
21
|
-
__exportStar(require("./concat"), exports);
|
|
22
|
-
__exportStar(require("./default-if-empty"), exports);
|
|
23
|
-
__exportStar(require("./deferred"), exports);
|
|
24
|
-
__exportStar(require("./difference"), exports);
|
|
25
|
-
__exportStar(require("./distinct"), exports);
|
|
26
|
-
__exportStar(require("./drain"), exports);
|
|
27
|
-
__exportStar(require("./filter"), exports);
|
|
28
|
-
__exportStar(require("./first"), exports);
|
|
29
|
-
__exportStar(require("./first
|
|
30
|
-
__exportStar(require("./for-each"), exports);
|
|
31
|
-
__exportStar(require("./group"), exports);
|
|
32
|
-
__exportStar(require("./group-
|
|
33
|
-
__exportStar(require("./group-to-map"), exports);
|
|
34
|
-
__exportStar(require("./group
|
|
35
|
-
__exportStar(require("./includes"), exports);
|
|
36
|
-
__exportStar(require("./is-iterable"), exports);
|
|
37
|
-
__exportStar(require("./last"), exports);
|
|
38
|
-
__exportStar(require("./last
|
|
39
|
-
__exportStar(require("./map"), exports);
|
|
40
|
-
__exportStar(require("./map
|
|
41
|
-
__exportStar(require("./materialize"), exports);
|
|
42
|
-
__exportStar(require("./metadata"), exports);
|
|
43
|
-
__exportStar(require("./pairwise"), exports);
|
|
44
|
-
__exportStar(require("./range"), exports);
|
|
45
|
-
__exportStar(require("./reduce"), exports);
|
|
46
|
-
__exportStar(require("./single"), exports);
|
|
47
|
-
__exportStar(require("./single
|
|
48
|
-
__exportStar(require("./skip"), exports);
|
|
49
|
-
__exportStar(require("./sort"), exports);
|
|
50
|
-
__exportStar(require("./take"), exports);
|
|
51
|
-
__exportStar(require("./take-
|
|
52
|
-
__exportStar(require("./take
|
|
53
|
-
__exportStar(require("./tap"), exports);
|
|
54
|
-
__exportStar(require("./types"), exports);
|
|
55
|
-
__exportStar(require("./while"), exports);
|
|
17
|
+
__exportStar(require("./all.js"), exports);
|
|
18
|
+
__exportStar(require("./any.js"), exports);
|
|
19
|
+
__exportStar(require("./assert.js"), exports);
|
|
20
|
+
__exportStar(require("./batch.js"), exports);
|
|
21
|
+
__exportStar(require("./concat.js"), exports);
|
|
22
|
+
__exportStar(require("./default-if-empty.js"), exports);
|
|
23
|
+
__exportStar(require("./deferred.js"), exports);
|
|
24
|
+
__exportStar(require("./difference.js"), exports);
|
|
25
|
+
__exportStar(require("./distinct.js"), exports);
|
|
26
|
+
__exportStar(require("./drain.js"), exports);
|
|
27
|
+
__exportStar(require("./filter.js"), exports);
|
|
28
|
+
__exportStar(require("./first-or-default.js"), exports);
|
|
29
|
+
__exportStar(require("./first.js"), exports);
|
|
30
|
+
__exportStar(require("./for-each.js"), exports);
|
|
31
|
+
__exportStar(require("./group-single.js"), exports);
|
|
32
|
+
__exportStar(require("./group-to-map.js"), exports);
|
|
33
|
+
__exportStar(require("./group-to-single-map.js"), exports);
|
|
34
|
+
__exportStar(require("./group.js"), exports);
|
|
35
|
+
__exportStar(require("./includes.js"), exports);
|
|
36
|
+
__exportStar(require("./is-iterable.js"), exports);
|
|
37
|
+
__exportStar(require("./last-or-default.js"), exports);
|
|
38
|
+
__exportStar(require("./last.js"), exports);
|
|
39
|
+
__exportStar(require("./map-many.js"), exports);
|
|
40
|
+
__exportStar(require("./map.js"), exports);
|
|
41
|
+
__exportStar(require("./materialize.js"), exports);
|
|
42
|
+
__exportStar(require("./metadata.js"), exports);
|
|
43
|
+
__exportStar(require("./pairwise.js"), exports);
|
|
44
|
+
__exportStar(require("./range.js"), exports);
|
|
45
|
+
__exportStar(require("./reduce.js"), exports);
|
|
46
|
+
__exportStar(require("./single-or-default.js"), exports);
|
|
47
|
+
__exportStar(require("./single.js"), exports);
|
|
48
|
+
__exportStar(require("./skip.js"), exports);
|
|
49
|
+
__exportStar(require("./sort.js"), exports);
|
|
50
|
+
__exportStar(require("./take-until.js"), exports);
|
|
51
|
+
__exportStar(require("./take-while.js"), exports);
|
|
52
|
+
__exportStar(require("./take.js"), exports);
|
|
53
|
+
__exportStar(require("./tap.js"), exports);
|
|
54
|
+
__exportStar(require("./types.js"), exports);
|
|
55
|
+
__exportStar(require("./while.js"), exports);
|
|
56
56
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,8CAA4B;AAC5B,6CAA2B;AAC3B,8CAA4B;AAC5B,wDAAsC;AACtC,gDAA8B;AAC9B,kDAAgC;AAChC,gDAA8B;AAC9B,6CAA2B;AAC3B,8CAA4B;AAC5B,wDAAsC;AACtC,6CAA2B;AAC3B,gDAA8B;AAC9B,oDAAkC;AAClC,oDAAkC;AAClC,2DAAyC;AACzC,6CAA2B;AAC3B,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,4CAA0B;AAC1B,gDAA8B;AAC9B,2CAAyB;AACzB,mDAAiC;AACjC,gDAA8B;AAC9B,gDAA8B;AAC9B,6CAA2B;AAC3B,8CAA4B;AAC5B,yDAAuC;AACvC,8CAA4B;AAC5B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,2CAAyB;AACzB,6CAA2B;AAC3B,6CAA2B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AnyIterable } from '../any-iterable-iterator';
|
|
1
|
+
import type { AnyIterable } from '../any-iterable-iterator.js';
|
|
2
2
|
export declare function isIterable<T>(value: unknown): value is Iterable<T>;
|
|
3
3
|
export declare function isIterableIterator<T>(anyIterable: AnyIterable<T>): anyIterable is IterableIterator<T>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isIterableIterator = exports.isIterable = void 0;
|
|
4
|
-
const
|
|
4
|
+
const type_guards_js_1 = require("../type-guards.js");
|
|
5
5
|
function isIterable(value) {
|
|
6
|
-
return (0,
|
|
6
|
+
return (0, type_guards_js_1.isNotNullOrUndefined)(value) && (0, type_guards_js_1.isFunction)(value[Symbol.iterator]);
|
|
7
7
|
}
|
|
8
8
|
exports.isIterable = isIterable;
|
|
9
9
|
function isIterableIterator(value) {
|
|
10
|
-
return isIterable(value) && (0,
|
|
10
|
+
return isIterable(value) && (0, type_guards_js_1.isFunction)(value.next);
|
|
11
11
|
}
|
|
12
12
|
exports.isIterableIterator = isIterableIterator;
|
|
13
13
|
//# sourceMappingURL=is-iterable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-iterable.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/is-iterable.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"is-iterable.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/is-iterable.ts"],"names":[],"mappings":";;;AACA,sDAAqE;AAErE,SAAgB,UAAU,CAAI,KAAc;IAC1C,OAAO,IAAA,qCAAoB,EAAC,KAAK,CAAC,IAAI,IAAA,2BAAU,EAAE,KAAqB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC5F,CAAC;AAFD,gCAEC;AAGD,SAAgB,kBAAkB,CAAU,KAAU;IACpD,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,IAAA,2BAAU,EAAE,KAAwC,CAAC,IAAI,CAAC,CAAC;AACzF,CAAC;AAFD,gDAEC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Predicate, TypePredicate } from './types';
|
|
1
|
+
import type { Predicate, TypePredicate } from './types.js';
|
|
2
2
|
export declare function lastOrDefault<T, D, TPredicate extends T = T>(iterable: Iterable<T>, defaultValue: D, predicate?: Predicate<T> | TypePredicate<T, TPredicate>): TPredicate | D;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.lastOrDefault = void 0;
|
|
4
|
-
const
|
|
4
|
+
const filter_js_1 = require("./filter.js");
|
|
5
5
|
function lastOrDefault(iterable, defaultValue, predicate) {
|
|
6
|
-
const source = (predicate == undefined) ? iterable : (0,
|
|
6
|
+
const source = (predicate == undefined) ? iterable : (0, filter_js_1.filter)(iterable, predicate);
|
|
7
7
|
let hasLastItem = false;
|
|
8
8
|
let lastItem;
|
|
9
9
|
for (const item of source) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"last-or-default.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/last-or-default.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"last-or-default.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/last-or-default.ts"],"names":[],"mappings":";;;AAAA,2CAAqC;AAGrC,SAAgB,aAAa,CAAiC,QAAqB,EAAE,YAAe,EAAE,SAAuD;IAC3J,MAAM,MAAM,GAAG,CAAC,SAAS,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAA,kBAAM,EAAgB,QAAQ,EAAE,SAAS,CAAC,CAAC;IAEhG,IAAI,WAAW,GAAG,KAAK,CAAC;IACxB,IAAI,QAAW,CAAC;IAEhB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE;QACzB,WAAW,GAAG,IAAI,CAAC;QACnB,QAAQ,GAAG,IAAI,CAAC;KACjB;IAED,IAAI,WAAW,EAAE;QACf,OAAO,QAA4B,CAAC,CAAC,+DAA+D;KACrG;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAhBD,sCAgBC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Predicate, TypePredicate } from './types';
|
|
1
|
+
import type { Predicate, TypePredicate } from './types.js';
|
|
2
2
|
export declare function last<T, TPredicate extends T = T>(iterable: Iterable<T>, predicate?: Predicate<T> | TypePredicate<T, TPredicate>): TPredicate;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.last = void 0;
|
|
4
|
-
const
|
|
4
|
+
const filter_js_1 = require("./filter.js");
|
|
5
5
|
function last(iterable, predicate) {
|
|
6
|
-
const source = (predicate == undefined) ? iterable : (0,
|
|
6
|
+
const source = (predicate == undefined) ? iterable : (0, filter_js_1.filter)(iterable, predicate);
|
|
7
7
|
let hasLastItem = false;
|
|
8
8
|
let lastItem;
|
|
9
9
|
for (const item of source) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"last.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/last.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"last.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/last.ts"],"names":[],"mappings":";;;AAAA,2CAAqC;AAGrC,SAAgB,IAAI,CAA8B,QAAqB,EAAE,SAAuD;IAC9H,MAAM,MAAM,GAAG,CAAC,SAAS,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAA,kBAAM,EAAgB,QAAQ,EAAE,SAAS,CAAC,CAAC;IAEhG,IAAI,WAAW,GAAG,KAAK,CAAC;IACxB,IAAI,QAAW,CAAC;IAEhB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE;QACzB,WAAW,GAAG,IAAI,CAAC;QACnB,QAAQ,GAAG,IAAI,CAAC;KACjB;IAED,IAAI,WAAW,EAAE;QACf,OAAO,QAA4B,CAAC,CAAC,+DAA+D;KACrG;IAED,MAAM,IAAI,KAAK,CAAC,2DAA2D,CAAC,CAAC;AAC/E,CAAC;AAhBD,oBAgBC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IteratorFunction } from './types';
|
|
1
|
+
import type { IteratorFunction } from './types.js';
|
|
2
2
|
export declare function mapMany<TIn, TOut>(iterable: Iterable<TIn>, mapper: IteratorFunction<TIn, Iterable<TOut>>): IterableIterator<TOut>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IteratorFunction } from './types';
|
|
1
|
+
import type { IteratorFunction } from './types.js';
|
|
2
2
|
export declare function map<TIn, TOut>(iterable: Iterable<TIn>, mapper: IteratorFunction<TIn, TOut>): IterableIterator<TOut>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IterableItemMetadata } from './types';
|
|
1
|
+
import type { IterableItemMetadata } from './types.js';
|
|
2
2
|
export declare function metadata<T>(iterable: Iterable<T>): IterableIterator<IterableItemMetadata<T>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Reducer } from './types';
|
|
1
|
+
import type { Reducer } from './types.js';
|
|
2
2
|
export declare function reduce<T, U>(iterable: Iterable<T>, reducer: Reducer<T, U>, initialValue?: U): U;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Predicate, TypePredicate } from './types';
|
|
1
|
+
import type { Predicate, TypePredicate } from './types.js';
|
|
2
2
|
export declare function singleOrDefault<T, D, TPredicate extends T = T>(iterable: Iterable<T>, defaultValue: D, predicate?: TypePredicate<T, TPredicate> | Predicate<T>): TPredicate | D;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Predicate, TypePredicate } from './types';
|
|
1
|
+
import type { Predicate, TypePredicate } from './types.js';
|
|
2
2
|
export declare function single<T, TPredicate extends T = T>(iterable: Iterable<T>, predicate?: TypePredicate<T, TPredicate> | Predicate<T>): TPredicate;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Comparator } from '../sort';
|
|
1
|
+
import type { Comparator } from '../sort.js';
|
|
2
2
|
export declare function sort<T>(iterable: Iterable<T>, comparator?: Comparator<T>): T[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.sort = void 0;
|
|
4
|
-
const
|
|
5
|
-
function sort(iterable, comparator =
|
|
4
|
+
const comparison_js_1 = require("../comparison.js");
|
|
5
|
+
function sort(iterable, comparator = comparison_js_1.compareByValue) {
|
|
6
6
|
const array = [...iterable];
|
|
7
7
|
return array.sort(comparator);
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/sort.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"sort.js","sourceRoot":"","sources":["../../../source/utils/iterable-helpers/sort.ts"],"names":[],"mappings":";;;AAAA,oDAAkD;AAGlD,SAAgB,IAAI,CAAI,QAAqB,EAAE,aAA4B,8BAAc;IACvF,MAAM,KAAK,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC;IAC5B,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;AAHD,oBAGC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ReadonlyCancellationToken } from '../cancellation-token';
|
|
1
|
+
import type { ReadonlyCancellationToken } from '../cancellation-token.js';
|
|
2
2
|
export declare function takeUntil<T>(iterable: Iterable<T>, cancellationToken: ReadonlyCancellationToken): IterableIterator<T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Predicate } from './types';
|
|
1
|
+
import type { Predicate } from './types.js';
|
|
2
2
|
export declare function takeWhile<T>(iterable: Iterable<T>, yieldLastOnFalse: boolean, predicate: Predicate<T>): IterableIterator<T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IteratorFunction } from './types';
|
|
1
|
+
import type { IteratorFunction } from './types.js';
|
|
2
2
|
export declare function tap<T>(iterable: Iterable<T>, tapper: IteratorFunction<T, any>): IterableIterator<T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Predicate } from './types';
|
|
1
|
+
import type { Predicate } from './types.js';
|
|
2
2
|
export declare function whileSync<T>(iterable: Iterable<T>, predicate: Predicate<T>): IterableIterator<T>;
|
package/utils/jwt.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OneOrMany, StringMap } from '../types';
|
|
2
|
-
import type { Key } from './cryptography';
|
|
1
|
+
import type { OneOrMany, StringMap } from '../types.js';
|
|
2
|
+
import type { Key } from './cryptography.js';
|
|
3
3
|
export type JwtTokenAlgorithm = 'HS256' | 'HS384' | 'HS512';
|
|
4
4
|
export type JwtTokenHeader<T extends StringMap = StringMap> = {
|
|
5
5
|
alg: JwtTokenAlgorithm;
|
package/utils/jwt.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.parseAndValidateJwtTokenString = exports.createJwtTokenString = exports.parseJwtTokenString = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
4
|
+
const invalid_token_error_js_1 = require("../error/invalid-token.error.js");
|
|
5
|
+
const array_js_1 = require("./array/array.js");
|
|
6
|
+
const base64_js_1 = require("./base64.js");
|
|
7
|
+
const cryptography_js_1 = require("./cryptography.js");
|
|
8
|
+
const encoding_js_1 = require("./encoding.js");
|
|
9
|
+
const equals_js_1 = require("./equals.js");
|
|
10
10
|
function parseJwtTokenString(tokenString) {
|
|
11
11
|
const splits = tokenString.split('.');
|
|
12
12
|
if (splits.length != 3) {
|
|
13
13
|
const message = (tokenString.length > 0) ? 'Invalid token format' : 'Missing authorization token';
|
|
14
|
-
throw new
|
|
14
|
+
throw new invalid_token_error_js_1.InvalidTokenError(message);
|
|
15
15
|
}
|
|
16
16
|
const [encodedHeader, encodedPayload, encodedSignature] = splits;
|
|
17
17
|
const textDecoder = new TextDecoder();
|
|
@@ -21,9 +21,9 @@ function parseJwtTokenString(tokenString) {
|
|
|
21
21
|
signature: encodedSignature
|
|
22
22
|
};
|
|
23
23
|
const bytes = {
|
|
24
|
-
header: (0,
|
|
25
|
-
payload: (0,
|
|
26
|
-
signature: (0,
|
|
24
|
+
header: (0, base64_js_1.decodeBase64Url)(encodedHeader),
|
|
25
|
+
payload: (0, base64_js_1.decodeBase64Url)(encodedPayload),
|
|
26
|
+
signature: (0, base64_js_1.decodeBase64Url)(encodedSignature)
|
|
27
27
|
};
|
|
28
28
|
const string = {
|
|
29
29
|
header: textDecoder.decode(bytes.header),
|
|
@@ -45,19 +45,19 @@ function parseJwtTokenString(tokenString) {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
catch {
|
|
48
|
-
throw new
|
|
48
|
+
throw new invalid_token_error_js_1.InvalidTokenError('Invalid token format');
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
exports.parseJwtTokenString = parseJwtTokenString;
|
|
52
52
|
async function createJwtTokenString(jwtToken, key) {
|
|
53
|
-
const headerBuffer = (0,
|
|
54
|
-
const payloadBuffer = (0,
|
|
55
|
-
const encodedHeader = (0,
|
|
56
|
-
const encodedPayload = (0,
|
|
53
|
+
const headerBuffer = (0, encoding_js_1.encodeUtf8)(JSON.stringify(jwtToken.header));
|
|
54
|
+
const payloadBuffer = (0, encoding_js_1.encodeUtf8)(JSON.stringify(jwtToken.payload));
|
|
55
|
+
const encodedHeader = (0, base64_js_1.encodeBase64Url)(headerBuffer, 0, headerBuffer.byteLength);
|
|
56
|
+
const encodedPayload = (0, base64_js_1.encodeBase64Url)(payloadBuffer, 0, payloadBuffer.byteLength);
|
|
57
57
|
const headerPayloadDataString = `${encodedHeader}.${encodedPayload}`;
|
|
58
|
-
const headerPayloadData = (0,
|
|
58
|
+
const headerPayloadData = (0, encoding_js_1.encodeUtf8)(headerPayloadDataString);
|
|
59
59
|
const signature = await getSignature(headerPayloadData, jwtToken.header.alg, key);
|
|
60
|
-
const encodedSignature = (0,
|
|
60
|
+
const encodedSignature = (0, base64_js_1.encodeBase64Url)(signature);
|
|
61
61
|
const tokenString = `${headerPayloadDataString}.${encodedSignature}`;
|
|
62
62
|
return tokenString;
|
|
63
63
|
}
|
|
@@ -65,28 +65,28 @@ exports.createJwtTokenString = createJwtTokenString;
|
|
|
65
65
|
async function parseAndValidateJwtTokenString(tokenString, allowedAlgorithms, key) {
|
|
66
66
|
try {
|
|
67
67
|
const { encoded, bytes, token } = parseJwtTokenString(tokenString);
|
|
68
|
-
if (!(0,
|
|
69
|
-
throw new
|
|
68
|
+
if (!(0, array_js_1.toArray)(allowedAlgorithms).includes(token.header.alg)) {
|
|
69
|
+
throw new invalid_token_error_js_1.InvalidTokenError('Invalid signature algorithm');
|
|
70
70
|
}
|
|
71
|
-
const calculatedSignature = await getSignature((0,
|
|
72
|
-
const validSignature = (0,
|
|
71
|
+
const calculatedSignature = await getSignature((0, encoding_js_1.encodeUtf8)(`${encoded.header}.${encoded.payload}`), token.header.alg, key);
|
|
72
|
+
const validSignature = (0, equals_js_1.binaryEquals)(calculatedSignature, bytes.signature);
|
|
73
73
|
if (!validSignature) {
|
|
74
|
-
throw new
|
|
74
|
+
throw new invalid_token_error_js_1.InvalidTokenError('Invalid token signature');
|
|
75
75
|
}
|
|
76
76
|
return token;
|
|
77
77
|
}
|
|
78
78
|
catch (error) {
|
|
79
|
-
if (error instanceof
|
|
79
|
+
if (error instanceof invalid_token_error_js_1.InvalidTokenError) {
|
|
80
80
|
throw error;
|
|
81
81
|
}
|
|
82
|
-
throw new
|
|
82
|
+
throw new invalid_token_error_js_1.InvalidTokenError('Invalid token');
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
exports.parseAndValidateJwtTokenString = parseAndValidateJwtTokenString;
|
|
86
86
|
async function getSignature(data, algorithm, secret) {
|
|
87
87
|
const hashAlgorithm = getHmacHashAlgorithm(algorithm);
|
|
88
|
-
const hmacKey = await (0,
|
|
89
|
-
const hmacSignature = (0,
|
|
88
|
+
const hmacKey = await (0, cryptography_js_1.importHmacKey)(hashAlgorithm, secret, false);
|
|
89
|
+
const hmacSignature = (0, cryptography_js_1.sign)('HMAC', hmacKey, data);
|
|
90
90
|
return hmacSignature.toBuffer();
|
|
91
91
|
}
|
|
92
92
|
function getHmacHashAlgorithm(algorithm) {
|
package/utils/jwt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt.js","sourceRoot":"","sources":["../../source/utils/jwt.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"jwt.js","sourceRoot":"","sources":["../../source/utils/jwt.ts"],"names":[],"mappings":";;;AAAA,4EAAoE;AAEpE,+CAA2C;AAC3C,2CAA+D;AAE/D,uDAAwD;AACxD,+CAA2C;AAC3C,2CAA2C;AAiC3C,SAAgB,mBAAmB,CAAgC,WAAmB;IACpF,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAEtC,IAAI,MAAM,CAAC,MAAM,IAAI,CAAC,EAAE;QACtB,MAAM,OAAO,GAAG,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,6BAA6B,CAAC;QAClG,MAAM,IAAI,0CAAiB,CAAC,OAAO,CAAC,CAAC;KACtC;IAED,MAAM,CAAC,aAAa,EAAE,cAAc,EAAE,gBAAgB,CAAC,GAAG,MAAM,CAAC;IAEjE,MAAM,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC;IAEtC,MAAM,OAAO,GAAmC;QAC9C,MAAM,EAAE,aAAc;QACtB,OAAO,EAAE,cAAe;QACxB,SAAS,EAAE,gBAAiB;KAC7B,CAAC;IAEF,MAAM,KAAK,GAAiC;QAC1C,MAAM,EAAE,IAAA,2BAAe,EAAC,aAAc,CAAC;QACvC,OAAO,EAAE,IAAA,2BAAe,EAAC,cAAe,CAAC;QACzC,SAAS,EAAE,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Y,CAAC,IAAgB,EAAE,SAA4B,EAAE,MAAoB;IAC9F,MAAM,aAAa,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC;IACtD,MAAM,OAAO,GAAG,MAAM,IAAA,+BAAa,EAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;IAClE,MAAM,aAAa,GAAG,IAAA,sBAAI,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC,QAAQ,EAAE,CAAC;AAClC,CAAC;AAED,SAAS,oBAAoB,CAAC,SAA4B;IACxD,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAkB,CAAC;AAC1D,CAAC"}
|
package/utils/map.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.unionMaps = exports.uniquesMaps = exports.symmetricDifferenceMaps = exports.differenceMaps = exports.intersectMaps = void 0;
|
|
4
|
-
const
|
|
4
|
+
const comparison_js_1 = require("./comparison.js");
|
|
5
5
|
function intersectMaps(...maps) {
|
|
6
6
|
if (maps.length == 0) {
|
|
7
7
|
return [];
|
|
@@ -9,7 +9,7 @@ function intersectMaps(...maps) {
|
|
|
9
9
|
if (maps.length == 1) {
|
|
10
10
|
return [...maps[0]];
|
|
11
11
|
}
|
|
12
|
-
const sortedMaps = maps.sort((0,
|
|
12
|
+
const sortedMaps = maps.sort((0, comparison_js_1.compareByValueSelectionDescending)((map) => map.size));
|
|
13
13
|
const [smallestMap, ...otherMaps] = sortedMaps;
|
|
14
14
|
return [...smallestMap].filter((entry) => !otherMaps.some((map) => !map.has(entry[0])));
|
|
15
15
|
}
|
package/utils/map.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../source/utils/map.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file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"__esModule", { value: true });
|
|
3
3
|
exports.nthRoot = exports.clamp = exports.linearInterpolateFloat = exports.linearInterpolate = exports.round = exports.maximum = exports.minimum = exports.average = exports.sum = exports.randomInt = exports.randomFloat = void 0;
|
|
4
|
-
const
|
|
4
|
+
const not_supported_error_js_1 = require("../error/not-supported.error.js");
|
|
5
5
|
const defaultRandomNumberGenerator = () => Math.random();
|
|
6
6
|
/**
|
|
7
7
|
* Generate a random float in interval [min, max).
|
|
@@ -50,7 +50,7 @@ exports.average = average;
|
|
|
50
50
|
*/
|
|
51
51
|
function minimum(values) {
|
|
52
52
|
if (values.length == 0) {
|
|
53
|
-
throw new
|
|
53
|
+
throw new not_supported_error_js_1.NotSupportedError('No values provided.');
|
|
54
54
|
}
|
|
55
55
|
return values.reduce((previous, current) => Math.min(previous, current), Number.POSITIVE_INFINITY);
|
|
56
56
|
}
|
|
@@ -62,7 +62,7 @@ exports.minimum = minimum;
|
|
|
62
62
|
*/
|
|
63
63
|
function maximum(values) {
|
|
64
64
|
if (values.length == 0) {
|
|
65
|
-
throw new
|
|
65
|
+
throw new not_supported_error_js_1.NotSupportedError('No values provided.');
|
|
66
66
|
}
|
|
67
67
|
return values.reduce((previous, current) => Math.max(previous, current), Number.NEGATIVE_INFINITY);
|
|
68
68
|
}
|
package/utils/math.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"math.js","sourceRoot":"","sources":["../../source/utils/math.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"math.js","sourceRoot":"","sources":["../../source/utils/math.ts"],"names":[],"mappings":";;;AAAA,4EAAmE;AAOnE,MAAM,4BAA4B,GAA0B,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;AAEhF;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW,EAAE,GAAW,EAAE,YAAmC,4BAA4B;IACnH,OAAO,sBAAsB,CAAC,SAAS,EAAE,EAAE,GAAG,EAAE,GAA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AAG,IAAI,CAAC,CAAC,CAAC;AACtE,CAAC;AAFD,0BAEC"}
|
package/utils/merge.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Record } from "../types";
|
|
1
|
+
import type { Record } from "../types.js";
|
|
2
2
|
import type { Merge } from 'type-fest';
|
|
3
3
|
type BaseType = Record | any[] | Map<any, any> | Set<any>;
|
|
4
4
|
export declare function merge<A extends BaseType, B extends BaseType>(a: A | undefined, b: B | undefined): A extends (infer T)[] ? B extends (infer U)[] ? (T | U)[] : never : A extends Map<infer K, infer V> ? B extends Map<infer K2, infer V2> ? Map<K | K2, V | V2> : never : A extends Set<infer T> ? B extends Set<infer U> ? Set<T | U> : never : A extends Record ? B extends Record ? Merge<A, B> : never : never;
|
package/utils/merge.js
CHANGED
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.merge = void 0;
|
|
5
|
-
const
|
|
5
|
+
const type_guards_js_1 = require("./type-guards.js");
|
|
6
6
|
function merge(a, b) {
|
|
7
|
-
if ((0,
|
|
7
|
+
if ((0, type_guards_js_1.isUndefined)(a)) {
|
|
8
8
|
return b;
|
|
9
9
|
}
|
|
10
|
-
if ((0,
|
|
10
|
+
if ((0, type_guards_js_1.isUndefined)(b)) {
|
|
11
11
|
return a;
|
|
12
12
|
}
|
|
13
|
-
if ((0,
|
|
14
|
-
(0,
|
|
13
|
+
if ((0, type_guards_js_1.isObject)(a)) {
|
|
14
|
+
(0, type_guards_js_1.assertObject)(b, 'Cannot merge object into non-object.');
|
|
15
15
|
return { ...a, ...b };
|
|
16
16
|
}
|
|
17
|
-
else if ((0,
|
|
18
|
-
(0,
|
|
17
|
+
else if ((0, type_guards_js_1.isArray)(a)) {
|
|
18
|
+
(0, type_guards_js_1.assertArray)(b, 'Cannot merge array into non-array.');
|
|
19
19
|
return [...a, ...b];
|
|
20
20
|
}
|
|
21
|
-
else if ((0,
|
|
22
|
-
(0,
|
|
21
|
+
else if ((0, type_guards_js_1.isMap)(a)) {
|
|
22
|
+
(0, type_guards_js_1.assertMap)(b, 'Cannot merge map into non-map.');
|
|
23
23
|
return new Map([...a, ...b]);
|
|
24
24
|
}
|
|
25
|
-
else if ((0,
|
|
26
|
-
(0,
|
|
25
|
+
else if ((0, type_guards_js_1.isSet)(a)) {
|
|
26
|
+
(0, type_guards_js_1.assertSet)(b, 'Cannot merge set into non-set.');
|
|
27
27
|
return new Set([...a, ...b]);
|
|
28
28
|
}
|
|
29
29
|
throw new Error('Merging of data can only be done with objects, arrays, maps and sets.');
|
package/utils/merge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../source/utils/merge.ts"],"names":[],"mappings":";AAAA,wDAAwD;;;AAIxD
|
|
1
|
+
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../source/utils/merge.ts"],"names":[],"mappings":";AAAA,wDAAwD;;;AAIxD,qDAAiI;AAIjI,SAAgB,KAAK,CAAyC,CAAgB,EAAE,CAAgB;IAM9F,IAAI,IAAA,4BAAW,EAAC,CAAC,CAAC,EAAE;QAClB,OAAO,CAAQ,CAAC;KACjB;IAED,IAAI,IAAA,4BAAW,EAAC,CAAC,CAAC,EAAE;QAClB,OAAO,CAAQ,CAAC;KACjB;IAED,IAAI,IAAA,yBAAQ,EAAC,CAAC,CAAC,EAAE;QACf,IAAA,6BAAY,EAAC,CAAC,EAAE,sCAAsC,CAAC,CAAC;QACxD,OAAO,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,EAAS,CAAC;KAC9B;SACI,IAAI,IAAA,wBAAO,EAAC,CAAC,CAAC,EAAE;QACnB,IAAA,4BAAW,EAAC,CAAC,EAAE,oCAAoC,CAAC,CAAC;QACrD,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAQ,CAAC;KAC5B;SACI,IAAI,IAAA,sBAAK,EAAC,CAAC,CAAC,EAAE;QACjB,IAAA,0BAAS,EAAC,CAAC,EAAE,gCAAgC,CAAC,CAAC;QAC/C,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAQ,CAAC;KACrC;SACI,IAAI,IAAA,sBAAK,EAAC,CAAC,CAAC,EAAE;QACjB,IAAA,0BAAS,EAAC,CAAC,EAAE,gCAAgC,CAAC,CAAC;QAC/C,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAQ,CAAC;KACrC;IAED,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAC;AAC3F,CAAC;AAhCD,sBAgCC"}
|