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

grunt-include-source

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-include-source - npm Package Compare versions

Comparing version

to
0.3.8

2

package.json
{
"name": "grunt-include-source",
"description": "Include your sources into your HTML files automatically.",
"version": "0.3.7",
"version": "0.3.8",
"homepage": "https://github.com/jwvdiermen/grunt-include-source",

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

# grunt-include-source
> Include your sources into your HTML files automatically. Also supports including Bower components that expose their source files via the *sources* property in the `bower.json` file.
> Include your sources into your HTML files automatically.

@@ -230,2 +230,7 @@ ## Getting Started

### 2014-05-03 ver. 0.3.8
* replace all instances of {filePath} instead of the only the first
* add {filePathDecoded} to enable use of raw URL which isn't encoded
### 2014-04-27 ver. 0.3.7

@@ -232,0 +237,0 @@

@@ -211,3 +211,6 @@ /*

grunt.log.debug('Including file "' + file + '".');
includeFragments.push(typeTemplates[include.options.type].replace('{filePath}', url.resolve(include.options.baseUrl || options.baseUrl, file)));
includeFragments.push(typeTemplates[include.options.type]
.replace(/\{filePath\}/g, url.resolve(include.options.baseUrl || options.baseUrl, file))
.replace(/\{filePathDecoded\}/g, decodeURI(url.resolve(include.options.baseUrl || options.baseUrl, file)))
);
});

@@ -214,0 +217,0 @@