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

browserify-css

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-css - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

.travis.yml

12

index.js

@@ -26,7 +26,11 @@ 'use strict';

var base = path.relative(__dirname, process.cwd());
options = require(path.join(base, options)) || {};
try {
options = require(path.join(base, options)) || defaults;
} catch (err) {
options = defaults;
}
}
options = _.defaults(options || {}, defaults);
options = _.defaults(options, defaults);
module.exports = function(filename) {
module.exports = function(filename, opts) {
if ( ! /\.css$/i.test(filename)) {

@@ -40,2 +44,4 @@ return through();

options = _.extend({}, options, opts);
return through(

@@ -42,0 +48,0 @@ function transform(chunk, enc, next) {

{
"name": "browserify-css",
"version": "0.2.2",
"version": "0.3.0",
"description": "A Browserify transform for bundling, rebasing, inlining, and minifying CSS files",

@@ -5,0 +5,0 @@ "main": "./index.js",

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