Comparing version
@@ -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 @@ |
{ | ||
"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 @@ [](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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
334961
2.53%3427
-0.03%8
14.29%+ Added
+ Added
- Removed
- Removed
Updated