+1
-1
@@ -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 @@ } |
+7
-28
@@ -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') |
+1
-1
| { | ||
| "name": "postcss", | ||
| "version": "8.5.13", | ||
| "version": "8.5.14", | ||
| "description": "Tool for transforming styles with JS plugins", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
205296
-0.27%7061
-0.3%