mozilla / webextension-polyfill

A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
Mozilla Public License 2.0
2.75k stars 214 forks source link

chore(deps-dev): bump eslint from 8.35.0 to 9.11.0 #658

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps eslint from 8.35.0 to 9.11.0.

Release notes

Sourced from eslint's releases.

v9.11.0

Features

  • ec30c73 feat: add "eslint/universal" to export Linter (#18883) (唯然)
  • c591da6 feat: Add language to types (#18917) (Nicholas C. Zakas)
  • 492eb8f feat: limit the name given to ImportSpecifier in id-length (#18861) (Tanuj Kanti)
  • 19c6856 feat: Add no-useless-constructor suggestion (#18799) (Jordan Thomson)
  • a48f8c2 feat: add type FormatterFunction, update LoadedFormatter (#18872) (Francesco Trotta)

Bug Fixes

  • 5e5f39b fix: add missing types for no-restricted-exports rule (#18914) (Kristóf Poduszló)
  • 8f630eb fix: add missing types for no-param-reassign options (#18906) (Kristóf Poduszló)
  • d715781 fix: add missing types for no-extra-boolean-cast options (#18902) (Kristóf Poduszló)
  • 2de5742 fix: add missing types for no-misleading-character-class options (#18905) (Kristóf Poduszló)
  • c153084 fix: add missing types for no-implicit-coercion options (#18903) (Kristóf Poduszló)
  • fa11b2e fix: add missing types for no-empty-function options (#18901) (Kristóf Poduszló)
  • a0deed1 fix: add missing types for camelcase options (#18897) (Kristóf Poduszló)

Documentation

  • e4e5709 docs: correct prefer-object-has-own type definition comment (#18924) (Nitin Kumar)
  • 91cbd18 docs: add unicode abbreviations in no-irregular-whitespace rule (#18894) (Alix Royere)
  • 59cfc0f docs: clarify resultsMeta in LoadedFormatter type (#18881) (Milos Djermanovic)
  • adcc50d docs: Update README (GitHub Actions Bot)
  • 4edac1a docs: Update README (GitHub Actions Bot)

Build Related

  • 959d360 build: Support updates to previous major versions (#18871) (Milos Djermanovic)

Chores

  • ca21a64 chore: upgrade @​eslint/js@​9.11.0 (#18927) (Milos Djermanovic)
  • a10f90a chore: package.json update for @​eslint/js release (Jenkins)
  • e4e02cc refactor: Extract processor logic into ProcessorService (#18818) (Nicholas C. Zakas)
  • 6d4484d chore: updates for v8.57.1 release (Jenkins)
  • 71f37c5 refactor: use optional chaining when validating config rules (#18893) (lucasrmendonca)
  • 2c2805f chore: Add PR note to all templates (#18892) (Nicholas C. Zakas)
  • 7b852ce refactor: use Directive class from @eslint/plugin-kit (#18884) (Milos Djermanovic)
  • d594ddd chore: update dependency @​eslint/core to ^0.6.0 (#18863) (renovate[bot])
  • 78b2421 chore: Update change.yml (#18882) (Nicholas C. Zakas)
  • a416f0a chore: enable $ExpectType comments in .ts files (#18869) (Francesco Trotta)

v9.10.0

Features

  • 301b90d feat: Add types (#18854) (Nicholas C. Zakas)
  • bcf0df5 feat: limit namespace import identifier in id-length rule (#18849) (ChaedongIm)
  • 45c18e1 feat: add requireFlag option to require-unicode-regexp rule (#18836) (Brett Zamir)
  • 183b459 feat: add error message for duplicate flags in no-invalid-regexp (#18837) (Tanuj Kanti)
  • c69b406 feat: report duplicate allowed flags in no-invalid-regexp (#18754) (Tanuj Kanti)

Documentation

  • bee0e7a docs: update README (#18865) (Milos Djermanovic)
  • 5d80b59 docs: specify that ruleId can be null in custom formatter docs (#18857) (Milos Djermanovic)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.11.0 - September 20, 2024

  • ca21a64 chore: upgrade @​eslint/js@​9.11.0 (#18927) (Milos Djermanovic)
  • a10f90a chore: package.json update for @​eslint/js release (Jenkins)
  • 5e5f39b fix: add missing types for no-restricted-exports rule (#18914) (Kristóf Poduszló)
  • e4e5709 docs: correct prefer-object-has-own type definition comment (#18924) (Nitin Kumar)
  • 8f630eb fix: add missing types for no-param-reassign options (#18906) (Kristóf Poduszló)
  • d715781 fix: add missing types for no-extra-boolean-cast options (#18902) (Kristóf Poduszló)
  • e4e02cc refactor: Extract processor logic into ProcessorService (#18818) (Nicholas C. Zakas)
  • ec30c73 feat: add "eslint/universal" to export Linter (#18883) (唯然)
  • c591da6 feat: Add language to types (#18917) (Nicholas C. Zakas)
  • 91cbd18 docs: add unicode abbreviations in no-irregular-whitespace rule (#18894) (Alix Royere)
  • 959d360 build: Support updates to previous major versions (#18871) (Milos Djermanovic)
  • 6d4484d chore: updates for v8.57.1 release (Jenkins)
  • 492eb8f feat: limit the name given to ImportSpecifier in id-length (#18861) (Tanuj Kanti)
  • 2de5742 fix: add missing types for no-misleading-character-class options (#18905) (Kristóf Poduszló)
  • c153084 fix: add missing types for no-implicit-coercion options (#18903) (Kristóf Poduszló)
  • 19c6856 feat: Add no-useless-constructor suggestion (#18799) (Jordan Thomson)
  • fa11b2e fix: add missing types for no-empty-function options (#18901) (Kristóf Poduszló)
  • a0deed1 fix: add missing types for camelcase options (#18897) (Kristóf Poduszló)
  • 71f37c5 refactor: use optional chaining when validating config rules (#18893) (lucasrmendonca)
  • 2c2805f chore: Add PR note to all templates (#18892) (Nicholas C. Zakas)
  • 7b852ce refactor: use Directive class from @eslint/plugin-kit (#18884) (Milos Djermanovic)
  • a48f8c2 feat: add type FormatterFunction, update LoadedFormatter (#18872) (Francesco Trotta)
  • d594ddd chore: update dependency @​eslint/core to ^0.6.0 (#18863) (renovate[bot])
  • 59cfc0f docs: clarify resultsMeta in LoadedFormatter type (#18881) (Milos Djermanovic)
  • 78b2421 chore: Update change.yml (#18882) (Nicholas C. Zakas)
  • a416f0a chore: enable $ExpectType comments in .ts files (#18869) (Francesco Trotta)
  • adcc50d docs: Update README (GitHub Actions Bot)
  • 4edac1a docs: Update README (GitHub Actions Bot)

v8.57.1 - September 16, 2024

  • 140ec45 chore: upgrade @​eslint/js@​8.57.1 (#18913) (Milos Djermanovic)
  • bcdfc04 chore: package.json update for @​eslint/js release (Jenkins)
  • 3f6ce8d chore: pin vite-plugin-commonjs@0.10.1 (#18910) (Milos Djermanovic)
  • a19072f fix: add logic to handle fixTypes in the lintText() method (#18900) (Francesco Trotta)
  • 04c7188 fix: Don't lint same file multiple times (#18899) (Francesco Trotta)
  • 87ec3c4 fix: do not throw when defining a global named __defineSetter__ (#18898) (Francesco Trotta)
  • 60a1267 fix: Provide helpful error message for nullish configs (#18889) (Milos Djermanovic)
  • 35d366a build: Support updates to previous major versions (#18870) (Milos Djermanovic)
  • a0dea8e fix: allow name in global ignores, fix --no-ignore for non-global (#18875) (Milos Djermanovic)
  • 3836bb4 fix: do not crash on error in fs.walk filter (#18886) (Milos Djermanovic)
  • 2dec349 fix: skip processor code blocks that match only universal patterns (#18880) (Milos Djermanovic)
  • 6a5add4 docs: v8.x Add EOL banner (#18744) (Amaresh S M)
  • b034575 docs: v8.x add version support page to the dropdown (#18731) (Amaresh S M)
  • 760ef7d docs: v8.x add version support page in the side navbar (#18740) (Amaresh S M)
  • 428b7ea docs: Add Powered by Algolia label to the search (#18658) (Amaresh S M)
  • 9f07549 chore: ignore /docs/v8.x in link checker (#18660) (Milos Djermanovic)
  • c68c07f docs: version selectors synchronization (#18265) (Milos Djermanovic)

... (truncated)

Commits
  • 26baf40 9.11.0
  • 4cc6637 Build: changelog update for 9.11.0
  • ca21a64 chore: upgrade @​eslint/js@​9.11.0 (#18927)
  • a10f90a chore: package.json update for @​eslint/js release
  • 5e5f39b fix: add missing types for no-restricted-exports rule (#18914)
  • e4e5709 docs: correct prefer-object-has-own type definition comment (#18924)
  • 8f630eb fix: add missing types for no-param-reassign options (#18906)
  • d715781 fix: add missing types for no-extra-boolean-cast options (#18902)
  • e4e02cc refactor: Extract processor logic into ProcessorService (#18818)
  • ec30c73 feat: add "eslint/universal" to export Linter (#18883)
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
rpl commented 2 months ago

@dependabot rebase

rpl commented 2 months ago

@dependabot rebase

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.71%. Comparing base (de29aab) to head (97b9d5d). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #658 +/- ## ======================================= Coverage 90.71% 90.71% ======================================= Files 1 1 Lines 140 140 ======================================= Hits 127 127 Misses 13 13 ``` | [Flag](https://app.codecov.io/gh/mozilla/webextension-polyfill/pull/658/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mozilla) | Coverage Δ | | |---|---|---| | [](https://app.codecov.io/gh/mozilla/webextension-polyfill/pull/658/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mozilla) | `90.71% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mozilla#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

rpl commented 2 months ago

@willdurand would you mind to give this PR a look? We had to convert the .eslintrc and .eslintignore config files into the new flat config to update eslint to v9.

The config file has been migrated using their automated script (see https://eslint.org/docs/latest/use/configure/migration-guide#migrate-your-config-file) and then tweaked manually (I only had to change the sourceType and add globals.webextensions and globals.browser to the eslint environment, then had a couple of eslint-ignore-line inline comments in tape-standalone.js to prevent it from hitting linting error due to that browser variable being named as the browser global available in WebExtensions pages).