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

grunt-packer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-packer - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

8

lib/helpers.js

@@ -104,12 +104,12 @@ var crypto = require('crypto'),

this.data.files = this.data.files || '**/*.html';
this.data.htmls = this.data.htmls || '**/*.html';
var root = path.resolve(this.data.root),
var root = path.resolve(this.data.root || '.'),
dst = path.resolve(this.data.output || root),
packageHome = path.join(dst, this.data.packages),
fileset = grunt.file.expand(path.join(root, this.data.files));
fileset = grunt.file.expand({ cwd: root }, this.data.htmls);
fileset.map(function(f){
f = path.resolve(f);
f = path.join(root, f);

@@ -116,0 +116,0 @@ var dom = helpers.domify(f),

{
"name": "grunt-packer",
"description": "Grunt plugin to automagically concat JS and CSS files found in HTML",
"version": "0.1.4",
"version": "0.1.5",
"author": "Oleg Elifantiev <oleg@elifantiev.ru>",

@@ -6,0 +6,0 @@ "contributors": [],

@@ -170,3 +170,3 @@ var assert = require('assert'),

packages: 'packer/js',
files: 'index.html',
htmls: 'index.html',
output: 'out'

@@ -185,3 +185,3 @@ }

packages: 'packer/js',
files: 'index2.html',
htmls: 'index2.html',
output: 'out'

@@ -202,3 +202,3 @@ }

packages: 'packer/js',
files: 'index-use-skip.html',
htmls: 'index-use-skip.html',
output: 'out'

@@ -221,3 +221,3 @@ }

packages: 'packer/js',
files: 'index-package-break.html',
htmls: 'index-package-break.html',
output: 'out'

@@ -239,3 +239,3 @@ }

packages: 'packer/js',
files: 'index-use-names.html',
htmls: 'index-use-names.html',
output: 'out'

@@ -255,3 +255,3 @@ }

packages: 'packer/js',
files: 'index-use-names-split.html',
htmls: 'index-use-names-split.html',
output: 'out'

@@ -274,3 +274,3 @@ }

packages: 'packer/js',
files: 'index.html',
htmls: 'index.html',
output: 'out'

@@ -277,0 +277,0 @@ }

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