Skip to content

Update supported node versions - #192

Open
JoshTheWanderer wants to merge 6 commits into
mainfrom
upgrade-node
Open

JoshTheWanderer wants to merge 6 commits into
mainfrom
upgrade-node

Conversation

@JoshTheWanderer

Copy link
Copy Markdown
Contributor

Drops node 20, adds node 26.

Additionally upgrades actions and stops npm ci from running scripts for improved supply chain security.

@mergify
mergify Bot requested a review from a team November 24, 2026 10:55
@mergify

mergify Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

❌MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 3 0 0 0.04s
❌ ACTION zizmor 3 1 0 0.26s
✅ EDITORCONFIG editorconfig-checker 11 0 0 0.01s
❌ JAVASCRIPT eslint 2 1 0 2.81s
✅ JSON jsonlint 2 0 0 0.11s
✅ JSON npm-package-json-lint yes no no 0.33s
✅ JSON prettier 2 0 0 0.72s
✅ JSON v8r 2 0 0 7.01s
✅ REPOSITORY betterleaks yes no no 0.6s
✅ REPOSITORY checkov yes no no 10.69s
✅ REPOSITORY git_diff yes no no 0.02s
❌ REPOSITORY osv-scanner yes 11 no 2.44s
✅ REPOSITORY secretlint yes no no 0.82s
✅ REPOSITORY syft yes no no 1.46s
✅ REPOSITORY trivy-sbom yes no no 0.77s
❌ REPOSITORY trufflehog yes 1 no 1.0s
❌ TSX eslint 1 1 0 2.03s
❌ TYPESCRIPT eslint 1 1 0 1.73s
✅ YAML prettier 4 0 0 0.39s
✅ YAML yamllint 4 0 0 0.37s

Detailed Issues

❌ JAVASCRIPT / eslint - 1 error
Oops! Something went wrong! :(

ESLint: 10.13.0

TypeError: Error while loading rule 'react/prefer-read-only-props': contextOrFilename.getFilename is not a function
Occurred while linting eslint.config.js
    at resolveBasedir (node_modules/eslint-plugin-react/lib/util/version.js:31:100)
    at detectReactVersion (node_modules/eslint-plugin-react/lib/util/version.js:85:19)
    at getReactVersionFromContext (node_modules/eslint-plugin-react/lib/util/version.js:116:25)
    at testReactVersion (node_modules/eslint-plugin-react/lib/util/version.js:181:28)
    at usedPropTypesInstructions (node_modules/eslint-plugin-react/lib/util/usedPropTypes.js:307:36)
    at Components.componentRule (node_modules/eslint-plugin-react/lib/util/Components.js:940:37)
    at createRuleListeners (/node-deps/node_modules/eslint/lib/linter/linter.js:502:15)
    at /node-deps/node_modules/eslint/lib/linter/linter.js:628:7
    at Array.forEach (<anonymous>)
    at runRules (/node-deps/node_modules/eslint/lib/linter/linter.js:562:31)
❌ TSX / eslint - 1 error
Oops! Something went wrong! :(

ESLint: 10.13.0

TypeError: Error while loading rule 'react/prefer-read-only-props': contextOrFilename.getFilename is not a function
Occurred while linting src/components/content/List/List.stories.tsx
    at resolveBasedir (node_modules/eslint-plugin-react/lib/util/version.js:31:100)
    at detectReactVersion (node_modules/eslint-plugin-react/lib/util/version.js:85:19)
    at getReactVersionFromContext (node_modules/eslint-plugin-react/lib/util/version.js:116:25)
    at testReactVersion (node_modules/eslint-plugin-react/lib/util/version.js:181:28)
    at usedPropTypesInstructions (node_modules/eslint-plugin-react/lib/util/usedPropTypes.js:307:36)
    at Components.componentRule (node_modules/eslint-plugin-react/lib/util/Components.js:940:37)
    at createRuleListeners (/node-deps/node_modules/eslint/lib/linter/linter.js:502:15)
    at /node-deps/node_modules/eslint/lib/linter/linter.js:628:7
    at Array.forEach (<anonymous>)
    at runRules (/node-deps/node_modules/eslint/lib/linter/linter.js:562:31)
❌ TYPESCRIPT / eslint - 1 error
Oops! Something went wrong! :(

ESLint: 10.13.0

TypeError: Error while loading rule 'react/prefer-read-only-props': contextOrFilename.getFilename is not a function
Occurred while linting src/lib/hooks/combined-refs.ts
    at resolveBasedir (node_modules/eslint-plugin-react/lib/util/version.js:31:100)
    at detectReactVersion (node_modules/eslint-plugin-react/lib/util/version.js:85:19)
    at getReactVersionFromContext (node_modules/eslint-plugin-react/lib/util/version.js:116:25)
    at testReactVersion (node_modules/eslint-plugin-react/lib/util/version.js:181:28)
    at usedPropTypesInstructions (node_modules/eslint-plugin-react/lib/util/usedPropTypes.js:307:36)
    at Components.componentRule (node_modules/eslint-plugin-react/lib/util/Components.js:940:37)
    at createRuleListeners (/node-deps/node_modules/eslint/lib/linter/linter.js:502:15)
    at /node-deps/node_modules/eslint/lib/linter/linter.js:628:7
    at Array.forEach (<anonymous>)
    at runRules (/node-deps/node_modules/eslint/lib/linter/linter.js:562:31)
❌ REPOSITORY / osv-scanner - 11 errors
Scanning dir .
Starting filesystem walk for root: /
Scanned package-lock.json file and found 1514 packages
Scanned example/package-lock.json file and found 65 packages
End status: 86 dirs visited, 594 inodes visited, 2 Extract calls, 51.619588ms elapsed, 51.619756ms wall time

Total 10 packages affected by 11 known vulnerabilities (0 Critical, 2 High, 9 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
11 vulnerabilities can be fixed.

+-------------------------------------+------+-----------+-------------------------------+---------+---------------+---------------------------+
| OSV URL                             | CVSS | ECOSYSTEM | PACKAGE                       | VERSION | FIXED VERSION | SOURCE                    |
+-------------------------------------+------+-----------+-------------------------------+---------+---------------+---------------------------+
| https://osv.dev/GHSA-2v37-7h3g-55p8 | 8.2  | npm       | nanoid (dev)                  | 3.3.16  | 3.3.18        | example/package-lock.json |
| https://osv.dev/GHSA-3g3m-2fjr-6pw4 | 6.3  | npm       | glob (dev)                    | 10.5.0  | 14.0.2        | package-lock.json         |
| https://osv.dev/GHSA-3g3m-2fjr-6pw4 | 6.3  | npm       | glob (dev)                    | 11.1.0  | 14.0.2        | package-lock.json         |
| https://osv.dev/GHSA-3g3m-2fjr-6pw4 | 6.3  | npm       | glob (dev)                    | 13.0.6  | 14.0.2        | package-lock.json         |
| https://osv.dev/GHSA-3g3m-2fjr-6pw4 | 6.3  | npm       | glob (dev)                    | 13.0.7  | 14.0.2        | package-lock.json         |
| https://osv.dev/GHSA-g3hv-75wg-m249 | 6.9  | npm       | minimatch (dev)               | 10.2.5  | 11.0.1        | package-lock.json         |
| https://osv.dev/GHSA-g3hv-75wg-m249 | 6.9  | npm       | minimatch (dev)               | 10.2.6  | 11.0.1        | package-lock.json         |
| https://osv.dev/GHSA-g3hv-75wg-m249 | 6.9  | npm       | minimatch (dev)               | 9.0.9   | 11.0.1        | package-lock.json         |
| https://osv.dev/GHSA-rj75-hqrm-r3gf | 5.9  | npm       | postcss-selector-parser (dev) | 7.1.0   | 7.1.6         | package-lock.json         |
| https://osv.dev/GHSA-w9m9-85wc-3x92 | 4.3  | npm       | postcss-selector-parser (dev) | 7.1.0   | 7.1.3         | package-lock.json         |
| https://osv.dev/GHSA-w5hq-g745-h8pq | 7.5  | npm       | uuid (dev)                    | 8.3.2   | 11.1.1        | package-lock.json         |
+-------------------------------------+------+-----------+-------------------------------+---------+---------------+---------------------------+
❌ REPOSITORY / trufflehog - 1 error
trufflehog: error: flag 'exclude-paths' cannot be repeated, try --help
❌ ACTION / zizmor - 1 error
INFO zizmor: 🌈 zizmor v1.25.0
fatal: no audit was performed
'artipacked' audit failed on file://.github/workflows/chromatic.yml

Caused by:
    0: error in 'artipacked' audit
    1: couldn't list tags for actions/checkout
    2: request error while accessing GitHub API
    3: HTTP status client error (401 Unauthorized) for url (https://github.com/actions/checkout.git/git-upload-pack)

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant