Files
bun.sh/src/bun.js
Claude Bot 9d9d6773ea fix: validate define keys are valid JavaScript identifiers in Bun.build
Previously, Bun.build would accept any string as a define key, including
invalid JavaScript identifiers like "invalid-name" or "123invalid". This
could lead to generated code with syntax errors.

Now validates that define keys are valid JavaScript identifiers using
js_lexer.isIdentifier() and throws a clear error message when invalid.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 23:26:42 +00:00
..
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00