kamiazya
web-csv-toolbox
BlogDocsChangelog

Migrate to ESM-only distribution

#533Merged
Comparing
migrate-to-esm-only
(
3d8ccf4
) with
main
(
fc4fc57
)
CodSpeed Performance Gauge
-7%
Untouched
7

Benchmarks

Passed

parseString.toIterableIterator(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+1%
713.3 µs707.2 µs
parseString.toStream(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
parseString.toArraySync(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
646.9 µs646.5 µs
parseBinary.toIterableIterator(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
655.7 µs655.8 µs
parseStringToArraySyncWASM(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
638.7 µs639.6 µs
parseBinary.toStream(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
parseBinary.toArraySync(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
-39%
662.9 µs1,080.5 µs

Commits

Click on a commit to change the comparison range
Base
main
fc4fc57
+19.47%
Migrate to ESM-only distribution This commit removes CommonJS (CJS) and UMD build outputs, distributing only ES modules (ESM). All build artifacts are now placed directly in the dist/ directory. Changes: - Remove CommonJS format from vite.config.ts - Remove UMD build configuration (config/vite.config.umd.ts) - Update package.json to remove CJS/UMD entry points - Simplify dist/ structure (no more es/cjs/types subdirectories) - Update README to remove UMD examples and update Node.js versions - Fix Deno E2E test to use new dist path - Remove build:browser command from package.json scripts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
cc7f519
4 days ago
by kamiazya
-26.2%
docs: add Node.js 22.x to supported runtimes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
47f3387
3 days ago
by kamiazya
+0.1%
refactor: simplify exports by removing redundant import conditions Since we now only distribute ESM, the 'import' condition is redundant. All exports now use only 'types' and 'default' conditions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3d8ccf4
3 days ago
by kamiazya
© 2025 CodSpeed Technology
Home Terms Privacy Docs