@@ -382,3 +382,6 @@ 'use strict' | ||
| let rootSource = this.result.root.source | ||
| if (opts.map === undefined && !(rootSource && rootSource.input && rootSource.input.map)) { | ||
| if ( | ||
| opts.map === undefined && | ||
| !(rootSource && rootSource.input && rootSource.input.map) | ||
| ) { | ||
| let result = '' | ||
@@ -385,0 +388,0 @@ str(this.result.root, i => { |
+1
-1
@@ -10,3 +10,3 @@ 'use strict' | ||
| constructor(plugins = []) { | ||
| this.version = '8.5.12' | ||
| this.version = '8.5.13' | ||
| this.plugins = this.normalize(plugins) | ||
@@ -13,0 +13,0 @@ } |
+23
-22
@@ -89,5 +89,6 @@ 'use strict' | ||
| let raws = node.raws | ||
| let between = typeof raws.between !== 'undefined' | ||
| ? raws.between | ||
| : this.raw(node, 'between', 'beforeOpen') | ||
| let between = | ||
| typeof raws.between !== 'undefined' | ||
| ? raws.between | ||
| : this.raw(node, 'between', 'beforeOpen') | ||
| this.builder(escapeHTMLInCSS(start + between) + '{', node, 'start') | ||
@@ -98,9 +99,9 @@ | ||
| this.body(node) | ||
| after = typeof raws.after !== 'undefined' | ||
| ? raws.after | ||
| : this.raw(node, 'after') | ||
| after = | ||
| typeof raws.after !== 'undefined' ? raws.after : this.raw(node, 'after') | ||
| } else { | ||
| after = typeof raws.after !== 'undefined' | ||
| ? raws.after | ||
| : this.raw(node, 'after', 'emptyBody') | ||
| after = | ||
| typeof raws.after !== 'undefined' | ||
| ? raws.after | ||
| : this.raw(node, 'after', 'emptyBody') | ||
| } | ||
@@ -135,8 +136,10 @@ | ||
| 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 = | ||
| typeof raws.left !== 'undefined' | ||
| ? raws.left | ||
| : this.raw(node, 'left', 'commentLeft') | ||
| let right = | ||
| typeof raws.right !== 'undefined' | ||
| ? raws.right | ||
| : this.raw(node, 'right', 'commentRight') | ||
| this.builder(escapeHTMLInCSS('/*' + left + node.text + right + '*/'), node) | ||
@@ -147,11 +150,9 @@ } | ||
| let raws = node.raws | ||
| let between = typeof raws.between !== 'undefined' | ||
| ? raws.between | ||
| : this.raw(node, 'between', 'colon') | ||
| let between = | ||
| typeof raws.between !== 'undefined' | ||
| ? raws.between | ||
| : this.raw(node, 'between', 'colon') | ||
| let rawVal = raws.value | ||
| let value = rawVal && rawVal.value === node.value ? rawVal.raw : node.value | ||
| let string = node.prop + between + this.rawValue(node, 'value') | ||
| let string = node.prop + between + value | ||
| if (node.important) { | ||
@@ -158,0 +159,0 @@ string += raws.important || ' !important' |
+1
-1
| { | ||
| "name": "postcss", | ||
| "version": "8.5.12", | ||
| "version": "8.5.13", | ||
| "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
7082
0.07%205856
-0.01%