Skip to content

Conversation

@FrederikBolding
Copy link
Member

Use globalThis over global and window, this makes usage of the package in Node.js easier as well as testing code dependent on this library with Jest.

Closes #40

Copy link
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

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

LGTM!

@FrederikBolding FrederikBolding merged commit 57c0edb into main Apr 9, 2024
@FrederikBolding FrederikBolding deleted the fb/use-globalthis branch April 9, 2024 08:58
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.

exportKey(key) uses window instead of global

3 participants