@cdklabs/cdk-construct-connect-datalake 0.0.14 → 0.0.16
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 +9 -9
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +2 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +449 -469
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +4 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/errors.js +59 -91
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +22 -26
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +30 -34
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.native.js +4 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +20 -24
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/schemas/schemas_0.js +814 -533
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/client-connect/README.md +14 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/bdd.js +2 -5
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +1289 -1256
- package/node_modules/@aws-sdk/client-connect/dist-cjs/models/ConnectServiceException.js +4 -8
- package/node_modules/@aws-sdk/client-connect/dist-cjs/models/errors.js +57 -88
- package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.browser.js +22 -26
- package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.js +30 -34
- package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.native.js +4 -7
- package/node_modules/@aws-sdk/client-connect/dist-cjs/runtimeConfig.shared.js +20 -24
- package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +3630 -2290
- package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/GetEvaluationFormValidationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/StartEvaluationFormValidationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +20 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/models/models_4.js +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +183 -48
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +14 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateEvaluationFormCommand.d.ts +65 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateViewCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateViewVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactEvaluationCommand.d.ts +72 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeEvaluationFormCommand.d.ts +68 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +112 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListContactEvaluationsCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactEvaluationsCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchNotificationsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/StartEvaluationFormValidationCommand.d.ts +102 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateEvaluationFormCommand.d.ts +67 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +60 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +127 -103
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +217 -1947
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +2078 -384
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +1479 -1769
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +707 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +34 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateViewCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/StartEvaluationFormValidationCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +30 -23
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +50 -45
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +75 -81
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +96 -175
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +197 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/client-connect/package.json +8 -8
- package/node_modules/@aws-sdk/client-glue/README.md +196 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/bdd.js +2 -5
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1317 -907
- package/node_modules/@aws-sdk/client-glue/dist-cjs/models/GlueServiceException.js +4 -8
- package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +131 -183
- package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.browser.js +22 -26
- package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.js +30 -34
- package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.native.js +4 -7
- package/node_modules/@aws-sdk/client-glue/dist-cjs/runtimeConfig.shared.js +20 -24
- package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +3528 -1827
- package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +68 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/AssociateGlossaryTermsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/BatchGetIterableFormsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/CreateGlossaryCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/CreateGlossaryTermCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteAssetCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteAssetTypeCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteAttachmentCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteFormTypeCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteGlossaryCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/DeleteGlossaryTermCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/DisassociateGlossaryTermsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetAssetCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetAssetTypeCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetFormTypeCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetGlossaryCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetGlossaryTermCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListAssetTypesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListFormTypesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListGlossariesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListGlossaryTermsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/ListIterableFormsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutAssetCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutAssetTypeCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutAttachmentCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/PutFormTypeCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/SearchAssetsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/UpdateGlossaryCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/UpdateGlossaryTermCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +28 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +12 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +38 -38
- package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListAssetTypesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListFormTypesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListGlossariesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListGlossaryTermsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/pagination/ListIterableFormsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/pagination/SearchAssetsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/pagination/index.js +6 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +672 -31
- package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +242 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +30 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/AssociateGlossaryTermsCommand.d.ts +101 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/BatchGetIterableFormsCommand.d.ts +122 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCrawlerCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateCustomEntityTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateGlossaryCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateGlossaryTermCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAssetCommand.d.ts +89 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAssetTypeCommand.d.ts +89 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteAttachmentCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteFormTypeCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteGlossaryCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DeleteGlossaryTermCommand.d.ts +89 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/DisassociateGlossaryTermsCommand.d.ts +101 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetAssetCommand.d.ts +116 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetAssetTypeCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDevEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDevEndpointsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetEntityRecordsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetFormTypeCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetGlossaryCommand.d.ts +90 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetGlossaryTermCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetGlueIdentityCenterConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetIntegrationResourcePropertyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetIntegrationTablePropertiesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobBookmarkCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobRunsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetJobsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMappingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListAssetTypesCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListFormTypesCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListGlossariesCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListGlossaryTermsCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListIterableFormsCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAssetCommand.d.ts +113 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAssetTypeCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutAttachmentCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/PutFormTypeCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchAssetsCommand.d.ts +149 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartCrawlerScheduleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartExportLabelsTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartImportLabelsTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartJobRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMLEvaluationTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMLLabelingSetGenerationTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartTriggerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StartWorkflowRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopColumnStatisticsTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopCrawlerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopCrawlerScheduleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopTriggerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/StopWorkflowRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/TestConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateBlueprintCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCatalogCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateClassifierCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateColumnStatisticsForPartitionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateColumnStatisticsForTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCrawlerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCrawlerScheduleCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateGlossaryCommand.d.ts +102 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateGlossaryTermCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +28 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +28 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +48 -48
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +165 -174
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +565 -755
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +2302 -2039
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +1413 -4
- package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListAssetTypesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListFormTypesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListGlossariesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListGlossaryTermsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/pagination/ListIterableFormsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/pagination/SearchAssetsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/pagination/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +101 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +522 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +168 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/AssociateGlossaryTermsCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/BatchGetIterableFormsCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateCrawlerCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateCustomEntityTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateGlossaryCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/CreateGlossaryTermCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteAssetTypeCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteAttachmentCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteFormTypeCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteGlossaryCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DeleteGlossaryTermCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/DisassociateGlossaryTermsCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetAssetCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetAssetTypeCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDevEndpointCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDevEndpointsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetEntityRecordsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetFormTypeCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetGlossaryCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetGlossaryTermCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetGlueIdentityCenterConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetIntegrationResourcePropertyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetIntegrationTablePropertiesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobBookmarkCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobRunsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetJobsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMappingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListAssetTypesCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListFormTypesCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListGlossariesCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListGlossaryTermsCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/ListIterableFormsCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutAssetCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutAssetTypeCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutAttachmentCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/PutFormTypeCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/SearchAssetsCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartCrawlerScheduleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartDataQualityRuleRecommendationRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartExportLabelsTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartImportLabelsTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartMLEvaluationTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartMLLabelingSetGenerationTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartTriggerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunScheduleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopCrawlerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopCrawlerScheduleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopMaterializedViewRefreshTaskRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopTriggerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/StopWorkflowRunCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/TestConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateBlueprintCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCatalogCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateClassifierCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateColumnStatisticsForPartitionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateColumnStatisticsForTableCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateColumnStatisticsTaskSettingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCrawlerCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCrawlerScheduleCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateGlossaryCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateGlossaryTermCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +26 -26
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_0.d.ts +41 -40
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +130 -181
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +396 -293
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +373 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListAssetTypesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListFormTypesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListGlossariesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListGlossaryTermsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/ListIterableFormsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/SearchAssetsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +101 -0
- package/node_modules/@aws-sdk/client-glue/package.json +8 -8
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/bdd.js +2 -5
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +236 -256
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/models/LakeFormationServiceException.js +4 -8
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/models/errors.js +39 -61
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.browser.js +22 -26
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.js +30 -34
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.native.js +4 -7
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/runtimeConfig.shared.js +21 -25
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/schemas/schemas_0.js +544 -356
- package/node_modules/@aws-sdk/client-lakeformation/package.json +8 -8
- package/node_modules/@aws-sdk/client-ram/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/bdd.js +2 -5
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +159 -179
- package/node_modules/@aws-sdk/client-ram/dist-cjs/models/RAMServiceException.js +4 -8
- package/node_modules/@aws-sdk/client-ram/dist-cjs/models/errors.js +57 -88
- package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.browser.js +22 -26
- package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.js +30 -34
- package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.native.js +4 -7
- package/node_modules/@aws-sdk/client-ram/dist-cjs/runtimeConfig.shared.js +20 -24
- package/node_modules/@aws-sdk/client-ram/dist-cjs/schemas/schemas_0.js +318 -210
- package/node_modules/@aws-sdk/client-ram/package.json +8 -8
- package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +15 -19
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/bdd.js +2 -5
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +77 -97
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js +4 -8
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/errors.js +25 -40
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +22 -26
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +36 -40
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.native.js +4 -7
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +25 -29
- package/node_modules/@aws-sdk/client-sts/dist-cjs/schemas/schemas_0.js +122 -85
- package/node_modules/@aws-sdk/client-sts/package.json +15 -15
- package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
- package/node_modules/@aws-sdk/core/client.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +327 -52
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
- package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
- package/node_modules/@aws-sdk/core/package.json +13 -19
- package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
- package/node_modules/@aws-sdk/core/util.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +169 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
- package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +55 -24
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -11
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +13 -12
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +7 -7
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
- package/node_modules/@aws-sdk/token-providers/package.json +9 -9
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
- package/node_modules/@aws-sdk/types/package.json +5 -5
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -5
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +9 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +518 -371
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +355 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +456 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +355 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +15 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +54 -110
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +27 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +21 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +14 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +4 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
- package/node_modules/@smithy/core/package.json +4 -3
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
- package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/README.md +3 -0
- package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/dist/js-yaml.js +7 -1
- package/node_modules/aws-lambda/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
- package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/loader.js +6 -0
- package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/package.json +4 -1
- package/package.json +11 -11
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -595
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -588
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -46
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -31
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -76
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -53
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -17
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -33
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -29
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -336
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -60
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -47
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/CHANGELOG.md +0 -51
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/LICENSE +0 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/README.md +0 -113
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/package.json +0 -35
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/strnum.js +0 -171
- package/node_modules/@nodable/entities/README.md +0 -41
- package/node_modules/@nodable/entities/package.json +0 -57
- package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
- package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
- package/node_modules/@nodable/entities/src/entities.js +0 -1159
- package/node_modules/@nodable/entities/src/entityTries.js +0 -49
- package/node_modules/@nodable/entities/src/index.d.ts +0 -341
- package/node_modules/@nodable/entities/src/index.js +0 -29
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
- package/node_modules/anynum/LICENSE +0 -21
- package/node_modules/anynum/README.md +0 -142
- package/node_modules/anynum/anynum.js +0 -135
- package/node_modules/anynum/digitTable.js +0 -116
- package/node_modules/anynum/package.json +0 -42
- package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
- package/node_modules/fast-xml-builder/LICENSE +0 -21
- package/node_modules/fast-xml-builder/README.md +0 -74
- package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
- package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
- package/node_modules/fast-xml-builder/package.json +0 -81
- package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
- package/node_modules/fast-xml-builder/src/fxb.js +0 -599
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/node_modules/fast-xml-builder/src/util.js +0 -16
- package/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
- package/node_modules/path-expression-matcher/LICENSE +0 -21
- package/node_modules/path-expression-matcher/README.md +0 -872
- package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -634
- package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
- package/node_modules/path-expression-matcher/package.json +0 -78
- package/node_modules/path-expression-matcher/src/Expression.js +0 -232
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -209
- package/node_modules/path-expression-matcher/src/Matcher.js +0 -570
- package/node_modules/path-expression-matcher/src/index.d.ts +0 -523
- package/node_modules/path-expression-matcher/src/index.js +0 -29
- package/node_modules/xml-naming/README.md +0 -189
- package/node_modules/xml-naming/package.json +0 -54
- package/node_modules/xml-naming/src/index.d.ts +0 -74
- package/node_modules/xml-naming/src/index.js +0 -270
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/LICENSE +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/bin/js-yaml.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/index.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/common.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/dumper.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/exception.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/mark.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/core.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_full.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/default_safe.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/failsafe.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema/json.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/schema.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/binary.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/bool.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/float.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/int.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/function.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/regexp.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/js/undefined.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/map.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/merge.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/null.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/omap.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/pairs.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/seq.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/set.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/str.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type/timestamp.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml/type.js +0 -0
- /package/node_modules/{js-yaml → aws-lambda/node_modules/js-yaml}/lib/js-yaml.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var t={d:(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Expression:()=>s,ExpressionSet:()=>n,Matcher:()=>h,default:()=>r});class s{constructor(t,e={},s){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this.data=s,this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let s=0,i="";for(;s<t.length;)t[s]===this.separator?s+1<t.length&&t[s+1]===this.separator?(i.trim()&&(e.push(this._parseSegment(i.trim())),i=""),e.push({type:"deep-wildcard"}),s+=2):(i.trim()&&e.push(this._parseSegment(i.trim())),i="",s++):(i+=t[s],s++);return i.trim()&&e.push(this._parseSegment(i.trim())),e}_parseSegment(t){const e={type:"tag"};let s=null,i=t;const h=t.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(h&&(i=h[1]+h[3],h[2])){const t=h[2].slice(1,-1);t&&(s=t)}let n,r,a=i;if(i.includes("::")){const e=i.indexOf("::");if(n=i.substring(0,e).trim(),a=i.substring(e+2).trim(),!n)throw new Error(`Invalid namespace in pattern: ${t}`)}let p=null;if(a.includes(":")){const t=a.lastIndexOf(":"),e=a.substring(0,t).trim(),s=a.substring(t+1).trim();["first","last","odd","even"].includes(s)||/^nth\(\d+\)$/.test(s)?(r=e,p=s):r=a}else r=a;if(!r)throw new Error(`Invalid segment pattern: ${t}`);if(e.tag=r,n&&(e.namespace=n),s)if(s.includes("=")){const t=s.indexOf("=");e.attrName=s.substring(0,t).trim(),e.attrValue=s.substring(t+1).trim()}else e.attrName=s.trim();if(p){const t=p.match(/^nth\((\d+)\)$/);t?(e.position="nth",e.positionValue=parseInt(t[1],10)):e.position=p}return e}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class i{constructor(t){this._matcher=t}get separator(){return this._matcher.separator}getCurrentTag(){const t=this._matcher.path;return t.length>0?t[t.length-1].tag:void 0}getCurrentNamespace(){const t=this._matcher.path;return t.length>0?t[t.length-1].namespace:void 0}getAttrValue(t){const e=this._matcher.path;if(0!==e.length)return e[e.length-1].values?.[t]}hasAttr(t){const e=this._matcher.path;if(0===e.length)return!1;const s=e[e.length-1];return void 0!==s.values&&t in s.values}getPosition(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].position??0}getCounter(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(t,e=!0){return this._matcher.toString(t,e)}toArray(){return this._matcher.path.map(t=>t.tag)}matches(t){return this._matcher.matches(t)}matchesAny(t){return t.matchesAny(this._matcher)}}class h{constructor(t={}){this.separator=t.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new i(this)}push(t,e=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);const h=this.siblingStacks[i],n=s?`${s}:${t}`:t,r=h.get(n)||0;let a=0;for(const t of h.values())a+=t;h.set(n,r+1);const p={tag:t,position:a,counter:r};null!=s&&(p.namespace=s),null!=e&&(p.values=e),this.path.push(p)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0!==this.path.length)return this.path[this.path.length-1].values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const s=t||this.separator;if(s===this.separator&&!0===e){if(null!==this._pathStringCache)return this._pathStringCache;const t=this.path.map(t=>t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s);return this._pathStringCache=t,t}return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s)}toArray(){return this.path.map(t=>t.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e<t.length;e++)if(!this._matchSegment(t[e],this.path[e],e===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(t){let e=this.path.length-1,s=t.length-1;for(;s>=0&&e>=0;){const i=t[s];if("deep-wildcard"===i.type){if(s--,s<0)return!0;const i=t[s];let h=!1;for(let t=e;t>=0;t--)if(this._matchSegment(i,this.path[t],t===this.path.length-1)){e=t-1,s--,h=!0;break}if(!h)return!1}else{if(!this._matchSegment(i,this.path[e],e===this.path.length-1))return!1;e--,s--}}return s<0}_matchSegment(t,e,s){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!s)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue&&String(e.values[t.attrName])!==String(t.attrValue))return!1}if(void 0!==t.position){if(!s)return!1;const i=e.counter??0;if("first"===t.position&&0!==i)return!1;if("odd"===t.position&&i%2!=1)return!1;if("even"===t.position&&i%2!=0)return!1;if("nth"===t.position&&i!==t.positionValue)return!1}return!0}matchesAny(t){return t.matchesAny(this)}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this._pathStringCache=null,this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return this._view}}class n{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(t){if(this._sealed)throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(t.pattern))return this;if(this._patterns.add(t.pattern),t.hasDeepWildcard())return this._deepWildcards.push(t),this;const e=t.length,s=t.segments[t.segments.length-1],i=s?.tag;if(i&&"*"!==i){const s=`${e}:${i}`;this._byDepthAndTag.has(s)||this._byDepthAndTag.set(s,[]),this._byDepthAndTag.get(s).push(t)}else this._wildcardByDepth.has(e)||this._wildcardByDepth.set(e,[]),this._wildcardByDepth.get(e).push(t);return this}addAll(t){for(const e of t)this.add(e);return this}has(t){return this._patterns.has(t.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(t){return null!==this.findMatch(t)}findMatch(t){const e=t.getDepth(),s=`${e}:${t.getCurrentTag()}`,i=this._byDepthAndTag.get(s);if(i)for(let e=0;e<i.length;e++)if(t.matches(i[e]))return i[e];const h=this._wildcardByDepth.get(e);if(h)for(let e=0;e<h.length;e++)if(t.matches(h[e]))return h[e];for(let e=0;e<this._deepWildcards.length;e++)if(t.matches(this._deepWildcards[e]))return this._deepWildcards[e];return null}}const r={Expression:s,Matcher:h,ExpressionSet:n};module.exports=e})();
|
|
@@ -1,634 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TypeScript definitions for path-expression-matcher (CommonJS)
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Options for creating an Expression
|
|
7
|
-
*/
|
|
8
|
-
declare interface ExpressionOptions {
|
|
9
|
-
/**
|
|
10
|
-
* Path separator character
|
|
11
|
-
* @default '.'
|
|
12
|
-
*/
|
|
13
|
-
separator?: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Parsed segment from an expression pattern
|
|
18
|
-
*/
|
|
19
|
-
declare interface Segment {
|
|
20
|
-
/**
|
|
21
|
-
* Type of segment
|
|
22
|
-
*/
|
|
23
|
-
type: 'tag' | 'deep-wildcard';
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Tag name (e.g., "user", "*" for wildcard)
|
|
27
|
-
* Only present when type is 'tag'
|
|
28
|
-
*/
|
|
29
|
-
tag?: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Namespace prefix (e.g., "ns" in "ns::user")
|
|
33
|
-
* Only present when namespace is specified
|
|
34
|
-
*/
|
|
35
|
-
namespace?: string;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Attribute name to match (e.g., "id" in "user[id]")
|
|
39
|
-
* Only present when attribute condition exists
|
|
40
|
-
*/
|
|
41
|
-
attrName?: string;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Attribute value to match (e.g., "123" in "user[id=123]")
|
|
45
|
-
* Only present when attribute value is specified
|
|
46
|
-
*/
|
|
47
|
-
attrValue?: string;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Position selector type
|
|
51
|
-
* Only present when position selector exists
|
|
52
|
-
*/
|
|
53
|
-
position?: 'first' | 'last' | 'odd' | 'even' | 'nth';
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Numeric value for nth() selector
|
|
57
|
-
* Only present when position is 'nth'
|
|
58
|
-
*/
|
|
59
|
-
positionValue?: number;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Expression - Parses and stores a tag pattern expression
|
|
64
|
-
*
|
|
65
|
-
* Patterns are parsed once and stored in an optimized structure for fast matching.
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* ```javascript
|
|
69
|
-
* const { Expression } = require('path-expression-matcher');
|
|
70
|
-
* const expr = new Expression("root.users.user");
|
|
71
|
-
* const expr2 = new Expression("..user[id]:first");
|
|
72
|
-
* const expr3 = new Expression("root/users/user", { separator: '/' });
|
|
73
|
-
* ```
|
|
74
|
-
*
|
|
75
|
-
* Pattern Syntax:
|
|
76
|
-
* - `root.users.user` - Match exact path
|
|
77
|
-
* - `..user` - Match "user" at any depth (deep wildcard)
|
|
78
|
-
* - `user[id]` - Match user tag with "id" attribute
|
|
79
|
-
* - `user[id=123]` - Match user tag where id="123"
|
|
80
|
-
* - `user:first` - Match first occurrence of user tag
|
|
81
|
-
* - `ns::user` - Match user tag with namespace "ns"
|
|
82
|
-
* - `ns::user[id]:first` - Combine namespace, attribute, and position
|
|
83
|
-
* ```
|
|
84
|
-
*/
|
|
85
|
-
declare class Expression {
|
|
86
|
-
/**
|
|
87
|
-
* Original pattern string
|
|
88
|
-
*/
|
|
89
|
-
readonly pattern: string;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Path separator character
|
|
93
|
-
*/
|
|
94
|
-
readonly separator: string;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Parsed segments
|
|
98
|
-
*/
|
|
99
|
-
readonly segments: Segment[];
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Create a new Expression
|
|
103
|
-
* @param pattern - Pattern string (e.g., "root.users.user", "..user[id]")
|
|
104
|
-
* @param options - Configuration options
|
|
105
|
-
*/
|
|
106
|
-
constructor(pattern: string, options?: ExpressionOptions);
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Get the number of segments
|
|
110
|
-
*/
|
|
111
|
-
get length(): number;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Check if expression contains deep wildcard (..)
|
|
115
|
-
*/
|
|
116
|
-
hasDeepWildcard(): boolean;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Check if expression has attribute conditions
|
|
120
|
-
*/
|
|
121
|
-
hasAttributeCondition(): boolean;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Check if expression has position selectors
|
|
125
|
-
*/
|
|
126
|
-
hasPositionSelector(): boolean;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Get string representation
|
|
130
|
-
*/
|
|
131
|
-
toString(): string;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Options for creating a Matcher
|
|
136
|
-
*/
|
|
137
|
-
declare interface MatcherOptions {
|
|
138
|
-
/**
|
|
139
|
-
* Default path separator
|
|
140
|
-
* @default '.'
|
|
141
|
-
*/
|
|
142
|
-
separator?: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Internal node structure in the path stack
|
|
147
|
-
*/
|
|
148
|
-
declare interface PathNode {
|
|
149
|
-
/**
|
|
150
|
-
* Tag name
|
|
151
|
-
*/
|
|
152
|
-
tag: string;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Namespace (if present)
|
|
156
|
-
*/
|
|
157
|
-
namespace?: string;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Position in sibling list (child index in parent)
|
|
161
|
-
*/
|
|
162
|
-
position: number;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Counter (occurrence count of this tag name)
|
|
166
|
-
*/
|
|
167
|
-
counter: number;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Attribute key-value pairs
|
|
171
|
-
* Only present for the current (last) node in path
|
|
172
|
-
*/
|
|
173
|
-
values?: Record<string, any>;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* Snapshot of matcher state
|
|
178
|
-
*/
|
|
179
|
-
declare interface MatcherSnapshot {
|
|
180
|
-
/**
|
|
181
|
-
* Copy of the path stack
|
|
182
|
-
*/
|
|
183
|
-
path: PathNode[];
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Copy of sibling tracking maps
|
|
187
|
-
*/
|
|
188
|
-
siblingStacks: Map<string, number>[];
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* ReadOnlyMatcher - A safe, read-only view over a {@link Matcher} instance.
|
|
193
|
-
*
|
|
194
|
-
* Returned by {@link Matcher.readOnly}. Exposes all query and inspection
|
|
195
|
-
* methods but **throws a `TypeError`** if any state-mutating method is called
|
|
196
|
-
* (`push`, `pop`, `reset`, `updateCurrent`, `restore`). Direct property
|
|
197
|
-
* writes are also blocked.
|
|
198
|
-
*
|
|
199
|
-
* Pass this to consumers that only need to inspect or match the current path
|
|
200
|
-
* so they cannot accidentally corrupt the parser state.
|
|
201
|
-
*
|
|
202
|
-
* @example
|
|
203
|
-
* ```javascript
|
|
204
|
-
* const matcher = new Matcher();
|
|
205
|
-
* matcher.push("root", {});
|
|
206
|
-
* matcher.push("users", {});
|
|
207
|
-
* matcher.push("user", { id: "123" });
|
|
208
|
-
*
|
|
209
|
-
* const ro: ReadOnlyMatcher = matcher.readOnly();
|
|
210
|
-
*
|
|
211
|
-
* ro.matches(expr); // ✓ works
|
|
212
|
-
* ro.getCurrentTag(); // ✓ "user"
|
|
213
|
-
* ro.getDepth(); // ✓ 3
|
|
214
|
-
* ro.push("child", {}); // ✗ TypeError: Cannot call 'push' on a read-only Matcher
|
|
215
|
-
* ro.reset(); // ✗ TypeError: Cannot call 'reset' on a read-only Matcher
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
218
|
-
declare interface ReadOnlyMatcher {
|
|
219
|
-
/**
|
|
220
|
-
* Default path separator (read-only)
|
|
221
|
-
*/
|
|
222
|
-
readonly separator: string;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Current path stack (each node is a frozen copy)
|
|
226
|
-
*/
|
|
227
|
-
readonly path: ReadonlyArray<Readonly<PathNode>>;
|
|
228
|
-
|
|
229
|
-
// ── Query methods ───────────────────────────────────────────────────────────
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Get current tag name
|
|
233
|
-
* @returns Current tag name or undefined if path is empty
|
|
234
|
-
*/
|
|
235
|
-
getCurrentTag(): string | undefined;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Get current namespace
|
|
239
|
-
* @returns Current namespace or undefined if not present or path is empty
|
|
240
|
-
*/
|
|
241
|
-
getCurrentNamespace(): string | undefined;
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Get current node's attribute value
|
|
245
|
-
* @param attrName - Attribute name
|
|
246
|
-
* @returns Attribute value or undefined
|
|
247
|
-
*/
|
|
248
|
-
getAttrValue(attrName: string): any;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Check if current node has an attribute
|
|
252
|
-
* @param attrName - Attribute name
|
|
253
|
-
*/
|
|
254
|
-
hasAttr(attrName: string): boolean;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Get current node's sibling position (child index in parent)
|
|
258
|
-
* @returns Position index or -1 if path is empty
|
|
259
|
-
*/
|
|
260
|
-
getPosition(): number;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Get current node's repeat counter (occurrence count of this tag name)
|
|
264
|
-
* @returns Counter value or -1 if path is empty
|
|
265
|
-
*/
|
|
266
|
-
getCounter(): number;
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Get current node's sibling index (alias for getPosition for backward compatibility)
|
|
270
|
-
* @returns Index or -1 if path is empty
|
|
271
|
-
* @deprecated Use getPosition() or getCounter() instead
|
|
272
|
-
*/
|
|
273
|
-
getIndex(): number;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Get current path depth
|
|
277
|
-
* @returns Number of nodes in the path
|
|
278
|
-
*/
|
|
279
|
-
getDepth(): number;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Get path as string
|
|
283
|
-
* @param separator - Optional separator (uses default if not provided)
|
|
284
|
-
* @param includeNamespace - Whether to include namespace in output
|
|
285
|
-
* @returns Path string (e.g., "root.users.user" or "ns:root.ns:users.user")
|
|
286
|
-
*/
|
|
287
|
-
toString(separator?: string, includeNamespace?: boolean): string;
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Get path as array of tag names
|
|
291
|
-
* @returns Array of tag names
|
|
292
|
-
*/
|
|
293
|
-
toArray(): string[];
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* Match current path against an Expression
|
|
297
|
-
* @param expression - The expression to match against
|
|
298
|
-
* @returns True if current path matches the expression
|
|
299
|
-
*/
|
|
300
|
-
matches(expression: Expression): boolean;
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* Test whether the matcher's current path matches **any** expression in the set.
|
|
304
|
-
*
|
|
305
|
-
* @param exprSet - A `ExpressionSet` instance
|
|
306
|
-
* @returns `true` if at least one expression matches the current path
|
|
307
|
-
*/
|
|
308
|
-
matchesAny(exprSet: ExpressionSet): boolean;
|
|
309
|
-
/**
|
|
310
|
-
* Create a snapshot of current state
|
|
311
|
-
* @returns State snapshot that can be restored later
|
|
312
|
-
*/
|
|
313
|
-
snapshot(): MatcherSnapshot;
|
|
314
|
-
|
|
315
|
-
// ── Blocked mutating methods ────────────────────────────────────────────────
|
|
316
|
-
// These are present in the type so callers get a compile-time error with a
|
|
317
|
-
// helpful message instead of a silent "property does not exist" error.
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
321
|
-
*/
|
|
322
|
-
push(tagName: string, attrValues?: Record<string, any> | null, namespace?: string | null): never;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
326
|
-
*/
|
|
327
|
-
pop(): never;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
331
|
-
*/
|
|
332
|
-
updateCurrent(attrValues: Record<string, any>): never;
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
336
|
-
*/
|
|
337
|
-
reset(): never;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @throws {TypeError} Always – mutation is not allowed on a read-only view.
|
|
341
|
-
*/
|
|
342
|
-
restore(snapshot: MatcherSnapshot): never;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Matcher - Tracks current path in XML/JSON tree and matches against Expressions
|
|
347
|
-
*
|
|
348
|
-
* The matcher maintains a stack of nodes representing the current path from root to
|
|
349
|
-
* current tag. It only stores attribute values for the current (top) node to minimize
|
|
350
|
-
* memory usage.
|
|
351
|
-
*
|
|
352
|
-
* @example
|
|
353
|
-
* ```javascript
|
|
354
|
-
* const { Matcher } = require('path-expression-matcher');
|
|
355
|
-
* const matcher = new Matcher();
|
|
356
|
-
* matcher.push("root", {});
|
|
357
|
-
* matcher.push("users", {});
|
|
358
|
-
* matcher.push("user", { id: "123", type: "admin" });
|
|
359
|
-
*
|
|
360
|
-
* const expr = new Expression("root.users.user");
|
|
361
|
-
* matcher.matches(expr); // true
|
|
362
|
-
*
|
|
363
|
-
* matcher.pop();
|
|
364
|
-
* matcher.matches(expr); // false
|
|
365
|
-
* ```
|
|
366
|
-
*/
|
|
367
|
-
declare class Matcher {
|
|
368
|
-
/**
|
|
369
|
-
* Default path separator
|
|
370
|
-
*/
|
|
371
|
-
readonly separator: string;
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Current path stack
|
|
375
|
-
*/
|
|
376
|
-
readonly path: PathNode[];
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Create a new Matcher
|
|
380
|
-
* @param options - Configuration options
|
|
381
|
-
*/
|
|
382
|
-
constructor(options?: MatcherOptions);
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* Push a new tag onto the path
|
|
386
|
-
* @param tagName - Name of the tag
|
|
387
|
-
* @param attrValues - Attribute key-value pairs for current node (optional)
|
|
388
|
-
* @param namespace - Namespace for the tag (optional)
|
|
389
|
-
*
|
|
390
|
-
* @example
|
|
391
|
-
* ```javascript
|
|
392
|
-
* matcher.push("user", { id: "123", type: "admin" });
|
|
393
|
-
* matcher.push("user", { id: "456" }, "ns");
|
|
394
|
-
* matcher.push("container", null);
|
|
395
|
-
* ```
|
|
396
|
-
*/
|
|
397
|
-
push(tagName: string, attrValues?: Record<string, any> | null, namespace?: string | null): void;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Pop the last tag from the path
|
|
401
|
-
* @returns The popped node or undefined if path is empty
|
|
402
|
-
*/
|
|
403
|
-
pop(): PathNode | undefined;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Update current node's attribute values
|
|
407
|
-
* Useful when attributes are parsed after push
|
|
408
|
-
* @param attrValues - Attribute values
|
|
409
|
-
*/
|
|
410
|
-
updateCurrent(attrValues: Record<string, any>): void;
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* Get current tag name
|
|
414
|
-
* @returns Current tag name or undefined if path is empty
|
|
415
|
-
*/
|
|
416
|
-
getCurrentTag(): string | undefined;
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* Get current namespace
|
|
420
|
-
* @returns Current namespace or undefined if not present or path is empty
|
|
421
|
-
*/
|
|
422
|
-
getCurrentNamespace(): string | undefined;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Get current node's attribute value
|
|
426
|
-
* @param attrName - Attribute name
|
|
427
|
-
* @returns Attribute value or undefined
|
|
428
|
-
*/
|
|
429
|
-
getAttrValue(attrName: string): any;
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* Check if current node has an attribute
|
|
433
|
-
* @param attrName - Attribute name
|
|
434
|
-
*/
|
|
435
|
-
hasAttr(attrName: string): boolean;
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Get current node's sibling position (child index in parent)
|
|
439
|
-
* @returns Position index or -1 if path is empty
|
|
440
|
-
*/
|
|
441
|
-
getPosition(): number;
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* Get current node's repeat counter (occurrence count of this tag name)
|
|
445
|
-
* @returns Counter value or -1 if path is empty
|
|
446
|
-
*/
|
|
447
|
-
getCounter(): number;
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Get current node's sibling index (alias for getPosition for backward compatibility)
|
|
451
|
-
* @returns Index or -1 if path is empty
|
|
452
|
-
* @deprecated Use getPosition() or getCounter() instead
|
|
453
|
-
*/
|
|
454
|
-
getIndex(): number;
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* Get current path depth
|
|
458
|
-
* @returns Number of nodes in the path
|
|
459
|
-
*/
|
|
460
|
-
getDepth(): number;
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Get path as string
|
|
464
|
-
* @param separator - Optional separator (uses default if not provided)
|
|
465
|
-
* @param includeNamespace - Whether to include namespace in output
|
|
466
|
-
* @returns Path string (e.g., "root.users.user" or "ns:root.ns:users.user")
|
|
467
|
-
*/
|
|
468
|
-
toString(separator?: string, includeNamespace?: boolean): string;
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* Get path as array of tag names
|
|
472
|
-
* @returns Array of tag names
|
|
473
|
-
*/
|
|
474
|
-
toArray(): string[];
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* Reset the path to empty
|
|
478
|
-
*/
|
|
479
|
-
reset(): void;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Match current path against an Expression
|
|
483
|
-
* @param expression - The expression to match against
|
|
484
|
-
* @returns True if current path matches the expression
|
|
485
|
-
*
|
|
486
|
-
* @example
|
|
487
|
-
* ```javascript
|
|
488
|
-
* const expr = new Expression("root.users.user[id]");
|
|
489
|
-
* const matcher = new Matcher();
|
|
490
|
-
*
|
|
491
|
-
* matcher.push("root");
|
|
492
|
-
* matcher.push("users");
|
|
493
|
-
* matcher.push("user", { id: "123" });
|
|
494
|
-
*
|
|
495
|
-
* matcher.matches(expr); // true
|
|
496
|
-
* ```
|
|
497
|
-
*/
|
|
498
|
-
matches(expression: Expression): boolean;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Test whether the matcher's current path matches **any** expression in the set.
|
|
503
|
-
*
|
|
504
|
-
* Uses the pre-built index to evaluate only the relevant bucket(s):
|
|
505
|
-
* 1. Exact depth + tag — O(1) lookup
|
|
506
|
-
* 2. Depth-matched wildcard tag — O(1) lookup
|
|
507
|
-
* 3. Deep-wildcard expressions — always scanned (typically a small list)
|
|
508
|
-
*
|
|
509
|
-
* @param exprSet - A `ExpressionSet` instance
|
|
510
|
-
* @returns `true` if at least one expression matches the current path
|
|
511
|
-
*
|
|
512
|
-
* @example
|
|
513
|
-
* ```typescript
|
|
514
|
-
* // Replaces:
|
|
515
|
-
* // for (const expr of stopNodeExpressions) {
|
|
516
|
-
* // if (matcher.matches(expr)) return true;
|
|
517
|
-
* // }
|
|
518
|
-
*
|
|
519
|
-
* if (matcher.matchesAny(stopNodes)) {
|
|
520
|
-
* // current tag is a stop node
|
|
521
|
-
* }
|
|
522
|
-
* ```
|
|
523
|
-
*/
|
|
524
|
-
matchesAny(exprSet: ExpressionSet): boolean;
|
|
525
|
-
/**
|
|
526
|
-
* Create a snapshot of current state
|
|
527
|
-
* @returns State snapshot that can be restored later
|
|
528
|
-
*/
|
|
529
|
-
snapshot(): MatcherSnapshot;
|
|
530
|
-
|
|
531
|
-
/**
|
|
532
|
-
* Restore state from snapshot
|
|
533
|
-
* @param snapshot - State snapshot from previous snapshot() call
|
|
534
|
-
*/
|
|
535
|
-
restore(snapshot: MatcherSnapshot): void;
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* Return a read-only view of this matcher.
|
|
539
|
-
*/
|
|
540
|
-
readOnly(): ReadOnlyMatcher;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* ExpressionSet - An indexed collection of Expressions for efficient bulk matching
|
|
545
|
-
*
|
|
546
|
-
* Pre-indexes expressions at insertion time by depth and terminal tag name so
|
|
547
|
-
* that `matchesAny()` performs an O(1) bucket lookup rather than a full O(E)
|
|
548
|
-
* linear scan on every tag.
|
|
549
|
-
*
|
|
550
|
-
* @example
|
|
551
|
-
* ```javascript
|
|
552
|
-
* const { Expression, ExpressionSet, Matcher } = require('path-expression-matcher');
|
|
553
|
-
*
|
|
554
|
-
* // Build once at config time
|
|
555
|
-
* const stopNodes = new ExpressionSet();
|
|
556
|
-
* stopNodes
|
|
557
|
-
* .add(new Expression('root.users.user'))
|
|
558
|
-
* .add(new Expression('root.config.*'))
|
|
559
|
-
* .add(new Expression('..script'))
|
|
560
|
-
* .seal();
|
|
561
|
-
*
|
|
562
|
-
* // Per-tag — hot path
|
|
563
|
-
* if (stopNodes.matchesAny(matcher)) { ... }
|
|
564
|
-
* ```
|
|
565
|
-
*/
|
|
566
|
-
declare class ExpressionSet {
|
|
567
|
-
constructor();
|
|
568
|
-
|
|
569
|
-
/** Number of expressions currently in the set. */
|
|
570
|
-
readonly size: number;
|
|
571
|
-
|
|
572
|
-
/** Whether the set has been sealed against further modifications. */
|
|
573
|
-
readonly isSealed: boolean;
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* Add a single Expression. Duplicate patterns are silently ignored.
|
|
577
|
-
* @throws {TypeError} if the set has been sealed
|
|
578
|
-
*/
|
|
579
|
-
add(expression: Expression): this;
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* Add multiple expressions at once.
|
|
583
|
-
* @throws {TypeError} if the set has been sealed
|
|
584
|
-
*/
|
|
585
|
-
addAll(expressions: Expression[]): this;
|
|
586
|
-
|
|
587
|
-
/** Check whether an expression with the same pattern is already present. */
|
|
588
|
-
has(expression: Expression): boolean;
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* Seal the set against further modifications.
|
|
592
|
-
* Any subsequent call to add() or addAll() will throw a TypeError.
|
|
593
|
-
*/
|
|
594
|
-
seal(): this;
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* Test whether the matcher's current path matches any expression in the set.
|
|
598
|
-
* Accepts both a Matcher instance and a ReadOnlyMatcher view.
|
|
599
|
-
*
|
|
600
|
-
*
|
|
601
|
-
* @param matcher - A `Matcher` instance or a `ReadOnlyMatcher` view
|
|
602
|
-
* @returns Expression if at least one expression matches the current path
|
|
603
|
-
*/
|
|
604
|
-
matchesAny(matcher: Matcher | ReadOnlyMatcher): boolean;
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* Find the first expression in the set that matches the matcher's current path.
|
|
608
|
-
|
|
609
|
-
*
|
|
610
|
-
* @param matcher - A `Matcher` instance or a `ReadOnlyMatcher` view
|
|
611
|
-
* @returns Expression if at least one expression matches the current path
|
|
612
|
-
*
|
|
613
|
-
* @example
|
|
614
|
-
* ```typescript
|
|
615
|
-
* const node = stopNodes.findMatch(matcher);
|
|
616
|
-
* ```
|
|
617
|
-
*/
|
|
618
|
-
findMatch(matcher: Matcher | ReadOnlyMatcher): Expression;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
declare namespace pathExpressionMatcher {
|
|
622
|
-
export {
|
|
623
|
-
Expression,
|
|
624
|
-
Matcher,
|
|
625
|
-
ExpressionSet,
|
|
626
|
-
ExpressionOptions,
|
|
627
|
-
MatcherOptions,
|
|
628
|
-
Segment,
|
|
629
|
-
PathNode,
|
|
630
|
-
MatcherSnapshot,
|
|
631
|
-
};
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
export = pathExpressionMatcher;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.pem=e():t.pem=e()}(this,()=>(()=>{"use strict";var t={d:(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Expression:()=>s,ExpressionSet:()=>r,Matcher:()=>n,default:()=>h});class s{constructor(t,e={},s){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this.data=s,this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let s=0,i="";for(;s<t.length;)t[s]===this.separator?s+1<t.length&&t[s+1]===this.separator?(i.trim()&&(e.push(this._parseSegment(i.trim())),i=""),e.push({type:"deep-wildcard"}),s+=2):(i.trim()&&e.push(this._parseSegment(i.trim())),i="",s++):(i+=t[s],s++);return i.trim()&&e.push(this._parseSegment(i.trim())),e}_parseSegment(t){const e={type:"tag"};let s=null,i=t;const n=t.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(n&&(i=n[1]+n[3],n[2])){const t=n[2].slice(1,-1);t&&(s=t)}let r,h,a=i;if(i.includes("::")){const e=i.indexOf("::");if(r=i.substring(0,e).trim(),a=i.substring(e+2).trim(),!r)throw new Error(`Invalid namespace in pattern: ${t}`)}let p=null;if(a.includes(":")){const t=a.lastIndexOf(":"),e=a.substring(0,t).trim(),s=a.substring(t+1).trim();["first","last","odd","even"].includes(s)||/^nth\(\d+\)$/.test(s)?(h=e,p=s):h=a}else h=a;if(!h)throw new Error(`Invalid segment pattern: ${t}`);if(e.tag=h,r&&(e.namespace=r),s)if(s.includes("=")){const t=s.indexOf("=");e.attrName=s.substring(0,t).trim(),e.attrValue=s.substring(t+1).trim()}else e.attrName=s.trim();if(p){const t=p.match(/^nth\((\d+)\)$/);t?(e.position="nth",e.positionValue=parseInt(t[1],10)):e.position=p}return e}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class i{constructor(t){this._matcher=t}get separator(){return this._matcher.separator}getCurrentTag(){const t=this._matcher.path;return t.length>0?t[t.length-1].tag:void 0}getCurrentNamespace(){const t=this._matcher.path;return t.length>0?t[t.length-1].namespace:void 0}getAttrValue(t){const e=this._matcher.path;if(0!==e.length)return e[e.length-1].values?.[t]}hasAttr(t){const e=this._matcher.path;if(0===e.length)return!1;const s=e[e.length-1];return void 0!==s.values&&t in s.values}getPosition(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].position??0}getCounter(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(t,e=!0){return this._matcher.toString(t,e)}toArray(){return this._matcher.path.map(t=>t.tag)}matches(t){return this._matcher.matches(t)}matchesAny(t){return t.matchesAny(this._matcher)}}class n{constructor(t={}){this.separator=t.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new i(this)}push(t,e=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);const n=this.siblingStacks[i],r=s?`${s}:${t}`:t,h=n.get(r)||0;let a=0;for(const t of n.values())a+=t;n.set(r,h+1);const p={tag:t,position:a,counter:h};null!=s&&(p.namespace=s),null!=e&&(p.values=e),this.path.push(p)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0!==this.path.length)return this.path[this.path.length-1].values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const s=t||this.separator;if(s===this.separator&&!0===e){if(null!==this._pathStringCache)return this._pathStringCache;const t=this.path.map(t=>t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s);return this._pathStringCache=t,t}return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s)}toArray(){return this.path.map(t=>t.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e<t.length;e++)if(!this._matchSegment(t[e],this.path[e],e===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(t){let e=this.path.length-1,s=t.length-1;for(;s>=0&&e>=0;){const i=t[s];if("deep-wildcard"===i.type){if(s--,s<0)return!0;const i=t[s];let n=!1;for(let t=e;t>=0;t--)if(this._matchSegment(i,this.path[t],t===this.path.length-1)){e=t-1,s--,n=!0;break}if(!n)return!1}else{if(!this._matchSegment(i,this.path[e],e===this.path.length-1))return!1;e--,s--}}return s<0}_matchSegment(t,e,s){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!s)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue&&String(e.values[t.attrName])!==String(t.attrValue))return!1}if(void 0!==t.position){if(!s)return!1;const i=e.counter??0;if("first"===t.position&&0!==i)return!1;if("odd"===t.position&&i%2!=1)return!1;if("even"===t.position&&i%2!=0)return!1;if("nth"===t.position&&i!==t.positionValue)return!1}return!0}matchesAny(t){return t.matchesAny(this)}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this._pathStringCache=null,this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return this._view}}class r{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(t){if(this._sealed)throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(t.pattern))return this;if(this._patterns.add(t.pattern),t.hasDeepWildcard())return this._deepWildcards.push(t),this;const e=t.length,s=t.segments[t.segments.length-1],i=s?.tag;if(i&&"*"!==i){const s=`${e}:${i}`;this._byDepthAndTag.has(s)||this._byDepthAndTag.set(s,[]),this._byDepthAndTag.get(s).push(t)}else this._wildcardByDepth.has(e)||this._wildcardByDepth.set(e,[]),this._wildcardByDepth.get(e).push(t);return this}addAll(t){for(const e of t)this.add(e);return this}has(t){return this._patterns.has(t.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(t){return null!==this.findMatch(t)}findMatch(t){const e=t.getDepth(),s=`${e}:${t.getCurrentTag()}`,i=this._byDepthAndTag.get(s);if(i)for(let e=0;e<i.length;e++)if(t.matches(i[e]))return i[e];const n=this._wildcardByDepth.get(e);if(n)for(let e=0;e<n.length;e++)if(t.matches(n[e]))return n[e];for(let e=0;e<this._deepWildcards.length;e++)if(t.matches(this._deepWildcards[e]))return this._deepWildcards[e];return null}}const h={Expression:s,Matcher:n,ExpressionSet:r};return e})());
|
|
2
|
-
//# sourceMappingURL=pem.min.js.map
|