Skip to content

feat!: modernise to ESM, drop all runtime dependencies#169

Merged
rvagg merged 2 commits intomasterfrom
rvagg/esm
Apr 14, 2026
Merged

feat!: modernise to ESM, drop all runtime dependencies#169
rvagg merged 2 commits intomasterfrom
rvagg/esm

Conversation

@rvagg
Copy link
Copy Markdown
Owner

@rvagg rvagg commented Mar 31, 2026

BREAKING CHANGE: CJS require() no longer supported, use ESM import. BufferList and BufferListStream must be called with new. Switches from readable-stream to node:stream and buffer to node:buffer, removing all runtime dependencies. Node.js >= 20 required.

@rvagg rvagg requested a review from mcollina March 31, 2026 05:45
BREAKING CHANGE: CJS require() no longer supported, use ESM import.
BufferList and BufferListStream must be called with new.
Switches from readable-stream to node:stream and buffer to node:buffer,
removing all runtime dependencies. Node.js >= 20 required.
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Mar 31, 2026

Copy link
Copy Markdown
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rvagg rvagg merged commit fbd6e13 into master Apr 14, 2026
16 checks passed
@rvagg rvagg deleted the rvagg/esm branch April 14, 2026 04:09
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
## [7.0.0](v6.1.6...v7.0.0) (2026-04-14)

### ⚠ BREAKING CHANGES

* CJS require() no longer supported, use ESM import.
BufferList and BufferListStream must be called with new.
Switches from readable-stream to node:stream and buffer to node:buffer,
removing all runtime dependencies. Node.js >= 20 required.

### Features

* modernise to ESM, drop all runtime dependencies ([#169](#169)) ([fbd6e13](fbd6e13))

### Trivial Changes

* **deps:** bump actions/setup-node from 6.1.0 to 6.2.0 ([#164](#164)) ([ee438e6](ee438e6))
* **deps:** bump actions/setup-node from 6.2.0 to 6.3.0 ([#166](#166)) ([265c92a](265c92a))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants