postcss 8.4.22 → 8.4.24

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/lib/at-rule.d.ts CHANGED
@@ -61,7 +61,7 @@ declare namespace AtRule {
61
61
  * }
62
62
  * ```
63
63
  *
64
- * If it’s followed in the CSS by a {} block, this node will have
64
+ * If it’s followed in the CSS by a `{}` block, this node will have
65
65
  * a nodes property representing its children.
66
66
  *
67
67
  * ```js
@@ -93,7 +93,7 @@ declare class AtRule_ extends Container {
93
93
 
94
94
  /**
95
95
  * The at-rule’s parameters, the values that follow the at-rule’s name
96
- * but precede any {} block.
96
+ * but precede any `{}` block.
97
97
  *
98
98
  * ```js
99
99
  * const root = postcss.parse('@media print, screen {}')
package/lib/postcss.d.ts CHANGED
@@ -138,13 +138,6 @@ interface Processors {
138
138
  * Will be called again on node or children changes.
139
139
  */
140
140
  CommentExit?: CommentProcessor
141
-
142
- /**
143
- * Will be called when all other listeners processed the document.
144
- *
145
- * This listener will not be called again.
146
- */
147
- Exit?: RootProcessor
148
141
  }
149
142
 
150
143
  declare namespace postcss {
@@ -59,7 +59,7 @@ declare class Processor_ {
59
59
  * * A plugin in `Plugin` format.
60
60
  * * A plugin creator function with `pluginCreator.postcss = true`.
61
61
  * PostCSS will call this function without argument to get plugin.
62
- * * A function. PostCSS will pass the function a @{link Root}
62
+ * * A function. PostCSS will pass the function a {@link Root}
63
63
  * as the first argument and current `Result` instance
64
64
  * as the second.
65
65
  * * Another `Processor` instance. PostCSS will copy plugins
@@ -95,7 +95,7 @@ declare class Processor_ {
95
95
  * ```
96
96
  *
97
97
  * @param css String with input CSS or any object with a `toString()` method,
98
- * like a Buffer. Optionally, senda `Result` instance
98
+ * like a Buffer. Optionally, send a `Result` instance
99
99
  * and the processor will take the `Root` from it.
100
100
  * @param opts Options.
101
101
  * @return Promise proxy.
package/lib/processor.js CHANGED
@@ -7,7 +7,7 @@ let Root = require('./root')
7
7
 
8
8
  class Processor {
9
9
  constructor(plugins = []) {
10
- this.version = '8.4.22'
10
+ this.version = '8.4.24'
11
11
  this.plugins = this.normalize(plugins)
12
12
  }
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.4.22",
3
+ "version": "8.4.24",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"