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 0.9.1 to 0.9.2

2

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

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

@@ -36,4 +36,4 @@ /*

},
"gruntfile": [ "Gruntfile.js" ],
"prince": [ "PEGUtil.js" ]
"gruntfile": [ "Gruntfile.js" ],
"pegjs-util": [ "PEGUtil.js" ]
},

@@ -40,0 +40,0 @@ eslint: {

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

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

@@ -180,6 +180,6 @@ /*

var _walk = function (node, depth) {
if (when === "before" || when == "both")
if (when === "before" || when === "both")
cb.call(null, node, depth, "before");
node.C.forEach(function (child) { _walk(child, depth + 1); });
if (when === "after" || when == "both")
if (when === "after" || when === "both")
cb.call(null, node, depth, "after");

@@ -186,0 +186,0 @@ };

@@ -76,3 +76,3 @@

var PEG = require("pegjs")
var PEGUtil = require("./PEGUtil")
var PEGUtil = require("pegjs-util")

@@ -79,0 +79,0 @@ var parser = PEG.buildParser(fs.readFileSync("sample.pegjs", "utf8"))

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