morluto and ShuaixinHuang
b46f4fcebd
fix(javascript): preserve loader authority for exact suffixes ( #9477 )
...
* fix(javascript): require exact loader suffix case
* fix(javascript): share exact loader mode across import resolution
* test(process): align symlink fixture with filesystem checkpoints
* test(javascript): normalize the module resolution oracle path separators
* test(frida): assert the CLI spawn Evidence contract
* test(mcp): use an unsupported analysis-view parent
* test(browser): separate source-location line bounds from parity
* fix(javascript): preserve uncertain loader provenance
* test(javascript): cover uncertain require resolution
* fix(javascript): retain conditional Electron evidence
* fix(javascript): preserve timed semantic provenance
* fix(javascript): retain conditional builtin effects
* test(javascript): distinguish bundled host authority
* fix(javascript): preserve nested loader invocation identity
* test(javascript): qualify Electron fixture authority
* fix(javascript): preserve loader invocation authority
* fix(javascript): respect source order for resolver escapes
* fix(javascript): check nested loader callable mutations
* fix(javascript): retain conditional constructor requests
* fix(reference): retain constructor loader relationships
* fix(reference): follow nested loader callable paths
* refactor(javascript): share callable mutation interpretation
* fix(javascript): require exact package loader suffixes
* refactor(javascript): unify conditional relation evidence
* refactor(javascript): unify conditional node evidence
* fix(javascript): retain unknown authority for mixed case sources
* fix(javascript): preserve loader uncertainty for dotfiles
* fix(reference): classify javascript suffix dotfiles
* test(reference): cover suffix dotfiles through cli
* fix(javascript): retain equivalent conditional built-in origins
* fix(javascript): preserve wrapped resolver operation
* fix(javascript): retain nested conditional built-in receivers
* test(javascript): declare CommonJS in native addon fixtures
* fix(javascript): retain wrapped resolver candidates
* style: format merged native command schema
* fix(javascript): preserve uncertain loader authority
* test(javascript): require candidate preload evidence
* test(javascript): cover reference loader member writes
---------
Co-authored-by: ShuaixinHuang <1836656514@qq.com >
2026-11-09 13:21:24 +08:00
ShuaixinHuang
ce89706145
fix(javascript): preserve exact static property keys ( #3480 )
...
* fix(javascript): preserve Electron options with static empty keys
* fix(javascript): retain exact computed member keys
2026-10-15 15:59:06 +09:00
Ysopwnable
3a17882cc4
fix(javascript): retain unbound CommonJS semantic imports
...
Collect unbound literal CommonJS dependencies at the semantic module-link owner, retain null binding names and source provenance, and avoid duplicate links for calls already represented by bindings or re-exports. Preserve distinct nested calls, shadowing exclusions, dynamic binding uncertainty, and existing static asset references.
Fixes #1793 .
2026-10-11 19:16:32 +08:00
morluto
11e3fae697
fix(ci): repair boundary regressions and evidence assertions
...
Detach cancelled CDP sessions within the cleanup budget and retain event-finalization failures across retries. Honor Git filesystem encodings and exclude the promise-API probe from source-read failures.
Align existing integration regressions with retained process resources, filesystem-order-independent truncation, owned skill files, explicit native access facts and streamed JSON errors.
Validation: 132 acceptance tests passed (2 skipped), 83 affected boundary tests passed, Git/JSON/CLI boundary regressions passed, check:ci, docs:check and test discovery passed. Local verification used Node 24.18.0 on macOS; cross-platform CI remains pending.
2026-10-11 01:00:30 +08:00
morluto
475a0f84da
fix(javascript)!: preserve property paths and uncertain slot presence
...
Use one explicit object/array slot model and JSON-pointer property identity across mutation analysis, return projection, and semantic graphs. Require observed presence for discriminants and resolve writes only through retained object or array receivers.
BREAKING CHANGE: projected return fields require explicit presence and semantic object operations carry full property paths.
2026-10-09 20:18:52 +08:00
Matt Van Horn and morluto
45e3edc17f
feat(javascript): report observed export property presence ( #1160 )
...
* feat(javascript): report observed export property presence
Extend compare_javascript_export_shapes so each retained return variant
lists observed property names and each change reports presence independently
of value resolution. Complete parent coverage classifies one-sided names as
added or removed even when static values stay unknown.
Fixes #725
* test(javascript): match unknown export-shape values by availability
Nested availability objects include a reason when values stay unresolved.
Assert availability through objectContaining so presence-only added and
removed rows still verify unknown values.
* fix(javascript): preserve uncertain export property presence and locations
* fix(javascript): normalize presence and preserve local property coverage
* fix(javascript): require present discriminants for return pairing
* fix(javascript): normalize retained shapes before comparison
* refactor(javascript): share return projection with executable examples
* fix(javascript): localize uncertainty for missing mutated slots
* fix(javascript): bind advertised export examples to exact artifacts
* fix(javascript): keep uncertain property flow as candidates
---------
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com >
2026-10-09 18:30:31 +08:00
morluto
f517a5a1d7
test(javascript): consolidate source analysis and export regressions
2026-10-08 04:03:23 +08:00
morluto
dcde958450
perf(javascript): analyze member chains without recursive copying ( #932 )
...
* fix(javascript): traverse deep semantic member chains iteratively
* fix(javascript): preserve deep initializer and pattern analysis
2026-10-07 19:09:25 +08:00