edge-parser
Advanced tools
Comparing version 8.0.7 to 8.0.8
@@ -15,4 +15,13 @@ "use strict"; | ||
statement.object = transformAst_1.transformAst(statement.object, filename, parser); | ||
/** | ||
* Making the following expressions work | ||
* | ||
* user[Object.keys(user).find((k) => k === 'id')] | ||
* [num1, num2, num3].filter((num) => num % 2 === 0) | ||
*/ | ||
if (statement.property.type !== 'Identifier') { | ||
statement.property = transformAst_1.transformAst(statement.property, filename, parser); | ||
} | ||
return statement; | ||
}, | ||
}; |
{ | ||
"name": "edge-parser", | ||
"version": "8.0.7", | ||
"version": "8.0.8", | ||
"description": "Parser for edge template engine", | ||
@@ -35,4 +35,4 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"acorn": "^8.3.0", | ||
"astring": "^1.7.4", | ||
"acorn": "^8.4.0", | ||
"astring": "^1.7.5", | ||
"edge-error": "^2.0.4", | ||
@@ -39,0 +39,0 @@ "edge-lexer": "^4.0.6", |
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
74374
1759
Updatedacorn@^8.4.0
Updatedastring@^1.7.5