@mavogel/awscdk-rootmail 0.0.333 → 0.0.334
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/.claude/settings.local.json +2 -1
- package/.jsii +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +3 -3
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +3 -3
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +4 -5
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +37 -37
- package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/package.json +50 -50
- package/node_modules/@aws-sdk/client-ses/package.json +35 -35
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +17 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/longPollMiddleware.js +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/longPollMiddleware.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +15 -0
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +10 -38
- package/node_modules/@aws-sdk/util-locate-window/package.json +12 -11
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/config-resolver/README.md +10 -3
- package/node_modules/@smithy/config-resolver/package.json +10 -11
- package/node_modules/@smithy/credential-provider-imds/README.md +12 -3
- package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
- package/node_modules/@smithy/eventstream-codec/README.md +13 -0
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +13 -0
- package/node_modules/@smithy/eventstream-codec/package.json +6 -7
- package/node_modules/@smithy/eventstream-serde-browser/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-config-resolver/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-node/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-node/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-universal/README.md +10 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -10
- package/node_modules/@smithy/hash-blob-browser/README.md +10 -3
- package/node_modules/@smithy/hash-blob-browser/package.json +6 -7
- package/node_modules/@smithy/hash-node/README.md +10 -3
- package/node_modules/@smithy/hash-node/package.json +6 -7
- package/node_modules/@smithy/hash-stream-node/README.md +9 -4
- package/node_modules/@smithy/hash-stream-node/package.json +6 -7
- package/node_modules/@smithy/invalid-dependency/README.md +10 -3
- package/node_modules/@smithy/invalid-dependency/package.json +6 -7
- package/node_modules/@smithy/md5-js/README.md +10 -3
- package/node_modules/@smithy/md5-js/package.json +6 -7
- package/node_modules/@smithy/middleware-content-length/README.md +13 -0
- package/node_modules/@smithy/middleware-content-length/package.json +7 -8
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/property-provider/README.md +10 -3
- package/node_modules/@smithy/property-provider/package.json +6 -7
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
- package/node_modules/@smithy/signature-v4/package.json +9 -10
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
- package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
- package/node_modules/@smithy/util-endpoints/README.md +10 -3
- package/node_modules/@smithy/util-endpoints/package.json +9 -10
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +3 -0
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +3 -0
- package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +5 -0
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +5 -0
- package/node_modules/@smithy/util-retry/package.json +1 -1
- package/node_modules/@smithy/util-waiter/package.json +7 -8
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/CHANGELOG.md +172 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/LICENSE +19 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/README.md +207 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/charset.js +118 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/charsets.js +212 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/get-charset-name.js +227 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/libmime.js +924 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/mimetypes.js +2049 -0
- package/node_modules/@zone-eu/mailsplit/node_modules/libmime/package.json +42 -0
- package/node_modules/axios/CHANGELOG.md +1 -1
- package/node_modules/axios/README.md +90 -17
- package/node_modules/axios/dist/axios.js +47 -7
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +3 -3
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +56 -8
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +56 -8
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +123 -9
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/lib/adapters/http.js +4 -2
- package/node_modules/axios/lib/core/Axios.js +19 -3
- package/node_modules/axios/lib/core/AxiosHeaders.js +35 -3
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +106 -0
- package/node_modules/axios/package.json +4 -1
- package/node_modules/bowser/README.md +74 -7
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +115 -12
- package/node_modules/bowser/package.json +17 -7
- package/node_modules/bowser/src/bowser.js +24 -8
- package/node_modules/bowser/src/constants.js +79 -18
- package/node_modules/bowser/src/parser-browsers.js +483 -0
- package/node_modules/bowser/src/parser-os.js +12 -0
- package/node_modules/bowser/src/parser-platforms.js +301 -1
- package/node_modules/bowser/src/parser.js +106 -10
- package/node_modules/bowser/src/utils.js +33 -15
- package/node_modules/call-bind-apply-helpers/.eslintrc +1 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +7 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +38 -20
- package/node_modules/call-bind-apply-helpers/index.js +1 -1
- package/node_modules/call-bind-apply-helpers/package.json +8 -8
- package/node_modules/call-bind-apply-helpers/test/index.js +4 -4
- package/node_modules/get-intrinsic/.eslintrc +4 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +8 -0
- package/node_modules/get-intrinsic/index.js +1 -0
- package/node_modules/get-intrinsic/package.json +8 -8
- package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode.d.ts +211 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode.js +536 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/encode.d.ts +22 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/encode.js +77 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/encode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/escape.d.ts +43 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/escape.js +122 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/escape.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.js +496 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.js +69 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.js +116 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.js +99 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/esm/package.json +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/index.d.ts +96 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/index.js +126 -0
- package/node_modules/htmlparser2/node_modules/entities/lib/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/package.json +90 -0
- package/node_modules/htmlparser2/node_modules/entities/readme.md +122 -0
- package/node_modules/libmime/CHANGELOG.md +8 -0
- package/node_modules/libmime/README.md +1 -1
- package/node_modules/libmime/lib/charset.js +5 -5
- package/node_modules/libmime/lib/libmime.js +14 -9
- package/node_modules/libmime/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/libmime/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/utf32.js +307 -0
- package/node_modules/libmime/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/libmime/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/libmime/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/libmime/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/libmime/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/libmime/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/libmime/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/libmime/node_modules/iconv-lite/types/encodings.d.ts +423 -0
- package/node_modules/libmime/package.json +4 -4
- package/node_modules/mailparser/.release-please-manifest.json +1 -1
- package/node_modules/mailparser/CHANGELOG.md +14 -0
- package/node_modules/mailparser/package.json +4 -4
- package/node_modules/nodemailer/CHANGELOG.md +8 -0
- package/node_modules/nodemailer/CLAUDE.md +55 -0
- package/node_modules/nodemailer/lib/smtp-connection/index.js +26 -4
- package/node_modules/nodemailer/package.json +4 -4
- package/node_modules/path-expression-matcher/README.md +214 -62
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +111 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +1 -1
- package/node_modules/path-expression-matcher/src/Expression.js +2 -2
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +209 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +247 -175
- package/node_modules/path-expression-matcher/src/index.d.ts +199 -194
- package/node_modules/path-expression-matcher/src/index.js +3 -2
- package/node_modules/strnum/package.json +1 -1
- package/package.json +27 -21
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts +0 -16
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -37
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -11
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +0 -9
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -17
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -4
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -8
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -4
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -34
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +0 -11
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +0 -10
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +0 -15
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +0 -14
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +0 -19
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +0 -13
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +0 -14
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
- package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -47
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts +0 -12
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts +0 -3
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts +0 -13
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts +0 -27
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts +0 -3
- package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -12
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts +0 -4
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts +0 -18
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts +0 -3
- package/node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts +0 -5
- package/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts +0 -13
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -11
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -6
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -6
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts +0 -8
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts +0 -4
- package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts +0 -5
- package/node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts +0 -12
- package/node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts +0 -16
- package/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -15
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -196
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +0 -16
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +0 -16
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -11
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -10
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +0 -12
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +0 -4
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +0 -9
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -52
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -10
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -33
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +0 -21
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
- package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +0 -201
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +0 -17
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -117
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -23
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -31
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -31
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +0 -60
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -15
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -196
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +0 -16
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +0 -16
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -11
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -10
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +0 -12
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +0 -1
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +0 -4
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +0 -9
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -52
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -10
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -33
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +0 -21
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
- package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -31
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -31
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +0 -4
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +0 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -52
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -10
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -33
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +0 -21
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +0 -24
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +0 -21
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +0 -69
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +0 -43
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +0 -30
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +0 -4
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +0 -11
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +0 -10
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +0 -5
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +0 -24
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts +0 -14
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +0 -2
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts +0 -12
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
- package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts +0 -16
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts +0 -24
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts +0 -6
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +0 -34
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +0 -9
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts +0 -9
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -6
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -5
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -25
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +0 -4
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +0 -11
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -3
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -7
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -8
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -1
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -2
- package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -2
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +0 -6
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts +0 -11
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +0 -10
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts +0 -8
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts +0 -4
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts +0 -8
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts +0 -49
- package/node_modules/bowser/CHANGELOG.md +0 -218
- package/node_modules/strnum/.github/SECURITY.md +0 -5
- package/node_modules/strnum/.vscode/launch.json +0 -25
- package/node_modules/strnum/algo.stflow +0 -84
- package/node_modules/strnum/tests/infinity_test.js +0 -18
- package/node_modules/strnum/tests/strnum_test.js +0 -175
- package/node_modules/strnum/tests/temp.js +0 -8
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/LICENSE +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/package.json +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.d.ts +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.d.ts.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.js +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.js.map +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/package.json +0 -0
- /package/node_modules/{entities → dom-serializer/node_modules/entities}/readme.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.cjs +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxparser.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxparser.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/pem.d.cts +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/pem.d.ts +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"use strict"
|
|
2
|
+
var Buffer = require("safer-buffer").Buffer
|
|
3
|
+
|
|
4
|
+
// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js
|
|
5
|
+
|
|
6
|
+
// == UTF16-BE codec. ==========================================================
|
|
7
|
+
|
|
8
|
+
exports.utf16be = Utf16BECodec
|
|
9
|
+
function Utf16BECodec () {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
Utf16BECodec.prototype.encoder = Utf16BEEncoder
|
|
13
|
+
Utf16BECodec.prototype.decoder = Utf16BEDecoder
|
|
14
|
+
Utf16BECodec.prototype.bomAware = true
|
|
15
|
+
|
|
16
|
+
// -- Encoding
|
|
17
|
+
|
|
18
|
+
function Utf16BEEncoder () {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
Utf16BEEncoder.prototype.write = function (str) {
|
|
22
|
+
var buf = Buffer.from(str, "ucs2")
|
|
23
|
+
for (var i = 0; i < buf.length; i += 2) {
|
|
24
|
+
var tmp = buf[i]; buf[i] = buf[i + 1]; buf[i + 1] = tmp
|
|
25
|
+
}
|
|
26
|
+
return buf
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
Utf16BEEncoder.prototype.end = function () {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// -- Decoding
|
|
33
|
+
|
|
34
|
+
function Utf16BEDecoder () {
|
|
35
|
+
this.overflowByte = -1
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
Utf16BEDecoder.prototype.write = function (buf) {
|
|
39
|
+
if (buf.length == 0) { return "" }
|
|
40
|
+
|
|
41
|
+
var buf2 = Buffer.alloc(buf.length + 1)
|
|
42
|
+
var i = 0; var j = 0
|
|
43
|
+
|
|
44
|
+
if (this.overflowByte !== -1) {
|
|
45
|
+
buf2[0] = buf[0]
|
|
46
|
+
buf2[1] = this.overflowByte
|
|
47
|
+
i = 1; j = 2
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
for (; i < buf.length - 1; i += 2, j += 2) {
|
|
51
|
+
buf2[j] = buf[i + 1]
|
|
52
|
+
buf2[j + 1] = buf[i]
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
this.overflowByte = (i == buf.length - 1) ? buf[buf.length - 1] : -1
|
|
56
|
+
|
|
57
|
+
return buf2.slice(0, j).toString("ucs2")
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
Utf16BEDecoder.prototype.end = function () {
|
|
61
|
+
this.overflowByte = -1
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// == UTF-16 codec =============================================================
|
|
65
|
+
// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic.
|
|
66
|
+
// Defaults to UTF-16LE, as it's prevalent and default in Node.
|
|
67
|
+
// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le
|
|
68
|
+
// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'});
|
|
69
|
+
|
|
70
|
+
// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false).
|
|
71
|
+
|
|
72
|
+
exports.utf16 = Utf16Codec
|
|
73
|
+
function Utf16Codec (codecOptions, iconv) {
|
|
74
|
+
this.iconv = iconv
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
Utf16Codec.prototype.encoder = Utf16Encoder
|
|
78
|
+
Utf16Codec.prototype.decoder = Utf16Decoder
|
|
79
|
+
|
|
80
|
+
// -- Encoding (pass-through)
|
|
81
|
+
|
|
82
|
+
function Utf16Encoder (options, codec) {
|
|
83
|
+
options = options || {}
|
|
84
|
+
if (options.addBOM === undefined) { options.addBOM = true }
|
|
85
|
+
this.encoder = codec.iconv.getEncoder("utf-16le", options)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
Utf16Encoder.prototype.write = function (str) {
|
|
89
|
+
return this.encoder.write(str)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
Utf16Encoder.prototype.end = function () {
|
|
93
|
+
return this.encoder.end()
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// -- Decoding
|
|
97
|
+
|
|
98
|
+
function Utf16Decoder (options, codec) {
|
|
99
|
+
this.decoder = null
|
|
100
|
+
this.initialBufs = []
|
|
101
|
+
this.initialBufsLen = 0
|
|
102
|
+
|
|
103
|
+
this.options = options || {}
|
|
104
|
+
this.iconv = codec.iconv
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
Utf16Decoder.prototype.write = function (buf) {
|
|
108
|
+
if (!this.decoder) {
|
|
109
|
+
// Codec is not chosen yet. Accumulate initial bytes.
|
|
110
|
+
this.initialBufs.push(buf)
|
|
111
|
+
this.initialBufsLen += buf.length
|
|
112
|
+
|
|
113
|
+
if (this.initialBufsLen < 16) // We need more bytes to use space heuristic (see below)
|
|
114
|
+
{ return "" }
|
|
115
|
+
|
|
116
|
+
// We have enough bytes -> detect endianness.
|
|
117
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
118
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
119
|
+
|
|
120
|
+
var resStr = ""
|
|
121
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
122
|
+
|
|
123
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
124
|
+
return resStr
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return this.decoder.write(buf)
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
Utf16Decoder.prototype.end = function () {
|
|
131
|
+
if (!this.decoder) {
|
|
132
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
133
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
134
|
+
|
|
135
|
+
var resStr = ""
|
|
136
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
137
|
+
|
|
138
|
+
var trail = this.decoder.end()
|
|
139
|
+
if (trail) { resStr += trail }
|
|
140
|
+
|
|
141
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
142
|
+
return resStr
|
|
143
|
+
}
|
|
144
|
+
return this.decoder.end()
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function detectEncoding (bufs, defaultEncoding) {
|
|
148
|
+
var b = []
|
|
149
|
+
var charsProcessed = 0
|
|
150
|
+
// Number of ASCII chars when decoded as LE or BE.
|
|
151
|
+
var asciiCharsLE = 0
|
|
152
|
+
var asciiCharsBE = 0
|
|
153
|
+
|
|
154
|
+
outerLoop:
|
|
155
|
+
for (var i = 0; i < bufs.length; i++) {
|
|
156
|
+
var buf = bufs[i]
|
|
157
|
+
for (var j = 0; j < buf.length; j++) {
|
|
158
|
+
b.push(buf[j])
|
|
159
|
+
if (b.length === 2) {
|
|
160
|
+
if (charsProcessed === 0) {
|
|
161
|
+
// Check BOM first.
|
|
162
|
+
if (b[0] === 0xFF && b[1] === 0xFE) return "utf-16le"
|
|
163
|
+
if (b[0] === 0xFE && b[1] === 0xFF) return "utf-16be"
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (b[0] === 0 && b[1] !== 0) asciiCharsBE++
|
|
167
|
+
if (b[0] !== 0 && b[1] === 0) asciiCharsLE++
|
|
168
|
+
|
|
169
|
+
b.length = 0
|
|
170
|
+
charsProcessed++
|
|
171
|
+
|
|
172
|
+
if (charsProcessed >= 100) {
|
|
173
|
+
break outerLoop
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Make decisions.
|
|
180
|
+
// Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon.
|
|
181
|
+
// So, we count ASCII as if it was LE or BE, and decide from that.
|
|
182
|
+
if (asciiCharsBE > asciiCharsLE) return "utf-16be"
|
|
183
|
+
if (asciiCharsBE < asciiCharsLE) return "utf-16le"
|
|
184
|
+
|
|
185
|
+
// Couldn't decide (likely all zeros or not enough data).
|
|
186
|
+
return defaultEncoding || "utf-16le"
|
|
187
|
+
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
"use strict"
|
|
2
|
+
|
|
3
|
+
var Buffer = require("safer-buffer").Buffer
|
|
4
|
+
|
|
5
|
+
// == UTF32-LE/BE codec. ==========================================================
|
|
6
|
+
|
|
7
|
+
exports._utf32 = Utf32Codec
|
|
8
|
+
|
|
9
|
+
function Utf32Codec (codecOptions, iconv) {
|
|
10
|
+
this.iconv = iconv
|
|
11
|
+
this.bomAware = true
|
|
12
|
+
this.isLE = codecOptions.isLE
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
exports.utf32le = { type: "_utf32", isLE: true }
|
|
16
|
+
exports.utf32be = { type: "_utf32", isLE: false }
|
|
17
|
+
|
|
18
|
+
// Aliases
|
|
19
|
+
exports.ucs4le = "utf32le"
|
|
20
|
+
exports.ucs4be = "utf32be"
|
|
21
|
+
|
|
22
|
+
Utf32Codec.prototype.encoder = Utf32Encoder
|
|
23
|
+
Utf32Codec.prototype.decoder = Utf32Decoder
|
|
24
|
+
|
|
25
|
+
// -- Encoding
|
|
26
|
+
|
|
27
|
+
function Utf32Encoder (options, codec) {
|
|
28
|
+
this.isLE = codec.isLE
|
|
29
|
+
this.highSurrogate = 0
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
Utf32Encoder.prototype.write = function (str) {
|
|
33
|
+
var src = Buffer.from(str, "ucs2")
|
|
34
|
+
var dst = Buffer.alloc(src.length * 2)
|
|
35
|
+
var write32 = this.isLE ? dst.writeUInt32LE : dst.writeUInt32BE
|
|
36
|
+
var offset = 0
|
|
37
|
+
|
|
38
|
+
for (var i = 0; i < src.length; i += 2) {
|
|
39
|
+
var code = src.readUInt16LE(i)
|
|
40
|
+
var isHighSurrogate = (code >= 0xD800 && code < 0xDC00)
|
|
41
|
+
var isLowSurrogate = (code >= 0xDC00 && code < 0xE000)
|
|
42
|
+
|
|
43
|
+
if (this.highSurrogate) {
|
|
44
|
+
if (isHighSurrogate || !isLowSurrogate) {
|
|
45
|
+
// There shouldn't be two high surrogates in a row, nor a high surrogate which isn't followed by a low
|
|
46
|
+
// surrogate. If this happens, keep the pending high surrogate as a stand-alone semi-invalid character
|
|
47
|
+
// (technically wrong, but expected by some applications, like Windows file names).
|
|
48
|
+
write32.call(dst, this.highSurrogate, offset)
|
|
49
|
+
offset += 4
|
|
50
|
+
} else {
|
|
51
|
+
// Create 32-bit value from high and low surrogates;
|
|
52
|
+
var codepoint = (((this.highSurrogate - 0xD800) << 10) | (code - 0xDC00)) + 0x10000
|
|
53
|
+
|
|
54
|
+
write32.call(dst, codepoint, offset)
|
|
55
|
+
offset += 4
|
|
56
|
+
this.highSurrogate = 0
|
|
57
|
+
|
|
58
|
+
continue
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if (isHighSurrogate) { this.highSurrogate = code } else {
|
|
63
|
+
// Even if the current character is a low surrogate, with no previous high surrogate, we'll
|
|
64
|
+
// encode it as a semi-invalid stand-alone character for the same reasons expressed above for
|
|
65
|
+
// unpaired high surrogates.
|
|
66
|
+
write32.call(dst, code, offset)
|
|
67
|
+
offset += 4
|
|
68
|
+
this.highSurrogate = 0
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (offset < dst.length) { dst = dst.slice(0, offset) }
|
|
73
|
+
|
|
74
|
+
return dst
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
Utf32Encoder.prototype.end = function () {
|
|
78
|
+
// Treat any leftover high surrogate as a semi-valid independent character.
|
|
79
|
+
if (!this.highSurrogate) { return }
|
|
80
|
+
|
|
81
|
+
var buf = Buffer.alloc(4)
|
|
82
|
+
|
|
83
|
+
if (this.isLE) { buf.writeUInt32LE(this.highSurrogate, 0) } else { buf.writeUInt32BE(this.highSurrogate, 0) }
|
|
84
|
+
|
|
85
|
+
this.highSurrogate = 0
|
|
86
|
+
|
|
87
|
+
return buf
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// -- Decoding
|
|
91
|
+
|
|
92
|
+
function Utf32Decoder (options, codec) {
|
|
93
|
+
this.isLE = codec.isLE
|
|
94
|
+
this.badChar = codec.iconv.defaultCharUnicode.charCodeAt(0)
|
|
95
|
+
this.overflow = []
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
Utf32Decoder.prototype.write = function (src) {
|
|
99
|
+
if (src.length === 0) { return "" }
|
|
100
|
+
|
|
101
|
+
var i = 0
|
|
102
|
+
var codepoint = 0
|
|
103
|
+
var dst = Buffer.alloc(src.length + 4)
|
|
104
|
+
var offset = 0
|
|
105
|
+
var isLE = this.isLE
|
|
106
|
+
var overflow = this.overflow
|
|
107
|
+
var badChar = this.badChar
|
|
108
|
+
|
|
109
|
+
if (overflow.length > 0) {
|
|
110
|
+
for (; i < src.length && overflow.length < 4; i++) { overflow.push(src[i]) }
|
|
111
|
+
|
|
112
|
+
if (overflow.length === 4) {
|
|
113
|
+
// NOTE: codepoint is a signed int32 and can be negative.
|
|
114
|
+
// NOTE: We copied this block from below to help V8 optimize it (it works with array, not buffer).
|
|
115
|
+
if (isLE) {
|
|
116
|
+
codepoint = overflow[i] | (overflow[i + 1] << 8) | (overflow[i + 2] << 16) | (overflow[i + 3] << 24)
|
|
117
|
+
} else {
|
|
118
|
+
codepoint = overflow[i + 3] | (overflow[i + 2] << 8) | (overflow[i + 1] << 16) | (overflow[i] << 24)
|
|
119
|
+
}
|
|
120
|
+
overflow.length = 0
|
|
121
|
+
|
|
122
|
+
offset = _writeCodepoint(dst, offset, codepoint, badChar)
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Main loop. Should be as optimized as possible.
|
|
127
|
+
for (; i < src.length - 3; i += 4) {
|
|
128
|
+
// NOTE: codepoint is a signed int32 and can be negative.
|
|
129
|
+
if (isLE) {
|
|
130
|
+
codepoint = src[i] | (src[i + 1] << 8) | (src[i + 2] << 16) | (src[i + 3] << 24)
|
|
131
|
+
} else {
|
|
132
|
+
codepoint = src[i + 3] | (src[i + 2] << 8) | (src[i + 1] << 16) | (src[i] << 24)
|
|
133
|
+
}
|
|
134
|
+
offset = _writeCodepoint(dst, offset, codepoint, badChar)
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// Keep overflowing bytes.
|
|
138
|
+
for (; i < src.length; i++) {
|
|
139
|
+
overflow.push(src[i])
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
return dst.slice(0, offset).toString("ucs2")
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
function _writeCodepoint (dst, offset, codepoint, badChar) {
|
|
146
|
+
// NOTE: codepoint is signed int32 and can be negative. We keep it that way to help V8 with optimizations.
|
|
147
|
+
if (codepoint < 0 || codepoint > 0x10FFFF) {
|
|
148
|
+
// Not a valid Unicode codepoint
|
|
149
|
+
codepoint = badChar
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// Ephemeral Planes: Write high surrogate.
|
|
153
|
+
if (codepoint >= 0x10000) {
|
|
154
|
+
codepoint -= 0x10000
|
|
155
|
+
|
|
156
|
+
var high = 0xD800 | (codepoint >> 10)
|
|
157
|
+
dst[offset++] = high & 0xff
|
|
158
|
+
dst[offset++] = high >> 8
|
|
159
|
+
|
|
160
|
+
// Low surrogate is written below.
|
|
161
|
+
var codepoint = 0xDC00 | (codepoint & 0x3FF)
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Write BMP char or low surrogate.
|
|
165
|
+
dst[offset++] = codepoint & 0xff
|
|
166
|
+
dst[offset++] = codepoint >> 8
|
|
167
|
+
|
|
168
|
+
return offset
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
Utf32Decoder.prototype.end = function () {
|
|
172
|
+
this.overflow.length = 0
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// == UTF-32 Auto codec =============================================================
|
|
176
|
+
// Decoder chooses automatically from UTF-32LE and UTF-32BE using BOM and space-based heuristic.
|
|
177
|
+
// Defaults to UTF-32LE. http://en.wikipedia.org/wiki/UTF-32
|
|
178
|
+
// Encoder/decoder default can be changed: iconv.decode(buf, 'utf32', {defaultEncoding: 'utf-32be'});
|
|
179
|
+
|
|
180
|
+
// Encoder prepends BOM (which can be overridden with (addBOM: false}).
|
|
181
|
+
|
|
182
|
+
exports.utf32 = Utf32AutoCodec
|
|
183
|
+
exports.ucs4 = "utf32"
|
|
184
|
+
|
|
185
|
+
function Utf32AutoCodec (options, iconv) {
|
|
186
|
+
this.iconv = iconv
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
Utf32AutoCodec.prototype.encoder = Utf32AutoEncoder
|
|
190
|
+
Utf32AutoCodec.prototype.decoder = Utf32AutoDecoder
|
|
191
|
+
|
|
192
|
+
// -- Encoding
|
|
193
|
+
|
|
194
|
+
function Utf32AutoEncoder (options, codec) {
|
|
195
|
+
options = options || {}
|
|
196
|
+
|
|
197
|
+
if (options.addBOM === undefined) {
|
|
198
|
+
options.addBOM = true
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
this.encoder = codec.iconv.getEncoder(options.defaultEncoding || "utf-32le", options)
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
Utf32AutoEncoder.prototype.write = function (str) {
|
|
205
|
+
return this.encoder.write(str)
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
Utf32AutoEncoder.prototype.end = function () {
|
|
209
|
+
return this.encoder.end()
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// -- Decoding
|
|
213
|
+
|
|
214
|
+
function Utf32AutoDecoder (options, codec) {
|
|
215
|
+
this.decoder = null
|
|
216
|
+
this.initialBufs = []
|
|
217
|
+
this.initialBufsLen = 0
|
|
218
|
+
this.options = options || {}
|
|
219
|
+
this.iconv = codec.iconv
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
Utf32AutoDecoder.prototype.write = function (buf) {
|
|
223
|
+
if (!this.decoder) {
|
|
224
|
+
// Codec is not chosen yet. Accumulate initial bytes.
|
|
225
|
+
this.initialBufs.push(buf)
|
|
226
|
+
this.initialBufsLen += buf.length
|
|
227
|
+
|
|
228
|
+
if (this.initialBufsLen < 32) // We need more bytes to use space heuristic (see below)
|
|
229
|
+
{ return "" }
|
|
230
|
+
|
|
231
|
+
// We have enough bytes -> detect endianness.
|
|
232
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
233
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
234
|
+
|
|
235
|
+
var resStr = ""
|
|
236
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
237
|
+
|
|
238
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
239
|
+
return resStr
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
return this.decoder.write(buf)
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
Utf32AutoDecoder.prototype.end = function () {
|
|
246
|
+
if (!this.decoder) {
|
|
247
|
+
var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding)
|
|
248
|
+
this.decoder = this.iconv.getDecoder(encoding, this.options)
|
|
249
|
+
|
|
250
|
+
var resStr = ""
|
|
251
|
+
for (var i = 0; i < this.initialBufs.length; i++) { resStr += this.decoder.write(this.initialBufs[i]) }
|
|
252
|
+
|
|
253
|
+
var trail = this.decoder.end()
|
|
254
|
+
if (trail) { resStr += trail }
|
|
255
|
+
|
|
256
|
+
this.initialBufs.length = this.initialBufsLen = 0
|
|
257
|
+
return resStr
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
return this.decoder.end()
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
function detectEncoding (bufs, defaultEncoding) {
|
|
264
|
+
var b = []
|
|
265
|
+
var charsProcessed = 0
|
|
266
|
+
var invalidLE = 0; var invalidBE = 0 // Number of invalid chars when decoded as LE or BE.
|
|
267
|
+
var bmpCharsLE = 0; var bmpCharsBE = 0 // Number of BMP chars when decoded as LE or BE.
|
|
268
|
+
|
|
269
|
+
outerLoop:
|
|
270
|
+
for (var i = 0; i < bufs.length; i++) {
|
|
271
|
+
var buf = bufs[i]
|
|
272
|
+
for (var j = 0; j < buf.length; j++) {
|
|
273
|
+
b.push(buf[j])
|
|
274
|
+
if (b.length === 4) {
|
|
275
|
+
if (charsProcessed === 0) {
|
|
276
|
+
// Check BOM first.
|
|
277
|
+
if (b[0] === 0xFF && b[1] === 0xFE && b[2] === 0 && b[3] === 0) {
|
|
278
|
+
return "utf-32le"
|
|
279
|
+
}
|
|
280
|
+
if (b[0] === 0 && b[1] === 0 && b[2] === 0xFE && b[3] === 0xFF) {
|
|
281
|
+
return "utf-32be"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
if (b[0] !== 0 || b[1] > 0x10) invalidBE++
|
|
286
|
+
if (b[3] !== 0 || b[2] > 0x10) invalidLE++
|
|
287
|
+
|
|
288
|
+
if (b[0] === 0 && b[1] === 0 && (b[2] !== 0 || b[3] !== 0)) bmpCharsBE++
|
|
289
|
+
if ((b[0] !== 0 || b[1] !== 0) && b[2] === 0 && b[3] === 0) bmpCharsLE++
|
|
290
|
+
|
|
291
|
+
b.length = 0
|
|
292
|
+
charsProcessed++
|
|
293
|
+
|
|
294
|
+
if (charsProcessed >= 100) {
|
|
295
|
+
break outerLoop
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// Make decisions.
|
|
302
|
+
if (bmpCharsBE - invalidBE > bmpCharsLE - invalidLE) return "utf-32be"
|
|
303
|
+
if (bmpCharsBE - invalidBE < bmpCharsLE - invalidLE) return "utf-32le"
|
|
304
|
+
|
|
305
|
+
// Couldn't decide (likely all zeros or not enough data).
|
|
306
|
+
return defaultEncoding || "utf-32le"
|
|
307
|
+
}
|