Skip to content

Commit d1fe0b8

Browse files
authored
chore(deps): update eslint to fix flatted vulnerability (#2575)
2 parents 6b272d1 + 7568904 commit d1fe0b8

12 files changed

Lines changed: 4429 additions & 2777 deletions

File tree

e2e/test-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12+
"@auth0/nextjs-auth0": "file:../../",
1213
"next": "file:../../node_modules/next",
1314
"react": "file:../../node_modules/react",
14-
"react-dom": "file:../../node_modules/react-dom",
15-
"@auth0/nextjs-auth0": "file:../../"
15+
"react-dom": "file:../../node_modules/react-dom"
1616
},
1717
"devDependencies": {
18-
"typescript": "^5",
1918
"@types/node": "file:../../node_modules/@types/node",
2019
"@types/react": "file:../../node_modules/@types/react",
2120
"@types/react-dom": "file:../../node_modules/@types/react-dom",
21+
"eslint": "^9.39.4",
22+
"eslint-config-next": "15.2.4",
2223
"postcss": "^8",
2324
"tailwindcss": "^3.4.1",
24-
"eslint": "^8",
25-
"eslint-config-next": "15.0.3"
25+
"typescript": "^5"
2626
}
2727
}

e2e/test-app/pnpm-lock.yaml

Lines changed: 1389 additions & 872 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/with-mrrt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@types/node": "^22.8.6",
3232
"@types/react": "^18.3.12",
3333
"@types/react-dom": "^18.3.1",
34-
"eslint": "^9.13.0",
35-
"eslint-config-next": "15.0.2",
34+
"eslint": "^9.39.4",
35+
"eslint-config-next": "15.2.4",
3636
"postcss": "^8.4.47",
3737
"tailwindcss": "^3.4.14",
3838
"typescript": "^5.6.3"

examples/with-mrrt/pnpm-lock.yaml

Lines changed: 1280 additions & 732 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/with-next-intl/app/[locale]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function LocaleLayout({
1212
}) {
1313
const { locale } = await params
1414
// Ensure that the incoming `locale` is valid
15-
if (!routing.locales.includes(locale as any)) {
15+
if (!routing.locales.includes(locale as (typeof routing.locales)[number])) {
1616
notFound()
1717
}
1818

examples/with-next-intl/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"@types/node": "^20",
2020
"@types/react": "^18",
2121
"@types/react-dom": "^18",
22-
"eslint": "^8",
23-
"eslint-config-next": "15.0.3",
22+
"eslint": "^9.39.4",
23+
"eslint-config-next": "15.2.4",
2424
"postcss": "^8",
2525
"tailwindcss": "^3.4.1",
2626
"typescript": "^5"

examples/with-next-intl/pnpm-lock.yaml

Lines changed: 1330 additions & 825 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/with-next-intl/src/i18n/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default getRequestConfig(async ({ requestLocale }) => {
77
let locale = await requestLocale
88

99
// Ensure that a valid locale is used
10-
if (!locale || !routing.locales.includes(locale as any)) {
10+
if (!locale || !routing.locales.includes(locale as (typeof routing.locales)[number])) {
1111
locale = routing.defaultLocale
1212
}
1313

examples/with-shadcn/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@types/node": "^22.8.6",
3232
"@types/react": "^18.3.12",
3333
"@types/react-dom": "^18.3.1",
34-
"eslint": "^9.13.0",
35-
"eslint-config-next": "15.0.2",
34+
"eslint": "^9.39.4",
35+
"eslint-config-next": "15.2.4",
3636
"postcss": "^8.4.47",
3737
"tailwindcss": "^3.4.14",
3838
"typescript": "^5.6.3"

0 commit comments

Comments
 (0)