repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/unexpected-invalidation/used-exports/subject.js
test/hotCases/unexpected-invalidation/used-exports/subject.js
export const abc = 40; export const def = 41; export const ghi = 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/unexpected-invalidation/used-exports/index.js
test/hotCases/unexpected-invalidation/used-exports/index.js
import { ghi } from "./subject"; import value from "./module"; it("should not invalidate subject in unrelated locations", done => { expect(ghi).toBe(42); expect(value).toBe(40); import.meta.webpackHot.accept("./module", () => { expect(ghi).toBe(42); expect(value).toBe(41); done(); }); NEXT(require("../../up...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/unexpected-invalidation/used-exports/module.js
test/hotCases/unexpected-invalidation/used-exports/module.js
export { abc as default } from "./subject"; --- export { def as default } from "./subject";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared/chunk1.js
test/hotCases/disposing/remove-chunk-with-shared/chunk1.js
export * from "./shared"; import.meta.webpackHot.accept("./shared");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared/index.js
test/hotCases/disposing/remove-chunk-with-shared/index.js
import module from "./module"; it("should not dispose shared modules when a chunk is removed", done => { import("./chunk1").then(chunk1 => { import.meta.webpackHot.accept("./module", async () => { expect(module).toBe(42); expect(chunk1).toMatchObject({ active: true }); done(); }); NEXT(require("...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared/chunk2.js
test/hotCases/disposing/remove-chunk-with-shared/chunk2.js
export * from "./shared"; import.meta.webpackHot.accept("./shared");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared/shared.js
test/hotCases/disposing/remove-chunk-with-shared/shared.js
export let active = true; import.meta.webpackHot.dispose(() => { active = false; });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared/module.js
test/hotCases/disposing/remove-chunk-with-shared/module.js
export default import("./chunk2"); --- export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/runtime-independent-filename/chunk1.js
test/hotCases/disposing/runtime-independent-filename/chunk1.js
export * from "./shared"; import.meta.webpackHot.accept("./shared");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/runtime-independent-filename/warnings1.js
test/hotCases/disposing/runtime-independent-filename/warnings1.js
module.exports = [ [ /The configured output\.hotUpdateMainFilename doesn't lead to unique filenames per runtime/ ] ];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/runtime-independent-filename/index.js
test/hotCases/disposing/runtime-independent-filename/index.js
import module from "./module"; it("should not dispose shared modules when a chunk from a different runtime is removed", done => { import("./chunk1").then(chunk1 => { import.meta.webpackHot.accept("./module", async () => { expect(module).toBe(42); expect(chunk1).toMatchObject({ active: false // This get in...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/runtime-independent-filename/chunk2.js
test/hotCases/disposing/runtime-independent-filename/chunk2.js
export * from "./shared"; import.meta.webpackHot.accept("./shared");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/runtime-independent-filename/webpack.config.js
test/hotCases/disposing/runtime-independent-filename/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { output: { hotUpdateMainFilename: "[fullhash].main-filename.json" } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/runtime-independent-filename/shared.js
test/hotCases/disposing/runtime-independent-filename/shared.js
export let active = true; import.meta.webpackHot.dispose(() => { active = false; });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/runtime-independent-filename/module.js
test/hotCases/disposing/runtime-independent-filename/module.js
export default () => new Worker(new URL("./chunk2", import.meta.url)); --- export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/chunk1.js
test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/chunk1.js
export * from "./shared"; import.meta.webpackHot.accept("./shared");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/index.js
test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/index.js
import module from "./module"; it("should not dispose shared modules when a chunk from a different runtime is removed", done => { import("./chunk1").then(chunk1 => { import.meta.webpackHot.accept("./module", async () => { expect(module).toBe(42); expect(chunk1).toMatchObject({ active: true }); done(...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/chunk2.js
test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/chunk2.js
export * from "./shared"; import.meta.webpackHot.accept("./shared");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/shared.js
test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/shared.js
export let active = true; import.meta.webpackHot.dispose(() => { active = false; });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/module.js
test/hotCases/disposing/remove-chunk-with-shared-in-other-runtime/module.js
export default () => new Worker(new URL("./chunk2", import.meta.url)); --- export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/determinism/issue-10174/index.js
test/hotCases/determinism/issue-10174/index.js
import { c } from "./deps/a"; import hot from "./hot"; it("should only register changes for the changed module", done => { expect(hot).toBe(1); expect(c()).toBe(42); module.hot.accept("./hot", () => { expect(hot).toBe(2); expect(c()).toBe(42); done(); }); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/determinism/issue-10174/hot.js
test/hotCases/determinism/issue-10174/hot.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/determinism/issue-10174/deps/b.js
test/hotCases/determinism/issue-10174/deps/b.js
export * from './c' export function b() { // this extra export is needed for the issue to reproduce }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/determinism/issue-10174/deps/c.js
test/hotCases/determinism/issue-10174/deps/c.js
export function c() { return 42; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/determinism/issue-10174/deps/a.js
test/hotCases/determinism/issue-10174/deps/a.js
export * from './b'
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/json/error-in-json/index.js
test/hotCases/json/error-in-json/index.js
it("should be able to recover from json error", function(done) { expect(() => require("./data.json")).toThrow(); module.hot.accept("./data.json", function() { expect(require("./data.json")).toBe(42); done(); }); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/json/error-in-json/errors.js
test/hotCases/json/error-in-json/errors.js
"use strict"; module.exports = [[/Module parse failed/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-import/index.js
test/hotCases/harmony/auto-import/index.js
import { value } from "./file"; it("should auto-import an ES6 imported value on accept", function(done) { expect(value).toBe(1); module.hot.accept("./file", function() { expect(value).toBe(2); outside(); done(); }); NEXT(require("../../update")(done)); }); function outside() { expect(value).toBe(2); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-import/file.js
test/hotCases/harmony/auto-import/file.js
export var value = 1; --- export var value = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-reexport/reexport.js
test/hotCases/harmony/auto-reexport/reexport.js
export { value } from "./file"; module.hot.accept("./file");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-reexport/index.js
test/hotCases/harmony/auto-reexport/index.js
import { value } from "./reexport"; it("should auto-reexport an ES6 imported value on accept", function (done) { expect(value).toBe(1); NEXT( require("../../update")(done, true, () => { expect(value).toBe(2); done(); }) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-reexport/file.js
test/hotCases/harmony/auto-reexport/file.js
export const value = 1; --- export const value = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/defer-import-mixed/index.js
test/hotCases/harmony/defer-import-mixed/index.js
import * as a /* webpackDefer: true */ from "./a.js"; import * as a2 from "./a.js"; it("should handle defer import", (done) => { expect(a.a).toBe("1"); expect(a2.a).toBe("1"); module.hot.accept("./a", function() { expect(a.a).toBe("2"); expect(a2.a).toBe("2"); done(); }); NEXT(require("../../update.js")...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/defer-import-mixed/webpack.config.js
test/hotCases/harmony/defer-import-mixed/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { target: [`async-node${process.versions.node.split(".").map(Number)[0]}`], entry: "./index.js", experiments: { deferImport: true }, optimization: { concatenateModules: false } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/defer-import-mixed/a.js
test/hotCases/harmony/defer-import-mixed/a.js
export const a = "1"; --- export const a = "2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/defer-import/index.js
test/hotCases/harmony/defer-import/index.js
import * as a /* webpackDefer: true */ from "./a.js"; it("should handle defer import", (done) => { expect(a.a).toBe("1"); module.hot.accept("./a", function() { expect(a.a).toBe("2"); done(); }); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/defer-import/webpack.config.js
test/hotCases/harmony/defer-import/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { target: [`async-node${process.versions.node.split(".").map(Number)[0]}`], entry: "./index.js", experiments: { deferImport: true }, optimization: { concatenateModules: false } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/defer-import/a.js
test/hotCases/harmony/defer-import/a.js
export const a = "1"; --- export const a = "2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-import-multiple/commonjs.js
test/hotCases/harmony/auto-import-multiple/commonjs.js
module.exports = 10; --- module.exports = 20;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-import-multiple/index.js
test/hotCases/harmony/auto-import-multiple/index.js
import { value } from "./file"; import value2 from "./commonjs"; it("should auto-import multiple ES6 imported values on accept", (done) => { expect(value).toBe(1); expect(value2).toBe(10); module.hot.accept(["./file", "./commonjs"], () => { expect(value).toBe(2); expect(value2).toBe(20); outside(); done(); ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-import-multiple/file.js
test/hotCases/harmony/auto-import-multiple/file.js
export var value = 1; --- export var value = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-import-default/index.js
test/hotCases/harmony/auto-import-default/index.js
import value from "./file"; it("should auto-import an ES6 imported default value from non-harmony module on accept", (done) => { expect(value).toBe(1); module.hot.accept("./file", () => { expect(value).toBe(2); outside(); done(); }); NEXT(require("../../update")(done)); }); function outside() { expect(valu...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/harmony/auto-import-default/file.js
test/hotCases/harmony/auto-import-default/file.js
module.exports = 1; --- module.exports = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/accept/index.js
test/hotCases/runtime/accept/index.js
var value = require("./file"); it("should accept a dependencies and require a new value", (done) => { expect(value).toBe(1); module.hot.accept("./file", () => { value = require("./file"); expect(value).toBe(2); outside(); done(); }); NEXT(require("../../update")(done)); }); function outside() { expect(va...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/accept/file.js
test/hotCases/runtime/accept/file.js
module.exports = 1; --- module.exports = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/import-after-download/inner.js
test/hotCases/runtime/import-after-download/inner.js
export default 10; --- export default 20;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/import-after-download/unaffected-chunk.js
test/hotCases/runtime/import-after-download/unaffected-chunk.js
import value from "./unaffected-inner"; module.hot.accept("./unaffected-inner"); export { value as default };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/import-after-download/index.js
test/hotCases/runtime/import-after-download/index.js
import value from "./file"; module.hot.accept("./file"); const asyncNext = () => { return new Promise((resolve, reject) => { NEXT((err, stats) => { if (err) return reject(err); resolve(stats); }); }); }; it("should download the missing update chunk on import", () => { expect(value).toBe(1); return asyn...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/import-after-download/chunk.js
test/hotCases/runtime/import-after-download/chunk.js
import value from "./inner"; module.hot.accept("./inner"); export { value as default };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/import-after-download/unaffected-inner.js
test/hotCases/runtime/import-after-download/unaffected-inner.js
export default 10;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/import-after-download/file.js
test/hotCases/runtime/import-after-download/file.js
export default 1; --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/root-error/errors1.js
test/hotCases/runtime/root-error/errors1.js
module.exports = [[/Unexpected token/]];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/root-error/index.js
test/hotCases/runtime/root-error/index.js
const next = () => new Promise((resolve, reject) => { NEXT((err, stats) => { if (err) return reject(err); resolve(module.hot.check(true).then(() => stats).catch(e => { e.stats = stats; throw e; })); }); }) it("should re-execute the entrypoint on update", async () => { let stats = await new Promise((reso...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/root-error/webpack.config.js
test/hotCases/runtime/root-error/webpack.config.js
"use strict"; module.exports = { optimization: { emitOnErrors: false } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-module/index.js
test/hotCases/runtime/dispose-removed-module/index.js
var m = require("./module"); it("should dispose a module which is removed from bundle", (done) => { var disposed = []; m.setHandler((id) => { disposed.push(id); }); NEXT(require("../../update")(done, true, () => { require("./module"); NEXT(require("../../update")(done, true, () => { var newModule = requir...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-module/b.js
test/hotCases/runtime/dispose-removed-module/b.js
export default 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-module/module.js
test/hotCases/runtime/dispose-removed-module/module.js
export { default as setHandler } from "./a"; --- import "./b" --- export { default as default } from "./a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-module/a.js
test/hotCases/runtime/dispose-removed-module/a.js
var callback; export default function setHandler(cb) { callback = cb; }; if(module.hot) { module.hot.dispose(function() { callback(module.id); }); } --- --- export default module.id;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/update-multiple-modules/fileA.js
test/hotCases/runtime/update-multiple-modules/fileA.js
module.exports = 1; --- module.exports = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/update-multiple-modules/index.js
test/hotCases/runtime/update-multiple-modules/index.js
var value = require("./parent-file"); it("should update multiple modules at the same time", (done) => { expect(value).toBe(2); module.hot.accept("./parent-file", () => { value = require("./parent-file"); expect(value).toBe(4); done(); }); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/update-multiple-modules/fileB.js
test/hotCases/runtime/update-multiple-modules/fileB.js
module.exports = 1; --- module.exports = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/update-multiple-modules/parent-file.js
test/hotCases/runtime/update-multiple-modules/parent-file.js
module.exports = require("./fileA") + require("./fileB");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/require-disposed-module-warning/index.js
test/hotCases/runtime/require-disposed-module-warning/index.js
const expectWarning = require("../../../helpers/expectWarningFactory")(); const getInner = require("./module"); it("should print correct warning messages when a disposed module is required", done => { NEXT( require("../../update")(done, true, () => { getInner(); expectWarning( /^\[HMR] unexpected require\...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/require-disposed-module-warning/b.js
test/hotCases/runtime/require-disposed-module-warning/b.js
export default "b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/require-disposed-module-warning/module.js
test/hotCases/runtime/require-disposed-module-warning/module.js
module.exports = () => require("./a"); --- module.exports = () => require("./b");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/require-disposed-module-warning/a.js
test/hotCases/runtime/require-disposed-module-warning/a.js
export default module;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/add-runtime/test.filter.js
test/hotCases/runtime/add-runtime/test.filter.js
"use strict"; const supportsWorker = require("../../../helpers/supportsWorker"); module.exports = (config) => { if (config.target !== "web") { return false; } return supportsWorker(); };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/add-runtime/index.js
test/hotCases/runtime/add-runtime/index.js
let value = require("./module.js"); import {a} from "./lib/a.js"; it("should compile", (done) => { expect(value).toBe(1); expect(a).toBe(1); module.hot.accept("./module.js", () => { value = require("./module"); expect(value).toBe(2); done(); }); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/add-runtime/worker.js
test/hotCases/runtime/add-runtime/worker.js
import {b} from "./lib/b.js"; b;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/add-runtime/webpack.config.js
test/hotCases/runtime/add-runtime/webpack.config.js
"use strict"; module.exports = { optimization: { usedExports: true, // make 'lib' chunk runtime to be worker + entry splitChunks: { minSize: 0, chunks: "all", cacheGroups: { lib: { test: /[/\\]lib[/\\](a|b|index).js$/, name: "lib", filename: "bundle-lib.js" } } } } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/add-runtime/module.js
test/hotCases/runtime/add-runtime/module.js
module.exports = 1; --- new Worker(new URL('./worker.js', import.meta.url)) module.exports = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/add-runtime/lib/b.js
test/hotCases/runtime/add-runtime/lib/b.js
export const b = 1
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/add-runtime/lib/a.js
test/hotCases/runtime/add-runtime/lib/a.js
export const a = 1
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/self-accept-and-dispose/index.js
test/hotCases/runtime/self-accept-and-dispose/index.js
it("should accept itself and pass data", (done) => { require("./file")(done); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/self-accept-and-dispose/file.js
test/hotCases/runtime/self-accept-and-dispose/file.js
var callback; module.hot.accept(); module.hot.dispose(function(data) { data.callback = callback; }); module.exports = function(cb) { callback = cb; } --- module.hot.data.callback();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-chunk/index.js
test/hotCases/runtime/dispose-removed-chunk/index.js
it("should dispose a chunk which is removed from bundle", (done) => { var m1 = require("./module"); m1.default.then((x1) => { expect(x1.default).toEqual("version a1"); NEXT(require("../../update")(done, true, () => { var m2 = require("./module"); m2.default.then((x2) => { expect(x2.default).toEqual("ver...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-chunk/b.js
test/hotCases/runtime/dispose-removed-chunk/b.js
export default "version b1"; --- export default "version b1"; --- export default "version b2"; --- export default "version b2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-chunk/module.js
test/hotCases/runtime/dispose-removed-chunk/module.js
export default import("./a"); --- export default import("./b"); --- export default import("./b"); --- export default import("./a");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/dispose-removed-chunk/a.js
test/hotCases/runtime/dispose-removed-chunk/a.js
export default "version a1"; --- export default "version a1"; --- export default "version a2"; --- export default "version a2"; ---
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/circular/index.js
test/hotCases/runtime/circular/index.js
import a from "./a"; it("should not throw on circular dependencies", (done) => { expect(a).toBe(1); module.hot.accept("./a", () => { expect(a).toBe(2); done(); }); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/circular/b.js
test/hotCases/runtime/circular/b.js
import "./a"; export default 1; module.hot.accept("./a"); --- export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/circular/a.js
test/hotCases/runtime/circular/a.js
import "./"; import "./b"; export default 1; --- import "./"; import "./b"; export default 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/bubble-update/index.js
test/hotCases/runtime/bubble-update/index.js
var value = require("./parent-file"); it("should bubble update from a nested dependency", (done) => { expect(value).toBe(1); module.hot.accept("./parent-file", () => { value = require("./parent-file"); expect(value).toBe(2); done(); }); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/bubble-update/file.js
test/hotCases/runtime/bubble-update/file.js
module.exports = 1; --- module.exports = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/bubble-update/parent-file.js
test/hotCases/runtime/bubble-update/parent-file.js
module.exports = require("./file");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/update-multiple-times/index.js
test/hotCases/runtime/update-multiple-times/index.js
var value = require("./file"); it("should accept a dependencies multiple times", (done) => { expect(value).toBe(1); module.hot.accept("./file", () => { var oldValue = value; value = require("./file"); expect(value).toBe(oldValue + 1); if(value < 4) NEXT(require("../../update")(done)); else done(); }...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/update-multiple-times/file.js
test/hotCases/runtime/update-multiple-times/file.js
module.exports = 1; --- module.exports = 2; --- module.exports = 3; --- module.exports = 4; --- module.exports = 5;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/self-accept-factory/index.js
test/hotCases/runtime/self-accept-factory/index.js
it("should able to accept for another module", (done) => { require("./a")(done); NEXT(require("../../update")(done)); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/self-accept-factory/hot.js
test/hotCases/runtime/self-accept-factory/hot.js
module.exports = (m) => { m.hot && m.hot.accept(); return self => self; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/self-accept-factory/b.js
test/hotCases/runtime/self-accept-factory/b.js
module.exports = 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/self-accept-factory/a.js
test/hotCases/runtime/self-accept-factory/a.js
require("./hot")(module); let callback; module.exports = cb => (callback = cb); module.hot.dispose(data => (data.callback = callback)); --- require("./hot")(module); require("./b"); module.hot.data.callback();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/bubble-async/index.js
test/hotCases/runtime/bubble-async/index.js
import { load } from "./parent-file"; import update from "../../update"; it("should bubble update from a nested dependency", () => { return load().then(value => { expect(value).toBe(1); return new Promise((resolve, reject) => { module.hot.accept("./parent-file", () => { resolve(load().then(value => { ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/bubble-async/file.js
test/hotCases/runtime/bubble-async/file.js
module.exports = 1; --- module.exports = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/bubble-async/parent-file.js
test/hotCases/runtime/bubble-async/parent-file.js
export function load() { return import("./file").then(file => file.default); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/replace-runtime-module/index.js
test/hotCases/runtime/replace-runtime-module/index.js
import m from "./module"; it("should dispose a chunk which is removed from bundle", (done) => { m.then(a => { expect(a.default).toEqual("a"); NEXT(require("../../update")(done, true, () => { m.then(b => { expect(b.default).toEqual("b"); done(); }).catch(done); })); }).catch(done); }); if(module....
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/replace-runtime-module/b.js
test/hotCases/runtime/replace-runtime-module/b.js
export default "b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/replace-runtime-module/module.js
test/hotCases/runtime/replace-runtime-module/module.js
export default import(/* webpackChunkName: "a" */ "./a"); --- export default import(/* webpackChunkName: "b" */ "./b");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/runtime/replace-runtime-module/a.js
test/hotCases/runtime/replace-runtime-module/a.js
export default "a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/numeric-ids/add-remove-chunks/index.js
test/hotCases/numeric-ids/add-remove-chunks/index.js
import m from "./module"; it("should add and remove chunks", done => { return m() .then(chunk => { expect(chunk.value).toBe(1); let update = 0; module.hot.accept("./module", () => { m() .then(chunk => { switch (update) { case 0: expect(chunk.value).toBe(2); break; ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/hotCases/numeric-ids/add-remove-chunks/chunk.js
test/hotCases/numeric-ids/add-remove-chunks/chunk.js
export { value } from "./file";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false