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 2001.1001.2000-dev-harmony-fb to 3001.1.0-dev-harmony-fb

.eslintrc

10

package.json

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

},
"version": "2001.1001.2000-dev-harmony-fb",
"version": "3001.0001.0000-dev-harmony-fb",
"engines": {

@@ -30,8 +30,12 @@ "node": ">=0.4.0"

"jslint": "~0.1.9",
"eslint": "~0.1.0",
"istanbul": "~0.1.27",
"complexity-report": "~0.6.1"
"complexity-report": "~0.6.1",
"regenerate": "~0.5.4",
"unicode-6.3.0": "~0.1.0",
"json-diff": "~0.3.1"
},
"scripts": {
"test": "npm run-script lint && node test/run.js && npm run-script coverage && npm run-script complexity",
"lint": "node_modules/jslint/bin/jslint.js esprima.js",
"lint": "node tools/check-version.js && node_modules/eslint/bin/eslint.js esprima.js && node_modules/jslint/bin/jslint.js esprima.js",
"coverage": "npm run-script analyze-coverage && npm run-script check-coverage",

@@ -38,0 +42,0 @@ "analyze-coverage": "node node_modules/istanbul/lib/cli.js cover test/runner.js",

@@ -396,2 +396,3 @@ /*

fs = require('fs'),
diff = require('json-diff').diffString,
total = 0,

@@ -426,5 +427,15 @@ failures = [],

failures.forEach(function (failure) {
console.error(failure.source + ': Expected\n ' +
failure.expected.split('\n').join('\n ') +
'\nto match\n ' + failure.actual);
try {
var expectedObject = JSON.parse(failure.expected);
var actualObject = JSON.parse(failure.actual);
console.error(failure.source + ': Expected\n ' +
failure.expected.split('\n').join('\n ') +
'\nto match\n ' + failure.actual + '\nDiff:\n' +
diff(expectedObject, actualObject));
} catch (ex) {
console.error(failure.source + ': Expected\n ' +
failure.expected.split('\n').join('\n ') +
'\nto match\n ' + failure.actual);
}
});

@@ -431,0 +442,0 @@ } else {

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

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