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

nearley

Package Overview
Dependencies
Maintainers
2
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nearley - npm Package Compare versions

Comparing version 2.19.5 to 2.19.6

3

bin/nearley-test.js

@@ -23,2 +23,5 @@ #!/usr/bin/env node

if (!opts.args[0]) {
throw new Error('Please supply a grammer.js file path as a command-line argument');
}
var filename = require('path').resolve(opts.args[0]);

@@ -25,0 +28,0 @@ var grammar = nearley.Grammar.fromCompiled(require(filename));

@@ -20,2 +20,5 @@ #!/usr/bin/env node

if (!opts.args[0]) {
throw new Error('Please supply a grammer.js file path as a command-line argument');
}
var grammar = new require(require('path').resolve(opts.args[0]));

@@ -22,0 +25,0 @@

2

package.json
{
"name": "nearley",
"version": "2.19.5",
"version": "2.19.6",
"description": "Simple, fast, powerful parser toolkit for JavaScript.",

@@ -5,0 +5,0 @@ "main": "lib/nearley.js",

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