Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: dont include util.textencoder in the browser #2919

Merged
merged 3 commits into from
Mar 13, 2020

Conversation

hugomrdias
Copy link
Member

node 10 only has textencoder inside util and not in the global var so we need to do the standard node/browser swap to avoid including node util in the browser

node 10 only has textencoder inside util and not in the global var so we need to do the standard node/browser swap to avoid including node util in the browser
@achingbrain achingbrain merged commit 3207e3b into master Mar 13, 2020
@achingbrain achingbrain deleted the fix/swap-textencoder branch March 13, 2020 16:25
mistakia pushed a commit to mistakia/js-ipfs that referenced this pull request Mar 22, 2020
* fix: dont include util.textencoder in the browser

node 10 only has textencoder inside util and not in the global var so we need to do the standard node/browser swap to avoid including node util in the browser

* fix: fix object stat timeout test

* fix: add interop gh branch
SgtPooki referenced this pull request in ipfs/js-kubo-rpc-client Aug 18, 2022
* fix: dont include util.textencoder in the browser

node 10 only has textencoder inside util and not in the global var so we need to do the standard node/browser swap to avoid including node util in the browser

* fix: fix object stat timeout test

* fix: add interop gh branch
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants