-
Notifications
You must be signed in to change notification settings - Fork 8
Task/update deps april 2026 #710
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
Open
bedrich-schindler
wants to merge
4
commits into
master
Choose a base branch
from
task/update-deps-april-2026
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
580c418
Update browserslist database (#709)
bedrich-schindler b22f46b
Update dependencies (#709)
bedrich-schindler 1fb567c
Fix vulnerabilities using `npm run fix` (#709)
bedrich-schindler 4551eff
Pin `npm` to version to prevent npm issues from breaking the build
bedrich-schindler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,226 @@ | ||
| /* eslint-disable import/no-extraneous-dependencies */ | ||
| const { rules: baseBestPracticesRules } = require('eslint-config-airbnb-base/rules/best-practices'); | ||
| const { rules: baseErrorsRules } = require('eslint-config-airbnb-base/rules/errors'); | ||
| const { rules: baseES6Rules } = require('eslint-config-airbnb-base/rules/es6'); | ||
| const { rules: baseImportsRules } = require('eslint-config-airbnb-base/rules/imports'); | ||
| const { rules: baseStyleRules } = require('eslint-config-airbnb-base/rules/style'); | ||
| const { rules: baseVariablesRules } = require('eslint-config-airbnb-base/rules/variables'); | ||
| /* eslint-enable import/no-extraneous-dependencies */ | ||
|
|
||
| // Ported from https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/lib/shared.js | ||
| // Adapted for @typescript-eslint/eslint-plugin v8: | ||
| // - Rules removed in v8 are omitted: brace-style, comma-dangle, comma-spacing, func-call-spacing, | ||
| // indent, keyword-spacing, lines-between-class-members, no-extra-parens, no-extra-semi, | ||
| // object-curly-spacing, quotes, semi, space-before-blocks, space-before-function-paren, | ||
| // space-infix-ops | ||
| // - 'no-throw-literal' was renamed to 'only-throw-error' | ||
| /* eslint-disable sort-keys */ | ||
| module.exports = { | ||
| parser: '@typescript-eslint/parser', | ||
| plugins: [ | ||
| '@typescript-eslint', | ||
| ], | ||
| settings: { | ||
| // Apply special parsing for TypeScript files | ||
| 'import/parsers': { | ||
| '@typescript-eslint/parser': ['.ts', '.tsx', '.d.ts'], | ||
| }, | ||
| // Append 'ts' extensions to Airbnb 'import/resolver' setting | ||
| // Original: ['.mjs', '.js', '.json'] | ||
| 'import/resolver': { | ||
| node: { | ||
| extensions: ['.mjs', '.js', '.jsx', '.json', '.ts', '.tsx', '.d.ts'], | ||
| }, | ||
| }, | ||
| // Append 'ts' extensions to Airbnb 'import/extensions' setting | ||
| // Original: ['.js', '.mjs', '.jsx'] | ||
| 'import/extensions': ['.js', '.mjs', '.jsx', '.ts', '.tsx', '.d.ts'], | ||
| // Resolve type definition packages | ||
| 'import/external-module-folders': ['node_modules', 'node_modules/@types'], | ||
| }, | ||
| rules: { | ||
| // Replace Airbnb 'camelcase' rule with '@typescript-eslint/naming-convention' | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/naming-convention.md | ||
| camelcase: 'off', | ||
| // The `@typescript-eslint/naming-convention` rule allows `leadingUnderscore` and `trailingUnderscore` settings. | ||
| // However, the existing `no-underscore-dangle` rule already takes care of this. | ||
| '@typescript-eslint/naming-convention': [ | ||
| 'error', | ||
| // Allow camelCase variables (23.2), PascalCase variables (23.8), and UPPER_CASE variables (23.10) | ||
| { | ||
| selector: 'variable', | ||
| format: ['camelCase', 'PascalCase', 'UPPER_CASE'], | ||
| }, | ||
| // Allow camelCase functions (23.2), and PascalCase functions (23.8) | ||
| { | ||
| selector: 'function', | ||
| format: ['camelCase', 'PascalCase'], | ||
| }, | ||
| // Airbnb recommends PascalCase for classes (23.3), and although Airbnb does not make TypeScript recommendations, | ||
| // we are assuming this rule would similarly apply to anything "type like", including interfaces, | ||
| // type aliases, and enums | ||
| { | ||
| selector: 'typeLike', | ||
| format: ['PascalCase'], | ||
| }, | ||
| ], | ||
|
|
||
| // Replace Airbnb 'default-param-last' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/default-param-last.md | ||
| 'default-param-last': 'off', | ||
| '@typescript-eslint/default-param-last': baseBestPracticesRules['default-param-last'], | ||
|
|
||
| // Replace Airbnb 'dot-notation' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/dot-notation.md | ||
| 'dot-notation': 'off', | ||
| '@typescript-eslint/dot-notation': baseBestPracticesRules['dot-notation'], | ||
|
|
||
| // Replace Airbnb 'no-array-constructor' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-array-constructor.md | ||
| 'no-array-constructor': 'off', | ||
| '@typescript-eslint/no-array-constructor': baseStyleRules['no-array-constructor'], | ||
|
|
||
| // Replace Airbnb 'no-dupe-class-members' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-dupe-class-members.md | ||
| 'no-dupe-class-members': 'off', | ||
| '@typescript-eslint/no-dupe-class-members': baseES6Rules['no-dupe-class-members'], | ||
|
|
||
| // Replace Airbnb 'no-empty-function' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-function.md | ||
| 'no-empty-function': 'off', | ||
| '@typescript-eslint/no-empty-function': baseBestPracticesRules['no-empty-function'], | ||
|
|
||
| // Replace Airbnb 'no-implied-eval' and 'no-new-func' rules with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-implied-eval.md | ||
| 'no-implied-eval': 'off', | ||
| 'no-new-func': 'off', | ||
| '@typescript-eslint/no-implied-eval': baseBestPracticesRules['no-implied-eval'], | ||
|
|
||
| // Replace Airbnb 'no-loss-of-precision' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loss-of-precision.md | ||
| 'no-loss-of-precision': 'off', | ||
| '@typescript-eslint/no-loss-of-precision': baseErrorsRules['no-loss-of-precision'], | ||
|
|
||
| // Replace Airbnb 'no-loop-func' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loop-func.md | ||
| 'no-loop-func': 'off', | ||
| '@typescript-eslint/no-loop-func': baseBestPracticesRules['no-loop-func'], | ||
|
|
||
| // Replace Airbnb 'no-magic-numbers' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-magic-numbers.md | ||
| 'no-magic-numbers': 'off', | ||
| '@typescript-eslint/no-magic-numbers': baseBestPracticesRules['no-magic-numbers'], | ||
|
|
||
| // Replace Airbnb 'no-redeclare' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-redeclare.md | ||
| 'no-redeclare': 'off', | ||
| '@typescript-eslint/no-redeclare': baseBestPracticesRules['no-redeclare'], | ||
|
|
||
| // Replace Airbnb 'no-shadow' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md | ||
| 'no-shadow': 'off', | ||
| '@typescript-eslint/no-shadow': baseVariablesRules['no-shadow'], | ||
|
|
||
| // Replace Airbnb 'no-throw-literal' rule with '@typescript-eslint' version | ||
| // (renamed to 'only-throw-error' in @typescript-eslint v8) | ||
| // https://typescript-eslint.io/rules/only-throw-error | ||
| 'no-throw-literal': 'off', | ||
| '@typescript-eslint/only-throw-error': baseBestPracticesRules['no-throw-literal'], | ||
|
|
||
| // Replace Airbnb 'no-unused-expressions' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-expressions.md | ||
| 'no-unused-expressions': 'off', | ||
| '@typescript-eslint/no-unused-expressions': baseBestPracticesRules['no-unused-expressions'], | ||
|
|
||
| // Replace Airbnb 'no-unused-vars' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md | ||
| 'no-unused-vars': 'off', | ||
| '@typescript-eslint/no-unused-vars': baseVariablesRules['no-unused-vars'], | ||
|
|
||
| // Replace Airbnb 'no-use-before-define' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md | ||
| 'no-use-before-define': 'off', | ||
| '@typescript-eslint/no-use-before-define': baseVariablesRules['no-use-before-define'], | ||
|
|
||
| // Replace Airbnb 'no-useless-constructor' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-useless-constructor.md | ||
| 'no-useless-constructor': 'off', | ||
| '@typescript-eslint/no-useless-constructor': baseES6Rules['no-useless-constructor'], | ||
|
|
||
| // Replace Airbnb 'require-await' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/require-await.md | ||
| 'require-await': 'off', | ||
| '@typescript-eslint/require-await': baseBestPracticesRules['require-await'], | ||
|
|
||
| // Replace Airbnb 'no-return-await' rule with '@typescript-eslint' version | ||
| // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/return-await.md | ||
| 'no-return-await': 'off', | ||
| '@typescript-eslint/return-await': [baseBestPracticesRules['no-return-await'], 'in-try-catch'], | ||
|
|
||
| // Append 'ts' and 'tsx' to Airbnb 'import/extensions' rule | ||
| // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md | ||
| 'import/extensions': [ | ||
| baseImportsRules['import/extensions'][0], | ||
| baseImportsRules['import/extensions'][1], | ||
| { | ||
| ...baseImportsRules['import/extensions'][2], | ||
| ts: 'never', | ||
| tsx: 'never', | ||
| }, | ||
| ], | ||
|
|
||
| // Append 'ts' and 'tsx' extensions to Airbnb 'import/no-extraneous-dependencies' rule | ||
| // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md | ||
| 'import/no-extraneous-dependencies': [ | ||
| baseImportsRules['import/no-extraneous-dependencies'][0], | ||
| { | ||
| ...baseImportsRules['import/no-extraneous-dependencies'][1], | ||
| devDependencies: baseImportsRules[ | ||
| 'import/no-extraneous-dependencies' | ||
| ][1].devDependencies.reduce((result, devDep) => { | ||
| const toAppend = [devDep]; | ||
| const devDepWithTs = devDep.replace(/\bjs(x?)\b/g, 'ts$1'); | ||
| if (devDepWithTs !== devDep) { | ||
| toAppend.push(devDepWithTs); | ||
| } | ||
| return [...result, ...toAppend]; | ||
| }, []), | ||
| }, | ||
| ], | ||
| }, | ||
| overrides: [ | ||
| { | ||
| files: ['*.ts', '*.tsx'], | ||
| rules: { | ||
| // The following rules are enabled in Airbnb config, but are already checked (more thoroughly) | ||
| // by the TypeScript compiler | ||
| // Some of the rules also fail in TypeScript files, for example: https://github.com/typescript-eslint/typescript-eslint/issues/662#issuecomment-507081586 | ||
| // Rules are inspired by: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslint-recommended.ts | ||
| 'constructor-super': 'off', | ||
| 'getter-return': 'off', | ||
| 'no-const-assign': 'off', | ||
| 'no-dupe-args': 'off', | ||
| 'no-dupe-class-members': 'off', | ||
| 'no-dupe-keys': 'off', | ||
| 'no-func-assign': 'off', | ||
| 'no-import-assign': 'off', | ||
| 'no-new-symbol': 'off', | ||
| 'no-obj-calls': 'off', | ||
| 'no-redeclare': 'off', | ||
| 'no-setter-return': 'off', | ||
| 'no-this-before-super': 'off', | ||
| 'no-undef': 'off', | ||
| 'no-unreachable': 'off', | ||
| 'no-unsafe-negation': 'off', | ||
| 'valid-typeof': 'off', | ||
| // The following rules are enabled in Airbnb config, but are recommended to be disabled | ||
| // within TypeScript projects | ||
| // See: https://github.com/typescript-eslint/typescript-eslint/blob/13583e65f5973da2a7ae8384493c5e00014db51b/docs/linting/TROUBLESHOOTING.md#eslint-plugin-import | ||
| 'import/named': 'off', | ||
| 'import/no-named-as-default-member': 'off', | ||
| // Disable `import/no-unresolved`, see README.md for details | ||
| 'import/no-unresolved': 'off', | ||
| }, | ||
| }, | ||
| ], | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| FROM mcr.microsoft.com/playwright:v1.57.0 | ||
| FROM mcr.microsoft.com/playwright:v1.59.1 | ||
| RUN mkdir /workspace | ||
| WORKDIR /workspace |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.