postcss 8.2.5 → 8.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of postcss might be problematic. Click here for more details.

package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](https://semver.org/).
3
3
 
4
+ ## 8.2.6
5
+ * Fixed `Maximum call stack size exceeded` in `Node#toJSON`.
6
+ * Fixed docs (by inokawa).
7
+
4
8
  ## 8.2.5
5
9
  * Fixed escaped characters handling in `list.split` (by Natalie Weizenbaum).
6
10
 
@@ -298,7 +298,7 @@ export default abstract class Container extends Node {
298
298
  * Add child to the end of the node.
299
299
  *
300
300
  * ```js
301
- * rule.push(new Declaration({ prop: 'color', value: 'black' }}))
301
+ * rule.push(new Declaration({ prop: 'color', value: 'black' }))
302
302
  * ```
303
303
  *
304
304
  * @param child New node.
package/lib/node.js CHANGED
@@ -177,7 +177,7 @@ class Node {
177
177
  // istanbul ignore next
178
178
  continue
179
179
  }
180
- if (name === 'parent') continue
180
+ if (name === 'parent' || name === 'proxyCache') continue
181
181
  let value = this[name]
182
182
 
183
183
  if (Array.isArray(value)) {
package/lib/processor.js CHANGED
@@ -5,7 +5,7 @@ let Root = require('./root')
5
5
 
6
6
  class Processor {
7
7
  constructor (plugins = []) {
8
- this.version = '8.2.5'
8
+ this.version = '8.2.6'
9
9
  this.plugins = this.normalize(plugins)
10
10
  }
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.2.5",
3
+ "version": "8.2.6",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"