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

csso

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csso - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

4

HISTORY.md

@@ -0,1 +1,5 @@

## 1.6.3 (February 29, 2016)
- add `file` to generated source map since other tools can relay on it in source map transform chain
## 1.6.2 (February 29, 2016)

@@ -2,0 +6,0 @@

@@ -67,2 +67,3 @@ var parse = require('./parser');

var tmp = traslateInternalWithSourceMap(compressedAst);
tmp.map._file = filename; // since other tools can relay on file in source map transform chain
tmp.map.setSourceContent(filename, source);

@@ -69,0 +70,0 @@ return tmp;

6

package.json
{
"name": "csso",
"description": "CSSO — CSS optimizer",
"version": "1.6.2",
"version": "1.6.3",
"homepage": "https://github.com/css/csso",

@@ -30,4 +30,4 @@ "author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)",

"rules": {
"no-undef": 1,
"no-unused-vars": [1, {"vars": "all", "args": "after-used"}]
"no-undef": 2,
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}]
}

@@ -34,0 +34,0 @@ },

@@ -138,3 +138,3 @@ [![NPM version](https://img.shields.io/npm/v/csso.svg)](https://www.npmjs.com/package/csso)

var SourceMapConsumer = require('source-map').SourceMapConsumer;
var inputSourceMap = fs.readFileSync('path/to/my.map.css', 'utf8');
var inputSourceMap = fs.readFileSync('path/to/my.css.map', 'utf8');

@@ -145,5 +145,2 @@ result.map.applySourceMap(

);
// if no input source map you may add source content
result.map.setContent('path/to/my.css', setSourceContent);
```

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

Sorry, the diff of this file is too big to display

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