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

Support globalThis and all console methods #25

Merged
merged 1 commit into from
Jun 4, 2021
Merged

Support globalThis and all console methods #25

merged 1 commit into from
Jun 4, 2021

Conversation

NotWoods
Copy link
Contributor

@NotWoods NotWoods commented Jun 4, 2021

Follow up on #24 to fix console.{warn,info,etc} support. Also adds support for globalThis.

I changed algorithm from what was written in #21 to something based on rocambole-strip-console and rocambole-strip-alert.

Also added test for the new features.

@sindresorhus sindresorhus changed the title Add globalThis, console.* Support globalThis and all console methods Jun 4, 2021
@sindresorhus sindresorhus changed the title Support globalThis and all console methods Support globalThis and all console methods Jun 4, 2021
@sindresorhus sindresorhus merged commit 49fb259 into sindresorhus:main Jun 4, 2021
@NotWoods NotWoods deleted the new-algo branch June 5, 2021 03:06
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