sass-loader 10.0.4 → 10.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [10.0.5](https://github.com/webpack-contrib/sass-loader/compare/v10.0.4...v10.0.5) (2020-11-02)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * support node-sass v5.0.0 ([#899](https://github.com/webpack-contrib/sass-loader/issues/899)) ([c3e279f](https://github.com/webpack-contrib/sass-loader/commit/c3e279fb4668fce4c597a6c8cd1d0f2ff8bc95e5))
11
+
5
12
  ### [10.0.4](https://github.com/webpack-contrib/sass-loader/compare/v10.0.3...v10.0.4) (2020-10-22)
6
13
 
7
14
 
package/README.md CHANGED
@@ -148,7 +148,7 @@ Example where the `sass-loader` loader uses the `node-sass` implementation:
148
148
  {
149
149
  "devDependencies": {
150
150
  "sass-loader": "^7.2.0",
151
- "node-sass": "^4.0.0"
151
+ "node-sass": "^5.0.0"
152
152
  }
153
153
  }
154
154
  ```
package/dist/utils.js CHANGED
@@ -80,8 +80,8 @@ function getSassImplementation(implementation) {
80
80
 
81
81
  return resolvedImplementation;
82
82
  } else if (implementationName === 'node-sass') {
83
- if (!_semver.default.satisfies(version, '^4.0.0')) {
84
- throw new Error(`Node Sass version ${version} is incompatible with ^4.0.0.`);
83
+ if (!_semver.default.satisfies(version, '^4.0.0 || ^5.0.0')) {
84
+ throw new Error(`Node Sass version ${version} is incompatible with ^4.0.0 || ^5.0.0.`);
85
85
  }
86
86
 
87
87
  return resolvedImplementation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-loader",
3
- "version": "10.0.4",
3
+ "version": "10.0.5",
4
4
  "description": "Sass loader for webpack",
5
5
  "license": "MIT",
6
6
  "repository": "webpack-contrib/sass-loader",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "peerDependencies": {
42
42
  "webpack": "^4.36.0 || ^5.0.0",
43
- "node-sass": "^4.0.0",
43
+ "node-sass": "^4.0.0 || ^5.0.0",
44
44
  "sass": "^1.3.0",
45
45
  "fibers": ">= 3.1.0"
46
46
  },
@@ -89,7 +89,7 @@
89
89
  "lint-staged": "^10.4.2",
90
90
  "material-components-web": "^7.0.0",
91
91
  "memfs": "^3.2.0",
92
- "node-sass": "^4.14.1",
92
+ "node-sass": "^5.0.0",
93
93
  "npm-run-all": "^4.1.5",
94
94
  "prettier": "^2.1.2",
95
95
  "sass": "^1.27.0",