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

Bump webextension-polyfill from 0.8.0 to 0.9.0 #3043

Merged
merged 7 commits into from
Mar 29, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2022

Bumps webextension-polyfill from 0.8.0 to 0.9.0.

Release notes

Sourced from webextension-polyfill's releases.

0.9.0

Bug Fixes

  • enable webextension-polyfill usage via webpack ProvidePlugin (#351)

See all changes for 0.9.0

Commits
  • 2485b53 chore: bump version for release 0.9.0
  • 88bebf7 chore(deps): update dependency mocha to v9 (#324)
  • 1e596f0 chore(ci): Updated circleci to use the new cimg/node docker images (#371)
  • bb7b2b0 chore(deps): update dependency istanbul-lib-instrument to v5 (#338)
  • 5f96f7c chore(deps): update codecov orb to v3.2.2 (#352)
  • f818ecb chore(deps): update dependency shelljs to v0.8.5 [security] (#358)
  • becce92 chore: Run update apt before installing xserver-xephyr in the CI job (#359)
  • 780518e fix: enable webextension-polyfill usage via webpack ProvidePlugin (#351)
  • 31ed31a chore: Update eslint to enforce quotes and fix the existing linting errors (#...
  • 2d75968 chore(deps): update dependency chromedriver to v96
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 28, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/webextension-polyfill-0.9.0 branch from 6b2ce8e to 29d1b1d Compare March 28, 2022 13:47
@fregante fregante self-assigned this Mar 28, 2022
Bumps [webextension-polyfill](https://github.com/mozilla/webextension-polyfill) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/mozilla/webextension-polyfill/releases)
- [Commits](mozilla/webextension-polyfill@0.8.0...0.9.0)

---
updated-dependencies:
- dependency-name: webextension-polyfill
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/webextension-polyfill-0.9.0 branch from 29d1b1d to 377d0cb Compare March 28, 2022 14:08
@fregante fregante enabled auto-merge (squash) March 29, 2022 05:11
Comment on lines -96 to -97
jest.mock("webextension-polyfill", () => {
const mock = jest.requireActual("webextension-polyfill");
Copy link
Collaborator

Choose a reason for hiding this comment

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

@twschiller "webextension-polyfill" is now being automatically applied by webpack so browser is "natively" available everywhere.

The same thing has already been happening in the tests, where jest-webextension-mock automatically polyfills the globalThis.browser

Missing methods can be added in testAfterEnv.js as seen below. Mocks are the usual browser.permissions.contains = jest.fn().mockResolvedValue(true)

@fregante fregante merged commit c684d5c into main Mar 29, 2022
@fregante fregante deleted the dependabot/npm_and_yarn/webextension-polyfill-0.9.0 branch March 29, 2022 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant