Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edge-parser

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-parser - npm Package Compare versions

Comparing version 8.0.7 to 8.0.8

9

build/src/Expressions/MemberExpression.js

@@ -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;
},
};

6

package.json
{
"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",

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