New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-bake

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-bake - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

test/expected/advanced_bake_multi_one.html

12

Gruntfile.js

@@ -85,2 +85,14 @@ /*

advanced_bake_multi: {
options: {
content: "test/fixtures/content.json",
section: "en"
},
files: {
"tmp/advanced_bake_multi_one.html": "test/fixtures/advanced_bake_multi_one.html",
"tmp/advanced_bake_multi_two.html": "test/fixtures/advanced_bake_multi_two.html"
}
},
object_bake: {

@@ -87,0 +99,0 @@ options: {

2

package.json
{
"name": "grunt-bake",
"description": "Bake external includes into files to create static pages with no server-side compilation time",
"version": "1.6.0",
"version": "1.6.1",
"homepage": "https://github.com/MathiasPaumgarten/grunt-bake",

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

@@ -673,2 +673,3 @@ # grunt-bake

* `1.6.1` __2-11-2016__ fixes error for options.section on multiple files.
* `1.6.0` __2-10-2016__ adds support for parameters in transforms. Also introduces a breaking change away from transformGutter.

@@ -675,0 +676,0 @@ * `1.5.1` __2-9-2016__ adds @referrer attribute to _bake.

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

if ( options.section ) {
if ( ! options.content[ options.section ] ) {
grunt.log.error( "content doesn't have section " + options.section );
}
options.content = options.content[ options.section ];
}
// =======================

@@ -596,11 +605,2 @@ // -- DEFAULT PROCESSOR --

if ( options.section ) {
if ( ! options.content[ options.section ] ) {
grunt.log.error( "content doesn't have section " + options.section );
}
options.content = options.content[ options.section ];
}
bakeFile( src, dest, options.content );

@@ -607,0 +607,0 @@ } );

@@ -13,2 +13,4 @@ "use strict";

"tmp/advanced_bake.html": "test/expected/advanced_bake.html",
"tmp/advanced_bake_multi_one.html": "test/expected/advanced_bake_multi_one.html",
"tmp/advanced_bake_multi_two.html": "test/expected/advanced_bake_multi_two.html",
"tmp/costum_process_bake.html": "test/expected/costum_process_bake.html",

@@ -15,0 +17,0 @@ "tmp/recursive_bake.html": "test/expected/recursive_bake.html",

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