leaysgur
db446518ca
fix(napi): disable reuseWorker in browser bindings ( #25640 )
...
Fixes #25610
AI assistance: Codex was used to implement this change.
2026-08-14 11:11:20 +00:00
Boshen
523a30a016
style(all): apply oxfmt default options ( #16091 )
...
Embrace the defaults!
---------
Co-authored-by: Yuji Sugiura <y.sugiura.0316@gmail.com >
2025-11-25 15:56:24 +09:00
Boshen
ea51b0b5c8
feat(napi)!: standardize function naming with sync suffixes ( #15661 )
...
closes #15576
## Summary
Standardizes function naming across all NAPI packages (parser, transform, minify) with a consistent pattern:
- Async functions: `verb` (no suffix)
- Sync functions: `verbSync` (with Sync suffix)
## Changes
### Breaking Changes
**napi/parser:**
- `parseAsync` → `parse` (async)
- `parseSync` remains unchanged (sync)
**napi/transform:**
- `transformAsync` → `transform` (async)
- `transform` → `transformSync` (sync)
- `isolatedDeclaration` → `isolatedDeclarationSync` (sync)
- Added new `isolatedDeclaration` function (async)
- `moduleRunnerTransform` → `moduleRunnerTransformSync` (sync)
- Added new `moduleRunnerTransform` function (async)
**napi/minify:**
- `minify` → `minifySync` (sync)
- Added new `minify` function (async)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
2025-11-13 12:28:23 +00:00
overlookmotel
bb040bc2d5
refactor(parser, linter): replace .mjs files with .js ( #14045 )
...
Now that `apps/oxlint` and `napi/parser` are both ESM packages (#13723 and #14042 ), we can use `.js` file extensions for all ESM files, rather than the mix of `.js` and `.mjs` file we had previously.
It's less confusing having to remember what's `.js` and what's `.mjs`, and avoids ugly workarounds like #14038 (`.d.mts`??).
2025-09-23 14:47:40 +00:00