Skip to content

Commit

Permalink
Update dependencies. (vercel#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob authored Jul 2, 2024
2 parents 901e4cc + d34aaa5 commit c2757f8
Show file tree
Hide file tree
Showing 3 changed files with 1,821 additions and 1,555 deletions.
3 changes: 2 additions & 1 deletion lib/chat/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ async function submitUserMessage(content: string) {
price: z.number().describe('The price of the stock.'),
numberOfShares: z
.number()
.optional()
.describe(
'The **number of shares** for a stock or currency to purchase. Can be optional if the user did not specify it.'
)
Expand Down Expand Up @@ -506,7 +507,7 @@ export const AI = createAI<AIState, UIState>({
const session = await auth()

if (session && session.user) {
const aiState = getAIState()
const aiState = getAIState() as Chat

if (aiState) {
const uiState = getUIStateFromAIState(aiState)
Expand Down
80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -13,65 +13,65 @@
"format:check": "prettier --check \"{app,lib,components}**/*.{ts,tsx,mdx}\" --cache"
},
"dependencies": {
"@ai-sdk/openai": "^0.0.9",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@ai-sdk/openai": "^0.0.34",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tooltip": "^1.0.7",
"@vercel/analytics": "^1.1.2",
"@vercel/kv": "^1.0.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@vercel/analytics": "^1.3.1",
"@vercel/kv": "^2.0.0",
"@vercel/og": "^0.6.2",
"ai": "^3.1.5",
"ai": "^3.2.16",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"clsx": "^2.1.1",
"d3-scale": "^4.0.2",
"date-fns": "^3.3.1",
"date-fns": "^3.6.0",
"focus-trap-react": "^10.2.3",
"framer-motion": "^10.18.0",
"geist": "^1.2.1",
"nanoid": "^5.0.4",
"next": "14.2.3",
"framer-motion": "^11.2.12",
"geist": "^1.3.0",
"nanoid": "^5.0.7",
"next": "14.2.4",
"next-auth": "5.0.0-beta.4",
"next-themes": "^0.2.1",
"openai": "^4.24.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intersection-observer": "^9.5.3",
"next-themes": "^0.3.0",
"openai": "^4.52.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intersection-observer": "^9.10.3",
"react-markdown": "^8.0.7",
"react-syntax-highlighter": "^15.5.0",
"react-textarea-autosize": "^8.5.3",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"sonner": "^1.4.3",
"usehooks-ts": "^2.16.0",
"zod": "^3.22.4"
"sonner": "^1.5.0",
"usehooks-ts": "^3.1.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"@tailwindcss/typography": "^0.5.13",
"@types/d3-scale": "^4.0.8",
"@types/node": "^20.11.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-syntax-highlighter": "^15.5.11",
"@typescript-eslint/parser": "^6.19.0",
"autoprefixer": "^10.4.17",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@typescript-eslint/parser": "^7.14.1",
"autoprefixer": "^10.4.19",
"dotenv": "^16.4.5",
"eslint": "^8.56.0",
"eslint-config-next": "14.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-tailwindcss": "^3.14.0",
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"tailwind-merge": "^2.2.0",
"tailwindcss": "^3.4.1",
"postcss": "^8.4.39",
"prettier": "^3.3.2",
"tailwind-merge": "^2.3.0",
"tailwindcss": "^3.4.4",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.3.3"
"typescript": "^5.5.2"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit c2757f8

Please sign in to comment.