Skip to content

Update dependency web-ext to v5

Administrator requested to merge renovate/web-ext-5.x into main

Created by: renovate[bot]

This PR contains the following updates:

Package Type Update New value References Sourcegraph
web-ext devDependencies major ^5.2.0 source code search for "web-ext"

Release Notes

mozilla/web-ext

v5.2.0

Compare Source

Feature
  • web-ext lint: updated to use addons-linter v2.7.0 (#​2032):
    • Updated banned libraries and versions (DOMPurify <= v2.1.0)
    • Updated Firefox for Android WebExtensions API compat data
    • See all addons-linter changes: 2.5.0...2.7.0
Bug Fixes

Various dependencies updated to their last released versions:

  • Updated firefox-profile to v4 (#​2030)
    • the new version does also include a fix for a security advisory related to one of the firefox-profile dependencies (#​2026)
  • Updated open to v7.3.0 (#​2004)
  • Updated update-notifier to v5 (#​2036)
  • Switched from adbkit to @devicefarmer/adbkit (#​2039)
    • the new package does also include a fix for a security advisory related to one of the adbkit dependencies (#​2025)

See all changes: 5.1.0...5.2.0

v5.1.0

Compare Source

Features
  • web-ext run: Android build variants do not require anymore a fully qualified apk component value in the --apk-component flag (#​1935, #​1941) (c083c07), as an example the following command can now be used to run an extension on the Fenix performancetest build variant: web-ext run -t firefox-android ... --firefox-apk=org.mozilla.fenix.performancetest --firefox-apk-component=HomeActivity (instead of ... --firefox-apk-component=org.mozilla.fenix.HomeActivity)

  • web-ext lint: updated to use addons-linter v2.5.0 (#​2019 and #​2028):

    • Imported Firefox 80 and Firefox 81 APIs Schema
    • Fixed optional_permissions validations to match the validation rules already applied to the manifest permissions (#​3060)
    • Added new banned libraries and versions (e.g. DOMPurify <= 2.0.16) due to security vulnerabilities (#​3336, #​3347 and 5c7dc87)
    • See all addons-linter changes: 2.1.0...2.5.0
Bug Fixes

See all changes: 5.0.0...5.1.0

v5.0.0

Compare Source

BREAKING CHANGES

In previous web-ext versions, the directory passed to --chromium-profile would be modified while using web-ext run. As of 5.0.0, a copy of the profile is used instead, unless --keep-profile-changes is passed.

Features
  • web-ext run:

    • Support keep profile changes while running Chrome on an existing profile-directory and fixed selection of non-Default chrome profiles (#​1920), closes #​1909
  • web-ext lint: updated to use addons-linter v2.1.0 (#​1946, #​1967):

    • Imported firefox 79 APIs Schema
    • New JS syntax supported: optional chaining, BigInt, and dynamic imports (closes #​1770)
    • See all addons-linter changes: 1.26.0...2.1.0
Bug Fixes
  • web-ext run / web-ext sign / web-ext build:

    • web-ext does now look for the extension id in the manifest.json browser_specific_settings, and fallback to the applications if no browser_specific_settings is being used or if it does not include a gecko property (#​1974), closes #​1901
  • web-ext run:

    • web-ext run -t firefox-android is now detecting (and warning the user) if old artifacts dirs are being left on the target adb device, using the new --adb-remove-old-artifacts will remove them automatically (#​1965), closes #​1591
    • Fixed --firefox-binary firefoxdeveloperedition alias resolution on macOS, fixed by updating fx-runner to v1.0.13 (#​1962), closes #​1960
  • Fixed node v14 warnings by lazily import git-rev-sync only in non-production mode (#​1972), closes #​1916

  • web-ext is now providing explicit ESM exports in its package.json file (#​1934)

  • Various dependencies updated to their last released versions: bunyan to v1.8.14 (#​1940), camelcase to v6 (#​1879), chrome-launcher to v0.13.4 (#​1953), decamelize to v4 (#​1829), firefox-profile to v2 (#​1861), node-notifier to v7.0.2 (#​1881, #​1968), open to v7.1.0 (#​1831, #​1964), parse-json to v5.0.1 (#​1971), watchpack to v1.7.4 (#​1908, #​1973), sign-addon to v2.0.6 (#​1939), strip-json-comments to v3.1.1 (#​1954), tmp to v0.2.1 (#​1896), update-notifier to v4.1.0 (#​1839), ws to v7.3.1 (#​1897), yargs to v15.4.1 (#​1948)

See all changes: 4.3.0...5.0.0

v4.3.0

Compare Source

Bug Fixes
  • web-ext run:
    • Fixed bug on using web-ext run --arg with values that start with -- (e.g. Chrome's --no-default-browser-check or Firefox's --search=... options) (fixed by updating yargs dependency to v15.3.1, #​1902)
    • Added support for running extensions on android build variants by specify the fully qualified android component as --firefox-apk-component (#​1891, #​1918), e.g.: web-ext run --firefox-apk=org.mozilla.fenix.performancetest --firefox-apk-component=org.mozilla.fenix.HomeActivity
  • web-ext sign:
    • Fixed bug on setting web-ext sign apiKey and apiSecret options into a web-ext config file (#​1327, #​1928)
  • Fixed npm audit errors detected when using web-ext as an npm dependency (#​1913, #​1902)
Features
  • web-ext run:
    • --firefox-binary "firefoxdeveloperedition"/"deved" can now be used as shortcut aliases for running an extension on a Firefox Developer Edition instance (#​1929)
  • web-ext lint: updated to use addons-linter v1.26.0 (#​1887):
    • Imported firefox 76/77/78 APIs Schema
    • See all addons-linter changes: 1.23.0...1.26.0
  • web-ext build:

See all changes: 4.2.0...4.3.0


Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

Merge request reports

Loading