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

pegjs-util

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pegjs-util - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

2

bower.json
{
"name": "pegjs-util",
"version": "1.3.3",
"version": "1.3.4",
"description": "Utility Class for PEG.js",

@@ -5,0 +5,0 @@ "main": "PEGUtil.js",

{
"name": "pegjs-util",
"version": "1.3.3",
"version": "1.3.4",
"description": "Utility Class for PEG.js",

@@ -5,0 +5,0 @@ "keywords": [ "pegjs", "parser", "AST", "unroll" ],

@@ -140,13 +140,9 @@ /*

}
var opts = {
util: {
makeUnroll: PEGUtil.makeUnroll,
makeAST: PEGUtil.makeAST,
__makeAST: makeAST,
__SyntaxError: parser.SyntaxError
}
options.util = {
makeUnroll: PEGUtil.makeUnroll,
makeAST: PEGUtil.makeAST,
__makeAST: makeAST,
__SyntaxError: parser.SyntaxError
};
if (typeof options.startRule === "string")
opts.startRule = options.startRule;
result.ast = parser.parse(txt, opts);
result.ast = parser.parse(txt, options);
result.error = null;

@@ -153,0 +149,0 @@ }

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