Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss

Package Overview
Dependencies
Maintainers
1
Versions
263
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.4.14 to 8.4.15

8

lib/container.js

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

let parse, Rule, AtRule
let parse, Rule, AtRule, Root

@@ -411,2 +411,6 @@ function cleanSource(nodes) {

Container.registerRoot = dependant => {
Rule = dependant
}
module.exports = Container

@@ -425,2 +429,4 @@ Container.default = Container

Object.setPrototypeOf(node, Comment.prototype)
} else if (node.type === 'root') {
Object.setPrototypeOf(node, Root.prototype)
}

@@ -427,0 +433,0 @@

12

lib/list.js

@@ -10,3 +10,4 @@ 'use strict'

let func = 0
let quote = false
let inQuote = false
let prevQuote = ''
let escape = false

@@ -19,8 +20,9 @@

escape = true
} else if (quote) {
if (letter === quote) {
quote = false
} else if (inQuote) {
if (letter === prevQuote) {
inQuote = false
}
} else if (letter === '"' || letter === "'") {
quote = letter
inQuote = true
prevQuote = letter
} else if (letter === '(') {

@@ -27,0 +29,0 @@ func += 1

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

constructor(plugins = []) {
this.version = '8.4.14'
this.version = '8.4.15'
this.plugins = this.normalize(plugins)

@@ -13,0 +13,0 @@ }

@@ -60,1 +60,3 @@ 'use strict'

Root.default = Root
Container.registerRoot(Root)
{
"name": "postcss",
"version": "8.4.14",
"version": "8.4.15",
"description": "Tool for transforming styles with JS plugins",

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

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