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.

Added Plausible

Steven Tey0676d2977998
diff --git a/package-lock.json b/package-lock.json
index 6e26855856..65904f36eb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -26,6 +26,7 @@
"ms": "^2.1.3",
"next": "^12.2.6-canary.8",
"next-auth": "^4.10.3",
+ "next-plausible": "^3.6.3",
"nodemailer": "^6.7.8",
"npm": "^8.19.0",
"prisma": "^4.3.1",
@@ -2244,14 +2245,14 @@
}
},
"node_modules/@next/env": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-12.2.6-canary.8.tgz",
- "integrity": "sha512-VJVvvWD5f1HXF3OTzWDdHomWsUwM70Bg8AR29iKhyMkaTu84qtR2IiQmrqO9tioht0OTRbu6J9HHZRh1UZmBLA=="
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-12.3.1.tgz",
+ "integrity": "sha512-9P9THmRFVKGKt9DYqeC2aKIxm8rlvkK38V1P1sRE7qyoPBIs8l9oo79QoSdPtOWfzkbDAVUqvbQGgTMsb8BtJg=="
},
"node_modules/@next/swc-android-arm-eabi": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.6-canary.8.tgz",
- "integrity": "sha512-Ia399tA8TAYnmQFwTF0KmyT58/qN1W0plqTw6ZFqfT/ZGySMD68uy3GVtZk1/puXIiQj4qgj2kuAWzdwnbuC1A==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.3.1.tgz",
+ "integrity": "sha512-i+BvKA8tB//srVPPQxIQN5lvfROcfv4OB23/L1nXznP+N/TyKL8lql3l7oo2LNhnH66zWhfoemg3Q4VJZSruzQ==",
"cpu": [
"arm"
],
@@ -2264,9 +2265,9 @@
}
},
"node_modules/@next/swc-android-arm64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.6-canary.8.tgz",
- "integrity": "sha512-4B884lF1CZa1sV+k1/lnkArVuumDjync8xMBDWz9ZcAI6ryLZFkivAxX5EwDFhznGYluy2t+jQGxPtKB12lb7Q==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.3.1.tgz",
+ "integrity": "sha512-CmgU2ZNyBP0rkugOOqLnjl3+eRpXBzB/I2sjwcGZ7/Z6RcUJXK5Evz+N0ucOxqE4cZ3gkTeXtSzRrMK2mGYV8Q==",
"cpu": [
"arm64"
],
@@ -2279,9 +2280,9 @@
}
},
"node_modules/@next/swc-darwin-arm64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.6-canary.8.tgz",
- "integrity": "sha512-KGe1NkhWVM+A3UL7X3ba4sg5VI6HDgi6LabNxirCAFb1bLatlPUt4ZbaPKtATjPJ0UDqPF2MVmnWoCp0Ged4Rw==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.3.1.tgz",
+ "integrity": "sha512-hT/EBGNcu0ITiuWDYU9ur57Oa4LybD5DOQp4f22T6zLfpoBMfBibPtR8XktXmOyFHrL/6FC2p9ojdLZhWhvBHg==",
"cpu": [
"arm64"
],
@@ -2294,9 +2295,9 @@
}
},
"node_modules/@next/swc-darwin-x64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.6-canary.8.tgz",
- "integrity": "sha512-B+unXWYTg8WhXJ1NE6Q0OEgup4MySqxz8adsmSFUzsxNkm5fKuxw2uVWp+aDGVZ4QBrCWkt2zeVG6C77FgzU0A==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.3.1.tgz",
+ "integrity": "sha512-9S6EVueCVCyGf2vuiLiGEHZCJcPAxglyckTZcEwLdJwozLqN0gtS0Eq0bQlGS3dH49Py/rQYpZ3KVWZ9BUf/WA==",
"cpu": [
"x64"
],
@@ -2309,9 +2310,9 @@
}
},
"node_modules/@next/swc-freebsd-x64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.6-canary.8.tgz",
- "integrity": "sha512-VuH2p8vIZ9A/vHWvMFYu3hjqd9C8HWQXcwTiQnFr6GeMAVR+ouQCUyaAI0OGOsQB3HziCyvNNdSTTueXp6R9QA==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.3.1.tgz",
+ "integrity": "sha512-qcuUQkaBZWqzM0F1N4AkAh88lLzzpfE6ImOcI1P6YeyJSsBmpBIV8o70zV+Wxpc26yV9vpzb+e5gCyxNjKJg5Q==",
"cpu": [
"x64"
],
@@ -2324,9 +2325,9 @@
}
},
"node_modules/@next/swc-linux-arm-gnueabihf": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.6-canary.8.tgz",
- "integrity": "sha512-4/zLwO0+sOi/8d2jESdbIKYRiNH0fwTUKdCqv8aeiuSl3BKjl4e8tbI+gEi/Bjnl+wbNhtykcnEmBZaJM8CYMw==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.3.1.tgz",
+ "integrity": "sha512-diL9MSYrEI5nY2wc/h/DBewEDUzr/DqBjIgHJ3RUNtETAOB3spMNHvJk2XKUDjnQuluLmFMloet9tpEqU2TT9w==",
"cpu": [
"arm"
],
@@ -2339,9 +2340,9 @@
}
},
"node_modules/@next/swc-linux-arm64-gnu": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.6-canary.8.tgz",
- "integrity": "sha512-b89bUAAlzDxoubeARLyqU/bimWhYzPKsFTGAAVkNy5uWp8VqQJKVAUg98FEWVWCyRup9dl7+tW5B7TmcbII47g==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.3.1.tgz",
+ "integrity": "sha512-o/xB2nztoaC7jnXU3Q36vGgOolJpsGG8ETNjxM1VAPxRwM7FyGCPHOMk1XavG88QZSQf+1r+POBW0tLxQOJ9DQ==",
"cpu": [
"arm64"
],
@@ -2354,9 +2355,9 @@
}
},
"node_modules/@next/swc-linux-arm64-musl": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.6-canary.8.tgz",
- "integrity": "sha512-EOMAhjo6G8m3skJ03wesy+oJDLsKd224sEFSSmXm43ks6qoGJ8wUiLl5s5Wy5u7bFcwv13TxVw+sg6Z3/QoLBA==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.3.1.tgz",
+ "integrity": "sha512-2WEasRxJzgAmP43glFNhADpe8zB7kJofhEAVNbDJZANp+H4+wq+/cW1CdDi8DqjkShPEA6/ejJw+xnEyDID2jg==",
"cpu": [
"arm64"
],
@@ -2369,9 +2370,9 @@
}
},
"node_modules/@next/swc-linux-x64-gnu": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.6-canary.8.tgz",
- "integrity": "sha512-vmVqgTM1+YIl8mB0bVV7Zz/KBWRdBYCgiA6oeJUc5t8XVyZyU5Qf/JCaHNfRGUV1yu437VfC92FhJ+fzP9EBZg==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.3.1.tgz",
+ "integrity": "sha512-JWEaMyvNrXuM3dyy9Pp5cFPuSSvG82+yABqsWugjWlvfmnlnx9HOQZY23bFq3cNghy5V/t0iPb6cffzRWylgsA==",
"cpu": [
"x64"
],
@@ -2384,9 +2385,9 @@
}
},
"node_modules/@next/swc-linux-x64-musl": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.6-canary.8.tgz",
- "integrity": "sha512-uhaUnTOZ6comdunR6KLp62IRaY7W6c9pEOrP6MHDP8jMp/3fYNRHeFJqYOkyKmfpbG65zgEvG57fvmRL7WXrFQ==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.3.1.tgz",
+ "integrity": "sha512-xoEWQQ71waWc4BZcOjmatuvPUXKTv6MbIFzpm4LFeCHsg2iwai0ILmNXf81rJR+L1Wb9ifEke2sQpZSPNz1Iyg==",
"cpu": [
"x64"
],
@@ -2399,9 +2400,9 @@
}
},
"node_modules/@next/swc-win32-arm64-msvc": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.6-canary.8.tgz",
- "integrity": "sha512-eRDggp+XlyMAx2SVYe5HJP6iffRZDFFfvSDHmv5uUWs0GnR5jmZSm/KN3h04e0uywWLS4M2PyPXB8feUKpyUHg==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.3.1.tgz",
+ "integrity": "sha512-hswVFYQYIeGHE2JYaBVtvqmBQ1CppplQbZJS/JgrVI3x2CurNhEkmds/yqvDONfwfbttTtH4+q9Dzf/WVl3Opw==",
"cpu": [
"arm64"
],
@@ -2414,9 +2415,9 @@
}
},
"node_modules/@next/swc-win32-ia32-msvc": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.6-canary.8.tgz",
- "integrity": "sha512-oYH9UftjnaZmx8W1dt7zJncvJn+00OVsrLLTPAyZjYt4US2KWttNdgS0FUzbbxbjjZK0k9AnvyMyowjwtC1SgA==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.3.1.tgz",
+ "integrity": "sha512-Kny5JBehkTbKPmqulr5i+iKntO5YMP+bVM8Hf8UAmjSMVo3wehyLVc9IZkNmcbxi+vwETnQvJaT5ynYBkJ9dWA==",
"cpu": [
"ia32"
],
@@ -2429,9 +2430,9 @@
}
},
"node_modules/@next/swc-win32-x64-msvc": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.6-canary.8.tgz",
- "integrity": "sha512-o2cyVzD1REd+OGG3Y3ZlptYN8N2K9y6D9DFX3X+UEBEzOIbYVFyy4ZIB5JRi3sulv+8iDBC88icbnDorfNKS3g==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.3.1.tgz",
+ "integrity": "sha512-W1ijvzzg+kPEX6LAc+50EYYSEo0FVu7dmTE+t+DM4iOLqgGHoW9uYSz9wCVdkXOEEMP9xhXfGpcSxsfDucyPkA==",
"cpu": [
"x64"
],
@@ -3324,10 +3325,9 @@
"integrity": "sha512-m45BD9JxOfIBT0Tz4MupiKzM8M58NX/We8wKlf+54TCZpW1RVAyFpJ58CbtyU/LxAM+opT6cewHRVfs7bTUtBA=="
},
"node_modules/@swc/helpers": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz",
- "integrity": "sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA==",
- "license": "MIT",
+ "version": "0.4.11",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.11.tgz",
+ "integrity": "sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==",
"dependencies": {
"tslib": "^2.4.0"
}
@@ -7669,15 +7669,15 @@
"peer": true
},
"node_modules/next": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/next/-/next-12.2.6-canary.8.tgz",
- "integrity": "sha512-hJOh1TSO/EUZafDIQ9vJbMRskPuD5KyfIRMegcHyX5cNnXeZgTb26FfCe7Scwl3+GvyiWVBvCTsRLpEp6iVaNA==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/next/-/next-12.3.1.tgz",
+ "integrity": "sha512-l7bvmSeIwX5lp07WtIiP9u2ytZMv7jIeB8iacR28PuUEFG5j0HGAPnMqyG5kbZNBG2H7tRsrQ4HCjuMOPnANZw==",
"dependencies": {
- "@next/env": "12.2.6-canary.8",
- "@swc/helpers": "0.4.3",
- "caniuse-lite": "^1.0.30001332",
+ "@next/env": "12.3.1",
+ "@swc/helpers": "0.4.11",
+ "caniuse-lite": "^1.0.30001406",
"postcss": "8.4.14",
- "styled-jsx": "5.0.4",
+ "styled-jsx": "5.0.7",
"use-sync-external-store": "1.2.0"
},
"bin": {
@@ -7687,19 +7687,19 @@
"node": ">=12.22.0"
},
"optionalDependencies": {
- "@next/swc-android-arm-eabi": "12.2.6-canary.8",
- "@next/swc-android-arm64": "12.2.6-canary.8",
- "@next/swc-darwin-arm64": "12.2.6-canary.8",
- "@next/swc-darwin-x64": "12.2.6-canary.8",
- "@next/swc-freebsd-x64": "12.2.6-canary.8",
- "@next/swc-linux-arm-gnueabihf": "12.2.6-canary.8",
- "@next/swc-linux-arm64-gnu": "12.2.6-canary.8",
- "@next/swc-linux-arm64-musl": "12.2.6-canary.8",
- "@next/swc-linux-x64-gnu": "12.2.6-canary.8",
- "@next/swc-linux-x64-musl": "12.2.6-canary.8",
- "@next/swc-win32-arm64-msvc": "12.2.6-canary.8",
- "@next/swc-win32-ia32-msvc": "12.2.6-canary.8",
- "@next/swc-win32-x64-msvc": "12.2.6-canary.8"
+ "@next/swc-android-arm-eabi": "12.3.1",
+ "@next/swc-android-arm64": "12.3.1",
+ "@next/swc-darwin-arm64": "12.3.1",
+ "@next/swc-darwin-x64": "12.3.1",
+ "@next/swc-freebsd-x64": "12.3.1",
+ "@next/swc-linux-arm-gnueabihf": "12.3.1",
+ "@next/swc-linux-arm64-gnu": "12.3.1",
+ "@next/swc-linux-arm64-musl": "12.3.1",
+ "@next/swc-linux-x64-gnu": "12.3.1",
+ "@next/swc-linux-x64-musl": "12.3.1",
+ "@next/swc-win32-arm64-msvc": "12.3.1",
+ "@next/swc-win32-ia32-msvc": "12.3.1",
+ "@next/swc-win32-x64-msvc": "12.3.1"
},
"peerDependencies": {
"fibers": ">= 3.1.0",
@@ -7749,6 +7749,19 @@
}
}
},
+ "node_modules/next-plausible": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/next-plausible/-/next-plausible-3.6.3.tgz",
+ "integrity": "sha512-KlpB0k/PPMq0udKOLgTcp6RAqGLiIi7956tXRD5w/gzzgVdp2i3xvnafG60Exjiz98go1Jj98n/PxD3WitKH6Q==",
+ "funding": {
+ "url": "https://github.com/4lejandrito/next-plausible?sponsor=1"
+ },
+ "peerDependencies": {
+ "next": "^11.1.0 || ^12.0.0",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
"node_modules/next/node_modules/postcss": {
"version": "8.4.14",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz",
@@ -12637,10 +12650,9 @@
}
},
"node_modules/styled-jsx": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz",
- "integrity": "sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ==",
- "license": "MIT",
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.7.tgz",
+ "integrity": "sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==",
"engines": {
"node": ">= 12.0.0"
},
@@ -15037,86 +15049,86 @@
"requires": {}
},
"@next/env": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-12.2.6-canary.8.tgz",
- "integrity": "sha512-VJVvvWD5f1HXF3OTzWDdHomWsUwM70Bg8AR29iKhyMkaTu84qtR2IiQmrqO9tioht0OTRbu6J9HHZRh1UZmBLA=="
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-12.3.1.tgz",
+ "integrity": "sha512-9P9THmRFVKGKt9DYqeC2aKIxm8rlvkK38V1P1sRE7qyoPBIs8l9oo79QoSdPtOWfzkbDAVUqvbQGgTMsb8BtJg=="
},
"@next/swc-android-arm-eabi": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.2.6-canary.8.tgz",
- "integrity": "sha512-Ia399tA8TAYnmQFwTF0KmyT58/qN1W0plqTw6ZFqfT/ZGySMD68uy3GVtZk1/puXIiQj4qgj2kuAWzdwnbuC1A==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.3.1.tgz",
+ "integrity": "sha512-i+BvKA8tB//srVPPQxIQN5lvfROcfv4OB23/L1nXznP+N/TyKL8lql3l7oo2LNhnH66zWhfoemg3Q4VJZSruzQ==",
"optional": true
},
"@next/swc-android-arm64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.2.6-canary.8.tgz",
- "integrity": "sha512-4B884lF1CZa1sV+k1/lnkArVuumDjync8xMBDWz9ZcAI6ryLZFkivAxX5EwDFhznGYluy2t+jQGxPtKB12lb7Q==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.3.1.tgz",
+ "integrity": "sha512-CmgU2ZNyBP0rkugOOqLnjl3+eRpXBzB/I2sjwcGZ7/Z6RcUJXK5Evz+N0ucOxqE4cZ3gkTeXtSzRrMK2mGYV8Q==",
"optional": true
},
"@next/swc-darwin-arm64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.6-canary.8.tgz",
- "integrity": "sha512-KGe1NkhWVM+A3UL7X3ba4sg5VI6HDgi6LabNxirCAFb1bLatlPUt4ZbaPKtATjPJ0UDqPF2MVmnWoCp0Ged4Rw==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.3.1.tgz",
+ "integrity": "sha512-hT/EBGNcu0ITiuWDYU9ur57Oa4LybD5DOQp4f22T6zLfpoBMfBibPtR8XktXmOyFHrL/6FC2p9ojdLZhWhvBHg==",
"optional": true
},
"@next/swc-darwin-x64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.2.6-canary.8.tgz",
- "integrity": "sha512-B+unXWYTg8WhXJ1NE6Q0OEgup4MySqxz8adsmSFUzsxNkm5fKuxw2uVWp+aDGVZ4QBrCWkt2zeVG6C77FgzU0A==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.3.1.tgz",
+ "integrity": "sha512-9S6EVueCVCyGf2vuiLiGEHZCJcPAxglyckTZcEwLdJwozLqN0gtS0Eq0bQlGS3dH49Py/rQYpZ3KVWZ9BUf/WA==",
"optional": true
},
"@next/swc-freebsd-x64": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.2.6-canary.8.tgz",
- "integrity": "sha512-VuH2p8vIZ9A/vHWvMFYu3hjqd9C8HWQXcwTiQnFr6GeMAVR+ouQCUyaAI0OGOsQB3HziCyvNNdSTTueXp6R9QA==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.3.1.tgz",
+ "integrity": "sha512-qcuUQkaBZWqzM0F1N4AkAh88lLzzpfE6ImOcI1P6YeyJSsBmpBIV8o70zV+Wxpc26yV9vpzb+e5gCyxNjKJg5Q==",
"optional": true
},
"@next/swc-linux-arm-gnueabihf": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.2.6-canary.8.tgz",
- "integrity": "sha512-4/zLwO0+sOi/8d2jESdbIKYRiNH0fwTUKdCqv8aeiuSl3BKjl4e8tbI+gEi/Bjnl+wbNhtykcnEmBZaJM8CYMw==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.3.1.tgz",
+ "integrity": "sha512-diL9MSYrEI5nY2wc/h/DBewEDUzr/DqBjIgHJ3RUNtETAOB3spMNHvJk2XKUDjnQuluLmFMloet9tpEqU2TT9w==",
"optional": true
},
"@next/swc-linux-arm64-gnu": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.2.6-canary.8.tgz",
- "integrity": "sha512-b89bUAAlzDxoubeARLyqU/bimWhYzPKsFTGAAVkNy5uWp8VqQJKVAUg98FEWVWCyRup9dl7+tW5B7TmcbII47g==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.3.1.tgz",
+ "integrity": "sha512-o/xB2nztoaC7jnXU3Q36vGgOolJpsGG8ETNjxM1VAPxRwM7FyGCPHOMk1XavG88QZSQf+1r+POBW0tLxQOJ9DQ==",
"optional": true
},
"@next/swc-linux-arm64-musl": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.2.6-canary.8.tgz",
- "integrity": "sha512-EOMAhjo6G8m3skJ03wesy+oJDLsKd224sEFSSmXm43ks6qoGJ8wUiLl5s5Wy5u7bFcwv13TxVw+sg6Z3/QoLBA==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.3.1.tgz",
+ "integrity": "sha512-2WEasRxJzgAmP43glFNhADpe8zB7kJofhEAVNbDJZANp+H4+wq+/cW1CdDi8DqjkShPEA6/ejJw+xnEyDID2jg==",
"optional": true
},
"@next/swc-linux-x64-gnu": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.2.6-canary.8.tgz",
- "integrity": "sha512-vmVqgTM1+YIl8mB0bVV7Zz/KBWRdBYCgiA6oeJUc5t8XVyZyU5Qf/JCaHNfRGUV1yu437VfC92FhJ+fzP9EBZg==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.3.1.tgz",
+ "integrity": "sha512-JWEaMyvNrXuM3dyy9Pp5cFPuSSvG82+yABqsWugjWlvfmnlnx9HOQZY23bFq3cNghy5V/t0iPb6cffzRWylgsA==",
"optional": true
},
"@next/swc-linux-x64-musl": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.2.6-canary.8.tgz",
- "integrity": "sha512-uhaUnTOZ6comdunR6KLp62IRaY7W6c9pEOrP6MHDP8jMp/3fYNRHeFJqYOkyKmfpbG65zgEvG57fvmRL7WXrFQ==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.3.1.tgz",
+ "integrity": "sha512-xoEWQQ71waWc4BZcOjmatuvPUXKTv6MbIFzpm4LFeCHsg2iwai0ILmNXf81rJR+L1Wb9ifEke2sQpZSPNz1Iyg==",
"optional": true
},
"@next/swc-win32-arm64-msvc": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.2.6-canary.8.tgz",
- "integrity": "sha512-eRDggp+XlyMAx2SVYe5HJP6iffRZDFFfvSDHmv5uUWs0GnR5jmZSm/KN3h04e0uywWLS4M2PyPXB8feUKpyUHg==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.3.1.tgz",
+ "integrity": "sha512-hswVFYQYIeGHE2JYaBVtvqmBQ1CppplQbZJS/JgrVI3x2CurNhEkmds/yqvDONfwfbttTtH4+q9Dzf/WVl3Opw==",
"optional": true
},
"@next/swc-win32-ia32-msvc": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.2.6-canary.8.tgz",
- "integrity": "sha512-oYH9UftjnaZmx8W1dt7zJncvJn+00OVsrLLTPAyZjYt4US2KWttNdgS0FUzbbxbjjZK0k9AnvyMyowjwtC1SgA==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.3.1.tgz",
+ "integrity": "sha512-Kny5JBehkTbKPmqulr5i+iKntO5YMP+bVM8Hf8UAmjSMVo3wehyLVc9IZkNmcbxi+vwETnQvJaT5ynYBkJ9dWA==",
"optional": true
},
"@next/swc-win32-x64-msvc": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.2.6-canary.8.tgz",
- "integrity": "sha512-o2cyVzD1REd+OGG3Y3ZlptYN8N2K9y6D9DFX3X+UEBEzOIbYVFyy4ZIB5JRi3sulv+8iDBC88icbnDorfNKS3g==",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.3.1.tgz",
+ "integrity": "sha512-W1ijvzzg+kPEX6LAc+50EYYSEo0FVu7dmTE+t+DM4iOLqgGHoW9uYSz9wCVdkXOEEMP9xhXfGpcSxsfDucyPkA==",
"optional": true
},
"@nodelib/fs.scandir": {
@@ -15804,9 +15816,9 @@
"integrity": "sha512-m45BD9JxOfIBT0Tz4MupiKzM8M58NX/We8wKlf+54TCZpW1RVAyFpJ58CbtyU/LxAM+opT6cewHRVfs7bTUtBA=="
},
"@swc/helpers": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz",
- "integrity": "sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA==",
+ "version": "0.4.11",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.11.tgz",
+ "integrity": "sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==",
"requires": {
"tslib": "^2.4.0"
}
@@ -19279,28 +19291,28 @@
"peer": true
},
"next": {
- "version": "12.2.6-canary.8",
- "resolved": "https://registry.npmjs.org/next/-/next-12.2.6-canary.8.tgz",
- "integrity": "sha512-hJOh1TSO/EUZafDIQ9vJbMRskPuD5KyfIRMegcHyX5cNnXeZgTb26FfCe7Scwl3+GvyiWVBvCTsRLpEp6iVaNA==",
- "requires": {
- "@next/env": "12.2.6-canary.8",
- "@next/swc-android-arm-eabi": "12.2.6-canary.8",
- "@next/swc-android-arm64": "12.2.6-canary.8",
- "@next/swc-darwin-arm64": "12.2.6-canary.8",
- "@next/swc-darwin-x64": "12.2.6-canary.8",
- "@next/swc-freebsd-x64": "12.2.6-canary.8",
- "@next/swc-linux-arm-gnueabihf": "12.2.6-canary.8",
- "@next/swc-linux-arm64-gnu": "12.2.6-canary.8",
- "@next/swc-linux-arm64-musl": "12.2.6-canary.8",
- "@next/swc-linux-x64-gnu": "12.2.6-canary.8",
- "@next/swc-linux-x64-musl": "12.2.6-canary.8",
- "@next/swc-win32-arm64-msvc": "12.2.6-canary.8",
- "@next/swc-win32-ia32-msvc": "12.2.6-canary.8",
- "@next/swc-win32-x64-msvc": "12.2.6-canary.8",
- "@swc/helpers": "0.4.3",
- "caniuse-lite": "^1.0.30001332",
+ "version": "12.3.1",
+ "resolved": "https://registry.npmjs.org/next/-/next-12.3.1.tgz",
+ "integrity": "sha512-l7bvmSeIwX5lp07WtIiP9u2ytZMv7jIeB8iacR28PuUEFG5j0HGAPnMqyG5kbZNBG2H7tRsrQ4HCjuMOPnANZw==",
+ "requires": {
+ "@next/env": "12.3.1",
+ "@next/swc-android-arm-eabi": "12.3.1",
+ "@next/swc-android-arm64": "12.3.1",
+ "@next/swc-darwin-arm64": "12.3.1",
+ "@next/swc-darwin-x64": "12.3.1",
+ "@next/swc-freebsd-x64": "12.3.1",
+ "@next/swc-linux-arm-gnueabihf": "12.3.1",
+ "@next/swc-linux-arm64-gnu": "12.3.1",
+ "@next/swc-linux-arm64-musl": "12.3.1",
+ "@next/swc-linux-x64-gnu": "12.3.1",
+ "@next/swc-linux-x64-musl": "12.3.1",
+ "@next/swc-win32-arm64-msvc": "12.3.1",
+ "@next/swc-win32-ia32-msvc": "12.3.1",
+ "@next/swc-win32-x64-msvc": "12.3.1",
+ "@swc/helpers": "0.4.11",
+ "caniuse-lite": "^1.0.30001406",
"postcss": "8.4.14",
- "styled-jsx": "5.0.4",
+ "styled-jsx": "5.0.7",
"use-sync-external-store": "1.2.0"
},
"dependencies": {
@@ -19332,6 +19344,12 @@
"uuid": "^8.3.2"
}
},
+ "next-plausible": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/next-plausible/-/next-plausible-3.6.3.tgz",
+ "integrity": "sha512-KlpB0k/PPMq0udKOLgTcp6RAqGLiIi7956tXRD5w/gzzgVdp2i3xvnafG60Exjiz98go1Jj98n/PxD3WitKH6Q==",
+ "requires": {}
+ },
"nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
@@ -22808,9 +22826,9 @@
}
},
"styled-jsx": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz",
- "integrity": "sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ==",
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.7.tgz",
+ "integrity": "sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==",
"requires": {}
},
"sudo-prompt": {
diff --git a/package.json b/package.json
index 8fd507757b..dfff5e8934 100644
--- a/package.json
+++ b/package.json
@@ -27,6 +27,7 @@
"ms": "^2.1.3",
"next": "^12.2.6-canary.8",
"next-auth": "^4.10.3",
+ "next-plausible": "^3.6.3",
"nodemailer": "^6.7.8",
"npm": "^8.19.0",
"prisma": "^4.3.1",
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 8f937ce0f8..66f6d1ffd9 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -1,3 +1,4 @@
+import PlausibleProvider from "next-plausible";
import { SessionProvider } from "next-auth/react";
import type { Session } from "next-auth";
import "@/styles/globals.css";
@@ -8,9 +9,11 @@ function MyApp({
pageProps: { session, ...pageProps },
}: AppProps<{ session: Session }>) {
return (
- <SessionProvider session={session}>
- <Component {...pageProps} />
- </SessionProvider>
+ <PlausibleProvider domain="dub.sh">
+ <SessionProvider session={session}>
+ <Component {...pageProps} />
+ </SessionProvider>
+ </PlausibleProvider>
);
}
diff --git a/yarn.lock b/yarn.lock
index 2371150921..a6db46b29c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1219,15 +1219,15 @@
"resolved" "https://registry.npmjs.org/@next-auth/prisma-adapter/-/prisma-adapter-1.0.4.tgz"
"version" "1.0.4"
- "integrity" "sha512-VJVvvWD5f1HXF3OTzWDdHomWsUwM70Bg8AR29iKhyMkaTu84qtR2IiQmrqO9tioht0OTRbu6J9HHZRh1UZmBLA=="
- "resolved" "https://registry.npmjs.org/@next/env/-/env-12.2.6-canary.8.tgz"
- "version" "12.2.6-canary.8"
+ "integrity" "sha512-9P9THmRFVKGKt9DYqeC2aKIxm8rlvkK38V1P1sRE7qyoPBIs8l9oo79QoSdPtOWfzkbDAVUqvbQGgTMsb8BtJg=="
+ "resolved" "https://registry.npmjs.org/@next/env/-/env-12.3.1.tgz"
+ "version" "12.3.1"
- "integrity" "sha512-KGe1NkhWVM+A3UL7X3ba4sg5VI6HDgi6LabNxirCAFb1bLatlPUt4ZbaPKtATjPJ0UDqPF2MVmnWoCp0Ged4Rw=="
- "resolved" "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.2.6-canary.8.tgz"
- "version" "12.2.6-canary.8"
+ "integrity" "sha512-hT/EBGNcu0ITiuWDYU9ur57Oa4LybD5DOQp4f22T6zLfpoBMfBibPtR8XktXmOyFHrL/6FC2p9ojdLZhWhvBHg=="
+ "resolved" "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.3.1.tgz"
+ "version" "12.3.1"
"@nodelib/[email protected]":
"integrity" "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="
@@ -1886,10 +1886,10 @@
"resolved" "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-1.36.0.tgz"
"version" "1.36.0"
- "integrity" "sha512-6JrF+fdUK2zbGpJIlN7G3v966PQjyx/dPt1T9km2wj+EUBqgrxCk3uX4Kct16MIm9gGxfKRcfax2hVf5jvlTzA=="
- "resolved" "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.3.tgz"
- "version" "0.4.3"
+ "integrity" "sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw=="
+ "resolved" "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.11.tgz"
+ "version" "0.4.11"
dependencies:
"tslib" "^2.4.0"
@@ -2716,7 +2716,7 @@
"resolved" "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz"
"version" "6.3.0"
-"caniuse-lite@^1.0.30001332", "caniuse-lite@^1.0.30001373", "caniuse-lite@^1.0.30001400":
+"caniuse-lite@^1.0.30001373", "caniuse-lite@^1.0.30001400", "caniuse-lite@^1.0.30001406":
"integrity" "sha512-4ydV+t4P7X3zH83fQWNDX/mQEzYomossfpViCOx9zHBSMV+rIe3LFqglHHtVyvNl1FhTNxPxs3jei82iqOW04w=="
"resolved" "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001407.tgz"
"version" "1.0.30001407"
@@ -5120,31 +5120,36 @@
"preact-render-to-string" "^5.1.19"
"uuid" "^8.3.2"
-"next@^12.2.6-canary.8":
- "integrity" "sha512-hJOh1TSO/EUZafDIQ9vJbMRskPuD5KyfIRMegcHyX5cNnXeZgTb26FfCe7Scwl3+GvyiWVBvCTsRLpEp6iVaNA=="
- "resolved" "https://registry.npmjs.org/next/-/next-12.2.6-canary.8.tgz"
- "version" "12.2.6-canary.8"
+"next-plausible@^3.6.3":
+ "integrity" "sha512-KlpB0k/PPMq0udKOLgTcp6RAqGLiIi7956tXRD5w/gzzgVdp2i3xvnafG60Exjiz98go1Jj98n/PxD3WitKH6Q=="
+ "resolved" "https://registry.npmjs.org/next-plausible/-/next-plausible-3.6.3.tgz"
+ "version" "3.6.3"
+
+"next@^11.1.0 || ^12.0.0", "next@^12.2.6-canary.8":
+ "integrity" "sha512-l7bvmSeIwX5lp07WtIiP9u2ytZMv7jIeB8iacR28PuUEFG5j0HGAPnMqyG5kbZNBG2H7tRsrQ4HCjuMOPnANZw=="
+ "resolved" "https://registry.npmjs.org/next/-/next-12.3.1.tgz"
+ "version" "12.3.1"
dependencies:
- "@next/env" "12.2.6-canary.8"
- "@swc/helpers" "0.4.3"
- "caniuse-lite" "^1.0.30001332"
+ "@next/env" "12.3.1"
+ "@swc/helpers" "0.4.11"
+ "caniuse-lite" "^1.0.30001406"
"postcss" "8.4.14"
- "styled-jsx" "5.0.4"
+ "styled-jsx" "5.0.7"
"use-sync-external-store" "1.2.0"
optionalDependencies:
- "@next/swc-android-arm-eabi" "12.2.6-canary.8"
- "@next/swc-android-arm64" "12.2.6-canary.8"
- "@next/swc-darwin-arm64" "12.2.6-canary.8"
- "@next/swc-darwin-x64" "12.2.6-canary.8"
- "@next/swc-freebsd-x64" "12.2.6-canary.8"
- "@next/swc-linux-arm-gnueabihf" "12.2.6-canary.8"
- "@next/swc-linux-arm64-gnu" "12.2.6-canary.8"
- "@next/swc-linux-arm64-musl" "12.2.6-canary.8"
- "@next/swc-linux-x64-gnu" "12.2.6-canary.8"
- "@next/swc-linux-x64-musl" "12.2.6-canary.8"
- "@next/swc-win32-arm64-msvc" "12.2.6-canary.8"
- "@next/swc-win32-ia32-msvc" "12.2.6-canary.8"
- "@next/swc-win32-x64-msvc" "12.2.6-canary.8"
+ "@next/swc-android-arm-eabi" "12.3.1"
+ "@next/swc-android-arm64" "12.3.1"
+ "@next/swc-darwin-arm64" "12.3.1"
+ "@next/swc-darwin-x64" "12.3.1"
+ "@next/swc-freebsd-x64" "12.3.1"
+ "@next/swc-linux-arm-gnueabihf" "12.3.1"
+ "@next/swc-linux-arm64-gnu" "12.3.1"
+ "@next/swc-linux-arm64-musl" "12.3.1"
+ "@next/swc-linux-x64-gnu" "12.3.1"
+ "@next/swc-linux-x64-musl" "12.3.1"
+ "@next/swc-win32-arm64-msvc" "12.3.1"
+ "@next/swc-win32-ia32-msvc" "12.3.1"
+ "@next/swc-win32-x64-msvc" "12.3.1"
"nice-try@^1.0.4":
"integrity" "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
@@ -6763,10 +6768,10 @@
"hey-listen" "^1.0.8"
"tslib" "2.4.0"
- "integrity" "sha512-sDFWLbg4zR+UkNzfk5lPilyIgtpddfxXEULxhujorr5jtePTUqiPDc5BC0v1NRqTr/WaFBGQQUoYToGlF4B2KQ=="
- "resolved" "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.4.tgz"
- "version" "5.0.4"
+ "integrity" "sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA=="
+ "resolved" "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.7.tgz"
+ "version" "5.0.7"
"sudo-prompt@^9.0.0":
"integrity" "sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw=="