You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a8c5d94
Browse filesBrowse the repository at this point in the historyBrowse files
fix(codemod): load both registries as ES modules in the --arrays proof (#29987)
Under the spec package's CommonJS default the tsx loader rewrites every imported
call to (0, import_x.name)(...), so a moved entry's function source differed only
by the loader's spelling of its import (93 of 112 digests). Both trees now load
from a scratch copy marked type: module, and the probe refuses a CommonJS-loaded
function instead of comparing it. Result: 112 of 112 digests equal.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzg1QFj9ukYzafVoAqg
if (/\\(0,\\s*import_[\\w$]+\\./.test(text)) throw new Error('arrays probe: a function was loaded as CommonJS (its imports are rewritten), so its source is not comparable');
0 commit comments