Skip to content

fix: Buffer not using global in browser, closes #259#260

Merged
fanatid merged 1 commit intoindutny:masterfrom
kyranjamie:master
Feb 23, 2021
Merged

fix: Buffer not using global in browser, closes #259#260
fanatid merged 1 commit intoindutny:masterfrom
kyranjamie:master

Conversation

@kyranjamie
Copy link
Contributor

Closes issue #259

Redeclaring Buffer prohibits using a globally-defined polyfill.

@fanatid
Copy link
Collaborator

fanatid commented Dec 16, 2020

Thanks. Is it possible to test the new code somehow?

@fanatid
Copy link
Collaborator

fanatid commented Feb 21, 2021

ping @kyranjamie

@kyranjamie
Copy link
Contributor Author

I had a look, but wasn't figure out how to test this. There are no tests are in place at present.

Also ran into issues coercing a mock window object, where linter rejects with Read-only global 'window' should not be modified.. Found no docs as to how to disable this check.

@fanatid fanatid merged commit 21584fc into indutny:master Feb 23, 2021
@fanatid
Copy link
Collaborator

fanatid commented Feb 23, 2021

Thank you.

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

Successfully merging this pull request may close these issues.

2 participants