Socket
Socket
Sign inDemoInstall

postcss

Package Overview
Dependencies
3
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.2.3 to 8.2.4

6

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](https://semver.org/).
## 8.2.4
* Added plugin name to `postcss.plugin()` warning (by Tom Williams).
* Fixed docs (by Bill Columbia).
## 8.2.3
* FIx `JSON.stringify(Node[])` support (by Niklas Mischkulnig).
* Fixed `JSON.stringify(Node[])` support (by Niklas Mischkulnig).

@@ -7,0 +11,0 @@ ## 8.2.2

8

lib/postcss.js

@@ -25,3 +25,3 @@ 'use strict'

}
return new Processor(plugins, postcss)
return new Processor(plugins)
}

@@ -32,3 +32,4 @@

console.warn(
'postcss.plugin was deprecated. Migration guide:\n' +
name +
': postcss.plugin was deprecated. Migration guide:\n' +
'https://evilmartians.com/chronicles/postcss-8-plugin-migration'

@@ -39,3 +40,4 @@ )

console.warn(
'postcss.plugin 被弃用. 迁移指南:\n' +
name +
': 里面 postcss.plugin 被弃用. 迁移指南:\n' +
'https://www.w3ctech.com/topic/2226'

@@ -42,0 +44,0 @@ )

@@ -8,3 +8,3 @@ 'use strict'

constructor (plugins = []) {
this.version = '8.2.3'
this.version = '8.2.4'
this.plugins = this.normalize(plugins)

@@ -11,0 +11,0 @@ }

{
"name": "postcss",
"version": "8.2.3",
"version": "8.2.4",
"description": "Tool for transforming styles with JS plugins",

@@ -5,0 +5,0 @@ "engines": {

@@ -419,3 +419,3 @@ # PostCSS [![Gitter][chat-img]][chat]

if ( result.map ) {
fs.writeFile('dest/app.css.map', result.map, () => true)
fs.writeFile('dest/app.css.map', result.map.toString(), () => true)
}

@@ -422,0 +422,0 @@ })

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc