Skip to content

Add static CommonJS factory exports - #360

Merged
ctate merged 2 commits into
mainfrom
codex/static-cjs-factory-picocolors
Sep 20, 2026
Merged

ctate merged 2 commits into
mainfrom
codex/static-cjs-factory-picocolors

Conversation

@ctate

@ctate ctate commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • cache represented module.exports = factory() roots and preserve named-member mutations against the same CommonJS object
  • complete the static JavaScript ABI, stdlib-alias, checked-dynamic method, and exact numeric-coercion paths needed to compile picocolors without an island
  • add C and LLVM differential coverage, verify picocolors byte parity in plain and forced-color modes, and regenerate Node compatibility and TS7 order artifacts

Validation

  • pnpm test:sandbox — both plain and sanitized lanes passed across 16 Linux sandboxes, with Darwin native contracts also green
  • pnpm -r build
  • pnpm node-compat:check
  • NEXT_DIST_DIR=.next-check pnpm check in docs
  • compiler unit and npm-static suites, focused C/LLVM differentials, picocolors plain/ANSI parity, lint, and TS7 order verification

@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Sep 20, 2026 6:00pm UTC

Comment thread packages/compiler/src/frontend/lowering/lower-calls.ts Outdated
@ctate
ctate merged commit e42ee19 into main Sep 20, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant