GeezerVison is showing github.com — fix: treat top-level `this` in a classic worker entry as its global scope by alexander-akait · Pull Request #21720 · webpack/webpack
Conversation
alexander-akait
commented
Aug 14, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
A classic worker script's top-level this is its global scope, but webpack rewrites it to the module's exports object, so this.onmessage = … in a new Worker(new URL("./worker.js", import.meta.url)) entry silently assigns to an object nothing reads — and is dropped entirely when the export is unused. this in a worker entry's own runtime now generates as __webpack_require__.g; every other runtime keeps exports semantics, so a file that is both imported and used as a worker entry behaves correctly in both roles. Module workers and worklets are unaffected (an ES module's top-level this is undefined). Refs #12031.
What kind of change does this PR introduce?
fix
Did you add tests for your changes?
Yes — four cases under test/configCases/worker/: this-in-worker-entry, this-in-worker-entry-shared (same file imported and used as a worker entry), this-in-worker-entry-unused (exports unused in both roles, so only the per-runtime hash tells them apart) and this-in-module-worker (regression guard).
Does this PR introduce a breaking change?
No.
If relevant, what needs to be documented once your changes are merged or what have you already documented?
n/a
Use of AI
Claude Code was used to investigate the reported behaviour, draft the change and the test cases, and run the test and lint suites. Every line was reviewed and verified locally before pushing.
Generated by Claude Code
Summary by CodeRabbit
-
Bug Fixes
- Corrected top-level
this handling in classic worker entries so it refers to the worker’s global scope.
- Preserved expected exports and runtime behavior for files shared between regular modules and worker entries.
- Maintained existing behavior in non-worker contexts.
-
Tests
- Added coverage for classic and module workers, including messaging, exports, and global-scope behavior.
-
Documentation
- Documented the updated classic worker-entry behavior in the release notes.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…cope
A classic worker script's `this` is its global scope, but webpack bundles
the entry as a module, so `this.onmessage = fn` became an export nobody
reads and was dropped — silently, with no diagnostic. Generate it as
`__webpack_require__.g` for the worker entry's own runtime instead, and
contribute that to the module hash so a file that is also imported
normally keeps exports semantics in its own runtime. A module worker or
worklet is an ES module, where `this` is undefined, so it is left alone.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Aug 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Warning
Review limit reached
@alexander-akait, you've reached your PR review limit, so we couldn't start this review.
Next review available in: 1 minute
Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).
How can I continue?
After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.
To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.
How do review limits work?
CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.
For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.
Please refer docs for additional details.
Review details
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 209b9cc6-ceff-4a31-86b6-3ac36fade6ad
📥 Commits
Reviewing files that changed from the base of the PR and between c0d27ca and d037d56.
📒 Files selected for processing (6)
lib/dependencies/CommonJsDependencyHelpers.js
test/configCases/worker/this-in-shared-runtime-worker/index.js
test/configCases/worker/this-in-shared-runtime-worker/shared.js
test/configCases/worker/this-in-shared-runtime-worker/test.config.js
test/configCases/worker/this-in-shared-runtime-worker/test.filter.js
test/configCases/worker/this-in-shared-runtime-worker/webpack.config.js
Note
.coderabbit.yaml has unrecognized properties
CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.
⚠️ Parsing warnings (1)
Validation error: Unrecognized key: "tools"
⚙️ Configuration instructions
- Please see the configuration documentation for more information.
- You can also validate your configuration using the online YAML validator.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: e58f11b1-f716-4ca6-8f1a-84c41b2de8a1
📥 Commits
Reviewing files that changed from the base of the PR and between 17add9c and c0d27ca.
📒 Files selected for processing (4)
lib/dependencies/CommonJsDependencyHelpers.js
lib/dependencies/CommonJsExportsDependency.js
test/configCases/worker/this-in-worker-entry/index.js
test/configCases/worker/this-in-worker-entry/worker.js
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
webpack/schema-utils (auto-detected)
webpack/tapable (auto-detected)
🚧 Files skipped from review as they are similar to previous changes (3)
- test/configCases/worker/this-in-worker-entry/index.js
- lib/dependencies/CommonJsExportsDependency.js
- test/configCases/worker/this-in-worker-entry/worker.js
📝 Walkthrough
Walkthrough
The change detects classic worker entries and maps top-level this to the global runtime object. CommonJS dependency hashing and template generation preserve worker references. New worker tests cover classic, shared, unused, and module-worker cases.
Changes
Worker entry global scope
| Layer / File(s) |
Summary |
Worker detection and base resolution lib/dependencies/CommonJsDependencyHelpers.js |
Classic worker entries are detected. this and Object.defineProperty(this) use RuntimeGlobals.global in those entries. |
Dependency template generation lib/dependencies/CommonJsExportsDependency.js, lib/dependencies/CommonJsSelfReferenceDependency.js, .changeset/112-worker-entry-this-global.md |
Worker-specific hashes and template contexts preserve referenced names and pass worker state to base handling. A patch changeset documents the behavior. |
Worker scope regression coverage test/configCases/worker/this-in-*/** |
Tests cover classic worker globals, shared modules, unused exports, and module-worker top-level this. |
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
| Check name |
Status |
Explanation |
| Description Check |
✅ Passed |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
✅ Passed |
The title uses the required fix: type, clearly describes the worker-entry change, and matches the main objective of the pull request. |
| Linked Issues check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR is packaged and the instant preview is available (f466ea8).
Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@f466ea8
yarn add -D webpack@https://pkg.pr.new/webpack@f466ea8
pnpm add -D webpack@https://pkg.pr.new/webpack@f466ea8
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
codecov
Bot
commented
Aug 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.57%. Comparing base (5e392ee) to head (d037d56).
⚠️ Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #21720 +/- ##
==========================================
- Coverage 94.57% 94.57% -0.01%
==========================================
Files 633 633
Lines 83223 83315 +92
Branches 24803 24852 +49
==========================================
+ Hits 78707 78793 +86
- Misses 4516 4522 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Generated code size
Comparing d037d56 merged into ca80be9 against ca80be9. Merging this PR will change the code webpack generates.
|
Changed |
New |
Deleted |
Unchanged |
Raw change |
| Cases |
0 |
5 |
0 |
1624 |
🔴 ↑ +6.91 KiB |
| Assets |
0 |
11 |
0 |
6388 |
🔴 ↑ +6.91 KiB |
| Runtimes |
0 |
7 |
0 |
1982 |
— |
11 asset(s) changed size
|
Asset |
Before |
After |
Change |
Gzip (9) |
Brotli (11) |
Zstd (19) |
| ➕ |
worker/this-in-shared-runtime-worker shared-rt.js |
— |
1.62 KiB |
+1.62 KiB (new) |
new |
new |
new |
| ➕ |
worker/this-in-worker-entry-shared main.js |
— |
1.37 KiB |
+1.37 KiB (new) |
new |
new |
new |
| ➕ |
worker/this-in-worker-entry-unused main.js |
— |
1.22 KiB |
+1.22 KiB (new) |
new |
new |
new |
| ➕ |
worker/this-in-worker-entry main.js |
— |
999 B |
+999 B (new) |
new |
new |
new |
| ➕ |
worker/this-in-module-worker bundle0.mjs |
— |
493 B |
+493 B (new) |
new |
new |
new |
| ➕ |
worker/this-in-worker-entry 447.js |
— |
341 B |
+341 B (new) |
new |
new |
new |
| ➕ |
worker/this-in-worker-entry-shared 48.js |
— |
303 B |
+303 B (new) |
new |
new |
new |
| ➕ |
worker/this-in-shared-runtime-worker main.js |
— |
290 B |
+290 B (new) |
new |
new |
new |
| ➕ |
worker/this-in-worker-entry-unused 56.js |
— |
271 B |
+271 B (new) |
new |
new |
new |
| ➕ |
worker/this-in-shared-runtime-worker 48.js |
— |
46 B |
+46 B (new) |
new |
new |
new |
| ➕ |
worker/this-in-module-worker 56.bundle0.mjs |
— |
24 B |
+24 B (new) |
new |
new |
new |
7 runtime(s) changed which runtime modules they carry
|
Runtime |
Modules |
Added |
Removed |
| ➕ |
worker/this-in-shared-runtime-worker shared-rt |
0 → 6 |
chunk loaded, get javascript chunk filename, global, hasOwnProperty shorthand, jsonp chunk loading, publicPath |
— |
| ➕ |
worker/this-in-worker-entry main |
0 → 4 |
get javascript chunk filename, global, jsonp chunk loading, publicPath |
— |
| ➕ |
worker/this-in-worker-entry-shared main |
0 → 4 |
get javascript chunk filename, global, jsonp chunk loading, publicPath |
— |
| ➕ |
worker/this-in-worker-entry-unused main |
0 → 4 |
get javascript chunk filename, global, jsonp chunk loading, publicPath |
— |
| ➕ |
worker/this-in-worker-entry [hash] |
0 → 1 |
global |
— |
| ➕ |
worker/this-in-worker-entry-shared [hash] |
0 → 1 |
global |
— |
| ➕ |
worker/this-in-worker-entry-unused [hash] |
0 → 1 |
global |
— |
Built test/configCases with the defaults a user gets: 1629 case(s), 6399 asset(s), 40 emitted nothing.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The base keyword for that form is `Object.defineProperty(this)`, which does
not end in `this`, so the worker branch was never reached.
codspeed
Bot
commented
Aug 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Merging this PR will improve performance by 27.63%
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
Open the report in CodSpeed to investigate
⚡ 2 improved benchmarks
✅ 308 untouched benchmarks
Performance Changes
Tip Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing fix/worker-entry-this-global (d037d56) with main (ca80be9)
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
An entry may pin a worker to a non-worker entry's runtime, leaving one code
generation to serve both roles. Treat `this` as the global scope only when
every entrypoint of the runtime is a worker.
Types CoverageCoverage after merging fix/worker-entry-this-global into main will be
Coverage Report| File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
|---|
| bin | | webpack.js | 98.82% | 100% | 100% | 98.82% | 103 | | examples | | build-common.js | 100% | 100% | 100% | 100% | | | buildAll.js | 100% | 100% | 100% | 100% | | | examples.js | 100% | 100% | 100% | 100% | | | template-common.js | 98.21% | 100% | 100% | 98.21% | 72 | | examples/custom-javascript-parser | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/custom-javascript-parser/internals | | acorn-parse.js | 100% | 100% | 100% | 100% | | | meriyah-parse.js | 100% | 100% | 100% | 100% | | | oxc-parse.js | 100% | 100% | 100% | 100% | | | examples/markdown | | webpack.config.mjs | 100% | 100% | 100% | 100% | | | examples/module-federation | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/reexport-components | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/typescript | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/typescript-non-erasable | | test.filter.js | 50% | 100% | 100% | 50% | 5 | | examples/virtual-modules | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-bindgen-esm | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-complex | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-emscripten | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-simple | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-simple-source-phase | | test.filter.js | 100% | 100% | 100% | 100% | | | lib | | APIPlugin.js | 100% | 100% | 100% | 100% | | | AsyncDependenciesBlock.js | 100% | 100% | 100% | 100% | | | AutomaticPrefetchPlugin.js | 100% | 100% | 100% | 100% | | | BannerPlugin.js | 100% | 100% | 100% | 100% | | | Cache.js | 98.21% | 100% | 100% | 98.21% | 101 | | CacheFacade.js | 100% | 100% | 100% | 100% | | | Chunk.js | 99.72% | 100% | 100% | 99.72% | 39 | | ChunkGraph.js | 100% | 100% | 100% | 100% | | | ChunkGroup.js | 100% | 100% | 100% | 100% | | | ChunkTemplate.js | 100% | 100% | 100% | 100% | | | CircularModulesPlugin.js | 98.81% | 100% | 100% | 98.81% | 136 | | CleanPlugin.js | 99.12% | 100% | 100% | 99.12% | 214, 234 | | CodeGenerationResults.js | 100% | 100% | 100% | 100% | | | CompatibilityPlugin.js | 100% | 100% | 100% | 100% | | | Compilation.js | 98.44% | 100% | 100% | 98.44% | 1673, 1992, 1999, 2007, 2029, 2032, 2971, 3450–3451, 3483, 4192, 4222, 4275–4276, 4280, 4285, 4301–4302, 4316–4317, 4322–4323, 4843, 4869, 549, 554, 5679, 5711, 5728, 5746, 5762, 5777, 5802–5803, 5805, 6140, 6145, 6151, 6154, 6161, 6173, 6175, 6179, 6197, 6212, 6246, 6302, 6326, 6442, 801–802 | | Compiler.js | 99.56% | 100% | 100% | 99.56% | 1168–1169, 1177 | | ConcatenationScope.js | 99.12% | 100% | 100% | 99.12% | 300 | | ConditionalInitFragment.js | 100% | 100% | 100% | 100% | | | ConstPlugin.js | 100% | 100% | 100% | 100% | | | ContextExclusionPlugin.js | 100% | 100% | 100% | 100% | | | ContextModule.js | 99.88% | 100% | 100% | 99.88% | 1461 | | ContextModuleFactory.js | 97.20% | 100% | 100% | 97.20% | 266, 435, 456, 461, 501, 512, 514, 518, 527–528 | | ContextReplacementPlugin.js | 100% | 100% | 100% | 100% | | | DefinePlugin.js | 99.08% | 100% | 100% | 99.08% | 1080, 176–177, 193, 212, 286 | | DependenciesBlock.js | 100% | 100% | 100% | 100% | | | Dependency.js | 98.54% | 100% | 100% | 98.54% | 492, 539 | | DependencyTemplate.js | 100% | 100% | 100% | 100% | | | DependencyTemplates.js | 100% | 100% | 100% | 100% | | | DotenvPlugin.js | 98.41% | 100% | 100% | 98.41% | 378, 391–392 | | DynamicEntryPlugin.js | 100% | 100% | 100% | 100% | | | EntryOptionPlugin.js | 100% | 100% | 100% | 100% | | | EntryPlugin.js | 100% | 100% | 100% | 100% | | | Entrypoint.js | 100% | 100% | 100% | 100% | | | EnvironmentPlugin.js | 97.14% | 100% | 100% | 97.14% | 49 | | ErrorHelpers.js | 100% | 100% | 100% | 100% | | | EvalDevToolModulePlugin.js | 100% | 100% | 100% | 100% | | | EvalSourceMapDevToolPlugin.js | 100% | 100% | 100% | 100% | | | ExportsInfo.js | 100% | 100% | 100% | 100% | | | ExportsInfoApiPlugin.js | 100% | 100% | 100% | 100% | | | ExternalModule.js | 98.71% | 100% | 100% | 98.71% | 1256, 1259, 520–524, 526, 672 | | ExternalModuleFactoryPlugin.js | 100% | 100% | 100% | 100% | | | ExternalsPlugin.js | 100% | 100% | 100% | 100% | | | FileSystemInfo.js | 99.53% | 100% | 100% | 99.53% | 186, 2454–2455, 2458, 2469, 2480, 2491, 284, 3928, 3943, 3967 | | FlagAllModulesAsUsedPlugin.js | 100% | 100% | 100% | 100% | | | FlagDependencyExportsPlugin.js | 98.36% | 100% | 100% | 98.36% | 504, 513, 516, 520, 532 | | FlagDependencyUsagePlugin.js | 100% | 100% | 100% | 100% | | | FlagEntryExportAsUsedPlugin.js | 100% | 100% | 100% | 100% | | | Generator.js | 100% | 100% | 100% | 100% | | | HotModuleReplacementPlugin.js | 100% | 100% | 100% | 100% | | | HotUpdateChunk.js | 100% | 100% | 100% | 100% | | | IgnorePlugin.js | 100% | 100% | 100% | 100% | | | IgnoreWarningsPlugin.js | 100% | 100% | 100% | 100% | | | InitFragment.js | 100% | 100% | 100% | 100% | | | JavascriptMetaInfoPlugin.js | 100% | 100% | 100% | 100% | | | LazyBarrel.js | 100% | 100% | 100% | 100% | | | LibraryTemplatePlugin.js | 100% | 100% | 100% | 100% | | | LoaderOptionsPlugin.js | 100% | 100% | 100% | 100% | | | LoaderTargetPlugin.js | 100% | 100% | 100% | 100% | | | MainTemplate.js | 100% | 100% | 100% | 100% | | | ManifestPlugin.js | 100% | 100% | 100% | 100% | | | Module.js | 98.51% | 100% | 100% | 98.51% | 1304, 1309, 1369, 1383, 1445, 1454 | | ModuleFactory.js | 100% | 100% | 100% | 100% | | | ModuleFilenameHelpers.js | 98.90% | 100% | 100% | 98.90% | 111, 113 | | ModuleGraph.js | 99.78% | 100% | 100% | 99.78% | 1170 | | ModuleGraphConnection.js | 100% | 100% | 100% | 100% | | | ModuleInfoHeaderPlugin.js | 100% | 100% | 100% | 100% | | | ModuleNotFoundError.js | 100% | 100% | 100% | 100% | | | ModuleProfile.js | 100% | 100% | 100% | 100% | | | ModuleSourceTypeConstants.js | 100% | 100% | 100% | 100% | | | ModuleTemplate.js | 100% | 100% | 100% | 100% | | | ModuleTypeConstants.js | 100% | 100% | 100% | 100% | | | MultiCompiler.js | 99.72% | 100% | 100% | 99.72% | 721 | | MultiStats.js | 100% | 100% | 100% | 100% | | | MultiWatching.js | 100% | 100% | 100% | 100% | | | NoEmitOnErrorsPlugin.js | 100% | 100% | 100% | 100% | | | NodeStuffPlugin.js | 100% | 100% | 100% | 100% | | | NormalModule.js | 97.99% | 100% | 100% | 97.99% | 1027, 1030, 1047, 1064, 1312, 1346, 1362, 1817, 2114, 2119–2129, 29 | | NormalModuleFactory.js | 98.78% | 100% | 100% | 98.78% | 1146, 1414, 1425, 1435, 1486–1488, 1495, 537, 549 | | NormalModuleReplacementPlugin.js | 100% | 100% | 100% | 100% | | | NullFactory.js | 100% | 100% | 100% | 100% | | | OptimizationStages.js | 100% | 100% | 100% | 100% | | | OptionsApply.js | 100% | 100% | 100% | 100% | | | Parser.js | 100% | 100% | 100% | 100% | | | PlatformPlugin.js | 100% | 100% | 100% | 100% | | | PrefetchPlugin.js | 100% | 100% | 100% | 100% | | | ProgressPlugin.js | 99.80% | 100% | 100% | 99.80% | 690 | | ProvidePlugin.js | 100% | 100% | 100% | 100% | | | RawModule.js | 100% | 100% | 100% | 100% | | | RecordIdsPlugin.js | 100% | 100% | 100% | 100% | | | RequestShortener.js | 100% | 100% | 100% | 100% | | | ResolverFactory.js | 100% | 100% | 100% | 100% | | | RuntimeGlobals.js | 100% | 100% | 100% | 100% | | | RuntimeModule.js | 100% | 100% | 100% | 100% | | | RuntimePlugin.js | 95.71% | 100% | 100% | 95.71% | 312, 368, 377, 380, 404, 422, 443–444, 467, 487–488, 524–525, 548, 561–562, 634, 647, 668, 687 | | RuntimeTemplate.js | 99.92% | 100% | 100% | 99.92% | 189 | | SelfModuleFactory.js | 100% | 100% | 100% | 100% | | | SingleEntryPlugin.js | 100% | 100% | 100% | 100% | | | SourceMapDevToolModuleOptionsPlugin.js | 100% | 100% | 100% | 100% | | | SourceMapDevToolPlugin.js | 98.63% | 100% | 100% | 98.63% | 220, 224, 226, 420, 431, 890 | | Stats.js | 100% | 100% | 100% | 100% | | | Template.js | 100% | 100% | 100% | 100% | | | TemplatedPathPlugin.js | 99.48% | 100% | 100% | 99.48% | 364–365 | | UseStrictPlugin.js | 100% | 100% | 100% | 100% | | | WarnCaseSensitiveModulesPlugin.js | 100% | 100% | 100% | 100% | | | WarnDeprecatedOptionPlugin.js | 100% | 100% | 100% | 100% | | | WarnNoModeSetPlugin.js | 100% | 100% | 100% | 100% | | | WatchIgnorePlugin.js | 100% | 100% | 100% | 100% | | | Watching.js | 100% | 100% | 100% | 100% | | | WebpackError.js | 100% | 100% | 100% | 100% | | | WebpackIsIncludedPlugin.js | 100% | 100% | 100% | 100% | | | WebpackOptionsApply.js | 100% | 100% | 100% | 100% | | | WebpackOptionsDefaulter.js | 100% | 100% | 100% | 100% | | | buildChunkGraph.js | 99.87% | 100% | 100% | 99.87% | 376 | | cli.js | 98.63% | 100% | 100% | 98.63% | 10, 119, 549, 581, 631, 905 | | index.js | 99.73% | 100% | 100% | 99.73% | 184 | | validateSchema.js | 94.67% | 100% | 100% | 94.67% | 100, 87, 89, 98 | | webpack.js | 97.12% | 100% | 100% | 97.12% | 10, 267, 289, 291 | | lib/asset | | AssetBytesGenerator.js | 100% | 100% | 100% | 100% | | | AssetBytesParser.js | 100% | 100% | 100% | 100% | | | AssetGenerator.js | 100% | 100% | 100% | 100% | | | AssetModule.js | 100% | 100% | 100% | 100% | | | AssetModulesPlugin.js | 98.15% | 100% | 100% | 98.15% | 330, 354, 357, 487, 49, 54 | | AssetParser.js | 100% | 100% | 100% | 100% | | | AssetSourceGenerator.js | 100% | 100% | 100% | 100% | | | AssetSourceParser.js | 100% | 100% | 100% | 100% | | | RawDataUrlModule.js | 100% | 100% | 100% | 100% | | | WebManifestGenerator.js | 100% | 100% | 100% | 100% | | | WebManifestParser.js | 100% | 100% | 100% | 100% | | | lib/async-modules | | AsyncModuleHelpers.js | 100% | 100% | 100% | 100% | | | AwaitDependenciesInitFragment.js | 100% | 100% | 100% | 100% | | | InferAsyncModulesPlugin.js | 100% | 100% | 100% | 100% | | | isGeneratorLowered.js | 100% | 100% | 100% | 100% | | | lib/bun | | BunTargetPlugin.js | 100% | 100% | 100% | 100% | | | lib/cache | | AddBuildDependenciesPlugin.js | 100% | 100% | 100% | 100% | | | AddManagedPathsPlugin.js | 100% | 100% | 100% | 100% | | | IdleFileCachePlugin.js | 97.92% | 100% | 100% | 97.92% | 75, 87, 95 | | MemoryCachePlugin.js | 92% | 100% | 100% | 92% | 34, 43 | | MemoryWithGcCachePlugin.js | 93.42% | 100% | 100% | 93.42% | 108, 122–123, 132, 90 | | PackFileCacheStrategy.js | 96.52% | 100% | 100% | 96.52% | 1310, 1410, 1414, 1476, 1712, 1796, 1819, 1851, 675, 694, 704–706, 708, 724–725, 730, 733, 735, 740, 745, 770, 776, 810, |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
area: parser
JavaScript parsing and dependency analysis (lib/javascript, lib/dependencies)
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|