Skip to content

Commit d09ed54

Browse files
authored
fix: update file-type, ajv and jose packages (#16118)
## Summary Updates three key dependencies to their latest versions to address security vulnerabilities, bug fixes, and compatibility improvements. Fixes #16072 ## Changes ### file-type (19.3.0 → 21.3.4) - Updated in @payloadcms/payload, @payloadcms/next, and test suite - Major version bump includes new file type detection capabilities and improved performance - Now requires Node.js >=20 (up from >=18) ### ajv (8.17.1 → 8.18.0) - Updated in @payloadcms/payload - Minor version bump with bug fixes and schema validation improvements ### jose (5.9.6 → 5.10.0) - Updated in @payloadcms/payload - Patch version bump for JWT/JWS/JWE handling library - Includes security patches and standards compliance updates ### nodemailer (7.0.12 → 8.0.4) - Updated in test suite only (dev dependency) - Major version bump with improved email sending capabilities ## Impact - All packages remain compatible with the project's Node.js version requirements (^18.20.2 || >=20.9.0) - No breaking API changes expected for end users - Lock file updated to resolve dependency tree
1 parent 4ae5577 commit d09ed54

4 files changed

Lines changed: 66 additions & 61 deletions

File tree

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"@payloadcms/ui": "workspace:*",
117117
"busboy": "^1.6.0",
118118
"dequal": "2.0.3",
119-
"file-type": "19.3.0",
119+
"file-type": "21.3.4",
120120
"graphql-http": "^1.22.0",
121121
"graphql-playground-html": "1.6.30",
122122
"http-status": "2.1.0",

packages/payload/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,20 +102,20 @@
102102
"@next/env": "^15.1.5",
103103
"@payloadcms/translations": "workspace:*",
104104
"@types/busboy": "1.5.4",
105-
"ajv": "8.17.1",
105+
"ajv": "8.18.0",
106106
"bson-objectid": "2.0.4",
107107
"busboy": "^1.6.0",
108108
"ci-info": "^4.1.0",
109109
"console-table-printer": "2.12.1",
110110
"croner": "9.1.0",
111111
"dataloader": "2.2.3",
112112
"deepmerge": "4.3.1",
113-
"file-type": "19.3.0",
113+
"file-type": "21.3.4",
114114
"get-tsconfig": "4.8.1",
115115
"http-status": "2.1.0",
116116
"image-size": "2.0.2",
117117
"ipaddr.js": "2.2.0",
118-
"jose": "5.9.6",
118+
"jose": "5.10.0",
119119
"json-schema-to-typescript": "15.0.3",
120120
"minimist": "1.2.8",
121121
"path-to-regexp": "6.3.0",

pnpm-lock.yaml

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

test/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@
9494
"escape-html": "1.0.3",
9595
"eslint-plugin-playwright": "2.3.0",
9696
"execa": "5.1.1",
97-
"file-type": "19.3.0",
97+
"file-type": "21.3.4",
9898
"http-status": "2.1.0",
9999
"jwt-decode": "4.0.0",
100100
"mongoose": "8.15.1",
101101
"next": "16.2.1",
102-
"nodemailer": "7.0.12",
102+
"nodemailer": "8.0.4",
103103
"object-to-formdata": "4.5.1",
104104
"payload": "workspace:*",
105105
"pg": "8.16.3",

0 commit comments

Comments
 (0)