New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.7 to 0.2.9

17

lib/index.js

@@ -11,3 +11,4 @@ /**

async = require('async'),
utils = require('./utils');
utils = require('./utils'),
os = require('os');

@@ -30,2 +31,4 @@ function CssCombo(cfg, callback){

cfg.linefeed = cfg.linefeed || os.EOL;
cfg.compress = !!cfg.compress;

@@ -95,15 +98,15 @@

commentTpl = [
'/*\r\n',
'combined files : \r\n',
'\r\n'
'/*' + config.linefeed,
'combined files : ' + config.linefeed,
config.linefeed
];
for (var i in self.imports) {
commentTpl.push(self.imports[i] + '\r\n');
commentTpl.push(self.imports[i] + config.linefeed);
}
commentTpl.push('*/\r\n');
commentTpl.push('*/' + config.linefeed);
// join combo comment to file content.
fileContent = commentTpl.join('') + '\r\n' + fileContent;
fileContent = commentTpl.join('') + config.linefeed + fileContent;
var cssFileExt = '.combo.css';

@@ -110,0 +113,0 @@ if(config.compress){

{
"name":"css-combo",
"version":"0.2.7",
"version":"0.2.9",
"description":"css module combo tool",

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

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