Huge News!Announcing our $40M Series B led by Abstract Ventures.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 0.0.8 to 0.0.9

test/fixtures/default_absolute_path_bake.html

6

Gruntfile.js

@@ -95,2 +95,8 @@ /*

}
},
default_absolute_path_bake: {
files: {
"tmp/default_absolute_path_bake.html": "test/fixtures/default_absolute_path_bake.html"
}
}

@@ -97,0 +103,0 @@ },

2

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

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

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

## Release History
* 2013-05-01 v0.0.9 Fixes default basePath
* 2013-04-30 v0.0.8 Support for absolute paths and basePath

@@ -312,0 +313,0 @@ * 2013-04-23 v0.0.7 Support for a wider range of characters in inline arguments

@@ -135,3 +135,3 @@ /*

includePath = options.basePath + includePath;
includePath = options.basePath + includePath.substr( 1 );

@@ -159,5 +159,5 @@ } else {

if ( basePath.substr( -1 , 1 ) === "/" ) {
if ( basePath.substr( -1 , 1 ) !== "/" && basePath.length > 0 ) {
options.basePath = basePath.substr( 0, basePath.length - 1 );
options.basePath = basePath + "/";

@@ -164,0 +164,0 @@ }

@@ -65,3 +65,13 @@ "use strict";

test.done();
},
defaultAbsolutePathBake: function( test ) {
test.expect( 1 );
var actual = grunt.file.read( "tmp/default_absolute_path_bake.html" );
var expected = grunt.file.read( "test/expected/default_bake.html" );
test.equal( actual, expected, "default absolute path bake" );
test.done();
}
};
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