GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(javascript): add a programTree hook reading the program as a flat tree by alexander-akait · Pull Request #23079 · webpack/webpack

Conversation

@alexander-akait

@alexander-akait alexander-akait commented Nov 2, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Follows #23073. First step of moving JavascriptParser hooks from ESTree objects to node ids of the flat SyntaxTree.

  • new JavascriptParser(sourceType, { walkIds: true }) (experimental, constructor-only) parses into the flat tree, builds the ESTree objects the existing walker reads from it with tree.estree(program), and fires a new programTree(tree, program, comments) hook before program. A source the flat parse can't take (preparsed AST, custom parse) has its tree written from the objects, so programTree always fires in that mode.
  • ESMDetectionParserPlugin, UseStrictPlugin and JavascriptMetaInfoPlugin read the top level from the tree when their parser walks ids, and from ast.body otherwise. The choice is made once at tap time.
  • The default mode is unchanged: builds still parse with estree: true.

Before / after for a plugin reading the top level:

// before
parser.hooks.program.tap(PLUGIN_NAME, (ast) => {
	for (const statement of ast.body) { /* statement.type, statement.range */ }
});
// after, in a parser built with walkIds
parser.hooks.programTree.tap(PLUGIN_NAME, (tree, program) => {
	for (let i = 0; i < tree.fieldCount(Field.body, program); i++) {
		const statement = tree.field(i, Field.body, program); // tree.type(statement), tree.range(statement)
	}
});

The existing walker works unchanged on objects built from the tree: with walkIds forced on locally, about 3,900 ConfigTestCases (the parsing, harmony, esm, commonjs, scope-hoisting, library, javascript, optimization, side-effects, inner-graph, using and strict groups) passed.

Performance: the default path adds one option read and two comparisons per parsed module, and one hook object per parser. Local timing on this machine was too noisy to resolve that (the same code ranged 30–47 ms per round); CodSpeed will report it.

What kind of change does this PR introduce?

feat

Did you add tests for your changes?

Yes: test/configCases/parsing/walk-ids builds with walkIds parsers and checks that every built module fired programTree and what each moved tap recorded (ESM namespace, buildInfo.strict, usesTopLevelUsingDeclaration), including a module read by a custom parse.

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: the hook and option are experimental and documented in their JSDoc.

Use of AI

Written with Claude Code: it implemented the changes and ran the tests and lint, under the author's direction and review.


Generated by Claude Code

Summary by CodeRabbit

  • New Features
    • Added an experimental parser option for accessing a flat syntax tree before the standard program walk.
    • Modules using this option continue to handle ES module declarations, strict-mode directives, and top-level resource declarations correctly.
    • The existing parsing path remains available when the experimental option is disabled.
  • Documentation
    • Clarified how to read and release a parsed syntax tree without affecting subsequent parses.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@alexander-akait
feat(javascript): add a programTree hook reading the program as a fla…
0357eca
…t tree

A parser built with the experimental `walkIds` option parses into the flat
tree, builds the ESTree objects the walker reads from it, and fires
`programTree` before `program`. ESM detection, `"use strict"` removal and
the top-level `using` check read the tree there; the default mode is
unchanged.

Claude-Session: https://claude.ai/code/session_013FhutQ8TLT8praLXM7AUrr
@changeset-bot

changeset-bot Bot commented Nov 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f131767

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
webpack Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

This PR is packaged and the instant preview of its latest commit is available.

Install it locally:

  • npm
npm i -D webpack@https://pkg.pr.new/webpack@23079
  • yarn
yarn add -D webpack@https://pkg.pr.new/webpack@23079
  • pnpm
pnpm add -D webpack@https://pkg.pr.new/webpack@23079
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai coderabbitai Bot added area: parser JavaScript parsing and dependency analysis (lib/javascript, lib/dependencies) area: types types.d.ts, JSDoc annotations, hand-maintained declarations labels Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Types Coverage

Typed lines: 99.50% (166900 of 167732)

Escape hatch Base Head Change
EXPECTED_ANY 59 59 —
EXPECTED_OBJECT 32 32 —
EXPECTED_FUNCTION 1 1 —
unknown 91 91 —
inferred any 0 0 —

Escape hatches count the raw types they stand for too: any, object and Function. Inferred any counts the identifiers whose type TypeScript infers as any though no JSDoc names it, and the new or generic calls whose type arguments it fills with any, such as const map = new Map().

This pull request adds or removes no escape-hatch type or inferred any.

108 file(s) in lib/, hot/ and declarations/ still use an escape hatch, infer `any` or have untyped lines
File Typed lines EXPECTED_ANY EXPECTED_OBJECT EXPECTED_FUNCTION unknown inferred any
declarations/WebpackOptions.ts 99.94% 15
lib/javascript/syntax-parser.js 99.96% 14
lib/hmr/JavascriptHotModuleReplacement.runtime.js 100.00% 2 7
lib/util/cleverMerge.js 100.00% 1 8
lib/javascript/syntax-printer.js 99.99% 1 6 1
lib/serialization/ObjectMiddleware.js 99.79% 3 4
lib/Compiler.js 100.00% 2 4
lib/hmr/HotModuleReplacement.runtime.js 100.00% 1 5
lib/serialization/SerializerMiddleware.js 100.00% 3 3
lib/util/SourceProcessor.js 100.00% 6
lib/Compilation.js 99.77% 5
lib/define/DefinePlugin.js 100.00% 1 4
lib/loaders/LoaderOptionsPlugin.js 90.63% 5
lib/module/NormalModule.js 99.54% 4 1
lib/resolve/getResolveOptionsKey.js 100.00% 1 4
lib/config/normalization.js 99.14% 4
lib/debug/ProfilingPlugin.js 100.00% 4
lib/module/Module.js 99.51% 4
lib/performance/HotspotsPlugin.js 100.00% 4
lib/util/SortableSet.js 100.00% 4
lib/css/syntax-parser.js 99.90% 3
lib/html/syntax-parser.js 99.98% 3
lib/stats/StatsFactory.js 96.99% 2 1
lib/util/WeakTupleMap.js 100.00% 3
lib/config/defineConfig.js 100.00% 2
lib/css/syntax.js 100.00% 2
lib/graph/ModuleGraph.js 100.00% 1 1
lib/html/syntax.js 100.00% 2
lib/loaders/LoaderRunner.js 97.70% 2
lib/module/Parser.js 100.00% 2
lib/node/nodeConsole.js 100.00% 2
lib/config/cli.js 99.73% 1
lib/dependencies/import/ImportParserPlugin.js 100.00% 1
lib/dll/DllReferencePlugin.js 100.00% 1
lib/errors/NonErrorEmittedError.js 100.00% 1
lib/errors/WebpackError.js 100.00% 1
lib/hmr/HotModuleReplacementPlugin.js 100.00% 1
lib/index.js 100.00% 1
lib/javascript/JavascriptParser.js 100.00% 1
lib/javascript/syntax.js 100.00% 1
lib/logging/Logger.js 100.00% 1
lib/optimize/TupleQueue.js 100.00% 1
lib/output/CopyPlugin.js 100.00% 1
lib/output/ManifestPlugin.js 100.00% 1
lib/rules/BasicEffectRulePlugin.js 100.00% 1
lib/rules/RuleSetCompiler.js 99.73% 1
lib/serialization/types.js 100.00% 1
lib/stats/DefaultStatsFactoryPlugin.js 99.87% 1
lib/stats/StatsPrinter.js 99.11% 1
lib/template/Template.js 100.00% 1
lib/util/TupleSet.js 100.00% 1
lib/util/deprecation.js 100.00% 1
lib/util/identifier.js 100.00% 1
lib/util/magicComment.js 100.00% 1
lib/util/makeSerializable.js 100.00% 1
lib/util/terminalColors.js 100.00% 1
lib/util/validateSchema.js 100.00% 1
lib/MultiCompiler.js 99.74%
lib/asset/AssetBytesParser.js 91.67%
lib/asset/AssetModulesPlugin.js 99.38%
lib/asset/AssetParser.js 96.15%
lib/asset/AssetSourceParser.js 91.67%
lib/cache/PackFileCacheStrategy.js 99.23%
lib/config/validateSchema.js 94.67%
lib/css/CssGenerator.js 99.65%
lib/css/conventions.js 98.68%
lib/css/syntax-printer.js 99.73%
lib/dependencies/amd/AMDPlugin.js 99.31%
lib/dependencies/amd/AMDRuntimeModules.js 95.45%
lib/dependencies/commonjs/CommonJsExportsParserPlugin.js 99.79%
lib/dependencies/esm/ESMExportInitFragment.js 99.35%
lib/dependencies/html/HtmlEntryDependency.js 99.83%
lib/dependencies/import-meta/ImportMetaPlugin.js 99.63%
lib/devtool/ModuleFilenameHelpers.js 99.47%
lib/devtool/SourceMapDevToolPlugin.js 99.78%
lib/errors/CacheEffectivenessWarning.js 93.75%
lib/externals/ExternalModule.js 99.87%
lib/fs/FileSystemInfo.js 99.96%
lib/hmr/HotModuleReplacementChunkVersionCheckRuntimeModule.js 87.50%
lib/hmr/HotModuleReplacementRuntimeModule.js 77.78%
lib/hmr/JavascriptHotModuleReplacementHelper.js 91.30%
lib/hmr/lazyCompilationBackend.js 99.07%
lib/html/HtmlGenerator.js 99.87%
lib/html/HtmlModulesPlugin.js 99.51%
lib/javascript/JavascriptMetaInfoPlugin.js 98.44%
lib/json/JsonParser.js 96.88%
lib/loaders/LoaderPlugin.js 99.41%
lib/logging/createConsoleLogger.js 99.00%
lib/module/NormalModuleFactory.js 98.34%
lib/optimize/ConcatenatedModule.js 99.89%
lib/optimize/LazyBucketSortedSet.js 96.85%
lib/optimize/SideEffectsFlagPlugin.js 99.84%
lib/performance/UnusedDefinesPlugin.js 96.97%
lib/performance/UnusedExternalsPlugin.js 95.35%
lib/runtime/MakeDeferredNamespaceObjectRuntime.js 99.65%
lib/schemes/HttpUriPlugin.js 99.87%
lib/serialization/BinaryMiddleware.js 99.27%
lib/sharing/semver.js 99.54%
lib/stats/DefaultStatsPrinterPlugin.js 99.88%
lib/template/RuntimeTemplate.js 99.95%
lib/util/async.js 97.62%
lib/util/createMappings.js 98.45%
lib/util/globUtils.js 99.83%
lib/util/registerExternalSerializer.js 98.31%
lib/util/serialization.js 98.68%
lib/wasm-sync/WebAssemblyParser.js 98.94%
lib/wasm/AsyncWebAssemblyParser.js 97.83%
lib/webpack.js 98.62%
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Module loading

How many files a fresh Node.js process loads (require or import) to do each thing below; a change from the pull request's base is marked 🔴 when it grew and 🟢 when it shrank. Every file is startup time, so fewer is better. webpack files are this package's own (lib/, hot/); node_modules files are its dependencies'.

What the process does webpack files node_modules files
require("webpack") 2 0
import "webpack" 2 0
JavaScript syntax 11 0
CSS syntax 12 0
HTML syntax 11 0
XML syntax 11 0
JavaScript minifier 12 0
CSS minifier 14 0
HTML minifier 19 0
XML minifier 14 0
JSON minifier 1 0
development build 438 103
production build 445 133
watch with HMR, one rebuild 449 110
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Generated code size

Comparing base (abaa2e6) to head (0357eca). Merging this pull request adds 2 new asset(s).

What moved Tests Assets Gzip Raw Test edit
Changed, test untouched 0 0 — — —
Changed, test edited 0 0 — — —
New 1 2 ⚪ added +2.38 KiB ⚪ added +7.83 KiB —
Deleted 0 0 — — —
Unchanged — 9927 — — —

Read Changed, test untouched first: the test is byte-identical on both sides, so webpack generated the difference. Changed, test edited moved partly because the test did — Test edit is how many bytes the test gained, and a bundle that grew by less is not a regression. New and Deleted are whole files, not deltas — a new asset was created, not grown, so it reads gray (⚪ added) — and adding tests cannot bury a real change. Gzip decides, because that is what users download; raw is the tiebreak, and brotli and zstd are per asset below.

Sample apps

No sample app changed size.

26 unchanged app(s)
App Gzip Gzip change Raw Raw change
library amd 1.38 KiB — 2.68 KiB —
library amd-require 1.38 KiB — 2.67 KiB —
library assign 1.38 KiB — 2.67 KiB —
library assign-properties 1.42 KiB — 2.80 KiB —
library commonjs 1.38 KiB — 2.66 KiB —
library commonjs-module 1.38 KiB — 2.67 KiB —
library commonjs-static 1.55 KiB — 3.54 KiB —
library commonjs2 1.38 KiB — 2.67 KiB —
library global 1.38 KiB — 2.66 KiB —
library jsonp 1.37 KiB — 2.66 KiB —
library module 1.21 KiB — 2.35 KiB —
library self 1.38 KiB — 2.66 KiB —
library system 1.41 KiB — 2.73 KiB —
library this 1.38 KiB — 2.66 KiB —
library umd 1.44 KiB — 2.86 KiB —
library umd2 1.44 KiB — 2.86 KiB —
library var 1.38 KiB — 2.67 KiB —
library window 1.38 KiB — 2.66 KiB —
node-ssr 96.36 KiB — 371.30 KiB —
node-ssr-esm 96.61 KiB — 372.00 KiB —
react-100 32.06 KiB — 150.15 KiB —
react-1k 73.05 KiB — 906.51 KiB —
react-1k-esm 72.54 KiB — 906.44 KiB —
react-5k 190.87 KiB — 4.08 MiB —
webworker 36.15 KiB — 93.71 KiB —
webworker-esm 35.67 KiB — 94.21 KiB —

No asset that both runs emit changed size — everything below is new or deleted.

2 asset(s) this pull request adds
Asset Raw Gzip (9) Brotli (11) Zstd (19)
⚪ added parsing/walk-ids using.js 4.61 KiB 1.33 KiB 1.20 KiB 1.32 KiB
⚪ added parsing/walk-ids main.js 3.22 KiB 1.05 KiB 941 B 1.06 KiB

No runtime that both runs build changed which runtime modules it carries.

2 runtime(s) this pull request adds or no longer builds
Runtime Modules
➕ parsing/walk-ids main 5
➕ parsing/walk-ids using 1

Built test/configCases with the defaults a user gets, and the apps in test/sizeCoreReports (apps/): 2368 test(s), 9929 asset(s), 104 emitted nothing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: webpack/webpack
  • Branch: feat/javascript-program-tree-hook
  • File: .coderabbit.yaml
  • Commit: f131767
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 59a140d8-83a7-4826-9467-b73ba8d15776
Commits

Reviewing files that changed from the base of the PR and between cd43c34 and f131767.

Files ignored due to path filters: 1
  • types.d.ts is excluded by !types.d.ts
Files selected for processing: 2
  • lib/javascript/syntax-parser.js
  • test/unitCases/javascript/parser.unittest.js

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

Walkthrough

The parser adds an experimental walkIds option and programTree hook. When enabled, parser plugins can process a flat syntax tree. The changes also add configuration tests for parser hooks, ESM detection, strict directives, and top-level using declarations.

Changes: Flat-tree JavaScript parsing

Layer / File(s) Summary
Parser tree hook and parsing path
lib/javascript/JavascriptParser.js, lib/javascript/syntax-parser.js, docs/syntax.md, .changeset/046-javascript-program-tree-hook.md, test/unitCases/javascript/parser.unittest.js
JavascriptParser adds the walkIds option and experimental programTree hook. With walkIds enabled, it uses a flat-tree parser when available or builds a tree from the ESTree AST. A non-undefined hook result skips the normal program hook and walk. The built-in ranges-only path uses shared parseInGoal fallback logic. takeParsedTree() returns the current syntax tree and clears the syntax parser’s references to it. ESTree nodes can use range offsets when start and end are absent.
Parser plugin integration
lib/dependencies/esm/ESMDetectionParserPlugin.js, lib/javascript/JavascriptMetaInfoPlugin.js, lib/javascript/UseStrictPlugin.js
ESM detection, top-level using-declaration metadata, and strict-directive handling use the syntax tree when walkIds is enabled. Each plugin retains an AST-based path.
Walk-IDs parsing tests
test/configCases/parsing/walk-ids/*
The test configuration enables walkIds for auto, ESM, and dynamic JavaScript parsers. Tests record program-tree reads and check module tags, exports, strict mode, custom parsing, and using-declaration metadata.

Possibly related PRs

  • webpack/webpack#23073: Changes parse-goal retry logic and SyntaxTree.addEstree, which this PR also updates.
  • webpack/webpack#22815: Adds syntax-tree writing in WebpackParser, used by this PR’s tree-based parsing path.
  • webpack/webpack#22892: Changes syntax-tree release timing, which is also addressed by this PR’s parsed-tree handling.

Suggested labels: area: parser, area: types

Suggested reviewers: bjohansebas

Change: Feature

Merge Risk: Minimal · up to f1317

No actionable merge-blocking risk is established for the supported parser paths.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Title check Inconclusive The title uses the required type(scope): subject format and accurately describes the programTree hook. The branch prefix is not provided, so the required type-prefix match cannot be verified. Provide the branch name or branch prefix to verify that feat matches it.
Passed Passed checks: 3 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

coderabbitai[bot]
coderabbitai Bot reviewed Nov 2, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix comments: Fix CodeRabbit comments on this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread lib/javascript/JavascriptParser.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread lib/javascript/UseStrictPlugin.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
fix(javascript): keep the programTree tree past nested parses, recove…
cd43c34
…r directives

`JavascriptParser` takes its tree from the parse (`takeParsedTree`) and
releases it after `programTree`, so a tap that parses again (`evaluate`)
leaves the next taps a tree to read; a tree written from another parser's
AST marks the top-level directives `getDirective` recovers.

Claude-Session: https://claude.ai/code/session_013FhutQ8TLT8praLXM7AUrr
coderabbitai[bot]
coderabbitai Bot reviewed Nov 2, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix comments: Fix CodeRabbit comments on this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread lib/javascript/JavascriptParser.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
fix(javascript): write the offsets of a node that has only a range
f131767
`SyntaxTree#addEstree` reads a node's offsets from `range` where it has no
`start` and `end`, as a custom parse may return.

Claude-Session: https://claude.ai/code/session_013FhutQ8TLT8praLXM7AUrr
@codspeed

codspeed Bot commented Nov 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Merging this PR will degrade performance by 54.69%

2 warnings, 1 note

⚠️ 117 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ 2 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

ℹ️ 39 benchmarks have no flamegraph

The flamegraph wasn't generated: most of the time was spent in runtime internals, which would leave nothing useful to analyze.

See affected benchmarks

❌ 2 regressed benchmarks
✅ 349 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Memory benchmark "three-long", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 145.3 KB 400.8 KB -63.74%
❌ Memory benchmark "asset-modules-inline", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 143 KB 252.4 KB -43.37%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing feat/javascript-program-tree-hook (f131767) with main (0cee91f)

Open in CodSpeed
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
alexander-akait merged commit b4be9ec into main Nov 2, 2026
54 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
alexander-akait deleted the feat/javascript-program-tree-hook branch November 2, 2026 19:50
@github-actions github-actions Bot mentioned this pull request Nov 2, 2026
chore(release): new release #22874
Merged
@alexander-akait alexander-akait mentioned this pull request Nov 2, 2026
feat(javascript): read parser hooks through the path and walk the program by node id #23083
Closed
This was referenced Nov 5, 2026
refactor: track the top-level using declaration on the dependency #23140
Merged
perf(javascript): grow the ESTree build's object array in id order #23176
Merged
refactor(javascript): read the minifier's syntax tree through the path #23225
Merged
@alexander-akait alexander-akait mentioned this pull request Nov 9, 2026
feat(javascript): let program taps read the program through the path #23234
Merged
This was referenced Nov 9, 2026
refactor(javascript): analyze concatenated modules' scopes on the syntax tree #23235
Merged
perf(javascript): build ESTree objects of a syntax tree lazily #23239
Merged
perf(javascript): walk the syntax tree's lazy objects behind an internal switch #23241
Merged
perf(javascript): walk statements and plain expressions of the syntax tree by id #23242
Closed
perf(javascript): hold less memory in the syntax tree and reuse it #23249
Merged
perf(javascript): walk the syntax tree by id behind the internal switch #23250
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments

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) area: types types.d.ts, JSDoc annotations, hand-maintained declarations

Projects

None yet

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.

1 participant

@alexander-akait
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.