@aws-cdk/cdk
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -21,8 +21,12 @@ import { IConstruct } from "./construct"; | ||
/** | ||
* Returns true if obj is a token (i.e. has the resolve() method or is a string | ||
* that includes token markers), or it's a listifictaion of a Token string. | ||
* @deprecated use `Token.isToken` | ||
*/ | ||
static unresolved(obj: any): boolean; | ||
/** | ||
* Returns true if obj is a token (i.e. has the resolve() method or is a | ||
* string or array which includes token markers). | ||
* | ||
* @param obj The object to test. | ||
*/ | ||
static unresolved(obj: any): boolean; | ||
static isToken(obj: any): boolean; | ||
private tokenStringification?; | ||
@@ -29,0 +33,0 @@ private tokenListification?; |
@@ -45,8 +45,14 @@ "use strict"; | ||
/** | ||
* Returns true if obj is a token (i.e. has the resolve() method or is a string | ||
* that includes token markers), or it's a listifictaion of a Token string. | ||
* @deprecated use `Token.isToken` | ||
*/ | ||
static unresolved(obj) { | ||
return unresolved_1.unresolved(obj); | ||
} | ||
/** | ||
* Returns true if obj is a token (i.e. has the resolve() method or is a | ||
* string or array which includes token markers). | ||
* | ||
* @param obj The object to test. | ||
*/ | ||
static unresolved(obj) { | ||
static isToken(obj) { | ||
return unresolved_1.unresolved(obj); | ||
@@ -128,2 +134,2 @@ } | ||
exports.isResolvedValuePostProcessor = isResolvedValuePostProcessor; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0b2tlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLHlDQUF1QztBQUN2Qyw2Q0FBMEM7QUFFMUM7OztHQUdHO0FBQ1UsUUFBQSxjQUFjLEdBQUcsU0FBUyxDQUFDO0FBRXhDOzs7Ozs7Ozs7R0FTRztBQUNILE1BQWEsS0FBSztJQWNoQjs7Ozs7Ozs7Ozs7Ozs7Ozs7O09Ba0JHO0lBQ0gsWUFBNkIsZUFBcUIsRUFBbUIsV0F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hcHBlbmVkXG4gICAqL1xuICBwb3N0UHJvY2VzcyhpbnB1dDogYW55LCBjb250ZXh0OiBSZXNvbHZlQ29udGV4dCk6IGFueTtcbn1cblxuLyoqXG4gKiBXaGV0aGVyIHRoZSBnaXZlbiBvYmplY3QgaXMgYW4gYElSZXNvbHZlZFZhbHVlUG9zdFByb2Nlc3NvcmBcbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGlzUmVzb2x2ZWRWYWx1ZVBvc3RQcm9jZXNzb3IoeDogYW55KTogeCBpcyBJUmVzb2x2ZWRWYWx1ZVBvc3RQcm9jZXNzb3Ige1xuICByZXR1cm4geC5wb3N0UHJvY2VzcyAhPT0gdW5kZWZpbmVkO1xufSJdfQ== |
{ | ||
"name": "@aws-cdk/cdk", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "AWS Cloud Development Kit Core Library", | ||
@@ -23,3 +23,2 @@ "main": "lib/index.js", | ||
}, | ||
"sphinx": {}, | ||
"python": { | ||
@@ -71,14 +70,14 @@ "distName": "aws-cdk.cdk", | ||
"@types/lodash": "^4.14.123", | ||
"cdk-build-tools": "^0.30.0", | ||
"cfn2ts": "^0.30.0", | ||
"cdk-build-tools": "^0.31.0", | ||
"cfn2ts": "^0.31.0", | ||
"fast-check": "^1.14.0", | ||
"lodash": "^4.17.11", | ||
"pkglint": "^0.30.0" | ||
"pkglint": "^0.31.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cx-api": "^0.30.0" | ||
"@aws-cdk/cx-api": "^0.31.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/cx-api": "^0.30.0" | ||
"@aws-cdk/cx-api": "^0.31.0" | ||
}, | ||
@@ -85,0 +84,0 @@ "engines": { |
@@ -35,3 +35,13 @@ "use strict"; | ||
module.exports = nodeunit.testCase({ | ||
FnJoin: { | ||
'eager resolution for non-tokens': { | ||
'Fn.select'(test) { | ||
test.deepEqual(lib_1.Fn.select(2, ['hello', 'you', 'dude']), 'dude'); | ||
test.done(); | ||
}, | ||
'Fn.split'(test) { | ||
test.deepEqual(lib_1.Fn.split(':', 'hello:world:yeah'), ['hello', 'world', 'yeah']); | ||
test.done(); | ||
} | ||
}, | ||
'FnJoin': { | ||
'rejects empty list of arguments to join'(test) { | ||
@@ -88,2 +98,2 @@ test.throws(() => lib_1.Fn.join('.', [])); | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5mbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QuZm4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLGlDQUFrQztBQUNsQyw0QkFBNkI7QUFDN0IscUNBQXNDO0FBQ3RDLGdDQUEwQztBQUUxQyxTQUFTLFNBQVMsQ0FBQyxFQUEwQztJQUMzRCxPQUFPLEtBQUssRUFBRSxJQUFtQixFQUFFLEVBQUU7UUFDbkMsSUFBSSxLQUFZLENBQUM7UUFDakIsSUFBSTtZQUNGLE1BQU0sRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDO1NBQ2hCO1FBQUMsT0FBTyxDQUFDLEVBQUU7WUFDVixLQUFLLEdBQUcsQ0FBQyxDQUFDO1NBQ1g7Z0JBQVM7WUFDUixJQUFJLENBQUMsWUFBWSxDQUFDLEdBQUcsRUFBRTtnQkFDckIsSUFBSSxLQUFLLEVBQUU7b0JBQUUsTUFBTSxLQUFLLENBQUM7aUJBQUU7WUFDN0IsQ0FBQyxDQUFDLENBQUM7WUFDSCxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7U0FDYjtJQUNILENBQUMsQ0FBQztBQUNKLENBQUM7QUFFRCxNQUFNLGNBQWMsR0FBRyxFQUFFLENBQUMsTUFBTSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQztBQUN4QyxNQUFNLFFBQVEsR0FBRyxFQUFFLENBQUMsS0FB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MgKCkgPT4ge1xuICAgICAgY29uc3Qgc3RhY2sgPSBuZXcgU3RhY2soKTtcbiAgICAgIGF3YWl0IGZjLmFzc2VydChcbiAgICAgICAgZmMucHJvcGVydHkoXG4gICAgICAgICAgZmMuc3RyaW5nKCksIGZjLmFycmF5KGFueVZhbHVlKSxcbiAgICAgICAgICAgICAgICAgICAgICBmYy5hcnJheShhbnlWYWx1ZSwgMSwgMyksXG4gICAgICAgICAgICAgICAgICAgICAgZmMuYXJyYXkoYW55VmFsdWUpLFxuICAgICAgICAgIChkZWxpbWl0ZXIsIHByZWZpeCwgbmVzdGVkLCBzdWZmaXgpID0+XG4gICAgICAgICAgICAvLyBHb25uYSB0ZXN0XG4gICAgICAgICAgICBfLmlzRXF1YWwoc3RhY2subm9kZS5yZXNvbHZlKEZuLmpvaW4oZGVsaW1pdGVyLCBbLi4ucHJlZml4LCBGbi5qb2luKGRlbGltaXRlciwgbmVzdGVkKSwgLi4uc3VmZml4XSkpLFxuICAgICAgICAgICAgICAgICAgICAgIHN0YWNrLm5vZGUucmVzb2x2ZShGbi5qb2luKGRlbGltaXRlciwgWy4uLnByZWZpeCwgLi4ubmVzdGVkLCAuLi5zdWZmaXhdKSkpXG4gICAgICAgICksXG4gICAgICAgIHsgdmVyYm9zZTogdHJ1ZSB9XG4gICAgICApO1xuICAgIH0pLFxuICAgICdkb2VzIG5vdCBmbGF0dGVuIGpvaW5zIG5lc3RlZCB1bmRlciBqb2lucyB3aXRoIGRpZmZlcmVudCBkZWxpbWl0ZXInOiBhc3luY1Rlc3QoYXN5bmMgKCkgPT4ge1xuICAgICAgY29uc3Qgc3RhY2sgPSBuZXcgU3RhY2soKTtcbiAgICAgIGF3YWl0IGZjLmFzc2VydChcbiAgICAgICAgZmMucHJvcGVydHkoXG4gICAgICAgICAgZmMuc3RyaW5nKCksIGZjLnN0cmluZygpLFxuICAgICAgICAgIGZjLmFycmF5KGFueVZhbHVlLCAxLCAzKSxcbiAgICAgICAgICBmYy5hcnJheS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1pdGVyMiwgc3RyaW5nTGlzdFRva2VuKG5lc3RlZCkpLCAuLi5zdWZmaXhdKTtcbiAgICAgICAgICAgIGNvbnN0IHJlc29sdmVkID0gc3RhY2subm9kZS5yZXNvbHZlKGpvaW4pO1xuICAgICAgICAgICAgcmV0dXJuIHJlc29sdmVkWydGbjo6Sm9pbiddWzFdLmZpbmQoKGU6IGFueSkgPT4gdHlwZW9mIGUgPT09ICdvYmplY3QnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICYmICgnRm46OkpvaW4nIGluIGUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICYmIGVbJ0ZuOjpKb2luJ11bMF0gPT09IGRlbGltaXRlcjIpICE9IG51bGw7XG4gICAgICAgICAgfVxuICAgICAgICApLFxuICAgICAgICB7IHZlcmJvc2U6IHRydWUgfVxuICAgICAgKTtcbiAgICB9KSxcbiAgfSxcbn0pO1xuXG5mdW5jdGlvbiBzdHJpbmdMaXN0VG9rZW4obzogYW55KTogc3RyaW5nW10ge1xuICByZXR1cm4gbmV3IFRva2VuKG8pLnRvTGlzdCgpO1xufVxuZnVuY3Rpb24gc3RyaW5nVG9rZW4obzogYW55KTogc3RyaW5nIHtcbiAgcmV0dXJuIG5ldyBUb2tlbihvKS50b1N0cmluZygpO1xufVxuIl19 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
1722570
12861
+ Added@aws-cdk/cx-api@0.31.0(transitive)
- Removed@aws-cdk/cx-api@0.30.0(transitive)
Updated@aws-cdk/cx-api@^0.31.0