Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-combo

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-combo - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

test/css/mod/mod5_data_uri.css

2

lib/index.js

@@ -248,3 +248,3 @@ /**

var preservedTokens = [];
fileContent = compressor._extractDataUrls(fileContent, preservedTokens);
// fileContent = compressor._extractDataUrls(fileContent, preservedTokens);
fileContent = compressor._extractComments(fileContent, preservedTokens);

@@ -251,0 +251,0 @@

{
"name":"css-combo",
"version":"0.3.1",
"version":"0.3.2",
"description":"css module combo tool",

@@ -5,0 +5,0 @@ "author":"daxingplay <daxingplay@gmail.com>",

@@ -36,2 +36,29 @@ var CssCombo = require('../lib/index'),

it('should not replace data uris', function(done){
CssCombo.build({
target: path.resolve(__dirname, 'css/test3.source.css'),
debug: false,
inputEncoding: 'utf-8',
outputEncoding: 'utf-8',
output:path.resolve(__dirname, 'css/test3.combo.css'),
compress: 0
}, function(e, report){
if(e){
throw new Error(e);
}else{
report = report[0];
if (report.target !== path.resolve(__dirname, 'css/test3.source.css')) {
throw new Error('report.target Error');
}
if (report.output !== path.resolve(__dirname, 'css/test3.combo.css')) {
throw new Error('report.output Error');
}
if (report.imports.length !== 1) {
throw new Error('report.imports Error');
}
}
done();
});
});
});

Sorry, the diff of this file is not supported yet

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