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.11.19 to 0.11.20

8

lib/fast-path.js

@@ -329,6 +329,8 @@ var assert = require("assert");

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

@@ -335,0 +337,0 @@ return isBinary(parent);

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

if (file.type === "Program") {
var file = b.file(program);
var file = b.file(program, options.sourceFileName || null);
file.loc = {

@@ -70,0 +70,0 @@ lines: lines,

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

],
"version": "0.11.19",
"version": "0.11.20",
"homepage": "http://github.com/benjamn/recast",

@@ -18,0 +18,0 @@ "repository": {

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