sass-loader 10.0.0 → 10.0.1
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 +6 -0
- package/dist/utils.js +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
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.1](https://github.com/webpack-contrib/sass-loader/compare/v10.0.0...v10.0.1) (2020-08-25)
|
|
6
|
+
|
|
7
|
+
### Chore
|
|
8
|
+
|
|
9
|
+
* update deps
|
|
10
|
+
|
|
5
11
|
## [10.0.0](https://github.com/webpack-contrib/sass-loader/compare/v10.0.0-rc.0...v10.0.0) (2020-08-24)
|
|
6
12
|
|
|
7
13
|
### Bug Fixes
|
package/dist/utils.js
CHANGED
|
@@ -16,7 +16,7 @@ var _path = _interopRequireDefault(require("path"));
|
|
|
16
16
|
|
|
17
17
|
var _semver = _interopRequireDefault(require("semver"));
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _full = require("klona/full");
|
|
20
20
|
|
|
21
21
|
var _loaderUtils = require("loader-utils");
|
|
22
22
|
|
|
@@ -115,7 +115,7 @@ function proxyCustomImporters(importers, loaderContext) {
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
function getSassOptions(loaderContext, loaderOptions, content, implementation, useSourceMap) {
|
|
118
|
-
const options = (0,
|
|
118
|
+
const options = (0, _full.klona)(loaderOptions.sassOptions ? typeof loaderOptions.sassOptions === 'function' ? loaderOptions.sassOptions(loaderContext) || {} : loaderOptions.sassOptions : {});
|
|
119
119
|
const isDartSass = implementation.info.includes('dart-sass');
|
|
120
120
|
|
|
121
121
|
if (isDartSass) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sass-loader",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"description": "Sass loader for webpack",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "webpack-contrib/sass-loader",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"klona": "^
|
|
59
|
+
"klona": "^2.0.3",
|
|
60
60
|
"loader-utils": "^2.0.0",
|
|
61
61
|
"neo-async": "^2.6.2",
|
|
62
62
|
"schema-utils": "^2.7.0",
|
|
@@ -64,36 +64,36 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@babel/cli": "^7.10.5",
|
|
67
|
-
"@babel/core": "^7.11.
|
|
67
|
+
"@babel/core": "^7.11.4",
|
|
68
68
|
"@babel/preset-env": "^7.11.0",
|
|
69
|
-
"@commitlint/cli": "^
|
|
70
|
-
"@commitlint/config-conventional": "^
|
|
69
|
+
"@commitlint/cli": "^10.0.0",
|
|
70
|
+
"@commitlint/config-conventional": "^10.0.0",
|
|
71
71
|
"@webpack-contrib/defaults": "^6.3.0",
|
|
72
72
|
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
|
73
|
-
"babel-jest": "^26.
|
|
74
|
-
"bootstrap": "^4.5.
|
|
73
|
+
"babel-jest": "^26.3.0",
|
|
74
|
+
"bootstrap": "^4.5.2",
|
|
75
75
|
"bootstrap-sass": "^3.4.1",
|
|
76
76
|
"cross-env": "^7.0.2",
|
|
77
|
-
"css-loader": "^4.2.
|
|
77
|
+
"css-loader": "^4.2.2",
|
|
78
78
|
"del": "^5.1.0",
|
|
79
79
|
"del-cli": "^3.0.1",
|
|
80
80
|
"enhanced-resolve": "^4.3.0",
|
|
81
|
-
"eslint": "^7.
|
|
81
|
+
"eslint": "^7.7.0",
|
|
82
82
|
"eslint-config-prettier": "^6.11.0",
|
|
83
83
|
"eslint-plugin-import": "^2.21.2",
|
|
84
84
|
"fibers": "^5.0.0",
|
|
85
85
|
"file-loader": "^6.0.0",
|
|
86
86
|
"foundation-sites": "^6.6.3",
|
|
87
87
|
"husky": "^4.2.5",
|
|
88
|
-
"jest": "^26.
|
|
89
|
-
"lint-staged": "^10.2.
|
|
88
|
+
"jest": "^26.4.2",
|
|
89
|
+
"lint-staged": "^10.2.12",
|
|
90
90
|
"material-components-web": "^7.0.0",
|
|
91
91
|
"memfs": "^3.2.0",
|
|
92
92
|
"node-sass": "^4.14.1",
|
|
93
93
|
"npm-run-all": "^4.1.5",
|
|
94
|
-
"prettier": "^2.0
|
|
94
|
+
"prettier": "^2.1.0",
|
|
95
95
|
"sass": "^1.26.10",
|
|
96
|
-
"standard-version": "^
|
|
96
|
+
"standard-version": "^9.0.0",
|
|
97
97
|
"style-loader": "^1.2.1",
|
|
98
98
|
"webpack": "^4.44.1"
|
|
99
99
|
},
|