Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect immer peer dependency #127

Closed
ambar-arkin opened this issue Feb 2, 2024 · 1 comment
Closed

Incorrect immer peer dependency #127

ambar-arkin opened this issue Feb 2, 2024 · 1 comment

Comments

@ambar-arkin
Copy link

Immer peer dependency is set to >=2

"immer": ">=2.0.0",

But the library depends on freeze function which is only available in >=8.
This causes error when using with 2.x version:

Error: Uncaught [TypeError: e.freeze is not a function]

Can immer 2.x still be supported by conditionally freezing only if the function exists?

@mweststrate
Copy link
Collaborator

Fixed in 0.10.0

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

No branches or pull requests

2 participants