summaryrefslogtreecommitdiff
path: root/node_modules/postcss/lib/processor.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-01-15 18:39:22 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-01-15 18:39:22 +0800
commitfc20313fc9b457d6676ad273227f6bad3c652b92 (patch)
tree9935855ffdd7a2d5d0ef5659f63309b4e15fa014 /node_modules/postcss/lib/processor.js
parentd76c63da1426adbb2031ae4562d29521d621d817 (diff)
upgrade for package
Diffstat (limited to 'node_modules/postcss/lib/processor.js')
-rw-r--r--node_modules/postcss/lib/processor.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/node_modules/postcss/lib/processor.js b/node_modules/postcss/lib/processor.js
index 0629eb4f..9d6a5acd 100644
--- a/node_modules/postcss/lib/processor.js
+++ b/node_modules/postcss/lib/processor.js
@@ -7,7 +7,7 @@ let Root = require('./root')
class Processor {
constructor(plugins = []) {
- this.version = '8.4.32'
+ this.version = '8.4.33'
this.plugins = this.normalize(plugins)
}
@@ -43,10 +43,10 @@ class Processor {
process(css, opts = {}) {
if (
- this.plugins.length === 0 &&
- typeof opts.parser === 'undefined' &&
- typeof opts.stringifier === 'undefined' &&
- typeof opts.syntax === 'undefined'
+ !this.plugins.length &&
+ !opts.parser &&
+ !opts.stringifier &&
+ !opts.syntax
) {
return new NoWorkResult(this, css, opts)
} else {