Skip to content

Commit

Permalink
build(package): pin typescript-eslint/parser for supported node.js (#…
Browse files Browse the repository at this point in the history
…63424)

### What

typescript-eslint/typescript-eslint#8671
introduces a change to enforce node.js >= 18.18.0. This is technically
breaking changes, and affects us as we support 18.17.0 still
(https://github.com/vercel/next.js/blob/canary/package.json#L254).

As a workaround, pin dep version to avoid 7.3.0 - later when we lift our
engines, can remove those.

Closes PACK-2763
  • Loading branch information
kwonoj committed Mar 18, 2024
1 parent f96ec51 commit 2cd58bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-next/package.json
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@next/eslint-plugin-next": "14.2.0-canary.28",
"@rushstack/eslint-patch": "^1.3.3",
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.1",
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.28.1",
Expand Down
15 changes: 5 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2cd58bb

Please sign in to comment.