Skip to content

Commit 3a3cb51

Browse files
test: update (#1022)
1 parent c2d8eac commit 3a3cb51

File tree

13 files changed

+1639
-1132
lines changed

13 files changed

+1639
-1132
lines changed

package-lock.json

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

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

Lines changed: 3 additions & 3 deletions
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 = () => ("b1a0d51fa05593feebfa")
76+
/******/ __webpack_require__.h = () => ("4f347b01251fa5ea3e86")
7777
/******/ })();
7878
/******/
7979
/******/ /* webpack/runtime/global */
@@ -130,7 +130,7 @@ __webpack_require__.r(__webpack_exports__);
130130
/******/ script.parentNode && script.parentNode.removeChild(script);
131131
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
132132
/******/ if(prev) return prev(event);
133-
/******/ };
133+
/******/ }
134134
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
135135
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
136136
/******/ script.onload = onScriptComplete.bind(null, script.onload);
@@ -156,7 +156,7 @@ __webpack_require__.r(__webpack_exports__);
156156
/******/ var document = __webpack_require__.g.document;
157157
/******/ if (!scriptUrl && document) {
158158
/******/ if (document.currentScript)
159-
/******/ scriptUrl = document.currentScript.src
159+
/******/ scriptUrl = document.currentScript.src;
160160
/******/ if (!scriptUrl) {
161161
/******/ var scripts = document.getElementsByTagName("script");
162162
/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src

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

Lines changed: 3 additions & 3 deletions
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 = () => ("775d09b0a3e56e73fd45")
76+
/******/ __webpack_require__.h = () => ("aa027b5009650677d5c5")
7777
/******/ })();
7878
/******/
7979
/******/ /* webpack/runtime/global */
@@ -130,7 +130,7 @@ __webpack_require__.r(__webpack_exports__);
130130
/******/ script.parentNode && script.parentNode.removeChild(script);
131131
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
132132
/******/ if(prev) return prev(event);
133-
/******/ };
133+
/******/ }
134134
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
135135
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
136136
/******/ script.onload = onScriptComplete.bind(null, script.onload);
@@ -156,7 +156,7 @@ __webpack_require__.r(__webpack_exports__);
156156
/******/ var document = __webpack_require__.g.document;
157157
/******/ if (!scriptUrl && document) {
158158
/******/ if (document.currentScript)
159-
/******/ scriptUrl = document.currentScript.src
159+
/******/ scriptUrl = document.currentScript.src;
160160
/******/ if (!scriptUrl) {
161161
/******/ var scripts = document.getElementsByTagName("script");
162162
/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src

test/cases/hmr/expected/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ __webpack_require__.r(__webpack_exports__);
499499
/******/ script.parentNode && script.parentNode.removeChild(script);
500500
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
501501
/******/ if(prev) return prev(event);
502-
/******/ };
502+
/******/ }
503503
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
504504
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
505505
/******/ script.onload = onScriptComplete.bind(null, script.onload);
@@ -919,7 +919,7 @@ __webpack_require__.r(__webpack_exports__);
919919
/******/ var document = __webpack_require__.g.document;
920920
/******/ if (!scriptUrl && document) {
921921
/******/ if (document.currentScript)
922-
/******/ scriptUrl = document.currentScript.src
922+
/******/ scriptUrl = document.currentScript.src;
923923
/******/ if (!scriptUrl) {
924924
/******/ var scripts = document.getElementsByTagName("script");
925925
/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src

test/cases/insert-function/expected/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
/******/ script.parentNode && script.parentNode.removeChild(script);
115115
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
116116
/******/ if(prev) return prev(event);
117-
/******/ };
117+
/******/ }
118118
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
119119
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
120120
/******/ script.onload = onScriptComplete.bind(null, script.onload);
@@ -140,7 +140,7 @@
140140
/******/ var document = __webpack_require__.g.document;
141141
/******/ if (!scriptUrl && document) {
142142
/******/ if (document.currentScript)
143-
/******/ scriptUrl = document.currentScript.src
143+
/******/ scriptUrl = document.currentScript.src;
144144
/******/ if (!scriptUrl) {
145145
/******/ var scripts = document.getElementsByTagName("script");
146146
/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src

test/cases/insert-string/expected/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
/******/ script.parentNode && script.parentNode.removeChild(script);
115115
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
116116
/******/ if(prev) return prev(event);
117-
/******/ };
117+
/******/ }
118118
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
119119
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
120120
/******/ script.onload = onScriptComplete.bind(null, script.onload);
@@ -140,7 +140,7 @@
140140
/******/ var document = __webpack_require__.g.document;
141141
/******/ if (!scriptUrl && document) {
142142
/******/ if (document.currentScript)
143-
/******/ scriptUrl = document.currentScript.src
143+
/******/ scriptUrl = document.currentScript.src;
144144
/******/ if (!scriptUrl) {
145145
/******/ var scripts = document.getElementsByTagName("script");
146146
/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src

0 commit comments

Comments
 (0)