@goodpeanuts/dsh-sui 0.0.0-stage → 0.1.1
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 +102 -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 +23756 -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 +431 -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 +101 -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 +2529 -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 +15448 -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,923 @@
|
|
|
1
|
+
import is, { isBuffer } from "../../../../../../@sindresorhus_is@7.2.0/node_modules/@sindresorhus/is/distribution/index.mjs";
|
|
2
|
+
import { AbortError, CacheError, HTTPError, MaxRedirectsError, ReadError, RequestError, TimeoutError, UploadError } from "./errors.mjs";
|
|
3
|
+
import { byteLength } from "../../../../../../byte-counter@0.1.0/node_modules/byte-counter/utilities.mjs";
|
|
4
|
+
import { CacheError as CacheError$1 } from "../../../../../../cacheable-request@13.0.19/node_modules/cacheable-request/dist/types.mjs";
|
|
5
|
+
import CacheableRequest from "../../../../../../cacheable-request@13.0.19/node_modules/cacheable-request/dist/index.mjs";
|
|
6
|
+
import decompressResponse from "../../../../../../decompress-response@10.0.0/node_modules/decompress-response/index.mjs";
|
|
7
|
+
import { FormDataEncoder, isFormData } from "../../../../../../form-data-encoder@4.1.0/node_modules/form-data-encoder/lib/index.mjs";
|
|
8
|
+
import timer from "./utils/timer.mjs";
|
|
9
|
+
import isFormData$1 from "./utils/is-form-data.mjs";
|
|
10
|
+
import getBodySize from "./utils/get-body-size.mjs";
|
|
11
|
+
import proxyEvents from "./utils/proxy-events.mjs";
|
|
12
|
+
import timedOut, { TimeoutError as TimeoutError$1 } from "./timed-out.mjs";
|
|
13
|
+
import urlToOptions from "./utils/url-to-options.mjs";
|
|
14
|
+
import WeakableMap from "./utils/weakable-map.mjs";
|
|
15
|
+
import calculateRetryDelay from "./calculate-retry-delay.mjs";
|
|
16
|
+
import Options from "./options.mjs";
|
|
17
|
+
import { isResponseOk } from "./response.mjs";
|
|
18
|
+
import isClientRequest from "./utils/is-client-request.mjs";
|
|
19
|
+
import isUnixSocketURL, { getUnixSocketPath } from "./utils/is-unix-socket-url.mjs";
|
|
20
|
+
import { generateRequestId, publishError, publishRedirect, publishRequestCreate, publishRequestStart, publishResponseEnd, publishResponseStart, publishRetry } from "./diagnostics-channel.mjs";
|
|
21
|
+
import { Duplex } from "node:stream";
|
|
22
|
+
import http, { ServerResponse } from "node:http";
|
|
23
|
+
import { Buffer } from "node:buffer";
|
|
24
|
+
import process from "node:process";
|
|
25
|
+
//#region ../../node_modules/.pnpm/got@14.6.5/node_modules/got/dist/source/core/index.js
|
|
26
|
+
const supportsBrotli = is.string(process.versions.brotli);
|
|
27
|
+
const supportsZstd = is.string(process.versions.zstd);
|
|
28
|
+
const methodsWithoutBody = /* @__PURE__ */ new Set(["GET", "HEAD"]);
|
|
29
|
+
const methodsWithoutBodyStream = /* @__PURE__ */ new Set([
|
|
30
|
+
"OPTIONS",
|
|
31
|
+
"DELETE",
|
|
32
|
+
"PATCH"
|
|
33
|
+
]);
|
|
34
|
+
const cacheableStore = new WeakableMap();
|
|
35
|
+
const redirectCodes = /* @__PURE__ */ new Set([
|
|
36
|
+
300,
|
|
37
|
+
301,
|
|
38
|
+
302,
|
|
39
|
+
303,
|
|
40
|
+
304,
|
|
41
|
+
307,
|
|
42
|
+
308
|
|
43
|
+
]);
|
|
44
|
+
const errorsProcessedByHooks = /* @__PURE__ */ new WeakSet();
|
|
45
|
+
const proxiedRequestEvents = [
|
|
46
|
+
"socket",
|
|
47
|
+
"connect",
|
|
48
|
+
"continue",
|
|
49
|
+
"information",
|
|
50
|
+
"upgrade"
|
|
51
|
+
];
|
|
52
|
+
const noop = () => {};
|
|
53
|
+
var Request = class Request extends Duplex {
|
|
54
|
+
["constructor"];
|
|
55
|
+
_noPipe;
|
|
56
|
+
options;
|
|
57
|
+
response;
|
|
58
|
+
requestUrl;
|
|
59
|
+
redirectUrls = [];
|
|
60
|
+
retryCount = 0;
|
|
61
|
+
_stopReading = false;
|
|
62
|
+
_stopRetry = noop;
|
|
63
|
+
_downloadedSize = 0;
|
|
64
|
+
_uploadedSize = 0;
|
|
65
|
+
_pipedServerResponses = /* @__PURE__ */ new Set();
|
|
66
|
+
_request;
|
|
67
|
+
_responseSize;
|
|
68
|
+
_bodySize;
|
|
69
|
+
_unproxyEvents = noop;
|
|
70
|
+
_isFromCache;
|
|
71
|
+
_triggerRead = false;
|
|
72
|
+
_jobs = [];
|
|
73
|
+
_cancelTimeouts = noop;
|
|
74
|
+
_removeListeners = noop;
|
|
75
|
+
_nativeResponse;
|
|
76
|
+
_flushed = false;
|
|
77
|
+
_aborted = false;
|
|
78
|
+
_expectedContentLength;
|
|
79
|
+
_compressedBytesCount;
|
|
80
|
+
_requestId = generateRequestId();
|
|
81
|
+
_requestInitialized = false;
|
|
82
|
+
constructor(url, options, defaults) {
|
|
83
|
+
super({
|
|
84
|
+
autoDestroy: false,
|
|
85
|
+
highWaterMark: 0
|
|
86
|
+
});
|
|
87
|
+
this.on("pipe", (source) => {
|
|
88
|
+
if (this.options.copyPipedHeaders && source?.headers) Object.assign(this.options.headers, source.headers);
|
|
89
|
+
});
|
|
90
|
+
this.on("newListener", (event) => {
|
|
91
|
+
if (event === "retry" && this.listenerCount("retry") > 0) throw new Error("A retry listener has been attached already.");
|
|
92
|
+
});
|
|
93
|
+
try {
|
|
94
|
+
this.options = new Options(url, options, defaults);
|
|
95
|
+
if (!this.options.url) {
|
|
96
|
+
if (this.options.prefixUrl === "") throw new TypeError("Missing `url` property");
|
|
97
|
+
this.options.url = "";
|
|
98
|
+
}
|
|
99
|
+
this.requestUrl = this.options.url;
|
|
100
|
+
publishRequestCreate({
|
|
101
|
+
requestId: this._requestId,
|
|
102
|
+
url: this.options.url?.toString() ?? "",
|
|
103
|
+
method: this.options.method
|
|
104
|
+
});
|
|
105
|
+
} catch (error) {
|
|
106
|
+
const { options } = error;
|
|
107
|
+
if (options) this.options = options;
|
|
108
|
+
this.flush = async () => {
|
|
109
|
+
this.flush = async () => {};
|
|
110
|
+
process.nextTick(() => {
|
|
111
|
+
if (this.options) this._beforeError(error);
|
|
112
|
+
else {
|
|
113
|
+
const requestError = error instanceof RequestError ? error : new RequestError(error.message, error, this);
|
|
114
|
+
this.destroy(requestError);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const { body } = this.options;
|
|
121
|
+
if (is.nodeStream(body)) body.once("error", (error) => {
|
|
122
|
+
if (this._flushed) this._beforeError(new UploadError(error, this));
|
|
123
|
+
else this.flush = async () => {
|
|
124
|
+
this.flush = async () => {};
|
|
125
|
+
this._beforeError(new UploadError(error, this));
|
|
126
|
+
};
|
|
127
|
+
});
|
|
128
|
+
if (this.options.signal) {
|
|
129
|
+
const abort = () => {
|
|
130
|
+
if (this.options.signal?.reason?.name === "TimeoutError") this.destroy(new TimeoutError(this.options.signal.reason, this.timings, this));
|
|
131
|
+
else this.destroy(new AbortError(this));
|
|
132
|
+
};
|
|
133
|
+
if (this.options.signal.aborted) abort();
|
|
134
|
+
else {
|
|
135
|
+
this.options.signal.addEventListener("abort", abort);
|
|
136
|
+
this._removeListeners = () => {
|
|
137
|
+
this.options.signal?.removeEventListener("abort", abort);
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
async flush() {
|
|
143
|
+
if (this._flushed) return;
|
|
144
|
+
this._flushed = true;
|
|
145
|
+
try {
|
|
146
|
+
await this._finalizeBody();
|
|
147
|
+
if (this.destroyed) return;
|
|
148
|
+
await this._makeRequest();
|
|
149
|
+
if (this.destroyed) {
|
|
150
|
+
this._request?.destroy();
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
for (const job of this._jobs) job();
|
|
154
|
+
this._jobs.length = 0;
|
|
155
|
+
this._requestInitialized = true;
|
|
156
|
+
} catch (error) {
|
|
157
|
+
this._beforeError(error);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
_beforeError(error) {
|
|
161
|
+
if (this._stopReading) return;
|
|
162
|
+
const { response, options } = this;
|
|
163
|
+
const attemptCount = this.retryCount + (error.name === "RetryError" ? 0 : 1);
|
|
164
|
+
this._stopReading = true;
|
|
165
|
+
if (!(error instanceof RequestError)) error = new RequestError(error.message, error, this);
|
|
166
|
+
const typedError = error;
|
|
167
|
+
(async () => {
|
|
168
|
+
if (response?.readable && !response.rawBody && !this._request?.socket?.destroyed) {
|
|
169
|
+
response.setEncoding(this.readableEncoding);
|
|
170
|
+
if (await this._setRawBody(response)) response.body = response.rawBody.toString();
|
|
171
|
+
}
|
|
172
|
+
if (this.listenerCount("retry") !== 0) {
|
|
173
|
+
let backoff;
|
|
174
|
+
try {
|
|
175
|
+
let retryAfter;
|
|
176
|
+
if (response && "retry-after" in response.headers) {
|
|
177
|
+
retryAfter = Number(response.headers["retry-after"]);
|
|
178
|
+
if (Number.isNaN(retryAfter)) {
|
|
179
|
+
retryAfter = Date.parse(response.headers["retry-after"]) - Date.now();
|
|
180
|
+
if (retryAfter <= 0) retryAfter = 1;
|
|
181
|
+
} else retryAfter *= 1e3;
|
|
182
|
+
}
|
|
183
|
+
const retryOptions = options.retry;
|
|
184
|
+
const computedValue = calculateRetryDelay({
|
|
185
|
+
attemptCount,
|
|
186
|
+
retryOptions,
|
|
187
|
+
error: typedError,
|
|
188
|
+
retryAfter,
|
|
189
|
+
computedValue: retryOptions.maxRetryAfter ?? options.timeout.request ?? Number.POSITIVE_INFINITY
|
|
190
|
+
});
|
|
191
|
+
if (retryOptions.enforceRetryRules && computedValue === 0) backoff = 0;
|
|
192
|
+
else backoff = await retryOptions.calculateDelay({
|
|
193
|
+
attemptCount,
|
|
194
|
+
retryOptions,
|
|
195
|
+
error: typedError,
|
|
196
|
+
retryAfter,
|
|
197
|
+
computedValue
|
|
198
|
+
});
|
|
199
|
+
} catch (error_) {
|
|
200
|
+
this._error(new RequestError(error_.message, error_, this));
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
if (backoff) {
|
|
204
|
+
await new Promise((resolve) => {
|
|
205
|
+
const timeout = setTimeout(resolve, backoff);
|
|
206
|
+
this._stopRetry = () => {
|
|
207
|
+
clearTimeout(timeout);
|
|
208
|
+
resolve();
|
|
209
|
+
};
|
|
210
|
+
});
|
|
211
|
+
if (this.destroyed) return;
|
|
212
|
+
const bodyBeforeHooks = this.options.body;
|
|
213
|
+
try {
|
|
214
|
+
for (const hook of this.options.hooks.beforeRetry) await hook(typedError, this.retryCount + 1);
|
|
215
|
+
} catch (error_) {
|
|
216
|
+
this._error(new RequestError(error_.message, error_, this));
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
if (this.destroyed) return;
|
|
220
|
+
const bodyAfterHooks = this.options.body;
|
|
221
|
+
if (bodyBeforeHooks !== bodyAfterHooks) {
|
|
222
|
+
const oldBody = bodyBeforeHooks;
|
|
223
|
+
this.options.body = void 0;
|
|
224
|
+
this.destroy();
|
|
225
|
+
if (is.nodeStream(oldBody) && oldBody !== bodyAfterHooks) oldBody.destroy();
|
|
226
|
+
if (is.nodeStream(bodyAfterHooks) && (bodyAfterHooks.readableEnded || bodyAfterHooks.destroyed)) throw new TypeError("The reassigned stream body must be readable. Ensure you provide a fresh, readable stream in the beforeRetry hook.");
|
|
227
|
+
this.options._internals.body = bodyAfterHooks;
|
|
228
|
+
} else this.destroy();
|
|
229
|
+
publishRetry({
|
|
230
|
+
requestId: this._requestId,
|
|
231
|
+
retryCount: this.retryCount + 1,
|
|
232
|
+
error: typedError,
|
|
233
|
+
delay: backoff
|
|
234
|
+
});
|
|
235
|
+
this.emit("retry", this.retryCount + 1, error, (updatedOptions) => {
|
|
236
|
+
const request = new Request(options.url, updatedOptions, options);
|
|
237
|
+
request.retryCount = this.retryCount + 1;
|
|
238
|
+
process.nextTick(() => {
|
|
239
|
+
request.flush();
|
|
240
|
+
});
|
|
241
|
+
return request;
|
|
242
|
+
});
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
this._error(typedError);
|
|
247
|
+
})();
|
|
248
|
+
}
|
|
249
|
+
_read() {
|
|
250
|
+
this._triggerRead = true;
|
|
251
|
+
const { response } = this;
|
|
252
|
+
if (response && !this._stopReading) {
|
|
253
|
+
if (response.readableLength) this._triggerRead = false;
|
|
254
|
+
let data;
|
|
255
|
+
while ((data = response.read()) !== null) {
|
|
256
|
+
this._downloadedSize += data.length;
|
|
257
|
+
const progress = this.downloadProgress;
|
|
258
|
+
if (progress.percent < 1) this.emit("downloadProgress", progress);
|
|
259
|
+
this.push(data);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
_write(chunk, encoding, callback) {
|
|
264
|
+
const write = () => {
|
|
265
|
+
this._writeRequest(chunk, encoding, callback);
|
|
266
|
+
};
|
|
267
|
+
if (this._requestInitialized) write();
|
|
268
|
+
else this._jobs.push(write);
|
|
269
|
+
}
|
|
270
|
+
_final(callback) {
|
|
271
|
+
const endRequest = () => {
|
|
272
|
+
if (!this._request || this._request.destroyed) {
|
|
273
|
+
callback();
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
this._request.end((error) => {
|
|
277
|
+
if (this._request?._writableState?.errored) return;
|
|
278
|
+
if (!error) {
|
|
279
|
+
this._bodySize = this._uploadedSize;
|
|
280
|
+
this.emit("uploadProgress", this.uploadProgress);
|
|
281
|
+
this._request?.emit("upload-complete");
|
|
282
|
+
}
|
|
283
|
+
callback(error);
|
|
284
|
+
});
|
|
285
|
+
};
|
|
286
|
+
if (this._requestInitialized) endRequest();
|
|
287
|
+
else this._jobs.push(endRequest);
|
|
288
|
+
}
|
|
289
|
+
_destroy(error, callback) {
|
|
290
|
+
this._stopReading = true;
|
|
291
|
+
this.flush = async () => {};
|
|
292
|
+
this._stopRetry();
|
|
293
|
+
this._cancelTimeouts();
|
|
294
|
+
this._removeListeners();
|
|
295
|
+
if (this.options) {
|
|
296
|
+
const { body } = this.options;
|
|
297
|
+
if (is.nodeStream(body)) body.destroy();
|
|
298
|
+
}
|
|
299
|
+
if (this._request) this._request.destroy();
|
|
300
|
+
const timings = this._request?.timings;
|
|
301
|
+
if (timings && is.undefined(timings.end) && !is.undefined(timings.response) && is.undefined(timings.error) && is.undefined(timings.abort)) {
|
|
302
|
+
timings.end = Date.now();
|
|
303
|
+
if (is.undefined(timings.phases.total)) {
|
|
304
|
+
timings.phases.download = timings.end - timings.response;
|
|
305
|
+
timings.phases.total = timings.end - timings.start;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
if (error !== null && !is.undefined(error)) {
|
|
309
|
+
if (!(error instanceof Error && errorsProcessedByHooks.has(error)) && !(error instanceof RequestError)) error = error instanceof Error ? new RequestError(error.message, error, this) : new RequestError(String(error), {}, this);
|
|
310
|
+
}
|
|
311
|
+
callback(error);
|
|
312
|
+
}
|
|
313
|
+
pipe(destination, options) {
|
|
314
|
+
if (destination instanceof ServerResponse) this._pipedServerResponses.add(destination);
|
|
315
|
+
return super.pipe(destination, options);
|
|
316
|
+
}
|
|
317
|
+
unpipe(destination) {
|
|
318
|
+
if (destination instanceof ServerResponse) this._pipedServerResponses.delete(destination);
|
|
319
|
+
super.unpipe(destination);
|
|
320
|
+
return this;
|
|
321
|
+
}
|
|
322
|
+
_checkContentLengthMismatch() {
|
|
323
|
+
if (this.options.strictContentLength && this._expectedContentLength !== void 0) {
|
|
324
|
+
const actualSize = this._compressedBytesCount ?? this._downloadedSize;
|
|
325
|
+
if (actualSize !== this._expectedContentLength) {
|
|
326
|
+
this._beforeError(new ReadError({
|
|
327
|
+
message: `Content-Length mismatch: expected ${this._expectedContentLength} bytes, received ${actualSize} bytes`,
|
|
328
|
+
name: "Error",
|
|
329
|
+
code: "ERR_HTTP_CONTENT_LENGTH_MISMATCH"
|
|
330
|
+
}, this));
|
|
331
|
+
return true;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
return false;
|
|
335
|
+
}
|
|
336
|
+
async _finalizeBody() {
|
|
337
|
+
const { options } = this;
|
|
338
|
+
const { headers } = options;
|
|
339
|
+
const isForm = !is.undefined(options.form);
|
|
340
|
+
const isJSON = !is.undefined(options.json);
|
|
341
|
+
const isBody = !is.undefined(options.body);
|
|
342
|
+
const cannotHaveBody = methodsWithoutBody.has(options.method) && !(options.method === "GET" && options.allowGetBody);
|
|
343
|
+
if (isForm || isJSON || isBody) {
|
|
344
|
+
if (cannotHaveBody) throw new TypeError(`The \`${options.method}\` method cannot be used with a body`);
|
|
345
|
+
const noContentType = !is.string(headers["content-type"]);
|
|
346
|
+
if (isBody) {
|
|
347
|
+
if (isFormData(options.body)) {
|
|
348
|
+
const encoder = new FormDataEncoder(options.body);
|
|
349
|
+
if (noContentType) headers["content-type"] = encoder.headers["Content-Type"];
|
|
350
|
+
if ("Content-Length" in encoder.headers) headers["content-length"] = encoder.headers["Content-Length"];
|
|
351
|
+
options.body = encoder.encode();
|
|
352
|
+
}
|
|
353
|
+
if (isFormData$1(options.body) && noContentType) headers["content-type"] = `multipart/form-data; boundary=${options.body.getBoundary()}`;
|
|
354
|
+
} else if (isForm) {
|
|
355
|
+
if (noContentType) headers["content-type"] = "application/x-www-form-urlencoded";
|
|
356
|
+
const { form } = options;
|
|
357
|
+
options.form = void 0;
|
|
358
|
+
options.body = new URLSearchParams(form).toString();
|
|
359
|
+
} else {
|
|
360
|
+
if (noContentType) headers["content-type"] = "application/json";
|
|
361
|
+
const { json } = options;
|
|
362
|
+
options.json = void 0;
|
|
363
|
+
options.body = options.stringifyJson(json);
|
|
364
|
+
}
|
|
365
|
+
const uploadBodySize = await getBodySize(options.body, options.headers);
|
|
366
|
+
if (is.undefined(headers["content-length"]) && is.undefined(headers["transfer-encoding"]) && !cannotHaveBody && !is.undefined(uploadBodySize)) headers["content-length"] = String(uploadBodySize);
|
|
367
|
+
}
|
|
368
|
+
if (options.responseType === "json" && !("accept" in options.headers)) options.headers.accept = "application/json";
|
|
369
|
+
this._bodySize = Number(headers["content-length"]) || void 0;
|
|
370
|
+
}
|
|
371
|
+
async _onResponseBase(response) {
|
|
372
|
+
if (this.isAborted) return;
|
|
373
|
+
const { options } = this;
|
|
374
|
+
const { url } = options;
|
|
375
|
+
this._nativeResponse = response;
|
|
376
|
+
const statusCode = response.statusCode;
|
|
377
|
+
const { method } = options;
|
|
378
|
+
const hasNoBody = method === "HEAD" || statusCode >= 100 && statusCode < 200 || statusCode === 204 || statusCode === 205 || statusCode === 304;
|
|
379
|
+
if (options.decompress && !hasNoBody) {
|
|
380
|
+
if (options.strictContentLength) {
|
|
381
|
+
this._compressedBytesCount = 0;
|
|
382
|
+
this._nativeResponse.on("data", (chunk) => {
|
|
383
|
+
this._compressedBytesCount += byteLength(chunk);
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
response = decompressResponse(response);
|
|
387
|
+
}
|
|
388
|
+
const typedResponse = response;
|
|
389
|
+
typedResponse.statusMessage = typedResponse.statusMessage || http.STATUS_CODES[statusCode];
|
|
390
|
+
typedResponse.url = options.url.toString();
|
|
391
|
+
typedResponse.requestUrl = this.requestUrl;
|
|
392
|
+
typedResponse.redirectUrls = this.redirectUrls;
|
|
393
|
+
typedResponse.request = this;
|
|
394
|
+
typedResponse.isFromCache = this._nativeResponse.fromCache ?? false;
|
|
395
|
+
typedResponse.ip = this.ip;
|
|
396
|
+
typedResponse.retryCount = this.retryCount;
|
|
397
|
+
typedResponse.ok = isResponseOk(typedResponse);
|
|
398
|
+
this._isFromCache = typedResponse.isFromCache;
|
|
399
|
+
this._responseSize = Number(response.headers["content-length"]) || void 0;
|
|
400
|
+
this.response = typedResponse;
|
|
401
|
+
publishResponseStart({
|
|
402
|
+
requestId: this._requestId,
|
|
403
|
+
url: typedResponse.url,
|
|
404
|
+
statusCode,
|
|
405
|
+
headers: response.headers,
|
|
406
|
+
isFromCache: typedResponse.isFromCache
|
|
407
|
+
});
|
|
408
|
+
response.once("error", (error) => {
|
|
409
|
+
this._aborted = true;
|
|
410
|
+
response.destroy();
|
|
411
|
+
this._beforeError(new ReadError(error, this));
|
|
412
|
+
});
|
|
413
|
+
response.once("aborted", () => {
|
|
414
|
+
this._aborted = true;
|
|
415
|
+
if (!this._checkContentLengthMismatch()) this._beforeError(new ReadError({
|
|
416
|
+
name: "Error",
|
|
417
|
+
message: "The server aborted pending request",
|
|
418
|
+
code: "ECONNRESET"
|
|
419
|
+
}, this));
|
|
420
|
+
});
|
|
421
|
+
const rawCookies = response.headers["set-cookie"];
|
|
422
|
+
if (is.object(options.cookieJar) && rawCookies) {
|
|
423
|
+
let promises = rawCookies.map(async (rawCookie) => options.cookieJar.setCookie(rawCookie, url.toString()));
|
|
424
|
+
if (options.ignoreInvalidCookies) promises = promises.map(async (promise) => {
|
|
425
|
+
try {
|
|
426
|
+
await promise;
|
|
427
|
+
} catch {}
|
|
428
|
+
});
|
|
429
|
+
try {
|
|
430
|
+
await Promise.all(promises);
|
|
431
|
+
} catch (error) {
|
|
432
|
+
this._beforeError(error);
|
|
433
|
+
return;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
if (this.isAborted) return;
|
|
437
|
+
if (response.headers.location && redirectCodes.has(statusCode)) {
|
|
438
|
+
if (typeof options.followRedirect === "function" ? options.followRedirect(typedResponse) : options.followRedirect) {
|
|
439
|
+
response.resume();
|
|
440
|
+
this._cancelTimeouts();
|
|
441
|
+
this._unproxyEvents();
|
|
442
|
+
if (this.redirectUrls.length >= options.maxRedirects) {
|
|
443
|
+
this._beforeError(new MaxRedirectsError(this));
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
this._request = void 0;
|
|
447
|
+
this._downloadedSize = 0;
|
|
448
|
+
const updatedOptions = new Options(void 0, void 0, this.options);
|
|
449
|
+
const serverRequestedGet = statusCode === 303 && updatedOptions.method !== "GET" && updatedOptions.method !== "HEAD";
|
|
450
|
+
const canRewrite = statusCode !== 307 && statusCode !== 308;
|
|
451
|
+
const userRequestedGet = updatedOptions.methodRewriting && canRewrite;
|
|
452
|
+
if (serverRequestedGet || userRequestedGet) {
|
|
453
|
+
updatedOptions.method = "GET";
|
|
454
|
+
updatedOptions.body = void 0;
|
|
455
|
+
updatedOptions.json = void 0;
|
|
456
|
+
updatedOptions.form = void 0;
|
|
457
|
+
delete updatedOptions.headers["content-length"];
|
|
458
|
+
}
|
|
459
|
+
try {
|
|
460
|
+
const redirectBuffer = Buffer.from(response.headers.location, "binary").toString();
|
|
461
|
+
const redirectUrl = new URL(redirectBuffer, url);
|
|
462
|
+
if (!isUnixSocketURL(url) && isUnixSocketURL(redirectUrl)) {
|
|
463
|
+
this._beforeError(new RequestError("Cannot redirect to UNIX socket", {}, this));
|
|
464
|
+
return;
|
|
465
|
+
}
|
|
466
|
+
if (redirectUrl.hostname !== url.hostname || redirectUrl.port !== url.port || getUnixSocketPath(url) !== getUnixSocketPath(redirectUrl)) {
|
|
467
|
+
if ("host" in updatedOptions.headers) delete updatedOptions.headers.host;
|
|
468
|
+
if ("cookie" in updatedOptions.headers) delete updatedOptions.headers.cookie;
|
|
469
|
+
if ("authorization" in updatedOptions.headers) delete updatedOptions.headers.authorization;
|
|
470
|
+
if (updatedOptions.username || updatedOptions.password) {
|
|
471
|
+
updatedOptions.username = "";
|
|
472
|
+
updatedOptions.password = "";
|
|
473
|
+
}
|
|
474
|
+
} else {
|
|
475
|
+
redirectUrl.username = updatedOptions.username;
|
|
476
|
+
redirectUrl.password = updatedOptions.password;
|
|
477
|
+
}
|
|
478
|
+
this.redirectUrls.push(redirectUrl);
|
|
479
|
+
updatedOptions.url = redirectUrl;
|
|
480
|
+
for (const hook of updatedOptions.hooks.beforeRedirect) await hook(updatedOptions, typedResponse);
|
|
481
|
+
publishRedirect({
|
|
482
|
+
requestId: this._requestId,
|
|
483
|
+
fromUrl: url.toString(),
|
|
484
|
+
toUrl: redirectUrl.toString(),
|
|
485
|
+
statusCode
|
|
486
|
+
});
|
|
487
|
+
this.emit("redirect", updatedOptions, typedResponse);
|
|
488
|
+
this.options = updatedOptions;
|
|
489
|
+
await this._makeRequest();
|
|
490
|
+
} catch (error) {
|
|
491
|
+
this._beforeError(error);
|
|
492
|
+
return;
|
|
493
|
+
}
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
if (options.isStream && options.throwHttpErrors && !isResponseOk(typedResponse)) {
|
|
498
|
+
this._beforeError(new HTTPError(typedResponse));
|
|
499
|
+
return;
|
|
500
|
+
}
|
|
501
|
+
const wasDecompressed = response !== this._nativeResponse;
|
|
502
|
+
if (!hasNoBody && (!wasDecompressed || options.strictContentLength)) {
|
|
503
|
+
const contentLengthHeader = this._nativeResponse.headers["content-length"];
|
|
504
|
+
if (contentLengthHeader !== void 0) {
|
|
505
|
+
const expectedLength = Number(contentLengthHeader);
|
|
506
|
+
if (!Number.isNaN(expectedLength) && expectedLength >= 0) this._expectedContentLength = expectedLength;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
response.once("end", () => {
|
|
510
|
+
if (this._checkContentLengthMismatch()) return;
|
|
511
|
+
this._responseSize = this._downloadedSize;
|
|
512
|
+
this.emit("downloadProgress", this.downloadProgress);
|
|
513
|
+
publishResponseEnd({
|
|
514
|
+
requestId: this._requestId,
|
|
515
|
+
url: typedResponse.url,
|
|
516
|
+
statusCode,
|
|
517
|
+
bodySize: this._downloadedSize,
|
|
518
|
+
timings: this.timings
|
|
519
|
+
});
|
|
520
|
+
this.push(null);
|
|
521
|
+
});
|
|
522
|
+
this.emit("downloadProgress", this.downloadProgress);
|
|
523
|
+
response.on("readable", () => {
|
|
524
|
+
if (this._triggerRead) this._read();
|
|
525
|
+
});
|
|
526
|
+
this.on("resume", () => {
|
|
527
|
+
response.resume();
|
|
528
|
+
});
|
|
529
|
+
this.on("pause", () => {
|
|
530
|
+
response.pause();
|
|
531
|
+
});
|
|
532
|
+
if (this._noPipe) {
|
|
533
|
+
if (await this._setRawBody()) this.emit("response", response);
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
this.emit("response", response);
|
|
537
|
+
for (const destination of this._pipedServerResponses) {
|
|
538
|
+
if (destination.headersSent) continue;
|
|
539
|
+
const wasDecompressed = response !== this._nativeResponse;
|
|
540
|
+
for (const key in response.headers) if (Object.hasOwn(response.headers, key)) {
|
|
541
|
+
const value = response.headers[key];
|
|
542
|
+
if (wasDecompressed && (key === "content-encoding" || key === "content-length")) continue;
|
|
543
|
+
if (value !== void 0) destination.setHeader(key, value);
|
|
544
|
+
}
|
|
545
|
+
destination.statusCode = statusCode;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
async _setRawBody(from = this) {
|
|
549
|
+
if (from.readableEnded) return false;
|
|
550
|
+
try {
|
|
551
|
+
const fromArray = await from.toArray();
|
|
552
|
+
const rawBody = isBuffer(fromArray.at(0)) ? Buffer.concat(fromArray) : Buffer.from(fromArray.join(""));
|
|
553
|
+
if (!this.isAborted) {
|
|
554
|
+
this.response.rawBody = rawBody;
|
|
555
|
+
return true;
|
|
556
|
+
}
|
|
557
|
+
} catch {}
|
|
558
|
+
return false;
|
|
559
|
+
}
|
|
560
|
+
async _onResponse(response) {
|
|
561
|
+
try {
|
|
562
|
+
await this._onResponseBase(response);
|
|
563
|
+
} catch (error) {
|
|
564
|
+
/* istanbul ignore next: better safe than sorry */
|
|
565
|
+
this._beforeError(error);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
_onRequest(request) {
|
|
569
|
+
const { options } = this;
|
|
570
|
+
const { timeout, url } = options;
|
|
571
|
+
publishRequestStart({
|
|
572
|
+
requestId: this._requestId,
|
|
573
|
+
url: url?.toString() ?? "",
|
|
574
|
+
method: options.method,
|
|
575
|
+
headers: options.headers
|
|
576
|
+
});
|
|
577
|
+
timer(request);
|
|
578
|
+
this._cancelTimeouts = timedOut(request, timeout, url);
|
|
579
|
+
if (this.options.http2) {
|
|
580
|
+
request.removeAllListeners("timeout");
|
|
581
|
+
request.once("socket", (socket) => {
|
|
582
|
+
socket.removeAllListeners("timeout");
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
const responseEventName = options.cache ? "cacheableResponse" : "response";
|
|
586
|
+
request.once(responseEventName, (response) => {
|
|
587
|
+
this._onResponse(response);
|
|
588
|
+
});
|
|
589
|
+
request.once("error", (error) => {
|
|
590
|
+
this._aborted = true;
|
|
591
|
+
request.destroy();
|
|
592
|
+
error = error instanceof TimeoutError$1 ? new TimeoutError(error, this.timings, this) : new RequestError(error.message, error, this);
|
|
593
|
+
this._beforeError(error);
|
|
594
|
+
});
|
|
595
|
+
this._unproxyEvents = proxyEvents(request, this, proxiedRequestEvents);
|
|
596
|
+
this._request = request;
|
|
597
|
+
this.emit("uploadProgress", this.uploadProgress);
|
|
598
|
+
this._sendBody();
|
|
599
|
+
this.emit("request", request);
|
|
600
|
+
}
|
|
601
|
+
async _asyncWrite(chunk) {
|
|
602
|
+
return new Promise((resolve, reject) => {
|
|
603
|
+
super.write(chunk, (error) => {
|
|
604
|
+
if (error) {
|
|
605
|
+
reject(error);
|
|
606
|
+
return;
|
|
607
|
+
}
|
|
608
|
+
resolve();
|
|
609
|
+
});
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
_sendBody() {
|
|
613
|
+
const { body } = this.options;
|
|
614
|
+
const currentRequest = this.redirectUrls.length === 0 ? this : this._request ?? this;
|
|
615
|
+
if (is.nodeStream(body)) body.pipe(currentRequest);
|
|
616
|
+
else if (is.buffer(body)) {
|
|
617
|
+
this._writeRequest(body, void 0, () => {});
|
|
618
|
+
currentRequest.end();
|
|
619
|
+
} else if (is.typedArray(body)) {
|
|
620
|
+
const typedArray = body;
|
|
621
|
+
const uint8View = new Uint8Array(typedArray.buffer, typedArray.byteOffset, typedArray.byteLength);
|
|
622
|
+
this._writeRequest(uint8View, void 0, () => {});
|
|
623
|
+
currentRequest.end();
|
|
624
|
+
} else if (is.asyncIterable(body) || is.iterable(body) && !is.string(body) && !isBuffer(body)) (async () => {
|
|
625
|
+
try {
|
|
626
|
+
for await (const chunk of body) await this._asyncWrite(chunk);
|
|
627
|
+
super.end();
|
|
628
|
+
} catch (error) {
|
|
629
|
+
this._beforeError(error);
|
|
630
|
+
}
|
|
631
|
+
})();
|
|
632
|
+
else if (is.undefined(body)) {
|
|
633
|
+
const cannotHaveBody = methodsWithoutBody.has(this.options.method) && !(this.options.method === "GET" && this.options.allowGetBody);
|
|
634
|
+
const shouldAutoEndStream = methodsWithoutBodyStream.has(this.options.method);
|
|
635
|
+
if ((this._noPipe ?? false) || cannotHaveBody || currentRequest !== this || shouldAutoEndStream) currentRequest.end();
|
|
636
|
+
} else {
|
|
637
|
+
this._writeRequest(body, void 0, () => {});
|
|
638
|
+
currentRequest.end();
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
_prepareCache(cache) {
|
|
642
|
+
if (cacheableStore.has(cache)) return;
|
|
643
|
+
const cacheableRequest = new CacheableRequest(((requestOptions, handler) => {
|
|
644
|
+
/**
|
|
645
|
+
Wraps the cacheable-request handler to run beforeCache hooks.
|
|
646
|
+
These hooks control caching behavior by:
|
|
647
|
+
- Directly mutating the response object (changes apply to what gets cached)
|
|
648
|
+
- Returning `false` to prevent caching
|
|
649
|
+
- Returning `void`/`undefined` to use default caching behavior
|
|
650
|
+
|
|
651
|
+
Hooks use direct mutation - they can modify response.headers, response.statusCode, etc.
|
|
652
|
+
Mutations take effect immediately and determine what gets cached.
|
|
653
|
+
*/
|
|
654
|
+
const wrappedHandler = handler ? (response) => {
|
|
655
|
+
const { beforeCacheHooks, gotRequest } = requestOptions;
|
|
656
|
+
if (!beforeCacheHooks || beforeCacheHooks.length === 0) {
|
|
657
|
+
handler(response);
|
|
658
|
+
return;
|
|
659
|
+
}
|
|
660
|
+
try {
|
|
661
|
+
for (const hook of beforeCacheHooks) {
|
|
662
|
+
const result = hook(response);
|
|
663
|
+
if (result === false) {
|
|
664
|
+
response.headers["cache-control"] = "no-cache, no-store, must-revalidate";
|
|
665
|
+
response.headers.pragma = "no-cache";
|
|
666
|
+
response.headers.expires = "0";
|
|
667
|
+
handler(response);
|
|
668
|
+
return;
|
|
669
|
+
}
|
|
670
|
+
if (is.promise(result)) throw new TypeError("beforeCache hooks must be synchronous. The hook returned a Promise, but this hook must return synchronously. If you need async logic, use beforeRequest hook instead.");
|
|
671
|
+
if (result !== void 0) throw new TypeError("beforeCache hook must return false or undefined. To modify the response, mutate it directly.");
|
|
672
|
+
}
|
|
673
|
+
} catch (error) {
|
|
674
|
+
if (gotRequest) {
|
|
675
|
+
gotRequest._beforeError(error instanceof RequestError ? error : new RequestError(error.message, error, gotRequest));
|
|
676
|
+
return;
|
|
677
|
+
}
|
|
678
|
+
console.error("Got: beforeCache hook error (request context unavailable):", error);
|
|
679
|
+
handler(response);
|
|
680
|
+
return;
|
|
681
|
+
}
|
|
682
|
+
handler(response);
|
|
683
|
+
} : handler;
|
|
684
|
+
const result = requestOptions._request(requestOptions, wrappedHandler);
|
|
685
|
+
if (is.promise(result)) result.once = (event, handler) => {
|
|
686
|
+
if (event === "error") (async () => {
|
|
687
|
+
try {
|
|
688
|
+
await result;
|
|
689
|
+
} catch (error) {
|
|
690
|
+
handler(error);
|
|
691
|
+
}
|
|
692
|
+
})();
|
|
693
|
+
else if (event === "abort" || event === "destroy") (async () => {
|
|
694
|
+
try {
|
|
695
|
+
(await result).once(event, handler);
|
|
696
|
+
} catch {}
|
|
697
|
+
})();
|
|
698
|
+
else
|
|
699
|
+
/* istanbul ignore next: safety check */
|
|
700
|
+
throw new Error(`Unknown HTTP2 promise event: ${event}`);
|
|
701
|
+
return result;
|
|
702
|
+
};
|
|
703
|
+
return result;
|
|
704
|
+
}), cache);
|
|
705
|
+
cacheableStore.set(cache, cacheableRequest.request());
|
|
706
|
+
}
|
|
707
|
+
async _createCacheableRequest(url, options) {
|
|
708
|
+
return new Promise((resolve, reject) => {
|
|
709
|
+
Object.assign(options, urlToOptions(url));
|
|
710
|
+
let request;
|
|
711
|
+
const cacheRequest = cacheableStore.get(options.cache)(options, async (response) => {
|
|
712
|
+
response._readableState.autoDestroy = false;
|
|
713
|
+
if (request) {
|
|
714
|
+
const fix = () => {
|
|
715
|
+
if (response.req) response.complete = response.req.res.complete;
|
|
716
|
+
else if (response.complete === void 0) response.complete = true;
|
|
717
|
+
};
|
|
718
|
+
response.prependOnceListener("end", fix);
|
|
719
|
+
fix();
|
|
720
|
+
(await request).emit("cacheableResponse", response);
|
|
721
|
+
}
|
|
722
|
+
resolve(response);
|
|
723
|
+
});
|
|
724
|
+
cacheRequest.once("error", reject);
|
|
725
|
+
cacheRequest.once("request", async (requestOrPromise) => {
|
|
726
|
+
request = requestOrPromise;
|
|
727
|
+
resolve(request);
|
|
728
|
+
});
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
async _makeRequest() {
|
|
732
|
+
const { options } = this;
|
|
733
|
+
const { headers, username, password } = options;
|
|
734
|
+
const cookieJar = options.cookieJar;
|
|
735
|
+
for (const key in headers) if (is.undefined(headers[key])) delete headers[key];
|
|
736
|
+
else if (is.null(headers[key])) throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${key}\` header`);
|
|
737
|
+
if (options.decompress && is.undefined(headers["accept-encoding"])) {
|
|
738
|
+
const encodings = ["gzip", "deflate"];
|
|
739
|
+
if (supportsBrotli) encodings.push("br");
|
|
740
|
+
if (supportsZstd) encodings.push("zstd");
|
|
741
|
+
headers["accept-encoding"] = encodings.join(", ");
|
|
742
|
+
}
|
|
743
|
+
if (username || password) headers.authorization = `Basic ${Buffer.from(`${username}:${password}`).toString("base64")}`;
|
|
744
|
+
if (cookieJar) {
|
|
745
|
+
const cookieString = await cookieJar.getCookieString(options.url.toString());
|
|
746
|
+
if (is.nonEmptyString(cookieString)) headers.cookie = cookieString;
|
|
747
|
+
}
|
|
748
|
+
let request;
|
|
749
|
+
for (const hook of options.hooks.beforeRequest) {
|
|
750
|
+
const result = await hook(options, { retryCount: this.retryCount });
|
|
751
|
+
if (!is.undefined(result)) {
|
|
752
|
+
request = () => result;
|
|
753
|
+
break;
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
request ||= options.getRequestFunction();
|
|
757
|
+
const url = options.url;
|
|
758
|
+
this._requestOptions = options.createNativeRequestOptions();
|
|
759
|
+
if (options.cache) {
|
|
760
|
+
this._requestOptions._request = request;
|
|
761
|
+
this._requestOptions.cache = options.cache;
|
|
762
|
+
this._requestOptions.body = options.body;
|
|
763
|
+
this._requestOptions.beforeCacheHooks = options.hooks.beforeCache;
|
|
764
|
+
this._requestOptions.gotRequest = this;
|
|
765
|
+
try {
|
|
766
|
+
this._prepareCache(options.cache);
|
|
767
|
+
} catch (error) {
|
|
768
|
+
throw new CacheError(error, this);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
const function_ = options.cache ? this._createCacheableRequest : request;
|
|
772
|
+
try {
|
|
773
|
+
let requestOrResponse = function_(url, this._requestOptions);
|
|
774
|
+
if (is.promise(requestOrResponse)) requestOrResponse = await requestOrResponse;
|
|
775
|
+
if (is.undefined(requestOrResponse)) {
|
|
776
|
+
requestOrResponse = options.getFallbackRequestFunction()(url, this._requestOptions);
|
|
777
|
+
if (is.promise(requestOrResponse)) requestOrResponse = await requestOrResponse;
|
|
778
|
+
}
|
|
779
|
+
if (isClientRequest(requestOrResponse)) this._onRequest(requestOrResponse);
|
|
780
|
+
else if (this.writableEnded) this._onResponse(requestOrResponse);
|
|
781
|
+
else {
|
|
782
|
+
this.once("finish", () => {
|
|
783
|
+
this._onResponse(requestOrResponse);
|
|
784
|
+
});
|
|
785
|
+
this._sendBody();
|
|
786
|
+
}
|
|
787
|
+
} catch (error) {
|
|
788
|
+
if (error instanceof CacheError$1) throw new CacheError(error, this);
|
|
789
|
+
throw error;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
async _error(error) {
|
|
793
|
+
try {
|
|
794
|
+
if (this.options && error instanceof HTTPError && !this.options.throwHttpErrors) {} else if (this.options) {
|
|
795
|
+
const hooks = this.options.hooks.beforeError;
|
|
796
|
+
if (hooks.length > 0) {
|
|
797
|
+
for (const hook of hooks) {
|
|
798
|
+
error = await hook(error);
|
|
799
|
+
if (!(error instanceof Error)) throw new TypeError(`The \`beforeError\` hook must return an Error instance. Received ${is.string(error) ? "string" : String(typeof error)}.`);
|
|
800
|
+
}
|
|
801
|
+
if (!(error instanceof RequestError)) errorsProcessedByHooks.add(error);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
} catch (error_) {
|
|
805
|
+
error = new RequestError(error_.message, error_, this);
|
|
806
|
+
}
|
|
807
|
+
publishError({
|
|
808
|
+
requestId: this._requestId,
|
|
809
|
+
url: this.options?.url?.toString() ?? "",
|
|
810
|
+
error,
|
|
811
|
+
timings: this.timings
|
|
812
|
+
});
|
|
813
|
+
this.destroy(error);
|
|
814
|
+
if (this._noPipe) process.nextTick(() => {
|
|
815
|
+
this.emit("error", error);
|
|
816
|
+
});
|
|
817
|
+
}
|
|
818
|
+
_writeRequest(chunk, encoding, callback) {
|
|
819
|
+
if (!this._request || this._request.destroyed) {
|
|
820
|
+
callback();
|
|
821
|
+
return;
|
|
822
|
+
}
|
|
823
|
+
this._request.write(chunk, encoding, (error) => {
|
|
824
|
+
if (!error && !this._request.destroyed) {
|
|
825
|
+
const bytes = typeof chunk === "string" ? Buffer.from(chunk, encoding) : chunk;
|
|
826
|
+
this._uploadedSize += byteLength(bytes);
|
|
827
|
+
const progress = this.uploadProgress;
|
|
828
|
+
if (progress.percent < 1) this.emit("uploadProgress", progress);
|
|
829
|
+
}
|
|
830
|
+
callback(error);
|
|
831
|
+
});
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
The remote IP address.
|
|
835
|
+
*/
|
|
836
|
+
get ip() {
|
|
837
|
+
return this.socket?.remoteAddress;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
Indicates whether the request has been aborted or not.
|
|
841
|
+
*/
|
|
842
|
+
get isAborted() {
|
|
843
|
+
return this._aborted;
|
|
844
|
+
}
|
|
845
|
+
get socket() {
|
|
846
|
+
return this._request?.socket ?? void 0;
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
Progress event for downloading (receiving a response).
|
|
850
|
+
*/
|
|
851
|
+
get downloadProgress() {
|
|
852
|
+
let percent;
|
|
853
|
+
if (this._responseSize) percent = this._downloadedSize / this._responseSize;
|
|
854
|
+
else if (this._responseSize === this._downloadedSize) percent = 1;
|
|
855
|
+
else percent = 0;
|
|
856
|
+
return {
|
|
857
|
+
percent,
|
|
858
|
+
transferred: this._downloadedSize,
|
|
859
|
+
total: this._responseSize
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
Progress event for uploading (sending a request).
|
|
864
|
+
*/
|
|
865
|
+
get uploadProgress() {
|
|
866
|
+
let percent;
|
|
867
|
+
if (this._bodySize) percent = this._uploadedSize / this._bodySize;
|
|
868
|
+
else if (this._bodySize === this._uploadedSize) percent = 1;
|
|
869
|
+
else percent = 0;
|
|
870
|
+
return {
|
|
871
|
+
percent,
|
|
872
|
+
transferred: this._uploadedSize,
|
|
873
|
+
total: this._bodySize
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
The object contains the following properties:
|
|
878
|
+
|
|
879
|
+
- `start` - Time when the request started.
|
|
880
|
+
- `socket` - Time when a socket was assigned to the request.
|
|
881
|
+
- `lookup` - Time when the DNS lookup finished.
|
|
882
|
+
- `connect` - Time when the socket successfully connected.
|
|
883
|
+
- `secureConnect` - Time when the socket securely connected.
|
|
884
|
+
- `upload` - Time when the request finished uploading.
|
|
885
|
+
- `response` - Time when the request fired `response` event.
|
|
886
|
+
- `end` - Time when the response fired `end` event.
|
|
887
|
+
- `error` - Time when the request fired `error` event.
|
|
888
|
+
- `abort` - Time when the request fired `abort` event.
|
|
889
|
+
- `phases`
|
|
890
|
+
- `wait` - `timings.socket - timings.start`
|
|
891
|
+
- `dns` - `timings.lookup - timings.socket`
|
|
892
|
+
- `tcp` - `timings.connect - timings.lookup`
|
|
893
|
+
- `tls` - `timings.secureConnect - timings.connect`
|
|
894
|
+
- `request` - `timings.upload - (timings.secureConnect || timings.connect)`
|
|
895
|
+
- `firstByte` - `timings.response - timings.upload`
|
|
896
|
+
- `download` - `timings.end - timings.response`
|
|
897
|
+
- `total` - `(timings.end || timings.error || timings.abort) - timings.start`
|
|
898
|
+
|
|
899
|
+
If something has not been measured yet, it will be `undefined`.
|
|
900
|
+
|
|
901
|
+
__Note__: The time is a `number` representing the milliseconds elapsed since the UNIX epoch.
|
|
902
|
+
*/
|
|
903
|
+
get timings() {
|
|
904
|
+
return this._request?.timings;
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
Whether the response was retrieved from the cache.
|
|
908
|
+
*/
|
|
909
|
+
get isFromCache() {
|
|
910
|
+
return this._isFromCache;
|
|
911
|
+
}
|
|
912
|
+
get reusedSocket() {
|
|
913
|
+
return this._request?.reusedSocket;
|
|
914
|
+
}
|
|
915
|
+
/**
|
|
916
|
+
Whether the stream is read-only. Returns `true` when `body`, `json`, or `form` options are provided.
|
|
917
|
+
*/
|
|
918
|
+
get isReadonly() {
|
|
919
|
+
return !is.undefined(this.options?.body) || !is.undefined(this.options?.json) || !is.undefined(this.options?.form);
|
|
920
|
+
}
|
|
921
|
+
};
|
|
922
|
+
//#endregion
|
|
923
|
+
export { Request as default };
|