Updated deps
This commit is contained in:
parent
abd7d3680b
commit
bf5b98b690
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
|
@ -17,19 +17,18 @@
|
|||
"tsc": "tsc --noEmit",
|
||||
"precommit": "npm run generate:types && npm run prettier && npm run unused-exports && npm run tsc",
|
||||
"upgrade": "ncu",
|
||||
"prod": "rm -rf build && rm -rf dist && npm ci && npm run precommit && npm run build && npm run serve",
|
||||
"postinstall": "patch-package"
|
||||
"prod": "rm -rf build && rm -rf dist && npm ci && npm run precommit && npm run build && npm run serve"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/vollkorn": "5.0.20",
|
||||
"@iconify-json/material-symbols": "^1.1.81",
|
||||
"@payloadcms/bundler-webpack": "1.0.6",
|
||||
"@iconify-json/material-symbols": "^1.1.82",
|
||||
"@payloadcms/bundler-webpack": "1.0.7",
|
||||
"@payloadcms/db-mongodb": "1.5.1",
|
||||
"@payloadcms/richtext-lexical": "0.11.1",
|
||||
"cross-env": "7.0.3",
|
||||
"language-tags": "1.0.9",
|
||||
"luxon": "3.4.4",
|
||||
"payload": "2.18.3",
|
||||
"payload": "2.21.0",
|
||||
"payloadcms-sftp-storage": "1.0.1",
|
||||
"sharp": "0.33.4",
|
||||
"styled-components": "6.1.11"
|
||||
|
@ -43,9 +42,8 @@
|
|||
"@types/react-router-dom": "5.3.3",
|
||||
"@types/styled-components": "5.1.34",
|
||||
"copyfiles": "2.4.1",
|
||||
"nodemon": "3.1.2",
|
||||
"patch-package": "^8.0.0",
|
||||
"prettier": "3.2.5",
|
||||
"nodemon": "3.1.3",
|
||||
"prettier": "3.3.2",
|
||||
"ts-node": "10.9.2",
|
||||
"ts-unused-exports": "10.1.0",
|
||||
"typescript": "5.4.5"
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/node_modules/payload/dist/uploads/imageResizer.js b/node_modules/payload/dist/uploads/imageResizer.js
|
||||
index 0122c02..995cb08 100644
|
||||
--- a/node_modules/payload/dist/uploads/imageResizer.js
|
||||
+++ b/node_modules/payload/dist/uploads/imageResizer.js
|
||||
@@ -162,7 +162,7 @@ function _interop_require_default(obj) {
|
||||
async function resizeAndTransformImageSizes({ config, dimensions, file, mimeType, req, savedFilename, staticPath, uploadEdits }) {
|
||||
const { focalPoint: focalPointEnabled = true, imageSizes } = config.upload;
|
||||
// Focal point adjustments
|
||||
- const incomingFocalPoint = uploadEdits.focalPoint ? {
|
||||
+ const incomingFocalPoint = uploadEdits?.focalPoint ? {
|
||||
x: (0, _isNumber.isNumber)(uploadEdits.focalPoint.x) ? Math.round(uploadEdits.focalPoint.x) : 50,
|
||||
y: (0, _isNumber.isNumber)(uploadEdits.focalPoint.y) ? Math.round(uploadEdits.focalPoint.y) : 50
|
||||
} : undefined;
|
Loading…
Reference in New Issue