-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💨 Use the new way of importing node's EventEmitter (#73)
Node changed the name of the library from `events` to `node:events` with v16. It still has backward compatibilities it seems, but importing the cachette library failed on one occasion: the result was that the CacheInstance was not resolved as an EventEmitter. The `package.json` node version is already at `>=18`, so this should be fine.
- Loading branch information
1 parent
9c4587b
commit fe6e29b
Showing
3 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters