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

+1,621-1,114
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

+3-3
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

+3-3
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

+2-2
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

+2-2
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

+2-2
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-undefined/expected/main.js

+2-2
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/no-runtime/expected/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ __webpack_require__.r(__webpack_exports__);
116116
/******/ script.parentNode && script.parentNode.removeChild(script);
117117
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
118118
/******/ if(prev) return prev(event);
119-
/******/ };
119+
/******/ }
120120
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
121121
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
122122
/******/ script.onload = onScriptComplete.bind(null, script.onload);
@@ -142,7 +142,7 @@ __webpack_require__.r(__webpack_exports__);
142142
/******/ var document = __webpack_require__.g.document;
143143
/******/ if (!scriptUrl && document) {
144144
/******/ if (document.currentScript)
145-
/******/ scriptUrl = document.currentScript.src
145+
/******/ scriptUrl = document.currentScript.src;
146146
/******/ if (!scriptUrl) {
147147
/******/ var scripts = document.getElementsByTagName("script");
148148
/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src

test/cases/runtime/expected/runtime~main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
/******/ script.parentNode && script.parentNode.removeChild(script);
190190
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
191191
/******/ if(prev) return prev(event);
192-
/******/ };
192+
/******/ }
193193
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
194194
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
195195
/******/ script.onload = onScriptComplete.bind(null, script.onload);
@@ -215,7 +215,7 @@
215215
/******/ var document = __webpack_require__.g.document;
216216
/******/ if (!scriptUrl && document) {
217217
/******/ if (document.currentScript)
218-
/******/ scriptUrl = document.currentScript.src
218+
/******/ scriptUrl = document.currentScript.src;
219219
/******/ if (!scriptUrl) {
220220
/******/ var scripts = document.getElementsByTagName("script");
221221
/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src

0 commit comments

Comments
 (0)