Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xvvvyz committed Sep 13, 2024
1 parent d09b627 commit 14f3c64
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
4 changes: 3 additions & 1 deletion app/api/lemon-squeezy/webhook/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ const POST = async (request: Request) => {
const digest = Buffer.from(hmac.update(body).digest('hex'), 'utf8');
const rawSignature = request.headers.get('X-Signature') ?? '';
const signature = Buffer.from(rawSignature, 'utf8');
const digestUint8 = new Uint8Array(digest);
const signatureUint8 = new Uint8Array(signature);

if (!crypto.timingSafeEqual(digest, signature)) {
if (!crypto.timingSafeEqual(digestUint8, signatureUint8)) {
return new Response('Invalid signature', { status: 400 });
}

Expand Down
Binary file modified bun.lockb
Binary file not shown.
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@
"name": "llog",
"private": true,
"scripts": {
"build": "next build",
"db:diff": "supabase db diff",
"db:reset": "supabase db reset",
"db:start": "supabase start",
"db:stop": "supabase stop",
"db:types": "mkdir -p 'app/_types' && supabase gen types typescript --local > 'app/_types/database.ts'",
"dev": "next dev --turbo",
"format": "prettier --write .",
"lint": "next lint",
"lint:fix": "next lint --fix",
"serve": "next start",
"start": "next dev --turbo"
"start": "next build && next start",
"up": "bun update --latest && bun i [email protected] [email protected] next@canary react@canary react-dom@canary"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@heroicons/react": "^2.1.5",
"@lemonsqueezy/lemonsqueezy.js": "^3.3.0",
"@lemonsqueezy/lemonsqueezy.js": "^3.3.1",
"@observablehq/plot": "^0.6.16",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
Expand All @@ -30,7 +29,7 @@
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@supabase/ssr": "^0.5.1",
"@supabase/supabase-js": "^2.45.3",
"@supabase/supabase-js": "^2.45.4",
"@tailwindcss/typography": "^0.5.15",
"@tiptap/extension-bold": "^2.6.6",
"@tiptap/extension-bullet-list": "^2.6.6",
Expand All @@ -51,36 +50,36 @@
"@types/lodash": "^4.17.7",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"@uidotdev/usehooks": "^2.4.1",
"@vercel/analytics": "^1.3.1",
"@visx/responsive": "^3.10.2",
"autoprefixer": "^10.4.20",
"eslint": "8.57.0",
"eslint-config-next": "^14.2.8",
"eslint-config-next": "^14.2.11",
"eslint-config-prettier": "^9.1.0",
"fuse.js": "^7.0.0",
"humanize-duration": "^3.32.1",
"json-2-csv": "^5.5.5",
"lodash": "^4.17.21",
"nanoid": "^5.0.7",
"next": "^15.0.0-canary.146",
"next": "^15.0.0-canary.153",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-tailwindcss": "^0.6.6",
"react": "^19.0.0-rc-a03254bc-20240905",
"react": "^19.0.0-rc-94e652d5-20240912",
"react-day-picker": "8.10.1",
"react-dom": "^19.0.0-rc-a03254bc-20240905",
"react-dom": "^19.0.0-rc-94e652d5-20240912",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.53.0",
"react-select": "^5.8.0",
"resend": "^4.0.0",
"supabase": "^1.191.3",
"supabase": "^1.192.5",
"tailwind-merge": "^2.5.2",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"vercel": "^37.4.0",
"tailwindcss": "^3.4.11",
"typescript": "^5.6.2",
"vercel": "^37.4.2",
"xss": "^1.0.15"
}
}

0 comments on commit 14f3c64

Please sign in to comment.