@goodpeanuts/dsh-sui 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +100 -3
- package/THIRD_PARTY_NOTICES.txt +1064 -0
- package/apps/cli/dist/_virtual/_rolldown/runtime.mjs +35 -0
- package/apps/cli/dist/args.mjs +204 -0
- package/apps/cli/dist/cli.mjs +392 -0
- package/apps/cli/dist/errors.mjs +32 -0
- package/apps/cli/dist/help.mjs +73 -0
- package/apps/cli/dist/io.mjs +37 -0
- package/apps/cli/dist/main.mjs +10 -0
- package/apps/cli/dist/node_modules/.pnpm/@keyv_serialize@1.1.1/node_modules/@keyv/serialize/dist/index.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.mjs +81 -0
- package/apps/cli/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.mjs +1 -0
- package/apps/cli/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/index.mjs +1015 -0
- package/apps/cli/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/utilities.mjs +6 -0
- package/apps/cli/dist/node_modules/.pnpm/boolbase@1.0.0/node_modules/boolbase/index.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/byte-counter@0.1.0/node_modules/byte-counter/utilities.mjs +9 -0
- package/apps/cli/dist/node_modules/.pnpm/cacheable-lookup@7.0.0/node_modules/cacheable-lookup/source/index.mjs +279 -0
- package/apps/cli/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/index.mjs +274 -0
- package/apps/cli/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/types.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/helpers.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/index.mjs +159 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/positionals.mjs +33 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/attributes.mjs +465 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/css.mjs +94 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/extract.mjs +39 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/forms.mjs +63 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/manipulation.mjs +731 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/traversing.mjs +828 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/cheerio.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/index.mjs +11 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load-parse.mjs +25 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load.mjs +73 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/options.mjs +27 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parse.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parsers/parse5-adapter.mjs +42 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/static.mjs +165 -0
- package/apps/cli/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/utils.mjs +78 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/attributes.mjs +187 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/compile.mjs +77 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/general.mjs +89 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/index.mjs +43 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/aliases.mjs +32 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/filters.mjs +114 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/index.mjs +35 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/subselects.mjs +68 -0
- package/apps/cli/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/sort.mjs +60 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/index.mjs +50 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/parse.mjs +320 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/stringify.mjs +102 -0
- package/apps/cli/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/types.mjs +45 -0
- package/apps/cli/dist/node_modules/.pnpm/decompress-response@10.0.0/node_modules/decompress-response/index.mjs +59 -0
- package/apps/cli/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/foreignNames.mjs +103 -0
- package/apps/cli/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/index.mjs +144 -0
- package/apps/cli/dist/node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/esm/index.mjs +51 -0
- package/apps/cli/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/index.mjs +128 -0
- package/apps/cli/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/node.mjs +312 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/feeds.mjs +161 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/helpers.mjs +113 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/index.mjs +56 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/legacy.mjs +141 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/manipulation.mjs +117 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/querying.mjs +124 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/stringify.mjs +69 -0
- package/apps/cli/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/traversal.mjs +109 -0
- package/apps/cli/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/index.mjs +7 -0
- package/apps/cli/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/sniffer.mjs +112 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/escape.mjs +83 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +43 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +330 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/escape.mjs +49 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +4 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +57 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode.mjs +351 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +5 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-xml.mjs +5 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/bin-trie-flags.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/decode-shared.mjs +14 -0
- package/apps/cli/dist/node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/index.mjs +871 -0
- package/apps/cli/dist/node_modules/.pnpm/form-data-encoder@4.1.0/node_modules/form-data-encoder/lib/index.mjs +279 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array-buffer.mjs +54 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/buffer.mjs +14 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/contents.mjs +80 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/stream.mjs +41 -0
- package/apps/cli/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/utils.mjs +8 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/index.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/types.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/calculate-retry-delay.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/diagnostics-channel.mjs +38 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/errors.mjs +132 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/index.mjs +923 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/options.mjs +1622 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/parse-link-header.mjs +27 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/response.mjs +36 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/timed-out.mjs +107 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/defer-to-connect.mjs +28 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/get-body-size.mjs +23 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-client-request.mjs +6 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-form-data.mjs +7 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-unix-socket-url.mjs +25 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/proxy-events.mjs +16 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/timer.mjs +114 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/unhandle.mjs +23 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/url-to-options.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/weakable-map.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/create.mjs +166 -0
- package/apps/cli/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/index.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Parser.mjs +441 -0
- package/apps/cli/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Tokenizer.mjs +661 -0
- package/apps/cli/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/index.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/http-cache-semantics@4.3.0/node_modules/http-cache-semantics/index.mjs +608 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/agent.mjs +441 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/auto.mjs +145 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/client-request.mjs +318 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/incoming-message.mjs +58 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/index.mjs +51 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/get-auth-headers.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h1-over-h2.mjs +84 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h1.mjs +49 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h2.mjs +38 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-hx.mjs +39 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/initialize.mjs +23 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/unexpected-status-code-error.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/calculate-server-name.mjs +24 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/check-type.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/delay-async-destroy.mjs +28 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/errors.mjs +30 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.mjs +16 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/js-stream-socket.mjs +9 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-events.mjs +10 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-socket-handler.mjs +77 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-name.mjs +15 -0
- package/apps/cli/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-value.mjs +14 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.mjs +355 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.mjs +191 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.mjs +140 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.mjs +50 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.mjs +455 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.mjs +151 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.mjs +169 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.mjs +2584 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.mjs +2220 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.mjs +227 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.mjs +425 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.mjs +427 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.mjs +230 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.mjs +292 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.mjs +123 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.mjs +197 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.mjs +182 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.mjs +42 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.mjs +108 -0
- package/apps/cli/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.mjs +90 -0
- package/apps/cli/dist/node_modules/.pnpm/is-stream@4.0.1/node_modules/is-stream/index.mjs +9 -0
- package/apps/cli/dist/node_modules/.pnpm/js-sha256@0.11.1/node_modules/js-sha256/src/sha256.mjs +495 -0
- package/apps/cli/dist/node_modules/.pnpm/keyv@5.6.0/node_modules/keyv/dist/index.mjs +740 -0
- package/apps/cli/dist/node_modules/.pnpm/lowercase-keys@3.0.0/node_modules/lowercase-keys/index.mjs +6 -0
- package/apps/cli/dist/node_modules/.pnpm/mimic-response@4.0.0/node_modules/mimic-response/index.mjs +53 -0
- package/apps/cli/dist/node_modules/.pnpm/normalize-url@8.1.1/node_modules/normalize-url/index.mjs +145 -0
- package/apps/cli/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/compile.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/parse.mjs +60 -0
- package/apps/cli/dist/node_modules/.pnpm/p-cancelable@4.0.1/node_modules/p-cancelable/index.mjs +86 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5-htmlparser2-tree-adapter@7.1.0/node_modules/parse5-htmlparser2-tree-adapter/dist/index.mjs +187 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5-parser-stream@7.1.2/node_modules/parse5-parser-stream/dist/index.mjs +2 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/doctype.mjs +101 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/error-codes.mjs +66 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/foreign-content.mjs +259 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/html.mjs +544 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/token.mjs +19 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/unicode.mjs +91 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/index.mjs +41 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/index.mjs +2492 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/open-element-stack.mjs +292 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/serializer/index.mjs +111 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/index.mjs +2067 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tree-adapters/default.mjs +164 -0
- package/apps/cli/dist/node_modules/.pnpm/quick-lru@5.1.1/node_modules/quick-lru/index.mjs +77 -0
- package/apps/cli/dist/node_modules/.pnpm/resolve-alpn@1.2.1/node_modules/resolve-alpn/index.mjs +47 -0
- package/apps/cli/dist/node_modules/.pnpm/responselike@4.0.2/node_modules/responselike/index.mjs +32 -0
- package/apps/cli/dist/node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.mjs +45 -0
- package/apps/cli/dist/node_modules/.pnpm/tldts@7.4.18/node_modules/tldts/dist/cjs/index.mjs +22542 -0
- package/apps/cli/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.mjs +1761 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/index.mjs +221 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/abort-signal.mjs +44 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-connect.mjs +85 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-pipeline.mjs +174 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-request.mjs +155 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-stream.mjs +136 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-upgrade.mjs +88 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/index.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/readable.mjs +418 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/memory-cache-store.mjs +190 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/sqlite-cache-store.mjs +324 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/connect.mjs +115 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/constants.mjs +134 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/diagnostics.mjs +114 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/errors.mjs +412 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/request.mjs +282 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-client.mjs +288 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-utils.mjs +166 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/symbols.mjs +80 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/tree.mjs +124 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/util.mjs +940 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/agent.mjs +119 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/balanced-pool.mjs +129 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h1.mjs +1091 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h2.mjs +588 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client.mjs +385 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher-base.mjs +121 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher.mjs +35 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/env-http-proxy-agent.mjs +105 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/fixed-queue.mjs +75 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/h2c-client.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool-base.mjs +155 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool.mjs +76 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/proxy-agent.mjs +233 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/retry-agent.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/round-robin-pool.mjs +94 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/socks5-proxy-agent.mjs +194 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/encoding/index.mjs +18 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/global.mjs +48 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-handler.mjs +457 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-revalidation-handler.mjs +82 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/decorator-handler.mjs +57 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/deduplication-handler.mjs +341 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/redirect-handler.mjs +131 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/retry-handler.mjs +332 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/unwrap-handler.mjs +88 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/wrap-handler.mjs +68 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/cache.mjs +350 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/decompress.mjs +416 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/deduplicate.mjs +69 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dns.mjs +323 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dump.mjs +65 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/redirect.mjs +20 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/response-error.mjs +73 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/retry.mjs +25 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/constants.mjs +590 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp-wasm.mjs +13 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp_simd-wasm.mjs +13 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/utils.mjs +16 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-agent.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-call-history.mjs +159 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-client.mjs +59 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-errors.mjs +28 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-interceptor.mjs +150 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-pool.mjs +59 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-symbols.mjs +37 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-utils.mjs +302 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/pending-interceptors-formatter.mjs +38 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-agent.mjs +268 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-recorder.mjs +424 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-utils.mjs +121 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/cache.mjs +440 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/date.mjs +332 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/promise.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/runtime-features.mjs +101 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/stats.mjs +31 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/timers.mjs +341 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cache.mjs +462 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cachestorage.mjs +103 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/util.mjs +39 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/constants.mjs +11 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/index.mjs +169 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/parse.mjs +108 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/util.mjs +239 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource-stream.mjs +317 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource.mjs +345 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/util.mjs +29 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/body.mjs +271 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/constants.mjs +224 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/data-url.mjs +247 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata-parser.mjs +255 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata.mjs +153 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/global.mjs +34 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/headers.mjs +400 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/index.mjs +776 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/request.mjs +602 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/response.mjs +358 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/util.mjs +795 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/infra/index.mjs +154 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.mjs +170 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/webidl/index.mjs +505 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/connection.mjs +166 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/constants.mjs +47 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/events.mjs +268 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/frame.mjs +105 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/permessage-deflate.mjs +85 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/receiver.mjs +323 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/sender.mjs +90 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketerror.mjs +78 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketstream.mjs +270 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/util.mjs +212 -0
- package/apps/cli/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/websocket.mjs +432 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/labels-to-names.mjs +224 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/supported-names.mjs +45 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/whatwg-encoding.mjs +40 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type-parameters.mjs +54 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type.mjs +92 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/parser.mjs +62 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/serializer.mjs +24 -0
- package/apps/cli/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/utils.mjs +47 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.mjs +26 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.mjs +35 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.mjs +17 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.mjs +800 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.mjs +508 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.mjs +366 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.mjs +60 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.mjs +32 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.mjs +63 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.mjs +253 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.mjs +118 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.mjs +65 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.mjs +48 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.mjs +1235 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.mjs +297 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.mjs +316 -0
- package/apps/cli/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.mjs +8 -0
- package/apps/cli/dist/packages/data-maintenance/src/archive.mjs +143 -0
- package/apps/cli/dist/packages/data-maintenance/src/contracts.mjs +17 -0
- package/apps/cli/dist/packages/data-maintenance/src/files.mjs +121 -0
- package/apps/cli/dist/packages/data-maintenance/src/index.mjs +494 -0
- package/apps/cli/dist/packages/data-maintenance/src/lease.mjs +53 -0
- package/apps/cli/dist/packages/data-maintenance/src/migration-backup.mjs +57 -0
- package/apps/cli/dist/packages/data-maintenance/src/paths.mjs +15 -0
- package/apps/cli/dist/packages/feidee/src/client.mjs +635 -0
- package/apps/cli/dist/packages/feidee/src/hash.mjs +10 -0
- package/apps/cli/dist/packages/feidee/src/index.mjs +8 -0
- package/apps/cli/dist/packages/feidee/src/mutation-gateway.mjs +165 -0
- package/apps/cli/dist/packages/feidee/src/parsers.mjs +634 -0
- package/apps/cli/dist/packages/feidee/src/transaction-text.mjs +39 -0
- package/apps/cli/dist/packages/feidee/src/write-contract.mjs +273 -0
- package/apps/cli/dist/packages/finance/src/date-range.mjs +74 -0
- package/apps/cli/dist/packages/finance/src/domain.mjs +18 -0
- package/apps/cli/dist/packages/finance/src/errors.mjs +221 -0
- package/apps/cli/dist/packages/finance/src/index.mjs +16 -0
- package/apps/cli/dist/packages/finance/src/metadata-query.mjs +32 -0
- package/apps/cli/dist/packages/finance/src/sync/progress.mjs +27 -0
- package/apps/cli/dist/packages/finance/src/sync/service.mjs +282 -0
- package/apps/cli/dist/packages/finance/src/transactions/audit.mjs +104 -0
- package/apps/cli/dist/packages/finance/src/transactions/canary.mjs +85 -0
- package/apps/cli/dist/packages/finance/src/transactions/compare.mjs +76 -0
- package/apps/cli/dist/packages/finance/src/transactions/contracts.mjs +92 -0
- package/apps/cli/dist/packages/finance/src/transactions/memo-policy.mjs +79 -0
- package/apps/cli/dist/packages/finance/src/transactions/mutation.mjs +656 -0
- package/apps/cli/dist/packages/finance/src/transactions/query.mjs +59 -0
- package/apps/cli/dist/packages/finance/src/transactions/statistics.mjs +67 -0
- package/apps/cli/dist/packages/finance/src/write-policy.mjs +4 -0
- package/apps/cli/dist/packages/finance-module/src/balance-preview.mjs +4 -0
- package/apps/cli/dist/packages/finance-module/src/contracts.mjs +13 -0
- package/apps/cli/dist/packages/finance-module/src/database.mjs +1292 -0
- package/apps/cli/dist/packages/finance-module/src/draft-entries.mjs +89 -0
- package/apps/cli/dist/packages/finance-module/src/draft-receipts.mjs +8 -0
- package/apps/cli/dist/packages/finance-module/src/historical-task-archives.mjs +24 -0
- package/apps/cli/dist/packages/finance-module/src/node.mjs +76 -0
- package/apps/cli/dist/packages/finance-module/src/personal-preferences.mjs +29 -0
- package/apps/cli/dist/packages/finance-module/src/route-contracts.mjs +11 -0
- package/apps/cli/dist/packages/finance-module/src/schema-compatibility.mjs +142 -0
- package/apps/cli/dist/packages/finance-module/src/service-record-domain.mjs +16 -0
- package/apps/cli/dist/packages/finance-module/src/service-record-store.mjs +119 -0
- package/apps/cli/dist/packages/finance-module/src/shared-draft-migration.mjs +39 -0
- package/apps/cli/dist/packages/finance-module/src/single-draft-migration.mjs +70 -0
- package/apps/cli/dist/packages/finance-module/src/storage.mjs +282 -0
- package/apps/cli/dist/packages/finance-module/src/web-contracts.mjs +38 -0
- package/apps/cli/dist/packages/local-store/src/checkpoint-backup.mjs +40 -0
- package/apps/cli/dist/packages/local-store/src/checkpoint-history.mjs +77 -0
- package/apps/cli/dist/packages/local-store/src/database.mjs +1523 -0
- package/apps/cli/dist/packages/local-store/src/exchange-rates.mjs +169 -0
- package/apps/cli/dist/packages/local-store/src/node.mjs +71 -0
- package/apps/cli/dist/packages/sdk/src/account-snapshot-service.mjs +582 -0
- package/apps/cli/dist/packages/sdk/src/auth.mjs +89 -0
- package/apps/cli/dist/packages/sdk/src/cache-analysis.mjs +393 -0
- package/apps/cli/dist/packages/sdk/src/config.mjs +64 -0
- package/apps/cli/dist/packages/sdk/src/credential-identity.mjs +8 -0
- package/apps/cli/dist/packages/sdk/src/credentials.mjs +86 -0
- package/apps/cli/dist/packages/sdk/src/exchange-rate-service.mjs +253 -0
- package/apps/cli/dist/packages/sdk/src/finance-cookie-cache.mjs +93 -0
- package/apps/cli/dist/packages/sdk/src/finance-session.mjs +215 -0
- package/apps/cli/dist/packages/sdk/src/frankfurter.mjs +125 -0
- package/apps/cli/dist/packages/sdk/src/node.mjs +53 -0
- package/apps/cli/dist/packages/sdk/src/probe.mjs +65 -0
- package/apps/cli/dist/packages/sdk/src/resource-lease-node.mjs +27 -0
- package/apps/cli/dist/packages/sdk/src/resource-lease-owner-node.mjs +68 -0
- package/apps/cli/dist/packages/sdk/src/resource-lease.mjs +143 -0
- package/apps/cli/dist/packages/sdk/src/runtime.mjs +643 -0
- package/apps/cli/dist/storage.mjs +11 -0
- package/bundles/sui-ledger/dist/_virtual/_rolldown/runtime.mjs +35 -0
- package/bundles/sui-ledger/dist/capabilities/tools.mjs +32 -0
- package/bundles/sui-ledger/dist/client.js +23511 -0
- package/bundles/sui-ledger/dist/finance-prompt.mjs +30 -0
- package/bundles/sui-ledger/dist/finance-state-context.mjs +38 -0
- package/bundles/sui-ledger/dist/index.mjs +198 -0
- package/bundles/sui-ledger/dist/maintenance-cli.mjs +76 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@deepseek-ai_dsh-home-paths_159c15e70066431314381a350c2ee56a/node_modules/@deepseek-ai/dsh-home-paths/lib/index.mjs +67 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@keyv_serialize@1.1.1/node_modules/@keyv/serialize/dist/index.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.mjs +81 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sec-ant_readable-stream@0.4.1/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.mjs +1 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/index.mjs +1015 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/utilities.mjs +6 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/boolbase@1.0.0/node_modules/boolbase/index.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/byte-counter@0.1.0/node_modules/byte-counter/utilities.mjs +9 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cacheable-lookup@7.0.0/node_modules/cacheable-lookup/source/index.mjs +279 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/index.mjs +274 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cacheable-request@13.0.19/node_modules/cacheable-request/dist/types.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/helpers.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/index.mjs +159 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio-select@2.1.0/node_modules/cheerio-select/lib/esm/positionals.mjs +33 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/attributes.mjs +465 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/css.mjs +94 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/extract.mjs +39 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/forms.mjs +63 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/manipulation.mjs +731 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/api/traversing.mjs +828 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/cheerio.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/index.mjs +11 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load-parse.mjs +25 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/load.mjs +73 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/options.mjs +27 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parse.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/parsers/parse5-adapter.mjs +42 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/static.mjs +165 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/cheerio@1.1.2/node_modules/cheerio/dist/esm/utils.mjs +78 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/attributes.mjs +187 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/compile.mjs +77 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/general.mjs +89 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/index.mjs +43 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/aliases.mjs +32 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/filters.mjs +114 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/index.mjs +35 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/subselects.mjs +68 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-select@5.2.2/node_modules/css-select/lib/esm/sort.mjs +60 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/index.mjs +50 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/parse.mjs +320 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/stringify.mjs +102 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/commonjs/types.mjs +45 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/decompress-response@10.0.0/node_modules/decompress-response/index.mjs +59 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/foreignNames.mjs +103 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/dom-serializer@2.0.0/node_modules/dom-serializer/lib/esm/index.mjs +144 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/esm/index.mjs +51 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/index.mjs +128 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domhandler@5.0.3/node_modules/domhandler/lib/esm/node.mjs +312 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/feeds.mjs +161 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/helpers.mjs +113 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/index.mjs +56 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/legacy.mjs +141 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/manipulation.mjs +117 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/querying.mjs +124 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/stringify.mjs +69 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/domutils@3.2.2/node_modules/domutils/lib/esm/traversal.mjs +109 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/index.mjs +7 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/sniffer.mjs +112 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/escape.mjs +83 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +43 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +330 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/escape.mjs +49 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +4 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +57 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/decode.mjs +351 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +5 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/generated/decode-data-xml.mjs +5 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/bin-trie-flags.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/entities@7.0.1/node_modules/entities/dist/esm/internal/decode-shared.mjs +14 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/index.mjs +871 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/form-data-encoder@4.1.0/node_modules/form-data-encoder/lib/index.mjs +279 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/array-buffer.mjs +54 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/buffer.mjs +14 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/contents.mjs +80 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/stream.mjs +41 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/get-stream@9.0.1/node_modules/get-stream/source/utils.mjs +8 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/index.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/as-promise/types.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/calculate-retry-delay.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/diagnostics-channel.mjs +38 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/errors.mjs +132 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/index.mjs +923 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/options.mjs +1622 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/parse-link-header.mjs +27 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/response.mjs +36 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/timed-out.mjs +107 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/defer-to-connect.mjs +28 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/get-body-size.mjs +23 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-client-request.mjs +6 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-form-data.mjs +7 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/is-unix-socket-url.mjs +25 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/proxy-events.mjs +16 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/timer.mjs +114 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/unhandle.mjs +23 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/url-to-options.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/utils/weakable-map.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/create.mjs +166 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/index.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Parser.mjs +441 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/Tokenizer.mjs +661 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/htmlparser2@10.1.0/node_modules/htmlparser2/dist/esm/index.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http-cache-semantics@4.3.0/node_modules/http-cache-semantics/index.mjs +608 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/agent.mjs +441 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/auto.mjs +145 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/client-request.mjs +318 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/incoming-message.mjs +58 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/index.mjs +51 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/get-auth-headers.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h1-over-h2.mjs +84 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h1.mjs +49 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-h2.mjs +38 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/h2-over-hx.mjs +39 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/initialize.mjs +23 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/proxies/unexpected-status-code-error.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/calculate-server-name.mjs +24 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/check-type.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/delay-async-destroy.mjs +28 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/errors.mjs +30 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.mjs +16 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/js-stream-socket.mjs +9 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-events.mjs +10 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/proxy-socket-handler.mjs +77 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-name.mjs +15 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/http2-wrapper@2.2.1/node_modules/http2-wrapper/source/utils/validate-header-value.mjs +14 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.mjs +355 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.mjs +191 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.mjs +140 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.mjs +50 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.mjs +455 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.mjs +151 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.mjs +169 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.mjs +2584 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.mjs +2220 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.mjs +227 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.mjs +425 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.mjs +427 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.mjs +230 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.mjs +292 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.mjs +123 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.mjs +197 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.mjs +182 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.mjs +42 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.mjs +108 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.mjs +90 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/is-stream@4.0.1/node_modules/is-stream/index.mjs +9 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/js-sha256@0.11.1/node_modules/js-sha256/src/sha256.mjs +495 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/keyv@5.6.0/node_modules/keyv/dist/index.mjs +740 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/lowercase-keys@3.0.0/node_modules/lowercase-keys/index.mjs +6 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/mimic-response@4.0.0/node_modules/mimic-response/index.mjs +53 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/normalize-url@8.1.1/node_modules/normalize-url/index.mjs +145 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/compile.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/parse.mjs +60 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/p-cancelable@4.0.1/node_modules/p-cancelable/index.mjs +86 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5-htmlparser2-tree-adapter@7.1.0/node_modules/parse5-htmlparser2-tree-adapter/dist/index.mjs +187 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5-parser-stream@7.1.2/node_modules/parse5-parser-stream/dist/index.mjs +2 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/doctype.mjs +101 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/error-codes.mjs +66 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/foreign-content.mjs +259 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/html.mjs +544 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/token.mjs +19 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/common/unicode.mjs +91 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/index.mjs +41 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/index.mjs +2492 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/parser/open-element-stack.mjs +292 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/serializer/index.mjs +111 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/index.mjs +2067 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/parse5@7.3.0/node_modules/parse5/dist/tree-adapters/default.mjs +164 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/quick-lru@5.1.1/node_modules/quick-lru/index.mjs +77 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/resolve-alpn@1.2.1/node_modules/resolve-alpn/index.mjs +47 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/responselike@4.0.2/node_modules/responselike/index.mjs +32 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.mjs +45 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/tldts@7.4.18/node_modules/tldts/dist/cjs/index.mjs +22542 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.mjs +1761 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/index.mjs +221 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/abort-signal.mjs +44 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-connect.mjs +85 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-pipeline.mjs +174 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-request.mjs +155 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-stream.mjs +136 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/api-upgrade.mjs +88 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/index.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/api/readable.mjs +418 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/memory-cache-store.mjs +190 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/cache/sqlite-cache-store.mjs +324 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/connect.mjs +115 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/constants.mjs +134 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/diagnostics.mjs +114 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/errors.mjs +412 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/request.mjs +282 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-client.mjs +288 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/socks5-utils.mjs +166 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/symbols.mjs +80 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/tree.mjs +124 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/core/util.mjs +940 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/agent.mjs +119 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/balanced-pool.mjs +129 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h1.mjs +1091 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client-h2.mjs +588 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/client.mjs +385 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher-base.mjs +121 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/dispatcher.mjs +35 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/env-http-proxy-agent.mjs +105 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/fixed-queue.mjs +75 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/h2c-client.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool-base.mjs +155 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/pool.mjs +76 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/proxy-agent.mjs +233 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/retry-agent.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/round-robin-pool.mjs +94 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/dispatcher/socks5-proxy-agent.mjs +194 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/encoding/index.mjs +18 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/global.mjs +48 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-handler.mjs +457 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/cache-revalidation-handler.mjs +82 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/decorator-handler.mjs +57 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/deduplication-handler.mjs +341 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/redirect-handler.mjs +131 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/retry-handler.mjs +332 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/unwrap-handler.mjs +88 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/handler/wrap-handler.mjs +68 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/cache.mjs +350 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/decompress.mjs +416 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/deduplicate.mjs +69 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dns.mjs +323 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/dump.mjs +65 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/redirect.mjs +20 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/response-error.mjs +73 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/interceptor/retry.mjs +25 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/constants.mjs +590 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp-wasm.mjs +13 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/llhttp_simd-wasm.mjs +13 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/llhttp/utils.mjs +16 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-agent.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-call-history.mjs +159 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-client.mjs +59 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-errors.mjs +28 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-interceptor.mjs +150 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-pool.mjs +59 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-symbols.mjs +37 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/mock-utils.mjs +302 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/pending-interceptors-formatter.mjs +38 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-agent.mjs +268 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-recorder.mjs +424 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/mock/snapshot-utils.mjs +121 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/cache.mjs +440 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/date.mjs +332 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/promise.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/runtime-features.mjs +101 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/stats.mjs +31 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/util/timers.mjs +341 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cache.mjs +462 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/cachestorage.mjs +103 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cache/util.mjs +39 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/constants.mjs +11 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/index.mjs +169 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/parse.mjs +108 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/cookies/util.mjs +239 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource-stream.mjs +317 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/eventsource.mjs +345 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/eventsource/util.mjs +29 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/body.mjs +271 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/constants.mjs +224 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/data-url.mjs +247 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata-parser.mjs +255 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/formdata.mjs +153 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/global.mjs +34 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/headers.mjs +400 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/index.mjs +776 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/request.mjs +602 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/response.mjs +358 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/fetch/util.mjs +795 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/infra/index.mjs +154 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.mjs +170 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/webidl/index.mjs +505 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/connection.mjs +166 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/constants.mjs +47 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/events.mjs +268 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/frame.mjs +105 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/permessage-deflate.mjs +85 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/receiver.mjs +323 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/sender.mjs +90 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketerror.mjs +78 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/stream/websocketstream.mjs +270 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/util.mjs +212 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/undici@7.30.0/node_modules/undici/lib/web/websocket/websocket.mjs +432 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/labels-to-names.mjs +224 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/supported-names.mjs +45 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-encoding@3.1.1/node_modules/whatwg-encoding/lib/whatwg-encoding.mjs +40 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type-parameters.mjs +54 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type.mjs +92 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/parser.mjs +62 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/serializer.mjs +24 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/utils.mjs +47 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/dist/cpexcel.mjs +3348 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.mjs +26473 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.mjs +26 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.mjs +35 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.mjs +17 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.mjs +800 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.mjs +508 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.mjs +366 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.mjs +60 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.mjs +32 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.mjs +63 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.mjs +253 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.mjs +118 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.mjs +65 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.mjs +48 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.mjs +1235 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.mjs +297 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.mjs +316 -0
- package/bundles/sui-ledger/dist/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.mjs +8 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/archive.mjs +143 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/contracts.mjs +17 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/files.mjs +158 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/index.mjs +494 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/lease.mjs +53 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/migration-backup.mjs +57 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/paths.mjs +15 -0
- package/bundles/sui-ledger/dist/packages/data-maintenance/src/runtime.mjs +132 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/client.mjs +635 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/hash.mjs +10 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/index.mjs +8 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/mutation-gateway.mjs +165 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/parsers.mjs +634 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/transaction-text.mjs +39 -0
- package/bundles/sui-ledger/dist/packages/feidee/src/write-contract.mjs +273 -0
- package/bundles/sui-ledger/dist/packages/finance/src/date-range.mjs +74 -0
- package/bundles/sui-ledger/dist/packages/finance/src/domain.mjs +18 -0
- package/bundles/sui-ledger/dist/packages/finance/src/errors.mjs +221 -0
- package/bundles/sui-ledger/dist/packages/finance/src/index.mjs +17 -0
- package/bundles/sui-ledger/dist/packages/finance/src/json-schema.mjs +212 -0
- package/bundles/sui-ledger/dist/packages/finance/src/metadata-query.mjs +32 -0
- package/bundles/sui-ledger/dist/packages/finance/src/money.mjs +39 -0
- package/bundles/sui-ledger/dist/packages/finance/src/public-error.mjs +10 -0
- package/bundles/sui-ledger/dist/packages/finance/src/sync/progress.mjs +27 -0
- package/bundles/sui-ledger/dist/packages/finance/src/sync/service.mjs +282 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/audit.mjs +104 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/canary.mjs +85 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/compare.mjs +76 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/contracts.mjs +83 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/memo-policy.mjs +79 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/mutation.mjs +656 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/query.mjs +59 -0
- package/bundles/sui-ledger/dist/packages/finance/src/transactions/statistics.mjs +67 -0
- package/bundles/sui-ledger/dist/packages/finance/src/write-policy.mjs +4 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/balance-preview.mjs +119 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/capabilities.mjs +1306 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/checkpoint-review.mjs +75 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/commit-failure.mjs +161 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/commit-recovery.mjs +41 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/contracts.mjs +13 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/data-version.mjs +8 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/database.mjs +1292 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/draft-entries.mjs +216 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/draft-receipts.mjs +16 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/finance-guidance.mjs +23 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/historical-task-archives.mjs +24 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/index.mjs +17 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/interactions.mjs +229 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/model-pages.mjs +61 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/model-views.mjs +206 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/node.mjs +76 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/personal-preferences.mjs +103 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/route-contracts.mjs +11 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/routes.mjs +427 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/schema-compatibility.mjs +142 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/sdk-adapter.mjs +100 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-domain.mjs +207 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-routes.mjs +91 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-store.mjs +119 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-record-tools.mjs +283 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service-records.mjs +626 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/service.mjs +2525 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/shared-draft-migration.mjs +39 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/single-draft-migration.mjs +70 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/source-reader.mjs +354 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/storage.mjs +282 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/tool-contracts.mjs +42 -0
- package/bundles/sui-ledger/dist/packages/finance-module/src/web-contracts.mjs +74 -0
- package/bundles/sui-ledger/dist/packages/interaction/src/registry.mjs +36 -0
- package/bundles/sui-ledger/dist/packages/interaction/src/service.mjs +424 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/checkpoint-backup.mjs +40 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/checkpoint-history.mjs +77 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/database.mjs +1523 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/exchange-rates.mjs +169 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/node.mjs +71 -0
- package/bundles/sui-ledger/dist/packages/local-store/src/readonly-node.mjs +486 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/account-snapshot-service.mjs +582 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/cache-analysis.mjs +597 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/config.mjs +64 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/credential-identity.mjs +7 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/credentials.mjs +86 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/exchange-rate-service.mjs +253 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/finance-cookie-cache.mjs +93 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/finance-session.mjs +215 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/frankfurter.mjs +125 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/ledger-money.mjs +183 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/node-readonly.mjs +381 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/node.mjs +53 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/probe.mjs +65 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/resource-lease-node.mjs +27 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/resource-lease-owner-node.mjs +68 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/resource-lease.mjs +143 -0
- package/bundles/sui-ledger/dist/packages/sdk/src/runtime.mjs +643 -0
- package/bundles/sui-ledger/dist/preferences-context.mjs +21 -0
- package/bundles/sui-ledger/dist/remote-write-policy.mjs +51 -0
- package/bundles/sui-ledger/dist/routes/finance-api.mjs +380 -0
- package/bundles/sui-ledger/dist/session/attachment-ownership.mjs +53 -0
- package/bundles/sui-ledger/dist/session/call-context.mjs +14 -0
- package/bundles/sui-ledger/dist/session/source-ports.mjs +74 -0
- package/bundles/sui-ledger/dist/storage/business-runtime.mjs +116 -0
- package/bundles/sui-ledger/dist/storage/maintenance-http.mjs +159 -0
- package/bundles/sui-ledger/dist/storage/paths.mjs +15 -0
- package/bundles/sui-ledger/dist/style.css +15416 -0
- package/bundles/sui-ledger/icon.svg +1 -0
- package/bundles/sui-ledger/locale/en.json +6 -0
- package/bundles/sui-ledger/locale/zh-CN.json +6 -0
- package/cordis.patch.yml +4 -0
- package/package.json +111 -3
|
@@ -0,0 +1,1015 @@
|
|
|
1
|
+
import { keysOf } from "./utilities.mjs";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@sindresorhus+is@7.2.0/node_modules/@sindresorhus/is/distribution/index.js
|
|
3
|
+
const typedArrayTypeNames = [
|
|
4
|
+
"Int8Array",
|
|
5
|
+
"Uint8Array",
|
|
6
|
+
"Uint8ClampedArray",
|
|
7
|
+
"Int16Array",
|
|
8
|
+
"Uint16Array",
|
|
9
|
+
"Int32Array",
|
|
10
|
+
"Uint32Array",
|
|
11
|
+
"Float32Array",
|
|
12
|
+
"Float64Array",
|
|
13
|
+
"BigInt64Array",
|
|
14
|
+
"BigUint64Array"
|
|
15
|
+
];
|
|
16
|
+
function isTypedArrayName(name) {
|
|
17
|
+
return typedArrayTypeNames.includes(name);
|
|
18
|
+
}
|
|
19
|
+
const objectTypeNames = [
|
|
20
|
+
"Function",
|
|
21
|
+
"Generator",
|
|
22
|
+
"AsyncGenerator",
|
|
23
|
+
"GeneratorFunction",
|
|
24
|
+
"AsyncGeneratorFunction",
|
|
25
|
+
"AsyncFunction",
|
|
26
|
+
"Observable",
|
|
27
|
+
"Array",
|
|
28
|
+
"Buffer",
|
|
29
|
+
"Blob",
|
|
30
|
+
"Object",
|
|
31
|
+
"RegExp",
|
|
32
|
+
"Date",
|
|
33
|
+
"Error",
|
|
34
|
+
"Map",
|
|
35
|
+
"Set",
|
|
36
|
+
"WeakMap",
|
|
37
|
+
"WeakSet",
|
|
38
|
+
"WeakRef",
|
|
39
|
+
"ArrayBuffer",
|
|
40
|
+
"SharedArrayBuffer",
|
|
41
|
+
"DataView",
|
|
42
|
+
"Promise",
|
|
43
|
+
"URL",
|
|
44
|
+
"FormData",
|
|
45
|
+
"URLSearchParams",
|
|
46
|
+
"HTMLElement",
|
|
47
|
+
"NaN",
|
|
48
|
+
...typedArrayTypeNames
|
|
49
|
+
];
|
|
50
|
+
function isObjectTypeName(name) {
|
|
51
|
+
return objectTypeNames.includes(name);
|
|
52
|
+
}
|
|
53
|
+
const primitiveTypeNames = [
|
|
54
|
+
"null",
|
|
55
|
+
"undefined",
|
|
56
|
+
"string",
|
|
57
|
+
"number",
|
|
58
|
+
"bigint",
|
|
59
|
+
"boolean",
|
|
60
|
+
"symbol"
|
|
61
|
+
];
|
|
62
|
+
function isPrimitiveTypeName(name) {
|
|
63
|
+
return primitiveTypeNames.includes(name);
|
|
64
|
+
}
|
|
65
|
+
[...objectTypeNames, ...primitiveTypeNames];
|
|
66
|
+
const getObjectType = (value) => {
|
|
67
|
+
const objectTypeName = Object.prototype.toString.call(value).slice(8, -1);
|
|
68
|
+
if (/HTML\w+Element/.test(objectTypeName) && isHtmlElement(value)) return "HTMLElement";
|
|
69
|
+
if (isObjectTypeName(objectTypeName)) return objectTypeName;
|
|
70
|
+
};
|
|
71
|
+
function detect(value) {
|
|
72
|
+
if (value === null) return "null";
|
|
73
|
+
switch (typeof value) {
|
|
74
|
+
case "undefined": return "undefined";
|
|
75
|
+
case "string": return "string";
|
|
76
|
+
case "number": return Number.isNaN(value) ? "NaN" : "number";
|
|
77
|
+
case "boolean": return "boolean";
|
|
78
|
+
case "function": return "Function";
|
|
79
|
+
case "bigint": return "bigint";
|
|
80
|
+
case "symbol": return "symbol";
|
|
81
|
+
}
|
|
82
|
+
if (isObservable(value)) return "Observable";
|
|
83
|
+
if (isArray(value)) return "Array";
|
|
84
|
+
if (isBuffer(value)) return "Buffer";
|
|
85
|
+
const tagType = getObjectType(value);
|
|
86
|
+
if (tagType && tagType !== "Object") return tagType;
|
|
87
|
+
if (hasPromiseApi(value)) return "Promise";
|
|
88
|
+
if (value instanceof String || value instanceof Boolean || value instanceof Number) throw new TypeError("Please don't use object wrappers for primitive types");
|
|
89
|
+
return "Object";
|
|
90
|
+
}
|
|
91
|
+
function hasPromiseApi(value) {
|
|
92
|
+
return isFunction(value?.then) && isFunction(value?.catch);
|
|
93
|
+
}
|
|
94
|
+
const is = Object.assign(detect, {
|
|
95
|
+
all: isAll,
|
|
96
|
+
any: isAny,
|
|
97
|
+
array: isArray,
|
|
98
|
+
arrayBuffer: isArrayBuffer,
|
|
99
|
+
arrayLike: isArrayLike,
|
|
100
|
+
asyncFunction: isAsyncFunction,
|
|
101
|
+
asyncGenerator: isAsyncGenerator,
|
|
102
|
+
asyncGeneratorFunction: isAsyncGeneratorFunction,
|
|
103
|
+
asyncIterable: isAsyncIterable,
|
|
104
|
+
bigint: isBigint,
|
|
105
|
+
bigInt64Array: isBigInt64Array,
|
|
106
|
+
bigUint64Array: isBigUint64Array,
|
|
107
|
+
blob: isBlob,
|
|
108
|
+
boolean: isBoolean,
|
|
109
|
+
boundFunction: isBoundFunction,
|
|
110
|
+
buffer: isBuffer,
|
|
111
|
+
class: isClass,
|
|
112
|
+
dataView: isDataView,
|
|
113
|
+
date: isDate,
|
|
114
|
+
detect,
|
|
115
|
+
directInstanceOf: isDirectInstanceOf,
|
|
116
|
+
emptyArray: isEmptyArray,
|
|
117
|
+
emptyMap: isEmptyMap,
|
|
118
|
+
emptyObject: isEmptyObject,
|
|
119
|
+
emptySet: isEmptySet,
|
|
120
|
+
emptyString: isEmptyString,
|
|
121
|
+
emptyStringOrWhitespace: isEmptyStringOrWhitespace,
|
|
122
|
+
enumCase: isEnumCase,
|
|
123
|
+
error: isError,
|
|
124
|
+
evenInteger: isEvenInteger,
|
|
125
|
+
falsy: isFalsy,
|
|
126
|
+
float32Array: isFloat32Array,
|
|
127
|
+
float64Array: isFloat64Array,
|
|
128
|
+
formData: isFormData,
|
|
129
|
+
function: isFunction,
|
|
130
|
+
generator: isGenerator,
|
|
131
|
+
generatorFunction: isGeneratorFunction,
|
|
132
|
+
htmlElement: isHtmlElement,
|
|
133
|
+
infinite: isInfinite,
|
|
134
|
+
inRange: isInRange,
|
|
135
|
+
int16Array: isInt16Array,
|
|
136
|
+
int32Array: isInt32Array,
|
|
137
|
+
int8Array: isInt8Array,
|
|
138
|
+
integer: isInteger,
|
|
139
|
+
iterable: isIterable,
|
|
140
|
+
map: isMap,
|
|
141
|
+
nan: isNan,
|
|
142
|
+
nativePromise: isNativePromise,
|
|
143
|
+
negativeNumber: isNegativeNumber,
|
|
144
|
+
nodeStream: isNodeStream,
|
|
145
|
+
nonEmptyArray: isNonEmptyArray,
|
|
146
|
+
nonEmptyMap: isNonEmptyMap,
|
|
147
|
+
nonEmptyObject: isNonEmptyObject,
|
|
148
|
+
nonEmptySet: isNonEmptySet,
|
|
149
|
+
nonEmptyString: isNonEmptyString,
|
|
150
|
+
nonEmptyStringAndNotWhitespace: isNonEmptyStringAndNotWhitespace,
|
|
151
|
+
null: isNull,
|
|
152
|
+
nullOrUndefined: isNullOrUndefined,
|
|
153
|
+
number: isNumber,
|
|
154
|
+
numericString: isNumericString,
|
|
155
|
+
object: isObject,
|
|
156
|
+
observable: isObservable,
|
|
157
|
+
oddInteger: isOddInteger,
|
|
158
|
+
plainObject: isPlainObject,
|
|
159
|
+
positiveNumber: isPositiveNumber,
|
|
160
|
+
primitive: isPrimitive,
|
|
161
|
+
promise: isPromise,
|
|
162
|
+
propertyKey: isPropertyKey,
|
|
163
|
+
regExp: isRegExp,
|
|
164
|
+
safeInteger: isSafeInteger,
|
|
165
|
+
set: isSet,
|
|
166
|
+
sharedArrayBuffer: isSharedArrayBuffer,
|
|
167
|
+
string: isString,
|
|
168
|
+
symbol: isSymbol,
|
|
169
|
+
truthy: isTruthy,
|
|
170
|
+
tupleLike: isTupleLike,
|
|
171
|
+
typedArray: isTypedArray,
|
|
172
|
+
uint16Array: isUint16Array,
|
|
173
|
+
uint32Array: isUint32Array,
|
|
174
|
+
uint8Array: isUint8Array,
|
|
175
|
+
uint8ClampedArray: isUint8ClampedArray,
|
|
176
|
+
undefined: isUndefined,
|
|
177
|
+
urlInstance: isUrlInstance,
|
|
178
|
+
urlSearchParams: isUrlSearchParams,
|
|
179
|
+
urlString: isUrlString,
|
|
180
|
+
optional: isOptional,
|
|
181
|
+
validDate: isValidDate,
|
|
182
|
+
validLength: isValidLength,
|
|
183
|
+
weakMap: isWeakMap,
|
|
184
|
+
weakRef: isWeakRef,
|
|
185
|
+
weakSet: isWeakSet,
|
|
186
|
+
whitespaceString: isWhitespaceString
|
|
187
|
+
});
|
|
188
|
+
function isAbsoluteModule2(remainder) {
|
|
189
|
+
return (value) => isInteger(value) && Math.abs(value % 2) === remainder;
|
|
190
|
+
}
|
|
191
|
+
function validatePredicateArray(predicateArray, allowEmpty) {
|
|
192
|
+
if (predicateArray.length === 0) {
|
|
193
|
+
if (allowEmpty) {} else throw new TypeError("Invalid predicate array");
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
for (const predicate of predicateArray) if (!isFunction(predicate)) throw new TypeError(`Invalid predicate: ${JSON.stringify(predicate)}`);
|
|
197
|
+
}
|
|
198
|
+
function isAll(predicate, ...values) {
|
|
199
|
+
if (Array.isArray(predicate)) {
|
|
200
|
+
const predicateArray = predicate;
|
|
201
|
+
validatePredicateArray(predicateArray, values.length === 0);
|
|
202
|
+
const combinedPredicate = (value) => predicateArray.every((singlePredicate) => singlePredicate(value));
|
|
203
|
+
if (values.length === 0) return combinedPredicate;
|
|
204
|
+
return predicateOnArray(Array.prototype.every, combinedPredicate, values);
|
|
205
|
+
}
|
|
206
|
+
return predicateOnArray(Array.prototype.every, predicate, values);
|
|
207
|
+
}
|
|
208
|
+
function isAny(predicate, ...values) {
|
|
209
|
+
if (Array.isArray(predicate)) {
|
|
210
|
+
const predicateArray = predicate;
|
|
211
|
+
validatePredicateArray(predicateArray, values.length === 0);
|
|
212
|
+
const combinedPredicate = (value) => predicateArray.some((singlePredicate) => singlePredicate(value));
|
|
213
|
+
if (values.length === 0) return combinedPredicate;
|
|
214
|
+
return predicateOnArray(Array.prototype.some, combinedPredicate, values);
|
|
215
|
+
}
|
|
216
|
+
return predicateOnArray(Array.prototype.some, predicate, values);
|
|
217
|
+
}
|
|
218
|
+
function isOptional(value, predicate) {
|
|
219
|
+
return isUndefined(value) || predicate(value);
|
|
220
|
+
}
|
|
221
|
+
function isArray(value, assertion) {
|
|
222
|
+
if (!Array.isArray(value)) return false;
|
|
223
|
+
if (!isFunction(assertion)) return true;
|
|
224
|
+
return value.every((element) => assertion(element));
|
|
225
|
+
}
|
|
226
|
+
function isArrayBuffer(value) {
|
|
227
|
+
return getObjectType(value) === "ArrayBuffer";
|
|
228
|
+
}
|
|
229
|
+
function isArrayLike(value) {
|
|
230
|
+
return !isNullOrUndefined(value) && !isFunction(value) && isValidLength(value.length);
|
|
231
|
+
}
|
|
232
|
+
function isAsyncFunction(value) {
|
|
233
|
+
return getObjectType(value) === "AsyncFunction";
|
|
234
|
+
}
|
|
235
|
+
function isAsyncGenerator(value) {
|
|
236
|
+
return isAsyncIterable(value) && isFunction(value.next) && isFunction(value.throw);
|
|
237
|
+
}
|
|
238
|
+
function isAsyncGeneratorFunction(value) {
|
|
239
|
+
return getObjectType(value) === "AsyncGeneratorFunction";
|
|
240
|
+
}
|
|
241
|
+
function isAsyncIterable(value) {
|
|
242
|
+
return isFunction(value?.[Symbol.asyncIterator]);
|
|
243
|
+
}
|
|
244
|
+
function isBigint(value) {
|
|
245
|
+
return typeof value === "bigint";
|
|
246
|
+
}
|
|
247
|
+
function isBigInt64Array(value) {
|
|
248
|
+
return getObjectType(value) === "BigInt64Array";
|
|
249
|
+
}
|
|
250
|
+
function isBigUint64Array(value) {
|
|
251
|
+
return getObjectType(value) === "BigUint64Array";
|
|
252
|
+
}
|
|
253
|
+
function isBlob(value) {
|
|
254
|
+
return getObjectType(value) === "Blob";
|
|
255
|
+
}
|
|
256
|
+
function isBoolean(value) {
|
|
257
|
+
return value === true || value === false;
|
|
258
|
+
}
|
|
259
|
+
function isBoundFunction(value) {
|
|
260
|
+
return isFunction(value) && !Object.hasOwn(value, "prototype");
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
Note: [Prefer using `Uint8Array` instead of `Buffer`.](https://sindresorhus.com/blog/goodbye-nodejs-buffer)
|
|
264
|
+
*/
|
|
265
|
+
function isBuffer(value) {
|
|
266
|
+
return value?.constructor?.isBuffer?.(value) ?? false;
|
|
267
|
+
}
|
|
268
|
+
function isClass(value) {
|
|
269
|
+
return isFunction(value) && /^class(\s+|{)/.test(value.toString());
|
|
270
|
+
}
|
|
271
|
+
function isDataView(value) {
|
|
272
|
+
return getObjectType(value) === "DataView";
|
|
273
|
+
}
|
|
274
|
+
function isDate(value) {
|
|
275
|
+
return getObjectType(value) === "Date";
|
|
276
|
+
}
|
|
277
|
+
function isDirectInstanceOf(instance, class_) {
|
|
278
|
+
if (instance === void 0 || instance === null) return false;
|
|
279
|
+
return Object.getPrototypeOf(instance) === class_.prototype;
|
|
280
|
+
}
|
|
281
|
+
function isEmptyArray(value) {
|
|
282
|
+
return isArray(value) && value.length === 0;
|
|
283
|
+
}
|
|
284
|
+
function isEmptyMap(value) {
|
|
285
|
+
return isMap(value) && value.size === 0;
|
|
286
|
+
}
|
|
287
|
+
function isEmptyObject(value) {
|
|
288
|
+
return isObject(value) && !isMap(value) && !isSet(value) && Object.keys(value).length === 0;
|
|
289
|
+
}
|
|
290
|
+
function isEmptySet(value) {
|
|
291
|
+
return isSet(value) && value.size === 0;
|
|
292
|
+
}
|
|
293
|
+
function isEmptyString(value) {
|
|
294
|
+
return isString(value) && value.length === 0;
|
|
295
|
+
}
|
|
296
|
+
function isEmptyStringOrWhitespace(value) {
|
|
297
|
+
return isEmptyString(value) || isWhitespaceString(value);
|
|
298
|
+
}
|
|
299
|
+
function isEnumCase(value, targetEnum) {
|
|
300
|
+
return Object.values(targetEnum).includes(value);
|
|
301
|
+
}
|
|
302
|
+
function isError(value) {
|
|
303
|
+
return getObjectType(value) === "Error";
|
|
304
|
+
}
|
|
305
|
+
function isEvenInteger(value) {
|
|
306
|
+
return isAbsoluteModule2(0)(value);
|
|
307
|
+
}
|
|
308
|
+
function isFalsy(value) {
|
|
309
|
+
return !value;
|
|
310
|
+
}
|
|
311
|
+
function isFloat32Array(value) {
|
|
312
|
+
return getObjectType(value) === "Float32Array";
|
|
313
|
+
}
|
|
314
|
+
function isFloat64Array(value) {
|
|
315
|
+
return getObjectType(value) === "Float64Array";
|
|
316
|
+
}
|
|
317
|
+
function isFormData(value) {
|
|
318
|
+
return getObjectType(value) === "FormData";
|
|
319
|
+
}
|
|
320
|
+
function isFunction(value) {
|
|
321
|
+
return typeof value === "function";
|
|
322
|
+
}
|
|
323
|
+
function isGenerator(value) {
|
|
324
|
+
return isIterable(value) && isFunction(value?.next) && isFunction(value?.throw);
|
|
325
|
+
}
|
|
326
|
+
function isGeneratorFunction(value) {
|
|
327
|
+
return getObjectType(value) === "GeneratorFunction";
|
|
328
|
+
}
|
|
329
|
+
const NODE_TYPE_ELEMENT = 1;
|
|
330
|
+
const DOM_PROPERTIES_TO_CHECK = [
|
|
331
|
+
"innerHTML",
|
|
332
|
+
"ownerDocument",
|
|
333
|
+
"style",
|
|
334
|
+
"attributes",
|
|
335
|
+
"nodeValue"
|
|
336
|
+
];
|
|
337
|
+
function isHtmlElement(value) {
|
|
338
|
+
return isObject(value) && value.nodeType === NODE_TYPE_ELEMENT && isString(value.nodeName) && !isPlainObject(value) && DOM_PROPERTIES_TO_CHECK.every((property) => property in value);
|
|
339
|
+
}
|
|
340
|
+
function isInfinite(value) {
|
|
341
|
+
return value === Number.POSITIVE_INFINITY || value === Number.NEGATIVE_INFINITY;
|
|
342
|
+
}
|
|
343
|
+
function isInRange(value, range) {
|
|
344
|
+
if (isNumber(range)) return value >= Math.min(0, range) && value <= Math.max(range, 0);
|
|
345
|
+
if (isArray(range) && range.length === 2) return value >= Math.min(...range) && value <= Math.max(...range);
|
|
346
|
+
throw new TypeError(`Invalid range: ${JSON.stringify(range)}`);
|
|
347
|
+
}
|
|
348
|
+
function isInt16Array(value) {
|
|
349
|
+
return getObjectType(value) === "Int16Array";
|
|
350
|
+
}
|
|
351
|
+
function isInt32Array(value) {
|
|
352
|
+
return getObjectType(value) === "Int32Array";
|
|
353
|
+
}
|
|
354
|
+
function isInt8Array(value) {
|
|
355
|
+
return getObjectType(value) === "Int8Array";
|
|
356
|
+
}
|
|
357
|
+
function isInteger(value) {
|
|
358
|
+
return Number.isInteger(value);
|
|
359
|
+
}
|
|
360
|
+
function isIterable(value) {
|
|
361
|
+
return isFunction(value?.[Symbol.iterator]);
|
|
362
|
+
}
|
|
363
|
+
function isMap(value) {
|
|
364
|
+
return getObjectType(value) === "Map";
|
|
365
|
+
}
|
|
366
|
+
function isNan(value) {
|
|
367
|
+
return Number.isNaN(value);
|
|
368
|
+
}
|
|
369
|
+
function isNativePromise(value) {
|
|
370
|
+
return getObjectType(value) === "Promise";
|
|
371
|
+
}
|
|
372
|
+
function isNegativeNumber(value) {
|
|
373
|
+
return isNumber(value) && value < 0;
|
|
374
|
+
}
|
|
375
|
+
function isNodeStream(value) {
|
|
376
|
+
return isObject(value) && isFunction(value.pipe) && !isObservable(value);
|
|
377
|
+
}
|
|
378
|
+
function isNonEmptyArray(value) {
|
|
379
|
+
return isArray(value) && value.length > 0;
|
|
380
|
+
}
|
|
381
|
+
function isNonEmptyMap(value) {
|
|
382
|
+
return isMap(value) && value.size > 0;
|
|
383
|
+
}
|
|
384
|
+
function isNonEmptyObject(value) {
|
|
385
|
+
return isObject(value) && !isMap(value) && !isSet(value) && Object.keys(value).length > 0;
|
|
386
|
+
}
|
|
387
|
+
function isNonEmptySet(value) {
|
|
388
|
+
return isSet(value) && value.size > 0;
|
|
389
|
+
}
|
|
390
|
+
function isNonEmptyString(value) {
|
|
391
|
+
return isString(value) && value.length > 0;
|
|
392
|
+
}
|
|
393
|
+
function isNonEmptyStringAndNotWhitespace(value) {
|
|
394
|
+
return isString(value) && !isEmptyStringOrWhitespace(value);
|
|
395
|
+
}
|
|
396
|
+
function isNull(value) {
|
|
397
|
+
return value === null;
|
|
398
|
+
}
|
|
399
|
+
function isNullOrUndefined(value) {
|
|
400
|
+
return isNull(value) || isUndefined(value);
|
|
401
|
+
}
|
|
402
|
+
function isNumber(value) {
|
|
403
|
+
return typeof value === "number" && !Number.isNaN(value);
|
|
404
|
+
}
|
|
405
|
+
function isNumericString(value) {
|
|
406
|
+
return isString(value) && !isEmptyStringOrWhitespace(value) && !Number.isNaN(Number(value));
|
|
407
|
+
}
|
|
408
|
+
function isObject(value) {
|
|
409
|
+
return !isNull(value) && (typeof value === "object" || isFunction(value));
|
|
410
|
+
}
|
|
411
|
+
function isObservable(value) {
|
|
412
|
+
if (!value) return false;
|
|
413
|
+
if (Symbol.observable !== void 0 && value === value[Symbol.observable]?.()) return true;
|
|
414
|
+
if (value === value["@@observable"]?.()) return true;
|
|
415
|
+
return false;
|
|
416
|
+
}
|
|
417
|
+
function isOddInteger(value) {
|
|
418
|
+
return isAbsoluteModule2(1)(value);
|
|
419
|
+
}
|
|
420
|
+
function isPlainObject(value) {
|
|
421
|
+
if (typeof value !== "object" || value === null) return false;
|
|
422
|
+
const prototype = Object.getPrototypeOf(value);
|
|
423
|
+
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
424
|
+
}
|
|
425
|
+
function isPositiveNumber(value) {
|
|
426
|
+
return isNumber(value) && value > 0;
|
|
427
|
+
}
|
|
428
|
+
function isPrimitive(value) {
|
|
429
|
+
return isNull(value) || isPrimitiveTypeName(typeof value);
|
|
430
|
+
}
|
|
431
|
+
function isPromise(value) {
|
|
432
|
+
return isNativePromise(value) || hasPromiseApi(value);
|
|
433
|
+
}
|
|
434
|
+
function isPropertyKey(value) {
|
|
435
|
+
return isAny([
|
|
436
|
+
isString,
|
|
437
|
+
isNumber,
|
|
438
|
+
isSymbol
|
|
439
|
+
], value);
|
|
440
|
+
}
|
|
441
|
+
function isRegExp(value) {
|
|
442
|
+
return getObjectType(value) === "RegExp";
|
|
443
|
+
}
|
|
444
|
+
function isSafeInteger(value) {
|
|
445
|
+
return Number.isSafeInteger(value);
|
|
446
|
+
}
|
|
447
|
+
function isSet(value) {
|
|
448
|
+
return getObjectType(value) === "Set";
|
|
449
|
+
}
|
|
450
|
+
function isSharedArrayBuffer(value) {
|
|
451
|
+
return getObjectType(value) === "SharedArrayBuffer";
|
|
452
|
+
}
|
|
453
|
+
function isString(value) {
|
|
454
|
+
return typeof value === "string";
|
|
455
|
+
}
|
|
456
|
+
function isSymbol(value) {
|
|
457
|
+
return typeof value === "symbol";
|
|
458
|
+
}
|
|
459
|
+
function isTruthy(value) {
|
|
460
|
+
return Boolean(value);
|
|
461
|
+
}
|
|
462
|
+
function isTupleLike(value, guards) {
|
|
463
|
+
if (isArray(guards) && isArray(value) && guards.length === value.length) return guards.every((guard, index) => guard(value[index]));
|
|
464
|
+
return false;
|
|
465
|
+
}
|
|
466
|
+
function isTypedArray(value) {
|
|
467
|
+
return isTypedArrayName(getObjectType(value));
|
|
468
|
+
}
|
|
469
|
+
function isUint16Array(value) {
|
|
470
|
+
return getObjectType(value) === "Uint16Array";
|
|
471
|
+
}
|
|
472
|
+
function isUint32Array(value) {
|
|
473
|
+
return getObjectType(value) === "Uint32Array";
|
|
474
|
+
}
|
|
475
|
+
function isUint8Array(value) {
|
|
476
|
+
return getObjectType(value) === "Uint8Array";
|
|
477
|
+
}
|
|
478
|
+
function isUint8ClampedArray(value) {
|
|
479
|
+
return getObjectType(value) === "Uint8ClampedArray";
|
|
480
|
+
}
|
|
481
|
+
function isUndefined(value) {
|
|
482
|
+
return value === void 0;
|
|
483
|
+
}
|
|
484
|
+
function isUrlInstance(value) {
|
|
485
|
+
return getObjectType(value) === "URL";
|
|
486
|
+
}
|
|
487
|
+
function isUrlSearchParams(value) {
|
|
488
|
+
return getObjectType(value) === "URLSearchParams";
|
|
489
|
+
}
|
|
490
|
+
function isUrlString(value) {
|
|
491
|
+
if (!isString(value)) return false;
|
|
492
|
+
try {
|
|
493
|
+
new URL(value);
|
|
494
|
+
return true;
|
|
495
|
+
} catch {
|
|
496
|
+
return false;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
function isValidDate(value) {
|
|
500
|
+
return isDate(value) && !isNan(Number(value));
|
|
501
|
+
}
|
|
502
|
+
function isValidLength(value) {
|
|
503
|
+
return isSafeInteger(value) && value >= 0;
|
|
504
|
+
}
|
|
505
|
+
function isWeakMap(value) {
|
|
506
|
+
return getObjectType(value) === "WeakMap";
|
|
507
|
+
}
|
|
508
|
+
function isWeakRef(value) {
|
|
509
|
+
return getObjectType(value) === "WeakRef";
|
|
510
|
+
}
|
|
511
|
+
function isWeakSet(value) {
|
|
512
|
+
return getObjectType(value) === "WeakSet";
|
|
513
|
+
}
|
|
514
|
+
function isWhitespaceString(value) {
|
|
515
|
+
return isString(value) && /^\s+$/.test(value);
|
|
516
|
+
}
|
|
517
|
+
function predicateOnArray(method, predicate, values) {
|
|
518
|
+
if (!isFunction(predicate)) throw new TypeError(`Invalid predicate: ${JSON.stringify(predicate)}`);
|
|
519
|
+
if (values.length === 0) throw new TypeError("Invalid number of values");
|
|
520
|
+
return method.call(values, predicate);
|
|
521
|
+
}
|
|
522
|
+
function typeErrorMessage(description, value) {
|
|
523
|
+
return `Expected value which is \`${description}\`, received value of type \`${is(value)}\`.`;
|
|
524
|
+
}
|
|
525
|
+
function unique(values) {
|
|
526
|
+
return Array.from(new Set(values));
|
|
527
|
+
}
|
|
528
|
+
const andFormatter = new Intl.ListFormat("en", {
|
|
529
|
+
style: "long",
|
|
530
|
+
type: "conjunction"
|
|
531
|
+
});
|
|
532
|
+
const orFormatter = new Intl.ListFormat("en", {
|
|
533
|
+
style: "long",
|
|
534
|
+
type: "disjunction"
|
|
535
|
+
});
|
|
536
|
+
function typeErrorMessageMultipleValues(expectedType, values) {
|
|
537
|
+
const uniqueExpectedTypes = unique((isArray(expectedType) ? expectedType : [expectedType]).map((value) => `\`${value}\``));
|
|
538
|
+
const uniqueValueTypes = unique(values.map((value) => `\`${is(value)}\``));
|
|
539
|
+
return `Expected values which are ${orFormatter.format(uniqueExpectedTypes)}. Received values of type${uniqueValueTypes.length > 1 ? "s" : ""} ${andFormatter.format(uniqueValueTypes)}.`;
|
|
540
|
+
}
|
|
541
|
+
const assert = {
|
|
542
|
+
all: assertAll,
|
|
543
|
+
any: assertAny,
|
|
544
|
+
optional: assertOptional,
|
|
545
|
+
array: assertArray,
|
|
546
|
+
arrayBuffer: assertArrayBuffer,
|
|
547
|
+
arrayLike: assertArrayLike,
|
|
548
|
+
asyncFunction: assertAsyncFunction,
|
|
549
|
+
asyncGenerator: assertAsyncGenerator,
|
|
550
|
+
asyncGeneratorFunction: assertAsyncGeneratorFunction,
|
|
551
|
+
asyncIterable: assertAsyncIterable,
|
|
552
|
+
bigint: assertBigint,
|
|
553
|
+
bigInt64Array: assertBigInt64Array,
|
|
554
|
+
bigUint64Array: assertBigUint64Array,
|
|
555
|
+
blob: assertBlob,
|
|
556
|
+
boolean: assertBoolean,
|
|
557
|
+
boundFunction: assertBoundFunction,
|
|
558
|
+
buffer: assertBuffer,
|
|
559
|
+
class: assertClass,
|
|
560
|
+
dataView: assertDataView,
|
|
561
|
+
date: assertDate,
|
|
562
|
+
directInstanceOf: assertDirectInstanceOf,
|
|
563
|
+
emptyArray: assertEmptyArray,
|
|
564
|
+
emptyMap: assertEmptyMap,
|
|
565
|
+
emptyObject: assertEmptyObject,
|
|
566
|
+
emptySet: assertEmptySet,
|
|
567
|
+
emptyString: assertEmptyString,
|
|
568
|
+
emptyStringOrWhitespace: assertEmptyStringOrWhitespace,
|
|
569
|
+
enumCase: assertEnumCase,
|
|
570
|
+
error: assertError,
|
|
571
|
+
evenInteger: assertEvenInteger,
|
|
572
|
+
falsy: assertFalsy,
|
|
573
|
+
float32Array: assertFloat32Array,
|
|
574
|
+
float64Array: assertFloat64Array,
|
|
575
|
+
formData: assertFormData,
|
|
576
|
+
function: assertFunction,
|
|
577
|
+
generator: assertGenerator,
|
|
578
|
+
generatorFunction: assertGeneratorFunction,
|
|
579
|
+
htmlElement: assertHtmlElement,
|
|
580
|
+
infinite: assertInfinite,
|
|
581
|
+
inRange: assertInRange,
|
|
582
|
+
int16Array: assertInt16Array,
|
|
583
|
+
int32Array: assertInt32Array,
|
|
584
|
+
int8Array: assertInt8Array,
|
|
585
|
+
integer: assertInteger,
|
|
586
|
+
iterable: assertIterable,
|
|
587
|
+
map: assertMap,
|
|
588
|
+
nan: assertNan,
|
|
589
|
+
nativePromise: assertNativePromise,
|
|
590
|
+
negativeNumber: assertNegativeNumber,
|
|
591
|
+
nodeStream: assertNodeStream,
|
|
592
|
+
nonEmptyArray: assertNonEmptyArray,
|
|
593
|
+
nonEmptyMap: assertNonEmptyMap,
|
|
594
|
+
nonEmptyObject: assertNonEmptyObject,
|
|
595
|
+
nonEmptySet: assertNonEmptySet,
|
|
596
|
+
nonEmptyString: assertNonEmptyString,
|
|
597
|
+
nonEmptyStringAndNotWhitespace: assertNonEmptyStringAndNotWhitespace,
|
|
598
|
+
null: assertNull,
|
|
599
|
+
nullOrUndefined: assertNullOrUndefined,
|
|
600
|
+
number: assertNumber,
|
|
601
|
+
numericString: assertNumericString,
|
|
602
|
+
object: assertObject,
|
|
603
|
+
observable: assertObservable,
|
|
604
|
+
oddInteger: assertOddInteger,
|
|
605
|
+
plainObject: assertPlainObject,
|
|
606
|
+
positiveNumber: assertPositiveNumber,
|
|
607
|
+
primitive: assertPrimitive,
|
|
608
|
+
promise: assertPromise,
|
|
609
|
+
propertyKey: assertPropertyKey,
|
|
610
|
+
regExp: assertRegExp,
|
|
611
|
+
safeInteger: assertSafeInteger,
|
|
612
|
+
set: assertSet,
|
|
613
|
+
sharedArrayBuffer: assertSharedArrayBuffer,
|
|
614
|
+
string: assertString,
|
|
615
|
+
symbol: assertSymbol,
|
|
616
|
+
truthy: assertTruthy,
|
|
617
|
+
tupleLike: assertTupleLike,
|
|
618
|
+
typedArray: assertTypedArray,
|
|
619
|
+
uint16Array: assertUint16Array,
|
|
620
|
+
uint32Array: assertUint32Array,
|
|
621
|
+
uint8Array: assertUint8Array,
|
|
622
|
+
uint8ClampedArray: assertUint8ClampedArray,
|
|
623
|
+
undefined: assertUndefined,
|
|
624
|
+
urlInstance: assertUrlInstance,
|
|
625
|
+
urlSearchParams: assertUrlSearchParams,
|
|
626
|
+
urlString: assertUrlString,
|
|
627
|
+
validDate: assertValidDate,
|
|
628
|
+
validLength: assertValidLength,
|
|
629
|
+
weakMap: assertWeakMap,
|
|
630
|
+
weakRef: assertWeakRef,
|
|
631
|
+
weakSet: assertWeakSet,
|
|
632
|
+
whitespaceString: assertWhitespaceString
|
|
633
|
+
};
|
|
634
|
+
const methodTypeMap = {
|
|
635
|
+
isArray: "Array",
|
|
636
|
+
isArrayBuffer: "ArrayBuffer",
|
|
637
|
+
isArrayLike: "array-like",
|
|
638
|
+
isAsyncFunction: "AsyncFunction",
|
|
639
|
+
isAsyncGenerator: "AsyncGenerator",
|
|
640
|
+
isAsyncGeneratorFunction: "AsyncGeneratorFunction",
|
|
641
|
+
isAsyncIterable: "AsyncIterable",
|
|
642
|
+
isBigint: "bigint",
|
|
643
|
+
isBigInt64Array: "BigInt64Array",
|
|
644
|
+
isBigUint64Array: "BigUint64Array",
|
|
645
|
+
isBlob: "Blob",
|
|
646
|
+
isBoolean: "boolean",
|
|
647
|
+
isBoundFunction: "Function",
|
|
648
|
+
isBuffer: "Buffer",
|
|
649
|
+
isClass: "Class",
|
|
650
|
+
isDataView: "DataView",
|
|
651
|
+
isDate: "Date",
|
|
652
|
+
isDirectInstanceOf: "T",
|
|
653
|
+
isEmptyArray: "empty array",
|
|
654
|
+
isEmptyMap: "empty map",
|
|
655
|
+
isEmptyObject: "empty object",
|
|
656
|
+
isEmptySet: "empty set",
|
|
657
|
+
isEmptyString: "empty string",
|
|
658
|
+
isEmptyStringOrWhitespace: "empty string or whitespace",
|
|
659
|
+
isEnumCase: "EnumCase",
|
|
660
|
+
isError: "Error",
|
|
661
|
+
isEvenInteger: "even integer",
|
|
662
|
+
isFalsy: "falsy",
|
|
663
|
+
isFloat32Array: "Float32Array",
|
|
664
|
+
isFloat64Array: "Float64Array",
|
|
665
|
+
isFormData: "FormData",
|
|
666
|
+
isFunction: "Function",
|
|
667
|
+
isGenerator: "Generator",
|
|
668
|
+
isGeneratorFunction: "GeneratorFunction",
|
|
669
|
+
isHtmlElement: "HTMLElement",
|
|
670
|
+
isInfinite: "infinite number",
|
|
671
|
+
isInRange: "in range",
|
|
672
|
+
isInt16Array: "Int16Array",
|
|
673
|
+
isInt32Array: "Int32Array",
|
|
674
|
+
isInt8Array: "Int8Array",
|
|
675
|
+
isInteger: "integer",
|
|
676
|
+
isIterable: "Iterable",
|
|
677
|
+
isMap: "Map",
|
|
678
|
+
isNan: "NaN",
|
|
679
|
+
isNativePromise: "native Promise",
|
|
680
|
+
isNegativeNumber: "negative number",
|
|
681
|
+
isNodeStream: "Node.js Stream",
|
|
682
|
+
isNonEmptyArray: "non-empty array",
|
|
683
|
+
isNonEmptyMap: "non-empty map",
|
|
684
|
+
isNonEmptyObject: "non-empty object",
|
|
685
|
+
isNonEmptySet: "non-empty set",
|
|
686
|
+
isNonEmptyString: "non-empty string",
|
|
687
|
+
isNonEmptyStringAndNotWhitespace: "non-empty string and not whitespace",
|
|
688
|
+
isNull: "null",
|
|
689
|
+
isNullOrUndefined: "null or undefined",
|
|
690
|
+
isNumber: "number",
|
|
691
|
+
isNumericString: "string with a number",
|
|
692
|
+
isObject: "Object",
|
|
693
|
+
isObservable: "Observable",
|
|
694
|
+
isOddInteger: "odd integer",
|
|
695
|
+
isPlainObject: "plain object",
|
|
696
|
+
isPositiveNumber: "positive number",
|
|
697
|
+
isPrimitive: "primitive",
|
|
698
|
+
isPromise: "Promise",
|
|
699
|
+
isPropertyKey: "PropertyKey",
|
|
700
|
+
isRegExp: "RegExp",
|
|
701
|
+
isSafeInteger: "integer",
|
|
702
|
+
isSet: "Set",
|
|
703
|
+
isSharedArrayBuffer: "SharedArrayBuffer",
|
|
704
|
+
isString: "string",
|
|
705
|
+
isSymbol: "symbol",
|
|
706
|
+
isTruthy: "truthy",
|
|
707
|
+
isTupleLike: "tuple-like",
|
|
708
|
+
isTypedArray: "TypedArray",
|
|
709
|
+
isUint16Array: "Uint16Array",
|
|
710
|
+
isUint32Array: "Uint32Array",
|
|
711
|
+
isUint8Array: "Uint8Array",
|
|
712
|
+
isUint8ClampedArray: "Uint8ClampedArray",
|
|
713
|
+
isUndefined: "undefined",
|
|
714
|
+
isUrlInstance: "URL",
|
|
715
|
+
isUrlSearchParams: "URLSearchParams",
|
|
716
|
+
isUrlString: "string with a URL",
|
|
717
|
+
isValidDate: "valid Date",
|
|
718
|
+
isValidLength: "valid length",
|
|
719
|
+
isWeakMap: "WeakMap",
|
|
720
|
+
isWeakRef: "WeakRef",
|
|
721
|
+
isWeakSet: "WeakSet",
|
|
722
|
+
isWhitespaceString: "whitespace string"
|
|
723
|
+
};
|
|
724
|
+
const isMethodNames = keysOf(methodTypeMap);
|
|
725
|
+
function isIsMethodName(value) {
|
|
726
|
+
return isMethodNames.includes(value);
|
|
727
|
+
}
|
|
728
|
+
function assertAll(predicate, ...values) {
|
|
729
|
+
if (values.length === 0) throw new TypeError("Invalid number of values");
|
|
730
|
+
if (!isAll(predicate, ...values)) {
|
|
731
|
+
const predicateFunction = predicate;
|
|
732
|
+
const expectedType = !Array.isArray(predicate) && isIsMethodName(predicateFunction.name) ? methodTypeMap[predicateFunction.name] : "predicate returns truthy for all values";
|
|
733
|
+
throw new TypeError(typeErrorMessageMultipleValues(expectedType, values));
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
function assertAny(predicate, ...values) {
|
|
737
|
+
if (values.length === 0) throw new TypeError("Invalid number of values");
|
|
738
|
+
if (!isAny(predicate, ...values)) {
|
|
739
|
+
const expectedTypes = (Array.isArray(predicate) ? predicate : [predicate]).map((singlePredicate) => isIsMethodName(singlePredicate.name) ? methodTypeMap[singlePredicate.name] : "predicate returns truthy for any value");
|
|
740
|
+
throw new TypeError(typeErrorMessageMultipleValues(expectedTypes, values));
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
function assertOptional(value, assertion, message) {
|
|
744
|
+
if (!isUndefined(value)) assertion(value, message);
|
|
745
|
+
}
|
|
746
|
+
function assertArray(value, assertion, message) {
|
|
747
|
+
if (!isArray(value)) throw new TypeError(message ?? typeErrorMessage("Array", value));
|
|
748
|
+
if (assertion) for (const element of value) assertion(element, message);
|
|
749
|
+
}
|
|
750
|
+
function assertArrayBuffer(value, message) {
|
|
751
|
+
if (!isArrayBuffer(value)) throw new TypeError(message ?? typeErrorMessage("ArrayBuffer", value));
|
|
752
|
+
}
|
|
753
|
+
function assertArrayLike(value, message) {
|
|
754
|
+
if (!isArrayLike(value)) throw new TypeError(message ?? typeErrorMessage("array-like", value));
|
|
755
|
+
}
|
|
756
|
+
function assertAsyncFunction(value, message) {
|
|
757
|
+
if (!isAsyncFunction(value)) throw new TypeError(message ?? typeErrorMessage("AsyncFunction", value));
|
|
758
|
+
}
|
|
759
|
+
function assertAsyncGenerator(value, message) {
|
|
760
|
+
if (!isAsyncGenerator(value)) throw new TypeError(message ?? typeErrorMessage("AsyncGenerator", value));
|
|
761
|
+
}
|
|
762
|
+
function assertAsyncGeneratorFunction(value, message) {
|
|
763
|
+
if (!isAsyncGeneratorFunction(value)) throw new TypeError(message ?? typeErrorMessage("AsyncGeneratorFunction", value));
|
|
764
|
+
}
|
|
765
|
+
function assertAsyncIterable(value, message) {
|
|
766
|
+
if (!isAsyncIterable(value)) throw new TypeError(message ?? typeErrorMessage("AsyncIterable", value));
|
|
767
|
+
}
|
|
768
|
+
function assertBigint(value, message) {
|
|
769
|
+
if (!isBigint(value)) throw new TypeError(message ?? typeErrorMessage("bigint", value));
|
|
770
|
+
}
|
|
771
|
+
function assertBigInt64Array(value, message) {
|
|
772
|
+
if (!isBigInt64Array(value)) throw new TypeError(message ?? typeErrorMessage("BigInt64Array", value));
|
|
773
|
+
}
|
|
774
|
+
function assertBigUint64Array(value, message) {
|
|
775
|
+
if (!isBigUint64Array(value)) throw new TypeError(message ?? typeErrorMessage("BigUint64Array", value));
|
|
776
|
+
}
|
|
777
|
+
function assertBlob(value, message) {
|
|
778
|
+
if (!isBlob(value)) throw new TypeError(message ?? typeErrorMessage("Blob", value));
|
|
779
|
+
}
|
|
780
|
+
function assertBoolean(value, message) {
|
|
781
|
+
if (!isBoolean(value)) throw new TypeError(message ?? typeErrorMessage("boolean", value));
|
|
782
|
+
}
|
|
783
|
+
function assertBoundFunction(value, message) {
|
|
784
|
+
if (!isBoundFunction(value)) throw new TypeError(message ?? typeErrorMessage("Function", value));
|
|
785
|
+
}
|
|
786
|
+
/**
|
|
787
|
+
Note: [Prefer using `Uint8Array` instead of `Buffer`.](https://sindresorhus.com/blog/goodbye-nodejs-buffer)
|
|
788
|
+
*/
|
|
789
|
+
function assertBuffer(value, message) {
|
|
790
|
+
if (!isBuffer(value)) throw new TypeError(message ?? typeErrorMessage("Buffer", value));
|
|
791
|
+
}
|
|
792
|
+
function assertClass(value, message) {
|
|
793
|
+
if (!isClass(value)) throw new TypeError(message ?? typeErrorMessage("Class", value));
|
|
794
|
+
}
|
|
795
|
+
function assertDataView(value, message) {
|
|
796
|
+
if (!isDataView(value)) throw new TypeError(message ?? typeErrorMessage("DataView", value));
|
|
797
|
+
}
|
|
798
|
+
function assertDate(value, message) {
|
|
799
|
+
if (!isDate(value)) throw new TypeError(message ?? typeErrorMessage("Date", value));
|
|
800
|
+
}
|
|
801
|
+
function assertDirectInstanceOf(instance, class_, message) {
|
|
802
|
+
if (!isDirectInstanceOf(instance, class_)) throw new TypeError(message ?? typeErrorMessage("T", instance));
|
|
803
|
+
}
|
|
804
|
+
function assertEmptyArray(value, message) {
|
|
805
|
+
if (!isEmptyArray(value)) throw new TypeError(message ?? typeErrorMessage("empty array", value));
|
|
806
|
+
}
|
|
807
|
+
function assertEmptyMap(value, message) {
|
|
808
|
+
if (!isEmptyMap(value)) throw new TypeError(message ?? typeErrorMessage("empty map", value));
|
|
809
|
+
}
|
|
810
|
+
function assertEmptyObject(value, message) {
|
|
811
|
+
if (!isEmptyObject(value)) throw new TypeError(message ?? typeErrorMessage("empty object", value));
|
|
812
|
+
}
|
|
813
|
+
function assertEmptySet(value, message) {
|
|
814
|
+
if (!isEmptySet(value)) throw new TypeError(message ?? typeErrorMessage("empty set", value));
|
|
815
|
+
}
|
|
816
|
+
function assertEmptyString(value, message) {
|
|
817
|
+
if (!isEmptyString(value)) throw new TypeError(message ?? typeErrorMessage("empty string", value));
|
|
818
|
+
}
|
|
819
|
+
function assertEmptyStringOrWhitespace(value, message) {
|
|
820
|
+
if (!isEmptyStringOrWhitespace(value)) throw new TypeError(message ?? typeErrorMessage("empty string or whitespace", value));
|
|
821
|
+
}
|
|
822
|
+
function assertEnumCase(value, targetEnum, message) {
|
|
823
|
+
if (!isEnumCase(value, targetEnum)) throw new TypeError(message ?? typeErrorMessage("EnumCase", value));
|
|
824
|
+
}
|
|
825
|
+
function assertError(value, message) {
|
|
826
|
+
if (!isError(value)) throw new TypeError(message ?? typeErrorMessage("Error", value));
|
|
827
|
+
}
|
|
828
|
+
function assertEvenInteger(value, message) {
|
|
829
|
+
if (!isEvenInteger(value)) throw new TypeError(message ?? typeErrorMessage("even integer", value));
|
|
830
|
+
}
|
|
831
|
+
function assertFalsy(value, message) {
|
|
832
|
+
if (!isFalsy(value)) throw new TypeError(message ?? typeErrorMessage("falsy", value));
|
|
833
|
+
}
|
|
834
|
+
function assertFloat32Array(value, message) {
|
|
835
|
+
if (!isFloat32Array(value)) throw new TypeError(message ?? typeErrorMessage("Float32Array", value));
|
|
836
|
+
}
|
|
837
|
+
function assertFloat64Array(value, message) {
|
|
838
|
+
if (!isFloat64Array(value)) throw new TypeError(message ?? typeErrorMessage("Float64Array", value));
|
|
839
|
+
}
|
|
840
|
+
function assertFormData(value, message) {
|
|
841
|
+
if (!isFormData(value)) throw new TypeError(message ?? typeErrorMessage("FormData", value));
|
|
842
|
+
}
|
|
843
|
+
function assertFunction(value, message) {
|
|
844
|
+
if (!isFunction(value)) throw new TypeError(message ?? typeErrorMessage("Function", value));
|
|
845
|
+
}
|
|
846
|
+
function assertGenerator(value, message) {
|
|
847
|
+
if (!isGenerator(value)) throw new TypeError(message ?? typeErrorMessage("Generator", value));
|
|
848
|
+
}
|
|
849
|
+
function assertGeneratorFunction(value, message) {
|
|
850
|
+
if (!isGeneratorFunction(value)) throw new TypeError(message ?? typeErrorMessage("GeneratorFunction", value));
|
|
851
|
+
}
|
|
852
|
+
function assertHtmlElement(value, message) {
|
|
853
|
+
if (!isHtmlElement(value)) throw new TypeError(message ?? typeErrorMessage("HTMLElement", value));
|
|
854
|
+
}
|
|
855
|
+
function assertInfinite(value, message) {
|
|
856
|
+
if (!isInfinite(value)) throw new TypeError(message ?? typeErrorMessage("infinite number", value));
|
|
857
|
+
}
|
|
858
|
+
function assertInRange(value, range, message) {
|
|
859
|
+
if (!isInRange(value, range)) throw new TypeError(message ?? typeErrorMessage("in range", value));
|
|
860
|
+
}
|
|
861
|
+
function assertInt16Array(value, message) {
|
|
862
|
+
if (!isInt16Array(value)) throw new TypeError(message ?? typeErrorMessage("Int16Array", value));
|
|
863
|
+
}
|
|
864
|
+
function assertInt32Array(value, message) {
|
|
865
|
+
if (!isInt32Array(value)) throw new TypeError(message ?? typeErrorMessage("Int32Array", value));
|
|
866
|
+
}
|
|
867
|
+
function assertInt8Array(value, message) {
|
|
868
|
+
if (!isInt8Array(value)) throw new TypeError(message ?? typeErrorMessage("Int8Array", value));
|
|
869
|
+
}
|
|
870
|
+
function assertInteger(value, message) {
|
|
871
|
+
if (!isInteger(value)) throw new TypeError(message ?? typeErrorMessage("integer", value));
|
|
872
|
+
}
|
|
873
|
+
function assertIterable(value, message) {
|
|
874
|
+
if (!isIterable(value)) throw new TypeError(message ?? typeErrorMessage("Iterable", value));
|
|
875
|
+
}
|
|
876
|
+
function assertMap(value, message) {
|
|
877
|
+
if (!isMap(value)) throw new TypeError(message ?? typeErrorMessage("Map", value));
|
|
878
|
+
}
|
|
879
|
+
function assertNan(value, message) {
|
|
880
|
+
if (!isNan(value)) throw new TypeError(message ?? typeErrorMessage("NaN", value));
|
|
881
|
+
}
|
|
882
|
+
function assertNativePromise(value, message) {
|
|
883
|
+
if (!isNativePromise(value)) throw new TypeError(message ?? typeErrorMessage("native Promise", value));
|
|
884
|
+
}
|
|
885
|
+
function assertNegativeNumber(value, message) {
|
|
886
|
+
if (!isNegativeNumber(value)) throw new TypeError(message ?? typeErrorMessage("negative number", value));
|
|
887
|
+
}
|
|
888
|
+
function assertNodeStream(value, message) {
|
|
889
|
+
if (!isNodeStream(value)) throw new TypeError(message ?? typeErrorMessage("Node.js Stream", value));
|
|
890
|
+
}
|
|
891
|
+
function assertNonEmptyArray(value, message) {
|
|
892
|
+
if (!isNonEmptyArray(value)) throw new TypeError(message ?? typeErrorMessage("non-empty array", value));
|
|
893
|
+
}
|
|
894
|
+
function assertNonEmptyMap(value, message) {
|
|
895
|
+
if (!isNonEmptyMap(value)) throw new TypeError(message ?? typeErrorMessage("non-empty map", value));
|
|
896
|
+
}
|
|
897
|
+
function assertNonEmptyObject(value, message) {
|
|
898
|
+
if (!isNonEmptyObject(value)) throw new TypeError(message ?? typeErrorMessage("non-empty object", value));
|
|
899
|
+
}
|
|
900
|
+
function assertNonEmptySet(value, message) {
|
|
901
|
+
if (!isNonEmptySet(value)) throw new TypeError(message ?? typeErrorMessage("non-empty set", value));
|
|
902
|
+
}
|
|
903
|
+
function assertNonEmptyString(value, message) {
|
|
904
|
+
if (!isNonEmptyString(value)) throw new TypeError(message ?? typeErrorMessage("non-empty string", value));
|
|
905
|
+
}
|
|
906
|
+
function assertNonEmptyStringAndNotWhitespace(value, message) {
|
|
907
|
+
if (!isNonEmptyStringAndNotWhitespace(value)) throw new TypeError(message ?? typeErrorMessage("non-empty string and not whitespace", value));
|
|
908
|
+
}
|
|
909
|
+
function assertNull(value, message) {
|
|
910
|
+
if (!isNull(value)) throw new TypeError(message ?? typeErrorMessage("null", value));
|
|
911
|
+
}
|
|
912
|
+
function assertNullOrUndefined(value, message) {
|
|
913
|
+
if (!isNullOrUndefined(value)) throw new TypeError(message ?? typeErrorMessage("null or undefined", value));
|
|
914
|
+
}
|
|
915
|
+
function assertNumber(value, message) {
|
|
916
|
+
if (!isNumber(value)) throw new TypeError(message ?? typeErrorMessage("number", value));
|
|
917
|
+
}
|
|
918
|
+
function assertNumericString(value, message) {
|
|
919
|
+
if (!isNumericString(value)) throw new TypeError(message ?? typeErrorMessage("string with a number", value));
|
|
920
|
+
}
|
|
921
|
+
function assertObject(value, message) {
|
|
922
|
+
if (!isObject(value)) throw new TypeError(message ?? typeErrorMessage("Object", value));
|
|
923
|
+
}
|
|
924
|
+
function assertObservable(value, message) {
|
|
925
|
+
if (!isObservable(value)) throw new TypeError(message ?? typeErrorMessage("Observable", value));
|
|
926
|
+
}
|
|
927
|
+
function assertOddInteger(value, message) {
|
|
928
|
+
if (!isOddInteger(value)) throw new TypeError(message ?? typeErrorMessage("odd integer", value));
|
|
929
|
+
}
|
|
930
|
+
function assertPlainObject(value, message) {
|
|
931
|
+
if (!isPlainObject(value)) throw new TypeError(message ?? typeErrorMessage("plain object", value));
|
|
932
|
+
}
|
|
933
|
+
function assertPositiveNumber(value, message) {
|
|
934
|
+
if (!isPositiveNumber(value)) throw new TypeError(message ?? typeErrorMessage("positive number", value));
|
|
935
|
+
}
|
|
936
|
+
function assertPrimitive(value, message) {
|
|
937
|
+
if (!isPrimitive(value)) throw new TypeError(message ?? typeErrorMessage("primitive", value));
|
|
938
|
+
}
|
|
939
|
+
function assertPromise(value, message) {
|
|
940
|
+
if (!isPromise(value)) throw new TypeError(message ?? typeErrorMessage("Promise", value));
|
|
941
|
+
}
|
|
942
|
+
function assertPropertyKey(value, message) {
|
|
943
|
+
if (!isPropertyKey(value)) throw new TypeError(message ?? typeErrorMessage("PropertyKey", value));
|
|
944
|
+
}
|
|
945
|
+
function assertRegExp(value, message) {
|
|
946
|
+
if (!isRegExp(value)) throw new TypeError(message ?? typeErrorMessage("RegExp", value));
|
|
947
|
+
}
|
|
948
|
+
function assertSafeInteger(value, message) {
|
|
949
|
+
if (!isSafeInteger(value)) throw new TypeError(message ?? typeErrorMessage("integer", value));
|
|
950
|
+
}
|
|
951
|
+
function assertSet(value, message) {
|
|
952
|
+
if (!isSet(value)) throw new TypeError(message ?? typeErrorMessage("Set", value));
|
|
953
|
+
}
|
|
954
|
+
function assertSharedArrayBuffer(value, message) {
|
|
955
|
+
if (!isSharedArrayBuffer(value)) throw new TypeError(message ?? typeErrorMessage("SharedArrayBuffer", value));
|
|
956
|
+
}
|
|
957
|
+
function assertString(value, message) {
|
|
958
|
+
if (!isString(value)) throw new TypeError(message ?? typeErrorMessage("string", value));
|
|
959
|
+
}
|
|
960
|
+
function assertSymbol(value, message) {
|
|
961
|
+
if (!isSymbol(value)) throw new TypeError(message ?? typeErrorMessage("symbol", value));
|
|
962
|
+
}
|
|
963
|
+
function assertTruthy(value, message) {
|
|
964
|
+
if (!isTruthy(value)) throw new TypeError(message ?? typeErrorMessage("truthy", value));
|
|
965
|
+
}
|
|
966
|
+
function assertTupleLike(value, guards, message) {
|
|
967
|
+
if (!isTupleLike(value, guards)) throw new TypeError(message ?? typeErrorMessage("tuple-like", value));
|
|
968
|
+
}
|
|
969
|
+
function assertTypedArray(value, message) {
|
|
970
|
+
if (!isTypedArray(value)) throw new TypeError(message ?? typeErrorMessage("TypedArray", value));
|
|
971
|
+
}
|
|
972
|
+
function assertUint16Array(value, message) {
|
|
973
|
+
if (!isUint16Array(value)) throw new TypeError(message ?? typeErrorMessage("Uint16Array", value));
|
|
974
|
+
}
|
|
975
|
+
function assertUint32Array(value, message) {
|
|
976
|
+
if (!isUint32Array(value)) throw new TypeError(message ?? typeErrorMessage("Uint32Array", value));
|
|
977
|
+
}
|
|
978
|
+
function assertUint8Array(value, message) {
|
|
979
|
+
if (!isUint8Array(value)) throw new TypeError(message ?? typeErrorMessage("Uint8Array", value));
|
|
980
|
+
}
|
|
981
|
+
function assertUint8ClampedArray(value, message) {
|
|
982
|
+
if (!isUint8ClampedArray(value)) throw new TypeError(message ?? typeErrorMessage("Uint8ClampedArray", value));
|
|
983
|
+
}
|
|
984
|
+
function assertUndefined(value, message) {
|
|
985
|
+
if (!isUndefined(value)) throw new TypeError(message ?? typeErrorMessage("undefined", value));
|
|
986
|
+
}
|
|
987
|
+
function assertUrlInstance(value, message) {
|
|
988
|
+
if (!isUrlInstance(value)) throw new TypeError(message ?? typeErrorMessage("URL", value));
|
|
989
|
+
}
|
|
990
|
+
function assertUrlSearchParams(value, message) {
|
|
991
|
+
if (!isUrlSearchParams(value)) throw new TypeError(message ?? typeErrorMessage("URLSearchParams", value));
|
|
992
|
+
}
|
|
993
|
+
function assertUrlString(value, message) {
|
|
994
|
+
if (!isUrlString(value)) throw new TypeError(message ?? typeErrorMessage("string with a URL", value));
|
|
995
|
+
}
|
|
996
|
+
function assertValidDate(value, message) {
|
|
997
|
+
if (!isValidDate(value)) throw new TypeError(message ?? typeErrorMessage("valid Date", value));
|
|
998
|
+
}
|
|
999
|
+
function assertValidLength(value, message) {
|
|
1000
|
+
if (!isValidLength(value)) throw new TypeError(message ?? typeErrorMessage("valid length", value));
|
|
1001
|
+
}
|
|
1002
|
+
function assertWeakMap(value, message) {
|
|
1003
|
+
if (!isWeakMap(value)) throw new TypeError(message ?? typeErrorMessage("WeakMap", value));
|
|
1004
|
+
}
|
|
1005
|
+
function assertWeakRef(value, message) {
|
|
1006
|
+
if (!isWeakRef(value)) throw new TypeError(message ?? typeErrorMessage("WeakRef", value));
|
|
1007
|
+
}
|
|
1008
|
+
function assertWeakSet(value, message) {
|
|
1009
|
+
if (!isWeakSet(value)) throw new TypeError(message ?? typeErrorMessage("WeakSet", value));
|
|
1010
|
+
}
|
|
1011
|
+
function assertWhitespaceString(value, message) {
|
|
1012
|
+
if (!isWhitespaceString(value)) throw new TypeError(message ?? typeErrorMessage("whitespace string", value));
|
|
1013
|
+
}
|
|
1014
|
+
//#endregion
|
|
1015
|
+
export { assert, assertAll, assertAny, assertArray, assertArrayBuffer, assertArrayLike, assertAsyncFunction, assertAsyncGenerator, assertAsyncGeneratorFunction, assertAsyncIterable, assertBigInt64Array, assertBigUint64Array, assertBigint, assertBlob, assertBoolean, assertBoundFunction, assertBuffer, assertClass, assertDataView, assertDate, assertDirectInstanceOf, assertEmptyArray, assertEmptyMap, assertEmptyObject, assertEmptySet, assertEmptyString, assertEmptyStringOrWhitespace, assertEnumCase, assertError, assertEvenInteger, assertFalsy, assertFloat32Array, assertFloat64Array, assertFormData, assertFunction, assertGenerator, assertGeneratorFunction, assertHtmlElement, assertInRange, assertInfinite, assertInt16Array, assertInt32Array, assertInt8Array, assertInteger, assertIterable, assertMap, assertNan, assertNativePromise, assertNegativeNumber, assertNodeStream, assertNonEmptyArray, assertNonEmptyMap, assertNonEmptyObject, assertNonEmptySet, assertNonEmptyString, assertNonEmptyStringAndNotWhitespace, assertNull, assertNullOrUndefined, assertNumber, assertNumericString, assertObject, assertObservable, assertOddInteger, assertOptional, assertPlainObject, assertPositiveNumber, assertPrimitive, assertPromise, assertPropertyKey, assertRegExp, assertSafeInteger, assertSet, assertSharedArrayBuffer, assertString, assertSymbol, assertTruthy, assertTupleLike, assertTypedArray, assertUint16Array, assertUint32Array, assertUint8Array, assertUint8ClampedArray, assertUndefined, assertUrlInstance, assertUrlSearchParams, assertUrlString, assertValidDate, assertValidLength, assertWeakMap, assertWeakRef, assertWeakSet, assertWhitespaceString, is as default, isAll, isAny, isArray, isArrayBuffer, isArrayLike, isAsyncFunction, isAsyncGenerator, isAsyncGeneratorFunction, isAsyncIterable, isBigInt64Array, isBigUint64Array, isBigint, isBlob, isBoolean, isBoundFunction, isBuffer, isClass, isDataView, isDate, isDirectInstanceOf, isEmptyArray, isEmptyMap, isEmptyObject, isEmptySet, isEmptyString, isEmptyStringOrWhitespace, isEnumCase, isError, isEvenInteger, isFalsy, isFloat32Array, isFloat64Array, isFormData, isFunction, isGenerator, isGeneratorFunction, isHtmlElement, isInRange, isInfinite, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isMap, isNan, isNativePromise, isNegativeNumber, isNodeStream, isNonEmptyArray, isNonEmptyMap, isNonEmptyObject, isNonEmptySet, isNonEmptyString, isNonEmptyStringAndNotWhitespace, isNull, isNullOrUndefined, isNumber, isNumericString, isObject, isObservable, isOddInteger, isOptional, isPlainObject, isPositiveNumber, isPrimitive, isPromise, isPropertyKey, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isTruthy, isTupleLike, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isUrlInstance, isUrlSearchParams, isUrlString, isValidDate, isValidLength, isWeakMap, isWeakRef, isWeakSet, isWhitespaceString };
|