Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/integ-runner

Package Overview
Dependencies
Maintainers
0
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/integ-runner - npm Package Compare versions

Comparing version 2.163.1-alpha.0 to 2.164.0-alpha.0

8

lib/runner/integration-tests.d.ts

@@ -113,6 +113,6 @@ /**

/**
* List of tests to include (or exclude if `exclude=true`)
*
* @default - all matched files
*/
* List of tests to include (or exclude if `exclude=true`)
*
* @default - all matched files
*/
readonly tests?: string[];

@@ -119,0 +119,0 @@ /**

@@ -217,2 +217,2 @@ "use strict";

exports.IntegrationTests = IntegrationTests;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWdyYXRpb24tdGVzdHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbnRlZ3JhdGlvbi10ZXN0cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBNkI7QUFDN0IsK0JBQStCO0FBRS9CLE1BQU0saUJBQWlCLEdBQUcsZUFBZSxDQUFDO0FBdUMxQzs7R0FFRztBQUNILE1BQWEsU0FBUztJQTJEcEIsWUFBNEIsSUFBbUI7O1FBQW5CLFNBQUksR0FBSixJQUFJLENBQWU7UUFDN0MsSUFBSSxDQUFDLFVBQVUsR0FBRyxNQUFBLElBQUksQ0FBQyxVQUFVLG1DQUFJLGlCQUFpQixDQUFDO1FBQ3ZELElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUNwRCxJQUFJLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDLEdBQUcsRUFBRSxFQUFFLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FB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XRlKSA9PiB7XG4gICAgICAgIGlmICghdHNDYW5kaWRhdGUuZmlsZU5hbWUuZW5kc1dpdGgoJy50cycpKSB7XG4gICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGpzVGVzdENhc2VzLmZpbmRJbmRleChqc1Rlc3QgPT4ganNUZXN0LnRlc3ROYW1lID09PSB0c0NhbmRpZGF0ZS50ZXN0TmFtZSkgPT09IC0xO1xuICAgICAgfSk7XG4gIH1cblxuICBwcml2YXRlIGFzeW5jIHJlYWRUcmVlKCk6IFByb21pc2U8c3RyaW5nW10+IHtcbiAgICBjb25zdCByZXQgPSBuZXcgQXJyYXk8c3RyaW5nPigpO1xuXG4gICAgYXN5bmMgZnVuY3Rpb24gcmVjdXJzZShkaXI6IHN0cmluZykge1xuICAgICAgY29uc3QgZmlsZXMgPSBhd2FpdCBmcy5yZWFkZGlyKGRpcik7XG4gICAgICBmb3IgKGNvbnN0IGZpbGUgb2YgZmlsZXMpIHtcbiAgICAgICAgY29uc3QgZnVsbFBhdGggPSBwYXRoLmpvaW4oZGlyLCBmaWxlKTtcbiAgICAgICAgY29uc3Qgc3RhdGYgPSBhd2FpdCBmcy5zdGF0KGZ1bGxQYXRoKTtcbiAgICAgICAgaWYgKHN0YXRmLmlzRmlsZSgpKSB7IHJldC5wdXNoKGZ1bGxQYXRoKTsgfVxuICAgICAgICBpZiAoc3RhdGYuaXNEaXJlY3RvcnkoKSkgeyBhd2FpdCByZWN1cnNlKGZ1bGxQYXRoKTsgfVxuICAgICAgfVxuICAgIH1cblxuICAgIGF3YWl0IHJlY3Vyc2UodGhpcy5kaXJlY3RvcnkpO1xuICAgIHJldHVybiByZXQ7XG4gIH1cbn1cbiJdfQ==
{
"name": "@aws-cdk/integ-runner",
"description": "CDK Integration Testing Tool",
"version": "2.163.1-alpha.0",
"version": "2.164.0-alpha.0",
"main": "lib/index.js",

@@ -59,5 +59,5 @@ "types": "lib/index.d.ts",

"devDependencies": {
"@aws-cdk/cdk-build-tools": "2.163.1-alpha.0",
"aws-cdk-lib": "2.163.1",
"@aws-cdk/pkglint": "2.163.1-alpha.0",
"@aws-cdk/cdk-build-tools": "2.164.0-alpha.0",
"aws-cdk-lib": "2.164.0",
"@aws-cdk/pkglint": "2.164.0-alpha.0",
"@types/fs-extra": "^9.0.13",

@@ -74,8 +74,8 @@ "@types/jest": "^29.5.12",

"@aws-cdk/cloud-assembly-schema": "^38.0.0",
"@aws-cdk/cloudformation-diff": "2.163.1",
"@aws-cdk/cx-api": "2.163.1",
"@aws-cdk/cloudformation-diff": "2.164.0",
"@aws-cdk/cx-api": "2.164.0",
"cdk-assets": "^2.154.0",
"@aws-cdk/aws-service-spec": "^0.1.29",
"@aws-cdk/cdk-cli-wrapper": "2.163.1-alpha.0",
"aws-cdk": "2.163.1",
"@aws-cdk/cdk-cli-wrapper": "2.164.0-alpha.0",
"aws-cdk": "2.164.0",
"chalk": "^4",

@@ -88,3 +88,3 @@ "fs-extra": "^9.1.0",

"@aws-cdk/aws-service-spec": "0.1.29",
"aws-cdk": "2.163.1"
"aws-cdk": "2.164.0"
},

@@ -91,0 +91,0 @@ "repository": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc