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/cases/scope-hoisting/orphan/node_modules/pkg/index.js
test/cases/scope-hoisting/orphan/node_modules/pkg/index.js
import { y as used } from "./module" import unused from "./b" export default used;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/orphan/node_modules/pkg/b.js
test/cases/scope-hoisting/orphan/node_modules/pkg/b.js
import { y } from './module'; y; export default 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/orphan/node_modules/pkg/x.js
test/cases/scope-hoisting/orphan/node_modules/pkg/x.js
export default 1
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/orphan/node_modules/pkg/y.js
test/cases/scope-hoisting/orphan/node_modules/pkg/y.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/cases/scope-hoisting/orphan/node_modules/pkg/module.js
test/cases/scope-hoisting/orphan/node_modules/pkg/module.js
import x from './x'; import * as y from './y'; export { x, y };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-9159/reexport.js
test/cases/scope-hoisting/side-effects-9159/reexport.js
export { value, ns } from "./package";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-9159/index.js
test/cases/scope-hoisting/side-effects-9159/index.js
it("should reexport from side-effect-free scope-hoisted module", () => { const m = require("./reexport"); expect(m.value).toBe(42); expect(m.ns.default).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-9159/package/index.js
test/cases/scope-hoisting/side-effects-9159/package/index.js
export { default as value } from "./module"; import * as ns from "./module"; export { ns };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-9159/package/module.js
test/cases/scope-hoisting/side-effects-9159/package/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/cases/scope-hoisting/circular-namespace-object/index.js
test/cases/scope-hoisting/circular-namespace-object/index.js
import value from "./module"; it("should have access to namespace object before evaluation", function() { expect(value).toBe("ok"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/circular-namespace-object/module2.js
test/cases/scope-hoisting/circular-namespace-object/module2.js
import * as module from "./module"; var f = Object(module).func; export default f();
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/circular-namespace-object/module.js
test/cases/scope-hoisting/circular-namespace-object/module.js
export { default } from "./module2" export function func() { return "ok"; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-star-exposed-cjs/index.js
test/cases/scope-hoisting/reexport-star-exposed-cjs/index.js
var c = require("./c"); it("should have the correct values", function() { expect(c.named).toBe("named"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-star-exposed-cjs/b.js
test/cases/scope-hoisting/reexport-star-exposed-cjs/b.js
export { named } from "./a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-star-exposed-cjs/c.js
test/cases/scope-hoisting/reexport-star-exposed-cjs/c.js
export * from "./b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-star-exposed-cjs/a.js
test/cases/scope-hoisting/reexport-star-exposed-cjs/a.js
exports.named = "named";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-6407/index.js
test/cases/scope-hoisting/issue-6407/index.js
import importOne from './import-one'; import importTwo from './import-two'; it("should concatenate modules default exports and empty array values", function() { expect(importOne.length).toBe(2); expect(typeof importOne[0]).toBe('undefined'); expect(typeof importOne[1]).toBe('function'); expect(importTwo.length).to...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-6407/import-two.js
test/cases/scope-hoisting/issue-6407/import-two.js
function foo(n) { return 'bar'; } export default [, foo];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-6407/import-one.js
test/cases/scope-hoisting/issue-6407/import-one.js
function foo(n) { return 'bar'; } export default [, foo];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/order-without-side-effects/index.js
test/cases/scope-hoisting/order-without-side-effects/index.js
import { array } from "./tracker"; import { a } from "./a"; import { b } from "./b"; it("should concatenate in correct order", function() { expect(b).toBe(2); expect(a).toBe(1); expect(array).toEqual(["a", "b"]); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/order-without-side-effects/b.js
test/cases/scope-hoisting/order-without-side-effects/b.js
import { array } from "./tracker"; array.push("b"); export var b = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/order-without-side-effects/tracker.js
test/cases/scope-hoisting/order-without-side-effects/tracker.js
export var array = [];
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/order-without-side-effects/a.js
test/cases/scope-hoisting/order-without-side-effects/a.js
import { array } from "./tracker"; array.push("a"); export var a = 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020-minimal/index.js
test/cases/scope-hoisting/issue-5020-minimal/index.js
var testData = require("./src/index.js"); it("should export the correct values", function() { expect(testData).toEqual( nsObj({ icon: nsObj({ svg: nsObj({ default: 1 }) }) }) ); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020-minimal/src/index.js
test/cases/scope-hoisting/issue-5020-minimal/src/index.js
import * as icon from "./icon"; export { icon }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020-minimal/src/icon/index.js
test/cases/scope-hoisting/issue-5020-minimal/src/icon/index.js
import * as svg from "./svg"; export { svg };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020-minimal/src/icon/svg/svg1.js
test/cases/scope-hoisting/issue-5020-minimal/src/icon/svg/svg1.js
export const svg1 = 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020-minimal/src/icon/svg/index.js
test/cases/scope-hoisting/issue-5020-minimal/src/icon/svg/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/cases/scope-hoisting/issue-5443/reexport.js
test/cases/scope-hoisting/issue-5443/reexport.js
import * as module from "./module" export { module }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5443/index.js
test/cases/scope-hoisting/issue-5443/index.js
import { module } from "./reexport"; it("should have the correct values", function() { expect(module).toEqual(nsObj({ default: "default", named: "named" })); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5443/module.js
test/cases/scope-hoisting/issue-5443/module.js
export default "default"; export var named = "named";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/intra-references/index.js
test/cases/scope-hoisting/intra-references/index.js
import value from "./a"; it("should have the correct values", function() { expect(value).toBe("ok"); }); // prevent scope hoisting of b require("./b");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/intra-references/b.js
test/cases/scope-hoisting/intra-references/b.js
export { default } from "./c";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/intra-references/c.js
test/cases/scope-hoisting/intra-references/c.js
export default "ok";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/intra-references/a.js
test/cases/scope-hoisting/intra-references/a.js
export { default } from "./b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-10308/commonjs.js
test/cases/scope-hoisting/issue-10308/commonjs.js
module.exports = 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-10308/index.js
test/cases/scope-hoisting/issue-10308/index.js
import { fn } from "./root"; import(/* webpackMode: "eager" */ "./external"); it("should use the correct names", () => { expect(fn()).toBe(42); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-10308/root.js
test/cases/scope-hoisting/issue-10308/root.js
import CommonJs from "./commonjs"; import { test } from "./external"; function fn() { CommonJs; var external = 40; var externalValue = test(external); return externalValue; } export { fn };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-10308/external.js
test/cases/scope-hoisting/issue-10308/external.js
export function test(base) { return base + 2; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/esModule/index.js
test/cases/scope-hoisting/esModule/index.js
it("should have the __esModule flag", () => { return import("./module").then(mod => { expect(mod.__esModule).toBe(true); expect(mod.default).toBe(84); }) })
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/esModule/other.js
test/cases/scope-hoisting/esModule/other.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/esModule/module.js
test/cases/scope-hoisting/esModule/module.js
import other from "./other"; export default other * 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/export-namespace/index.js
test/cases/scope-hoisting/export-namespace/index.js
import { ns as ns1 } from "./module1"; const ns2 = require("./module2").ns; it("should allow to export a namespace object (concated)", function() { expect(ns1).toEqual(nsObj({ a: "a", b: "b" })); }); it("should allow to export a namespace object (exposed)", function() { expect(ns2).toEqual(nsObj({ a: "a", ...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/export-namespace/ns2.js
test/cases/scope-hoisting/export-namespace/ns2.js
export var a = "a"; export var b = "b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/export-namespace/module1.js
test/cases/scope-hoisting/export-namespace/module1.js
import * as ns from "./ns1"; export { ns };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/export-namespace/module2.js
test/cases/scope-hoisting/export-namespace/module2.js
import * as ns from "./ns2"; export { ns };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/export-namespace/ns1.js
test/cases/scope-hoisting/export-namespace/ns1.js
export var a = "a"; export var b = "b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/chunk1.js
test/cases/scope-hoisting/side-effects-11990/chunk1.js
import { value3 } from "./reexport"; expect(value3).toBe(42);
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/reexport.js
test/cases/scope-hoisting/side-effects-11990/reexport.js
export { value } from "./reexport2"; import { value4 } from "./reexport2"; import v from "./reexport-concat"; export const value3 = v + value4 - value4;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/reexport2.js
test/cases/scope-hoisting/side-effects-11990/reexport2.js
export { value } from "./module"; export const value4 = 42; module.id;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/index.js
test/cases/scope-hoisting/side-effects-11990/index.js
import { value, value3 } from "./reexport"; it("should generate working code", () => { expect(value).toBe(42); expect(value3).toBe(42); }); it("should run the chunk1", () => import("./chunk1")); it("should run the chunk2", () => import("./chunk2"));
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/module-concat.js
test/cases/scope-hoisting/side-effects-11990/module-concat.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/chunk2.js
test/cases/scope-hoisting/side-effects-11990/chunk2.js
import { value2 } from "./module"; expect(value2).toBe(42);
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/reexport-concat.js
test/cases/scope-hoisting/side-effects-11990/reexport-concat.js
export default 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/side-effects-11990/module.js
test/cases/scope-hoisting/side-effects-11990/module.js
export const value = 42; export const value2 = 42;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5314/index.js
test/cases/scope-hoisting/issue-5314/index.js
import a from "./module"; var obj = {}; it("should allow access to the default export of the root module", function() { expect(a()).toBe(obj); }); export default obj;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5314/module.js
test/cases/scope-hoisting/issue-5314/module.js
import b from "./index"; export default function() { return b; };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/index.js
test/cases/scope-hoisting/issue-5020/index.js
var testData = require("./src/index.js"); it("should export the correct values", function() { expect(testData).toEqual( nsObj({ svg5: nsObj({ svg: nsObj({ clinical1: { svg1: 1 }, clinical2: { svg2: 2 } }) }), svg6: nsObj({ svg: nsObj({ test: { svg1: 10...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/index.js
test/cases/scope-hoisting/issue-5020/src/index.js
import * as svg5 from "./icon"; import * as svg6 from "./icon1"; export { svg5, svg6 }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon/index.js
test/cases/scope-hoisting/issue-5020/src/icon/index.js
import * as svg from "./svg"; export { svg };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon/svg/svg1.js
test/cases/scope-hoisting/issue-5020/src/icon/svg/svg1.js
export const svg1 = 1;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon/svg/index.js
test/cases/scope-hoisting/issue-5020/src/icon/svg/index.js
import { svg1 } from "./svg1"; import { svg2 } from "./svg2"; const clinical1 = { svg1 }; const clinical2 = { svg2 }; export { clinical1, clinical2 };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon/svg/svg2.js
test/cases/scope-hoisting/issue-5020/src/icon/svg/svg2.js
export const svg2 = 2;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon1/index.js
test/cases/scope-hoisting/issue-5020/src/icon1/index.js
import * as svg from "./svg"; export { svg };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon1/svg/svg1.js
test/cases/scope-hoisting/issue-5020/src/icon1/svg/svg1.js
export const svg1 = 10;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon1/svg/index.js
test/cases/scope-hoisting/issue-5020/src/icon1/svg/index.js
import { svg1 } from "./svg1"; import { svg2 } from "./svg2"; const test = { svg1 }; const clinical2 = { svg2 }; export { test, clinical2 };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-5020/src/icon1/svg/svg2.js
test/cases/scope-hoisting/issue-5020/src/icon1/svg/svg2.js
export const svg2 = 20;
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-11840/index.js
test/cases/scope-hoisting/issue-11840/index.js
import { Mixin } from "./Mixin"; const createMixin = fn => class Mixin extends fn(Mixin) {}; it("should have no name conflict", () => { expect(new (createMixin(x => x))()).toBeInstanceOf(Mixin); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/issue-11840/Mixin.js
test/cases/scope-hoisting/issue-11840/Mixin.js
export const Mixin = class Mixin {};
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-cjs/index.js
test/cases/scope-hoisting/reexport-cjs/index.js
import { named } from "./c"; it("should have the correct values", function() { expect(named).toBe("named"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-cjs/b.js
test/cases/scope-hoisting/reexport-cjs/b.js
export { named } from "./a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-cjs/c.js
test/cases/scope-hoisting/reexport-cjs/c.js
export { named } from "./b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-cjs/a.js
test/cases/scope-hoisting/reexport-cjs/a.js
exports.named = "named";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/import-order/commonjs.js
test/cases/scope-hoisting/import-order/commonjs.js
var track = require("./tracker").track; track("commonjs");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/import-order/index.js
test/cases/scope-hoisting/import-order/index.js
import "./commonjs"; import "./module"; import { log } from "./tracker"; it("should evaluate import in the correct order", function() { expect(log).toEqual(["commonjs", "module"]); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/import-order/tracker.js
test/cases/scope-hoisting/import-order/tracker.js
export var log = []; export function track(name) { log.push(name); }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/import-order/module.js
test/cases/scope-hoisting/import-order/module.js
import { track } from "./tracker"; track("module");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/renaming-4967/file1.js
test/cases/scope-hoisting/renaming-4967/file1.js
export function a() { return "ok"; } export function test() { function file1_js_a() { return "fail"; } function file1_a() { return "fail"; } return a(); } function renaming_4967_file1_js_a() { return "fail"; } function renaming_4967_file1_a() { return "fail"; }
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/renaming-4967/index.js
test/cases/scope-hoisting/renaming-4967/index.js
it("should check existing variables when renaming", function() { expect(require("./module").d.x()).toBe("ok"); expect(require("./module").c.a()).toBe("ok"); expect(require("./module").test()).toBe("ok"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/renaming-4967/module.js
test/cases/scope-hoisting/renaming-4967/module.js
import { a as b, test } from './file1'; var c = { a: function a() { return b(); }, }; var d = { x: function x() { function a() { return "fail"; } return b(); }, }; export { c, d, test };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/async-keyword-5615/index.js
test/cases/scope-hoisting/async-keyword-5615/index.js
import value from "./async"; it("should have the correct values", function() { expect(value).toBe("default"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/async-keyword-5615/async.js
test/cases/scope-hoisting/async-keyword-5615/async.js
export default "default";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/name-conflicts/index.js
test/cases/scope-hoisting/name-conflicts/index.js
import value1 from "./module?("; import value2 from "./module?)"; import value3 from "./module?["; import value4 from "./module?]"; import value5 from "./module?{"; import value6 from "./module?}"; it("should not break on name conflicts", function() { expect(value1).toBe("a"); expect(value2).toBe("a"); expect(value...
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/name-conflicts/module.js
test/cases/scope-hoisting/name-conflicts/module.js
export default "a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/require-root-5604/index.js
test/cases/scope-hoisting/require-root-5604/index.js
import value, { self as moduleSelf } from "./module"; export var self = require("./"); it("should have the correct values", function() { expect(value).toBe("default"); expect(moduleSelf).toBe(self); expect(self.self).toBe(self); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/require-root-5604/module.js
test/cases/scope-hoisting/require-root-5604/module.js
export default "default"; export var self = require("./");
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/chained-reexport/index.js
test/cases/scope-hoisting/chained-reexport/index.js
import { named } from "./c"; it("should have the correct values", function() { expect(named).toBe("named"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/chained-reexport/b.js
test/cases/scope-hoisting/chained-reexport/b.js
export * from "./a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/chained-reexport/c.js
test/cases/scope-hoisting/chained-reexport/c.js
export { named } from "./b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/chained-reexport/a.js
test/cases/scope-hoisting/chained-reexport/a.js
export var named = "named";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/this-in-import/index.js
test/cases/scope-hoisting/this-in-import/index.js
import { obj } from "./module.js"; import { obj2 } from "./cjs.js"; it("should have correct this in called function", () => { const r = obj.func(); expect(r).toBe(obj); obj.test(); }); it("should have correct this in called function from commonjs", () => { const r = obj2.func(); expect(r).toBe(obj2); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/this-in-import/cjs.js
test/cases/scope-hoisting/this-in-import/cjs.js
exports.obj2 = { func() { return this; } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/this-in-import/module.js
test/cases/scope-hoisting/this-in-import/module.js
import { obj as obj2 } from "./module"; export const obj = { func() { return this; }, test() { expect(obj2.func()).toBe(obj2); } };
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/simple/index.js
test/cases/scope-hoisting/simple/index.js
import value, { named } from "./module"; it("should have the correct values", function() { expect(value).toBe("default"); expect(named).toBe("named"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/simple/module.js
test/cases/scope-hoisting/simple/module.js
export default "default"; export var named = "named";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-exposed-default-cjs/index.js
test/cases/scope-hoisting/reexport-exposed-default-cjs/index.js
var c = require("./c"); it("should have the correct values", function() { expect(c.default).toBe("default"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-exposed-default-cjs/b.js
test/cases/scope-hoisting/reexport-exposed-default-cjs/b.js
export { default } from "./a";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-exposed-default-cjs/c.js
test/cases/scope-hoisting/reexport-exposed-default-cjs/c.js
export { default } from "./b";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-exposed-default-cjs/a.js
test/cases/scope-hoisting/reexport-exposed-default-cjs/a.js
module.exports = "default";
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false
webpack/webpack
https://github.com/webpack/webpack/blob/d2a124db548cad6e84dffd93b502a4e74bfe2b6a/test/cases/scope-hoisting/reexport-exposed-cjs/index.js
test/cases/scope-hoisting/reexport-exposed-cjs/index.js
var c = require("./c"); it("should have the correct values", function() { expect(c.named).toBe("named"); });
javascript
MIT
d2a124db548cad6e84dffd93b502a4e74bfe2b6a
2026-01-04T14:56:49.698101Z
false