summaryrefslogtreecommitdiff
path: root/node_modules/postcss/lib/processor.js
diff options
context:
space:
mode:
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 {