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.3.2 to 0.3.3

3

browser.js

@@ -1,4 +0,3 @@

//
'use strict';
// For more information about browser field, check out the browser field at https://github.com/substack/browserify-handbook#browser-field.
//

@@ -5,0 +4,0 @@ module.exports = {

@@ -9,5 +9,5 @@ module.exports = {

// Bitwise operators are very rare in JavaScript programs and quite often & is simply a mistyped &&.
bitwise: false,
bitwise: true,
// This option allows you to force all variable names to use either camelCase style or UPPER_CASE with underscores.
camelcase: false,
camelcase: true,
// This option requires you to always put curly braces around blocks in loops and conditionals.

@@ -20,3 +20,3 @@ curly: true,

// This option requires all for in loops to filter object's items.
forin: false,
forin: true,
// This option prohibits the use of immediate function invocations without wrapping them in parentheses.

@@ -33,7 +33,7 @@ immed: true,

// This option warns when you have an empty block in your code.
noempty: false,
noempty: true,
// This option prohibits the use of constructor functions for side-effects.
nonew: true,
// This option prohibits the use of unary increment and decrement operators.
plusplus: false,
plusplus: true,
// This option enforces the consistency of quotation marks used throughout your code.

@@ -44,7 +44,7 @@ quotmark: true,

// This option warns when you define and never use your variables.
unused: false,
unused: true,
// This option requires all functions to run in ECMAScript 5's strict mode.
strict: false,
strict: true,
// This option makes it an error to leave a trailing whitespace in your code.
trailing: false,
trailing: true,

@@ -118,5 +118,4 @@ /**

require: true,
requirejs: true,
Buffer: true
JSON: true
}
};

@@ -119,3 +119,3 @@ 'use strict';

var css = css.stringify({
var cssText = css.stringify({
stylesheet: {

@@ -125,3 +125,3 @@ rules: [ rule ]

});
cssStream.write(css + '\n');
cssStream.write(cssText + '\n');
}

@@ -147,3 +147,3 @@ });

if (typeof callback !== 'function') {
callback = function noop(data) { };
callback = function noop() {};
}

@@ -150,0 +150,0 @@

@@ -0,1 +1,3 @@

'use strict';
require('./app.css');

@@ -2,0 +4,0 @@ var foo = require('./modules/foo');

@@ -0,1 +1,3 @@

'use strict';
module.exports = {

@@ -2,0 +4,0 @@ init: function() {

@@ -0,1 +1,3 @@

'use strict';
module.exports = {

@@ -2,0 +4,0 @@ init: function() {

@@ -39,5 +39,3 @@ 'use strict';

var cssBuffer = {};
var buffer = '';
var externalURLs = [];

@@ -44,0 +42,0 @@ options = _.extend({}, options, opts);

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

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

@@ -1,2 +0,2 @@

# browserify-css [![build status](https://secure.travis-ci.org/cheton/browserify-css.png?branch=master)](https://travis-ci.org/cheton/browserify-css)
# browserify-css [![build status](https://travis-ci.org/cheton/browserify-css.svg?branch=master)](https://travis-ci.org/cheton/browserify-css)

@@ -3,0 +3,0 @@ [![NPM](https://nodei.co/npm/browserify-css.png?downloads=true&stars=true)](https://nodei.co/npm/browserify-css/)

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