lambda-live-debugger 1.12.8 → 1.12.9
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/dist/extension/extension.zip +0 -0
- package/dist/extension/nodejs/node_modules/interceptor.js +9759 -9028
- package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js +2 -1
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js +464 -40
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/xxh/index.js +914 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/stringUnionSelector.js +2 -1
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.browser.js +2 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.js +3 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512.js +71 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512Js.js +276 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512WebCrypto.js +76 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/U64.js +190 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/Xxh3.js +274 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/index.js +3 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_128/Xxh3_128.js +179 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_64/Xxh3_64.js +117 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash64/Xxh64.js +150 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512.d.ts +17 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512Js.d.ts +29 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512WebCrypto.d.ts +22 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/U64.d.ts +110 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/Xxh3.d.ts +139 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +37 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +27 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash64/Xxh64.d.ts +41 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512.d.ts +12 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512Js.d.ts +22 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512WebCrypto.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/U64.d.ts +27 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/Xxh3.d.ts +65 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +12 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +10 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash64/Xxh64.d.ts +17 -0
- package/node_modules/@aws-sdk/checksums/package.json +16 -6
- package/node_modules/@aws-sdk/checksums/xxh.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/xxh.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +38 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/CloudFormationServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/errors.js +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +5 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +187 -181
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/CloudFormationServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/errors.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +27 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +184 -180
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/CloudFormationServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/errors.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +44 -4
- package/node_modules/@aws-sdk/client-iam/dist-es/models/IAMServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +38 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +367 -361
- package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/models/IAMServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +38 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +364 -363
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/IAMServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +38 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/package.json +9 -9
- package/node_modules/@aws-sdk/client-iot/dist-cjs/index.js +39 -4
- package/node_modules/@aws-sdk/client-iot/dist-es/models/IoTServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-iot/dist-es/models/errors.js +33 -0
- package/node_modules/@aws-sdk/client-iot/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-es/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-iot/dist-types/IoT.d.ts +551 -545
- package/node_modules/@aws-sdk/client-iot/dist-types/IoTClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/models/IoTServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/models/errors.d.ts +33 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_1.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/models/models_2.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/IoT.d.ts +548 -547
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/IoTServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/errors.d.ts +33 -0
- package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot/package.json +8 -8
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-cjs/index.js +18 -4
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/models/IoTDataPlaneServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/models/errors.js +12 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/IoTDataPlane.d.ts +29 -23
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/IoTDataPlaneClient.d.ts +2 -1
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/models/IoTDataPlaneServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/models/errors.d.ts +12 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/IoTDataPlane.d.ts +29 -22
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/models/errors.d.ts +12 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iot-data-plane/package.json +8 -8
- package/node_modules/@aws-sdk/client-lambda/README.md +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +83 -12
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/LambdaServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/errors.js +56 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +12 -11
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +184 -178
- package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCapacityProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +9 -7
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAliasCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +10 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -6
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/LambdaServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +20 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +56 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +30 -20
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +180 -176
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/LambdaServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +14 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +9 -9
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +63 -17
- package/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +21 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +30 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +231 -225
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +16 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +21 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +186 -49
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +43 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +228 -224
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +21 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +23 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +14 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/package.json +13 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -10
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +104 -1549
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +7 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -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/index.native.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +12 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -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/index.native.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +3 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -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/index.native.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +11 -10
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/credential-providers/README.md +1 -1
- package/node_modules/@aws-sdk/credential-providers/package.json +16 -16
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +36 -17
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +6 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.js +6 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-region-redirect/region-redirect-middleware.js +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.js +8 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.js +18 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-ssec/middleware-ssec.js +2 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.js +4 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.js +2 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +15 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +10 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +24 -12
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +12 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +12 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +24 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +4 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +4 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@inquirer/ansi/README.md +35 -3
- package/node_modules/@inquirer/ansi/package.json +4 -4
- package/node_modules/@inquirer/checkbox/README.md +75 -5
- package/node_modules/@inquirer/checkbox/dist/index.d.ts +7 -7
- package/node_modules/@inquirer/checkbox/dist/index.js +4 -0
- package/node_modules/@inquirer/checkbox/package.json +8 -8
- package/node_modules/@inquirer/confirm/README.md +81 -5
- package/node_modules/@inquirer/confirm/dist/index.d.ts +13 -3
- package/node_modules/@inquirer/confirm/dist/index.js +30 -7
- package/node_modules/@inquirer/confirm/package.json +6 -6
- package/node_modules/@inquirer/core/README.md +35 -3
- package/node_modules/@inquirer/core/dist/index.js +12 -12
- package/node_modules/@inquirer/core/dist/lib/create-prompt.js +84 -55
- package/node_modules/@inquirer/core/dist/lib/hook-engine.js +9 -11
- package/node_modules/@inquirer/core/dist/lib/make-theme.js +3 -3
- package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +2 -2
- package/node_modules/@inquirer/core/dist/lib/screen-manager.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/theme.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-effect.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-keypress.js +3 -3
- package/node_modules/@inquirer/core/dist/lib/use-memo.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-prefix.js +3 -3
- package/node_modules/@inquirer/core/dist/lib/use-ref.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/use-state.js +1 -1
- package/node_modules/@inquirer/core/dist/lib/utils.js +1 -1
- package/node_modules/@inquirer/core/package.json +7 -7
- package/node_modules/@inquirer/editor/README.md +75 -5
- package/node_modules/@inquirer/editor/dist/index.d.ts +6 -6
- package/node_modules/@inquirer/editor/package.json +7 -7
- package/node_modules/@inquirer/expand/README.md +75 -5
- package/node_modules/@inquirer/expand/dist/index.d.ts +3 -3
- package/node_modules/@inquirer/expand/dist/index.js +3 -3
- package/node_modules/@inquirer/expand/package.json +6 -6
- package/node_modules/@inquirer/external-editor/README.md +35 -3
- package/node_modules/@inquirer/external-editor/dist/index.js +4 -4
- package/node_modules/@inquirer/external-editor/package.json +4 -4
- package/node_modules/@inquirer/figures/package.json +3 -3
- package/node_modules/@inquirer/input/README.md +75 -5
- package/node_modules/@inquirer/input/dist/index.d.ts +9 -9
- package/node_modules/@inquirer/input/package.json +6 -6
- package/node_modules/@inquirer/number/README.md +75 -5
- package/node_modules/@inquirer/number/dist/index.d.ts +5 -5
- package/node_modules/@inquirer/number/dist/index.js +2 -2
- package/node_modules/@inquirer/number/package.json +6 -6
- package/node_modules/@inquirer/password/README.md +75 -5
- package/node_modules/@inquirer/password/dist/index.d.ts +4 -4
- package/node_modules/@inquirer/password/dist/index.js +1 -1
- package/node_modules/@inquirer/password/package.json +7 -7
- package/node_modules/@inquirer/prompts/README.md +24 -6
- package/node_modules/@inquirer/prompts/package.json +15 -15
- package/node_modules/@inquirer/rawlist/README.md +75 -5
- package/node_modules/@inquirer/rawlist/dist/index.d.ts +3 -3
- package/node_modules/@inquirer/rawlist/dist/index.js +5 -4
- package/node_modules/@inquirer/rawlist/package.json +6 -6
- package/node_modules/@inquirer/search/README.md +74 -4
- package/node_modules/@inquirer/search/dist/index.d.ts +4 -4
- package/node_modules/@inquirer/search/dist/index.js +1 -1
- package/node_modules/@inquirer/search/package.json +7 -7
- package/node_modules/@inquirer/select/README.md +75 -5
- package/node_modules/@inquirer/select/dist/index.d.ts +4 -4
- package/node_modules/@inquirer/select/package.json +8 -8
- package/node_modules/@inquirer/type/dist/index.js +2 -2
- package/node_modules/@inquirer/type/dist/utils.d.ts +11 -0
- package/node_modules/@inquirer/type/dist/utils.js +15 -1
- package/node_modules/@inquirer/type/package.json +3 -3
- package/node_modules/@nodable/entities/package.json +2 -2
- package/node_modules/@nodable/entities/src/index.d.ts +5 -2
- package/node_modules/@smithy/core/CHANGELOG.md +95 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +67 -90
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +100 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +4 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +12 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +28 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +28 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1785 -19
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +64 -25
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +68 -27
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +15 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +32 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +15 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +34 -59
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -16
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +25 -3
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +44 -5
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
- package/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +12 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +53 -10
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +79 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +12 -3
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +12 -3
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +17 -4
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +20 -7
- package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/parseJsonBody.js +16 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
- package/node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -11
- package/node_modules/{@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json → @smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +7 -4
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -9
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
- package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/writeKey.d.ts +4 -0
- package/node_modules/@smithy/core/errors.d.ts +5 -0
- package/node_modules/@smithy/core/errors.js +5 -0
- package/node_modules/@smithy/core/package.json +12 -2
- package/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +17 -0
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +12 -5
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +8 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
- package/node_modules/@smithy/node-http-handler/CHANGELOG.md +45 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +84 -29
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +23 -11
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +26 -2
- package/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +30 -15
- package/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +10 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +10 -1
- package/node_modules/@smithy/node-http-handler/package.json +3 -3
- package/node_modules/@smithy/signature-v4/CHANGELOG.md +24 -0
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +39 -12
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +7 -2
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +9 -2
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +5 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +5 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +13 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +5 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +5 -1
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/CHANGELOG.md +12 -0
- package/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +11 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +11 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/buffer.d.ts +1 -0
- package/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/node/crypto.d.ts +22 -10
- package/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
- package/node_modules/@types/node/ffi.d.ts +14 -0
- package/node_modules/@types/node/http.d.ts +1 -1
- package/node_modules/@types/node/http2.d.ts +3 -2
- package/node_modules/@types/node/net.d.ts +16 -4
- package/node_modules/@types/node/package.json +3 -18
- package/node_modules/@types/node/perf_hooks.d.ts +31 -19
- package/node_modules/@types/node/process.d.ts +1 -0
- package/node_modules/@types/node/quic.d.ts +45 -5
- package/node_modules/@types/node/stream/iter.d.ts +9 -12
- package/node_modules/@types/node/stream/web.d.ts +20 -0
- package/node_modules/@types/node/test/reporters.d.ts +1 -0
- package/node_modules/@types/node/test.d.ts +72 -0
- package/node_modules/@types/node/tls.d.ts +40 -25
- package/node_modules/@types/node/util.d.ts +6 -3
- package/node_modules/@types/node/vfs.d.ts +7 -6
- package/node_modules/@types/node/vm.d.ts +2 -1
- package/node_modules/@types/node/web-globals/streams.d.ts +4 -0
- package/node_modules/@types/node/worker_threads.d.ts +4 -1
- package/node_modules/@types/node/zlib.d.ts +775 -0
- package/node_modules/chalk/package.json +1 -1
- package/node_modules/chalk/source/index.js +2 -1
- package/node_modules/commander/Readme.md +6 -32
- package/node_modules/commander/index.js +1 -1
- package/node_modules/commander/lib/command.js +22 -9
- package/node_modules/commander/lib/help.js +6 -2
- package/node_modules/commander/lib/option.js +1 -1
- package/node_modules/commander/package.json +2 -1
- package/node_modules/commander/typings/index.d.ts +6 -3
- package/node_modules/fast-xml-builder/CHANGELOG.md +12 -0
- package/node_modules/fast-xml-builder/README.md +4 -1
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
- package/node_modules/fast-xml-builder/package.json +6 -10
- package/node_modules/fast-xml-builder/src/fxb.js +34 -24
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +18 -17
- package/node_modules/fast-xml-builder/src/util.js +10 -3
- package/node_modules/fast-xml-parser/CHANGELOG.md +15 -0
- package/node_modules/fast-xml-parser/README.md +9 -9
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +3 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +6 -6
- package/node_modules/fast-xml-parser/src/fxp.d.ts +1 -1
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +47 -11
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +7 -1
- package/node_modules/inquirer/README.md +35 -3
- package/node_modules/inquirer/dist/index.js +2 -1
- package/node_modules/inquirer/dist/ui/prompt.js +3 -2
- package/node_modules/inquirer/package.json +8 -8
- package/node_modules/is-unsafe/README.md +34 -1
- package/node_modules/is-unsafe/package.json +3 -3
- package/node_modules/is-unsafe/src/contexts/xml.js +2 -1
- package/node_modules/is-unsafe/src/index.d.ts +9 -1
- package/node_modules/is-unsafe/src/index.js +29 -2
- package/node_modules/is-unsafe/src/util/decode-entities.js +48 -0
- package/node_modules/strnum/CHANGELOG.md +6 -0
- package/node_modules/strnum/package.json +1 -1
- package/node_modules/strnum/strnum.js +10 -9
- package/node_modules/toml/lib/compiler.js +101 -144
- package/node_modules/toml/lib/parser.js +20 -4
- package/node_modules/toml/package.json +1 -1
- package/node_modules/undici-types/client.d.ts +8 -3
- package/node_modules/undici-types/connector.d.ts +1 -0
- package/node_modules/undici-types/cookies.d.ts +1 -1
- package/node_modules/undici-types/dispatcher.d.ts +3 -3
- package/node_modules/undici-types/errors.d.ts +10 -0
- package/node_modules/undici-types/fetch.d.ts +5 -1
- package/node_modules/undici-types/handlers.d.ts +2 -0
- package/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/undici-types/mock-interceptor.d.ts +5 -1
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/proxy-agent.d.ts +7 -0
- package/node_modules/xml-naming/README.md +99 -1
- package/node_modules/xml-naming/package.json +4 -2
- package/node_modules/xml-naming/src/index.d.ts +34 -0
- package/node_modules/xml-naming/src/index.js +134 -22
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +19 -18
- package/node_modules/yaml/browser/dist/nodes/Alias.js +25 -23
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +19 -18
- package/node_modules/yaml/dist/nodes/Alias.js +25 -23
- package/node_modules/yaml/package.json +1 -1
- package/package.json +25 -25
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
- package/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +0 -7
- package/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +0 -14
- package/node_modules/fast-xml-parser/node_modules/xml-naming/README.md +0 -287
- package/node_modules/fast-xml-parser/node_modules/xml-naming/package.json +0 -56
- package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.d.ts +0 -108
- package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.js +0 -382
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
- /package/node_modules/{@aws-sdk/core/dist-types/submodules/protocols/json → @smithy/core/dist-types/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
- /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -0
- /package/node_modules/{fast-xml-parser/node_modules/xml-naming → xml-naming}/LICENSE +0 -0
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xml-naming",
|
|
3
|
-
"version": "0.3.0",
|
|
4
|
-
"description": "Validates XML name productions — Name, NCName, QName, NMToken, NMTokens — for XML 1.0 and 1.1",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./src/index.js",
|
|
7
|
-
"types": "./src/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./src/index.js",
|
|
11
|
-
"types": "./src/index.d.ts"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"src",
|
|
16
|
-
"README.md"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"test": "jasmine specs/*spec.js",
|
|
20
|
-
"perf": "node specs/perf.js"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"fast",
|
|
24
|
-
"xml",
|
|
25
|
-
"xml-name",
|
|
26
|
-
"ncname",
|
|
27
|
-
"qname",
|
|
28
|
-
"nmtoken",
|
|
29
|
-
"xml-validation",
|
|
30
|
-
"xml-namespace",
|
|
31
|
-
"name-validator",
|
|
32
|
-
"xml-1.0",
|
|
33
|
-
"xml-1.1"
|
|
34
|
-
],
|
|
35
|
-
"author": "Amit Gupta (https://solothought.com)",
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"funding": [
|
|
38
|
-
{
|
|
39
|
-
"type": "github",
|
|
40
|
-
"url": "https://github.com/sponsors/NaturalIntelligence"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"jasmine": "^5.0.0"
|
|
45
|
-
},
|
|
46
|
-
"engines": {
|
|
47
|
-
"node": ">=16.0.0"
|
|
48
|
-
},
|
|
49
|
-
"repository": {
|
|
50
|
-
"type": "git",
|
|
51
|
-
"url": "https://github.com/NaturalIntelligence/xml-naming"
|
|
52
|
-
},
|
|
53
|
-
"bugs": {
|
|
54
|
-
"url": "https://github.com/NaturalIntelligence/xml-naming/issues"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
export interface ValidationOptions {
|
|
2
|
-
/** XML specification version to validate against. Defaults to '1.0'. */
|
|
3
|
-
xmlVersion?: '1.0' | '1.1';
|
|
4
|
-
/**
|
|
5
|
-
* Restrict matching to the ASCII subset of the NameStartChar/NameChar
|
|
6
|
-
* productions and skip unicode-aware regex matching entirely. Faster,
|
|
7
|
-
* especially for XML 1.1 (which otherwise requires the `/u` regex flag),
|
|
8
|
-
* but rejects legitimate non-ASCII XML names. Off by default for
|
|
9
|
-
* backward compatibility — opt in only when inputs are known to be ASCII.
|
|
10
|
-
* Defaults to false.
|
|
11
|
-
*/
|
|
12
|
-
asciiOnly?: boolean;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface SanitizeOptions extends ValidationOptions {
|
|
16
|
-
/** Character used to replace invalid characters. Defaults to '_'. */
|
|
17
|
-
replacement?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type Production = 'name' | 'ncName' | 'qName' | 'nmToken' | 'nmTokens';
|
|
21
|
-
|
|
22
|
-
export interface ValidationResult {
|
|
23
|
-
valid: boolean;
|
|
24
|
-
production: Production;
|
|
25
|
-
input: string;
|
|
26
|
-
/** Present only when valid is false. */
|
|
27
|
-
reason?: string;
|
|
28
|
-
/** Index of the first offending character. Present only when valid is false. */
|
|
29
|
-
position?: number;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Returns true if the string is a valid XML Name.
|
|
34
|
-
* Colons are permitted anywhere (Name production).
|
|
35
|
-
* Used for: DOCTYPE entity names, notation names, DTD element declarations.
|
|
36
|
-
*/
|
|
37
|
-
export function name(str: string, opts?: ValidationOptions): boolean;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Returns true if the string is a valid NCName (Non-Colonized Name).
|
|
41
|
-
* Colons are not permitted.
|
|
42
|
-
* Used for: namespace prefixes, local names, SVG id attributes.
|
|
43
|
-
*/
|
|
44
|
-
export function ncName(str: string, opts?: ValidationOptions): boolean;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Returns true if the string is a valid QName (Qualified Name).
|
|
48
|
-
* Allows exactly one colon as a prefix separator: prefix:localName.
|
|
49
|
-
* Used for: element and attribute names in namespace-aware XML/SVG.
|
|
50
|
-
*/
|
|
51
|
-
export function qName(str: string, opts?: ValidationOptions): boolean;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Returns true if the string is a valid NMToken.
|
|
55
|
-
* Same character set as Name but no restriction on the first character.
|
|
56
|
-
* Used for: DTD NMTOKEN attribute values.
|
|
57
|
-
*/
|
|
58
|
-
export function nmToken(str: string, opts?: ValidationOptions): boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Returns true if the string is a valid NMTokens value.
|
|
62
|
-
* A whitespace-separated list of NMToken values.
|
|
63
|
-
* Used for: DTD NMTOKENS attribute values.
|
|
64
|
-
*/
|
|
65
|
-
export function nmTokens(str: string, opts?: ValidationOptions): boolean;
|
|
66
|
-
|
|
67
|
-
export interface CreateValidatorOptions extends ValidationOptions {
|
|
68
|
-
/**
|
|
69
|
-
* Max number of distinct strings to cache. Once reached, new strings are
|
|
70
|
-
* still validated correctly but are no longer cached; existing cached
|
|
71
|
-
* entries keep being served. Defaults to 2048.
|
|
72
|
-
*/
|
|
73
|
-
maxCacheSize?: number;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface MemoizedValidator {
|
|
77
|
-
(str: string): boolean;
|
|
78
|
-
/** Clears the internal cache. */
|
|
79
|
-
reset(): void;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Returns a memoized boolean validator function for a single production.
|
|
84
|
-
* `opts` (xmlVersion, asciiOnly) are fixed at creation time. Repeated calls
|
|
85
|
-
* with the same string after the first are served from an internal cache
|
|
86
|
-
* instead of re-running the regex — useful when validating a small, reused
|
|
87
|
-
* vocabulary of names (e.g. tag/attribute names across many siblings in a
|
|
88
|
-
* document) many times.
|
|
89
|
-
*/
|
|
90
|
-
export function createValidator(production: Production, opts?: CreateValidatorOptions): MemoizedValidator;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Validates a string against a named XML production and returns a detailed result.
|
|
94
|
-
*/
|
|
95
|
-
export function validate(str: string, production: Production, opts?: ValidationOptions): ValidationResult;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Validates an array of strings against a named XML production.
|
|
99
|
-
*/
|
|
100
|
-
export function validateAll(strings: string[], production: Production, opts?: ValidationOptions): ValidationResult[];
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Transforms an invalid string into the nearest valid XML name for the given production.
|
|
104
|
-
* - Strips or replaces illegal characters
|
|
105
|
-
* - Fixes invalid start characters by prepending the replacement character
|
|
106
|
-
* - Removes colons for NCName production
|
|
107
|
-
*/
|
|
108
|
-
export function sanitize(str: string, production?: Production, opts?: SanitizeOptions): string;
|
|
@@ -1,382 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* xml-naming
|
|
3
|
-
* Validates XML Name productions as defined in the XML 1.0 and 1.1 specifications.
|
|
4
|
-
* Covers: Name, NCName, QName, NMToken, NMTokens
|
|
5
|
-
*
|
|
6
|
-
* XML 1.0 spec: https://www.w3.org/TR/xml/#NT-Name
|
|
7
|
-
* XML 1.1 spec: https://www.w3.org/TR/xml11/#NT-NameStartChar
|
|
8
|
-
* XML NS spec: https://www.w3.org/TR/xml-names/#NT-NCName
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
// ---------------------------------------------------------------------------
|
|
12
|
-
// Character class strings — XML 1.0
|
|
13
|
-
//
|
|
14
|
-
// NameStartChar ::= ":" | [A-Z] | "_" | [a-z]
|
|
15
|
-
// | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF]
|
|
16
|
-
// | [#x370-#x37D] | [#x37F-#x1FFF] <- split to exclude #x0487
|
|
17
|
-
// | [#x200C-#x200D]
|
|
18
|
-
// | [#x2070-#x218F] | [#x2C00-#x2FEF]
|
|
19
|
-
// | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD]
|
|
20
|
-
//
|
|
21
|
-
// NameChar ::= NameStartChar | "-" | "." | [0-9]
|
|
22
|
-
// | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]
|
|
23
|
-
//
|
|
24
|
-
// Note: \u0487 (Combining Cyrillic Millions Sign) was added in Unicode 4.0,
|
|
25
|
-
// after XML 1.0 was defined against Unicode 2.0. It falls inside the range
|
|
26
|
-
// \u037F-\u1FFF but must be excluded. We split that range into
|
|
27
|
-
// \u037F-\u0486 and \u0488-\u1FFF to exclude it explicitly.
|
|
28
|
-
// ---------------------------------------------------------------------------
|
|
29
|
-
|
|
30
|
-
const nameStartChar10 =
|
|
31
|
-
':A-Za-z_' +
|
|
32
|
-
'\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF' +
|
|
33
|
-
'\u0370-\u037D' +
|
|
34
|
-
'\u037F-\u0486\u0488-\u1FFF' + // split to exclude \u0487
|
|
35
|
-
'\u200C-\u200D' +
|
|
36
|
-
'\u2070-\u218F' +
|
|
37
|
-
'\u2C00-\u2FEF' +
|
|
38
|
-
'\u3001-\uD7FF' +
|
|
39
|
-
'\uF900-\uFDCF' +
|
|
40
|
-
'\uFDF0-\uFFFD';
|
|
41
|
-
|
|
42
|
-
const nameChar10 =
|
|
43
|
-
nameStartChar10 +
|
|
44
|
-
'\\-\\.\\d' +
|
|
45
|
-
'\u00B7' +
|
|
46
|
-
'\u0300-\u036F' +
|
|
47
|
-
'\u203F-\u2040';
|
|
48
|
-
|
|
49
|
-
// ---------------------------------------------------------------------------
|
|
50
|
-
// Character class strings — XML 1.1
|
|
51
|
-
//
|
|
52
|
-
// Differences from XML 1.0:
|
|
53
|
-
//
|
|
54
|
-
// NameStartChar:
|
|
55
|
-
// 1.0 has split ranges: \u00C0-\u00D6, \u00D8-\u00F6, \u00F8-\u02FF
|
|
56
|
-
// 1.1 merges them into: \u00C0-\u02FF
|
|
57
|
-
// (\u00D7 x and \u00F7 / are division symbols, excluded in both versions)
|
|
58
|
-
//
|
|
59
|
-
// 1.0 tops out at \uFFFD (BMP only)
|
|
60
|
-
// 1.1 adds \u{10000}-\u{EFFFF} (supplementary planes)
|
|
61
|
-
// These require the /u flag on the RegExp — see buildRegexes below.
|
|
62
|
-
//
|
|
63
|
-
// NameChar:
|
|
64
|
-
// 1.1 adds \u0487 (Combining Cyrillic Millions Sign, added in Unicode 4.0)
|
|
65
|
-
// ---------------------------------------------------------------------------
|
|
66
|
-
|
|
67
|
-
const nameStartChar11 =
|
|
68
|
-
':A-Za-z_' +
|
|
69
|
-
'\u00C0-\u02FF' + // merged — 1.0 had three split ranges here
|
|
70
|
-
'\u0370-\u037D' +
|
|
71
|
-
'\u037F-\u0486\u0488-\u1FFF' + // split to exclude \u0487 (combining mark, never a NameStartChar)
|
|
72
|
-
'\u200C-\u200D' +
|
|
73
|
-
'\u2070-\u218F' +
|
|
74
|
-
'\u2C00-\u2FEF' +
|
|
75
|
-
'\u3001-\uD7FF' +
|
|
76
|
-
'\uF900-\uFDCF' +
|
|
77
|
-
'\uFDF0-\uFFFD' +
|
|
78
|
-
'\u{10000}-\u{EFFFF}'; // supplementary planes — REQUIRES /u flag on RegExp
|
|
79
|
-
|
|
80
|
-
const nameChar11 =
|
|
81
|
-
nameStartChar11 +
|
|
82
|
-
'\\-\\.\\d' +
|
|
83
|
-
'\u00B7' +
|
|
84
|
-
'\u0300-\u036F' +
|
|
85
|
-
'\u0487' + // Combining Cyrillic Millions Sign — valid in 1.1, not 1.0
|
|
86
|
-
'\u203F-\u2040';
|
|
87
|
-
|
|
88
|
-
// ---------------------------------------------------------------------------
|
|
89
|
-
// Regex builders
|
|
90
|
-
//
|
|
91
|
-
// XML 1.0 regexes: no flags — BMP only, standard JS regex behaviour.
|
|
92
|
-
// XML 1.1 regexes: /u flag — required for \u{10000}-\u{EFFFF} to match actual
|
|
93
|
-
// supplementary code points rather than lone surrogates (which are illegal XML).
|
|
94
|
-
// ---------------------------------------------------------------------------
|
|
95
|
-
|
|
96
|
-
const buildRegexes = (startChar, char, flags = '') => {
|
|
97
|
-
const ncStart = startChar.replace(':', '');
|
|
98
|
-
const ncChar = char.replace(':', '');
|
|
99
|
-
const ncNamePat = `[${ncStart}][${ncChar}]*`;
|
|
100
|
-
|
|
101
|
-
return {
|
|
102
|
-
name: new RegExp(`^[${startChar}][${char}]*$`, flags),
|
|
103
|
-
ncName: new RegExp(`^${ncNamePat}$`, flags),
|
|
104
|
-
qName: new RegExp(`^${ncNamePat}(?::${ncNamePat})?$`, flags),
|
|
105
|
-
nmToken: new RegExp(`^[${char}]+$`, flags),
|
|
106
|
-
nmTokens: new RegExp(`^[${char}]+(?:\\s+[${char}]+)*$`, flags),
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
const regexes10 = buildRegexes(nameStartChar10, nameChar10); // no /u — BMP only
|
|
111
|
-
const regexes11 = buildRegexes(nameStartChar11, nameChar11, 'u'); // /u — enables \u{10000}-\u{EFFFF}
|
|
112
|
-
|
|
113
|
-
// ---------------------------------------------------------------------------
|
|
114
|
-
// ASCII-only fast path (opt-in, off by default)
|
|
115
|
-
//
|
|
116
|
-
// The XML 1.0 vs 1.1 NameStartChar/NameChar productions differ *only* in
|
|
117
|
-
// their non-ASCII ranges (merged vs split Latin-1 ranges, \u0487, and
|
|
118
|
-
// supplementary planes). Restricted to ASCII, both versions collapse to the
|
|
119
|
-
// same character classes, so a single regex pair covers both xmlVersion
|
|
120
|
-
// values — no /u flag needed.
|
|
121
|
-
//
|
|
122
|
-
// Rationale: unicode-aware regexes (the /u flag, required for XML 1.1's
|
|
123
|
-
// supplementary-plane range) are measurably slower in V8 than plain
|
|
124
|
-
// non-unicode regexes on the same input, even when the input is pure ASCII.
|
|
125
|
-
// For the common case — HTML/SVG ids, XML tags — names are ASCII, so callers
|
|
126
|
-
// who know this can opt in to skip the unicode-aware matching path entirely.
|
|
127
|
-
// This is a real but *conditional* win: mainly for XML 1.1 input (avoids /u),
|
|
128
|
-
// or at scale where the larger unicode character classes add engine
|
|
129
|
-
// overhead. It also changes behaviour (rejects legitimate non-ASCII XML
|
|
130
|
-
// 1.0/1.1 names), so it must never be silently enabled — hence off by
|
|
131
|
-
// default.
|
|
132
|
-
// ---------------------------------------------------------------------------
|
|
133
|
-
|
|
134
|
-
const nameStartCharAscii = ':A-Za-z_';
|
|
135
|
-
const nameCharAscii = nameStartCharAscii + '\\-\\.\\d';
|
|
136
|
-
|
|
137
|
-
const regexesAscii = buildRegexes(nameStartCharAscii, nameCharAscii); // no /u — ASCII only
|
|
138
|
-
|
|
139
|
-
const getRegexes = (xmlVersion = '1.0', asciiOnly = false) => {
|
|
140
|
-
if (asciiOnly) return regexesAscii;
|
|
141
|
-
return xmlVersion === '1.1' ? regexes11 : regexes10;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
// ---------------------------------------------------------------------------
|
|
145
|
-
// Boolean validators
|
|
146
|
-
// ---------------------------------------------------------------------------
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Returns true if the string is a valid XML Name.
|
|
150
|
-
* Colons are allowed anywhere (Name production).
|
|
151
|
-
* Used for: DOCTYPE entity names, notation names, DTD element declarations.
|
|
152
|
-
*
|
|
153
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean }} [opts]
|
|
154
|
-
* asciiOnly: skip unicode-aware matching, ASCII names only (default false).
|
|
155
|
-
*/
|
|
156
|
-
export const name = (str, { xmlVersion = '1.0', asciiOnly = false } = {}) =>
|
|
157
|
-
getRegexes(xmlVersion, asciiOnly).name.test(str);
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Returns true if the string is a valid NCName (Non-Colonized Name).
|
|
161
|
-
* Colons are not permitted.
|
|
162
|
-
* Used for: namespace prefixes, local names, SVG id attributes.
|
|
163
|
-
*
|
|
164
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean }} [opts]
|
|
165
|
-
* asciiOnly: skip unicode-aware matching, ASCII names only (default false).
|
|
166
|
-
*/
|
|
167
|
-
export const ncName = (str, { xmlVersion = '1.0', asciiOnly = false } = {}) =>
|
|
168
|
-
getRegexes(xmlVersion, asciiOnly).ncName.test(str);
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Returns true if the string is a valid QName (Qualified Name).
|
|
172
|
-
* Allows exactly one colon as a prefix separator: prefix:localName.
|
|
173
|
-
* Used for: element and attribute names in namespace-aware XML/SVG.
|
|
174
|
-
*
|
|
175
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean }} [opts]
|
|
176
|
-
* asciiOnly: skip unicode-aware matching, ASCII names only (default false).
|
|
177
|
-
*/
|
|
178
|
-
export const qName = (str, { xmlVersion = '1.0', asciiOnly = false } = {}) =>
|
|
179
|
-
getRegexes(xmlVersion, asciiOnly).qName.test(str);
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Returns true if the string is a valid NMToken.
|
|
183
|
-
* Like Name but no restriction on the first character.
|
|
184
|
-
* Used for: DTD NMTOKEN attribute values.
|
|
185
|
-
*
|
|
186
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean }} [opts]
|
|
187
|
-
* asciiOnly: skip unicode-aware matching, ASCII names only (default false).
|
|
188
|
-
*/
|
|
189
|
-
export const nmToken = (str, { xmlVersion = '1.0', asciiOnly = false } = {}) =>
|
|
190
|
-
getRegexes(xmlVersion, asciiOnly).nmToken.test(str);
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Returns true if the string is a valid NMTokens value.
|
|
194
|
-
* A whitespace-separated list of NMToken values.
|
|
195
|
-
* Used for: DTD NMTOKENS attribute values.
|
|
196
|
-
*
|
|
197
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean }} [opts]
|
|
198
|
-
* asciiOnly: skip unicode-aware matching, ASCII names only (default false).
|
|
199
|
-
*/
|
|
200
|
-
export const nmTokens = (str, { xmlVersion = '1.0', asciiOnly = false } = {}) =>
|
|
201
|
-
getRegexes(xmlVersion, asciiOnly).nmTokens.test(str);
|
|
202
|
-
|
|
203
|
-
// ---------------------------------------------------------------------------
|
|
204
|
-
// Memoized validator factory
|
|
205
|
-
//
|
|
206
|
-
// Real documents reuse a small vocabulary of tag/attribute names across many
|
|
207
|
-
// siblings (e.g. `id`, `class`, `href` repeated across hundreds of elements).
|
|
208
|
-
// The plain boolean validators above re-run the regex on every call
|
|
209
|
-
// regardless of repeats. `createValidator` returns a closure with a private
|
|
210
|
-
// string -> boolean cache, so repeated names after the first become O(1)
|
|
211
|
-
// lookups instead of regex tests.
|
|
212
|
-
//
|
|
213
|
-
// - opts (xmlVersion, asciiOnly) are fixed at creation time, so the regex is
|
|
214
|
-
// resolved once, not on every call.
|
|
215
|
-
// - The cache is private to the returned closure — no shared/global state,
|
|
216
|
-
// no cross-caller pollution.
|
|
217
|
-
// - `maxCacheSize` bounds memory: once the cache reaches this many entries,
|
|
218
|
-
// it stops accepting new ones (existing entries keep serving hits; new
|
|
219
|
-
// misses just fall through to the regex, uncached). This avoids unbounded
|
|
220
|
-
// growth against adversarial/high-cardinality input (e.g. validating
|
|
221
|
-
// attacker-supplied names with no repeats) without the cost/complexity of
|
|
222
|
-
// a full LRU, and without the perf cliff of reset-and-refill thrashing.
|
|
223
|
-
// - Call `.reset()` on the returned function to clear the cache manually
|
|
224
|
-
// (e.g. between unrelated parse calls).
|
|
225
|
-
// ---------------------------------------------------------------------------
|
|
226
|
-
|
|
227
|
-
const PRODUCTIONS = ['name', 'ncName', 'qName', 'nmToken', 'nmTokens'];
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Returns a memoized boolean validator function for a single production,
|
|
231
|
-
* with opts fixed at creation time.
|
|
232
|
-
*
|
|
233
|
-
* @param {'name'|'ncName'|'qName'|'nmToken'|'nmTokens'} production
|
|
234
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean, maxCacheSize?: number }} [opts]
|
|
235
|
-
* maxCacheSize: max number of distinct strings to cache (default 2048).
|
|
236
|
-
* Once reached, new strings are validated but not cached; existing cached
|
|
237
|
-
* entries keep being served.
|
|
238
|
-
* @returns {((str: string) => boolean) & { reset: () => void }}
|
|
239
|
-
*/
|
|
240
|
-
export const createValidator = (production, { xmlVersion = '1.0', asciiOnly = false, maxCacheSize = 2048 } = {}) => {
|
|
241
|
-
if (!PRODUCTIONS.includes(production)) {
|
|
242
|
-
throw new TypeError(
|
|
243
|
-
`Unknown production "${production}". Must be one of: ${PRODUCTIONS.join(', ')}`
|
|
244
|
-
);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
const regex = getRegexes(xmlVersion, asciiOnly)[production];
|
|
248
|
-
let cache = new Map();
|
|
249
|
-
|
|
250
|
-
const validator = (str) => {
|
|
251
|
-
const cached = cache.get(str);
|
|
252
|
-
if (cached !== undefined) return cached;
|
|
253
|
-
|
|
254
|
-
const result = regex.test(str);
|
|
255
|
-
if (cache.size < maxCacheSize) cache.set(str, result);
|
|
256
|
-
return result;
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
validator.reset = () => { cache = new Map(); };
|
|
260
|
-
|
|
261
|
-
return validator;
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
// ---------------------------------------------------------------------------
|
|
265
|
-
// Diagnostic validator
|
|
266
|
-
// ---------------------------------------------------------------------------
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Validates a string against a named production and returns a detailed result.
|
|
270
|
-
*
|
|
271
|
-
* @param {string} str
|
|
272
|
-
* @param {'name'|'ncName'|'qName'|'nmToken'|'nmTokens'} production
|
|
273
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean }} [opts]
|
|
274
|
-
* @returns {{ valid: boolean, production: string, input: string, reason?: string, position?: number }}
|
|
275
|
-
*/
|
|
276
|
-
export const validate = (str, production, { xmlVersion = '1.0', asciiOnly = false } = {}) => {
|
|
277
|
-
if (!PRODUCTIONS.includes(production)) {
|
|
278
|
-
throw new TypeError(
|
|
279
|
-
`Unknown production "${production}". Must be one of: ${PRODUCTIONS.join(', ')}`
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
const validators = { name, ncName, qName, nmToken, nmTokens };
|
|
284
|
-
const isValid = validators[production](str, { xmlVersion, asciiOnly });
|
|
285
|
-
|
|
286
|
-
if (isValid) return { valid: true, production, input: str };
|
|
287
|
-
|
|
288
|
-
let reason = 'Does not match the production rules';
|
|
289
|
-
let position;
|
|
290
|
-
|
|
291
|
-
// Diagnostic fallback char checks must mirror the same character set the
|
|
292
|
-
// boolean validator above used, or the reported reason/position could
|
|
293
|
-
// contradict the `valid: false` result (e.g. flagging a char as illegal
|
|
294
|
-
// that the unicode-aware check would have accepted).
|
|
295
|
-
const startCharPattern = asciiOnly ? /^[:A-Za-z_]/ : /^[:A-Za-z_\u00C0-\uFFFD]/;
|
|
296
|
-
const namePattern = asciiOnly ? /[\w\-\\.:]/ : /[\w\-\\.:\u00B7\u00C0-\uFFFD]/;
|
|
297
|
-
|
|
298
|
-
if (str.length === 0) {
|
|
299
|
-
reason = 'Input is empty';
|
|
300
|
-
} else if (production === 'ncName' && str.includes(':')) {
|
|
301
|
-
position = str.indexOf(':');
|
|
302
|
-
reason = 'Colon is not allowed in NCName';
|
|
303
|
-
} else if (production === 'qName' && str.startsWith(':')) {
|
|
304
|
-
reason = 'QName cannot start with a colon';
|
|
305
|
-
position = 0;
|
|
306
|
-
} else if (production === 'qName' && str.endsWith(':')) {
|
|
307
|
-
reason = 'QName cannot end with a colon';
|
|
308
|
-
position = str.length - 1;
|
|
309
|
-
} else if (production === 'qName' && (str.match(/:/g) || []).length > 1) {
|
|
310
|
-
reason = 'QName can have at most one colon';
|
|
311
|
-
position = str.lastIndexOf(':');
|
|
312
|
-
} else if (
|
|
313
|
-
['name', 'ncName', 'qName'].includes(production) &&
|
|
314
|
-
!startCharPattern.test(str[0])
|
|
315
|
-
) {
|
|
316
|
-
reason = `First character "${str[0]}" is not a valid NameStartChar`;
|
|
317
|
-
position = 0;
|
|
318
|
-
} else {
|
|
319
|
-
for (let i = 0; i < str.length; i++) {
|
|
320
|
-
if (!namePattern.test(str[i])) {
|
|
321
|
-
reason = `Character "${str[i]}" at position ${i} is not a valid NameChar`;
|
|
322
|
-
position = i;
|
|
323
|
-
break;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
return { valid: false, production, input: str, reason, position };
|
|
329
|
-
};
|
|
330
|
-
|
|
331
|
-
// ---------------------------------------------------------------------------
|
|
332
|
-
// Batch validator
|
|
333
|
-
// ---------------------------------------------------------------------------
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* Validates an array of strings against a named production.
|
|
337
|
-
*
|
|
338
|
-
* @param {string[]} strings
|
|
339
|
-
* @param {'name'|'ncName'|'qName'|'nmToken'|'nmTokens'} production
|
|
340
|
-
* @param {{ xmlVersion?: '1.0'|'1.1', asciiOnly?: boolean }} [opts]
|
|
341
|
-
* @returns {Array<{ valid: boolean, production: string, input: string, reason?: string, position?: number }>}
|
|
342
|
-
*/
|
|
343
|
-
export const validateAll = (strings, production, opts = {}) =>
|
|
344
|
-
strings.map(str => validate(str, production, opts));
|
|
345
|
-
|
|
346
|
-
// ---------------------------------------------------------------------------
|
|
347
|
-
// Sanitizer
|
|
348
|
-
// ---------------------------------------------------------------------------
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Transforms an invalid string into the nearest valid XML name for the given production.
|
|
352
|
-
*
|
|
353
|
-
* @param {string} str
|
|
354
|
-
* @param {'name'|'ncName'|'qName'|'nmToken'|'nmTokens'} production
|
|
355
|
-
* @param {{ replacement?: string, asciiOnly?: boolean }} [opts]
|
|
356
|
-
* asciiOnly: also replace any non-ASCII character, not just XML-illegal
|
|
357
|
-
* ones (default false).
|
|
358
|
-
* @returns {string}
|
|
359
|
-
*/
|
|
360
|
-
export const sanitize = (str, production = 'name', { replacement = '_', asciiOnly = false } = {}) => {
|
|
361
|
-
if (!str) return replacement;
|
|
362
|
-
|
|
363
|
-
let result = str;
|
|
364
|
-
|
|
365
|
-
// Strip colons for NCName
|
|
366
|
-
if (production === 'ncName') {
|
|
367
|
-
result = result.replace(/:/g, '');
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
// Replace illegal characters
|
|
371
|
-
const allowedCharPattern = asciiOnly ? /[^\w\-\.:]/g : /[^\w\-\.:\u00B7\u00C0-\uFFFD]/g;
|
|
372
|
-
result = result.replace(allowedCharPattern, replacement);
|
|
373
|
-
|
|
374
|
-
// Fix invalid start character for Name / NCName / QName
|
|
375
|
-
if (production !== 'nmToken' && production !== 'nmTokens') {
|
|
376
|
-
if (/^[\-\.\d]/.test(result)) {
|
|
377
|
-
result = replacement + result;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
return result || replacement;
|
|
382
|
-
};
|
/package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js
RENAMED
|
File without changes
|
/package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js
RENAMED
|
File without changes
|
/package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|