Comparing version 2.11.1 to 2.11.2
@@ -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; |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94940
22
1413
2