Socket
Socket
Sign inDemoInstall

grunt-generator

Package Overview
Dependencies
38
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.2 to 0.2.5

package.json.orig

3

Gruntfile.js

@@ -18,2 +18,5 @@ var path = require('path');

grunt.initConfig({
meta: {
gruntconfigkey: "gruntconfigvalue"
},
watch: {

@@ -20,0 +23,0 @@ files: ['Gruntfile.js', 'tasks/**/*.js', 'spec/**/*.js'],

2

package.json
{
"name": "grunt-generator",
"description": "Static site generator with handlebars and showdown.",
"version": "0.2.2",
"version": "0.2.5",
"homepage": "https://github.com/clavery/grunt-generator",

@@ -6,0 +6,0 @@ "author": {

@@ -90,2 +90,4 @@ # grunt-generator

## Release History
0.2.5 - added grunt and gruntConfig objects to options to allow access to grunt configuration in templates/pages
0.2.2 - fix bug with partials

@@ -92,0 +94,0 @@

@@ -52,2 +52,8 @@ /*global xit*/

it('should allow access to the grunt configuration', function() {
var test7 = grunt.file.read(__dirname + '/build/gruntconfig_test.html');
expect(test7).toMatch(/gruntconfigvalue/m);
});
//TODO

@@ -54,0 +60,0 @@ xit('should handle empty/no templates', function() {

@@ -0,0 +0,0 @@ {

this is test3

@@ -0,0 +0,0 @@ {

@@ -56,2 +56,4 @@ /*

this.options.grunt = grunt;
this.options.gruntConfig = grunt.config.data;
return this;

@@ -58,0 +60,0 @@ };

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc