@pgarbe/cdk-ecr-sync 0.5.25 → 0.5.28
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/.gitattributes +0 -1
- package/.jsii +149 -6
- package/.projenrc.ts +6 -4
- package/CHANGELOG.md +1 -1
- package/lib/ecr-sync.d.ts +5 -22
- package/lib/ecr-sync.d.ts.map +1 -0
- package/lib/ecr-sync.js +3 -10
- package/lib/image.d.ts +6 -8
- package/lib/image.d.ts.map +1 -0
- package/lib/image.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/lambda/docker-adapter.d.ts +1 -0
- package/lib/lambda/docker-adapter.d.ts.map +1 -0
- package/lib/lambda/ecr-adapter.d.ts +1 -0
- package/lib/lambda/ecr-adapter.d.ts.map +1 -0
- package/lib/lambda/get-image-tags-handler.d.ts +1 -0
- package/lib/lambda/get-image-tags-handler.d.ts.map +1 -0
- package/node_modules/aws-sdk/CHANGELOG.md +433 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +56 -25
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +68 -50
- package/node_modules/aws-sdk/apis/amplifybackend-2020-08-11.min.json +47 -7
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +144 -65
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +3 -1
- package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json +11 -11
- package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +739 -235
- package/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json +7 -1
- package/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +350 -32
- package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +9 -0
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +90 -31
- package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +5 -1
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +31 -46
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +113 -90
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +30 -0
- package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +22 -11
- package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +143 -94
- package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.examples.json +5 -0
- package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.min.json +1374 -0
- package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.paginators.json +62 -0
- package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.waiters2.json +4 -0
- package/node_modules/aws-sdk/apis/braket-2019-09-01.min.json +30 -27
- package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +107 -45
- package/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +206 -125
- package/node_modules/aws-sdk/apis/chime-2018-05-01.min.json +3 -0
- package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.examples.json +5 -0
- package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +330 -0
- package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.paginators.json +9 -0
- package/node_modules/aws-sdk/apis/chime-sdk-meetings-2021-07-15.min.json +16 -11
- package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.paginators.json +4 -2
- package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.waiters2.json +23 -27
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +86 -25
- package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +42 -28
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +25 -2
- package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.min.json +15 -8
- package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json +14 -2
- package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +119 -118
- package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +308 -79
- package/node_modules/aws-sdk/apis/comprehend-2017-11-27.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +217 -113
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +832 -139
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +33 -0
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +537 -200
- package/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +41 -38
- package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +83 -4
- package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +144 -74
- package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +213 -119
- package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +67 -32
- package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +10 -2
- package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +10 -4
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1179 -850
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +18 -0
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +14 -11
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +4 -1
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +10 -0
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +149 -21
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +47 -35
- package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +125 -49
- package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +262 -19
- package/node_modules/aws-sdk/apis/evidently-2021-02-01.min.json +14 -0
- package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +454 -7
- package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +229 -31
- package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +265 -82
- package/node_modules/aws-sdk/apis/fms-2018-01-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json +212 -6
- package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +123 -98
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.paginators.json +4 -2
- package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.examples.json +5 -0
- package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.min.json +1363 -0
- package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.paginators.json +46 -0
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +2257 -440
- package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +194 -19
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +352 -77
- package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +107 -73
- package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +280 -202
- package/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +1 -1
- package/node_modules/aws-sdk/apis/iotsecuretunneling-2018-10-05.min.json +28 -0
- package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.min.json +516 -168
- package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.paginators.json +14 -0
- package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +75 -68
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +401 -80
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/ivschat-2020-07-14.examples.json +5 -0
- package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +443 -0
- package/node_modules/aws-sdk/apis/ivschat-2020-07-14.paginators.json +9 -0
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +114 -94
- package/node_modules/aws-sdk/apis/kafkaconnect-2021-09-14.min.json +95 -48
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +349 -83
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +20 -0
- package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.min.json +562 -0
- package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.paginators.json +22 -0
- package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.min.json +64 -0
- package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/kinesisvideo-2017-09-30.min.json +145 -8
- package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +239 -9
- package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +80 -12
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +0 -1
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +418 -149
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +54 -2
- package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +117 -56
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +20 -12
- package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +2 -0
- package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +274 -12
- package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +123 -0
- package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +0 -1
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +31 -28
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +83 -27
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +179 -127
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +222 -154
- package/node_modules/aws-sdk/apis/mediapackage-vod-2018-11-07.min.json +16 -13
- package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +416 -139
- package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/metadata.json +20 -0
- package/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +2 -1
- package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +15 -19
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +0 -2
- package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +47 -11
- package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +22 -7
- package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +139 -53
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +125 -49
- package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +77 -62
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +74 -0
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/panorama-2019-07-24.min.json +414 -346
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +189 -42
- package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +2 -1
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.examples.json +5 -0
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1681 -0
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +70 -0
- package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +4 -1
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +151 -43
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +289 -413
- package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +0 -12
- package/node_modules/aws-sdk/apis/rds-data-2018-08-01.min.json +4 -1
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +41 -23
- package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +247 -111
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +125 -74
- package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +148 -48
- package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.min.json +49 -3
- package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +97 -97
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +772 -239
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +154 -53
- package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.min.json +64 -24
- package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +732 -691
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.examples.json +15 -13
- package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +15 -10
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +392 -304
- package/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +16 -8
- package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +8 -2
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +333 -294
- package/node_modules/aws-sdk/apis/ssm-contacts-2021-05-03.examples.json +1 -1
- package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +48 -37
- package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +49 -36
- package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +82 -45
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +50 -40
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +57 -47
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.paginators.json +27 -8
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.waiters2.json +45 -0
- package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +19 -18
- package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +313 -131
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +60 -19
- package/node_modules/aws-sdk/apis/worklink-2018-09-25.min.json +99 -33
- package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +195 -27
- package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +107 -36
- package/node_modules/aws-sdk/clients/acmpca.d.ts +72 -36
- package/node_modules/aws-sdk/clients/all.d.ts +6 -0
- package/node_modules/aws-sdk/clients/all.js +7 -1
- package/node_modules/aws-sdk/clients/amplify.d.ts +19 -14
- package/node_modules/aws-sdk/clients/amplifybackend.d.ts +48 -12
- package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +142 -18
- package/node_modules/aws-sdk/clients/appconfig.d.ts +13 -13
- package/node_modules/aws-sdk/clients/appconfigdata.d.ts +18 -18
- package/node_modules/aws-sdk/clients/appflow.d.ts +691 -4
- package/node_modules/aws-sdk/clients/apprunner.d.ts +371 -20
- package/node_modules/aws-sdk/clients/appstream.d.ts +13 -1
- package/node_modules/aws-sdk/clients/athena.d.ts +92 -8
- package/node_modules/aws-sdk/clients/auditmanager.d.ts +10 -10
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +62 -34
- package/node_modules/aws-sdk/clients/backup.d.ts +49 -25
- package/node_modules/aws-sdk/clients/batch.d.ts +116 -48
- package/node_modules/aws-sdk/clients/billingconductor.d.ts +1554 -0
- package/node_modules/aws-sdk/clients/billingconductor.js +19 -0
- package/node_modules/aws-sdk/clients/braket.d.ts +7 -2
- package/node_modules/aws-sdk/clients/budgets.d.ts +107 -48
- package/node_modules/aws-sdk/clients/chime.d.ts +10 -6
- package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +348 -0
- package/node_modules/aws-sdk/clients/chimesdkmediapipelines.js +18 -0
- package/node_modules/aws-sdk/clients/chimesdkmeetings.d.ts +31 -5
- package/node_modules/aws-sdk/clients/cloudcontrol.d.ts +24 -24
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +408 -265
- package/node_modules/aws-sdk/clients/cloudfront.d.ts +15 -0
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +34 -26
- package/node_modules/aws-sdk/clients/cloudwatch.d.ts +44 -12
- package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +24 -10
- package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +299 -294
- package/node_modules/aws-sdk/clients/comprehend.d.ts +337 -5
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +3 -3
- package/node_modules/aws-sdk/clients/configservice.d.ts +220 -49
- package/node_modules/aws-sdk/clients/connect.d.ts +877 -30
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +105 -19
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +365 -2
- package/node_modules/aws-sdk/clients/databrew.d.ts +8 -3
- package/node_modules/aws-sdk/clients/dataexchange.d.ts +117 -0
- package/node_modules/aws-sdk/clients/datasync.d.ts +103 -16
- package/node_modules/aws-sdk/clients/devopsguru.d.ts +109 -3
- package/node_modules/aws-sdk/clients/discovery.d.ts +63 -26
- package/node_modules/aws-sdk/clients/docdb.d.ts +56 -40
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +15 -7
- package/node_modules/aws-sdk/clients/ebs.d.ts +13 -13
- package/node_modules/aws-sdk/clients/ec2.d.ts +571 -145
- package/node_modules/aws-sdk/clients/ecr.d.ts +10 -5
- package/node_modules/aws-sdk/clients/ecs.d.ts +51 -35
- package/node_modules/aws-sdk/clients/efs.d.ts +153 -26
- package/node_modules/aws-sdk/clients/eks.d.ts +14 -14
- package/node_modules/aws-sdk/clients/elasticache.d.ts +13 -13
- package/node_modules/aws-sdk/clients/emr.d.ts +38 -14
- package/node_modules/aws-sdk/clients/es.d.ts +97 -0
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +386 -13
- package/node_modules/aws-sdk/clients/eventbridge.js +1 -0
- package/node_modules/aws-sdk/clients/evidently.d.ts +19 -7
- package/node_modules/aws-sdk/clients/finspacedata.d.ts +520 -46
- package/node_modules/aws-sdk/clients/fis.d.ts +266 -22
- package/node_modules/aws-sdk/clients/fms.d.ts +333 -3
- package/node_modules/aws-sdk/clients/frauddetector.d.ts +308 -0
- package/node_modules/aws-sdk/clients/fsx.d.ts +105 -69
- package/node_modules/aws-sdk/clients/gamelift.d.ts +186 -186
- package/node_modules/aws-sdk/clients/gamesparks.d.ts +1324 -0
- package/node_modules/aws-sdk/clients/gamesparks.js +18 -0
- package/node_modules/aws-sdk/clients/glue.d.ts +2588 -188
- package/node_modules/aws-sdk/clients/grafana.d.ts +153 -6
- package/node_modules/aws-sdk/clients/greengrassv2.d.ts +6 -6
- package/node_modules/aws-sdk/clients/guardduty.d.ts +314 -46
- package/node_modules/aws-sdk/clients/iam.d.ts +10 -10
- package/node_modules/aws-sdk/clients/imagebuilder.d.ts +55 -6
- package/node_modules/aws-sdk/clients/iot.d.ts +88 -22
- package/node_modules/aws-sdk/clients/iotdata.d.ts +7 -7
- package/node_modules/aws-sdk/clients/iotsecuretunneling.d.ts +52 -18
- package/node_modules/aws-sdk/clients/iotsitewise.d.ts +369 -0
- package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +25 -8
- package/node_modules/aws-sdk/clients/iotwireless.d.ts +356 -25
- package/node_modules/aws-sdk/clients/ivschat.d.ts +523 -0
- package/node_modules/aws-sdk/clients/ivschat.js +18 -0
- package/node_modules/aws-sdk/clients/kafka.d.ts +19 -1
- package/node_modules/aws-sdk/clients/kafkaconnect.d.ts +50 -5
- package/node_modules/aws-sdk/clients/kendra.d.ts +489 -138
- package/node_modules/aws-sdk/clients/keyspaces.d.ts +652 -0
- package/node_modules/aws-sdk/clients/keyspaces.js +19 -0
- package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +177 -10
- package/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts +94 -0
- package/node_modules/aws-sdk/clients/kms.d.ts +209 -119
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +2 -2
- package/node_modules/aws-sdk/clients/lambda.d.ts +319 -16
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +2 -2
- package/node_modules/aws-sdk/clients/lightsail.d.ts +175 -64
- package/node_modules/aws-sdk/clients/location.d.ts +28 -19
- package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +295 -9
- package/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +160 -0
- package/node_modules/aws-sdk/clients/lookoutvision.d.ts +4 -4
- package/node_modules/aws-sdk/clients/macie.d.ts +50 -50
- package/node_modules/aws-sdk/clients/macie2.d.ts +7 -2
- package/node_modules/aws-sdk/clients/marketplacemetering.d.ts +17 -12
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +47 -0
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +98 -18
- package/node_modules/aws-sdk/clients/medialive.d.ts +79 -3
- package/node_modules/aws-sdk/clients/mediapackage.d.ts +4 -4
- package/node_modules/aws-sdk/clients/mediapackagevod.d.ts +5 -0
- package/node_modules/aws-sdk/clients/mediatailor.d.ts +327 -12
- package/node_modules/aws-sdk/clients/mgn.d.ts +63 -50
- package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.d.ts +17 -17
- package/node_modules/aws-sdk/clients/mq.d.ts +16 -1
- package/node_modules/aws-sdk/clients/networkfirewall.d.ts +151 -21
- package/node_modules/aws-sdk/clients/opensearch.d.ts +97 -0
- package/node_modules/aws-sdk/clients/organizations.d.ts +146 -131
- package/node_modules/aws-sdk/clients/outposts.d.ts +94 -22
- package/node_modules/aws-sdk/clients/panorama.d.ts +467 -406
- package/node_modules/aws-sdk/clients/personalize.d.ts +191 -25
- package/node_modules/aws-sdk/clients/pi.d.ts +26 -26
- package/node_modules/aws-sdk/clients/pinpoint.d.ts +4 -0
- package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +2367 -0
- package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.js +19 -0
- package/node_modules/aws-sdk/clients/polly.d.ts +3 -3
- package/node_modules/aws-sdk/clients/pricing.d.ts +3 -3
- package/node_modules/aws-sdk/clients/proton.d.ts +105 -101
- package/node_modules/aws-sdk/clients/quicksight.d.ts +114 -12
- package/node_modules/aws-sdk/clients/ram.d.ts +5 -5
- package/node_modules/aws-sdk/clients/rbin.d.ts +41 -41
- package/node_modules/aws-sdk/clients/rds.d.ts +600 -779
- package/node_modules/aws-sdk/clients/rdsdataservice.d.ts +22 -7
- package/node_modules/aws-sdk/clients/redshift.d.ts +68 -30
- package/node_modules/aws-sdk/clients/rekognition.d.ts +209 -53
- package/node_modules/aws-sdk/clients/resiliencehub.d.ts +138 -58
- package/node_modules/aws-sdk/clients/robomaker.d.ts +37 -36
- package/node_modules/aws-sdk/clients/route53.d.ts +12 -12
- package/node_modules/aws-sdk/clients/route53recoverycluster.d.ts +82 -10
- package/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts +275 -230
- package/node_modules/aws-sdk/clients/s3.d.ts +735 -204
- package/node_modules/aws-sdk/clients/s3control.d.ts +145 -13
- package/node_modules/aws-sdk/clients/s3outposts.d.ts +50 -18
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +252 -182
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +77 -63
- package/node_modules/aws-sdk/clients/securityhub.d.ts +166 -7
- package/node_modules/aws-sdk/clients/servicecatalog.d.ts +8 -4
- package/node_modules/aws-sdk/clients/sns.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ssm.d.ts +90 -37
- package/node_modules/aws-sdk/clients/ssmcontacts.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ssmincidents.d.ts +21 -7
- package/node_modules/aws-sdk/clients/storagegateway.d.ts +24 -24
- package/node_modules/aws-sdk/clients/sts.d.ts +5 -5
- package/node_modules/aws-sdk/clients/synthetics.d.ts +25 -10
- package/node_modules/aws-sdk/clients/textract.d.ts +47 -14
- package/node_modules/aws-sdk/clients/timestreamquery.d.ts +1 -1
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +119 -103
- package/node_modules/aws-sdk/clients/transfer.d.ts +77 -14
- package/node_modules/aws-sdk/clients/transfer.js +1 -0
- package/node_modules/aws-sdk/clients/translate.d.ts +2 -0
- package/node_modules/aws-sdk/clients/wafv2.d.ts +274 -34
- package/node_modules/aws-sdk/clients/wisdom.d.ts +77 -32
- package/node_modules/aws-sdk/clients/workspaces.d.ts +243 -4
- package/node_modules/aws-sdk/clients/workspacesweb.d.ts +38 -4
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +44 -32
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +1367 -1072
- package/node_modules/aws-sdk/dist/aws-sdk.js +6655 -3278
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +94 -92
- package/node_modules/aws-sdk/lib/config-base.d.ts +1 -0
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -0
- package/node_modules/aws-sdk/lib/core.d.ts +1 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js +1 -0
- package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.d.ts +28 -18
- package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js +75 -18
- package/node_modules/aws-sdk/lib/credentials/sso_credentials.d.ts +14 -0
- package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +179 -0
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +9 -1
- package/node_modules/aws-sdk/lib/model/operation.js +6 -1
- package/node_modules/aws-sdk/lib/node_loader.js +2 -0
- package/node_modules/aws-sdk/lib/param_validator.js +2 -1
- package/node_modules/aws-sdk/lib/region_config_data.json +10 -0
- package/node_modules/aws-sdk/lib/services/eventbridge.js +19 -0
- package/node_modules/aws-sdk/lib/services/s3.js +2 -1
- package/node_modules/aws-sdk/lib/services/s3util.js +6 -1
- package/node_modules/aws-sdk/package.json +2 -2
- package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +8 -5
- package/node_modules/jmespath/jmespath.js +32 -27
- package/node_modules/jmespath/package.json +2 -7
- package/node_modules/jszip/.github/workflows/pr.yaml +42 -0
- package/node_modules/jszip/CHANGES.md +15 -1
- package/node_modules/jszip/LICENSE.markdown +1 -1
- package/node_modules/jszip/dist/jszip.js +37 -5
- package/node_modules/jszip/dist/jszip.min.js +2 -2
- package/node_modules/jszip/index.d.ts +79 -14
- package/node_modules/jszip/lib/index.js +1 -1
- package/node_modules/jszip/lib/load.js +8 -1
- package/node_modules/jszip/lib/utils.js +27 -2
- package/node_modules/jszip/package.json +9 -8
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/.npmignore +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/CHANGELOG.md +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/LICENSE +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/README.md +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/Utility.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLAttribute.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLCData.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLComment.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDAttList.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDElement.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDEntity.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDNotation.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDeclaration.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocType.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocument.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocumentCB.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLElement.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLNode.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLProcessingInstruction.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLRaw.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStreamWriter.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringWriter.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringifier.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLText.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLWriterBase.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/index.js +0 -0
- package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/package.json +0 -0
- package/package.json +20 -15
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
- package/node_modules/jmespath/.eslintrc +0 -10
- package/node_modules/jmespath/.npmignore +0 -1
- package/node_modules/jmespath/.travis.yml +0 -6
- package/node_modules/jmespath/BASELINE +0 -15
- package/node_modules/jmespath/Gruntfile.js +0 -36
- package/node_modules/jmespath/g.sh +0 -5
- package/node_modules/jmespath/index.html +0 -93
- package/node_modules/jmespath/james.html +0 -7
- package/node_modules/jmespath/l.js +0 -189
- package/node_modules/jmespath/perf.js +0 -33
- package/node_modules/jmespath/reservedWords.json +0 -4
- package/node_modules/jmespath/test/compliance/basic.json +0 -96
- package/node_modules/jmespath/test/compliance/boolean.json +0 -257
- package/node_modules/jmespath/test/compliance/current.json +0 -25
- package/node_modules/jmespath/test/compliance/escape.json +0 -46
- package/node_modules/jmespath/test/compliance/filters.json +0 -468
- package/node_modules/jmespath/test/compliance/functions.json +0 -825
- package/node_modules/jmespath/test/compliance/identifiers.json +0 -1377
- package/node_modules/jmespath/test/compliance/indices.json +0 -346
- package/node_modules/jmespath/test/compliance/literal.json +0 -190
- package/node_modules/jmespath/test/compliance/multiselect.json +0 -393
- package/node_modules/jmespath/test/compliance/pipe.json +0 -131
- package/node_modules/jmespath/test/compliance/slice.json +0 -187
- package/node_modules/jmespath/test/compliance/syntax.json +0 -616
- package/node_modules/jmespath/test/compliance/unicode.json +0 -38
- package/node_modules/jmespath/test/compliance/wildcard.json +0 -460
- package/node_modules/jmespath/test/compliance.js +0 -56
- package/node_modules/jmespath/test/jmespath.js +0 -217
|
@@ -1,460 +0,0 @@
|
|
|
1
|
-
[{
|
|
2
|
-
"given": {
|
|
3
|
-
"foo": {
|
|
4
|
-
"bar": {
|
|
5
|
-
"baz": "val"
|
|
6
|
-
},
|
|
7
|
-
"other": {
|
|
8
|
-
"baz": "val"
|
|
9
|
-
},
|
|
10
|
-
"other2": {
|
|
11
|
-
"baz": "val"
|
|
12
|
-
},
|
|
13
|
-
"other3": {
|
|
14
|
-
"notbaz": ["a", "b", "c"]
|
|
15
|
-
},
|
|
16
|
-
"other4": {
|
|
17
|
-
"notbaz": ["a", "b", "c"]
|
|
18
|
-
},
|
|
19
|
-
"other5": {
|
|
20
|
-
"other": {
|
|
21
|
-
"a": 1,
|
|
22
|
-
"b": 1,
|
|
23
|
-
"c": 1
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"cases": [
|
|
29
|
-
{
|
|
30
|
-
"expression": "foo.*.baz",
|
|
31
|
-
"result": ["val", "val", "val"]
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"expression": "foo.bar.*",
|
|
35
|
-
"result": ["val"]
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"expression": "foo.*.notbaz",
|
|
39
|
-
"result": [["a", "b", "c"], ["a", "b", "c"]]
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"expression": "foo.*.notbaz[0]",
|
|
43
|
-
"result": ["a", "a"]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"expression": "foo.*.notbaz[-1]",
|
|
47
|
-
"result": ["c", "c"]
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}, {
|
|
51
|
-
"given": {
|
|
52
|
-
"foo": {
|
|
53
|
-
"first-1": {
|
|
54
|
-
"second-1": "val"
|
|
55
|
-
},
|
|
56
|
-
"first-2": {
|
|
57
|
-
"second-1": "val"
|
|
58
|
-
},
|
|
59
|
-
"first-3": {
|
|
60
|
-
"second-1": "val"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"cases": [
|
|
65
|
-
{
|
|
66
|
-
"expression": "foo.*",
|
|
67
|
-
"result": [{"second-1": "val"}, {"second-1": "val"},
|
|
68
|
-
{"second-1": "val"}]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"expression": "foo.*.*",
|
|
72
|
-
"result": [["val"], ["val"], ["val"]]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"expression": "foo.*.*.*",
|
|
76
|
-
"result": [[], [], []]
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"expression": "foo.*.*.*.*",
|
|
80
|
-
"result": [[], [], []]
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}, {
|
|
84
|
-
"given": {
|
|
85
|
-
"foo": {
|
|
86
|
-
"bar": "one"
|
|
87
|
-
},
|
|
88
|
-
"other": {
|
|
89
|
-
"bar": "one"
|
|
90
|
-
},
|
|
91
|
-
"nomatch": {
|
|
92
|
-
"notbar": "three"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"cases": [
|
|
96
|
-
{
|
|
97
|
-
"expression": "*.bar",
|
|
98
|
-
"result": ["one", "one"]
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}, {
|
|
102
|
-
"given": {
|
|
103
|
-
"top1": {
|
|
104
|
-
"sub1": {"foo": "one"}
|
|
105
|
-
},
|
|
106
|
-
"top2": {
|
|
107
|
-
"sub1": {"foo": "one"}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"cases": [
|
|
111
|
-
{
|
|
112
|
-
"expression": "*",
|
|
113
|
-
"result": [{"sub1": {"foo": "one"}},
|
|
114
|
-
{"sub1": {"foo": "one"}}]
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"expression": "*.sub1",
|
|
118
|
-
"result": [{"foo": "one"},
|
|
119
|
-
{"foo": "one"}]
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"expression": "*.*",
|
|
123
|
-
"result": [[{"foo": "one"}],
|
|
124
|
-
[{"foo": "one"}]]
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"expression": "*.*.foo[]",
|
|
128
|
-
"result": ["one", "one"]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"expression": "*.sub1.foo",
|
|
132
|
-
"result": ["one", "one"]
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"given":
|
|
138
|
-
{"foo": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]},
|
|
139
|
-
"cases": [
|
|
140
|
-
{
|
|
141
|
-
"expression": "foo[*].bar",
|
|
142
|
-
"result": ["one", "two", "three"]
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"expression": "foo[*].notbar",
|
|
146
|
-
"result": ["four"]
|
|
147
|
-
}
|
|
148
|
-
]
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"given":
|
|
152
|
-
[{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}],
|
|
153
|
-
"cases": [
|
|
154
|
-
{
|
|
155
|
-
"expression": "[*]",
|
|
156
|
-
"result": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"expression": "[*].bar",
|
|
160
|
-
"result": ["one", "two", "three"]
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"expression": "[*].notbar",
|
|
164
|
-
"result": ["four"]
|
|
165
|
-
}
|
|
166
|
-
]
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"given": {
|
|
170
|
-
"foo": {
|
|
171
|
-
"bar": [
|
|
172
|
-
{"baz": ["one", "two", "three"]},
|
|
173
|
-
{"baz": ["four", "five", "six"]},
|
|
174
|
-
{"baz": ["seven", "eight", "nine"]}
|
|
175
|
-
]
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"cases": [
|
|
179
|
-
{
|
|
180
|
-
"expression": "foo.bar[*].baz",
|
|
181
|
-
"result": [["one", "two", "three"], ["four", "five", "six"], ["seven", "eight", "nine"]]
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"expression": "foo.bar[*].baz[0]",
|
|
185
|
-
"result": ["one", "four", "seven"]
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"expression": "foo.bar[*].baz[1]",
|
|
189
|
-
"result": ["two", "five", "eight"]
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"expression": "foo.bar[*].baz[2]",
|
|
193
|
-
"result": ["three", "six", "nine"]
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"expression": "foo.bar[*].baz[3]",
|
|
197
|
-
"result": []
|
|
198
|
-
}
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"given": {
|
|
203
|
-
"foo": {
|
|
204
|
-
"bar": [["one", "two"], ["three", "four"]]
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"cases": [
|
|
208
|
-
{
|
|
209
|
-
"expression": "foo.bar[*]",
|
|
210
|
-
"result": [["one", "two"], ["three", "four"]]
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"expression": "foo.bar[0]",
|
|
214
|
-
"result": ["one", "two"]
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"expression": "foo.bar[0][0]",
|
|
218
|
-
"result": "one"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"expression": "foo.bar[0][0][0]",
|
|
222
|
-
"result": null
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"expression": "foo.bar[0][0][0][0]",
|
|
226
|
-
"result": null
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"expression": "foo[0][0]",
|
|
230
|
-
"result": null
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"given": {
|
|
236
|
-
"foo": [
|
|
237
|
-
{"bar": [{"kind": "basic"}, {"kind": "intermediate"}]},
|
|
238
|
-
{"bar": [{"kind": "advanced"}, {"kind": "expert"}]},
|
|
239
|
-
{"bar": "string"}
|
|
240
|
-
]
|
|
241
|
-
|
|
242
|
-
},
|
|
243
|
-
"cases": [
|
|
244
|
-
{
|
|
245
|
-
"expression": "foo[*].bar[*].kind",
|
|
246
|
-
"result": [["basic", "intermediate"], ["advanced", "expert"]]
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"expression": "foo[*].bar[0].kind",
|
|
250
|
-
"result": ["basic", "advanced"]
|
|
251
|
-
}
|
|
252
|
-
]
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"given": {
|
|
256
|
-
"foo": [
|
|
257
|
-
{"bar": {"kind": "basic"}},
|
|
258
|
-
{"bar": {"kind": "intermediate"}},
|
|
259
|
-
{"bar": {"kind": "advanced"}},
|
|
260
|
-
{"bar": {"kind": "expert"}},
|
|
261
|
-
{"bar": "string"}
|
|
262
|
-
]
|
|
263
|
-
},
|
|
264
|
-
"cases": [
|
|
265
|
-
{
|
|
266
|
-
"expression": "foo[*].bar.kind",
|
|
267
|
-
"result": ["basic", "intermediate", "advanced", "expert"]
|
|
268
|
-
}
|
|
269
|
-
]
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"given": {
|
|
273
|
-
"foo": [{"bar": ["one", "two"]}, {"bar": ["three", "four"]}, {"bar": ["five"]}]
|
|
274
|
-
},
|
|
275
|
-
"cases": [
|
|
276
|
-
{
|
|
277
|
-
"expression": "foo[*].bar[0]",
|
|
278
|
-
"result": ["one", "three", "five"]
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"expression": "foo[*].bar[1]",
|
|
282
|
-
"result": ["two", "four"]
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"expression": "foo[*].bar[2]",
|
|
286
|
-
"result": []
|
|
287
|
-
}
|
|
288
|
-
]
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"given": {
|
|
292
|
-
"foo": [{"bar": []}, {"bar": []}, {"bar": []}]
|
|
293
|
-
},
|
|
294
|
-
"cases": [
|
|
295
|
-
{
|
|
296
|
-
"expression": "foo[*].bar[0]",
|
|
297
|
-
"result": []
|
|
298
|
-
}
|
|
299
|
-
]
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"given": {
|
|
303
|
-
"foo": [["one", "two"], ["three", "four"], ["five"]]
|
|
304
|
-
},
|
|
305
|
-
"cases": [
|
|
306
|
-
{
|
|
307
|
-
"expression": "foo[*][0]",
|
|
308
|
-
"result": ["one", "three", "five"]
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"expression": "foo[*][1]",
|
|
312
|
-
"result": ["two", "four"]
|
|
313
|
-
}
|
|
314
|
-
]
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"given": {
|
|
318
|
-
"foo": [
|
|
319
|
-
[
|
|
320
|
-
["one", "two"], ["three", "four"]
|
|
321
|
-
], [
|
|
322
|
-
["five", "six"], ["seven", "eight"]
|
|
323
|
-
], [
|
|
324
|
-
["nine"], ["ten"]
|
|
325
|
-
]
|
|
326
|
-
]
|
|
327
|
-
},
|
|
328
|
-
"cases": [
|
|
329
|
-
{
|
|
330
|
-
"expression": "foo[*][0]",
|
|
331
|
-
"result": [["one", "two"], ["five", "six"], ["nine"]]
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"expression": "foo[*][1]",
|
|
335
|
-
"result": [["three", "four"], ["seven", "eight"], ["ten"]]
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"expression": "foo[*][0][0]",
|
|
339
|
-
"result": ["one", "five", "nine"]
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"expression": "foo[*][1][0]",
|
|
343
|
-
"result": ["three", "seven", "ten"]
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"expression": "foo[*][0][1]",
|
|
347
|
-
"result": ["two", "six"]
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"expression": "foo[*][1][1]",
|
|
351
|
-
"result": ["four", "eight"]
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"expression": "foo[*][2]",
|
|
355
|
-
"result": []
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"expression": "foo[*][2][2]",
|
|
359
|
-
"result": []
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"expression": "bar[*]",
|
|
363
|
-
"result": null
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"expression": "bar[*].baz[*]",
|
|
367
|
-
"result": null
|
|
368
|
-
}
|
|
369
|
-
]
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"given": {
|
|
373
|
-
"string": "string",
|
|
374
|
-
"hash": {"foo": "bar", "bar": "baz"},
|
|
375
|
-
"number": 23,
|
|
376
|
-
"nullvalue": null
|
|
377
|
-
},
|
|
378
|
-
"cases": [
|
|
379
|
-
{
|
|
380
|
-
"expression": "string[*]",
|
|
381
|
-
"result": null
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"expression": "hash[*]",
|
|
385
|
-
"result": null
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"expression": "number[*]",
|
|
389
|
-
"result": null
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"expression": "nullvalue[*]",
|
|
393
|
-
"result": null
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"expression": "string[*].foo",
|
|
397
|
-
"result": null
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"expression": "hash[*].foo",
|
|
401
|
-
"result": null
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"expression": "number[*].foo",
|
|
405
|
-
"result": null
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"expression": "nullvalue[*].foo",
|
|
409
|
-
"result": null
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"expression": "nullvalue[*].foo[*].bar",
|
|
413
|
-
"result": null
|
|
414
|
-
}
|
|
415
|
-
]
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"given": {
|
|
419
|
-
"string": "string",
|
|
420
|
-
"hash": {"foo": "val", "bar": "val"},
|
|
421
|
-
"number": 23,
|
|
422
|
-
"array": [1, 2, 3],
|
|
423
|
-
"nullvalue": null
|
|
424
|
-
},
|
|
425
|
-
"cases": [
|
|
426
|
-
{
|
|
427
|
-
"expression": "string.*",
|
|
428
|
-
"result": null
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"expression": "hash.*",
|
|
432
|
-
"result": ["val", "val"]
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"expression": "number.*",
|
|
436
|
-
"result": null
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"expression": "array.*",
|
|
440
|
-
"result": null
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"expression": "nullvalue.*",
|
|
444
|
-
"result": null
|
|
445
|
-
}
|
|
446
|
-
]
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"given": {
|
|
450
|
-
"a": [0, 1, 2],
|
|
451
|
-
"b": [0, 1, 2]
|
|
452
|
-
},
|
|
453
|
-
"cases": [
|
|
454
|
-
{
|
|
455
|
-
"expression": "*[0]",
|
|
456
|
-
"result": [0, 0]
|
|
457
|
-
}
|
|
458
|
-
]
|
|
459
|
-
}
|
|
460
|
-
]
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var fs = require('fs');
|
|
2
|
-
var path = require('path');
|
|
3
|
-
var assert = require('assert');
|
|
4
|
-
var jmespath = require('../jmespath');
|
|
5
|
-
var search = jmespath.search;
|
|
6
|
-
|
|
7
|
-
// Compliance tests that aren't supported yet.
|
|
8
|
-
var notImplementedYet = [];
|
|
9
|
-
|
|
10
|
-
function endsWith(str, suffix) {
|
|
11
|
-
return str.indexOf(suffix, str.length - suffix.length) !== -1;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
var listing = fs.readdirSync('test/compliance');
|
|
15
|
-
for (var i = 0; i < listing.length; i++) {
|
|
16
|
-
var filename = 'test/compliance/' + listing[i];
|
|
17
|
-
if (fs.statSync(filename).isFile() && endsWith(filename, '.json') &&
|
|
18
|
-
notImplementedYet.indexOf(path.basename(filename)) === -1) {
|
|
19
|
-
addTestSuitesFromFile(filename);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function addTestSuitesFromFile(filename) {
|
|
23
|
-
describe(filename, function() {
|
|
24
|
-
var spec = JSON.parse(fs.readFileSync(filename, 'utf-8'));
|
|
25
|
-
var errorMsg;
|
|
26
|
-
for (var i = 0; i < spec.length; i++) {
|
|
27
|
-
var msg = "suite " + i + " for filename " + filename;
|
|
28
|
-
describe(msg, function() {
|
|
29
|
-
var given = spec[i].given;
|
|
30
|
-
var cases = spec[i].cases;
|
|
31
|
-
for (var j = 0; j < cases.length; j++) {
|
|
32
|
-
var testcase = cases[j];
|
|
33
|
-
if (testcase.error !== undefined) {
|
|
34
|
-
// For now just verify that an error is thrown
|
|
35
|
-
// for error tests.
|
|
36
|
-
(function(testcase, given) {
|
|
37
|
-
it('should throw error for test ' + j, function() {
|
|
38
|
-
assert.throws(
|
|
39
|
-
function() {
|
|
40
|
-
search(given, testcase.expression);
|
|
41
|
-
}, Error, testcase.expression);
|
|
42
|
-
});
|
|
43
|
-
})(testcase, given);
|
|
44
|
-
} else {
|
|
45
|
-
(function(testcase, given) {
|
|
46
|
-
it('should pass test ' + j + " expression: " + testcase.expression, function() {
|
|
47
|
-
assert.deepEqual(search(given, testcase.expression),
|
|
48
|
-
testcase.result);
|
|
49
|
-
});
|
|
50
|
-
})(testcase, given);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
}
|