postcss 8.1.9 → 8.1.10
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 +4 -0
- package/lib/lazy-result.d.ts +1 -1
- package/lib/postcss.d.ts +2 -0
- package/lib/processor.js +1 -1
- package/package.json +1 -1
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.1.10
|
5
|
+
* Fixed `LazyResult` type export (by Evan You).
|
6
|
+
* Fixed `LazyResult` type compatibility with `Promise` (by Anton Kastritskiy).
|
7
|
+
|
4
8
|
## 8.1.9
|
5
9
|
* Reduced dependencies number (by Bogdan Chadkin).
|
6
10
|
|
package/lib/lazy-result.d.ts
CHANGED
@@ -13,7 +13,7 @@ import Root from './root.js'
|
|
13
13
|
* const lazy = postcss([autoprefixer]).process(css)
|
14
14
|
* ```
|
15
15
|
*/
|
16
|
-
export default class LazyResult implements
|
16
|
+
export default class LazyResult implements PromiseLike<Result> {
|
17
17
|
/**
|
18
18
|
* Processes input CSS through synchronous and asynchronous plugins
|
19
19
|
* and calls `onFulfilled` with a Result instance. If a plugin throws
|
package/lib/postcss.d.ts
CHANGED
@@ -13,6 +13,7 @@ import Root, { RootProps } from './root.js'
|
|
13
13
|
import Comment, { CommentProps } from './comment.js'
|
14
14
|
import AtRule, { AtRuleProps } from './at-rule.js'
|
15
15
|
import Result, { Message } from './result.js'
|
16
|
+
import LazyResult from './lazy-result.js'
|
16
17
|
import Rule, { RuleProps } from './rule.js'
|
17
18
|
import Container, { ContainerProps } from './container.js'
|
18
19
|
import Warning, { WarningOptions } from './warning.js'
|
@@ -48,6 +49,7 @@ export {
|
|
48
49
|
Rule,
|
49
50
|
Root,
|
50
51
|
Result,
|
52
|
+
LazyResult,
|
51
53
|
Input
|
52
54
|
}
|
53
55
|
|
package/lib/processor.js
CHANGED