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

esprima-fb

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esprima-fb - npm Package Compare versions

Comparing version 4001.3001.0-dev-harmony-fb to 5001.1.0-dev-harmony-fb

2

package.json

@@ -10,3 +10,3 @@ {

},
"version": "4001.3001.0000-dev-harmony-fb",
"version": "5001.0001.0000-dev-harmony-fb",
"files": [

@@ -13,0 +13,0 @@ "bin",

@@ -96,2 +96,17 @@ /*

function hasAttachedComment(syntax) {
var key;
for (key in syntax) {
if (key === 'leadingComments' || key === 'trailingComments') {
return true;
}
if (syntax[key] && typeof syntax[key] === 'object') {
if (hasAttachedComment(syntax[key])) {
return true;
}
}
}
return false;
}
function testParse(esprima, code, syntax) {

@@ -114,2 +129,6 @@ 'use strict';

if (options.comment) {
options.attachComment = hasAttachedComment(syntax);
}
if (options.loc) {

@@ -116,0 +135,0 @@ options.source = syntax.loc.source;

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

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