Skip to content

Commit e0d834d

Browse files
test: update snapshots
1 parent 8171439 commit e0d834d

File tree

19 files changed

+1260
-1235
lines changed

19 files changed

+1260
-1235
lines changed

Diff for: package-lock.json

+1,234-1,209
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: test/cases/chunkFilename-fullhash/expected/webpack-5-importModule/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ __webpack_require__.r(__webpack_exports__);
7373
/******/
7474
/******/ /* webpack/runtime/getFullHash */
7575
/******/ (() => {
76-
/******/ __webpack_require__.h = () => ("bb36c53eabba881e0081")
76+
/******/ __webpack_require__.h = () => ("acd0bc1ae24d05fdac73")
7777
/******/ })();
7878
/******/
7979
/******/ /* webpack/runtime/global */
@@ -313,7 +313,7 @@ __webpack_require__.r(__webpack_exports__);
313313
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
314314
/******/ }
315315
/******/ }
316-
/******/ if(runtime) runtime(__webpack_require__);
316+
/******/ if(runtime) var result = runtime(__webpack_require__);
317317
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
318318
/******/ for(;i < chunkIds.length; i++) {
319319
/******/ chunkId = chunkIds[i];

Diff for: test/cases/chunkFilename-fullhash/expected/webpack-5/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ __webpack_require__.r(__webpack_exports__);
7373
/******/
7474
/******/ /* webpack/runtime/getFullHash */
7575
/******/ (() => {
76-
/******/ __webpack_require__.h = () => ("07119853b0d8e8fbe3ca")
76+
/******/ __webpack_require__.h = () => ("4ecab8e2ff0fe228a728")
7777
/******/ })();
7878
/******/
7979
/******/ /* webpack/runtime/global */
@@ -313,7 +313,7 @@ __webpack_require__.r(__webpack_exports__);
313313
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
314314
/******/ }
315315
/******/ }
316-
/******/ if(runtime) runtime(__webpack_require__);
316+
/******/ if(runtime) var result = runtime(__webpack_require__);
317317
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
318318
/******/ for(;i < chunkIds.length; i++) {
319319
/******/ chunkId = chunkIds[i];

Diff for: test/cases/dependOn-multiple-files-per-entry/expected/webpack-5-importModule/common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ __webpack_require__.r(__webpack_exports__);
130130
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
131131
/******/ }
132132
/******/ }
133-
/******/ if(runtime) runtime(__webpack_require__);
133+
/******/ if(runtime) var result = runtime(__webpack_require__);
134134
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
135135
/******/ for(;i < chunkIds.length; i++) {
136136
/******/ chunkId = chunkIds[i];
@@ -139,7 +139,7 @@ __webpack_require__.r(__webpack_exports__);
139139
/******/ }
140140
/******/ installedChunks[chunkIds[i]] = 0;
141141
/******/ }
142-
/******/ __webpack_require__.O();
142+
/******/ return __webpack_require__.O(result);
143143
/******/ }
144144
/******/
145145
/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];

Diff for: test/cases/dependOn-multiple-files-per-entry/expected/webpack-5/common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ __webpack_require__.r(__webpack_exports__);
130130
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
131131
/******/ }
132132
/******/ }
133-
/******/ if(runtime) runtime(__webpack_require__);
133+
/******/ if(runtime) var result = runtime(__webpack_require__);
134134
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
135135
/******/ for(;i < chunkIds.length; i++) {
136136
/******/ chunkId = chunkIds[i];
@@ -139,7 +139,7 @@ __webpack_require__.r(__webpack_exports__);
139139
/******/ }
140140
/******/ installedChunks[chunkIds[i]] = 0;
141141
/******/ }
142-
/******/ __webpack_require__.O();
142+
/******/ return __webpack_require__.O(result);
143143
/******/ }
144144
/******/
145145
/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];

Diff for: test/cases/dependOn/expected/webpack-5-importModule/common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ __webpack_require__.r(__webpack_exports__);
121121
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
122122
/******/ }
123123
/******/ }
124-
/******/ if(runtime) runtime(__webpack_require__);
124+
/******/ if(runtime) var result = runtime(__webpack_require__);
125125
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
126126
/******/ for(;i < chunkIds.length; i++) {
127127
/******/ chunkId = chunkIds[i];
@@ -130,7 +130,7 @@ __webpack_require__.r(__webpack_exports__);
130130
/******/ }
131131
/******/ installedChunks[chunkIds[i]] = 0;
132132
/******/ }
133-
/******/ __webpack_require__.O();
133+
/******/ return __webpack_require__.O(result);
134134
/******/ }
135135
/******/
136136
/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];

Diff for: test/cases/dependOn/expected/webpack-5/common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ __webpack_require__.r(__webpack_exports__);
121121
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
122122
/******/ }
123123
/******/ }
124-
/******/ if(runtime) runtime(__webpack_require__);
124+
/******/ if(runtime) var result = runtime(__webpack_require__);
125125
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
126126
/******/ for(;i < chunkIds.length; i++) {
127127
/******/ chunkId = chunkIds[i];
@@ -130,7 +130,7 @@ __webpack_require__.r(__webpack_exports__);
130130
/******/ }
131131
/******/ installedChunks[chunkIds[i]] = 0;
132132
/******/ }
133-
/******/ __webpack_require__.O();
133+
/******/ return __webpack_require__.O(result);
134134
/******/ }
135135
/******/
136136
/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];

Diff for: test/cases/insert-function/expected/webpack-5-importModule/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
304304
/******/ }
305305
/******/ }
306-
/******/ if(runtime) runtime(__webpack_require__);
306+
/******/ if(runtime) var result = runtime(__webpack_require__);
307307
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
308308
/******/ for(;i < chunkIds.length; i++) {
309309
/******/ chunkId = chunkIds[i];

Diff for: test/cases/insert-function/expected/webpack-5/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
304304
/******/ }
305305
/******/ }
306-
/******/ if(runtime) runtime(__webpack_require__);
306+
/******/ if(runtime) var result = runtime(__webpack_require__);
307307
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
308308
/******/ for(;i < chunkIds.length; i++) {
309309
/******/ chunkId = chunkIds[i];

Diff for: test/cases/insert-string/expected/webpack-5-importModule/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
299299
/******/ }
300300
/******/ }
301-
/******/ if(runtime) runtime(__webpack_require__);
301+
/******/ if(runtime) var result = runtime(__webpack_require__);
302302
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
303303
/******/ for(;i < chunkIds.length; i++) {
304304
/******/ chunkId = chunkIds[i];

Diff for: test/cases/insert-string/expected/webpack-5/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
299299
/******/ }
300300
/******/ }
301-
/******/ if(runtime) runtime(__webpack_require__);
301+
/******/ if(runtime) var result = runtime(__webpack_require__);
302302
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
303303
/******/ for(;i < chunkIds.length; i++) {
304304
/******/ chunkId = chunkIds[i];

Diff for: test/cases/insert-undefined/expected/webpack-5-importModule/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
298298
/******/ }
299299
/******/ }
300-
/******/ if(runtime) runtime(__webpack_require__);
300+
/******/ if(runtime) var result = runtime(__webpack_require__);
301301
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
302302
/******/ for(;i < chunkIds.length; i++) {
303303
/******/ chunkId = chunkIds[i];

Diff for: test/cases/insert-undefined/expected/webpack-5/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
298298
/******/ }
299299
/******/ }
300-
/******/ if(runtime) runtime(__webpack_require__);
300+
/******/ if(runtime) var result = runtime(__webpack_require__);
301301
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
302302
/******/ for(;i < chunkIds.length; i++) {
303303
/******/ chunkId = chunkIds[i];

Diff for: test/cases/runtime/expected/webpack-5-importModule/runtime~main.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
300300
/******/ }
301301
/******/ }
302-
/******/ if(runtime) runtime(__webpack_require__);
302+
/******/ if(runtime) var result = runtime(__webpack_require__);
303303
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
304304
/******/ for(;i < chunkIds.length; i++) {
305305
/******/ chunkId = chunkIds[i];
@@ -308,7 +308,7 @@
308308
/******/ }
309309
/******/ installedChunks[chunkIds[i]] = 0;
310310
/******/ }
311-
/******/ __webpack_require__.O();
311+
/******/ return __webpack_require__.O(result);
312312
/******/ }
313313
/******/
314314
/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
@@ -317,7 +317,7 @@
317317
/******/ })();
318318
/******/
319319
/************************************************************************/
320-
var __webpack_exports__ = {};
321-
__webpack_require__.O();
320+
/******/
321+
/******/
322322
/******/ })()
323323
;

Diff for: test/cases/runtime/expected/webpack-5/runtime~main.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
300300
/******/ }
301301
/******/ }
302-
/******/ if(runtime) runtime(__webpack_require__);
302+
/******/ if(runtime) var result = runtime(__webpack_require__);
303303
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
304304
/******/ for(;i < chunkIds.length; i++) {
305305
/******/ chunkId = chunkIds[i];
@@ -308,7 +308,7 @@
308308
/******/ }
309309
/******/ installedChunks[chunkIds[i]] = 0;
310310
/******/ }
311-
/******/ __webpack_require__.O();
311+
/******/ return __webpack_require__.O(result);
312312
/******/ }
313313
/******/
314314
/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
@@ -317,7 +317,7 @@
317317
/******/ })();
318318
/******/
319319
/************************************************************************/
320-
var __webpack_exports__ = {};
321-
__webpack_require__.O();
320+
/******/
321+
/******/
322322
/******/ })()
323323
;

0 commit comments

Comments
 (0)