Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

postcss

Package Overview
Dependencies
Maintainers
1
Versions
279
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.5.13
to
8.5.14
+1
-1
lib/processor.js

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

constructor(plugins = []) {
this.version = '8.5.13'
this.version = '8.5.14'
this.plugins = this.normalize(plugins)

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

@@ -88,7 +88,3 @@ 'use strict'

block(node, start) {
let raws = node.raws
let between =
typeof raws.between !== 'undefined'
? raws.between
: this.raw(node, 'between', 'beforeOpen')
let between = this.raw(node, 'between', 'beforeOpen')
this.builder(escapeHTMLInCSS(start + between) + '{', node, 'start')

@@ -99,9 +95,5 @@

this.body(node)
after =
typeof raws.after !== 'undefined' ? raws.after : this.raw(node, 'after')
after = this.raw(node, 'after')
} else {
after =
typeof raws.after !== 'undefined'
? raws.after
: this.raw(node, 'after', 'emptyBody')
after = this.raw(node, 'after', 'emptyBody')
}

@@ -125,6 +117,3 @@

let child = nodes[i]
let before = child.raws.before
if (typeof before === 'undefined') {
before = this.raw(child, 'before')
}
let before = this.raw(child, 'before')
if (before) this.builder(isDocument ? before : escapeHTMLInCSS(before))

@@ -136,11 +125,4 @@ this.stringify(child, last !== i || semicolon)

comment(node) {
let raws = node.raws
let left =
typeof raws.left !== 'undefined'
? raws.left
: this.raw(node, 'left', 'commentLeft')
let right =
typeof raws.right !== 'undefined'
? raws.right
: this.raw(node, 'right', 'commentRight')
let left = this.raw(node, 'left', 'commentLeft')
let right = this.raw(node, 'right', 'commentRight')
this.builder(escapeHTMLInCSS('/*' + left + node.text + right + '*/'), node)

@@ -151,6 +133,3 @@ }

let raws = node.raws
let between =
typeof raws.between !== 'undefined'
? raws.between
: this.raw(node, 'between', 'colon')
let between = this.raw(node, 'between', 'colon')

@@ -157,0 +136,0 @@ let string = node.prop + between + this.rawValue(node, 'value')

{
"name": "postcss",
"version": "8.5.13",
"version": "8.5.14",
"description": "Tool for transforming styles with JS plugins",

@@ -5,0 +5,0 @@ "keywords": [