Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

upgrade to jsonProtocol

Steven Tey7dc3d89440ee
diff --git a/app/(marketing)/changelog/[slug]/page.tsx b/app/(marketing)/changelog/[slug]/page.tsx
index 8145417db2..eafa413913 100644
--- a/app/(marketing)/changelog/[slug]/page.tsx
+++ b/app/(marketing)/changelog/[slug]/page.tsx
@@ -4,11 +4,10 @@ import { allChangelogPosts } from "contentlayer/generated";
import { MDX } from "app/(marketing)/components/mdx";
import Link from "next/link";
import { formatDate } from "@/lib/utils";
-import { getBlurDataURL, getImages } from "@/lib/images";
+import { getBlurDataURL } from "@/lib/images";
import BlurImage from "@/components/shared/blur-image";
import Author from "app/(marketing)/components/author";
import { Facebook, LinkedIn, Twitter } from "@/components/shared/icons";
-import { Edit3 } from "lucide-react";
export async function generateStaticParams() {
return allChangelogPosts.map((post) => ({
diff --git a/package.json b/package.json
index 485563f0ac..4b23afc7b6 100644
--- a/package.json
+++ b/package.json
@@ -59,7 +59,7 @@
"node-html-parser": "^6.1.4",
"nodemailer": "^6.8.0",
"npm": "^9.1.2",
- "prisma": "^4.6.1",
+ "prisma": "^4.13.0",
"punycode": "^2.3.0",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 95b0a91095..b7e45cf87d 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -9,7 +9,7 @@ datasource db {
generator client {
provider = "prisma-client-js"
- previewFeatures = ["fullTextSearch", "fullTextIndex"]
+ previewFeatures = ["fullTextSearch", "fullTextIndex", "jsonProtocol"]
}
model User {
diff --git a/yarn.lock b/yarn.lock
index e7abe3c205..185f036143 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1208,16 +1208,16 @@
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.9.0-42.ceb5c99003b99c9ee2c1d2e618e359c14aef2ea5.tgz#9d817a5779fc05b107eb02f63d197ad296d60b3c"
integrity sha512-M16aibbxi/FhW7z1sJCX8u+0DriyQYY5AyeTH7plQm9MLnURoiyn3CZBqAyIoQ+Z1pS77usCIibYJWSgleBMBA==
+"@prisma/[email protected]":
+ version "4.13.0"
+ resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.13.0.tgz#582a6b90b6efeb0f465984f1fe0e72a4afaaa5ae"
+ integrity sha512-HrniowHRZXHuGT9XRgoXEaP2gJLXM5RMoItaY2PkjvuZ+iHc0Zjbm/302MB8YsPdWozAPHHn+jpFEcEn71OgPw==
+
"@prisma/[email protected]":
version "4.6.1"
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.6.1.tgz#ae31309cc0f600f2da22708697b3be4eb1e46f9e"
integrity sha512-3u2/XxvxB+Q7cMXHnKU0CpBiUK1QWqpgiBv28YDo1zOIJE3FCF8DI2vrp6vuwjGt5h0JGXDSvmSf4D4maVjJdw==
-"@prisma/[email protected]":
- version "4.9.0"
- resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.9.0.tgz#05a1411964e047c1bc43f777c7a1c69f86a2a26c"
- integrity sha512-t1pt0Gsp+HcgPJrHFc+d/ZSAaKKWar2G/iakrE07yeKPNavDP3iVKPpfXP22OTCHZUWf7OelwKJxQgKAm5hkgw==
-
"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf"
@@ -7456,6 +7456,13 @@ pretty-format@^3.8.0:
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-3.8.0.tgz#bfbed56d5e9a776645f4b1ff7aa1a3ac4fa3c385"
integrity sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==
+prisma@^4.13.0:
+ version "4.13.0"
+ resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.13.0.tgz#0b83f40acf50cd47d7463a135c4e9b275713e602"
+ integrity sha512-L9mqjnSmvWIRCYJ9mQkwCtj4+JDYYTdhoyo8hlsHNDXaZLh/b4hR0IoKIBbTKxZuyHQzLopb/+0Rvb69uGV7uA==
+ dependencies:
+ "@prisma/engines" "4.13.0"
+
prisma@^4.4.0:
version "4.6.1"
resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.6.1.tgz#6c85fb667abed006a6b849c9c1ddd81d3f071b87"
@@ -7463,13 +7470,6 @@ prisma@^4.4.0:
dependencies:
"@prisma/engines" "4.6.1"
-prisma@^4.6.1:
- version "4.9.0"
- resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.9.0.tgz#295954b2a89cd35a0e6bcf66b2b036dbf80c75ee"
- integrity sha512-bS96oZ5oDFXYgoF2l7PJ3Mp1wWWfLOo8B/jAfbA2Pn0Wm5Z/owBHzaMQKS3i1CzVBDWWPVnOohmbJmjvkcHS5w==
- dependencies:
- "@prisma/engines" "4.9.0"
-
proc-log@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8"