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/fixtures/items/item (6).js | test/fixtures/items/item (6).js | module.exports = 6; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/items/item (3).js | test/fixtures/items/item (3).js | module.exports = 3; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/items/item (8).js | test/fixtures/items/item (8).js | module.exports = 8; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/items/item (1).js | test/fixtures/items/item (1).js | module.exports = 1; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/items/item (7).js | test/fixtures/items/item (7).js | module.exports = 7; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/items/item (9).js | test/fixtures/items/item (9).js | module.exports = 9; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/lib/complex1.js | test/fixtures/lib/complex1.js | module.exports = "lib complex1"; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/watch/node_modules/some-loader/index.js | test/fixtures/watch/node_modules/some-loader/index.js | module.exports = function(x) {
return x;
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/watch/node_modules/inline-loader/index.js | test/fixtures/watch/node_modules/inline-loader/index.js | module.exports = function(x) {
return x;
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/watch/node_modules/package/index.js | test/fixtures/watch/node_modules/package/index.js | import "nested-package1";
import "nested-package2";
import "inline-loader!nested-package1";
import "inline-loader!nested-package2";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/watch/node_modules/package/node_modules/nested-package2/index.js | test/fixtures/watch/node_modules/package/node_modules/nested-package2/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/watch/node_modules/nested-package1/index.js | test/fixtures/watch/node_modules/nested-package1/index.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/watch/src/index.js | test/fixtures/watch/src/index.js | import "package";
import "inline-loader!package";
import "./local";
import "inline-loader!./local";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/watch/src/local.js | test/fixtures/watch/src/local.js | import "package";
import "inline-loader!package";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/nodetest/file456.js | test/fixtures/nodetest/file456.js | module.exports = 123; | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/nodetest/file567.js | test/fixtures/nodetest/file567.js | define({
a: 1
}); | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/nodetest/entry.js | test/fixtures/nodetest/entry.js | exports.loadChunk = function(id, cb) {
require(["./file" + id], function(result) {
cb(result);
});
};
exports.nextTick = process.nextTick;
exports.fs = require("fs"); | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/fixtures/temp-watch-1569996664301/bundle.js | test/fixtures/temp-watch-1569996664301/bundle.js | /******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./test/fixtures/temp-watch-1569996664301/file.js":
/*!****************************************************************!*\
!*** (webpack)/test/fixtures/temp-watch-1569996664301/file.js ***!
\*****************************************... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/umd/issue-15545/index.js | test/configCases/umd/issue-15545/index.js | it("should compile and run", () => {
expect(hello()).toBe("hello");
});
export function hello() { return "hello"; }
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/umd/issue-15545/test.config.js | test/configCases/umd/issue-15545/test.config.js | "use strict";
const CONTEXT = {};
module.exports = {
nonEsmThis() {
return CONTEXT;
},
findBundle() {
return ["./runtime.js", "./main.js"];
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/umd/issue-15545/webpack.config.js | test/configCases/umd/issue-15545/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "production",
entry: {
main: "./index.js"
},
output: {
filename: "[name].js",
library: "MyLibrary",
libraryTarget: "umd",
chunkLoading: "jsonp",
chunkFormat: "array-push",
globalObject: "this"
},
optimization... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/environment-not-support-async-warning/reexport.js | test/configCases/async-module/environment-not-support-async-warning/reexport.js | export { default as number } from "./tla";
export { getNumber } from "./wasm.wat"
export { default as moduleRequest } from "external-module"
export { default as importRequest } from "external-import"
export { default as promiseRequest } from "external-promise"
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/environment-not-support-async-warning/test.filter.js | test/configCases/async-module/environment-not-support-async-warning/test.filter.js | "use strict";
const supportsWebAssembly = require("../../../helpers/supportsWebAssembly");
module.exports = () => supportsWebAssembly();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/environment-not-support-async-warning/warnings.js | test/configCases/async-module/environment-not-support-async-warning/warnings.js | "use strict";
module.exports = [
[
{ moduleName: /tla\.js/ },
/The generated code contains 'async\/await'/,
/"topLevelAwait"/
],
[
{ moduleName: /external \["import\.js","request"\]/ },
/The generated code contains 'async\/await'/,
/"external import"/
],
[
{ moduleName: /external \["module\.js","req... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/environment-not-support-async-warning/index.js | test/configCases/async-module/environment-not-support-async-warning/index.js | it("should have warnings for environment not support async/await when using asyncModule", () => {
return import("./reexport").then(({ number, getNumber, importRequest, moduleRequest, promiseRequest }) => {
expect(number).toBe(1);
expect(getNumber()).toBe(42);
expect(importRequest).toBe("import.js");
expect(mod... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/environment-not-support-async-warning/tla.js | test/configCases/async-module/environment-not-support-async-warning/tla.js | export default await Promise.resolve(1)
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/environment-not-support-async-warning/webpack.config.js | test/configCases/async-module/environment-not-support-async-warning/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
module: {
rules: [
{
test: /\.wat$/,
loader: "wast-loader",
type: "webassembly/async"
}
]
},
output: {
environment: {
dynamicImport: true,
asyncFunction: false
},
importFunctionName: "((name) => Pr... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/issue-19803/index.js | test/configCases/async-module/issue-19803/index.js | it("should work", () => {
return import("./d").then(d => {
expect(d.d).toBe("ab");
});
}); | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/issue-19803/b.js | test/configCases/async-module/issue-19803/b.js | await 1;
export const b = "b" | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/issue-19803/d.js | test/configCases/async-module/issue-19803/d.js | import {c} from "./c";
export const d = c | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/issue-19803/webpack.config.js | test/configCases/async-module/issue-19803/webpack.config.js | "use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
output: {
environment: {
destructuring: false
}
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/issue-19803/c.js | test/configCases/async-module/issue-19803/c.js | import {a} from "./a";
import {b} from "./b";
export const c = a + b | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/async-module/issue-19803/a.js | test/configCases/async-module/issue-19803/a.js | await 1;
export const a = "a" | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-12669-mini/webpack.config.js | test/configCases/inner-graph/issue-12669-mini/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
// nothing: {
// usedExports: [],
// expect: {
// "./dependency": []
// }
// },
a: {
usedExports: ["a"],
expect: {
"./dependency": ["x"]
}
}
// b: {
// usedExports: ["b"],
// exp... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-12669-mini/module.js | test/configCases/inner-graph/issue-12669-mini/module.js | import { x, y } from "./dependency";
export { a };
const a = /*#__PURE__*/ x();
// export const b = /*#__PURE__*/ y();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pr-18342/test.config.js | test/configCases/inner-graph/pr-18342/test.config.js | "use strict";
const findOutputFiles = require("../../../helpers/findOutputFiles");
module.exports = {
findBundle(_, options) {
const files = findOutputFiles(options, /^entry/);
return files;
}
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pr-18342/webpack.config.js | test/configCases/inner-graph/pr-18342/webpack.config.js | "use strict";
module.exports = {
target: ["node"],
entry: {
entry1: ["./entry1/index.js"],
entry2: ["./entry2/index.js"],
entry3: ["./entry3/index.js"]
},
output: {
filename: "[name].js",
chunkFilename: "[name].chunk.js"
},
optimization: {
minimize: false,
runtimeChunk: true,
splitChunks: {
ch... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pr-18342/entry3/index.js | test/configCases/inner-graph/pr-18342/entry3/index.js | function nothing() {}
it("entry3 should compile and run", () => {
import(/* webpackChunkName: "chunk-reason-webpackChunkName" */'./a.js').then(a => {
nothing(a.default);
expect(true).toBe(true)
})
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pr-18342/entry3/a.js | test/configCases/inner-graph/pr-18342/entry3/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/configCases/inner-graph/pr-18342/entry1/index.js | test/configCases/inner-graph/pr-18342/entry1/index.js | import common from "../common";
it("entry1 should compile and run", () => {
common();
expect(true).toBe(true)
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pr-18342/common/pure.js | test/configCases/inner-graph/pr-18342/common/pure.js | function pure() {
1;
}
export default pure
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pr-18342/common/index.js | test/configCases/inner-graph/pr-18342/common/index.js | import pure from './pure'
export default () => {
pure()
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pr-18342/entry2/index.js | test/configCases/inner-graph/pr-18342/entry2/index.js | it("entry2 should compile and run", () => {
import(/* webpackChunkName: "chunk-reason-webpackChunkName" */'../common').then(common => {
common.default();
expect(true).toBe(true)
})
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/varWritten/webpack.config.js | test/configCases/inner-graph/varWritten/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
exp1: {
usedExports: ["exp1"],
expect: {
any: ["im1"]
}
},
exp2: {
usedExports: ["exp2"],
expect: {
any: ["im2"]
}
},
ex... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/varWritten/module.js | test/configCases/inner-graph/varWritten/module.js | import { im1, im2, im3 } from "any";
var exp1 = function() {
console.log(im1);
};
var exp2 = () => {
console.log(im2);
exp1 = 3;
};
var exp3 = function() {
console.log(im3);
};
export var exp4 = () => {
exp2();
};
export var expCls = class {
constructor() {
exp1();
}
};
export { exp1, exp2, exp3 };
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/ramdaIdentical/webpack.config.js | test/configCases/inner-graph/ramdaIdentical/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./internal/_curry2": []
}
},
all: {
usedExports: ["default"],
expect: {
"./internal/_curry2": ["default"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/ramdaIdentical/module.js | test/configCases/inner-graph/ramdaIdentical/module.js | // source code from library ramda
// https://github.com/Ramda/ramda/blob/master/source/identical.js
import _curry2 from "./internal/_curry2";
/**
* Returns true if its arguments are identical, false otherwise. Values are
* identical if they reference the same memory. `NaN` is identical to `NaN`;
* `0` and `-0` are... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-11678/webpack.config.js | test/configCases/inner-graph/issue-11678/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"resize-observer": ["ResizeObserver"],
"Source_Data/employee": [],
"Source_Data/services": [],
"Source_Framework/splitview/page": [],
"Source_Frame... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-11678/module.js | test/configCases/inner-graph/issue-11678/module.js | import { ResizeObserver as RO } from "resize-observer";
import * as employeeData from "Source_Data/employee";
import * as servicesData from "Source_Data/services";
import * as SplitViewPage from "Source_Framework/splitview/page";
import * as SplitViewMenu from "Source_Framework/splitview/menu";
import {
TC as pageTC,
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | true |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultNamedFunction/webpack.config.js | test/configCases/inner-graph/defaultNamedFunction/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
default: {
usedExports: ["default"],
expect: {
any: ["fun1"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultNamedFunction/module.js | test/configCases/inner-graph/defaultNamedFunction/module.js | import { fun1, fun2 } from "any";
export default function withName() {
fun1();
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/specifier/webpack.config.js | test/configCases/inner-graph/specifier/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./assert": []
}
},
fun1: {
usedExports: ["fun1"],
expect: {
"./assert": ["deepEqual", "equal"]
}
},
fun2: {
usedExports: ["fun2"],
expect: ... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/specifier/module.js | test/configCases/inner-graph/specifier/module.js | import { equal as eq, deepEqual } from "./assert";
function myFunction() {
function it() {
eq(1, arguments[0]);
}
deepEqual(1, 1);
it();
}
function fun2() {
deepEqual(1, 1);
}
export { myFunction as fun1, fun2 };
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultId/webpack.config.js | test/configCases/inner-graph/defaultId/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
default: {
usedExports: ["default"],
expect: {
any: ["fun1"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultId/module.js | test/configCases/inner-graph/defaultId/module.js | import { fun1, fun2 } from "any";
function fun3() {
fun1();
}
export default fun3;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/basic/webpack.config.js | test/configCases/inner-graph/basic/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./assert": ["equal"]
}
},
myFunction: {
usedExports: ["myFunction"],
expect: {
"./assert": ["deepEqual", "equal"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/basic/module.js | test/configCases/inner-graph/basic/module.js | import { equal as eq, deepEqual } from "./assert";
export function myFunction() {
function it() {
eq(1, arguments[0]);
}
deepEqual(1, 1);
it();
}
const bb = eq();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultNamedFunctionExpression/webpack.config.js | test/configCases/inner-graph/defaultNamedFunctionExpression/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
default: {
usedExports: ["default"],
expect: {
any: ["fun1"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultNamedFunctionExpression/module.js | test/configCases/inner-graph/defaultNamedFunctionExpression/module.js | import { fun1, fun2 } from "any";
export default (function withName() {
fun1();
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pure/webpack.config.js | test/configCases/inner-graph/pure/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./internal/_curry1": [],
"./curryN": [],
"./reduce": [],
"./max": [],
"./pluck": []
}
},
all: {
usedExports: ["default"],
expect: {
"./... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/pure/module.js | test/configCases/inner-graph/pure/module.js | // copy from rambda/es/allPass.js
import _curry1 from "./internal/_curry1";
import curryN from "./curryN";
import max from "./max";
import pluck from "./pluck";
import reduce from "./reduce";
/**
* Takes a list of predicates and returns a predicate that returns true for a
* given list of arguments if every one of th... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultFunctionExpression/webpack.config.js | test/configCases/inner-graph/defaultFunctionExpression/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
default: {
usedExports: ["default"],
expect: {
any: ["fun1"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultFunctionExpression/module.js | test/configCases/inner-graph/defaultFunctionExpression/module.js | import { fun1, fun2 } from "any";
export default (function() {
fun1();
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/nested/webpack.config.js | test/configCases/inner-graph/nested/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./assert": []
}
},
fun5: {
usedExports: ["fun5"],
expect: {
"./assert": ["deepEqual"]
}
},
fun6: {
usedExports: ["fun6"],
expect: {
"./a... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/nested/module.js | test/configCases/inner-graph/nested/module.js | import { deepEqual, equal } from "./assert";
function fun1() {
deepEqual(1, 1);
}
function fun2() {
fun1();
}
function fun3() {
fun2();
}
function fun4() {
fun3();
}
export function fun5() {
fun4();
}
export function fun6() {
equal(1, 1);
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/varNotWritten/webpack.config.js | test/configCases/inner-graph/varNotWritten/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
exp1: {
usedExports: ["exp1"],
expect: {
any: ["im1"]
}
},
exp2: {
usedExports: ["exp2"],
expect: {
any: ["im2"]
}
},
ex... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/varNotWritten/module.js | test/configCases/inner-graph/varNotWritten/module.js | import { im1, im2, im3 } from "any";
var exp1 = function() {
console.log(im1);
};
var exp2 = () => {
console.log(im2);
};
var exp3 = function() {
console.log(im3);
};
export var exp4 = () => {
exp2();
};
export var expCls = class {
constructor() {
exp1();
}
};
export { exp1, exp2, exp3 };
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/eval-bailout/webpack.config.js | test/configCases/inner-graph/eval-bailout/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./test": []
}
},
nonEval: {
usedExports: ["x"],
expect: {
"./test": ["a"]
}
},
directEval: {
usedExports: ["y"],
expect: {
"./test": ["a... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/eval-bailout/module.js | test/configCases/inner-graph/eval-bailout/module.js | import { a, b, c } from "./test";
export function x() {
a();
}
export function y() {
b();
eval("x()");
}
export function z() {
c();
y();
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultFunction/webpack.config.js | test/configCases/inner-graph/defaultFunction/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
default: {
usedExports: ["default"],
expect: {
any: ["fun1"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultFunction/module.js | test/configCases/inner-graph/defaultFunction/module.js | import { fun1, fun2 } from "any";
export default function() {
fun1();
}
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-17565/test.filter.js | test/configCases/inner-graph/issue-17565/test.filter.js | "use strict";
const supportsClassFields = require("../../../helpers/supportsClassFields");
module.exports = () => supportsClassFields();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-17565/webpack.config.js | test/configCases/inner-graph/issue-17565/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./test": ["A", "B", "C1", "C2"]
}
},
all: {
usedExports: ["cls1", "cls3", "cls5", "cls7", "cls9"],
expect: {
"./test": ["A", "B", "C1", "C2"]
}
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-17565/module.js | test/configCases/inner-graph/issue-17565/module.js | import { A, B, C1, C2, C3, Err } from "./test";
var arr1 = A,
cls = class extends Error {},
cls1 = class {
constructor(t) {
if (!arr1.includes(t.version)) throw "invalid parquet version";
}
async *[Symbol.asyncIterator]() {
yield "";
}
};
var arr2 = B;
var cls2 = class extends Error {},
cls3 = class... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/altaskitButton/webpack.config.js | test/configCases/inner-graph/altaskitButton/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"babel-runtime/helpers/extends": ["default"],
"babel-runtime/core-js/object/get-prototype-of": ["default"],
"babel-runtime/helpers/classCallCheck": ["def... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/altaskitButton/module.js | test/configCases/inner-graph/altaskitButton/module.js | /**
* Copy from @atlaskit/button
*/
import _extends from 'babel-runtime/helpers/extends';
import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possi... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-12669/webpack.config.js | test/configCases/inner-graph/issue-12669/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"@effect-ts/tracing-utils": [],
"@effect-ts/system/Option": [
"extend",
"flatten",
"getLeft",
"getRight",
"isNone",
"map",
"map_... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/issue-12669/module.js | test/configCases/inner-graph/issue-12669/module.js | import * as tracing_1 from "@effect-ts/tracing-utils";
const fileName_1 = "(@effect-ts/core): _src/Option/operations.ts";
import * as O from "@effect-ts/system/Option";
import { makeAssociative } from "../Associative";
import { left, right } from "../Either";
import { pipe } from "../Function";
import { fold, fromAssoc... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultExpression/webpack.config.js | test/configCases/inner-graph/defaultExpression/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: ["fun2", "var1"]
}
},
all: {
usedExports: ["default"],
expect: {
any: ["fun2", "var1"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultExpression/module.js | test/configCases/inner-graph/defaultExpression/module.js | import { var1, fun2 } from "any";
export default var1 + fun2();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/_helpers/createTestCases.js | test/configCases/inner-graph/_helpers/createTestCases.js | /** @typedef {import("../../../../").Configuration} Configuration */
/**
* @param {Record<string, { name?: string, usedExports: string[], expect: Record<string, string[]> }>} testCases
* @returns {Configuration[]} configurations
*/
module.exports = testCases => {
/** @type {Configuration[]} */
const configs = [];... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/_helpers/unknown.js | test/configCases/inner-graph/_helpers/unknown.js | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false | |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/_helpers/entryLoader.js | test/configCases/inner-graph/_helpers/entryLoader.js | /** @type {import("../../../../").LoaderDefinition<string>} */
module.exports = function () {
const { name, expect, usedExports } = JSON.parse(this.query.slice(1));
return [
`if (Math.random() < 0) require(${JSON.stringify(
`../_helpers/testModuleLoader?${JSON.stringify(usedExports)}!`
)});`,
"",
...Object... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/_helpers/loader.js | test/configCases/inner-graph/_helpers/loader.js | /** @type {import("../../../../").LoaderDefinition} */
module.exports = source => {
return [
source,
`export const __usedExports = __webpack_exports_info__.usedExports;`
].join("\n");
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/_helpers/testModuleLoader.js | test/configCases/inner-graph/_helpers/testModuleLoader.js | /** @type {import("../../../../").LoaderDefinition<string>} */
module.exports = function () {
const usedExports = JSON.parse(this.query.slice(1));
return [
`import { ${usedExports
.map((/** @type {string} */ x) => `${x} as export_${x}`)
.join(", ")} } from "./module";`,
`export default [${usedExports.map((/... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/_helpers/inner-file.js | test/configCases/inner-graph/_helpers/inner-file.js | export { default } from "./unknown";
export * from "./unknown";
export const __usedExports = __webpack_exports_info__.usedExports;
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/class/test.filter.js | test/configCases/inner-graph/class/test.filter.js | "use strict";
const supportsClassFields = require("../../../helpers/supportsClassFields");
module.exports = () => supportsClassFields();
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/class/webpack.config.js | test/configCases/inner-graph/class/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
const base = ["getNameA", "getNameB"];
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./assert": [...base]
}
},
ExportCls1: {
usedExports: ["ExportCls1"],
expect: {
"./assert": [...base, "deepE... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/class/module.js | test/configCases/inner-graph/class/module.js | import {
deepEqual,
equal,
strictEqual,
notEqual,
maybeEqual,
definiteEqual,
getNameA,
getNameB
} from "./assert";
function fun1() {
deepEqual(1, 1);
}
function fun2() {
fun1();
}
function fun3() {
fun2();
}
function fun4() {
fun3();
}
export class ExportCls1 {
constructor() {
fun4();
}
}
export c... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultArrow/webpack.config.js | test/configCases/inner-graph/defaultArrow/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
exp1: {
usedExports: ["default"],
expect: {
any: ["fun1"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/defaultArrow/module.js | test/configCases/inner-graph/defaultArrow/module.js | import { fun1, fun2 } from "any";
export default () => {
fun1();
};
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/export/webpack.config.js | test/configCases/inner-graph/export/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./components/Button": [],
"./components/ButtonGroup": [],
"./theme": []
}
},
all: {
usedExports: ["default", "ButtonGroup", "themeNamespace"],
e... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/export/module.js | test/configCases/inner-graph/export/module.js | export { default } from "./components/Button";
export { default as ButtonGroup } from "./components/ButtonGroup";
export { themeNamespace } from "./theme";
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/blockScopes/webpack.config.js | test/configCases/inner-graph/blockScopes/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./test": []
}
},
a: {
usedExports: ["a"],
expect: {
"./test": ["A"]
}
},
b: {
usedExports: ["b"],
expect: {
"./test": []
}
},
c: {
... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/blockScopes/module.js | test/configCases/inner-graph/blockScopes/module.js | import { A, B, C1, C2, D1, D2, E1, E2, E3, F, G } from "./test";
export { a, b, c, d };
if (Math.random() > 0.5) {
var a = () => A;
let b = () => B;
}
let b;
var c = () => C1;
couldCallExportC();
var c = () => C2;
couldCallExportC();
while (Math.random() > 0.5) {
let d = () => D1;
}
while (Math.random() > 0.5)... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/importAll/webpack.config.js | test/configCases/inner-graph/importAll/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"@angular/core": ["ɵccf", "ɵcrt", "ɵdid", "ɵeld", "ɵted", "ɵvid"],
"./app.component": ["AppComponent"]
}
},
AppComponentNgFactory: {
usedExports: ["Ap... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/importAll/module.js | test/configCases/inner-graph/importAll/module.js | /**
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
*
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
* tslint:disable
*/
import * as i0 from "@angular/core";
import * as i1 from "./app.component";
var styles_AppComponent = [];
var Rende... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/const/webpack.config.js | test/configCases/inner-graph/const/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
any: []
}
},
exp1: {
usedExports: ["exp1"],
expect: {
any: ["im1"]
}
},
exp2: {
usedExports: ["exp2"],
expect: {
any: ["im2"]
}
},
ex... | javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/const/module.js | test/configCases/inner-graph/const/module.js | import { im1, im2 } from "any";
const exp1 = function() {
console.log(im1);
};
const exp2 = () => {
console.log(im2);
};
export const exp4 = () => {
exp2();
};
export const expCls = class {
constructor() {
exp1();
}
};
export { exp1, exp2 };
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
webpack/webpack | https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/configCases/inner-graph/localReference/webpack.config.js | test/configCases/inner-graph/localReference/webpack.config.js | "use strict";
const createTestCases = require("../_helpers/createTestCases");
module.exports = createTestCases({
nothing: {
usedExports: [],
expect: {
"./assert": ["deepEqual"]
}
}
});
| javascript | MIT | d2a124db548cad6e84dffd93b502a4e74bfe2b6a | 2026-01-04T14:56:49.698101Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.