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.2.2

2

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

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

@@ -13,2 +13,3 @@ /*

var path = require('path');
var url = require('url');
var os = require('os');

@@ -172,3 +173,3 @@ var util = require('util');

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

@@ -175,0 +176,0 @@