Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
flipvh committed Jan 21, 2025
1 parent 3b1a1f4 commit 47fce70
Show file tree
Hide file tree
Showing 16 changed files with 1,531 additions and 2,037 deletions.
30 changes: 15 additions & 15 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"dependencies": {
"@aws-sdk/cloudfront-signer": "^3.723.0",
"@cellajs/permission-manager": "^0.1.0",
"@commander-js/extra-typings": "^12.1.0",
"@electric-sql/pglite": "^0.2.15",
"@hono/node-server": "^1.13.7",
"@hono/sentry": "^1.2.0",
Expand All @@ -51,52 +50,53 @@
"@oslojs/crypto": "^1.0.1",
"@oslojs/encoding": "^1.1.0",
"@oslojs/webauthn": "^1.0.0",
"@paddle/paddle-node-sdk": "^1.10.0",
"@scalar/hono-api-reference": "^0.5.165",
"@paddle/paddle-node-sdk": "^2.3.2",
"@scalar/hono-api-reference": "^0.5.167",
"@sendgrid/mail": "^8.1.4",
"@sentry/cli": "^2.40.0",
"@sentry/cli": "^2.41.0",
"@t3-oss/env-core": "^0.11.1",
"arctic": "^2.3.3",
"config": "workspace:*",
"dompurify": "^3.2.3",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.38.3",
"drizzle-orm": "^0.38.4",
"drizzle-zod": "0.5.1",
"enforce-unique": "^1.3.0",
"hono": "4.6.16",
"i18next": "^23.16.8",
"hono": "4.6.17",
"i18next": "^24.2.1",
"isbot": "^5.1.21",
"jsdom": "^25.0.1",
"jsdom": "^26.0.0",
"jsonwebtoken": "^9.0.2",
"jsx-email": "^2.6.1",
"jsx-email": "^2.6.3",
"locales": "workspace:*",
"lucia": "^3.2.2",
"nanoid": "^5.0.9",
"oslo": "^1.2.1",
"pg": "^8.13.1",
"postgres": "^3.4.5",
"prom-client": "^15.1.3",
"rate-limiter-flexible": "^5.0.4",
"rate-limiter-flexible": "^5.0.5",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^15.4.0",
"slugify": "^1.6.6",
"ua-parser-js": "^1.0.40",
"ua-parser-js": "^2.0.0",
"zod": "3.23.8"
},
"devDependencies": {
"@faker-js/faker": "^9.3.0",
"@commander-js/extra-typings": "^13.0.0",
"@faker-js/faker": "^9.4.0",
"@types/jsdom": "^21.1.7",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.10.6",
"@types/node": "^22.10.7",
"@types/papaparse": "^5.3.15",
"@types/pg": "^8.11.10",
"@types/react": "^19.0.7",
"@types/ua-parser-js": "^0.7.39",
"chalk": "^5.4.1",
"commander": "^12.1.0",
"commander": "^13.0.0",
"cross-env": "^7.0.3",
"drizzle-kit": "^0.30.1",
"drizzle-kit": "^0.30.2",
"jszip": "^3.10.1",
"papaparse": "^5.5.1",
"tsup": "^8.3.5",
Expand Down
5 changes: 3 additions & 2 deletions backend/src/modules/auth/helpers/device-info.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import type { Context } from 'hono';
import uaParser from 'ua-parser-js';
import { UAParser } from 'ua-parser-js';

// Get device information from user agent
export const deviceInfo = (ctx: Context) => {
const { device, os, browser } = uaParser(ctx.req.header('User-Agent'));
const userAgent = ctx.req.header('User-Agent');
const { device, os, browser } = UAParser(userAgent);

const getName = () => {
if (device.model && device.vendor) return `${device.vendor} ${device.model}`;
Expand Down
50 changes: 25 additions & 25 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
"@radix-ui/react-toggle-group": "^1.1.1",
"@radix-ui/react-tooltip": "^1.1.6",
"@radix-ui/react-visually-hidden": "^1.1.1",
"@sentry/react": "^8.48.0",
"@sentry/react": "^8.50.0",
"@t3-oss/env-core": "^0.11.1",
"@tailwindcss/typography": "^0.5.16",
"@tanstack/query-sync-storage-persister": "5.64.1",
"@tanstack/react-query": "5.64.1",
"@tanstack/react-query-devtools": "5.64.1",
"@tanstack/react-query-persist-client": "5.64.1",
"@tanstack/react-router": "^1.95.3",
"@tanstack/router-devtools": "^1.95.3",
"@tanstack/query-sync-storage-persister": "^5.64.2",
"@tanstack/react-query": "^5.64.2",
"@tanstack/react-query-devtools": "^5.64.2",
"@tanstack/react-query-persist-client": "^5.64.2",
"@tanstack/react-router": "^1.97.3",
"@tanstack/router-devtools": "^1.97.3",
"@types/lodash": "^4.17.14",
"@uppy/audio": "^2.1.1",
"@uppy/core": "^4.4.1",
Expand All @@ -73,7 +73,7 @@
"@uppy/status-bar": "^4.1.1",
"@uppy/tus": "^4.2.1",
"@uppy/webcam": "^4.1.1",
"@vis.gl/react-google-maps": "1.4.0",
"@vis.gl/react-google-maps": "1.5.0",
"backend": "workspace:*",
"canvas-confetti": "^1.9.3",
"class-variance-authority": "^0.7.1",
Expand All @@ -85,36 +85,36 @@
"embla-carousel-autoplay": "^8.5.2",
"embla-carousel-react": "^8.5.2",
"emblor": "^1.4.7",
"framer-motion": "^11.17.0",
"gleap": "^14.1.9",
"hono": "4.6.16",
"i18next": "^23.16.8",
"gleap": "^14.2.0",
"hono": "4.6.17",
"i18next": "^24.2.1",
"i18next-browser-languagedetector": "^8.0.2",
"i18next-http-backend": "^2.7.1",
"i18next-http-backend": "^3.0.1",
"idb-keyval": "^6.2.1",
"immer": "^10.1.1",
"jspdf": "^2.5.2",
"jspdf-autotable": "^3.8.4",
"locales": "workspace:*",
"lodash": "^4.17.21",
"lucide-react": "^0.468.0",
"lucide-react": "^0.473.0",
"motion": "^12.0.0",
"nanoid": "^5.0.9",
"pdfjs-dist": "4.8.69",
"player.style": "^0.1.1",
"react": "^19.0.0",
"react-data-grid": "7.0.0-beta.47",
"react-day-picker": "^9.5.0",
"react-dom": "^19.0.0",
"react-error-boundary": "^4.1.2",
"react-error-boundary": "^5.0.0",
"react-hook-form": "^7.54.2",
"react-i18next": "^15.4.0",
"react-intersection-observer": "^9.14.1",
"react-intersection-observer": "^9.15.0",
"react-lazy-with-preload": "^2.2.1",
"react-pdf": "^9.2.1",
"react-resizable-panels": "^2.1.7",
"recharts": "^2.15.0",
"slugify": "1.6.6",
"sonner": "^1.7.1",
"sonner": "^1.7.2",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"use-count-up": "^3.0.1",
Expand All @@ -125,31 +125,31 @@
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@faker-js/faker": "^9.3.0",
"@faker-js/faker": "^9.4.0",
"@million/lint": "^1.0.14",
"@redux-devtools/extension": "^3.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@sentry/vite-plugin": "^2.23.0",
"@tanstack/router-plugin": "^1.95.3",
"@sentry/vite-plugin": "^3.0.0",
"@tanstack/router-plugin": "^1.97.3",
"@types/canvas-confetti": "^1.9.0",
"@types/lodash.clonedeep": "^4.5.9",
"@types/node": "^22.10.5",
"@types/react": "^19.0.4",
"@types/react-dom": "^19.0.2",
"@types/node": "^22.10.7",
"@types/react": "^19.0.7",
"@types/react-dom": "^19.0.3",
"@types/zxcvbn": "^4.4.5",
"@vitejs/plugin-basic-ssl": "^1.2.0",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
"postcss": "^8.4.49",
"postcss": "^8.5.1",
"postcss-import": "^16.1.0",
"postcss-preset-env": "^10.1.3",
"postgres": "^3.4.5",
"rollup-plugin-visualizer": "^5.14.0",
"tailwindcss": "^3.4.17",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vite": "^6.0.10",
"vite-plugin-html": "^3.2.2",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-static-copy": "^2.2.0"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/attachments/table/table-header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { motion } from 'framer-motion';
import { Trash, Upload, XSquare } from 'lucide-react';
import { motion } from 'motion/react';
import { useTranslation } from 'react-i18next';
import type { AttachmentSearch, AttachmentsTableProps } from '~/modules/attachments/table';
import { openUploadDialog } from '~/modules/attachments/table/helpers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Filter, FilterX, X } from 'lucide-react';
import { createContext, useContext, useState } from 'react';
import { Button } from '~/modules/ui/button';

import { motion } from 'framer-motion';
import { motion } from 'motion/react';
import { useTranslation } from 'react-i18next';
import { cn } from '~/utils/cn';
import { nanoid } from '~/utils/nanoid';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/common/page-nav.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link, type ToPathOption } from '@tanstack/react-router';
import { motion } from 'framer-motion';
import { motion } from 'motion/react';
import { useTranslation } from 'react-i18next';
import { useInView } from 'react-intersection-observer';
import { AvatarWrap } from '~/modules/common/avatar-wrap';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/common/sheet-tabs.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { motion } from 'framer-motion';
import { motion } from 'motion/react';
import { Suspense, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button } from '~/modules/ui/button';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { motion } from 'framer-motion';
import { Mail, Trash, XSquare } from 'lucide-react';
import { motion } from 'motion/react';
import { useRef } from 'react';
import { useTranslation } from 'react-i18next';
import ColumnsView from '~/modules/common/data-table/columns-view';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/navigation/menu-sheet/item-edit.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { onlineManager } from '@tanstack/react-query';
import { motion } from 'framer-motion';
import { Archive, ArchiveRestore, Bell, BellOff } from 'lucide-react';
import { motion } from 'motion/react';
import { useTranslation } from 'react-i18next';
import { toast } from 'sonner';
import { env } from '~/../env';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { motion } from 'framer-motion';
import { Archive, ChevronDown } from 'lucide-react';
import { motion } from 'motion/react';
import { useTranslation } from 'react-i18next';
import { Button } from '~/modules/ui/button';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AnimatePresence, LayoutGroup, motion } from 'framer-motion';
import { ChevronDown, Plus, Settings2 } from 'lucide-react';
import { AnimatePresence, LayoutGroup, motion } from 'motion/react';
import { useTranslation } from 'react-i18next';
import StickyBox from '~/modules/common/sticky-box';
import { TooltipButton } from '~/modules/common/tooltip-button';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/navigation/menu-sheet/section.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AnimatePresence, motion } from 'framer-motion';
import { AnimatePresence, motion } from 'motion/react';
import { type ReactNode, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { useBreakpoints } from '~/hooks/use-breakpoints';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/users/invite-users.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AnimatePresence, MotionConfig, motion } from 'framer-motion';
import { AtSign, ChevronRight, Info, Search } from 'lucide-react';
import { AnimatePresence, MotionConfig, motion } from 'motion/react';
import { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { MainAlert } from '~/modules/common/alerter';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/modules/users/table/table-header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { motion } from 'framer-motion';
import { Mail, Trash, XSquare } from 'lucide-react';
import { motion } from 'motion/react';
import { useRef } from 'react';
import { useTranslation } from 'react-i18next';
import ColumnsView from '~/modules/common/data-table/columns-view';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@evilmartians/lefthook": "^1.10.3",
"@evilmartians/lefthook": "^1.10.10",
"cross-env": "^7.0.3",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
Expand Down
Loading

0 comments on commit 47fce70

Please sign in to comment.