Comparing version 8.1.7 to 8.1.8
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
This project adheres to [Semantic Versioning](https://semver.org/). | ||
## 8.1.8 | ||
* Fix `LazyResult` type compatibility with `Promise` (by Ludovico Fischer). | ||
* Use HTTPS links in documentation. | ||
## 8.1.7 | ||
@@ -5,0 +9,0 @@ * Fix `import` support in TypeScript (by Remco Haszing). |
@@ -16,3 +16,3 @@ import Result, { Message, ResultOptions } from './result.js' | ||
*/ | ||
export default class LazyResult { | ||
export default class LazyResult implements Promise<Result> { | ||
/** | ||
@@ -71,2 +71,8 @@ * Processes input CSS through synchronous and asynchronous plugins | ||
/** | ||
* Returns the default string description of an object. | ||
* Required to implement the Promise interface. | ||
*/ | ||
get [Symbol.toStringTag] (): string | ||
/** | ||
* Returns a `Processor` instance, which will be used | ||
@@ -73,0 +79,0 @@ * for CSS transformations. |
@@ -117,2 +117,6 @@ 'use strict' | ||
get [Symbol.toStringTag] () { | ||
return 'LazyResult' | ||
} | ||
get processor () { | ||
@@ -119,0 +123,0 @@ return this.result.processor |
@@ -8,3 +8,3 @@ 'use strict' | ||
constructor (plugins = []) { | ||
this.version = '8.1.7' | ||
this.version = '8.1.8' | ||
this.plugins = this.normalize(plugins) | ||
@@ -11,0 +11,0 @@ } |
{ | ||
"name": "postcss", | ||
"version": "8.1.7", | ||
"version": "8.1.8", | ||
"description": "Tool for transforming styles with JS plugins", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -63,3 +63,3 @@ # PostCSS [![Gitter][chat-img]][chat] | ||
[searchable catalog]: http://postcss.parts | ||
[searchable catalog]: https://www.postcss.parts/ | ||
[plugins list]: https://github.com/postcss/postcss/blob/master/docs/plugins.md | ||
@@ -143,3 +143,3 @@ | ||
[`stylefmt`]: https://github.com/morishitter/stylefmt | ||
[`cssnano`]: http://cssnano.co | ||
[`cssnano`]: https://cssnano.co/ | ||
[`precss`]: https://github.com/jonathantneal/precss | ||
@@ -195,4 +195,4 @@ [`doiuse`]: https://github.com/anandthakker/doiuse | ||
* [Some things you may think about PostCSS… and you might be wrong](http://julian.io/some-things-you-may-think-about-postcss-and-you-might-be-wrong) | ||
* [What PostCSS Really Is; What It Really Does](http://davidtheclark.com/its-time-for-everyone-to-learn-about-postcss) | ||
* [PostCSS Guides](http://webdesign.tutsplus.com/series/postcss-deep-dive--cms-889) | ||
* [What PostCSS Really Is; What It Really Does](https://davidtheclark.com/its-time-for-everyone-to-learn-about-postcss/) | ||
* [PostCSS Guides](https://webdesign.tutsplus.com/series/postcss-deep-dive--cms-889) | ||
@@ -214,3 +214,3 @@ More articles and videos you can find on [awesome-postcss](https://github.com/jjaderg/awesome-postcss) list. | ||
[Select plugins]: http://postcss.parts | ||
[Select plugins]: https://www.postcss.parts/ | ||
@@ -217,0 +217,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
198156
5617