@cdklabs/cdk-ssm-documents 0.0.61 → 0.0.63
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/.jsii +13 -13
- package/lib/construct/synth-utils.js +1 -1
- package/lib/document/automation-document.js +1 -1
- package/lib/document/command-document.js +1 -1
- package/lib/document/document-builder.js +2 -2
- package/lib/document/ssm-document.js +1 -1
- package/lib/domain/aws-service.js +1 -1
- package/lib/domain/choice.js +1 -1
- package/lib/domain/data-type.js +1 -1
- package/lib/domain/enum/install-action.js +2 -2
- package/lib/domain/enum/install-uninstall-repair.js +2 -2
- package/lib/domain/enum/installation-type.js +2 -2
- package/lib/domain/enum/package-name.js +2 -2
- package/lib/domain/input.js +1 -1
- package/lib/domain/operation.js +1 -1
- package/lib/domain/platform.js +1 -1
- package/lib/domain/precondition.js +1 -1
- package/lib/incident-response/incident-response.js +3 -3
- package/lib/interface/approve-hook.js +2 -2
- package/lib/interface/auth-method.js +3 -3
- package/lib/interface/aws-invoker.js +2 -2
- package/lib/interface/downloadable-content.js +8 -8
- package/lib/interface/environment.js +3 -3
- package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
- package/lib/interface/observer.js +1 -1
- package/lib/interface/on-failure.js +6 -6
- package/lib/interface/pause-hook.js +2 -2
- package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
- package/lib/interface/run-document-location.js +2 -2
- package/lib/interface/sleep-hook.js +2 -2
- package/lib/interface/step-ref.js +1 -1
- package/lib/interface/variables/boolean-variable.js +2 -2
- package/lib/interface/variables/map-list-variable.js +2 -2
- package/lib/interface/variables/number-variable.js +2 -2
- package/lib/interface/variables/secure-string-variable.js +4 -4
- package/lib/interface/variables/string-list-variable.js +2 -2
- package/lib/interface/variables/string-map-variable.js +2 -2
- package/lib/interface/variables/string-variable.js +4 -4
- package/lib/interface/variables/variable.js +2 -2
- package/lib/interface/webhook.js +1 -1
- package/lib/parent-steps/automation/approve-step.js +1 -1
- package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
- package/lib/parent-steps/automation/aws-api-step.js +1 -1
- package/lib/parent-steps/automation/branch-step.js +1 -1
- package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
- package/lib/parent-steps/automation/copy-image-step.js +1 -1
- package/lib/parent-steps/automation/create-image-step.js +1 -1
- package/lib/parent-steps/automation/create-stack-step.js +3 -3
- package/lib/parent-steps/automation/create-tags-step.js +3 -3
- package/lib/parent-steps/automation/delete-image-step.js +1 -1
- package/lib/parent-steps/automation/delete-stack-step.js +1 -1
- package/lib/parent-steps/automation/execute-automation-step.js +1 -1
- package/lib/parent-steps/automation/execute-script-step.js +5 -5
- package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
- package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
- package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
- package/lib/parent-steps/automation/pause-step.js +1 -1
- package/lib/parent-steps/automation/run-command-step.js +3 -3
- package/lib/parent-steps/automation/run-instance-step.js +1 -1
- package/lib/parent-steps/automation/sleep-step.js +1 -1
- package/lib/parent-steps/automation/update-variable.js +1 -1
- package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
- package/lib/parent-steps/automation-step.js +1 -1
- package/lib/parent-steps/command/applications-step.js +1 -1
- package/lib/parent-steps/command/configure-docker-step.js +1 -1
- package/lib/parent-steps/command/configure-package-step.js +1 -1
- package/lib/parent-steps/command/domain-join-step.js +1 -1
- package/lib/parent-steps/command/download-content-step.js +1 -1
- package/lib/parent-steps/command/ps-module-step.js +1 -1
- package/lib/parent-steps/command/run-docker-action-step.js +1 -1
- package/lib/parent-steps/command/run-document-step.js +1 -1
- package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
- package/lib/parent-steps/command/run-shell-script-step.js +1 -1
- package/lib/parent-steps/command/software-inventory-step.js +1 -1
- package/lib/parent-steps/command/update-agent-step.js +1 -1
- package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
- package/lib/parent-steps/command-step.js +1 -1
- package/lib/parent-steps/step.js +1 -1
- package/lib/patterns/automation/composite-step.js +2 -2
- package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
- package/lib/patterns/automation/string-step.js +1 -1
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +1 -1
- package/lib/samples/hello-world.js +1 -1
- package/lib/simulation/automation/approve-simulation.js +1 -1
- package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
- package/lib/simulation/automation/automation-simulation-base.js +1 -1
- package/lib/simulation/automation/aws-api-simulation.js +1 -1
- package/lib/simulation/automation/branch-simulation.js +1 -1
- package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
- package/lib/simulation/automation/copy-image-simulation.js +1 -1
- package/lib/simulation/automation/create-image-simulation.js +1 -1
- package/lib/simulation/automation/create-stack-simulation.js +1 -1
- package/lib/simulation/automation/create-tags-simulation.js +1 -1
- package/lib/simulation/automation/delete-image-simulation.js +1 -1
- package/lib/simulation/automation/delete-stack-simulation.js +1 -1
- package/lib/simulation/automation/execute-script-simulation.js +1 -1
- package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
- package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
- package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
- package/lib/simulation/automation/pause-simulation.js +1 -1
- package/lib/simulation/automation/run-command-simulation.js +1 -1
- package/lib/simulation/automation/run-instance-simulation.js +1 -1
- package/lib/simulation/automation/sleep-simulation.js +1 -1
- package/lib/simulation/automation/update-variable-simulation.js +1 -1
- package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
- package/lib/simulation/automation-step-simulation.js +1 -1
- package/lib/simulation/command/command-simulation-base.js +1 -1
- package/lib/simulation/command/ps-module-simulation.js +1 -1
- package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
- package/lib/simulation/command/run-shell-script-simulation.js +1 -1
- package/lib/simulation/command-step-simulation.js +1 -1
- package/lib/simulation/document/automation-simulation.js +1 -1
- package/lib/simulation/document/command-simulation.js +1 -1
- package/lib/simulation/simulation.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +10 -10
- package/node_modules/@aws-sdk/client-ec2/README.md +66 -2
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +33 -0
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +98 -60
- package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeIpamPoolAllocationsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyIpamPoolAllocationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/DescribeIpamPoolAllocationsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +51 -13
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +74 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +56 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeIpamPoolAllocationsCommand.d.ts +110 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamPoolAllocationCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyRouteServerCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/index.d.ts +52 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +51 -74
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +77 -46
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +104 -129
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +127 -18
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/DescribeIpamPoolAllocationsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +42 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeIpamPoolAllocationsCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamPoolAllocationCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +12 -11
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +12 -10
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +26 -27
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +31 -4
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/DescribeIpamPoolAllocationsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/package.json +10 -10
- package/node_modules/@aws-sdk/client-iam/package.json +9 -9
- package/node_modules/@aws-sdk/client-lambda/package.json +9 -9
- package/node_modules/@aws-sdk/client-s3/package.json +17 -17
- package/node_modules/@aws-sdk/client-sns/package.json +8 -8
- package/node_modules/@aws-sdk/client-sqs/package.json +10 -10
- package/node_modules/@aws-sdk/client-ssm/package.json +8 -8
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +10 -10
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +10 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +9 -9
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -1
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -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/dist-cjs/index.js +12 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +12 -1
- 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/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -7
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@nodable/entities/package.json +1 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +1 -1
- package/node_modules/@nodable/entities/src/entities.js +0 -18
- package/node_modules/@smithy/core/cbor.d.ts +1 -3
- package/node_modules/@smithy/core/cbor.js +0 -1
- package/node_modules/@smithy/core/checksum.d.ts +2 -2
- package/node_modules/@smithy/core/checksum.js +1 -1
- package/node_modules/@smithy/core/client.d.ts +1 -3
- package/node_modules/@smithy/core/client.js +0 -1
- package/node_modules/@smithy/core/config.d.ts +2 -2
- package/node_modules/@smithy/core/config.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
- package/node_modules/@smithy/core/dist-es/index.js +6 -6
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +19 -6
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +9 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-types/index.d.ts +10 -6
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +4 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/DefaultRetryToken.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +9 -0
- package/node_modules/@smithy/core/endpoints.d.ts +1 -3
- package/node_modules/@smithy/core/endpoints.js +0 -1
- package/node_modules/@smithy/core/event-streams.d.ts +1 -3
- package/node_modules/@smithy/core/event-streams.js +0 -1
- package/node_modules/@smithy/core/package.json +20 -11
- package/node_modules/@smithy/core/protocols.d.ts +1 -3
- package/node_modules/@smithy/core/protocols.js +0 -1
- package/node_modules/@smithy/core/retry.d.ts +2 -2
- package/node_modules/@smithy/core/retry.js +1 -1
- package/node_modules/@smithy/core/schema.d.ts +1 -3
- package/node_modules/@smithy/core/schema.js +0 -1
- package/node_modules/@smithy/core/serde.d.ts +1 -3
- package/node_modules/@smithy/core/serde.js +0 -1
- package/node_modules/@smithy/core/transport.d.ts +5 -0
- package/node_modules/@smithy/core/transport.js +5 -0
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/middleware-compression/package.json +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/dist-types/retry.d.ts +25 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/js-yaml/README.md +4 -20
- package/node_modules/js-yaml/bin/js-yaml.js +53 -62
- package/node_modules/js-yaml/dist/js-yaml.js +2404 -3880
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.min.js +33 -2
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.mjs +2381 -3855
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -0
- package/node_modules/js-yaml/index.js +32 -35
- package/node_modules/js-yaml/lib/common.js +28 -37
- package/node_modules/js-yaml/lib/dumper.js +450 -478
- package/node_modules/js-yaml/lib/exception.js +23 -27
- package/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +37 -0
- package/node_modules/js-yaml/lib/loader.js +927 -866
- package/node_modules/js-yaml/lib/schema/core.js +2 -4
- package/node_modules/js-yaml/lib/schema/default.js +2 -4
- package/node_modules/js-yaml/lib/schema/failsafe.js +3 -6
- package/node_modules/js-yaml/lib/schema/json.js +2 -4
- package/node_modules/js-yaml/lib/schema.js +56 -68
- package/node_modules/js-yaml/lib/snippet.js +47 -52
- package/node_modules/js-yaml/lib/type/binary.js +61 -64
- package/node_modules/js-yaml/lib/type/bool.js +14 -14
- package/node_modules/js-yaml/lib/type/float.js +47 -45
- package/node_modules/js-yaml/lib/type/int.js +65 -79
- package/node_modules/js-yaml/lib/type/map.js +4 -4
- package/node_modules/js-yaml/lib/type/merge.js +5 -5
- package/node_modules/js-yaml/lib/type/null.js +16 -16
- package/node_modules/js-yaml/lib/type/omap.js +22 -21
- package/node_modules/js-yaml/lib/type/pairs.js +24 -27
- package/node_modules/js-yaml/lib/type/seq.js +4 -4
- package/node_modules/js-yaml/lib/type/set.js +12 -12
- package/node_modules/js-yaml/lib/type/str.js +4 -4
- package/node_modules/js-yaml/lib/type/timestamp.js +53 -53
- package/node_modules/js-yaml/lib/type.js +30 -30
- package/node_modules/js-yaml/package.json +32 -21
- package/package.json +11 -11
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
- package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
- package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/TestVectors.fixture.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/vectorTypes.fixture.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -12
- package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
- package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +0 -14
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/CHANGELOG.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/README.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.cjs +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.d.cts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/package.json +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.d.ts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{pagination → legacy-root-exports/pagination}/createPaginator.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{getSmithyContext.d.ts → submodules/transport/getSmithyContext.d.ts} +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpRequest.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpResponse.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/isValidHostname.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{client/util-middleware → transport}/normalizeProvider.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/querystring-parser → transport}/parseQueryString.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/url-parser → transport}/parseUrl.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{endpoints → transport}/toEndpointV1.d.ts +0 -0
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
|
|
5
5
|
// So, Core schema has no distinctions from JSON schema is JS-YAML.
|
|
6
6
|
|
|
7
|
+
'use strict'
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
module.exports = require('./json');
|
|
9
|
+
module.exports = require('./json')
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
// This schema is based on standard YAML's Core schema and includes most of
|
|
5
5
|
// extra types described at YAML tag repository. (http://yaml.org/type/)
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
7
|
+
'use strict'
|
|
10
8
|
|
|
11
9
|
module.exports = require('./core').extend({
|
|
12
10
|
implicit: [
|
|
@@ -19,4 +17,4 @@ module.exports = require('./core').extend({
|
|
|
19
17
|
require('../type/pairs'),
|
|
20
18
|
require('../type/set')
|
|
21
19
|
]
|
|
22
|
-
})
|
|
20
|
+
})
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
// Standard YAML's Failsafe schema.
|
|
2
2
|
// http://www.yaml.org/spec/1.2/spec.html#id2802346
|
|
3
3
|
|
|
4
|
+
'use strict'
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var Schema = require('../schema');
|
|
9
|
-
|
|
6
|
+
const Schema = require('../schema')
|
|
10
7
|
|
|
11
8
|
module.exports = new Schema({
|
|
12
9
|
explicit: [
|
|
@@ -14,4 +11,4 @@ module.exports = new Schema({
|
|
|
14
11
|
require('../type/seq'),
|
|
15
12
|
require('../type/map')
|
|
16
13
|
]
|
|
17
|
-
})
|
|
14
|
+
})
|
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
// So, this schema is not such strict as defined in the YAML specification.
|
|
6
6
|
// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
'use strict';
|
|
10
|
-
|
|
8
|
+
'use strict'
|
|
11
9
|
|
|
12
10
|
module.exports = require('./failsafe').extend({
|
|
13
11
|
implicit: [
|
|
@@ -16,4 +14,4 @@ module.exports = require('./failsafe').extend({
|
|
|
16
14
|
require('../type/int'),
|
|
17
15
|
require('../type/float')
|
|
18
16
|
]
|
|
19
|
-
})
|
|
17
|
+
})
|
|
@@ -1,121 +1,109 @@
|
|
|
1
|
-
'use strict'
|
|
1
|
+
'use strict'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const YAMLException = require('./exception')
|
|
4
|
+
const Type = require('./type')
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function compileList(schema, name) {
|
|
10
|
-
var result = [];
|
|
6
|
+
function compileList (schema, name) {
|
|
7
|
+
const result = []
|
|
11
8
|
|
|
12
9
|
schema[name].forEach(function (currentType) {
|
|
13
|
-
|
|
10
|
+
let newIndex = result.length
|
|
14
11
|
|
|
15
12
|
result.forEach(function (previousType, previousIndex) {
|
|
16
13
|
if (previousType.tag === currentType.tag &&
|
|
17
14
|
previousType.kind === currentType.kind &&
|
|
18
15
|
previousType.multi === currentType.multi) {
|
|
19
|
-
|
|
20
|
-
newIndex = previousIndex;
|
|
16
|
+
newIndex = previousIndex
|
|
21
17
|
}
|
|
22
|
-
})
|
|
18
|
+
})
|
|
23
19
|
|
|
24
|
-
result[newIndex] = currentType
|
|
25
|
-
})
|
|
20
|
+
result[newIndex] = currentType
|
|
21
|
+
})
|
|
26
22
|
|
|
27
|
-
return result
|
|
23
|
+
return result
|
|
28
24
|
}
|
|
29
25
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
function collectType(type) {
|
|
26
|
+
function compileMap (/* lists... */) {
|
|
27
|
+
const result = {
|
|
28
|
+
scalar: {},
|
|
29
|
+
sequence: {},
|
|
30
|
+
mapping: {},
|
|
31
|
+
fallback: {},
|
|
32
|
+
multi: {
|
|
33
|
+
scalar: [],
|
|
34
|
+
sequence: [],
|
|
35
|
+
mapping: [],
|
|
36
|
+
fallback: []
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function collectType (type) {
|
|
46
40
|
if (type.multi) {
|
|
47
|
-
result.multi[type.kind].push(type)
|
|
48
|
-
result.multi['fallback'].push(type)
|
|
41
|
+
result.multi[type.kind].push(type)
|
|
42
|
+
result.multi['fallback'].push(type)
|
|
49
43
|
} else {
|
|
50
|
-
result[type.kind][type.tag] = result['fallback'][type.tag] = type
|
|
44
|
+
result[type.kind][type.tag] = result['fallback'][type.tag] = type
|
|
51
45
|
}
|
|
52
46
|
}
|
|
53
47
|
|
|
54
|
-
for (index = 0, length = arguments.length; index < length; index += 1) {
|
|
55
|
-
arguments[index].forEach(collectType)
|
|
48
|
+
for (let index = 0, length = arguments.length; index < length; index += 1) {
|
|
49
|
+
arguments[index].forEach(collectType)
|
|
56
50
|
}
|
|
57
|
-
return result
|
|
51
|
+
return result
|
|
58
52
|
}
|
|
59
53
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return this.extend(definition);
|
|
54
|
+
function Schema (definition) {
|
|
55
|
+
return this.extend(definition)
|
|
63
56
|
}
|
|
64
57
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
var explicit = [];
|
|
58
|
+
Schema.prototype.extend = function extend (definition) {
|
|
59
|
+
let implicit = []
|
|
60
|
+
let explicit = []
|
|
69
61
|
|
|
70
62
|
if (definition instanceof Type) {
|
|
71
63
|
// Schema.extend(type)
|
|
72
|
-
explicit.push(definition)
|
|
73
|
-
|
|
64
|
+
explicit.push(definition)
|
|
74
65
|
} else if (Array.isArray(definition)) {
|
|
75
66
|
// Schema.extend([ type1, type2, ... ])
|
|
76
|
-
explicit = explicit.concat(definition)
|
|
77
|
-
|
|
67
|
+
explicit = explicit.concat(definition)
|
|
78
68
|
} else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
|
|
79
69
|
// Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] })
|
|
80
|
-
if (definition.implicit) implicit = implicit.concat(definition.implicit)
|
|
81
|
-
if (definition.explicit) explicit = explicit.concat(definition.explicit)
|
|
82
|
-
|
|
70
|
+
if (definition.implicit) implicit = implicit.concat(definition.implicit)
|
|
71
|
+
if (definition.explicit) explicit = explicit.concat(definition.explicit)
|
|
83
72
|
} else {
|
|
84
73
|
throw new YAMLException('Schema.extend argument should be a Type, [ Type ], ' +
|
|
85
|
-
'or a schema definition ({ implicit: [...], explicit: [...] })')
|
|
74
|
+
'or a schema definition ({ implicit: [...], explicit: [...] })')
|
|
86
75
|
}
|
|
87
76
|
|
|
88
77
|
implicit.forEach(function (type) {
|
|
89
78
|
if (!(type instanceof Type)) {
|
|
90
|
-
throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.')
|
|
79
|
+
throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.')
|
|
91
80
|
}
|
|
92
81
|
|
|
93
82
|
if (type.loadKind && type.loadKind !== 'scalar') {
|
|
94
|
-
throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.')
|
|
83
|
+
throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.')
|
|
95
84
|
}
|
|
96
85
|
|
|
97
86
|
if (type.multi) {
|
|
98
|
-
throw new YAMLException('There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.')
|
|
87
|
+
throw new YAMLException('There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.')
|
|
99
88
|
}
|
|
100
|
-
})
|
|
89
|
+
})
|
|
101
90
|
|
|
102
91
|
explicit.forEach(function (type) {
|
|
103
92
|
if (!(type instanceof Type)) {
|
|
104
|
-
throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.')
|
|
93
|
+
throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.')
|
|
105
94
|
}
|
|
106
|
-
})
|
|
107
|
-
|
|
108
|
-
var result = Object.create(Schema.prototype);
|
|
95
|
+
})
|
|
109
96
|
|
|
110
|
-
result
|
|
111
|
-
result.explicit = (this.explicit || []).concat(explicit);
|
|
97
|
+
const result = Object.create(Schema.prototype)
|
|
112
98
|
|
|
113
|
-
result.
|
|
114
|
-
result.
|
|
115
|
-
result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
|
|
99
|
+
result.implicit = (this.implicit || []).concat(implicit)
|
|
100
|
+
result.explicit = (this.explicit || []).concat(explicit)
|
|
116
101
|
|
|
117
|
-
|
|
118
|
-
|
|
102
|
+
result.compiledImplicit = compileList(result, 'implicit')
|
|
103
|
+
result.compiledExplicit = compileList(result, 'explicit')
|
|
104
|
+
result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit)
|
|
119
105
|
|
|
106
|
+
return result
|
|
107
|
+
}
|
|
120
108
|
|
|
121
|
-
module.exports = Schema
|
|
109
|
+
module.exports = Schema
|
|
@@ -1,101 +1,96 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var common = require('./common');
|
|
1
|
+
'use strict'
|
|
5
2
|
|
|
3
|
+
const common = require('./common')
|
|
6
4
|
|
|
7
5
|
// get snippet for a single line, respecting maxLength
|
|
8
|
-
function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
function getLine (buffer, lineStart, lineEnd, position, maxLineLength) {
|
|
7
|
+
let head = ''
|
|
8
|
+
let tail = ''
|
|
9
|
+
const maxHalfLength = Math.floor(maxLineLength / 2) - 1
|
|
12
10
|
|
|
13
11
|
if (position - lineStart > maxHalfLength) {
|
|
14
|
-
head = ' ... '
|
|
15
|
-
lineStart = position - maxHalfLength + head.length
|
|
12
|
+
head = ' ... '
|
|
13
|
+
lineStart = position - maxHalfLength + head.length
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
if (lineEnd - position > maxHalfLength) {
|
|
19
|
-
tail = ' ...'
|
|
20
|
-
lineEnd = position + maxHalfLength - tail.length
|
|
17
|
+
tail = ' ...'
|
|
18
|
+
lineEnd = position + maxHalfLength - tail.length
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
return {
|
|
24
22
|
str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, '→') + tail,
|
|
25
23
|
pos: position - lineStart + head.length // relative position
|
|
26
|
-
}
|
|
24
|
+
}
|
|
27
25
|
}
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return common.repeat(' ', max - string.length) + string;
|
|
27
|
+
function padStart (string, max) {
|
|
28
|
+
return common.repeat(' ', max - string.length) + string
|
|
32
29
|
}
|
|
33
30
|
|
|
31
|
+
function makeSnippet (mark, options) {
|
|
32
|
+
options = Object.create(options || null)
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
options = Object.create(options || null);
|
|
37
|
-
|
|
38
|
-
if (!mark.buffer) return null;
|
|
34
|
+
if (!mark.buffer) return null
|
|
39
35
|
|
|
40
|
-
if (!options.maxLength) options.maxLength = 79
|
|
41
|
-
if (typeof options.indent
|
|
42
|
-
if (typeof options.linesBefore !== 'number') options.linesBefore = 3
|
|
43
|
-
if (typeof options.linesAfter
|
|
36
|
+
if (!options.maxLength) options.maxLength = 79
|
|
37
|
+
if (typeof options.indent !== 'number') options.indent = 1
|
|
38
|
+
if (typeof options.linesBefore !== 'number') options.linesBefore = 3
|
|
39
|
+
if (typeof options.linesAfter !== 'number') options.linesAfter = 2
|
|
44
40
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
const re = /\r?\n|\r|\0/g
|
|
42
|
+
const lineStarts = [0]
|
|
43
|
+
const lineEnds = []
|
|
44
|
+
let match
|
|
45
|
+
let foundLineNo = -1
|
|
50
46
|
|
|
51
47
|
while ((match = re.exec(mark.buffer))) {
|
|
52
|
-
lineEnds.push(match.index)
|
|
53
|
-
lineStarts.push(match.index + match[0].length)
|
|
48
|
+
lineEnds.push(match.index)
|
|
49
|
+
lineStarts.push(match.index + match[0].length)
|
|
54
50
|
|
|
55
51
|
if (mark.position <= match.index && foundLineNo < 0) {
|
|
56
|
-
foundLineNo = lineStarts.length - 2
|
|
52
|
+
foundLineNo = lineStarts.length - 2
|
|
57
53
|
}
|
|
58
54
|
}
|
|
59
55
|
|
|
60
|
-
if (foundLineNo < 0) foundLineNo = lineStarts.length - 1
|
|
56
|
+
if (foundLineNo < 0) foundLineNo = lineStarts.length - 1
|
|
61
57
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
let result = ''
|
|
59
|
+
const lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length
|
|
60
|
+
const maxLineLength = options.maxLength - (options.indent + lineNoLength + 3)
|
|
65
61
|
|
|
66
|
-
for (i = 1; i <= options.linesBefore; i++) {
|
|
67
|
-
if (foundLineNo - i < 0) break
|
|
68
|
-
line = getLine(
|
|
62
|
+
for (let i = 1; i <= options.linesBefore; i++) {
|
|
63
|
+
if (foundLineNo - i < 0) break
|
|
64
|
+
const line = getLine(
|
|
69
65
|
mark.buffer,
|
|
70
66
|
lineStarts[foundLineNo - i],
|
|
71
67
|
lineEnds[foundLineNo - i],
|
|
72
68
|
mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),
|
|
73
69
|
maxLineLength
|
|
74
|
-
)
|
|
70
|
+
)
|
|
75
71
|
result = common.repeat(' ', options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) +
|
|
76
|
-
' | ' + line.str + '\n' + result
|
|
72
|
+
' | ' + line.str + '\n' + result
|
|
77
73
|
}
|
|
78
74
|
|
|
79
|
-
line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength)
|
|
75
|
+
const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength)
|
|
80
76
|
result += common.repeat(' ', options.indent) + padStart((mark.line + 1).toString(), lineNoLength) +
|
|
81
|
-
' | ' + line.str + '\n'
|
|
82
|
-
result += common.repeat('-', options.indent + lineNoLength + 3 + line.pos) + '^' + '\n'
|
|
77
|
+
' | ' + line.str + '\n'
|
|
78
|
+
result += common.repeat('-', options.indent + lineNoLength + 3 + line.pos) + '^' + '\n'
|
|
83
79
|
|
|
84
|
-
for (i = 1; i <= options.linesAfter; i++) {
|
|
85
|
-
if (foundLineNo + i >= lineEnds.length) break
|
|
86
|
-
line = getLine(
|
|
80
|
+
for (let i = 1; i <= options.linesAfter; i++) {
|
|
81
|
+
if (foundLineNo + i >= lineEnds.length) break
|
|
82
|
+
const line = getLine(
|
|
87
83
|
mark.buffer,
|
|
88
84
|
lineStarts[foundLineNo + i],
|
|
89
85
|
lineEnds[foundLineNo + i],
|
|
90
86
|
mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),
|
|
91
87
|
maxLineLength
|
|
92
|
-
)
|
|
88
|
+
)
|
|
93
89
|
result += common.repeat(' ', options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) +
|
|
94
|
-
' | ' + line.str + '\n'
|
|
90
|
+
' | ' + line.str + '\n'
|
|
95
91
|
}
|
|
96
92
|
|
|
97
|
-
return result.replace(/\n$/, '')
|
|
93
|
+
return result.replace(/\n$/, '')
|
|
98
94
|
}
|
|
99
95
|
|
|
100
|
-
|
|
101
|
-
module.exports = makeSnippet;
|
|
96
|
+
module.exports = makeSnippet
|
|
@@ -1,119 +1,116 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
/*eslint-disable no-bitwise*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var Type = require('../type');
|
|
1
|
+
'use strict'
|
|
7
2
|
|
|
3
|
+
const Type = require('../type')
|
|
8
4
|
|
|
9
5
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
const BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r'
|
|
12
7
|
|
|
13
|
-
function resolveYamlBinary(data) {
|
|
14
|
-
if (data === null) return false
|
|
8
|
+
function resolveYamlBinary (data) {
|
|
9
|
+
if (data === null) return false
|
|
15
10
|
|
|
16
|
-
|
|
11
|
+
let bitlen = 0
|
|
12
|
+
const max = data.length
|
|
13
|
+
const map = BASE64_MAP
|
|
17
14
|
|
|
18
15
|
// Convert one by one.
|
|
19
|
-
for (idx = 0; idx < max; idx++) {
|
|
20
|
-
code = map.indexOf(data.charAt(idx))
|
|
16
|
+
for (let idx = 0; idx < max; idx++) {
|
|
17
|
+
const code = map.indexOf(data.charAt(idx))
|
|
21
18
|
|
|
22
19
|
// Skip CR/LF
|
|
23
|
-
if (code > 64) continue
|
|
20
|
+
if (code > 64) continue
|
|
24
21
|
|
|
25
22
|
// Fail on illegal characters
|
|
26
|
-
if (code < 0) return false
|
|
23
|
+
if (code < 0) return false
|
|
27
24
|
|
|
28
|
-
bitlen += 6
|
|
25
|
+
bitlen += 6
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
// If there are any bits left, source was corrupted
|
|
32
|
-
return (bitlen % 8) === 0
|
|
29
|
+
return (bitlen % 8) === 0
|
|
33
30
|
}
|
|
34
31
|
|
|
35
|
-
function constructYamlBinary(data) {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
result = [];
|
|
32
|
+
function constructYamlBinary (data) {
|
|
33
|
+
const input = data.replace(/[\r\n=]/g, '') // remove CR/LF & padding to simplify scan
|
|
34
|
+
const max = input.length
|
|
35
|
+
const map = BASE64_MAP
|
|
36
|
+
let bits = 0
|
|
37
|
+
const result = []
|
|
42
38
|
|
|
43
39
|
// Collect by 6*4 bits (3 bytes)
|
|
44
40
|
|
|
45
|
-
for (idx = 0; idx < max; idx++) {
|
|
41
|
+
for (let idx = 0; idx < max; idx++) {
|
|
46
42
|
if ((idx % 4 === 0) && idx) {
|
|
47
|
-
result.push((bits >> 16) & 0xFF)
|
|
48
|
-
result.push((bits >> 8) & 0xFF)
|
|
49
|
-
result.push(bits & 0xFF)
|
|
43
|
+
result.push((bits >> 16) & 0xFF)
|
|
44
|
+
result.push((bits >> 8) & 0xFF)
|
|
45
|
+
result.push(bits & 0xFF)
|
|
50
46
|
}
|
|
51
47
|
|
|
52
|
-
bits = (bits << 6) | map.indexOf(input.charAt(idx))
|
|
48
|
+
bits = (bits << 6) | map.indexOf(input.charAt(idx))
|
|
53
49
|
}
|
|
54
50
|
|
|
55
51
|
// Dump tail
|
|
56
52
|
|
|
57
|
-
tailbits = (max % 4) * 6
|
|
53
|
+
const tailbits = (max % 4) * 6
|
|
58
54
|
|
|
59
55
|
if (tailbits === 0) {
|
|
60
|
-
result.push((bits >> 16) & 0xFF)
|
|
61
|
-
result.push((bits >> 8) & 0xFF)
|
|
62
|
-
result.push(bits & 0xFF)
|
|
56
|
+
result.push((bits >> 16) & 0xFF)
|
|
57
|
+
result.push((bits >> 8) & 0xFF)
|
|
58
|
+
result.push(bits & 0xFF)
|
|
63
59
|
} else if (tailbits === 18) {
|
|
64
|
-
result.push((bits >> 10) & 0xFF)
|
|
65
|
-
result.push((bits >> 2) & 0xFF)
|
|
60
|
+
result.push((bits >> 10) & 0xFF)
|
|
61
|
+
result.push((bits >> 2) & 0xFF)
|
|
66
62
|
} else if (tailbits === 12) {
|
|
67
|
-
result.push((bits >> 4) & 0xFF)
|
|
63
|
+
result.push((bits >> 4) & 0xFF)
|
|
68
64
|
}
|
|
69
65
|
|
|
70
|
-
return new Uint8Array(result)
|
|
66
|
+
return new Uint8Array(result)
|
|
71
67
|
}
|
|
72
68
|
|
|
73
|
-
function representYamlBinary(object /*, style*/) {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
function representYamlBinary (object /*, style */) {
|
|
70
|
+
let result = ''
|
|
71
|
+
let bits = 0
|
|
72
|
+
const max = object.length
|
|
73
|
+
const map = BASE64_MAP
|
|
77
74
|
|
|
78
75
|
// Convert every three bytes to 4 ASCII characters.
|
|
79
76
|
|
|
80
|
-
for (idx = 0; idx < max; idx++) {
|
|
77
|
+
for (let idx = 0; idx < max; idx++) {
|
|
81
78
|
if ((idx % 3 === 0) && idx) {
|
|
82
|
-
result += map[(bits >> 18) & 0x3F]
|
|
83
|
-
result += map[(bits >> 12) & 0x3F]
|
|
84
|
-
result += map[(bits >> 6) & 0x3F]
|
|
85
|
-
result += map[bits & 0x3F]
|
|
79
|
+
result += map[(bits >> 18) & 0x3F]
|
|
80
|
+
result += map[(bits >> 12) & 0x3F]
|
|
81
|
+
result += map[(bits >> 6) & 0x3F]
|
|
82
|
+
result += map[bits & 0x3F]
|
|
86
83
|
}
|
|
87
84
|
|
|
88
|
-
bits = (bits << 8) + object[idx]
|
|
85
|
+
bits = (bits << 8) + object[idx]
|
|
89
86
|
}
|
|
90
87
|
|
|
91
88
|
// Dump tail
|
|
92
89
|
|
|
93
|
-
tail = max % 3
|
|
90
|
+
const tail = max % 3
|
|
94
91
|
|
|
95
92
|
if (tail === 0) {
|
|
96
|
-
result += map[(bits >> 18) & 0x3F]
|
|
97
|
-
result += map[(bits >> 12) & 0x3F]
|
|
98
|
-
result += map[(bits >> 6) & 0x3F]
|
|
99
|
-
result += map[bits & 0x3F]
|
|
93
|
+
result += map[(bits >> 18) & 0x3F]
|
|
94
|
+
result += map[(bits >> 12) & 0x3F]
|
|
95
|
+
result += map[(bits >> 6) & 0x3F]
|
|
96
|
+
result += map[bits & 0x3F]
|
|
100
97
|
} else if (tail === 2) {
|
|
101
|
-
result += map[(bits >> 10) & 0x3F]
|
|
102
|
-
result += map[(bits >> 4) & 0x3F]
|
|
103
|
-
result += map[(bits << 2) & 0x3F]
|
|
104
|
-
result += map[64]
|
|
98
|
+
result += map[(bits >> 10) & 0x3F]
|
|
99
|
+
result += map[(bits >> 4) & 0x3F]
|
|
100
|
+
result += map[(bits << 2) & 0x3F]
|
|
101
|
+
result += map[64]
|
|
105
102
|
} else if (tail === 1) {
|
|
106
|
-
result += map[(bits >> 2) & 0x3F]
|
|
107
|
-
result += map[(bits << 4) & 0x3F]
|
|
108
|
-
result += map[64]
|
|
109
|
-
result += map[64]
|
|
103
|
+
result += map[(bits >> 2) & 0x3F]
|
|
104
|
+
result += map[(bits << 4) & 0x3F]
|
|
105
|
+
result += map[64]
|
|
106
|
+
result += map[64]
|
|
110
107
|
}
|
|
111
108
|
|
|
112
|
-
return result
|
|
109
|
+
return result
|
|
113
110
|
}
|
|
114
111
|
|
|
115
|
-
function isBinary(obj) {
|
|
116
|
-
return Object.prototype.toString.call(obj) ===
|
|
112
|
+
function isBinary (obj) {
|
|
113
|
+
return Object.prototype.toString.call(obj) === '[object Uint8Array]'
|
|
117
114
|
}
|
|
118
115
|
|
|
119
116
|
module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
@@ -122,4 +119,4 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
|
122
119
|
construct: constructYamlBinary,
|
|
123
120
|
predicate: isBinary,
|
|
124
121
|
represent: representYamlBinary
|
|
125
|
-
})
|
|
122
|
+
})
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
'use strict'
|
|
1
|
+
'use strict'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const Type = require('../type')
|
|
4
4
|
|
|
5
|
-
function resolveYamlBoolean(data) {
|
|
6
|
-
if (data === null) return false
|
|
5
|
+
function resolveYamlBoolean (data) {
|
|
6
|
+
if (data === null) return false
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
const max = data.length
|
|
9
9
|
|
|
10
10
|
return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||
|
|
11
|
-
(max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'))
|
|
11
|
+
(max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'))
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
function constructYamlBoolean(data) {
|
|
14
|
+
function constructYamlBoolean (data) {
|
|
15
15
|
return data === 'true' ||
|
|
16
16
|
data === 'True' ||
|
|
17
|
-
data === 'TRUE'
|
|
17
|
+
data === 'TRUE'
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
function isBoolean(object) {
|
|
21
|
-
return Object.prototype.toString.call(object) === '[object Boolean]'
|
|
20
|
+
function isBoolean (object) {
|
|
21
|
+
return Object.prototype.toString.call(object) === '[object Boolean]'
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
@@ -27,9 +27,9 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
|
27
27
|
construct: constructYamlBoolean,
|
|
28
28
|
predicate: isBoolean,
|
|
29
29
|
represent: {
|
|
30
|
-
lowercase: function (object) { return object ? 'true' : 'false'
|
|
31
|
-
uppercase: function (object) { return object ? 'TRUE' : 'FALSE'
|
|
32
|
-
camelcase: function (object) { return object ? 'True' : 'False'
|
|
30
|
+
lowercase: function (object) { return object ? 'true' : 'false' },
|
|
31
|
+
uppercase: function (object) { return object ? 'TRUE' : 'FALSE' },
|
|
32
|
+
camelcase: function (object) { return object ? 'True' : 'False' }
|
|
33
33
|
},
|
|
34
34
|
defaultStyle: 'lowercase'
|
|
35
|
-
})
|
|
35
|
+
})
|