Socket
Socket
Sign inDemoInstall

postcss

Package Overview
Dependencies
Maintainers
1
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss - npm Package Compare versions

Comparing version 8.1.7 to 8.1.8

6

CHANGELOG.md
# 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

2

lib/processor.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc