Skip to content

Conversation

JLHwung
Copy link

@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

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