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/watchCases/cache/loader-import-module/0/b.generate-json.js
test/watchCases/cache/loader-import-module/0/b.generate-json.js
export const value = 42; export * from "./imported.js";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-import-module/0/imported.js
test/watchCases/cache/loader-import-module/0/imported.js
export const a = "a"; export const b = "b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-import-module/0/unrelated.js
test/watchCases/cache/loader-import-module/0/unrelated.js
export const value = 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-import-module/3/b.generate-json.js
test/watchCases/cache/loader-import-module/3/b.generate-json.js
export const value = 24;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-load-module-progress/webpack.config.js
test/watchCases/cache/loader-load-module-progress/webpack.config.js
"use strict"; const webpack = require("../../../../"); /** @type {import("../../../../").Configuration} */ module.exports = { cache: { type: "filesystem" }, module: { rules: [ { test: /mod\.js$/, use: "./loader" } ] }, plugins: [ new webpack.ProgressPlugin(() => {}), { apply(compiler) ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-load-module-progress/1/unrelated.js
test/watchCases/cache/loader-load-module-progress/1/unrelated.js
export const value = 24;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-load-module-progress/0/mod.js
test/watchCases/cache/loader-load-module-progress/0/mod.js
export const value = 42; export * from "./imported.js"; export const random = Math.random(); export default 24;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-load-module-progress/0/index.js
test/watchCases/cache/loader-load-module-progress/0/index.js
import a, { value, random } from "./mod.js"; import { value as unrelated } from "./unrelated"; it("should have to correct values and validate on change", () => { const step = +WATCH_STEP; expect(a).toBe(24); expect(value).toBe(42); expect(random).toBeDefined(); if (step !== 0) { expect(STATE.random === a.rando...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-load-module-progress/0/loader.js
test/watchCases/cache/loader-load-module-progress/0/loader.js
/** @type {import("../../../../../").PitchLoaderDefinitionFunction<{}, {}>} */ exports.pitch = async function (remaining) { const callback = this.async(); const result = this.loadModule( `${this.resourcePath}.webpack[javascript/auto]!=!${remaining}`, (err, result) => { if (err) { callback(err); return;...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-load-module-progress/0/imported.js
test/watchCases/cache/loader-load-module-progress/0/imported.js
export const a = "a"; export const b = "b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/loader-load-module-progress/0/unrelated.js
test/watchCases/cache/loader-load-module-progress/0/unrelated.js
export const value = 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache/webpack.config.js
test/watchCases/cache/unsafe-cache/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", cache: { type: "memory" }, module: { unsafeCache: true }, externals: { external: "var 123" } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache/2/changing-module.js
test/watchCases/cache/unsafe-cache/2/changing-module.js
import "./unchanged-module.js"; import "./unchanged-module.json"; new URL("./unchanged-module.svg", import.meta.url); import "external"; export default "2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache/1/changing-module.js
test/watchCases/cache/unsafe-cache/1/changing-module.js
import "./unchanged-module.js"; import "./unchanged-module.json"; new URL("./unchanged-module.svg", import.meta.url); import "external"; export default "1";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache/0/changing-module.js
test/watchCases/cache/unsafe-cache/0/changing-module.js
import "./unchanged-module.js"; import "./unchanged-module.json"; new URL("./unchanged-module.svg", import.meta.url); export default "0";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache/0/index.js
test/watchCases/cache/unsafe-cache/0/index.js
import value from "./changing-module"; import "./proxy-module"; it("should compile and cleanup correctly", () => { expect(value).toBe(WATCH_STEP); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache/0/proxy-module.js
test/watchCases/cache/unsafe-cache/0/proxy-module.js
import "./unchanged-module.js"; import "./unchanged-module.json"; new URL("./unchanged-module.svg", import.meta.url); import "external";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache/0/unchanged-module.js
test/watchCases/cache/unsafe-cache/0/unchanged-module.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/webpack.config.js
test/watchCases/cache/unsafe-cache-duplicates/webpack.config.js
"use strict"; const path = require("path"); /** @typedef {import("../../../../").NormalModule} NormalModule */ /** @type {(env: Env, options: TestOptions) => import("../../../../").Configuration} */ module.exports = (env, { srcPath }) => ({ mode: "development", cache: { type: "filesystem", maxMemoryGenerations...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/2/after.js
test/watchCases/cache/unsafe-cache-duplicates/2/after.js
export { default } from "./unsafe-cache-root";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/2/index.js
test/watchCases/cache/unsafe-cache-duplicates/2/index.js
import id, { module } from "./alternative-path"; it("should not duplicate modules", () => { expect(id).toBe("./module.js"); expect(module).toBe("./module.js"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/1/index.js
test/watchCases/cache/unsafe-cache-duplicates/1/index.js
import id from "./alternative-path"; it("should compile fine", () => { expect(id).toBe("./module.js"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/1/alternative-path.js
test/watchCases/cache/unsafe-cache-duplicates/1/alternative-path.js
export default require.resolve("./module"); export { default as module } from "./module";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/0/unsafe-cache-root.js
test/watchCases/cache/unsafe-cache-duplicates/0/unsafe-cache-root.js
export default require.resolve("./module"); export { default as module } from "./module";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/0/after.js
test/watchCases/cache/unsafe-cache-duplicates/0/after.js
export default 0;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/0/index.js
test/watchCases/cache/unsafe-cache-duplicates/0/index.js
import "./unsafe-cache-root"; it("should compile fine", () => {});
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-duplicates/0/module.js
test/watchCases/cache/unsafe-cache-duplicates/0/module.js
export { default } from "./after";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/max-generation/webpack.config.js
test/watchCases/cache/max-generation/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", cache: { type: "memory", maxGenerations: 3 } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/max-generation/2/changing-file.js
test/watchCases/cache/max-generation/2/changing-file.js
module.exports = "2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/max-generation/1/changing-file.js
test/watchCases/cache/max-generation/1/changing-file.js
module.exports = "1";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/max-generation/0/changing-file.js
test/watchCases/cache/max-generation/0/changing-file.js
module.exports = "0";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/max-generation/0/index.js
test/watchCases/cache/max-generation/0/index.js
it("should watch for changes", function() { expect(require("./changing-file")).toBe(WATCH_STEP); })
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/child-compilation-cache/2/changing-file.js
test/watchCases/cache/child-compilation-cache/2/changing-file.js
123
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/child-compilation-cache/1/changing-file.js
test/watchCases/cache/child-compilation-cache/1/changing-file.js
456
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/child-compilation-cache/0/report-cache-counters-loader.js
test/watchCases/cache/child-compilation-cache/0/report-cache-counters-loader.js
/** @typedef {import("../../../../../").Compiler} Compiler */ /** @typedef {import("../../../../../").Compilation} Compilation */ var map = new Map(); var currentWatchStepModule = require("../../../../helpers/currentWatchStep"); /** @type {WeakMap<Compiler, Map<string, { counter: number }>>} */ var cacheMap = new Wea...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/child-compilation-cache/0/changing-file.js
test/watchCases/cache/child-compilation-cache/0/changing-file.js
123
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/child-compilation-cache/0/index.js
test/watchCases/cache/child-compilation-cache/0/index.js
it("should use correct caches in compilation and child compilations", function () { var x = require("./report-cache-counters-loader!./changing-file"); switch (WATCH_STEP) { case "0": expect(x).toEqual(["", 1, "my-compiler 123|0|", 1]); break; case "1": expect(x).toEqual(["", 2, "my-compiler 456|0|", 1]);...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/webpack.config.js
test/watchCases/cache/new-split-chunk-entry-node/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { entry: { bundle: "./index.js", entry: { import: "./entry.js", runtime: "runtime" } }, mode: "production", cache: { type: "memory" }, output: { filename: "[name].js", pathinfo: true, library: { type: "commonjs-module"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/5/module.js
test/watchCases/cache/new-split-chunk-entry-node/5/module.js
import "./shared-dep"; export {}; if (Math.random() < 0) console.log("module");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/2/module.js
test/watchCases/cache/new-split-chunk-entry-node/2/module.js
import("./shared"); import("./shared-dep"); export {}; if (Math.random() < 0) console.log("module");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/1/module.js
test/watchCases/cache/new-split-chunk-entry-node/1/module.js
import "./shared"; export {}; if (Math.random() < 0) console.log("module");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/0/shared-dep.js
test/watchCases/cache/new-split-chunk-entry-node/0/shared-dep.js
if (Math.random() < 0) console.log("shared-dep");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/0/index.js
test/watchCases/cache/new-split-chunk-entry-node/0/index.js
import fs from "fs"; import path from "path"; it("should include the correct split chunk ids in entry", async () => { await import("./module"); const runtimeId = STATS_JSON.chunks.find(c => c.names.includes("runtime")).id; const entryCode = fs.readFileSync( path.resolve(__dirname, "entry.js"), "utf-8" ); STAT...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/0/entry.js
test/watchCases/cache/new-split-chunk-entry-node/0/entry.js
import "./shared"; export default "ok";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/0/shared.js
test/watchCases/cache/new-split-chunk-entry-node/0/shared.js
import "./shared-dep"; if (Math.random() < 0) console.log("shared");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/0/module.js
test/watchCases/cache/new-split-chunk-entry-node/0/module.js
export {}; if (Math.random() < 0) console.log("module");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/4/module.js
test/watchCases/cache/new-split-chunk-entry-node/4/module.js
import "./shared"; export {}; if (Math.random() < 0) console.log("module");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/new-split-chunk-entry-node/3/entry.js
test/watchCases/cache/new-split-chunk-entry-node/3/entry.js
import "./shared"; export default "ok2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/webpack.config.js
test/watchCases/cache/changing-module-id/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", cache: { type: "memory" }, optimization: { sideEffects: false, providedExports: false }, module: { rules: [ { test: /other-layer/, layer: "other-layer" } ] }, experiments: { cache...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/2/other-module.js
test/watchCases/cache/changing-module-id/2/other-module.js
export default 44;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/1/other-layer.js
test/watchCases/cache/changing-module-id/1/other-layer.js
export { default } from "./module"; import "./module?async";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/1/other-module.js
test/watchCases/cache/changing-module-id/1/other-module.js
import value from "./other-layer"; export default value + 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/0/index.js
test/watchCases/cache/changing-module-id/0/index.js
import value from "./module"; import value2 from "./unrelated"; import value3 from "./other-module"; it("should work when modules change ids", async () => { expect(value).toBe(42); expect(value2).toBe(42); expect(value3).toBe(42 + +WATCH_STEP); expect(import("./module?async")).resolves.toEqual(nsObj({ default: 42 ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/0/unrelated.js
test/watchCases/cache/changing-module-id/0/unrelated.js
export { default } from "./module"; if (Math.random() < 0) import("./module?async");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/0/module.js
test/watchCases/cache/changing-module-id/0/module.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/changing-module-id/0/other-module.js
test/watchCases/cache/changing-module-id/0/other-module.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-when-clean/webpack.config.js
test/watchCases/cache/emit-when-clean/webpack.config.js
"use strict"; module.exports = { output: { clean: true } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-when-clean/2/index.js
test/watchCases/cache/emit-when-clean/2/index.js
it("should not emit files", () => { expect(STATS_JSON.assets.map(a => a.name)).not.toContainEqual( expect.stringMatching(/\.txt$/) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-when-clean/0/index.js
test/watchCases/cache/emit-when-clean/0/index.js
import { stat } from "fs"; import { promisify } from "util"; it("should return a valid url when cached", async () => { const url = new URL("file.txt", import.meta.url); expect(url.pathname).toMatch(/\.txt$/); expect((await promisify(stat)(url)).isFile()).toBe(true); }); it("should return a valid url when modified"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-when-clean/3/index.js
test/watchCases/cache/emit-when-clean/3/index.js
import { stat } from "fs"; import { promisify } from "util"; it("should return a valid url when cached", async () => { const url = new URL("file.txt", import.meta.url); expect(url.pathname).toMatch(/\.txt$/); expect((await promisify(stat)(url)).isFile()).toBe(true); }); it("should return a valid url when modified"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/change-dep-while-detatched/webpack.config.js
test/watchCases/cache/change-dep-while-detatched/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "development", cache: { type: "memory" }, optimization: { sideEffects: false } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/change-dep-while-detatched/2/index.js
test/watchCases/cache/change-dep-while-detatched/2/index.js
import value from "./module"; import value2 from "./unrelated"; it("should detect changes to dependencies while module is detached", () => { expect(value).toBe(42); expect(value2).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/change-dep-while-detatched/1/index.js
test/watchCases/cache/change-dep-while-detatched/1/index.js
import value from "./module"; it("should detect changes to dependencies while module is detached", () => { expect(value).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/change-dep-while-detatched/1/module.js
test/watchCases/cache/change-dep-while-detatched/1/module.js
module.exports = 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/change-dep-while-detatched/0/index.js
test/watchCases/cache/change-dep-while-detatched/0/index.js
import value from "./module"; import value2 from "./unrelated"; it("should detect changes to dependencies while module is detached", () => { expect(value).toBe(42); expect(value2).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/change-dep-while-detatched/0/unrelated.js
test/watchCases/cache/change-dep-while-detatched/0/unrelated.js
export { default } from "./module";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/change-dep-while-detatched/0/module.js
test/watchCases/cache/change-dep-while-detatched/0/module.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/immutable/webpack.config.js
test/watchCases/cache/immutable/webpack.config.js
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { mode: "production", cache: { type: "memory" }, output: { filename: "bundle.js?[contenthash]" } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/immutable/1/index.js
test/watchCases/cache/immutable/1/index.js
it("should update the output file", () => { expect(WATCH_STEP).toBe("1"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/immutable/0/index.js
test/watchCases/cache/immutable/0/index.js
it("should update the output file", () => { expect(WATCH_STEP).toBe("0"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-without-clean/webpack.config.js
test/watchCases/cache/emit-without-clean/webpack.config.js
"use strict"; module.exports = { output: { clean: false } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-without-clean/2/index.js
test/watchCases/cache/emit-without-clean/2/index.js
it("should not emit files", () => { expect(STATS_JSON.assets.map(a => a.name)).not.toContainEqual( expect.stringMatching(/\.txt$/) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-without-clean/0/index.js
test/watchCases/cache/emit-without-clean/0/index.js
import { stat } from "fs"; import { promisify } from "util"; it("should return a valid url when cached", async () => { const url = new URL("file.txt", import.meta.url); expect(url.pathname).toMatch(/\.txt$/); expect((await promisify(stat)(url)).isFile()).toBe(true); }); it("should return a valid url when modified"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/emit-without-clean/3/index.js
test/watchCases/cache/emit-without-clean/3/index.js
import { stat } from "fs"; import { promisify } from "util"; it("should return a valid url when cached", async () => { const url = new URL("file.txt", import.meta.url); expect(url.pathname).toMatch(/\.txt$/); expect((await promisify(stat)(url)).isFile()).toBe(true); }); it("should return a valid url when modified"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/webpack.config.js
test/watchCases/cache/managedPath/webpack.config.js
"use strict"; const path = require("path"); /** @type {(env: Env, options: TestOptions) => import("../../../../").Configuration} */ module.exports = (env, { srcPath }) => ({ mode: "development", cache: { type: "memory" }, snapshot: { managedPaths: [path.resolve(srcPath, "node_modules")] }, module: { unsaf...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/2/index.js
test/watchCases/cache/managedPath/2/index.js
import { foo, bar } from "foo"; it("should not invalidate managed item if package version stays equal", () => { expect(foo).toBe("foo"); expect(bar).toBe("inner-bar"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/2/node_modules/foo/node_modules/bar/index.js
test/watchCases/cache/managedPath/2/node_modules/foo/node_modules/bar/index.js
export const bar = "undetected-bar";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/1/index.js
test/watchCases/cache/managedPath/1/index.js
import { foo, bar } from "foo"; it("should invalidate resolving if inner node_modules appears", () => { expect(foo).toBe("foo"); expect(bar).toBe("inner-bar"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/1/node_modules/foo/node_modules/bar/index.js
test/watchCases/cache/managedPath/1/node_modules/foo/node_modules/bar/index.js
export const bar = "inner-bar";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/0/index.js
test/watchCases/cache/managedPath/0/index.js
import { foo, bar } from "foo"; it("should have the correct values", () => { expect(foo).toBe("foo"); expect(bar).toBe("bar"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/0/node_modules/bar/index.js
test/watchCases/cache/managedPath/0/node_modules/bar/index.js
export const bar = "bar";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/0/node_modules/foo/index.js
test/watchCases/cache/managedPath/0/node_modules/foo/index.js
export const foo = "foo"; export { bar } from "bar";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/managedPath/3/index.js
test/watchCases/cache/managedPath/3/index.js
import { foo, bar } from "foo"; it("should invalidate when directory gets deleted", () => { expect(foo).toBe("foo"); expect(bar).toBe("bar"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/asset-modules/2/index.js
test/watchCases/cache/asset-modules/2/index.js
it("should not emit files", () => { expect(STATS_JSON.assets.map(a => a.name)).not.toContainEqual( expect.stringMatching(/\.txt$/) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/asset-modules/0/index.js
test/watchCases/cache/asset-modules/0/index.js
import { stat } from "fs"; import { promisify } from "util"; it("should return a valid url when cached", async () => { const url = new URL("file.txt", import.meta.url); expect(url.pathname).toMatch(/\.txt$/); expect((await promisify(stat)(url)).isFile()).toBe(true); }); it("should return a valid url when modified"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/asset-modules/3/index.js
test/watchCases/cache/asset-modules/3/index.js
import { stat } from "fs"; import { promisify } from "util"; it("should return a valid url when cached", async () => { const url = new URL("file.txt", import.meta.url); expect(url.pathname).toMatch(/\.txt$/); expect((await promisify(stat)(url)).isFile()).toBe(true); }); it("should return a valid url when modified"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/test.filter.js
test/watchCases/cache/add-defines/test.filter.js
"use strict"; module.exports = (config) => !(config.experiments && config.experiments.cacheUnaffected);
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/webpack.config.js
test/watchCases/cache/add-defines/webpack.config.js
"use strict"; /** @typedef {import("../../../../").WebpackPluginInstance} WebpackPluginInstance */ const { DefinePlugin } = require("../../../../"); const currentWatchStep = require("../../../helpers/currentWatchStep"); /** @type {import("../../../../").Configuration} */ module.exports = { cache: { type: "memory"...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/2/index.js
test/watchCases/cache/add-defines/2/index.js
import a from "./a"; import b from "./b"; import c from "./c"; it("should invalidate modules when properties are added/removed from the DefinePlugin", () => { expect(a).toEqual([1, 2]); expect(b).toEqual([2, 2]); expect(c).toEqual([3, 2]); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/1/index.js
test/watchCases/cache/add-defines/1/index.js
import a from "./a"; import b from "./b"; import c from "./c"; it("should invalidate modules when properties are added/removed from the DefinePlugin", () => { expect(a).toEqual([1, 1]); expect(b).toEqual([2, 0]); expect(c).toEqual([undefined, 0]); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/0/index.js
test/watchCases/cache/add-defines/0/index.js
import a from "./a"; import b from "./b"; import c from "./c"; it("should invalidate modules when properties are added/removed from the DefinePlugin", () => { expect(a).toEqual([0, 0]); expect(b).toEqual([2, 0]); expect(c).toEqual([undefined, 0]); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/0/b.js
test/watchCases/cache/add-defines/0/b.js
export default [DEFINE.B, RUN];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/0/c.js
test/watchCases/cache/add-defines/0/c.js
export default [DEFINE.C, RUN];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/0/a.js
test/watchCases/cache/add-defines/0/a.js
export default [DEFINE.A, RUN];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/add-defines/3/index.js
test/watchCases/cache/add-defines/3/index.js
import a from "./a"; import b from "./b"; import c from "./c"; it("should invalidate modules when properties are added/removed from the DefinePlugin", () => { expect(a).toEqual([1, 3]); expect(b).toEqual([undefined, 3]); expect(c).toEqual([3, 3]); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-managed-paths/webpack.config.js
test/watchCases/cache/unsafe-cache-managed-paths/webpack.config.js
"use strict"; /** @type {() => import("../../../../").Configuration} */ module.exports = () => ({ mode: "development", cache: { type: "memory" }, snapshot: { managedPaths: [/^(.+?[\\/]node_modules[\\/])/] } });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-managed-paths/2/node_modules/package/index.js
test/watchCases/cache/unsafe-cache-managed-paths/2/node_modules/package/index.js
export default "2";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-managed-paths/1/node_modules/package/index.js
test/watchCases/cache/unsafe-cache-managed-paths/1/node_modules/package/index.js
export default "1";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-managed-paths/0/index.js
test/watchCases/cache/unsafe-cache-managed-paths/0/index.js
import value from "package"; it("should detect updates of managed paths when version changes", () => { expect(value).toBe(WATCH_STEP); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/watchCases/cache/unsafe-cache-managed-paths/0/node_modules/package/index.js
test/watchCases/cache/unsafe-cache-managed-paths/0/node_modules/package/index.js
export default "0";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false