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

apg

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apg - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

package.json
{
"name": "apg",
"version": "2.2.0",
"version": "2.2.1",
"description": "An ABNF Parser Generator - generates recursive-descent parsers from grammars written in a superset of Augmented Backus-Naur Form (ABNF)",

@@ -5,0 +5,0 @@ "main": "./src/exports.js",

@@ -452,4 +452,2 @@ // This module reads the input grammar file and does a preliminary analysis

var str = "";
// str += "line : char: text\n";
// str += "no : offset: text\n";
var thisChars = this.chars;

@@ -468,2 +466,3 @@ var end;

}
// Display an array of errors of the form `{line: 0, char: 0, msg: "message"}` as ASCII text.
this.errorsToString = function(errors){

@@ -494,3 +493,3 @@ var str, thisChars, thisLines, line, beg, end;

str += error.char - line.beginChar + ": ";
str += " >>: ";
str += "error: ";
str += error.msg;

@@ -497,0 +496,0 @@ str += "\n";

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