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.13.2 to 0.14.0

16

lib/fast-path.js

@@ -429,4 +429,16 @@ var assert = require("assert");

var node = this.getNode();
return !n.FunctionExpression.check(node)
&& !n.ObjectExpression.check(node);
if (n.FunctionExpression.check(node)) {
return false;
}
if (n.ObjectExpression.check(node)) {
return false;
}
if (n.ClassExpression.check(node)) {
return false;
}
return true;
};

@@ -433,0 +445,0 @@

15

package.json

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

],
"version": "0.13.2",
"version": "0.14.0",
"homepage": "http://github.com/benjamn/recast",

@@ -25,4 +25,4 @@ "repository": {

"scripts": {
"test": "node ./node_modules/mocha/bin/mocha --reporter spec --full-trace",
"debug": "node ./node_modules/mocha/bin/mocha --inspect-brk --reporter spec --full-trace"
"test": "test/run.sh",
"debug": "test/run.sh --inspect-brk"
},

@@ -33,3 +33,3 @@ "browser": {

"dependencies": {
"ast-types": "0.10.2",
"ast-types": "0.11.1",
"esprima": "~4.0.0",

@@ -40,7 +40,8 @@ "private": "~0.1.5",

"devDependencies": {
"babel-core": "^6.23.1",
"babel-preset-es2015": "^6.22.0",
"babylon": "~7.0.0-beta.31",
"@babel/core": "^7.0.0-beta.40",
"@babel/preset-es2015": "^7.0.0-beta.40",
"babylon": "^7.0.0-beta.40",
"esprima-fb": "^15001.1001.0-dev-harmony-fb",
"flow-parser": "^0.66.0",
"glob": "^7.1.2",
"mocha": "~5.0.0",

@@ -47,0 +48,0 @@ "reify": "^0.14.1",

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

Sorry, the diff of this file is not supported yet

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