Skip to content

fix(javascript): avoid invented computed destructuring properties - #507

Merged
morluto merged 1 commit into
morluto:mainfrom
rudycelekli:fix/computed-destructuring-20261004
Oct 5, 2026
Merged

morluto merged 1 commit into
morluto:mainfrom
rudycelekli:fix/computed-destructuring-20261004

Conversation

@rudycelekli

Copy link
Copy Markdown

Change

Use the existing computed-aware static-name helper for destructuring. Dynamic [key] no longer creates a resolved key property-slot/destructures edge; literal computed keys, aliases and shorthand are preserved. Native public analyzer and graph projection controls, no module mocks.

Reproduction and verification

17 tests PASS; before2FAIL15PASS

  • npm run check:pr: passed (Test Files 352 passed (352); Tests 1800 passed | 2 skipped (1802)).
  • npm run check:ci: passed.
  • npm run verify:package: passed installed-tarball CLI/MCP verification, including optional-dependency degradation.
  • npm pack --dry-run: passed.
  • Exact lockfile installation on Node 24.18.0 and npm 11.16.0.

These tests exercise the production seams described above. No real Hopper, Ghidra, desktop browser or Linux sandbox end-to-end verification is claimed.

Prepared with AI assistance; the reproductions and verification commands above were executed locally.

@morluto

morluto commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Thanks, @rudycelekli! Nice surgical fix — dynamic computed keys no longer invent property-slot edges, and the literal-computed controls lock the good behavior in.

@morluto
morluto merged commit 80777d9 into morluto:main Oct 5, 2026
18 checks passed
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
@morluto morluto added bug Something isn't working area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants