Skip to content

Commit 8d24295

Browse files
chore: update deps and tests
1 parent 4a909db commit 8d24295

File tree

16 files changed

+800
-744
lines changed

16 files changed

+800
-744
lines changed

package-lock.json

Lines changed: 747 additions & 708 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"release": "standard-version",
3030
"security": "npm audit --production",
3131
"test:only": "cross-env NODE_ENV=test jest",
32+
"test:only:experimental": "EXPERIMENTAL_USE_IMPORT_MODULE=true cross-env NODE_ENV=test jest",
3233
"test:watch": "npm run test:only -- --watch",
3334
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
3435
"test:manual": "npm run build && webpack serve ./test/manual/src/index.js --open --config ./test/manual/webpack.config.js",

test/cases/at-import-in-entry/expected/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
!*** css ../../../node_modules/css-loader/dist/cjs.js!./a.css ***!
77
\****************************************************************/
88
body {
9-
font-family: 'Manrope';
9+
font-family: "Manrope";
1010
}
1111

1212
/*!********************************************************************!*\
File renamed without changes.
File renamed without changes.

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

Lines changed: 7 additions & 5 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 = () => ("ab3ada7332542b91ceb4")
76+
/******/ __webpack_require__.h = () => ("d67c698e3fd6a71ab1e8")
7777
/******/ })();
7878
/******/
7979
/******/ /* webpack/runtime/global */
@@ -308,12 +308,14 @@ __webpack_require__.r(__webpack_exports__);
308308
/******/ // add "moreModules" to the modules object,
309309
/******/ // then flag all "chunkIds" as loaded and fire callback
310310
/******/ var moduleId, chunkId, i = 0;
311-
/******/ for(moduleId in moreModules) {
312-
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
313-
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
311+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
312+
/******/ for(moduleId in moreModules) {
313+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
314+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
315+
/******/ }
314316
/******/ }
317+
/******/ if(runtime) var result = runtime(__webpack_require__);
315318
/******/ }
316-
/******/ if(runtime) var result = runtime(__webpack_require__);
317319
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
318320
/******/ for(;i < chunkIds.length; i++) {
319321
/******/ chunkId = chunkIds[i];
File renamed without changes.
File renamed without changes.

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

Lines changed: 7 additions & 5 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 = () => ("05170166b8a070c9e23e")
76+
/******/ __webpack_require__.h = () => ("a4a1641571287dda5115")
7777
/******/ })();
7878
/******/
7979
/******/ /* webpack/runtime/global */
@@ -308,12 +308,14 @@ __webpack_require__.r(__webpack_exports__);
308308
/******/ // add "moreModules" to the modules object,
309309
/******/ // then flag all "chunkIds" as loaded and fire callback
310310
/******/ var moduleId, chunkId, i = 0;
311-
/******/ for(moduleId in moreModules) {
312-
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
313-
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
311+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
312+
/******/ for(moduleId in moreModules) {
313+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
314+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
315+
/******/ }
314316
/******/ }
317+
/******/ if(runtime) var result = runtime(__webpack_require__);
315318
/******/ }
316-
/******/ if(runtime) var result = runtime(__webpack_require__);
317319
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
318320
/******/ for(;i < chunkIds.length; i++) {
319321
/******/ chunkId = chunkIds[i];

test/cases/dependOn-multiple-files-per-entry/expected/common.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,14 @@ __webpack_require__.r(__webpack_exports__);
126126
/******/ // add "moreModules" to the modules object,
127127
/******/ // then flag all "chunkIds" as loaded and fire callback
128128
/******/ var moduleId, chunkId, i = 0;
129-
/******/ for(moduleId in moreModules) {
130-
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
131-
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
129+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
130+
/******/ for(moduleId in moreModules) {
131+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
132+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
133+
/******/ }
132134
/******/ }
135+
/******/ if(runtime) var result = runtime(__webpack_require__);
133136
/******/ }
134-
/******/ if(runtime) var result = runtime(__webpack_require__);
135137
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
136138
/******/ for(;i < chunkIds.length; i++) {
137139
/******/ chunkId = chunkIds[i];

0 commit comments

Comments
 (0)