Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

grunt-peg

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-peg - npm Package Compare versions

Comparing version
1.5.0
to
2.0.0
+14
test/test_plugin.js
function pass(ast) {
if (!ast.initializer) {
ast.initializer = {
type: 'initializer',
code: 'console.log("test plugin loaded");'
}
}
}
module.exports = {
use: function (config, options) {
config.passes.transform.unshift(pass);
}
};
+1
-1

@@ -52,3 +52,3 @@ /*

dest: 'tmp/plugin_options_standard',
options: { plugins: [ 'pegjs-coffee-plugin' ] }
options: { plugins: [ './test/test_plugin' ] }
},

@@ -55,0 +55,0 @@ angular_options: {

{
"name": "grunt-peg",
"description": "A grunt multi task that generates parsers from PEG grammars.",
"version": "1.5.0",
"version": "2.0.0",
"homepage": "https://github.com/dvberkel/grunt-peg",

@@ -32,11 +32,10 @@ "author": {

"devDependencies": {
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-nodeunit": "~0.1.2",
"grunt": "~0.4.1",
"grunt-bumpup": "~0.2.0",
"pegjs-coffee-plugin": "~0.2.1"
"grunt": "~0.4.5",
"grunt-bumpup": "~0.6.2",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-jshint": "~0.11.3",
"grunt-contrib-nodeunit": "~0.4.1"
},
"peerDependencies": {
"grunt": "~0.4.1"
"grunt": "~0.4.5"
},

@@ -47,4 +46,4 @@ "keywords": [

"dependencies": {
"pegjs": "~0.8.0"
"pegjs": "~0.9.0"
}
}
}

@@ -217,2 +217,4 @@ # grunt-peg

* 2015-09-11 v2.0.0 Update version of PEG.js to 0.9.0
* 2014-08-02 v1.5.0 Custom wrapper
* 2014-06-09 v1.4.0 Dynamic `exportVar`

@@ -233,2 +235,4 @@ * 2014-05-15 v1.3.1 Add license headers to all source files

* [bertrandgressier][]
* [kmdavis][]
* [felixhao28][]

@@ -238,2 +242,4 @@ [welwood08]: https://github.com/welwood08

[bertrandgressier]: https://github.com/bertrandgressier
[kmdavis]: https://github.com/kmdavis
[felixhao28]: https://github.com/felixhao28

@@ -245,2 +251,2 @@ [Grunt]: http://gruntjs.com/

[#6]: https://github.com/dvberkel/grunt-peg/pull/6
[pegjs-coffee-plugin]: https://github.com/Dignifiedquire/pegjs-coffee-plugin
[pegjs-coffee-plugin]: https://github.com/Dignifiedquire/pegjs-coffee-plugin

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet