@pgarbe/cdk-ecr-sync 0.5.22 → 0.5.26
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 +20 -19
- package/.jsii +150 -6
- package/.projenrc.ts +4 -4
- package/CHANGELOG.md +1 -91
- package/lib/ecr-sync.d.ts +4 -22
- package/lib/ecr-sync.js +3 -10
- package/lib/image.d.ts +5 -8
- package/lib/image.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +184 -1
- package/node_modules/aws-sdk/README.md +1 -1
- 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 +677 -237
- 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 +171 -15
- package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +358 -148
- package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +345 -102
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +43 -30
- package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +5 -1
- package/node_modules/aws-sdk/apis/chime-sdk-messaging-2021-05-15.min.json +114 -110
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +86 -25
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +499 -61
- package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.paginators.json +14 -0
- package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json +14 -2
- package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +167 -79
- package/node_modules/aws-sdk/apis/comprehendmedical-2018-10-30.min.json +244 -29
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +30 -15
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +408 -133
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +36 -23
- package/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +125 -124
- package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +117 -68
- package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +101 -9
- package/node_modules/aws-sdk/apis/detective-2018-10-26.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +18 -12
- package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.paginators.json +2 -1
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1394 -1002
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +18 -0
- package/node_modules/aws-sdk/apis/ec2-instance-connect-2018-04-02.min.json +1 -2
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +54 -51
- package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +149 -21
- package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +134 -49
- package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +29 -20
- package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +136 -30
- package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/forecast-2018-06-26.min.json +3 -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 +4 -1
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +604 -411
- package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +182 -29
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +352 -77
- package/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json +141 -39
- package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +131 -76
- package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +326 -271
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +132 -44
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +31 -16
- package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +114 -94
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +91 -57
- package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +129 -18
- package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +515 -196
- package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +4 -1
- package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +61 -31
- package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +208 -11
- package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +5 -1
- package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +39 -0
- package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +151 -127
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +194 -191
- package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +87 -56
- package/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +2 -1
- package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +324 -159
- package/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +7 -6
- package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +74 -35
- package/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json +175 -123
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +134 -49
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +29 -0
- package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +3 -0
- package/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +141 -7
- package/node_modules/aws-sdk/apis/pi-2018-02-27.paginators.json +20 -0
- package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +18 -12
- package/node_modules/aws-sdk/apis/qldb-2019-01-02.min.json +20 -18
- package/node_modules/aws-sdk/apis/ram-2018-01-04.min.json +27 -0
- package/node_modules/aws-sdk/apis/ram-2018-01-04.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +2 -1
- package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +20 -19
- package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +135 -45
- package/node_modules/aws-sdk/apis/route53-recovery-control-config-2020-11-02.min.json +137 -39
- package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +132 -22
- package/node_modules/aws-sdk/apis/route53domains-2014-05-15.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +41 -8
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +138 -138
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +152 -52
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +377 -299
- 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 +747 -353
- package/node_modules/aws-sdk/apis/snowball-2016-06-30.examples.json +2 -2
- package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +263 -255
- package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +11 -3
- package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +44 -40
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +47 -43
- package/node_modules/aws-sdk/apis/workmail-2017-10-01.min.json +82 -27
- package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +139 -49
- package/node_modules/aws-sdk/clients/amplify.d.ts +7 -7
- package/node_modules/aws-sdk/clients/apigateway.d.ts +5 -5
- 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 +611 -3
- package/node_modules/aws-sdk/clients/applicationinsights.d.ts +1 -1
- package/node_modules/aws-sdk/clients/apprunner.d.ts +179 -12
- package/node_modules/aws-sdk/clients/appstream.d.ts +262 -0
- package/node_modules/aws-sdk/clients/appsync.d.ts +355 -109
- package/node_modules/aws-sdk/clients/athena.d.ts +31 -8
- package/node_modules/aws-sdk/clients/auditmanager.d.ts +2 -2
- package/node_modules/aws-sdk/clients/chimesdkmessaging.d.ts +12 -4
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +407 -264
- package/node_modules/aws-sdk/clients/cloudtrail.d.ts +615 -13
- package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +6 -1
- package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +6 -5
- package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +287 -287
- package/node_modules/aws-sdk/clients/comprehend.d.ts +138 -0
- package/node_modules/aws-sdk/clients/comprehendmedical.d.ts +306 -25
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +45 -13
- package/node_modules/aws-sdk/clients/configservice.d.ts +1 -1
- package/node_modules/aws-sdk/clients/connect.d.ts +327 -10
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +7 -7
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +30 -13
- package/node_modules/aws-sdk/clients/databrew.d.ts +6 -1
- package/node_modules/aws-sdk/clients/datasync.d.ts +68 -3
- package/node_modules/aws-sdk/clients/detective.d.ts +144 -40
- package/node_modules/aws-sdk/clients/devopsguru.d.ts +5 -1
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +5 -5
- package/node_modules/aws-sdk/clients/ebs.d.ts +6 -6
- package/node_modules/aws-sdk/clients/ec2.d.ts +506 -42
- package/node_modules/aws-sdk/clients/ec2instanceconnect.d.ts +1 -1
- package/node_modules/aws-sdk/clients/ecs.d.ts +5 -5
- package/node_modules/aws-sdk/clients/efs.d.ts +131 -4
- package/node_modules/aws-sdk/clients/eks.d.ts +15 -2
- package/node_modules/aws-sdk/clients/elasticache.d.ts +15 -15
- package/node_modules/aws-sdk/clients/emr.d.ts +14 -14
- package/node_modules/aws-sdk/clients/es.d.ts +110 -0
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +8 -8
- package/node_modules/aws-sdk/clients/finspacedata.d.ts +32 -14
- package/node_modules/aws-sdk/clients/fis.d.ts +142 -22
- package/node_modules/aws-sdk/clients/fms.d.ts +6 -6
- package/node_modules/aws-sdk/clients/forecastservice.d.ts +43 -24
- package/node_modules/aws-sdk/clients/frauddetector.d.ts +308 -0
- package/node_modules/aws-sdk/clients/fsx.d.ts +15 -11
- package/node_modules/aws-sdk/clients/glue.d.ts +126 -7
- package/node_modules/aws-sdk/clients/greengrassv2.d.ts +133 -5
- package/node_modules/aws-sdk/clients/guardduty.d.ts +309 -44
- package/node_modules/aws-sdk/clients/health.d.ts +2 -2
- package/node_modules/aws-sdk/clients/honeycode.d.ts +83 -3
- package/node_modules/aws-sdk/clients/imagebuilder.d.ts +100 -8
- package/node_modules/aws-sdk/clients/iot.d.ts +63 -2
- package/node_modules/aws-sdk/clients/ioteventsdata.d.ts +3 -3
- package/node_modules/aws-sdk/clients/iotwireless.d.ts +76 -0
- package/node_modules/aws-sdk/clients/ivs.d.ts +21 -1
- package/node_modules/aws-sdk/clients/kafka.d.ts +19 -1
- package/node_modules/aws-sdk/clients/kendra.d.ts +116 -63
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +137 -2
- package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +231 -24
- package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +28 -1
- package/node_modules/aws-sdk/clients/location.d.ts +306 -59
- package/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +104 -22
- package/node_modules/aws-sdk/clients/lookoutvision.d.ts +293 -23
- package/node_modules/aws-sdk/clients/macie2.d.ts +2 -2
- package/node_modules/aws-sdk/clients/marketplacemetering.d.ts +17 -12
- package/node_modules/aws-sdk/clients/mediaconnect.d.ts +51 -7
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +48 -9
- package/node_modules/aws-sdk/clients/medialive.d.ts +10 -1
- package/node_modules/aws-sdk/clients/mediatailor.d.ts +17 -2
- package/node_modules/aws-sdk/clients/mwaa.d.ts +101 -57
- package/node_modules/aws-sdk/clients/networkfirewall.d.ts +68 -7
- package/node_modules/aws-sdk/clients/nimble.d.ts +76 -17
- package/node_modules/aws-sdk/clients/opensearch.d.ts +110 -0
- package/node_modules/aws-sdk/clients/outposts.d.ts +47 -3
- package/node_modules/aws-sdk/clients/personalize.d.ts +7 -3
- package/node_modules/aws-sdk/clients/pi.d.ts +202 -29
- package/node_modules/aws-sdk/clients/pinpoint.d.ts +4 -0
- package/node_modules/aws-sdk/clients/qldb.d.ts +28 -19
- package/node_modules/aws-sdk/clients/quicksight.d.ts +8 -8
- package/node_modules/aws-sdk/clients/ram.d.ts +33 -1
- package/node_modules/aws-sdk/clients/rbin.d.ts +41 -41
- package/node_modules/aws-sdk/clients/rds.d.ts +68 -68
- package/node_modules/aws-sdk/clients/redshift.d.ts +8 -4
- package/node_modules/aws-sdk/clients/rekognition.d.ts +13 -8
- package/node_modules/aws-sdk/clients/robomaker.d.ts +30 -30
- package/node_modules/aws-sdk/clients/route53.d.ts +11 -11
- package/node_modules/aws-sdk/clients/route53domains.d.ts +179 -49
- package/node_modules/aws-sdk/clients/route53recoverycontrolconfig.d.ts +185 -78
- package/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts +275 -230
- package/node_modules/aws-sdk/clients/s3.d.ts +6 -6
- package/node_modules/aws-sdk/clients/s3control.d.ts +136 -9
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +142 -13
- package/node_modules/aws-sdk/clients/savingsplans.d.ts +1 -1
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +193 -179
- package/node_modules/aws-sdk/clients/securityhub.d.ts +563 -3
- package/node_modules/aws-sdk/clients/sms.d.ts +31 -31
- package/node_modules/aws-sdk/clients/ssm.d.ts +22 -11
- package/node_modules/aws-sdk/clients/ssmincidents.d.ts +1 -1
- package/node_modules/aws-sdk/clients/storagegateway.d.ts +10 -10
- package/node_modules/aws-sdk/clients/support.d.ts +62 -62
- package/node_modules/aws-sdk/clients/synthetics.d.ts +15 -5
- package/node_modules/aws-sdk/clients/transcribeservice.d.ts +39 -33
- package/node_modules/aws-sdk/clients/transfer.d.ts +15 -6
- package/node_modules/aws-sdk/clients/workmail.d.ts +65 -0
- package/node_modules/aws-sdk/clients/workspaces.d.ts +130 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +35 -28
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +132 -125
- package/node_modules/aws-sdk/dist/aws-sdk.js +4419 -2193
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +90 -90
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +1 -1
- package/node_modules/aws-sdk/lib/param_validator.js +2 -0
- package/node_modules/aws-sdk/package.json +2 -2
- package/node_modules/jmespath/jmespath.js +32 -27
- package/node_modules/jmespath/package.json +2 -7
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/.travis.yml +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/CONTRIBUTING.md +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/GOVERNANCE.md +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/LICENSE +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/README.md +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/doc/wg-meetings/2015-01-30.md +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/duplex-browser.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/duplex.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_duplex.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_passthrough.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_readable.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_transform.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/_stream_writable.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/BufferList.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/destroy.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/stream-browser.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/lib/internal/streams/stream.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/package.json +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/passthrough.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/readable-browser.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/readable.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/transform.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/writable-browser.js +0 -0
- package/node_modules/{readable-stream → jszip/node_modules/readable-stream}/writable.js +0 -0
- package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/.travis.yml +0 -0
- package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/LICENSE +0 -0
- package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/README.md +0 -0
- package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/lib/string_decoder.js +0 -0
- package/node_modules/{string_decoder → jszip/node_modules/string_decoder}/package.json +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/.npmignore +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/CHANGELOG.md +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/LICENSE +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/README.md +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/Utility.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLAttribute.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLCData.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLComment.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDAttList.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDElement.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDEntity.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDTDNotation.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDeclaration.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDocType.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDocument.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLDocumentCB.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLElement.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLNode.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLProcessingInstruction.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLRaw.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLStreamWriter.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLStringWriter.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLStringifier.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLText.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/XMLWriterBase.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/lib/index.js +0 -0
- package/node_modules/{xml2js/node_modules/xmlbuilder → xmlbuilder}/package.json +0 -0
- package/package.json +22 -22
- package/releasetag.txt +1 -0
- package/version.txt +1 -0
- 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,189 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var Lexer = exports.Lexer = function() {
|
|
4
|
-
this.pos = 0;
|
|
5
|
-
this.buf = null;
|
|
6
|
-
this.buflen = 0;
|
|
7
|
-
|
|
8
|
-
// Operator table, mapping operator -> token name
|
|
9
|
-
this.optable = {
|
|
10
|
-
'+': 'PLUS',
|
|
11
|
-
'-': 'MINUS',
|
|
12
|
-
'*': 'MULTIPLY',
|
|
13
|
-
'.': 'PERIOD',
|
|
14
|
-
'\\': 'BACKSLASH',
|
|
15
|
-
':': 'COLON',
|
|
16
|
-
'%': 'PERCENT',
|
|
17
|
-
'|': 'PIPE',
|
|
18
|
-
'!': 'EXCLAMATION',
|
|
19
|
-
'?': 'QUESTION',
|
|
20
|
-
'#': 'POUND',
|
|
21
|
-
'&': 'AMPERSAND',
|
|
22
|
-
';': 'SEMI',
|
|
23
|
-
',': 'COMMA',
|
|
24
|
-
'(': 'L_PAREN',
|
|
25
|
-
')': 'R_PAREN',
|
|
26
|
-
'<': 'L_ANG',
|
|
27
|
-
'>': 'R_ANG',
|
|
28
|
-
'{': 'L_BRACE',
|
|
29
|
-
'}': 'R_BRACE',
|
|
30
|
-
'[': 'L_BRACKET',
|
|
31
|
-
']': 'R_BRACKET',
|
|
32
|
-
'=': 'EQUALS'
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Initialize the Lexer's buffer. This resets the lexer's internal
|
|
37
|
-
// state and subsequent tokens will be returned starting with the
|
|
38
|
-
// beginning of the new buffer.
|
|
39
|
-
Lexer.prototype.input = function(buf) {
|
|
40
|
-
this.pos = 0;
|
|
41
|
-
this.buf = buf;
|
|
42
|
-
this.buflen = buf.length;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Get the next token from the current buffer. A token is an object with
|
|
46
|
-
// the following properties:
|
|
47
|
-
// - name: name of the pattern that this token matched (taken from rules).
|
|
48
|
-
// - value: actual string value of the token.
|
|
49
|
-
// - pos: offset in the current buffer where the token starts.
|
|
50
|
-
//
|
|
51
|
-
// If there are no more tokens in the buffer, returns null. In case of
|
|
52
|
-
// an error throws Error.
|
|
53
|
-
Lexer.prototype.token = function() {
|
|
54
|
-
this._skipnontokens();
|
|
55
|
-
if (this.pos >= this.buflen) {
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// The char at this.pos is part of a real token. Figure out which.
|
|
60
|
-
var c = this.buf.charAt(this.pos);
|
|
61
|
-
|
|
62
|
-
// '/' is treated specially, because it starts a comment if followed by
|
|
63
|
-
// another '/'. If not followed by another '/', it's the DIVIDE
|
|
64
|
-
// operator.
|
|
65
|
-
if (c === '/') {
|
|
66
|
-
var next_c = this.buf.charAt(this.pos + 1);
|
|
67
|
-
if (next_c === '/') {
|
|
68
|
-
return this._process_comment();
|
|
69
|
-
} else {
|
|
70
|
-
return {name: 'DIVIDE', value: '/', pos: this.pos++};
|
|
71
|
-
}
|
|
72
|
-
} else {
|
|
73
|
-
// Look it up in the table of operators
|
|
74
|
-
var op = this.optable[c];
|
|
75
|
-
if (op !== undefined) {
|
|
76
|
-
return {name: op, value: c, pos: this.pos++};
|
|
77
|
-
} else {
|
|
78
|
-
// Not an operator - so it's the beginning of another token.
|
|
79
|
-
if (Lexer._isalpha(c)) {
|
|
80
|
-
return this._process_identifier();
|
|
81
|
-
} else if (Lexer._isdigit(c)) {
|
|
82
|
-
return this._process_number();
|
|
83
|
-
} else if (c === '"') {
|
|
84
|
-
return this._process_quote();
|
|
85
|
-
} else {
|
|
86
|
-
throw Error('Token error at ' + this.pos);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
Lexer._isnewline = function(c) {
|
|
93
|
-
return c === '\r' || c === '\n';
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
Lexer._isdigit = function(c) {
|
|
97
|
-
return c >= '0' && c <= '9';
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
Lexer._isalpha = function(c) {
|
|
101
|
-
return (c >= 'a' && c <= 'z') ||
|
|
102
|
-
(c >= 'A' && c <= 'Z') ||
|
|
103
|
-
c === '_' || c === '$';
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
Lexer._isalphanum = function(c) {
|
|
107
|
-
return (c >= 'a' && c <= 'z') ||
|
|
108
|
-
(c >= 'A' && c <= 'Z') ||
|
|
109
|
-
(c >= '0' && c <= '9') ||
|
|
110
|
-
c === '_' || c === '$';
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
Lexer.prototype._process_number = function() {
|
|
114
|
-
var endpos = this.pos + 1;
|
|
115
|
-
while (endpos < this.buflen &&
|
|
116
|
-
Lexer._isdigit(this.buf.charAt(endpos))) {
|
|
117
|
-
endpos++;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
var tok = {
|
|
121
|
-
name: 'NUMBER',
|
|
122
|
-
value: this.buf.substring(this.pos, endpos),
|
|
123
|
-
pos: this.pos
|
|
124
|
-
};
|
|
125
|
-
this.pos = endpos;
|
|
126
|
-
return tok;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
Lexer.prototype._process_comment = function() {
|
|
130
|
-
var endpos = this.pos + 2;
|
|
131
|
-
// Skip until the end of the line
|
|
132
|
-
var c = this.buf.charAt(this.pos + 2);
|
|
133
|
-
while (endpos < this.buflen &&
|
|
134
|
-
!Lexer._isnewline(this.buf.charAt(endpos))) {
|
|
135
|
-
endpos++;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
var tok = {
|
|
139
|
-
name: 'COMMENT',
|
|
140
|
-
value: this.buf.substring(this.pos, endpos),
|
|
141
|
-
pos: this.pos
|
|
142
|
-
};
|
|
143
|
-
this.pos = endpos + 1;
|
|
144
|
-
return tok;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
Lexer.prototype._process_identifier = function() {
|
|
148
|
-
var endpos = this.pos + 1;
|
|
149
|
-
while (endpos < this.buflen &&
|
|
150
|
-
Lexer._isalphanum(this.buf.charAt(endpos))) {
|
|
151
|
-
endpos++;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
var tok = {
|
|
155
|
-
name: 'IDENTIFIER',
|
|
156
|
-
value: this.buf.substring(this.pos, endpos),
|
|
157
|
-
pos: this.pos
|
|
158
|
-
};
|
|
159
|
-
this.pos = endpos;
|
|
160
|
-
return tok;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
Lexer.prototype._process_quote = function() {
|
|
164
|
-
// this.pos points at the opening quote. Find the ending quote.
|
|
165
|
-
var end_index = this.buf.indexOf('"', this.pos + 1);
|
|
166
|
-
|
|
167
|
-
if (end_index === -1) {
|
|
168
|
-
throw Error('Unterminated quote at ' + this.pos);
|
|
169
|
-
} else {
|
|
170
|
-
var tok = {
|
|
171
|
-
name: 'QUOTE',
|
|
172
|
-
value: this.buf.substring(this.pos, end_index + 1),
|
|
173
|
-
pos: this.pos
|
|
174
|
-
};
|
|
175
|
-
this.pos = end_index + 1;
|
|
176
|
-
return tok;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
Lexer.prototype._skipnontokens = function() {
|
|
181
|
-
while (this.pos < this.buflen) {
|
|
182
|
-
var c = this.buf.charAt(this.pos);
|
|
183
|
-
if (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
|
|
184
|
-
this.pos++;
|
|
185
|
-
} else {
|
|
186
|
-
break;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var jmespath = require('./jmespath')
|
|
2
|
-
var Benchmark = require('benchmark');
|
|
3
|
-
var suite = new Benchmark.Suite;
|
|
4
|
-
|
|
5
|
-
// add tests
|
|
6
|
-
suite.add('Parser#single_expr', function() {
|
|
7
|
-
jmespath.compile("foo");
|
|
8
|
-
})
|
|
9
|
-
.add('Parser#single_subexpr', function() {
|
|
10
|
-
jmespath.compile("foo.bar");
|
|
11
|
-
})
|
|
12
|
-
.add('Parser#deeply_nested_50', function() {
|
|
13
|
-
jmespath.compile("j49.j48.j47.j46.j45.j44.j43.j42.j41.j40.j39.j38.j37.j36.j35.j34.j33.j32.j31.j30.j29.j28.j27.j26.j25.j24.j23.j22.j21.j20.j19.j18.j17.j16.j15.j14.j13.j12.j11.j10.j9.j8.j7.j6.j5.j4.j3.j2.j1.j0");
|
|
14
|
-
|
|
15
|
-
})
|
|
16
|
-
.add('Parser#deeply_nested_50_index', function() {
|
|
17
|
-
jmespath.compile("[49][48][47][46][45][44][43][42][41][40][39][38][37][36][35][34][33][32][31][30][29][28][27][26][25][24][23][22][21][20][19][18][17][16][15][14][13][12][11][10][9][8][7][6][5][4][3][2][1][0]");
|
|
18
|
-
})
|
|
19
|
-
.add('Parser#basic_list_projection', function() {
|
|
20
|
-
jmespath.compile("foo[*].bar");
|
|
21
|
-
})
|
|
22
|
-
.on('cycle', function(event) {
|
|
23
|
-
var bench = event.target;
|
|
24
|
-
var mean = bench.stats.mean * 1000;
|
|
25
|
-
var variance = bench.stats.variance * 1000000;
|
|
26
|
-
var result = 'Mean time: ' + mean.toFixed(6) + 'msec ';
|
|
27
|
-
result += event.target.toString();
|
|
28
|
-
console.log(result);
|
|
29
|
-
})
|
|
30
|
-
.on('complete', function() {
|
|
31
|
-
})
|
|
32
|
-
// run async
|
|
33
|
-
.run({ 'async': false });
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
[{
|
|
2
|
-
"given":
|
|
3
|
-
{"foo": {"bar": {"baz": "correct"}}},
|
|
4
|
-
"cases": [
|
|
5
|
-
{
|
|
6
|
-
"expression": "foo",
|
|
7
|
-
"result": {"bar": {"baz": "correct"}}
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"expression": "foo.bar",
|
|
11
|
-
"result": {"baz": "correct"}
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"expression": "foo.bar.baz",
|
|
15
|
-
"result": "correct"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"expression": "foo\n.\nbar\n.baz",
|
|
19
|
-
"result": "correct"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"expression": "foo.bar.baz.bad",
|
|
23
|
-
"result": null
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"expression": "foo.bar.bad",
|
|
27
|
-
"result": null
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"expression": "foo.bad",
|
|
31
|
-
"result": null
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"expression": "bad",
|
|
35
|
-
"result": null
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"expression": "bad.morebad.morebad",
|
|
39
|
-
"result": null
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"given":
|
|
45
|
-
{"foo": {"bar": ["one", "two", "three"]}},
|
|
46
|
-
"cases": [
|
|
47
|
-
{
|
|
48
|
-
"expression": "foo",
|
|
49
|
-
"result": {"bar": ["one", "two", "three"]}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"expression": "foo.bar",
|
|
53
|
-
"result": ["one", "two", "three"]
|
|
54
|
-
}
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"given": ["one", "two", "three"],
|
|
59
|
-
"cases": [
|
|
60
|
-
{
|
|
61
|
-
"expression": "one",
|
|
62
|
-
"result": null
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"expression": "two",
|
|
66
|
-
"result": null
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"expression": "three",
|
|
70
|
-
"result": null
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"expression": "one.two",
|
|
74
|
-
"result": null
|
|
75
|
-
}
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"given":
|
|
80
|
-
{"foo": {"1": ["one", "two", "three"], "-1": "bar"}},
|
|
81
|
-
"cases": [
|
|
82
|
-
{
|
|
83
|
-
"expression": "foo.\"1\"",
|
|
84
|
-
"result": ["one", "two", "three"]
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"expression": "foo.\"1\"[0]",
|
|
88
|
-
"result": "one"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"expression": "foo.\"-1\"",
|
|
92
|
-
"result": "bar"
|
|
93
|
-
}
|
|
94
|
-
]
|
|
95
|
-
}
|
|
96
|
-
]
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"given": {
|
|
4
|
-
"outer": {
|
|
5
|
-
"foo": "foo",
|
|
6
|
-
"bar": "bar",
|
|
7
|
-
"baz": "baz"
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"cases": [
|
|
11
|
-
{
|
|
12
|
-
"expression": "outer.foo || outer.bar",
|
|
13
|
-
"result": "foo"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"expression": "outer.foo||outer.bar",
|
|
17
|
-
"result": "foo"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"expression": "outer.bar || outer.baz",
|
|
21
|
-
"result": "bar"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"expression": "outer.bar||outer.baz",
|
|
25
|
-
"result": "bar"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"expression": "outer.bad || outer.foo",
|
|
29
|
-
"result": "foo"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"expression": "outer.bad||outer.foo",
|
|
33
|
-
"result": "foo"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"expression": "outer.foo || outer.bad",
|
|
37
|
-
"result": "foo"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"expression": "outer.foo||outer.bad",
|
|
41
|
-
"result": "foo"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"expression": "outer.bad || outer.alsobad",
|
|
45
|
-
"result": null
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"expression": "outer.bad||outer.alsobad",
|
|
49
|
-
"result": null
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"given": {
|
|
55
|
-
"outer": {
|
|
56
|
-
"foo": "foo",
|
|
57
|
-
"bool": false,
|
|
58
|
-
"empty_list": [],
|
|
59
|
-
"empty_string": ""
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"cases": [
|
|
63
|
-
{
|
|
64
|
-
"expression": "outer.empty_string || outer.foo",
|
|
65
|
-
"result": "foo"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"expression": "outer.nokey || outer.bool || outer.empty_list || outer.empty_string || outer.foo",
|
|
69
|
-
"result": "foo"
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"given": {
|
|
75
|
-
"True": true,
|
|
76
|
-
"False": false,
|
|
77
|
-
"Number": 5,
|
|
78
|
-
"EmptyList": [],
|
|
79
|
-
"Zero": 0
|
|
80
|
-
},
|
|
81
|
-
"cases": [
|
|
82
|
-
{
|
|
83
|
-
"expression": "True && False",
|
|
84
|
-
"result": false
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"expression": "False && True",
|
|
88
|
-
"result": false
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"expression": "True && True",
|
|
92
|
-
"result": true
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"expression": "False && False",
|
|
96
|
-
"result": false
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"expression": "True && Number",
|
|
100
|
-
"result": 5
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"expression": "Number && True",
|
|
104
|
-
"result": true
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"expression": "Number && False",
|
|
108
|
-
"result": false
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"expression": "Number && EmptyList",
|
|
112
|
-
"result": []
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"expression": "Number && True",
|
|
116
|
-
"result": true
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"expression": "EmptyList && True",
|
|
120
|
-
"result": []
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"expression": "EmptyList && False",
|
|
124
|
-
"result": []
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"expression": "True || False",
|
|
128
|
-
"result": true
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"expression": "True || True",
|
|
132
|
-
"result": true
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"expression": "False || True",
|
|
136
|
-
"result": true
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"expression": "False || False",
|
|
140
|
-
"result": false
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"expression": "Number || EmptyList",
|
|
144
|
-
"result": 5
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"expression": "Number || True",
|
|
148
|
-
"result": 5
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"expression": "Number || True && False",
|
|
152
|
-
"result": 5
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"expression": "(Number || True) && False",
|
|
156
|
-
"result": false
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"expression": "Number || (True && False)",
|
|
160
|
-
"result": 5
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"expression": "!True",
|
|
164
|
-
"result": false
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"expression": "!False",
|
|
168
|
-
"result": true
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"expression": "!Number",
|
|
172
|
-
"result": false
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"expression": "!EmptyList",
|
|
176
|
-
"result": true
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"expression": "True && !False",
|
|
180
|
-
"result": true
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"expression": "True && !EmptyList",
|
|
184
|
-
"result": true
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"expression": "!False && !EmptyList",
|
|
188
|
-
"result": true
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"expression": "!(True && False)",
|
|
192
|
-
"result": true
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"expression": "!Zero",
|
|
196
|
-
"result": false
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"expression": "!!Zero",
|
|
200
|
-
"result": true
|
|
201
|
-
}
|
|
202
|
-
]
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"given": {
|
|
206
|
-
"one": 1,
|
|
207
|
-
"two": 2,
|
|
208
|
-
"three": 3
|
|
209
|
-
},
|
|
210
|
-
"cases": [
|
|
211
|
-
{
|
|
212
|
-
"expression": "one < two",
|
|
213
|
-
"result": true
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"expression": "one <= two",
|
|
217
|
-
"result": true
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"expression": "one == one",
|
|
221
|
-
"result": true
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"expression": "one == two",
|
|
225
|
-
"result": false
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"expression": "one > two",
|
|
229
|
-
"result": false
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"expression": "one >= two",
|
|
233
|
-
"result": false
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"expression": "one != two",
|
|
237
|
-
"result": true
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"expression": "one < two && three > one",
|
|
241
|
-
"result": true
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"expression": "one < two || three > one",
|
|
245
|
-
"result": true
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"expression": "one < two || three < one",
|
|
249
|
-
"result": true
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"expression": "two < one || three < one",
|
|
253
|
-
"result": false
|
|
254
|
-
}
|
|
255
|
-
]
|
|
256
|
-
}
|
|
257
|
-
]
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"given": {
|
|
4
|
-
"foo": [{"name": "a"}, {"name": "b"}],
|
|
5
|
-
"bar": {"baz": "qux"}
|
|
6
|
-
},
|
|
7
|
-
"cases": [
|
|
8
|
-
{
|
|
9
|
-
"expression": "@",
|
|
10
|
-
"result": {
|
|
11
|
-
"foo": [{"name": "a"}, {"name": "b"}],
|
|
12
|
-
"bar": {"baz": "qux"}
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"expression": "@.bar",
|
|
17
|
-
"result": {"baz": "qux"}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"expression": "@.foo[0]",
|
|
21
|
-
"result": {"name": "a"}
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
]
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
[{
|
|
2
|
-
"given": {
|
|
3
|
-
"foo.bar": "dot",
|
|
4
|
-
"foo bar": "space",
|
|
5
|
-
"foo\nbar": "newline",
|
|
6
|
-
"foo\"bar": "doublequote",
|
|
7
|
-
"c:\\\\windows\\path": "windows",
|
|
8
|
-
"/unix/path": "unix",
|
|
9
|
-
"\"\"\"": "threequotes",
|
|
10
|
-
"bar": {"baz": "qux"}
|
|
11
|
-
},
|
|
12
|
-
"cases": [
|
|
13
|
-
{
|
|
14
|
-
"expression": "\"foo.bar\"",
|
|
15
|
-
"result": "dot"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"expression": "\"foo bar\"",
|
|
19
|
-
"result": "space"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"expression": "\"foo\\nbar\"",
|
|
23
|
-
"result": "newline"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"expression": "\"foo\\\"bar\"",
|
|
27
|
-
"result": "doublequote"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"expression": "\"c:\\\\\\\\windows\\\\path\"",
|
|
31
|
-
"result": "windows"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"expression": "\"/unix/path\"",
|
|
35
|
-
"result": "unix"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"expression": "\"\\\"\\\"\\\"\"",
|
|
39
|
-
"result": "threequotes"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"expression": "\"bar\".\"baz\"",
|
|
43
|
-
"result": "qux"
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
}]
|