Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Remove warnings #655

Merged
merged 24 commits into from
Feb 4, 2020
Merged

Remove warnings #655

merged 24 commits into from
Feb 4, 2020

Conversation

jlamarr22
Copy link
Contributor

@jlamarr22 jlamarr22 commented Jan 23, 2020

Change Description

Bump packages and resolve warnings from other packages.
Fixes #651

https://caniuse.com/#feat=textencoder, so this is now natively supported in ~97%+ of modern browsers and 92% of all browsers.

Tested with tropical + chrome-authenticator-app/ual-swagger.

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions
    Removed info about pulling TextEncoder/TextDecoder from text-encoding package since this was removed. Also updated README to tell people to just exclude these when running in a browser.

README.md Outdated Show resolved Hide resolved
@@ -77,7 +76,7 @@ const rpc = new JsonRpc('http://127.0.0.1:8888', { fetch });

### API

Include textDecoder and textEncoder when using in Node, React Native, IE11 or Edge Browsers.
Include textDecoder and textEncoder when using in Node. You may exclude these when running in a browser since most modern browsers now natively support these. If your browser does not support these (https://caniuse.com/#feat=textencoder), then you can import them as a dependency through the following deprecated npm package: https://www.npmjs.com/package/text-encoding
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@jlamarr22 jlamarr22 merged commit a576556 into release/21.0.x Feb 4, 2020
@jlamarr22 jlamarr22 deleted the remove-warnings branch February 4, 2020 16:10
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.

None yet

2 participants