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.2.4 to 0.2.5

a.css

24

lib/pack-css-task.js

@@ -102,12 +102,16 @@ var path = require('path'),

} else {
var result = postcss()
.use(removeVersionizedUrlsPlugin)
.use(inlineImportPlugin)
.use(rebaseUrlsPlugin)
.process(content.toString(), {
from: cssFile,
to: path.join(root, 'fake.css')
});
cb(null, result.root);
try {
var result = postcss()
.use(removeVersionizedUrlsPlugin)
.use(inlineImportPlugin)
.use(rebaseUrlsPlugin)
.process(content.toString(), {
safe: true,
from: cssFile,
to: path.join(root, 'fake.css')
});
cb(null, result.root);
} catch (e) {
cb(e);
}
}

@@ -114,0 +118,0 @@ });

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

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

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