Bump deps

This commit is contained in:
Sam Becker 2025-09-01 21:03:25 -05:00
parent 4dc3a976b7
commit 1a72a84497
7 changed files with 373 additions and 370 deletions

View File

@ -9,10 +9,10 @@
"analyze": "ANALYZE=true next build"
},
"dependencies": {
"@ai-sdk/openai": "^2.0.22",
"@ai-sdk/rsc": "^1.0.27",
"@aws-sdk/client-s3": "3.878.0",
"@aws-sdk/s3-request-presigner": "3.878.0",
"@ai-sdk/openai": "^2.0.23",
"@ai-sdk/rsc": "^1.0.29",
"@aws-sdk/client-s3": "3.879.0",
"@aws-sdk/s3-request-presigner": "3.879.0",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-tooltip": "^1.2.8",
@ -22,7 +22,7 @@
"@vercel/analytics": "^1.5.0",
"@vercel/blob": "^1.1.1",
"@vercel/speed-insights": "^1.2.0",
"ai": "^5.0.27",
"ai": "^5.0.29",
"camelcase-keys": "^9.1.3",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
@ -47,14 +47,14 @@
"sonner": "^2.0.7",
"swr": "^2.3.6",
"ts-exif-parser": "^0.2.2",
"use-debounce": "^10.0.5",
"use-debounce": "^10.0.6",
"viewerjs": "^1.11.7"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@next/bundle-analyzer": "15.5.2",
"@next/eslint-plugin-next": "^15.5.2",
"@stylistic/eslint-plugin": "^5.2.3",
"@stylistic/eslint-plugin": "^5.3.1",
"@tailwindcss/postcss": "^4.1.12",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.8.0",
@ -70,8 +70,8 @@
"eslint": "9.34.0",
"eslint-config-next": "15.5.2",
"eslint-plugin-react-hooks": "^5.2.0",
"jest": "^30.1.1",
"jest-environment-jsdom": "^30.1.1",
"jest": "^30.1.2",
"jest-environment-jsdom": "^30.1.2",
"postcss": "8.5.6",
"tailwindcss": "4.1.12",
"ts-node": "^10.9.2",

684
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -336,17 +336,17 @@ export const HIGH_DENSITY_GRID =
// DESIGN
export const DEFAULT_THEME =
process.env.NEXT_PUBLIC_DEFAULT_THEME === 'dark'
? 'dark'
: process.env.NEXT_PUBLIC_DEFAULT_THEME === 'light'
? 'light'
: 'system';
process.env.NEXT_PUBLIC_DEFAULT_THEME === 'dark'
? 'dark'
: process.env.NEXT_PUBLIC_DEFAULT_THEME === 'light'
? 'light'
: 'system';
export const MATTE_PHOTOS =
process.env.NEXT_PUBLIC_MATTE_PHOTOS === '1';
process.env.NEXT_PUBLIC_MATTE_PHOTOS === '1';
export const MATTE_COLOR =
process.env.NEXT_PUBLIC_MATTE_COLOR;
process.env.NEXT_PUBLIC_MATTE_COLOR;
export const MATTE_COLOR_DARK =
process.env.NEXT_PUBLIC_MATTE_COLOR_DARK;
process.env.NEXT_PUBLIC_MATTE_COLOR_DARK;
// SETTINGS

View File

@ -2,7 +2,7 @@ import { CategoryQueryMeta } from '@/category';
import type { Photo } from '@/photo';
import { isCameraMakeApple } from '@/platforms/apple';
import { formatSonyModel, isMakeSony } from '@/platforms/sony';
import { parameterize } from '@/utility/string';
import { MakeModelTextLength, parameterize } from '@/utility/string';
const CAMERA_PLACEHOLDER: Camera = { make: 'Camera', model: 'Model' };
@ -60,11 +60,7 @@ export const cameraFromPhoto = (
export const formatCameraText = (
{ make, model: _model }: Camera,
length:
'long' | // Unmodified make and model
'medium' | // Make and model, with modifiers removed
'short' // Model only
= 'medium',
length: MakeModelTextLength = 'medium',
) => {
// Capture simple make without modifiers like 'Corporation' or 'Company'
const makeSimple = make.match(/^(\S+)/)?.[1];

View File

@ -1,5 +1,5 @@
import { Photo } from '@/photo';
import { parameterize } from '@/utility/string';
import { MakeModelTextLength, parameterize } from '@/utility/string';
import { formatAppleLensText, isLensApple } from '../platforms/apple';
import { MISSING_FIELD } from '@/app/path';
import { formatGoogleLensText, isLensGoogle } from '../platforms/google';
@ -89,11 +89,7 @@ export const lensFromPhoto = (
export const formatLensText = (
lens: Lens,
length:
'long' | // Unmodified make and model
'medium' | // Make and model, with modifiers removed
'short' // Model only
= 'medium',
length: MakeModelTextLength = 'medium',
) => {
const { make, model: modelRaw } = lens;

View File

@ -244,11 +244,11 @@ export const getFujifilmSimulationFromMakerNote = (
switch (tag) {
case TAG_ID_SATURATION:
filmModeFromSaturation =
getFujifilmSimulationFromSaturation(numbers[0]);
getFujifilmSimulationFromSaturation(numbers[0]);
break;
case TAG_ID_FILM_MODE:
filmMode =
getFujifilmMode(numbers[0]);
getFujifilmMode(numbers[0]);
break;
}
},

View File

@ -1,3 +1,8 @@
export type MakeModelTextLength =
'long' | // Unmodified make and model
'medium' | // Make and model, with modifiers removed
'short'; // Model only
export const convertStringToArray = (
string?: string,
shouldParameterize = true,