Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ function applyHandler(options) {
console.warn(
"[HMR] unexpected require(" + module.id + ") to disposed module"
);
throw Error("RuntimeError: factory is undefined(" + module.id + ")");
};

for (var moduleId in currentUpdate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Bundle: vendors-node_modules_vendor_js.js
- Manifest: runtime~main.LAST_HASH.hot-update.json, size: 76
- Update: main.LAST_HASH.hot-update.js, size: 714
- Update: runtime~main.LAST_HASH.hot-update.js, size: 18966
- Update: runtime~main.LAST_HASH.hot-update.js, size: 19038
- Update: vendors-node_modules_vendor_js.LAST_HASH.hot-update.js, size: 513

## Manifest
Expand Down Expand Up @@ -309,6 +309,7 @@ function applyHandler(options) {
console.warn(
"[HMR] unexpected require(" + module.id + ") to disposed module"
);
throw Error("RuntimeError: factory is undefined(" + module.id + ")");
};

for (var moduleId in currentUpdate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Bundle: chunk1_js.chunk.CURRENT_HASH.js
- Manifest: [runtime of chunk2_js].LAST_HASH.hot-update.json, size: 60
- Manifest: main.LAST_HASH.hot-update.json, size: 41
- Update: main.LAST_HASH.hot-update.js, size: 18468
- Update: main.LAST_HASH.hot-update.js, size: 18540

## Manifest

Expand Down Expand Up @@ -267,6 +267,7 @@ function applyHandler(options) {
console.warn(
"[HMR] unexpected require(" + module.id + ") to disposed module"
);
throw Error("RuntimeError: factory is undefined(" + module.id + ")");
};

for (var moduleId in currentUpdate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Bundle: chunk1_js.chunk.CURRENT_HASH.js
- Update: main.LAST_HASH.hot-update.js, size: 18468
- Update: main.LAST_HASH.hot-update.js, size: 18540

## Manifest

Expand Down Expand Up @@ -251,6 +251,7 @@ function applyHandler(options) {
console.warn(
"[HMR] unexpected require(" + module.id + ") to disposed module"
);
throw Error("RuntimeError: factory is undefined(" + module.id + ")");
};

for (var moduleId in currentUpdate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 42
- Update: main.LAST_HASH.hot-update.js, size: 15415
- Update: main.LAST_HASH.hot-update.js, size: 15487

## Manifest

Expand Down Expand Up @@ -201,6 +201,7 @@ function applyHandler(options) {
console.warn(
"[HMR] unexpected require(" + module.id + ") to disposed module"
);
throw Error("RuntimeError: factory is undefined(" + module.id + ")");
};

for (var moduleId in currentUpdate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const getInner = require("./module");

it("should print correct warning messages when a disposed module is required", async () => {
await NEXT_HMR();
getInner();
try { getInner(); } catch (e) { }
expectWarning(
/^\[HMR] unexpected require\(\.\/a.js\) from disposed module \.\/module\.js$/,
/^\[HMR] unexpected require\(\.\/a.js\) to disposed module$/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- Bundle: bundle.js
- Bundle: common_js_2.chunk.CURRENT_HASH.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 42484
- Update: main.LAST_HASH.hot-update.js, size: 42556

## Manifest

Expand Down Expand Up @@ -878,6 +878,7 @@ function applyHandler(options) {
console.warn(
"[HMR] unexpected require(" + module.id + ") to disposed module"
);
throw Error("RuntimeError: factory is undefined(" + module.id + ")");
};

for (var moduleId in currentUpdate) {
Expand Down
Loading