postcss-loader
Advanced tools
Comparing version 4.2.0 to 5.0.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [5.0.0](https://github.com/webpack-contrib/postcss-loader/compare/v4.2.0...v5.0.0) (2021-02-02) | ||
### ⚠ BREAKING CHANGES | ||
* minimum supported `webpack` version is `5` | ||
## [4.2.0](https://github.com/webpack-contrib/postcss-loader/compare/v4.1.0...v4.2.0) (2021-01-21) | ||
@@ -7,0 +14,0 @@ |
@@ -8,6 +8,2 @@ "use strict"; | ||
var _loaderUtils = require("loader-utils"); | ||
var _schemaUtils = require("schema-utils"); | ||
var _postcss = _interopRequireDefault(require("postcss")); | ||
@@ -43,7 +39,3 @@ | ||
async function loader(content, sourceMap, meta) { | ||
const options = (0, _loaderUtils.getOptions)(this); | ||
(0, _schemaUtils.validate)(_options.default, options, { | ||
name: "PostCSS Loader", | ||
baseDataPath: "options" | ||
}); | ||
const options = this.getOptions(_options.default); | ||
const callback = this.async(); | ||
@@ -50,0 +42,0 @@ const configOption = typeof options.postcssOptions === "undefined" || typeof options.postcssOptions.config === "undefined" ? true : options.postcssOptions.config; |
{ | ||
"title": "PostCSS Loader options", | ||
"type": "object", | ||
@@ -3,0 +4,0 @@ "properties": { |
@@ -76,3 +76,3 @@ "use strict"; | ||
loaderContext.addDependency(result.filepath); | ||
loaderContext.addBuildDependency(result.filepath); | ||
@@ -79,0 +79,0 @@ if (result.isEmpty) { |
{ | ||
"name": "postcss-loader", | ||
"version": "4.2.0", | ||
"version": "5.0.0", | ||
"description": "PostCSS loader for webpack", | ||
@@ -41,3 +41,3 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"webpack": "^4.0.0 || ^5.0.0", | ||
"webpack": "^5.0.0", | ||
"postcss": "^7.0.0 || ^8.0.1" | ||
@@ -48,4 +48,2 @@ }, | ||
"klona": "^2.0.4", | ||
"loader-utils": "^2.0.0", | ||
"schema-utils": "^3.0.0", | ||
"semver": "^7.3.4" | ||
@@ -66,9 +64,9 @@ }, | ||
"del-cli": "^3.0.1", | ||
"eslint": "^7.18.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint": "^7.17.0", | ||
"eslint-config-prettier": "^7.1.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"husky": "^4.3.8", | ||
"husky": "^4.3.6", | ||
"jest": "^26.6.3", | ||
"less": "^4.1.0", | ||
"less-loader": "^7.2.1", | ||
"less": "^4.0.0", | ||
"less-loader": "^8.0.0", | ||
"lint-staged": "^10.5.3", | ||
@@ -78,3 +76,3 @@ "memfs": "^3.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.2.4", | ||
"postcss": "^8.2.2", | ||
"postcss-dark-theme-class": "^0.5.1", | ||
@@ -85,9 +83,9 @@ "postcss-import": "^14.0.0", | ||
"postcss-short": "^5.0.0", | ||
"prettier": "^2.2.0", | ||
"sass": "^1.32.5", | ||
"sass-loader": "^10.1.1", | ||
"prettier": "^2.2.1", | ||
"sass": "^1.32.0", | ||
"sass-loader": "^10.1.0", | ||
"standard-version": "^9.1.0", | ||
"strip-ansi": "^6.0.0", | ||
"sugarss": "^3.0.3", | ||
"webpack": "^5.16.0" | ||
"webpack": "^5.11.1" | ||
}, | ||
@@ -94,0 +92,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
58805
483
- Removedloader-utils@^2.0.0
- Removedschema-utils@^3.0.0
- Removedbig.js@5.2.2(transitive)
- Removedemojis-list@3.0.0(transitive)
- Removedjson5@2.2.3(transitive)
- Removedloader-utils@2.0.4(transitive)