postcss 8.4.22 → 8.4.23
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 +2 -2
- package/lib/processor.d.ts +2 -2
- package/lib/processor.js +1 -1
- package/package.json +1 -1
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/processor.d.ts
CHANGED
@@ -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 @
|
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,
|
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