@aws-cdk/assert
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -27,2 +27,2 @@ "use strict"; | ||
exports.not = not; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXJ0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXNzZXJ0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUE7SUFLSTs7T0FFRztJQUNJLEdBQUcsQ0FBQyxTQUFvQztRQUMzQyxzR0FBc0c7UUFDdEcsT0FBTyxHQUFHLENBQUMsSUFBSSxFQUFFLFNBQVMsQ0FBQyxDQUFDO0lBQ2hDLENBQUM7SUFFTSxhQUFhLENBQUMsU0FBeUI7UUFDMUMsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsU0FBUyxDQUFDLEVBQUU7WUFDOUIsTUFBTSxJQUFJLEtBQUssQ0FBQyxHQUFHLElBQUksQ0FBQyxTQUFTLENBQUMsU0FBUyxDQUFDLEtBQUssRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDLG1CQUFtQixJQUFJLENBQUMsV0FBVyxFQUFFLENBQUMsQ0FBQztTQUNyRztJQUNMLENBQUM7Q0FDSjtBQWxCRCw4QkFrQkM7QUFFRCw4REFBMEQ7QUFFMUQsYUFBa0MsSUFBa0IsRUFBRSxLQUFtQjtJQUNyRSxPQUFPLElBQUksNEJBQVksQ0FBQyxJQUFJLEVBQUUsS0FBSyxDQUFDLENBQUM7QUFDekMsQ0FBQztBQUVELHNFQUFrRTtBQUVsRSxhQUF5QyxTQUF1QjtJQUM1RCxPQUFPLElBQUksb0NBQWdCLENBQUMsU0FBUyxDQUFDLENBQUM7QUFDM0MsQ0FBQztBQUZELGtCQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5zcGVjdG9yIH0gZnJvbSBcIi4vaW5zcGVjdG9yXCI7XG5cbmV4cG9ydC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cik6IGJvb2xlYW4ge1xuICAgICAgICBsZXQgY291bnRlZCA9IDA7XG4gICAgICAgIGZvciAoY29uc3QgbG9naWNhbElkIG9mIE9iamVjdC5rZXlzKGluc3BlY3Rvci52YWx1ZS5SZXNvdXJjZXMgfHwge30pKSB7XG4gICAgICAgICAgICBjb25zdCByZXNvdXJjZSA9IGluc3BlY3Rvci52YWx1ZS5SZXNvdXJjZXNbbG9naWNhbElkXTtcbiAgICAgICAgICAgIGlmIChyZXNvdXJjZS5UeXBlID09PSB0aGlzLnJlc291cmNlVHlwZSkge1xuICAgICAgICAgICAgICAgIGNvdW50ZWQrKztcbiAgICAgICAgICAgICAgICB0aGlzLmluc3BlY3RlZCArPSAxO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGNvdW50ZWQgPT09IHRoaXMuY291bnQ7XG4gICAgfVxuXG4gICAgcHVibGljIGdldCBkZXNjcmlwdGlvbigpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gYHN0YWNrIG9ubHkgaGFzICR7dGhpcy5pbnNwZWN0ZWR9IHJlc291cmNlIG9mIHR5cGUgJHt0aGlzLnJlc291cmNlVHlwZX0gYnV0IHdlIGV4cGVjdGVkIHRvIGZpbmQgJHt0aGlzLmNvdW50fWA7XG4gICAgfVxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY291bnQtcmVzb3VyY2VzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY291bnQtcmVzb3VyY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQXlDO0FBR3pDOztHQUVHO0FBQ0gsU0FBZ0IsY0FBYyxDQUFDLFlBQW9CLEVBQUUsS0FBSyxHQUFHLENBQUM7SUFDMUQsT0FBTyxJQUFJLHVCQUF1QixDQUFDLFlBQVksRUFBRSxLQUFLLENBQUMsQ0FBQztBQUM1RCxD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mVzb3VyY2VUeXBlKSB7XG4gICAgICAgICAgICAgICAgY291bnRlZCsrO1xuICAgICAgICAgICAgICAgIHRoaXMuaW5zcGVjdGVkICs9IDE7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gY291bnRlZCA9PT0gdGhpcy5jb3VudDtcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0IGRlc2NyaXB0aW9uKCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiBgc3RhY2sgb25seSBoYXMgJHt0aGlzLmluc3BlY3RlZH0gcmVzb3VyY2Ugb2YgdHlwZSAke3RoaXMucmVzb3VyY2VUeXBlfSBidXQgd2UgZXhwZWN0ZWQgdG8gZmluZCAke3RoaXMuY291bnR9YDtcbiAgICB9XG59XG4iXX0= |
@@ -17,2 +17,2 @@ "use strict"; | ||
exports.exist = exist; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhpc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJleGlzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDRDQUF5QztBQUd6QywrQkFBZ0MsU0FBUSxxQkFBNkI7SUFHakU7UUFDSSxLQUFLLEVBQUUsQ0FBQztRQUhMLGdCQUFXLEdBQVcsc0JBQXNCLENBQUM7SUFJcEQsQ0FBQztJQUVNLFdBQVcsQ0FBQyxTQUE2QjtRQUM1QyxPQUFPLFNBQVMsQ0FBQyxLQUFLLEtBQUssU0FBUyxDQUFDO0lBQ3pDLENBQUM7Q0FDSjtBQUVEO0lBQ0ksT0FBTyxJQUFJLHlCQUF5QixFQUFFLENBQUM7QUFDM0MsQ0FBQztBQUZELHNCQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQXNzZXJ0aW9uIH0gZnJvbSAnLi4vYXNzZXJ0aW9uJztcbmltcG9ydCB7IFN0YWNrUGF0aEluc3BlY3RvciB9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vcik6IGJvb2xlYW4ge1xuICAgICAgICBmb3IgKGNvbnN0IGxvZ2ljYWxJZCBvZiBPYmplY3Qua2V5cyhpbnNwZWN0b3IudmFsdWUuUmVzb3VyY2VzKSkge1xuICAgICAgICAgICAgY29uc3QgcmVzb3VyY2UgPSBpbnNwZWN0b3IudmFsdWUuUmVzb3VyY2VzW2xvZ2ljYWxJZF07XG4gICAgICAgICAgICBpZiAocmVzb3VyY2UuVHlwZSA9PT0gdGhpcy5yZXNvdXJjZVR5cGUpIHtcbiAgICAgICAgICAgICAgICB0aGlzLmluc3BlY3RlZC5wdXNoKHJlc291cmNlKTtcblxuICAgICAgICAgICAgICAgIGxldCBtYXRjaGVzOiBib29sZWFuO1xuICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgdGhpcy5wcm9wZXJ0aWVzID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIElmICdwcm9wZXJ0aWVzJyBpcyBhIGNhbGxhYmxlLCBpbnZva2UgaXRcbiAgICAgICAgICAgICAgICAgICAgbWF0Y2hlcyA9IHRoaXMucHJvcGVydGllcyhyZXNvdXJjZS5Qcm9wZXJ0aWVzKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAvLyBPdGhlcndpc2UgdHJlYXQgYXMgcHJvcGVydHkgYmFnIHRoYXQgd2UgY2hlY2sgc3VwZXJzZXQgb2ZcbiAgICAgICAgICAgICAgICAgICAgbWF0Y2hlcyA9IGlzU3VwZXJPYmplY3QocmVzb3VyY2UuUHJvcGVydGllcywgdGhpcy5wcm9wZXJ0aWVzKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAobWF0Y2hlcykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICA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opKSB7XG4gICAgICAgIGlmIChvYmoubGVuZ3RoICE9PSBzdXBlck9iai5sZW5ndGgpIHsgcmV0dXJuIGZhbHNlOyB9XG5cbiAgICAgICAgLy8gRG8gaXNTdXBlck9iamVjdCBjb21wYXJpc29uIGZvciBpbmRpdmlkdWFsIG9iamVjdHNcbiAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBvYmoubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgIGlmICghaXNTdXBlck9iamVjdChzdXBlck9ialtpXSwgb2JqW2ldKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG4gICAgaWYgKCh0eXBlb2Ygc3VwZXJPYmogPT09ICdvYmplY3QnKSAhPT0gKHR5cGVvZiBvYmogPT09ICdvYmplY3QnKSkgeyByZXR1cm4gZmFsc2U7IH1cbiAgICBpZiAodHlwZW9mIG9iaiA9PT0gJ29iamVjdCcpIHtcbiAgICAgICAgZm9yIChjb25zdCBrZXkgb2YgT2JqZWN0LmtleXMob2JqKSkge1xuICAgICAgICAgICAgaWYgKCEoa2V5IGluIHN1cGVyT2JqKSkgeyByZXR1cm4gZmFsc2U7IH1cblxuICAgICAgICAgICAgaWYgKCFpc1N1cGVyT2JqZWN0KHN1cGVyT2JqW2tleV0sIG9ialtrZXldKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG4gICAgcmV0dXJuIHN1cGVyT2JqID09PSBvYmo7XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGF2ZS1yZXNvdXJjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhhdmUtcmVzb3VyY2UudHMiXSw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lIHJlYWRvbmx5IHJlc291cmNlVHlwZTogc3RyaW5nLFxuICAgICAgICAgICAgICAgIHByaXZhdGUgcmVhZG9ubHkgcHJvcGVydGllcz86IGFueSkge1xuICAgICAgICBzdXBlcigpO1xuICAgIH1cblxuICAgIHB1YmxpYyBhc3NlcnRVc2luZyhpbnNwZWN0b3I6IFN0YWNrSW5zcGVjdG9yKTogYm9vbGVhbiB7XG4gICAgICAgIGZvciAoY29uc3QgbG9naWNhbElkIG9mIE9iamVjdC5rZXlzKGluc3BlY3Rvci52YWx1ZS5SZXNvdXJjZXMpKSB7XG4gICAgICAgICAgICBjb25zdCByZXNvdXJjZSA9IGluc3BlY3Rvci52YWx1ZS5SZXNvdXJjZXNbbG9naWNhbElkXTtcbiAgICAgICAgICAgIGlmIChyZXNvdXJjZS5UeXBlID09PSB0aGlzLnJlc291cmNlVHlwZSkge1xuICAgICAgICAgICAgICAgIHRoaXMuaW5zcGVjdGVkLnB1c2gocmVzb3VyY2UpO1xuXG4gICAgICAgICAgICAgICAgbGV0IG1hdGNoZXM6IGJvb2xlYW47XG4gICAgICAgICAgICAgICAgaWYgKHR5cGVvZiB0aGlzLnByb3BlcnRpZXMgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gSWYgJ3Byb3BlcnRpZXMnIGlzIGEgY2FsbGFibGUsIGludm9rZSBpdFxuICAgICAgICAgICAgICAgICAgICBtYXRjaGVzID0gdGhpcy5wcm9wZXJ0aWVzKHJlc291cmNlLlByb3BlcnRpZXMpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIE90aGVyd2lzZSB0cmVhdCBhcyBwcm9wZXJ0eSBiYWcgdGhhdCB3ZSBjaGVjayBzdXBlcnNldCBvZlxuICAgICAgICAgICAgICAgICAgICBtYXRjaGVzID0gaXNTdXBlck9iamVjdChyZXNvdXJjZS5Qcm9wZXJ0aWVzLCB0aGlzLnByb3BlcnRpZXMp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iBib29sZWFuIHtcbiAgICBpZiAob2JqID09IG51bGwpIHsgcmV0dXJuIHRydWU7IH1cbiAgICBpZiAoQXJyYXkuaXNBcnJheShzdXBlck9iaikgIT09IEFycmF5LmlzQXJyYXkob2JqKSkgeyByZXR1cm4gZmFsc2U7IH1cbiAgICBpZiAoQXJyYXkuaXNBcnJheShzdXBlck9iaikpIHtcbiAgICAgICAgaWYgKG9iai5sZW5ndGggIT09IHN1cGVyT2JqLmxlbmd0aCkgeyByZXR1cm4gZmFsc2U7IH1cblxuICAgICAgICAvLyBEbyBpc1N1cGVyT2JqZWN0IGNvbXBhcmlzb24gZm9yIGluZGl2aWR1YWwgb2JqZWN0c1xuICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IG9iai5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgaWYgKCFpc1N1cGVyT2JqZWN0KHN1cGVyT2JqW2ldLCBvYmpbaV0pKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cbiAgICBpZiAoKHR5cGVvZiBzdXBlck9iaiA9PT0gJ29iamVjdCcpICE9PSAodHlwZW9mIG9iaiA9PT0gJ29iamVjdCcpKSB7IHJldHVybiBmYWxzZTsgfVxuICAgIGlmICh0eXBlb2Ygb2JqID09PSAnb2JqZWN0Jykge1xuICAgICAgICBmb3IgKGNvbnN0IGtleSBvZiBPYmplY3Qua2V5cyhvYmopKSB7XG4gICAgICAgICAgICBpZiAoIShrZXkgaW4gc3VwZXJPYmopKSB7IHJldHVybiBmYWxzZTsgfVxuXG4gICAgICAgICAgICBpZiAoIWlzU3VwZXJPYmplY3Qoc3VwZXJPYmpba2V5XSwgb2JqW2tleV0pKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgI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gICAgIHJldHVybiBgdGVtcGxhdGUgKCR7dGhpcy5tYXRjaFN0eWxlfSk6ICR7SlNPTi5zdHJpbmdpZnkodGhpcy50ZW1wbGF0ZSwgbnVsbCwgMil9YDtcbiAgICB9XG59XG4iXX0= |
@@ -17,2 +17,2 @@ "use strict"; | ||
exports.NegatedAssertion = NegatedAssertion; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmVnYXRlZC1hc3NlcnRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJuZWdhdGVkLWFzc2VydGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDRDQUF5QztBQUd6QyxzQkFBbUQsU0FBUSxxQkFBWTtJQUNuRSxZQUE2QixPQUFxQjtRQUM5QyxLQUFLLEVBQUUsQ0FBQztRQURpQixZQUFPLEdBQVAsT0FBTyxDQUFjO0lBRWxELENBQUM7SUFFTSxXQUFXLENBQUMsU0FBWTtRQUMzQixPQUFPLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxXQUFXLENBQUMsU0FBUyxDQUFDLENBQUM7SUFDaEQsQ0FBQztJQUVELElBQVcsV0FBVztRQUNsQixPQUFPLE9BQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsQ0FBQztJQUM3QyxDQUFDO0NBQ0o7QUFaRCw0Q0FZQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFzc2VydGlvbiB9IGZyb20gJy4uL2Fzc2VydGlvbic7XG5pbXBvcnQgeyBJbnNwZWN0b3IgfSBmcm9tICcuLi9pbnNwZWN0b3InO1xuXG5leHBvcnQgY2xhc3MgTmVnYXRlZEFzc2VydGlvbjxJIGV4dGVuZHMgSW5zcGVjdG9yPiBleHRlbmRzIEFzc2VydGlvbjxJPiB7XG4gICAgY29uc3RydWN0b3IocHJpdmF0ZSByZWFkb25seSBuZWdhdGVkOiBBc3Nlcn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iBhcGkuU3ludGhlc2l6ZWRTdGFjayA9IGlzU3RhY2tDbGFzc0luc3RhbmNlKHN0YWNrKSA/IHtcbiAgICAgICAgbmFtZTogJ3Rlc3QnLFxuICAgICAgICB0ZW1wbGF0ZTogc3RhY2sudG9DbG91ZEZvcm1hdGlvbigpLFxuICAgICAgICBtZXRhZGF0YToge31cbiAgICB9IDogc3RhY2s7XG5cbiAgICByZXR1cm4gbmV3IFN0YWNrSW5zcGVjdG9yKHNzdGFjayk7XG59XG5cbmZ1bmN0aW9uIGlzU3RhY2tDbGFzc0luc3RhbmNlKHg6IGFwaS5TeW50aGVzaXplZFN0YWNrIHwgY2RrLlN0YWNrKTogeCBpcyBjZGsuU3RhY2sge1xuICAgIHJldHVybiAndG9DbG91ZEZvcm1hdGlvbicgaW4geDtcbn1cbiJdfQ== |
@@ -58,2 +58,2 @@ "use strict"; | ||
exports.StackPathInspector = StackPathInspector; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zcGVjdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5zcGVjdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsMkNBQWtDO0FBQ2xDLGdFQUF3RTtBQUV4RTtJQUdJO1FBQ0ksSUFBSSxDQUFDLFlBQVksR0FBRyxTQUFTLENBQUM7SUFDbEMsQ0FBQztJQUVNLEVBQUUsQ0FBQyxTQUEwQjtRQUNoQyxPQUFPLElBQUksQ0FBQyxZQUFZLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsR0FBRyxFQUFFLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQztZQUM5QyxDQUFDLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNuRCxDQUFDO0lBRU0sS0FBSyxDQUFDLFNBQTBCO1F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cbiAgICAgICAgcmV0dXJuIHRoaXMuc3RhY2sudGVtcGxhdGU7XG4gICAgfVxufVxuXG5leHBvcnQgY2xhc3MgU3RhY2tQYXRoSW5zcGVjdG9yIGV4dGVuZHMgSW5zcGVjdG9yIHtcbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgcmVhZG9ubHkgc3RhY2s6IGFwaS5TeW50aGVzaXplZFN0YWNrLCBwdWJsaWMgcmVhZG9ubHkgcGF0aDogc3RyaW5nKSB7XG4gICAgICAgIHN1cGVyKCk7XG4gICAgfVxuXG4gICAgcHVibGljIGdldCB2YWx1ZSgpOiB7IFtrZXk6IHN0cmluZ106IGFueSB9IHwgdW5kZWZpbmVkIHtcbiAgICAgICAgY29uc3QgbWQgPSB0aGlzLnN0YWNrLm1ldGFkYXRhW2AvJHt0aGlzLnN0YWNrLm5hbWV9JHt0aGlzLnBhdGh9YF07XG4gICAgICAgIGlmIChtZCA9PT0gdW5kZWZpbmVkKSB7IHJldHVybiB1bmRlZmluZWQ7IH1cbiAgICAgICAgY29uc3QgcmVzb3VyY2VNZCA9IG1kLmZpbmQoZW50cnkgPT4gZW50cnkudHlwZSA9PT0gJ2F3czpjZGs6bG9naWNhbElkJyk7XG4gICAgICAgIGlmIChyZXNvdXJjZU1kID09PSB1bmRlZmluZWQpIHsgcmV0dXJuIHVuZGVmaW5lZDsgfVxuICAgICAgICBjb25zdCBsb2dpY2FsSWQgPSByZXNvdXJjZU1kLmRhdGE7XG4gICAgICAgIHJldHVybiB0aGlzLnN0YWNrLnRlbXBsYXRlLlJlc291cmNlc1tsb2dpY2FsSWRdO1xuICAgIH1cbn1cbiJdfQ== |
{ | ||
"name": "@aws-cdk/assert", | ||
"version": "0.8.0+bb95676", | ||
"version": "0.8.1", | ||
"description": "An assertion library for use with CDK Apps", | ||
@@ -12,3 +12,4 @@ "main": "lib/index.js", | ||
"test": "cdk-test", | ||
"pkglint": "pkglint -f" | ||
"pkglint": "pkglint -f", | ||
"package": "cdk-package" | ||
}, | ||
@@ -21,17 +22,18 @@ "nyc": { | ||
"name": "Amazon Web Services", | ||
"url": "https://aws.amazon.com" | ||
"url": "https://aws.amazon.com", | ||
"organization": true | ||
}, | ||
"license": "Apache-2.0", | ||
"devDependencies": { | ||
"cdk-build-tools": "^0.8.0+bb95676", | ||
"pkglint": "^0.8.0+bb95676" | ||
"cdk-build-tools": "^0.8.1", | ||
"pkglint": "^0.8.1" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.8.0+bb95676", | ||
"@aws-cdk/cloudformation-diff": "^0.8.0+bb95676", | ||
"@aws-cdk/cx-api": "^0.8.0+bb95676", | ||
"@aws-cdk/cdk": "^0.8.1", | ||
"@aws-cdk/cloudformation-diff": "^0.8.1", | ||
"@aws-cdk/cx-api": "^0.8.1", | ||
"source-map-support": "^0.5.6" | ||
}, | ||
"repository": { | ||
"url": "git://github.com/awslabs/aws-cdk", | ||
"url": "https://github.com/awslabs/aws-cdk.git", | ||
"type": "git" | ||
@@ -42,3 +44,4 @@ }, | ||
"cdk" | ||
] | ||
], | ||
"homepage": "https://github.com/awslabs/aws-cdk" | ||
} |
@@ -166,2 +166,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5hc3NlcnRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsidGVzdC5hc3NlcnRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsdUNBQXFDO0FBRXJDLG9DQUFxQztBQUlyQyxzQ0FBcUM7QUFDckMsd0NBQWtHO0FBRWxHLGNBQWMsQ0FBQyxtREFBbUQsRUFBRSxHQUFHLEVBQUU7SUFDckUsTUFBTSxZQUFZLEdBQUcsZ0JBQWdCLENBQUM7SUFDdEMsTUFBTSxVQUFVLEdBQUcsZ0JBQWdCLENBQUMsS0FBSyxDQUFDLEVBQUU7UUFDeEMsSUFBSSxZQU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VudCwgbmFtZSwgcHJvcHMpO1xuICAgIH1cbn1cbiJdfQ== |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
93722
1
29
Updated@aws-cdk/cdk@^0.8.1
Updated@aws-cdk/cx-api@^0.8.1