Huge News!Announcing our $40M Series B led by Abstract Ventures.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.8.3 to 0.8.4

3

css-transform.js

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

if ( ! url.match(absUrlRegEx) && ! url.match(protocolRegEx)) {
// if both r[2] and r[3] are undefined, but r[1] is a string, it will be the case of url(path/to/foo.css)
// If both r[2] and r[3] are undefined, but r[1] is a string, it will be the case of url(path/to/foo.css).
quoteLen = ((r[2] || r[3]) && r[1]) ? 1 : 0;

@@ -98,2 +98,3 @@

newUrl = processRelativeUrl(path.relative(from, to));
newUrl = newUrl.replace(/\\/g, '/'); // All URLs must use forward slashes

@@ -100,0 +101,0 @@ source = source.substr(0, urlRegEx.lastIndex - url.length - quoteLen - 1) + newUrl + source.substr(urlRegEx.lastIndex - quoteLen - 1);

{
"name": "browserify-css",
"version": "0.8.3",
"version": "0.8.4",
"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