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.2.1 to 0.2.2

6

lib/index.js

@@ -109,2 +109,3 @@ var fs = require('fs'),

}
fileContent = iconv.encode(fileContent, config.outputEncoding || 'gbk');

@@ -121,6 +122,8 @@ var comboFile = config.output;

// fs.writeFileSync(comboFile, fileContent, '');
var fd = fs.openSync(comboFile, 'w');
// write file
fs.writeSync(fd, fileContent, 0, config.outputEncoding);
fs.writeSync(fd, fileContent, 0, fileContent.length);
fs.closeSync(fd);

@@ -171,2 +174,3 @@

var fileContent = iconv.decode(data, config.inputEncoding);
// var fileContent = data;
utils.log('file charset is: ' + config.inputEncoding, 'debug');

@@ -173,0 +177,0 @@

2

package.json
{
"name":"css-combo",
"version":"0.2.1",
"version":"0.2.2",
"description":"css module combo tool",

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

@@ -30,4 +30,8 @@ # css-combo

## ChangeList
* 0.2.2���������֮������ļ���������
## License
css-combo ���� "MIT"��https://github.com/daxingplay/css-combo/blob/master/LICENSE.md ��
var CssCombo = require('../lib/index'),
path = require('path');
path = require('path'),
fs = require('fs'),
iconv = require('iconv-lite');

@@ -7,5 +9,5 @@ CssCombo.build({

debug: true,
// inputEncoding: 'gbk',
// outputEncoding: 'gbk',
output:'css/test.combo.css',
inputEncoding: 'gbk',
outputEncoding: 'gbk',
output:path.resolve(__dirname, 'css/test.combo.css'),
compress: 0

@@ -18,2 +20,2 @@ }, function(e){

}
});
});

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