2
0
forked from jmug/cactoide

feat: add pino logger for serverside

This commit is contained in:
Levente Orban
2025-10-27 11:02:32 +01:00
parent e75c7e40dc
commit 2273ae50a4
3 changed files with 0 additions and 15 deletions

8
package-lock.json generated
View File

@@ -5182,19 +5182,11 @@
}
},
"node_modules/undici-types": {
<<<<<<< HEAD
"version": "7.10.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz",
"integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==",
"license": "MIT",
"optional": true
=======
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"devOptional": true,
"license": "MIT"
>>>>>>> 222c2ee (feat: add pino logger for serverside)
},
"node_modules/uri-js": {
"version": "4.4.1",

View File

@@ -22,12 +22,8 @@
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@tailwindcss/vite": "^4.0.0",
<<<<<<< HEAD
"drizzle-kit": "^0.31.5",
=======
"@types/node": "^24.9.1",
"drizzle-kit": "^0.31.4",
>>>>>>> 222c2ee (feat: add pino logger for serverside)
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-svelte": "^3.0.0",

View File

@@ -2,11 +2,8 @@ import { database } from '$lib/database/db';
import { events, inviteTokens } from '$lib/database/schema';
import { fail, redirect } from '@sveltejs/kit';
import type { Actions } from './$types';
<<<<<<< HEAD
import { generateInviteToken, calculateTokenExpiration } from '$lib/inviteTokenHelpers.js';
=======
import { logger } from '$lib/logger';
>>>>>>> 222c2ee (feat: add pino logger for serverside)
// Generate a random URL-friendly ID
function generateEventId(): string {