postcss-loader
Advanced tools
Comparing version
@@ -102,3 +102,3 @@ "use strict"; | ||
// not the functions from the `fs` module. | ||
if (!hasExplicitDependencyOnPostCSS && processor.version.startsWith("7.")) { | ||
if (!hasExplicitDependencyOnPostCSS && processor && processor.version && processor.version.startsWith("7.")) { | ||
// The `findPackageJsonDir` function returns `string` or `null`. | ||
@@ -105,0 +105,0 @@ // This is used to do for caching, that is, an explicit comparison with `undefined` |
{ | ||
"name": "postcss-loader", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "PostCSS loader for webpack", | ||
@@ -50,3 +50,3 @@ "license": "MIT", | ||
"@babel/cli": "^7.14.5", | ||
"@babel/core": "^7.14.5", | ||
"@babel/core": "^7.14.6", | ||
"@babel/preset-env": "^7.14.5", | ||
@@ -60,10 +60,10 @@ "@commitlint/cli": "^12.1.4", | ||
"del": "^6.0.0", | ||
"del-cli": "^3.0.1", | ||
"del-cli": "^4.0.0", | ||
"eslint": "^7.28.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.23.4", | ||
"husky": "^6.0.0", | ||
"husky": "^7.0.0", | ||
"jest": "^27.0.4", | ||
"less": "^4.1.1", | ||
"less-loader": "^9.0.0", | ||
"less-loader": "^10.0.0", | ||
"lint-staged": "^11.0.0", | ||
@@ -80,8 +80,8 @@ "memfs": "^3.2.2", | ||
"prettier": "^2.3.1", | ||
"sass": "^1.34.1", | ||
"sass-loader": "^12.0.0", | ||
"sass": "^1.35.1", | ||
"sass-loader": "^12.1.0", | ||
"standard-version": "^9.3.0", | ||
"strip-ansi": "^6.0.0", | ||
"sugarss": "^3.0.3", | ||
"webpack": "^5.38.1" | ||
"sugarss": "^4.0.1", | ||
"webpack": "^5.39.0" | ||
}, | ||
@@ -88,0 +88,0 @@ "keywords": [ |
@@ -136,2 +136,3 @@ <div align="center"> | ||
| [`sourceMap`](#sourcemap) | `{Boolean}` | `compiler.devtool` | Enables/Disables generation of source maps | | ||
| [`implementation`](#implementation) | `{Function\|String}` | `postcss` | Setup PostCSS implementation to use | | ||
@@ -602,2 +603,3 @@ ### `execute` | ||
Type: `Function | String` | ||
Default: `postcss` | ||
@@ -604,0 +606,0 @@ The special `implementation` option determines which implementation of PostCSS to use. Overrides the locally installed `peerDependency` version of `postcss`. |
47816
0.43%1100
0.18%