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.4.7 to 8.4.8

13

lib/parser.js

@@ -15,2 +15,10 @@ 'use strict'

function findLastWithPosition(tokens) {
for (let i = tokens.length - 1; i >= 0; i--) {
let token = tokens[i]
let pos = token[3] || token[2]
if (pos) return pos
}
}
class Parser {

@@ -181,4 +189,7 @@ constructor(input) {

}
node.source.end = this.getPosition(last[3] || last[2])
node.source.end = this.getPosition(
last[3] || last[2] || findLastWithPosition(tokens)
)
while (tokens[0][0] !== 'word') {

@@ -185,0 +196,0 @@ if (tokens.length === 1) this.unknownWord(tokens)

2

lib/processor.js

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

constructor(plugins = []) {
this.version = '8.4.7'
this.version = '8.4.8'
this.plugins = this.normalize(plugins)

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

{
"name": "postcss",
"version": "8.4.7",
"version": "8.4.8",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc