vercel / examples

Enjoy our curated collection of examples and solutions. Use these patterns to build your own robust and scalable applications.
MIT License
3.61k stars 1.11k forks source link

update vercel kv templates #960

Closed correttojs closed 3 weeks ago

correttojs commented 1 month ago

Description

Replace @vercel/kv by @upstash/redis in the following templates:

Demo URL

Type of Change

New Example Checklist

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
app-dir-css-in-js โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
app-dir-i18n โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
app-dir-share-state โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-ab-testing-google-optimize โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-ab-testing-statsig โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-ab-testing-simple โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-add-header โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-api-rate-limit โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-api-rate-limit-and-tokens โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-basic-auth-password โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-bot-protection-botd โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-bot-protection-datadome โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-cookies โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-cors โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-crypto โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-feature-flag-configcat โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-feature-flag-posthog โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-feature-flag-split โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-geolocation โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-hostname-rewrites โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-image-response โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-ip-blocking โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-ip-blocking-datadome โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-json-response โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-jwt-authentication โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-news โŒ Failed (Inspect) Oct 11, 2024 1:05pm
edge-functions-power-parity-pricing โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-power-parity-pricing-strategies โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-query-params-filter โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-redirects-upstash โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-functions-streams โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-geolocation-country-block โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-maintenance-page โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-middleware-modify-request-header โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-rewrites-upstash โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
edge-user-agent-based-rendering โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
example-feature-flag-apple-store โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
example-reduce-image-bandwidth-usage โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
feature-flag-hypertune โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
feature-flag-launchdarkly โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
feature-flag-optimizely โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
i18n โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
next-edge-api-route-hello-world โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
nodejs-api โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-combining-data-fetching-strategies โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-image-fallback โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-image-offset โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-loading-web-fonts โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-microfrontends โŒ Failed (Inspect) Oct 11, 2024 1:05pm
solutions-microfrontends-docs โŒ Failed (Inspect) Oct 11, 2024 1:05pm
solutions-monorepo โŒ Failed (Inspect) Oct 11, 2024 1:05pm
solutions-on-demand-isr โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-pagination-with-ssg โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-parallel-routes-navbar โŒ Failed (Inspect) Oct 11, 2024 1:05pm
solutions-reuse-responses โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-script-component-ad โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-script-component-strategies โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
solutions-subdomains-auth โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
toolbar-feature-flags-sveltekit โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
toolbar-launchdarkly โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
toolbar-optimizely โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
toolbar-split โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
toolbar-statsig โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Oct 11, 2024 1:05pm
socket-security[bot] commented 1 month ago

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@types/ms@0.7.31 None 0 2.88 kB types
npm/@types/node@18.16.13 None 0 3.68 MB types
npm/@upstash/ratelimit@0.4.3 None +1 279 kB mdogan
npm/eslint-config-next@13.4.10-canary.8 unsafe Transitive: filesystem +1 84.7 kB vercel-release-bot
npm/next@13.4.10-canary.8 environment, filesystem, network, shell, unsafe +1 53.7 MB vercel-release-bot
npm/nuxt@3.5.0 Transitive: environment, eval, filesystem, network, shell, unsafe +291 91.6 MB danielroe
npm/turbo@1.9.8 environment, filesystem, network, shell 0 44.2 kB turbobot

๐Ÿšฎ Removed packages: npm/@vercel/kv@0.2.1, npm/@vercel/kv@0.2.3, npm/@vercel/kv@1.0.1

View full reportโ†—๏ธŽ

socket-security[bot] commented 1 month ago

๐Ÿšจ Potential security issues detected. Learn more about Socket for GitHub โ†—๏ธŽ

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
High CVE npm/lodash.template@4.5.0 ๐Ÿšซ
High CVE npm/lodash.pick@4.4.0 ๐Ÿšซ
High CVE npm/nuxt@3.5.0 ๐Ÿšซ

View full reportโ†—๏ธŽ

Next steps

What is a CVE?

Contains a high severity Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/lodash.template@4.5.0
  • @SocketSecurity ignore npm/lodash.pick@4.4.0
  • @SocketSecurity ignore npm/nuxt@3.5.0