appsync-template-tester
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -40,6 +40,9 @@ "use strict"; | ||
const res = this.resolve(context); | ||
return JSON.parse(res); | ||
const resWithoutTrailingSpaces = res | ||
.replace(/^[\n\s\r]*/, '') | ||
.replace(/[\n\s\r]*$/, ''); | ||
return JSON.parse(resWithoutTrailingSpaces); | ||
} | ||
} | ||
exports.default = Parser; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUEsZ0RBQWdEO0FBQ2hELDJDQUFvQztBQUNwQyxpREFBbUM7QUFDbkMsa0RBQW9DO0FBRXBDLE1BQXFCLE1BQU07SUFHekIsWUFBWSxRQUFnQjtRQUMxQixJQUFJLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztJQUMzQixDQUFDO0lBRUQ7O09BRUc7SUFDSSxPQUFPLENBQUMsT0FBZ0I7UUFDN0IsTUFBTSxhQUFhLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUM7UUFFMUQsTUFBTSxJQUFJLEdBQUc7WUFDWCxHQUFHLFFBQVE7WUFDWCxJQUFJO1NBQ0wsQ0FBQztRQUVGLE1BQU0sTUFBTSxHQUFHO1lBQ2IsT0FBTyxFQUFFLGFBQWE7WUFDdEIsR0FBRyxFQUFFLGFBQWE7WUFDbEIsSUFBSTtZQUNKLEtBQUssRUFBRSxJQUFJO1NBQ1osQ0FBQztRQUVGLE9BQU8sbUJBQU0sQ0FBQyxJQUFJLENBQUMsUUFBUSxFQUFFLE1BQU0sQ0FBQyxDQUFDO0lBQ3ZDLENBQUM7SUFFRDs7T0FFRztJQUNJLFlBQVksQ0FBQyxP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LENBQXNCLENBQUM7SUFDNUQsTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7QUFDakMsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUGFyc2VyIGZyb20gJy4uL2luZGV4JztcblxudGVzdCgnU2ltcGxlIHZ0bCByZXR1cm5zIGNvcnJlY3RseScsICgpID0+IHtcbiAgY29uc3QgdnRsID0gJyR1dGlscy50b0pzb24oe1widGVzdFwiOiB0cnVlfSknO1xuICBjb25zdCBwYXJzZXIgPSBuZXcgUGFyc2VyKHZ0bCk7XG4gIGNvbnN0IHJlc3VsdCA9IHBhcnNlci5yZXNvbHZlKHt9KTtcbiAgZXhwZWN0KHJlc3VsdCkudG9CZShKU09OLnN0cmluZ2lmeSh7IHRlc3Q6IHRydWUgfSkpO1xufSk7XG5cbnRlc3QoJ3Jlc29sdmUnLCAoKSA9PiB7XG4gIGNvbnN0IHZ0bCA9ICckdXRpbHMudG9Kc29uKHtcInRlc3RcIjogdHJ1ZX0pJztcbiAgY29uc3QgcGFyc2VyID0gbmV3IFBhcnNlcih2dGwpO1xuICBjb25zdCByZXN1bHQgPSBwYXJzZXIucmVzb2x2ZVBhcnNlKHt9KSBhcyB7IHRlc3Q6IEJvb2xlYW4gfTtcbiAgZXhwZWN0KHJlc3VsdC50ZXN0KS50b0JlKHRydWUpO1xufSk7XG4iXX0= | ||
test('util.qr hides result', () => { | ||
const vtl = ` | ||
#set($array = []) | ||
$util.qr($array.add(1)) | ||
{"test": $array}`; | ||
const parser = new index_1.default(vtl); | ||
const res = parser.resolveParse({}); | ||
expect(res).toEqual({ test: [1] }); | ||
// expect(res.includes('$util.qr($array.add("element in array"))')).toBeFalsy(); | ||
}); | ||
test('util.quiet hides result', () => { | ||
const vtl = ` | ||
#set($array = []) | ||
$util.quiet($array.add(1)) | ||
{"test": $array}`; | ||
const parser = new index_1.default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lKHt9KTtcbiAgZXhwZWN0KHJlcykudG9FcXVhbCh7IHRlc3Q6IFsxXSB9KTtcbn0pO1xuIl19 |
@@ -7,9 +7,9 @@ "use strict"; | ||
*/ | ||
test('qr returns nothing', () => { | ||
test('qr returns blank string', () => { | ||
const res = util_1.qr(); | ||
expect(typeof res).toBe('undefined'); | ||
expect(res).toBe(''); | ||
}); | ||
test('quiet returns nothing', () => { | ||
test('quiet returns blank string', () => { | ||
const res = util_1.quiet(); | ||
expect(typeof res).toBe('undefined'); | ||
expect(res).toBe(''); | ||
}); | ||
@@ -190,2 +190,2 @@ test('escapeJavaScrip escapes JavaScript (not necessarily in exactly the same way as AppSync)', () => { | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Rlc3RzL3V0aWwudGVzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtDQTRCaUI7QUFFakI7O0dBRUc7QUFFSCxJQUFJLENBQUMsb0JBQW9CLEVBQUUsR0FBRyxFQUFFO0lBQzlCLE1BQU0sR0FBRyxHQUFHLFNBQUUsRUFBRSxDQUFDO0lBQ2pCLE1BQU0sQ0FBQyxPQUFPLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsQ0FBQztBQUN2QyxDQUFDLENBQUMsQ0FBQztBQUVILElBQUksQ0FBQyx1QkFBdUIsRUFBRSxHQUFHLEVBQUU7SUFDakMsTUFBTSxHQUFHLEdBQUcsWUFBSyxFQUFFLENBQUM7SUFDcEIsTUFBTSxDQUFDLE9BQU8sR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxDQUFDO0FBQ3ZDLENBQUMsQ0FBQyxDQUFDO0FBRUgsSUFBSSxDQUFDLHlGQUF5RixFQUFFLEdBQUcsRUFBRTtJ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1xuICAgICAgZXhwZWN0KGlzU3RyaW5nKHZhbHVlKSkudG9CZShpc1N0cik7XG4gICAgICBleHBlY3QoaXNOdW1iZXIodmFsdWUpKS50b0JlKGlzTnVtKTtcbiAgICAgIGV4cGVjdChpc0Jvb2xlYW4odmFsdWUpKS50b0JlKGlzQm9vbCk7XG4gICAgICBleHBlY3QoaXNMaXN0KHZhbHVlKSkudG9CZShpc0xzdCk7XG4gICAgICBleHBlY3QoaXNNYXAodmFsdWUpKS50b0JlKGlzTXApO1xuICAgICAgZXhwZWN0KHR5cGVPZih2YWx1ZSkpLnRvQmUodHlwKTtcbiAgICB9XG4gICk7XG59KTtcblxudGVzdCgnbWF0Y2hlcycsICgpID0+IHtcbiAgY29uc3QgcmVzID0gbWF0Y2hlcygnXmEnLCAnYScpO1xuICBleHBlY3QocmVzKS50b0JlVHJ1dGh5KCk7XG59KTtcbiJdfQ== |
@@ -1,3 +0,3 @@ | ||
export declare function qr(): void; | ||
export declare function quiet(): void; | ||
export declare function qr(): string; | ||
export declare function quiet(): string; | ||
export declare function escapeJavaScript(code: string): string; | ||
@@ -4,0 +4,0 @@ export declare function urlEncode(url: string): string; |
@@ -6,7 +6,7 @@ "use strict"; | ||
function qr() { | ||
// Do nothing | ||
return ''; | ||
} | ||
exports.qr = qr; | ||
function quiet() { | ||
// Do nothing | ||
return ''; | ||
} | ||
@@ -177,2 +177,2 @@ exports.quiet = quiet; | ||
exports.matches = matches; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsaURBQWlEO0FBQ2pELCtCQUEwQjtBQUUxQixTQUFnQixFQUFFO0lBQ2hCLGFBQWE7QUFDZixDQUFDO0FBRkQsZ0JBRUM7QUFFRCxTQUFnQixLQUFLO0lBQ25CLGF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0V4cChwYXR0ZXJuU3RyaW5nKTtcbiAgcmV0dXJuICEhc3RyLm1hdGNoKHBhdHRlcm4pO1xufVxuIl19 |
@@ -24,3 +24,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "dist/index.js", | ||
@@ -27,0 +27,0 @@ "scripts": { |
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
72780
677