Skip to content

Commit b5f8350

Browse files
authored
Merge pull request #996 from mastodon/renovate/npm-next-vulnerability
fix(deps): update dependency next to v15.4.7 [security]
2 parents 2dd6096 + a02c98f commit b5f8350

File tree

4 files changed

+95
-78
lines changed

4 files changed

+95
-78
lines changed

next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

next.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ const nextConfig: NextConfig = {
2222
},
2323
async headers() {
2424
// These static files are references with hardcoded URLs and need proper Cache-Control headers
25-
return [
26-
"/fonts/:all*(ttf|otf|woff|woff2)",
27-
"/favicon-:all*(png)",
28-
"/app-icon.png",
29-
"/preview.png",
30-
]
25+
return ["/fonts/:all*(ttf|otf|woff|woff2)", "/:all*.png"]
3126
.map((source) => ({
3227
source,
3328
headers: [

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "next build",
1111
"start": "next start",
1212
"lint": "yarn typecheck && yarn lint-js",
13-
"lint-js": "next lint",
13+
"lint-js": "eslint .",
1414
"fix": "yarn lint --fix",
1515
"format": "prettier --write --log-level warn --ignore-unknown .",
1616
"update-sponsors": "node --experimental-fetch patreon.mjs",
@@ -31,7 +31,7 @@
3131
"javascript-stringify": "^2.1.0",
3232
"keen-slider": "^6.8.6",
3333
"lodash": "^4.17.21",
34-
"next": "^15.3.1",
34+
"next": "^15.5.2",
3535
"node-gyp": "^11.2.0",
3636
"react": "^18.3.1",
3737
"react-blurhash": "^0.3.0",
@@ -43,6 +43,7 @@
4343
"zod": "^3.24.4"
4444
},
4545
"devDependencies": {
46+
"@eslint/eslintrc": "^3",
4647
"@formatjs/cli": "^6.7.1",
4748
"@svgr/webpack": "^8.1.0",
4849
"@tanstack/react-query-devtools": "^5.75.2",

yarn.lock

Lines changed: 90 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,23 @@ __metadata:
12971297
languageName: node
12981298
linkType: hard
12991299

1300+
"@eslint/eslintrc@npm:^3":
1301+
version: 3.3.1
1302+
resolution: "@eslint/eslintrc@npm:3.3.1"
1303+
dependencies:
1304+
ajv: "npm:^6.12.4"
1305+
debug: "npm:^4.3.2"
1306+
espree: "npm:^10.0.1"
1307+
globals: "npm:^14.0.0"
1308+
ignore: "npm:^5.2.0"
1309+
import-fresh: "npm:^3.2.1"
1310+
js-yaml: "npm:^4.1.0"
1311+
minimatch: "npm:^3.1.2"
1312+
strip-json-comments: "npm:^3.1.1"
1313+
checksum: 10c0/b0e63f3bc5cce4555f791a4e487bf999173fcf27c65e1ab6e7d63634d8a43b33c3693e79f192cbff486d7df1be8ebb2bd2edc6e70ddd486cbfa84a359a3e3b41
1314+
languageName: node
1315+
linkType: hard
1316+
13001317
"@eslint/js@npm:8.57.1":
13011318
version: 8.57.1
13021319
resolution: "@eslint/js@npm:8.57.1"
@@ -1795,10 +1812,10 @@ __metadata:
17951812
languageName: node
17961813
linkType: hard
17971814

1798-
"@next/env@npm:15.3.4":
1799-
version: 15.3.4
1800-
resolution: "@next/env@npm:15.3.4"
1801-
checksum: 10c0/43d37896e1422c9c353d9ded1d1b01545aa30b2bb125bcc40ffd4474dbc6e0ba603a77fc2a598616964a925379bb5a39eb1a242f0c49fc933e39e099fb2f7d75
1815+
"@next/env@npm:15.5.2":
1816+
version: 15.5.2
1817+
resolution: "@next/env@npm:15.5.2"
1818+
checksum: 10c0/39bb834c36361c12b8f3f8fc9e6ce72b2af0daa1b56eab18f2b79d114403fe025317d5079ed2907334da6b4c53b2462724ffc2afa54471c335e6987b4a7a0cc3
18021819
languageName: node
18031820
linkType: hard
18041821

@@ -1811,58 +1828,58 @@ __metadata:
18111828
languageName: node
18121829
linkType: hard
18131830

1814-
"@next/swc-darwin-arm64@npm:15.3.4":
1815-
version: 15.3.4
1816-
resolution: "@next/swc-darwin-arm64@npm:15.3.4"
1831+
"@next/swc-darwin-arm64@npm:15.5.2":
1832+
version: 15.5.2
1833+
resolution: "@next/swc-darwin-arm64@npm:15.5.2"
18171834
conditions: os=darwin & cpu=arm64
18181835
languageName: node
18191836
linkType: hard
18201837

1821-
"@next/swc-darwin-x64@npm:15.3.4":
1822-
version: 15.3.4
1823-
resolution: "@next/swc-darwin-x64@npm:15.3.4"
1838+
"@next/swc-darwin-x64@npm:15.5.2":
1839+
version: 15.5.2
1840+
resolution: "@next/swc-darwin-x64@npm:15.5.2"
18241841
conditions: os=darwin & cpu=x64
18251842
languageName: node
18261843
linkType: hard
18271844

1828-
"@next/swc-linux-arm64-gnu@npm:15.3.4":
1829-
version: 15.3.4
1830-
resolution: "@next/swc-linux-arm64-gnu@npm:15.3.4"
1845+
"@next/swc-linux-arm64-gnu@npm:15.5.2":
1846+
version: 15.5.2
1847+
resolution: "@next/swc-linux-arm64-gnu@npm:15.5.2"
18311848
conditions: os=linux & cpu=arm64 & libc=glibc
18321849
languageName: node
18331850
linkType: hard
18341851

1835-
"@next/swc-linux-arm64-musl@npm:15.3.4":
1836-
version: 15.3.4
1837-
resolution: "@next/swc-linux-arm64-musl@npm:15.3.4"
1852+
"@next/swc-linux-arm64-musl@npm:15.5.2":
1853+
version: 15.5.2
1854+
resolution: "@next/swc-linux-arm64-musl@npm:15.5.2"
18381855
conditions: os=linux & cpu=arm64 & libc=musl
18391856
languageName: node
18401857
linkType: hard
18411858

1842-
"@next/swc-linux-x64-gnu@npm:15.3.4":
1843-
version: 15.3.4
1844-
resolution: "@next/swc-linux-x64-gnu@npm:15.3.4"
1859+
"@next/swc-linux-x64-gnu@npm:15.5.2":
1860+
version: 15.5.2
1861+
resolution: "@next/swc-linux-x64-gnu@npm:15.5.2"
18451862
conditions: os=linux & cpu=x64 & libc=glibc
18461863
languageName: node
18471864
linkType: hard
18481865

1849-
"@next/swc-linux-x64-musl@npm:15.3.4":
1850-
version: 15.3.4
1851-
resolution: "@next/swc-linux-x64-musl@npm:15.3.4"
1866+
"@next/swc-linux-x64-musl@npm:15.5.2":
1867+
version: 15.5.2
1868+
resolution: "@next/swc-linux-x64-musl@npm:15.5.2"
18521869
conditions: os=linux & cpu=x64 & libc=musl
18531870
languageName: node
18541871
linkType: hard
18551872

1856-
"@next/swc-win32-arm64-msvc@npm:15.3.4":
1857-
version: 15.3.4
1858-
resolution: "@next/swc-win32-arm64-msvc@npm:15.3.4"
1873+
"@next/swc-win32-arm64-msvc@npm:15.5.2":
1874+
version: 15.5.2
1875+
resolution: "@next/swc-win32-arm64-msvc@npm:15.5.2"
18591876
conditions: os=win32 & cpu=arm64
18601877
languageName: node
18611878
linkType: hard
18621879

1863-
"@next/swc-win32-x64-msvc@npm:15.3.4":
1864-
version: 15.3.4
1865-
resolution: "@next/swc-win32-x64-msvc@npm:15.3.4"
1880+
"@next/swc-win32-x64-msvc@npm:15.5.2":
1881+
version: 15.5.2
1882+
resolution: "@next/swc-win32-x64-msvc@npm:15.5.2"
18661883
conditions: os=win32 & cpu=x64
18671884
languageName: node
18681885
linkType: hard
@@ -2353,13 +2370,6 @@ __metadata:
23532370
languageName: node
23542371
linkType: hard
23552372

2356-
"@swc/counter@npm:0.1.3":
2357-
version: 0.1.3
2358-
resolution: "@swc/counter@npm:0.1.3"
2359-
checksum: 10c0/8424f60f6bf8694cfd2a9bca45845bce29f26105cda8cf19cdb9fd3e78dc6338699e4db77a89ae449260bafa1cc6bec307e81e7fb96dbf7dcfce0eea55151356
2360-
languageName: node
2361-
linkType: hard
2362-
23632373
"@swc/helpers@npm:0.5.15":
23642374
version: 0.5.15
23652375
resolution: "@swc/helpers@npm:0.5.15"
@@ -2808,6 +2818,15 @@ __metadata:
28082818
languageName: node
28092819
linkType: hard
28102820

2821+
"acorn@npm:^8.15.0":
2822+
version: 8.15.0
2823+
resolution: "acorn@npm:8.15.0"
2824+
bin:
2825+
acorn: bin/acorn
2826+
checksum: 10c0/dec73ff59b7d6628a01eebaece7f2bdb8bb62b9b5926dcad0f8931f2b8b79c2be21f6c68ac095592adb5adb15831a3635d9343e6a91d028bbe85d564875ec3ec
2827+
languageName: node
2828+
linkType: hard
2829+
28112830
"acorn@npm:^8.9.0":
28122831
version: 8.14.1
28132832
resolution: "acorn@npm:8.14.1"
@@ -3193,15 +3212,6 @@ __metadata:
31933212
languageName: node
31943213
linkType: hard
31953214

3196-
"busboy@npm:1.6.0":
3197-
version: 1.6.0
3198-
resolution: "busboy@npm:1.6.0"
3199-
dependencies:
3200-
streamsearch: "npm:^1.1.0"
3201-
checksum: 10c0/fa7e836a2b82699b6e074393428b91ae579d4f9e21f5ac468e1b459a244341d722d2d22d10920cdd849743dbece6dca11d72de939fb75a7448825cf2babfba1f
3202-
languageName: node
3203-
linkType: hard
3204-
32053215
"cacache@npm:^19.0.1":
32063216
version: 19.0.1
32073217
resolution: "cacache@npm:19.0.1"
@@ -4283,6 +4293,17 @@ __metadata:
42834293
languageName: node
42844294
linkType: hard
42854295

4296+
"espree@npm:^10.0.1":
4297+
version: 10.4.0
4298+
resolution: "espree@npm:10.4.0"
4299+
dependencies:
4300+
acorn: "npm:^8.15.0"
4301+
acorn-jsx: "npm:^5.3.2"
4302+
eslint-visitor-keys: "npm:^4.2.1"
4303+
checksum: 10c0/c63fe06131c26c8157b4083313cb02a9a54720a08e21543300e55288c40e06c3fc284bdecf108d3a1372c5934a0a88644c98714f38b6ae8ed272b40d9ea08d6b
4304+
languageName: node
4305+
linkType: hard
4306+
42864307
"espree@npm:^9.6.0, espree@npm:^9.6.1":
42874308
version: 9.6.1
42884309
resolution: "espree@npm:9.6.1"
@@ -4669,6 +4690,13 @@ __metadata:
46694690
languageName: node
46704691
linkType: hard
46714692

4693+
"globals@npm:^14.0.0":
4694+
version: 14.0.0
4695+
resolution: "globals@npm:14.0.0"
4696+
checksum: 10c0/b96ff42620c9231ad468d4c58ff42afee7777ee1c963013ff8aabe095a451d0ceeb8dcd8ef4cbd64d2538cef45f787a78ba3a9574f4a634438963e334471302d
4697+
languageName: node
4698+
linkType: hard
4699+
46724700
"globalthis@npm:^1.0.4":
46734701
version: 1.0.4
46744702
resolution: "globalthis@npm:1.0.4"
@@ -5271,6 +5299,7 @@ __metadata:
52715299
version: 0.0.0-use.local
52725300
resolution: "joinmastodon@workspace:."
52735301
dependencies:
5302+
"@eslint/eslintrc": "npm:^3"
52745303
"@formatjs/cli": "npm:^6.7.1"
52755304
"@headlessui/react": "npm:^2.2.2"
52765305
"@linear/sdk": "npm:^41.0.0"
@@ -5298,7 +5327,7 @@ __metadata:
52985327
keen-slider: "npm:^6.8.6"
52995328
lint-staged: "npm:^16.0.0"
53005329
lodash: "npm:^4.17.21"
5301-
next: "npm:^15.3.1"
5330+
next: "npm:^15.5.2"
53025331
node-gyp: "npm:^11.2.0"
53035332
postcss: "npm:^8.5.3"
53045333
prettier: "npm:^3.5.3"
@@ -5827,29 +5856,27 @@ __metadata:
58275856
languageName: node
58285857
linkType: hard
58295858

5830-
"next@npm:^15.3.1":
5831-
version: 15.3.4
5832-
resolution: "next@npm:15.3.4"
5859+
"next@npm:^15.5.2":
5860+
version: 15.5.2
5861+
resolution: "next@npm:15.5.2"
58335862
dependencies:
5834-
"@next/env": "npm:15.3.4"
5835-
"@next/swc-darwin-arm64": "npm:15.3.4"
5836-
"@next/swc-darwin-x64": "npm:15.3.4"
5837-
"@next/swc-linux-arm64-gnu": "npm:15.3.4"
5838-
"@next/swc-linux-arm64-musl": "npm:15.3.4"
5839-
"@next/swc-linux-x64-gnu": "npm:15.3.4"
5840-
"@next/swc-linux-x64-musl": "npm:15.3.4"
5841-
"@next/swc-win32-arm64-msvc": "npm:15.3.4"
5842-
"@next/swc-win32-x64-msvc": "npm:15.3.4"
5843-
"@swc/counter": "npm:0.1.3"
5863+
"@next/env": "npm:15.5.2"
5864+
"@next/swc-darwin-arm64": "npm:15.5.2"
5865+
"@next/swc-darwin-x64": "npm:15.5.2"
5866+
"@next/swc-linux-arm64-gnu": "npm:15.5.2"
5867+
"@next/swc-linux-arm64-musl": "npm:15.5.2"
5868+
"@next/swc-linux-x64-gnu": "npm:15.5.2"
5869+
"@next/swc-linux-x64-musl": "npm:15.5.2"
5870+
"@next/swc-win32-arm64-msvc": "npm:15.5.2"
5871+
"@next/swc-win32-x64-msvc": "npm:15.5.2"
58445872
"@swc/helpers": "npm:0.5.15"
5845-
busboy: "npm:1.6.0"
58465873
caniuse-lite: "npm:^1.0.30001579"
58475874
postcss: "npm:8.4.31"
5848-
sharp: "npm:^0.34.1"
5875+
sharp: "npm:^0.34.3"
58495876
styled-jsx: "npm:5.1.6"
58505877
peerDependencies:
58515878
"@opentelemetry/api": ^1.1.0
5852-
"@playwright/test": ^1.41.2
5879+
"@playwright/test": ^1.51.1
58535880
babel-plugin-react-compiler: "*"
58545881
react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
58555882
react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
@@ -5884,7 +5911,7 @@ __metadata:
58845911
optional: true
58855912
bin:
58865913
next: dist/bin/next
5887-
checksum: 10c0/52d3fba6f53d5d2a339cbde433ab360301e9a0a0d9b95a656bf29ce1af43f02e9cc32571d5d4095bcb8ab7a795207d6e75c64b33fc1f90d21f2f9b157cc9a503
5914+
checksum: 10c0/3bed56bcca1f0fe07908fa075229f7f2662b4870974570f9e5a944758db9960868704ea4253f05c79507381b2e0014e8b621d7934408e26a0df8cbb3621986d8
58885915
languageName: node
58895916
linkType: hard
58905917

@@ -6946,7 +6973,7 @@ __metadata:
69466973
languageName: node
69476974
linkType: hard
69486975

6949-
"sharp@npm:^0.34.1":
6976+
"sharp@npm:^0.34.1, sharp@npm:^0.34.3":
69506977
version: 0.34.3
69516978
resolution: "sharp@npm:0.34.3"
69526979
dependencies:
@@ -7192,13 +7219,6 @@ __metadata:
71927219
languageName: node
71937220
linkType: hard
71947221

7195-
"streamsearch@npm:^1.1.0":
7196-
version: 1.1.0
7197-
resolution: "streamsearch@npm:1.1.0"
7198-
checksum: 10c0/fbd9aecc2621364384d157f7e59426f4bfd385e8b424b5aaa79c83a6f5a1c8fd2e4e3289e95de1eb3511cb96bb333d6281a9919fafce760e4edb35b2cd2facab
7199-
languageName: node
7200-
linkType: hard
7201-
72027222
"string-argv@npm:^0.3.2":
72037223
version: 0.3.2
72047224
resolution: "string-argv@npm:0.3.2"

0 commit comments

Comments
 (0)