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

Upgrade webextension-polyfill #62

Merged

Conversation

philipp-classen
Copy link
Member

@philipp-classen philipp-classen commented Oct 7, 2022

That might allow us to remove the patch ghostery/ghostery-extension#830

refs ghostery/ghostery-extension#806

@philipp-classen philipp-classen merged commit d05c15b into ghostery:main Oct 7, 2022
@philipp-classen philipp-classen deleted the upgrade_dependencies branch October 7, 2022 16:09
philipp-classen added a commit to philipp-classen/common that referenced this pull request Oct 7, 2022
This reverts commit d05c15b.

Actually, not a good idea. Upgrading introduces other problems,
especially the use of newer syntax like that here creates issues
for our webpack setup:

if (!globalThis.chrome?.runtime?.id) {
  throw new Error("This script should only be loaded in a browser extension.");
}

Since there is no pressing reason to upgrade, rolling it back here.
It would otherwise break the ghostery-extension when it upgrades "common".

refs ghostery#62
philipp-classen added a commit that referenced this pull request Oct 7, 2022
This reverts commit d05c15b.

Actually, not a good idea. Upgrading introduces other problems,
especially the use of newer syntax like that here creates issues
for our webpack setup:

if (!globalThis.chrome?.runtime?.id) {
  throw new Error("This script should only be loaded in a browser extension.");
}

Since there is no pressing reason to upgrade, rolling it back here.
It would otherwise break the ghostery-extension when it upgrades "common".

refs #62
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.

None yet

1 participant