close
The Wayback Machine - https://web.archive.org/web/20201201154508/https://github.com/developit/unfetch/pull/109
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

window -> self #109

Merged
merged 1 commit into from Sep 29, 2020
Merged

window -> self #109

merged 1 commit into from Sep 29, 2020

Conversation

@developit
Copy link
Owner

@developit developit commented Jan 15, 2019

Replace window with self to allow use in Web Workers.
The main library was already doing this, just not isomorphic-unfetch.

Fixes #104.

Replace `window` with `self` to allow use in Web Workers.
@yanivefraim
Copy link

@yanivefraim yanivefraim commented Jul 23, 2020

Any chance to merge this? We need isomorphic-unfetch on a web-worker. Thanks!

@developit developit merged commit d489fdc into master Sep 29, 2020
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build failed
Details
@developit developit deleted the self-webworker branch Sep 29, 2020
@developit
Copy link
Owner Author

@developit developit commented Sep 29, 2020

This fix was released in 4.2.0. Sorry for the super long wait!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.