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.11.1 to 2.11.2

lib/.DS_Store

10

lib/lint.js

@@ -24,17 +24,7 @@ // Node-only

function lintTSVersion(grm, opts) {
if (grm.config.preprocessor === 'typescript' &&
semver.gt(opts.version, '2.11.0'))
warn(opts, "The interface for the TypeScript preprocessor changed " +
"briefly in nearley 2.10 and 2.11. See " +
"https://github.com/Hardmath123/nearley/pull/287 if you " +
"encounter issues importing your grammar into TS.");
}
function lint(grm, opts) {
if (!opts.out) opts.out = process.stderr;
lintNames(grm, opts);
lintTSVersion(grm, opts);
}
module.exports = lint;

2

package.json
{
"name": "nearley",
"version": "2.11.1",
"version": "2.11.2",
"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