Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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

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

Conversation

@kyranjamie

Copy link
Copy Markdown
Contributor

Closes issue #259

Redeclaring Buffer prohibits using a globally-defined polyfill.

@fanatid

fanatid commented Dec 16, 2020

Copy link
Copy Markdown
Collaborator

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

@fanatid

fanatid commented Feb 21, 2021

Copy link
Copy Markdown
Collaborator

ping @kyranjamie

@kyranjamie

Copy link
Copy Markdown
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

fanatid commented Feb 23, 2021

Copy link
Copy Markdown
Collaborator

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