Skip to content

Bump node requirement#53

Closed
JLHwung wants to merge 1 commit intoisaacs:mainfrom
JLHwung:patch-1
Closed

Bump node requirement#53
JLHwung wants to merge 1 commit intoisaacs:mainfrom
JLHwung:patch-1

Conversation

@JLHwung
Copy link
Copy Markdown

@JLHwung JLHwung commented Jul 26, 2023

import { EventEmitter } from 'node:events'

The node: import support to require(...) was added in Node.js 14.18. https://nodejs.org/api/esm.html#node-imports

require("node:events") is used in the cjs build of this library.

@lukekarrys
Copy link
Copy Markdown

7.0.3 was released which drops the node: prefix from the relevant imports, so this can probably be closed now.

@JLHwung JLHwung closed this Aug 14, 2023
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.

2 participants