Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

chore: update vercel toolbar and remove patch (#1540)

Sean Boulte7a057662ac8
diff --git a/apps/web/package.json b/apps/web/package.json
index 097a86a7..fd7ed24c 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -43,7 +43,7 @@
"@vercel/analytics": "^1.1.1",
"@vercel/edge-config": "^0.2.1",
"@vercel/speed-insights": "^1.0.12",
- "@vercel/toolbar": "^0.1.1",
+ "@vercel/toolbar": "^0.1.18",
"algoliasearch": "^4.20.0",
"bad-words": "^3.0.4",
"clsx": "^2.0.0",
diff --git a/package.json b/package.json
index 61fa2de6..7c45fe2c 100644
--- a/package.json
+++ b/package.json
@@ -56,8 +56,7 @@
},
"patchedDependencies": {
"@monaco-editor/[email protected]": "patches/@[email protected]",
- "@vercel/[email protected]": "patches/@[email protected]"
}
},
"dependencies": {
diff --git a/patches/@[email protected] b/patches/@[email protected]
deleted file mode 100644
index 97a34351..00000000
--- a/patches/@[email protected]
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/dist/plugins/next.d.ts b/dist/plugins/next.d.ts
-index 0ae554ab8855bd02482d3acd33d4a0173620d1ac..2976671117e4d0ab114d66e309098893b73480b8 100644
---- a/dist/plugins/next.d.ts
-+++ b/dist/plugins/next.d.ts
-@@ -5,4 +5,4 @@ interface VercelToolbarConfig {
- }
- declare function withVercelToolbar(config?: VercelToolbarConfig): (nextConfig: NextConfig) => NextConfig;
-
--export { VercelToolbarConfig, withVercelToolbar };
-+export { VercelToolbarConfig, withVercelToolbar as default };
\ No newline at end of file
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e42d2ef8..f90b578f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -11,9 +11,6 @@ patchedDependencies:
'@monaco-editor/[email protected]':
hash: xep4qb27qzc6gvlhv2fxe3r2ka
path: patches/@[email protected]
- '@vercel/[email protected]':
- hash: mukejyv3x4f3mriytfjb3reaxi
- path: patches/@[email protected]
hash: j3oqxjoadtct3pc6tokddngzsm
path: patches/[email protected]
@@ -94,10 +91,10 @@ importers:
version: 2.6.0-beta.12
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -161,7 +158,7 @@ importers:
eslint-plugin-import:
specifier: ^2.27.5
postcss:
specifier: ^8.4.31
version: 8.4.31
@@ -200,10 +197,10 @@ importers:
version: 2.0.0
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -310,7 +307,7 @@ importers:
version: 1.0.0
next:
specifier: 14.2.5
react:
specifier: 18.2.0
version: 18.2.0
@@ -386,7 +383,7 @@ importers:
version: link:../../packages/ui
'@sentry/nextjs':
specifier: ^7.73.0
'@t3-oss/env-nextjs':
specifier: ^0.6.0
@@ -404,7 +401,7 @@ importers:
'@uploadthing/react':
specifier: ^6.2.2
'@vercel/analytics':
specifier: ^1.1.1
version: 1.1.1
@@ -413,10 +410,10 @@ importers:
version: 0.2.1
'@vercel/speed-insights':
specifier: ^1.0.12
'@vercel/toolbar':
- specifier: ^0.1.1
- version: 0.1.1(patch_hash=mukejyv3x4f3mriytfjb3reaxi)([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))
+ specifier: ^0.1.18
algoliasearch:
specifier: ^4.20.0
version: 4.20.0
@@ -449,10 +446,10 @@ importers:
version: 0.4.0(patch_hash=j3oqxjoadtct3pc6tokddngzsm)([email protected])
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -476,7 +473,7 @@ importers:
react-instantsearch-nextjs:
specifier: ^0.1.5
react-intersection-observer:
specifier: ^9.5.2
version: 9.5.2([email protected])
@@ -564,7 +561,7 @@ importers:
eslint-plugin-import:
specifier: ^2.27.5
postcss:
specifier: ^8.4.31
version: 8.4.31
@@ -859,7 +856,7 @@ importers:
dependencies:
'@next/eslint-plugin-next':
specifier: canary
- version: 15.0.0-canary.135
+ version: 15.0.0-canary.138
'@repo/tsconfig':
specifier: workspace:*
version: link:../config-typescript
@@ -871,7 +868,7 @@ importers:
'@vercel/style-guide':
specifier: ^4.0.2
eslint:
specifier: ^8.45.0
version: 8.45.0
@@ -1953,8 +1950,8 @@ packages:
resolution: {integrity: sha512-YJqyq6vk39JQfvaNtN83t/p5Jy45+bazRL+V4QI8FPd3FBqFYMEsULiwRLgSJMgFqkk4t4JbeZurz+gILEAFpA==}
- resolution: {integrity: sha512-0JBroVa+Z7H3EzvnUAP5PgN0vLGgftEjkDlNbbH2GA4lGNzLB4eb/oXwL1bk+8BAoh9HMhY5MeWUizIDQ/dU4w==}
+ resolution: {integrity: sha512-yvipz4UdJ/FSnyTxqMaHMHERh27VrweuuxS/xiLXQ7oc5OfiyEtJvhWN1M5jptl8A6c8j+9bu9mv8IvI5qoJhQ==}
resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==}
@@ -3731,10 +3728,19 @@ packages:
typescript:
optional: true
- '@vercel/[email protected]':
- resolution: {integrity: sha512-mN7Tg2dgAew0kLtq3doBF8IaGY4/RJfDbH81sGolOqKco50g75u8pJm+3PfRLxBWGkpz3/QB2tKQvg6/HlnaHA==}
+ '@vercel/[email protected]':
+ resolution: {integrity: sha512-4qcOBDec1jJRbFGu1l/YLrmM9G3hNo3LYCZEQEFcA5gSAW3T94wRzB+7y+eCFWMvEVnDULcre+fXX9MjZr21Vg==}
peerDependencies:
next: '>=11.0.0'
+ react: '>=17'
+ vite: '>=5'
+ peerDependenciesMeta:
+ next:
+ optional: true
+ react:
+ optional: true
+ vite:
+ optional: true
'@vitest/[email protected]':
resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==}
@@ -7591,7 +7597,7 @@ packages:
resolution: {integrity: sha512-VMBFLYgFuRdfeNQSMLbxGSLfmXL/xc+OO+BZp41Za/NRDBet/BNbkRJrYzCUu0u4GU0i/ml2dtT8b9qgkw9z6Q==}
engines: {node: '>= 4.0'}
- deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
+ deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net
resolution: {integrity: sha512-8iGv75BYOa0xRJHK5vRLEjE2H/i4lulTjzpUXic3Eg8akftYjkmQDa8JARQ42rlczXyFR3IeRoeFCc7RxHsYZA==}
@@ -9221,7 +9227,7 @@ snapshots:
dependencies:
glob: 7.1.7
dependencies:
fast-glob: 3.3.1
@@ -10648,7 +10654,7 @@ snapshots:
localforage: 1.10.0
tslib: 2.6.0
dependencies:
'@rollup/plugin-commonjs': 24.0.0([email protected])
'@sentry/core': 7.73.0
@@ -10660,7 +10666,7 @@ snapshots:
'@sentry/vercel-edge': 7.73.0
'@sentry/webpack-plugin': 1.20.0
chalk: 3.0.0
react: 18.2.0
rollup: 2.78.0
stacktrace-parser: 0.1.10
@@ -11162,7 +11168,7 @@ snapshots:
'@uploadthing/[email protected]': {}
dependencies:
'@uploadthing/dropzone': 0.1.1
'@uploadthing/shared': 6.2.0(@uploadthing/[email protected])
@@ -11172,7 +11178,7 @@ snapshots:
tailwind-merge: 1.14.0
uploadthing: 6.3.1
optionalDependencies:
transitivePeerDependencies:
- '@uploadthing/mime-types'
@@ -11215,12 +11221,12 @@ snapshots:
satori: 0.0.46
yoga-wasm-web: 0.3.0
optionalDependencies:
react: 18.2.0
dependencies:
'@babel/core': 7.22.10
'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])
@@ -11228,7 +11234,7 @@ snapshots:
'@typescript-eslint/eslint-plugin': 5.59.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 5.62.0([email protected])([email protected])
eslint-config-prettier: 8.10.0([email protected])
- eslint-import-resolver-alias: 1.1.2([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected]))
eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
eslint-plugin-eslint-comments: 3.2.0([email protected])
@@ -11242,7 +11248,7 @@ snapshots:
eslint-plugin-unicorn: 43.0.2([email protected])
prettier-plugin-packagejson: 2.4.3([email protected])
optionalDependencies:
- '@next/eslint-plugin-next': 15.0.0-canary.135
+ '@next/eslint-plugin-next': 15.0.0-canary.138
eslint: 8.45.0
prettier: 3.1.1
typescript: 5.3.3
@@ -11252,14 +11258,17 @@ snapshots:
- jest
- supports-color
- '@vercel/[email protected](patch_hash=mukejyv3x4f3mriytfjb3reaxi)([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))':
dependencies:
'@tinyhttp/app': 1.3.0
chokidar: 3.5.3
execa: 5.1.1
find-up: 5.0.0
get-port: 5.1.1
+ strip-ansi: 6.0.1
+ optionalDependencies:
+ react: 18.2.0
'@vitest/[email protected]':
dependencies:
@@ -12492,8 +12501,8 @@ snapshots:
'@typescript-eslint/parser': 5.62.0([email protected])([email protected])
eslint: 8.45.0
eslint-import-resolver-node: 0.3.7
- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
eslint-plugin-jsx-a11y: 6.7.1([email protected])
eslint-plugin-react: 7.32.2([email protected])
eslint-plugin-react-hooks: 5.0.0-canary-7118f5dd7-20230705([email protected])
@@ -12530,7 +12539,7 @@ snapshots:
eslint: 8.45.0
eslint-plugin-turbo: 2.0.12([email protected])
dependencies:
@@ -12542,13 +12551,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 4.3.4
enhanced-resolve: 5.15.0
eslint: 8.45.0
+ eslint-plugin-import: 2.27.5([email protected])
get-tsconfig: 4.6.2
globby: 13.2.2
is-core-module: 2.12.1
@@ -12596,14 +12605,14 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 5.62.0([email protected])([email protected])
eslint: 8.45.0
eslint-import-resolver-node: 0.3.7
- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -12635,7 +12644,7 @@ snapshots:
eslint: 8.45.0
ignore: 5.2.4
dependencies:
array-includes: 3.1.6
array.prototype.flat: 1.3.1
@@ -12644,7 +12653,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.45.0
eslint-import-resolver-node: 0.3.7
has: 1.0.3
is-core-module: 2.12.1
is-glob: 4.0.3
@@ -12660,7 +12669,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
array-includes: 3.1.6
array.prototype.flat: 1.3.1
@@ -12710,6 +12719,29 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
+ dependencies:
+ array-includes: 3.1.6
+ array.prototype.flat: 1.3.1
+ array.prototype.flatmap: 1.3.1
+ debug: 3.2.7
+ doctrine: 2.1.0
+ eslint: 8.45.0
+ eslint-import-resolver-node: 0.3.7
+ has: 1.0.3
+ is-core-module: 2.12.1
+ is-glob: 4.0.3
+ minimatch: 3.1.2
+ object.values: 1.1.6
+ resolve: 1.22.2
+ semver: 6.3.1
+ tsconfig-paths: 3.14.2
+ transitivePeerDependencies:
+ - eslint-import-resolver-typescript
+ - eslint-import-resolver-webpack
+ - supports-color
+
dependencies:
'@typescript-eslint/utils': 5.59.1([email protected])([email protected])
@@ -14577,15 +14609,15 @@ snapshots:
react: 18.3.1
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -14595,7 +14627,7 @@ snapshots:
react: 18.2.0
react-dom: 18.3.1([email protected])
dependencies:
'@next/env': 14.2.5
'@swc/helpers': 0.5.5
@@ -14616,11 +14648,12 @@ snapshots:
'@next/swc-win32-arm64-msvc': 14.2.5
'@next/swc-win32-ia32-msvc': 14.2.5
'@next/swc-win32-x64-msvc': 14.2.5
+ '@playwright/test': 1.38.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dependencies:
'@next/env': 14.2.5
'@swc/helpers': 0.5.5
@@ -14641,7 +14674,6 @@ snapshots:
'@next/swc-win32-arm64-msvc': 14.2.5
'@next/swc-win32-ia32-msvc': 14.2.5
'@next/swc-win32-x64-msvc': 14.2.5
- '@playwright/test': 1.38.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@@ -15293,9 +15325,9 @@ snapshots:
react: 18.2.0
use-sync-external-store: 1.2.0([email protected])
dependencies: