The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: Bump the rehype-pretty-code dependency to remove the vulnerability (#31074)
Ivan Vasilov9f726d1029bd
diff --git a/apps/design-system/package.json b/apps/design-system/package.jsonindex 01cac2a43e7..c94bb23089c 100644--- a/apps/design-system/package.json+++ b/apps/design-system/package.json@@ -34,7 +34,7 @@"react-wrap-balancer": "^1.1.0","recharts": "^2.12.7","rehype-autolink-headings": "^7.1.0",- "rehype-pretty-code": "^0.6.0",+ "rehype-pretty-code": "^0.9.0","rehype-slug": "^6.0.0","remark": "^14.0.3","remark-code-import": "^1.2.0",diff --git a/package-lock.json b/package-lock.jsonindex c5b27f63ac4..bacafcc796d 100644--- a/package-lock.json+++ b/package-lock.json@@ -51,7 +51,7 @@"react-wrap-balancer": "^1.1.0","recharts": "^2.12.7","rehype-autolink-headings": "^7.1.0",- "rehype-pretty-code": "^0.6.0",+ "rehype-pretty-code": "^0.9.0","rehype-slug": "^6.0.0","remark": "^14.0.3","remark-code-import": "^1.2.0",@@ -37832,38 +37832,24 @@}},"node_modules/rehype-pretty-code": {- "version": "0.6.0",- "resolved": "https://registry.npmjs.org/rehype-pretty-code/-/rehype-pretty-code-0.6.0.tgz",- "integrity": "sha512-VfntYoWYOBVURXYDdB8p/E1sZTm2W5ry89fJyY94WJAo1jUH/5sVhDC7cX5PPnksMyW9PYMxRLNfjkBpSgJrzQ==",+ "version": "0.9.11",+ "resolved": "https://registry.npmjs.org/rehype-pretty-code/-/rehype-pretty-code-0.9.11.tgz",+ "integrity": "sha512-Eq90eCYXQJISktfRZ8PPtwc5SUyH6fJcxS8XOMnHPUQZBtC6RYo67gGlley9X2nR8vlniPj0/7oCDEYHKQa/oA==",+ "workspaces": [+ "./word-highlighter-playground"+ ],"dependencies": {+ "@types/hast": "^2.0.0","hash-obj": "^4.0.0",- "nanoid": "^4.0.0","parse-numeric-range": "^1.3.0"},"engines": {- "node": "^12.16.0 || >=13.2.0"+ "node": ">=16"},"peerDependencies": {"shiki": "*"}},- "node_modules/rehype-pretty-code/node_modules/nanoid": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz",- "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],- "bin": {- "nanoid": "bin/nanoid.js"- },- "engines": {- "node": "^14 || ^16 || >=18"- }- },"node_modules/rehype-slug": {"version": "5.1.0","license": "MIT",