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

recast

Package Overview
Dependencies
Maintainers
1
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recast - npm Package Compare versions

Comparing version 0.15.4 to 0.15.5

15

lib/fast-path.js

@@ -379,2 +379,3 @@ var assert = require("assert");

case "CallExpression":
case "NewExpression":
return name === "callee"

@@ -396,6 +397,9 @@ && parent.callee === node;

case "ArrowFunctionExpression":
if(n.CallExpression.check(parent) && name === 'callee') {
if (n.CallExpression.check(parent) &&
name === 'callee') {
return true;
}
if(n.MemberExpression.check(parent) && name === 'object') {
if (n.MemberExpression.check(parent) &&
name === 'object') {
return true;

@@ -411,2 +415,3 @@ }

}
break;

@@ -533,2 +538,8 @@

if (n.AssignmentExpression.check(parent) &&
childName === "left") {
assert.strictEqual(parent.left, child);
return true;
}
if (n.SequenceExpression.check(parent) &&

@@ -535,0 +546,0 @@ parentName === "expressions" &&

6

package.json

@@ -15,3 +15,3 @@ {

],
"version": "0.15.4",
"version": "0.15.5",
"homepage": "http://github.com/benjamn/recast",

@@ -42,6 +42,6 @@ "repository": {

"esprima-fb": "^15001.1001.0-dev-harmony-fb",
"flow-parser": "^0.76.0",
"flow-parser": "^0.80.0",
"glob": "^7.1.2",
"mocha": "~5.2.0",
"reify": "^0.16.4"
"reify": "^0.17.3"
},

@@ -48,0 +48,0 @@ "engines": {

Sorry, the diff of this file is too big to display

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