Socket
Socket
Sign inDemoInstall

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 3.5.0 to 3.5.1

4

HISTORY.md

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

## 3.5.1 (June 7, 2018)
- Bumped [CSSTree](https://github.com/csstree/csstree) to `1.0.0-alpha.29` (fixes some issues)
## 3.5.0 (January 14, 2018)

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

8

package.json
{
"name": "csso",
"version": "3.5.0",
"version": "3.5.1",
"description": "CSS minifier with structural optimisations",

@@ -61,3 +61,3 @@ "keywords": [

"dependencies": {
"css-tree": "1.0.0-alpha.27"
"css-tree": "1.0.0-alpha.29"
},

@@ -69,4 +69,4 @@ "devDependencies": {

"istanbul": "^0.4.2",
"jscs": "~2.10.0",
"mocha": "~2.4.2",
"jscs": "~3.0.7",
"mocha": "^3.5.3",
"package-json-versionify": "^1.0.4",

@@ -73,0 +73,0 @@ "source-map": "^0.5.6",

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

var compressedAst = csso.compress(ast).ast;
var minifiedCss = csso.syntax.translate(compressedAst);
var minifiedCss = csso.syntax.generate(compressedAst);

@@ -371,3 +371,3 @@ console.log(minifiedCss);

Note that class name can't be set for several scopes. Also selector can't has a class names from different scopes. In both cases an exception will thrown.
Note that class name can't be set for several scopes. Also a selector can't have class names from different scopes. In both cases an exception will thrown.

@@ -374,0 +374,0 @@ Currently the optimizer doesn't care about changing order safety for out-of-bounds selectors (i.e. selectors that match to elements without class name, e.g. `.scope div` or `.scope ~ :last-child`). It assumes that scoped CSS modules doesn't relay on it's order. It may be fix in future if to be an issue.

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