-
Notifications
You must be signed in to change notification settings - Fork 4
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 peer dependency #6
Comments
Alternatively you could update it to work with v4 and set the peer dependency to |
On investigation, due to mocking in the tests, you would not see this issue... jest.mock('web-streams-polyfill/ponyfill/es6', () => ({
ReadableStream: () => 'ReadableStream',
}), { virtual: true }); |
I've submitted a PR to help get this moving, #7. |
I would love if they could get this updated?? Did you happen to find another solution? |
Installing |
Please fix, thanks! |
As a workaround, I added the following to "dependencies": {
...
"web-streams-polyfill": "^3.2.1",
},
"resolutions": {
"web-streams-polyfill": "<4"
}, and I was able to get past this error. |
The peer dependency
web-streams-polyfill
should be<4
. Inweb-streams-polyfill@>=4
the import ofweb-streams-polyfill/ponyfill/es6
fails as the JS files have been renamed.See the changelog for more info.
The text was updated successfully, but these errors were encountered: