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.165.0-alpha.0 to 2.166.0-alpha.0

2

lib/cli.d.ts
export declare function parseCliArgs(args?: string[]): {
tests: string[] | undefined;
app: string | undefined;
app: (string | undefined);
testRegex: string[] | undefined;

@@ -5,0 +5,0 @@ testRegions: string[];

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cli = exports.main = exports.parseCliArgs = void 0;
exports.parseCliArgs = parseCliArgs;
exports.main = main;
exports.cli = cli;
// Exercise all integ stacks and if they deploy, update the expected synth files

@@ -96,3 +98,2 @@ const fs = require("fs");

}
exports.parseCliArgs = parseCliArgs;
async function main(args) {

@@ -196,3 +197,2 @@ const options = parseCliArgs(args);

}
exports.main = main;
function validateWatchArgs(args) {

@@ -261,3 +261,2 @@ if (args.watch) {

}
exports.cli = cli;
/**

@@ -280,2 +279,2 @@ * Read CLI options from a config file if provided.

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGdGQUFnRjtBQUNoRix5QkFBeUI7QUFDekIsNkJBQTZCO0FBQzdCLCtCQUErQjtBQUMvQix5Q0FBeUM7QUFDekMsbUNBQW1DO0FBQ25DLGtFQUF3RjtBQUN4Rix1Q0FBZ0k7QUFDaEkscUVBQW9FO0FBRXBFLDZDQUE2QztBQUM3QywrQ0FBK0M7QUFDL0MsaUVBQWlFO0FBQ2pFLE1BQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUUvQixTQUFnQix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"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WorkList = exports.chunks = exports.chain = exports.flatten = exports.exec = void 0;
exports.WorkList = void 0;
exports.exec = exec;
exports.flatten = flatten;
exports.chain = chain;
exports.chunks = chunks;
// Helper functions for CDK Exec

@@ -30,3 +34,2 @@ const child_process_1 = require("child_process");

}
exports.exec = exec;
/**

@@ -38,3 +41,2 @@ * Flatten a list of lists into a list of elements

}
exports.flatten = flatten;
/**

@@ -46,3 +48,2 @@ * Chain commands

}
exports.chain = chain;
/**

@@ -55,3 +56,2 @@ * Split command to chunks by space

}
exports.chunks = chunks;
/**

@@ -97,2 +97,2 @@ * A class holding a set of items which are being crossed off in time

exports.WorkList = WorkList;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ1dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxnQ0FBZ0M7QUFDaEMsaURBQTBDO0FBRTFDOztHQUVHO0FBQ0gsU0FBZ0IsSUFBSSxDQUFDLFdBQXFCLEVBQUUsVUFBMEQsRUFBRztJQUN2RyxNQUFNLElBQUksR0FBRyxJQUFBLHlCQUFTLEVBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxFQUFFLFdBQVcsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUU7UUFDM0QsS0FBSyxFQUFFLENBQUMsUUFBUSxFQUFFLE1BQU0sRUFBRSxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxFQUFFLGlDQUFpQztRQUNsRyxHQUFHLEVBQUU7WUFDSCxHQUFHLE9BQU8sQ0FBQyxHQUFHO1lBQ2QsR0FBRyxPQUFPLENBQUMsR0FBRztTQUNmO1FBQ0QsR0FBRyxFQUFFLE9BQU8sQ0FBQyxHQ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nNjaGVkdWxlVGltZXIoKTtcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgZG9uZSgpIHtcbiAgICB0aGlzLnJlbWFpbmluZy5jbGVhcigpO1xuICAgIHRoaXMuc3RvcFRpbWVyKCk7XG4gIH1cblxuICBwcml2YXRlIHN0b3BUaW1lcigpIHtcbiAgICBpZiAodGhpcy50aW1lcikge1xuICAgICAgY2xlYXJUaW1lb3V0KHRoaXMudGltZXIpO1xuICAgICAgdGhpcy50aW1lciA9IHVuZGVmaW5lZDtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIHNjaGVkdWxlVGltZXIoKSB7XG4gICAgdGhpcy50aW1lciA9IHNldFRpbWVvdXQoKCkgPT4gdGhpcy5yZXBvcnQoKSwgdGhpcy50aW1lb3V0KTtcbiAgfVxuXG4gIHByaXZhdGUgcmVwb3J0KCkge1xuICAgIHRoaXMub3B0aW9ucy5vblRpbWVvdXQ/Lih0aGlzLnJlbWFpbmluZyk7XG4gIH1cbn1cblxuZXhwb3J0IGludGVyZmFjZSBXb3JrTGlzdE9wdGlvbnM8QT4ge1xuICAvKipcbiAgICogV2hlbiB0byByZXBseSB3aXRoIHJlbWFpbmluZyBpdGVtc1xuICAgKlxuICAgKiBAZGVmYXVsdCA2MDAwMFxuICAgKi9cbiAgcmVhZG9ubHkgdGltZW91dD86IG51bWJlcjtcblxuICAvKipcbiAgICogRnVuY3Rpb24gdG8gY2FsbCB3aGVuIHRpbWVvdXQgaGl0c1xuICAgKi9cbiAgcmVhZG9ubHkgb25UaW1lb3V0PzogKHg6IFNldDxBPikgPT4gdm9pZDtcbn0iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ1dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFNQSxvQkFxQkM7QUFLRCwwQkFFQztBQUtELHNCQUVDO0FBS0Qsd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KipcbiAgICogV2hlbiB0byByZXBseSB3aXRoIHJlbWFpbmluZyBpdGVtc1xuICAgKlxuICAgKiBAZGVmYXVsdCA2MDAwMFxuICAgKi9cbiAgcmVhZG9ubHkgdGltZW91dD86IG51bWJlcjtcblxuICAvKipcbiAgICogRnVuY3Rpb24gdG8gY2FsbCB3aGVuIHRpbWVvdXQgaGl0c1xuICAgKi9cbiAgcmVhZG9ubHkgb25UaW1lb3V0PzogKHg6IFNldDxBPikgPT4gdm9pZDtcbn0iXX0=
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.printLaggards = exports.printResults = exports.formatAssertionResults = exports.printSummary = exports.DiagnosticReason = void 0;
exports.DiagnosticReason = void 0;
exports.printSummary = printSummary;
exports.formatAssertionResults = formatAssertionResults;
exports.printResults = printResults;
exports.printLaggards = printLaggards;
const util_1 = require("util");

@@ -55,3 +59,2 @@ const chalk = require("chalk");

}
exports.printSummary = printSummary;
/**

@@ -66,3 +69,2 @@ * Format the assertion results so that the results can be

}
exports.formatAssertionResults = formatAssertionResults;
/**

@@ -101,3 +103,2 @@ * Print out the results from tests

}
exports.printResults = printResults;
function printLaggards(testNames) {

@@ -111,3 +112,2 @@ const parts = [

}
exports.printLaggards = printLaggards;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY29tbW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLCtCQUE4QjtBQUU5QiwrQkFBK0I7QUFDL0Isb0NBQW9DO0FBeUtwQzs7R0FFRztBQUNILElBQVksZ0JBMENYO0FBMUNELFdBQVksZ0JBQWdCO0lBQzFCOzs7T0FHRztJQUNILCtDQUEyQixDQUFBO0lBRTNCOztPQUVHO0lBQ0gsK0NBQTJCLENBQUE7SUFFM0I7O09BRUc7SUFDSCw2Q0FBeUIsQ0FBQTtJQUV6Qjs7O09BR0c7S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uc2l6ZX0gbW9yZWAsXG4gICAgdGVzdE5hbWVzLnNpemUgPCAxMCA/IFsnKCcsIEFycmF5LmZyb20odGVzdE5hbWVzKS5qb2luKCcsICcpLCAnKSddLmpvaW4oJycpIDogJycsXG4gIF07XG5cbiAgbG9nZ2VyLnByaW50KGNoYWxrLmdyZXkocGFydHMuZmlsdGVyKHggPT4geCkuam9pbignICcpKSk7XG59XG4iXX0=
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.snapshotTestWorker = exports.watchTestWorker = exports.integTestWorker = void 0;
exports.integTestWorker = integTestWorker;
exports.watchTestWorker = watchTestWorker;
exports.snapshotTestWorker = snapshotTestWorker;
const workerpool = require("workerpool");

@@ -90,3 +92,2 @@ const runner_1 = require("../../runner");

}
exports.integTestWorker = integTestWorker;
async function watchTestWorker(options) {

@@ -117,3 +118,2 @@ var _a, _b;

}
exports.watchTestWorker = watchTestWorker;
/**

@@ -184,3 +184,2 @@ * Runs a single snapshot test batch request.

}
exports.snapshotTestWorker = snapshotTestWorker;
workerpool.worker({

@@ -191,2 +190,2 @@ snapshotTestWorker,

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0cmFjdF93b3JrZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJleHRyYWN0X3dvcmtlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5Q0FBeUM7QUFDekMseUNBQW9FO0FBQ3BFLHNFQUEwRTtBQUMxRSxzQ0FBcUk7QUFJckk7Ozs7Ozs7R0FPRztBQUNILFNBQWdCLGVBQWUsQ0FBQyxPQUE4Qjs7SUFDNUQsTUFBTSxRQUFRLEdBQW9CLEVBQUUsQ0FBQztJQUNyQyxNQUFNLFNBQVMsR0FBRyxNQUFBLE9BQU8sQ0FBQyxTQUFTLG1DQUFJLENBQUMsQ0FBQztJQUV6QyxLQUFLLE1BQU0sUUFBUSxJQUFJLE9BQU8s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iamVjdC52YWx1ZXMocmVzdWx0cykuc29tZShyZXN1bHQgPT4gcmVzdWx0LnN0YXR1cyA9PT0gJ2ZhaWwnKSkge1xuICAgICAgICAgICAgZmFpbHVyZXMucHVzaCh0ZXN0SW5mbyk7XG4gICAgICAgICAgICB3b3JrZXJwb29sLndvcmtlckVtaXQoe1xuICAgICAgICAgICAgICByZWFzb246IERpYWdub3N0aWNSZWFzb24uQVNTRVJUSU9OX0ZBSUxFRCxcbiAgICAgICAgICAgICAgdGVzdE5hbWU6IGAke3J1bm5lci50ZXN0TmFtZX0tJHt0ZXN0Q2FzZU5hbWV9ICgke3JlcXVlc3QucHJvZmlsZX0vJHtyZXF1ZXN0LnJlZ2lvbn0pYCxcbiAgICAgICAgICAgICAgbWVzc2FnZTogZm9ybWF0QXNzZXJ0aW9uUmVzdWx0cyhyZXN1bHRzKSxcbiAgICAgICAgICAgICAgZHVyYXRpb246IChEYXRlLm5vdygpIC0gc3RhcnQpIC8gMTAwMCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB3b3JrZXJwb29sLndvcmtlckVtaXQoe1xuICAgICAgICAgICAgICByZWFzb246IERpYWdub3N0aWNSZWFzb24uVEVTVF9TVUNDRVNTLFxuICAgICAgICAgICAgICB0ZXN0TmFtZTogYCR7cnVubmVyLnRlc3ROYW1lfS0ke3Rlc3RDYXNlTmFtZX1gLFxuICAgICAgICAgICAgICBtZXNzYWdlOiByZXN1bHRzID8gZm9ybWF0QXNzZXJ0aW9uUmVzdWx0cyhyZXN1bHRzKSA6ICdOTyBBU1NFUlRJT05TJyxcbiAgICAgICAgICAgICAgZHVyYXRpb246IChEYXRlLm5vdygpIC0gc3RhcnQpIC8gMTAwMCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgIGZhaWx1cmVzLnB1c2godGVzdEluZm8pO1xuICAgICAgICAgIHdvcm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mtlckVtaXQoe1xuICAgICAgICAgICAgICByZWFzb246IERpYWdub3N0aWNSZWFzb24uQVNTRVJUSU9OX0ZBSUxFRCxcbiAgICAgICAgICAgICAgdGVzdE5hbWU6IGAke3J1bm5lci50ZXN0TmFtZX0tJHt0ZXN0Q2FzZU5hbWV9ICgke3JlcXVlc3QucHJvZmlsZX0vJHtyZXF1ZXN0LnJlZ2lvbn0pYCxcbiAgICAgICAgICAgICAgbWVzc2FnZTogZm9ybWF0QXNzZXJ0aW9uUmVzdWx0cyhyZXN1bHRzKSxcbiAgICAgICAgICAgICAgZHVyYXRpb246IChEYXRlLm5vdygpIC0gc3RhcnQpIC8gMTAwMCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB3b3JrZXJwb29sLndvcmtlckVtaXQoe1xuICAgICAgICAgICAgICByZWFzb246IERpYWdub3N0aWNSZWFzb24uVEVTVF9TVUNDRVNTLFxuICAgICAgICAgICAgICB0ZXN0TmFtZTogYCR7cnVubmVyLnRlc3ROYW1lfS0ke3Rlc3RDYXNlTmFtZX1gLFxuICAgICAgICAgICAgICBtZXNzYWdlOiByZXN1bHRzID8gZm9ybWF0QXNzZXJ0aW9uUmVzdWx0cyhyZXN1bHRzKSA6ICdOTyBBU1NFUlRJT05TJyxcbiAgICAgICAgICAgICAgZHVyYXRpb246IChEYXRlLm5vdygpIC0gc3RhcnQpIC8gMTAwMCxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgIGZhaWx1cmVzLnB1c2godGVzdEluZm8pO1xuICAgICAgICAgIHdvcmtlcnBvb2wud29ya2VyRW1pdCh7XG4gICAgICAgICAgICByZWFzb246IERpYWdub3N0aWNSZWFzb24uVEVTVF9GQUlMRUQsXG4gICAgICAgICAgICB0ZXN0TmFtZTogYCR7cnVubmVyLnRlc3ROYW1lfS0ke3Rlc3RDYXNlTmFtZX0gKC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gMTAwMCxcbiAgICB9IGFzIERpYWdub3N0aWMpO1xuICB9IGZpbmFsbHkge1xuICAgIGNsZWFyVGltZW91dCh0aW1lcik7XG4gIH1cblxuICByZXR1cm4gZmFpbGVkVGVzdHM7XG59XG5cbndvcmtlcnBvb2wud29ya2VyKHtcbiAgc25hcHNob3RUZXN0V29ya2VyLFxuICBpbnRlZ1Rlc3RXb3JrZXIsXG4gIHdhdGNoVGVzdFdvcmtlcixcbn0pO1xuIl19
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.runSnapshotTests = void 0;
exports.runSnapshotTests = runSnapshotTests;
const common_1 = require("./common");

@@ -31,3 +31,2 @@ const logger = require("../logger");

}
exports.runSnapshotTests = runSnapshotTests;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWctc25hcHNob3Qtd29ya2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW50ZWctc25hcHNob3Qtd29ya2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHFDQUF5SDtBQUN6SCxvQ0FBb0M7QUFFcEMsb0NBQTZDO0FBRTdDOzs7O0dBSUc7QUFDSSxLQUFLLFVBQVUsZ0JBQWdCLENBQ3BDLElBQTJCLEVBQzNCLEtBQWtCLEVBQ2xCLE9BQW9DO0lBRXBDLE1BQU0sQ0FBQyxTQUFTLENBQUMsNkNBQTZDLENBQUMsQ0FBQztJQUVoRSxNQUFNLElBQUksR0FBRyxJQUFJLGdCQUFRLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUMsRUFBRTtRQUNwRCxTQUFTLEVBQUUsc0JBQWE7S0FDekIsQ0FBQyxDQUFDO0lBRUgscUNBQXFDO0lBQ3JDLHdFQUF3RTtJQUN4RSxNQUFNLFdBQVcsR0FBOEIsTUFBTSxPQUFPLENBQ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Q29uZmlnW11bXSA9IGF3YWl0IFByb21pc2UuYWxsKFxuICAgIHRlc3RzLm1hcCgodGVzdCkgPT4gcG9vbC5leGVjKCdzbmFwc2hvdFRlc3RXb3JrZXInLCBbdGVzdC5pbmZvIC8qIERlaHlkcmF0ZSBjbGFzcyAtPiBkYXRhICovLCBvcHRpb25zXSwge1xuICAgICAgb246ICh4KSA9PiB7XG4gICAgICAgIHRvZG8uY3Jvc3NPZmYoeC50ZXN0TmFtZSk7XG4gICAgICAgIHByaW50UmVzdWx0cyh4KTtcbiAgICAgIH0sXG4gICAgfSkpLFxuICApO1xuICB0b2RvLmRvbmUoKTtcbiAgY29uc3QgdGVzdHNUb1J1biA9IGZsYXR0ZW4oZmFpbGVkVGVzdHMpO1xuXG4gIGxvZ2dlci5oaWdobGlnaHQoJ1xcblNuYXBzaG90IFJlc3VsdHM6IFxcbicpO1xuICBwcmludFN1bW1hcnkodGVzdHMubGVuZ3RoLCB0ZXN0c1RvUnVuLmxlbmd0aCk7XG4gIHJldHVybiB0ZXN0c1RvUnVuO1xuXG59XG4iXX0=
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.runIntegrationTestsInParallel = exports.runIntegrationTests = void 0;
exports.runIntegrationTests = runIntegrationTests;
exports.runIntegrationTestsInParallel = runIntegrationTestsInParallel;
const common_1 = require("./common");

@@ -22,3 +23,2 @@ const logger = require("../logger");

}
exports.runIntegrationTests = runIntegrationTests;
/**

@@ -100,3 +100,2 @@ * Returns a list of AccountWorkers based on the list of regions and profiles

}
exports.runIntegrationTestsInParallel = runIntegrationTestsInParallel;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWctdGVzdC13b3JrZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbnRlZy10ZXN0LXdvcmtlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSxxQ0FBZ0g7QUFDaEgsb0NBQW9DO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dHMuZmFpbGVkVGVzdHMucHVzaCguLi5mbGF0dGVuKHJlc3BvbnNlKSk7XG4gICAgICB0ZXN0c1t0ZXN0LmZpbGVOYW1lXSA9IChEYXRlLm5vdygpIC0gdGVzdFN0YXJ0KSAvIDEwMDA7XG4gICAgfSB3aGlsZSAocXVldWUubGVuZ3RoID4gMCk7XG4gICAgY29uc3QgbWV0cmljczogSW50ZWdSdW5uZXJNZXRyaWNzID0ge1xuICAgICAgcmVnaW9uOiB3b3JrZXIucmVnaW9uLFxuICAgICAgcHJvZmlsZTogd29ya2VyLnByb2ZpbGUsXG4gICAgICBkdXJhdGlvbjogKERhdGUubm93KCkgLSBzdGFydCkgLyAxMDAwLFxuICAgICAgdGVzdHMsXG4gICAgfTtcbiAgICBpZiAoT2JqZWN0LmtleXModGVzdHMpLmxlbmd0aCA+IDApIHtcbiAgICAgIHJlc3VsdHMubWV0cmljcy5wdXNoKG1ldHJpY3MpO1xuICAgIH1cbiAgfVxuXG4gIGNvbnN0IHdvcmtlcnMgPSBhY2NvdW50V29ya2Vycy5tYXAoKHdvcmtlcikgPT4gcnVuVGVzdCh3b3JrZXIpKTtcbiAgLy8gV29ya2VycyBhcmUgdGhlaXIgb3duIGNvbmN1cnJlbmN5IGxpbWl0c1xuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQGNka2xhYnMvcHJvbWlzZWFsbC1uby11bmJvdW5kZWQtcGFyYWxsZWxpc21cbiAgYXdhaXQgUHJvbWlzZS5hbGwod29ya2Vycyk7XG4gIHJldHVybiByZXN1bHRzO1xufVxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWctdGVzdC13b3JrZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbnRlZy10ZXN0LXdvcmtlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQThDQSxrREFlQztBQWlERCxzRUFtREM7QUFoS0QscUNBQ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kpO1xuICAgICAgdGVzdHNbdGVzdC5maWxlTmFtZV0gPSAoRGF0ZS5ub3coKSAtIHRlc3RTdGFydCkgLyAxMDAwO1xuICAgIH0gd2hpbGUgKHF1ZXVlLmxlbmd0aCA+IDApO1xuICAgIGNvbnN0IG1ldHJpY3M6IEludGVnUnVubmVyTWV0cmljcyA9IHtcbiAgICAgIHJlZ2lvbjogd29ya2VyLnJlZ2lvbixcbiAgICAgIHByb2ZpbGU6IHdvcmtlci5wcm9maWxlLFxuICAgICAgZHVyYXRpb246IChEYXRlLm5vdygpIC0gc3RhcnQpIC8gMTAwMCxcbiAgICAgIHRlc3RzLFxuICAgIH07XG4gICAgaWYgKE9iamVjdC5rZXlzKHRlc3RzKS5sZW5ndGggPiAwKSB7XG4gICAgICByZXN1bHRzLm1ldHJpY3MucHVzaChtZXRyaWNzKTtcbiAgICB9XG4gIH1cblxuICBjb25zdCB3b3JrZXJzID0gYWNjb3VudFdvcmtlcnMubWFwKCh3b3JrZXIpID0+IHJ1blRlc3Qod29ya2VyKSk7XG4gIC8vIFdvcmtlcnMgYXJlIHRoZWlyIG93biBjb25jdXJyZW5jeSBsaW1pdHNcbiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEBjZGtsYWJzL3Byb21pc2VhbGwtbm8tdW5ib3VuZGVkLXBhcmFsbGVsaXNtXG4gIGF3YWl0IFByb21pc2UuYWxsKHdvcmtlcnMpO1xuICByZXR1cm4gcmVzdWx0cztcbn1cbiJdfQ==
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.watchIntegrationTest = void 0;
exports.watchIntegrationTest = watchIntegrationTest;
const common_1 = require("./common");

@@ -10,3 +10,2 @@ async function watchIntegrationTest(pool, options) {

}
exports.watchIntegrationTest = watchIntegrationTest;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZWctd2F0Y2gtd29ya2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiO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"version": "2.166.0-alpha.0",
"main": "lib/index.js",

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

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

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

"@aws-cdk/cloud-assembly-schema": "^38.0.1",
"@aws-cdk/cloudformation-diff": "2.165.0",
"@aws-cdk/cx-api": "2.165.0",
"cdk-assets": "^2.155.17",
"@aws-cdk/aws-service-spec": "^0.1.30",
"@aws-cdk/cdk-cli-wrapper": "2.165.0-alpha.0",
"aws-cdk": "2.165.0",
"@aws-cdk/cloudformation-diff": "2.166.0",
"@aws-cdk/cx-api": "2.166.0",
"cdk-assets": "^2.155.20",
"@aws-cdk/aws-service-spec": "^0.1.31",
"@aws-cdk/cdk-cli-wrapper": "2.166.0-alpha.0",
"aws-cdk": "2.166.0",
"chalk": "^4",

@@ -87,4 +87,4 @@ "fs-extra": "^9.1.0",

"dependencies": {
"@aws-cdk/aws-service-spec": "0.1.30",
"aws-cdk": "2.165.0"
"@aws-cdk/aws-service-spec": "0.1.31",
"aws-cdk": "2.166.0"
},

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

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