Comparing version 8.2.3 to 8.2.4
# Change Log | ||
This project adheres to [Semantic Versioning](https://semver.org/). | ||
## 8.2.4 | ||
* Added plugin name to `postcss.plugin()` warning (by Tom Williams). | ||
* Fixed docs (by Bill Columbia). | ||
## 8.2.3 | ||
* FIx `JSON.stringify(Node[])` support (by Niklas Mischkulnig). | ||
* Fixed `JSON.stringify(Node[])` support (by Niklas Mischkulnig). | ||
@@ -7,0 +11,0 @@ ## 8.2.2 |
@@ -25,3 +25,3 @@ 'use strict' | ||
} | ||
return new Processor(plugins, postcss) | ||
return new Processor(plugins) | ||
} | ||
@@ -32,3 +32,4 @@ | ||
console.warn( | ||
'postcss.plugin was deprecated. Migration guide:\n' + | ||
name + | ||
': postcss.plugin was deprecated. Migration guide:\n' + | ||
'https://evilmartians.com/chronicles/postcss-8-plugin-migration' | ||
@@ -39,3 +40,4 @@ ) | ||
console.warn( | ||
'postcss.plugin 被弃用. 迁移指南:\n' + | ||
name + | ||
': 里面 postcss.plugin 被弃用. 迁移指南:\n' + | ||
'https://www.w3ctech.com/topic/2226' | ||
@@ -42,0 +44,0 @@ ) |
@@ -8,3 +8,3 @@ 'use strict' | ||
constructor (plugins = []) { | ||
this.version = '8.2.3' | ||
this.version = '8.2.4' | ||
this.plugins = this.normalize(plugins) | ||
@@ -11,0 +11,0 @@ } |
{ | ||
"name": "postcss", | ||
"version": "8.2.3", | ||
"version": "8.2.4", | ||
"description": "Tool for transforming styles with JS plugins", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -419,3 +419,3 @@ # PostCSS [![Gitter][chat-img]][chat] | ||
if ( result.map ) { | ||
fs.writeFile('dest/app.css.map', result.map, () => true) | ||
fs.writeFile('dest/app.css.map', result.map.toString(), () => true) | ||
} | ||
@@ -422,0 +422,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
203350
5774