Skip to content

Commit 923342c

Browse files
fix: updating dependencies
1 parent 3f975cd commit 923342c

9 files changed

+2946
-1020
lines changed

package-lock.json

Lines changed: 2938 additions & 1010 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"webpack": "^4.4.0"
4444
},
4545
"dependencies": {
46-
"loader-utils": "^1.1.0",
46+
"loader-utils": "^1.2.3",
4747
"normalize-url": "^4.1.0",
4848
"schema-utils": "^1.0.0",
4949
"webpack-sources": "^1.1.0"

test/cases/js-hash/expected/main.52d8306d460bb8ad1388.js renamed to test/cases/js-hash/expected/main.b0dda790a0159fcac7fc.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
/******/
4949
/******/ // script path function
5050
/******/ function jsonpScriptSrc(chunkId) {
51-
/******/ return __webpack_require__.p + "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"c335d5d236ba55a3fbff"}[chunkId] + ".js"
51+
/******/ return __webpack_require__.p + "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"180f3fba78696a1fb89c"}[chunkId] + ".js"
5252
/******/ }
5353
/******/
5454
/******/ // The require function
@@ -86,7 +86,7 @@
8686
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
8787
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
8888
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
89-
/******/ var href = "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"822a674590ef68e758b3"}[chunkId] + "." + {"1":"da149d34018298af23b9"}[chunkId] + ".css";
89+
/******/ var href = "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"cb90164705bd5073285d"}[chunkId] + ".css";
9090
/******/ var fullhref = __webpack_require__.p + href;
9191
/******/ var existingLinkTags = document.getElementsByTagName("link");
9292
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
@@ -137,7 +137,6 @@
137137
/******/ promises.push(installedChunkData[2] = promise);
138138
/******/
139139
/******/ // start chunk loading
140-
/******/ var head = document.getElementsByTagName('head')[0];
141140
/******/ var script = document.createElement('script');
142141
/******/ var onScriptComplete;
143142
/******/
@@ -169,7 +168,7 @@
169168
/******/ onScriptComplete({ type: 'timeout', target: script });
170169
/******/ }, 120000);
171170
/******/ script.onerror = script.onload = onScriptComplete;
172-
/******/ head.appendChild(script);
171+
/******/ document.head.appendChild(script);
173172
/******/ }
174173
/******/ }
175174
/******/ return Promise.all(promises);

test/cases/js-hash/expected/main.73e85e9f40154bbb5412.js renamed to test/cases/js-hash/expected/main.b8e32f616b2d1e81b39c.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
/******/
4949
/******/ // script path function
5050
/******/ function jsonpScriptSrc(chunkId) {
51-
/******/ return __webpack_require__.p + "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"74b98ee6c7507ed560f7"}[chunkId] + ".js"
51+
/******/ return __webpack_require__.p + "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"181319770a6c480a0ff6"}[chunkId] + ".js"
5252
/******/ }
5353
/******/
5454
/******/ // The require function
@@ -86,7 +86,7 @@
8686
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
8787
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
8888
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
89-
/******/ var href = "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"11a76e1512072d65b9db"}[chunkId] + "." + {"1":"c747f8a6eecaeef208b9"}[chunkId] + ".css";
89+
/******/ var href = "" + ({"1":"style"}[chunkId]||chunkId) + "." + {"1":"a01f648739f34c701d28"}[chunkId] + ".css";
9090
/******/ var fullhref = __webpack_require__.p + href;
9191
/******/ var existingLinkTags = document.getElementsByTagName("link");
9292
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
@@ -137,7 +137,6 @@
137137
/******/ promises.push(installedChunkData[2] = promise);
138138
/******/
139139
/******/ // start chunk loading
140-
/******/ var head = document.getElementsByTagName('head')[0];
141140
/******/ var script = document.createElement('script');
142141
/******/ var onScriptComplete;
143142
/******/
@@ -169,7 +168,7 @@
169168
/******/ onScriptComplete({ type: 'timeout', target: script });
170169
/******/ }, 120000);
171170
/******/ script.onerror = script.onload = onScriptComplete;
172-
/******/ head.appendChild(script);
171+
/******/ document.head.appendChild(script);
173172
/******/ }
174173
/******/ }
175174
/******/ return Promise.all(promises);

test/cases/js-hash/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = [1, 2].map(n => ({
3030
},
3131
plugins: [
3232
new Self({
33-
filename: `[name].[contenthash].[chunkhash].css`,
33+
filename: `[name].[chunkhash].css`,
3434
}),
3535
],
3636
}));

0 commit comments

Comments
 (0)