Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrades all deps #335

Merged
merged 2 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ NEXT_PUBLIC_ALGOLIA_READ_KEY=184c48e3d13eb260eab5a8e980234778

# Used for prompting GPT when searching, only need if testing this functionality
PINECONE_API_KEY=
PINECONE_API_ENVIRONMENT=us-east4-gcp
OPENAI_API_KEY=
84 changes: 42 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,70 +4,70 @@
"version": "1.0.0",
"keywords": [],
"engines": {
"node": ">=16.0.0"
"node": "^20.0.0"
},
"author": "Anders N. Slinde <[email protected]>",
"license": "MIT, CC BY-SA 4.0",
"description": "Variant's handbook-v2",
"devDependencies": {
"@pinecone-database/pinecone": "^0.0.12",
"@types/mdx": "^2.0.2",
"@types/node": "^18.11.0",
"@types/qs": "^6.9.7",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/parser": "^5.40.0",
"@pinecone-database/pinecone": "^2.2.0",
"@types/mdx": "^2.0.13",
"@types/node": "^20.12.7",
"@types/qs": "^6.9.15",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@typescript-eslint/parser": "^7.7.1",
"@variant/prettier-config": "^1.0.2",
"algoliasearch": "^4.14.2",
"algoliasearch": "^4.23.3",
"cli-progress": "^3.12.0",
"dotenv": "^16.0.3",
"eslint": "^8.25.0",
"dotenv": "^16.4.5",
"eslint": "^9.1.1",
"eslint-plugin-react-hooks": "^4.6.0",
"estree-eval": "^1.0.3",
"fast-glob": "^3.2.12",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"fast-glob": "^3.3.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"lodash.isequal": "^4.5.0",
"openai": "^3.2.1",
"patch-package": "^7.0.0",
"prettier": "^2.7.1",
"remark": "^14.0.2",
"to-vfile": "^7.2.3",
"typescript": "^4.8.4",
"patch-package": "^8.0.0",
"prettier": "^3.2.5",
"remark": "^15.0.1",
"to-vfile": "^8.0.0",
"typescript": "^5.4.5",
"unist-util-flatmap": "^1.0.0",
"unist-util-select": "^4.0.1",
"unist-util-visit": "^4.1.1"
"unist-util-select": "^5.1.0",
"unist-util-visit": "^5.0.0"
},
"dependencies": {
"@mdx-js/loader": "^2.1.5",
"@mdx-js/mdx": "2.3.0",
"@mdx-js/react": "^2.1.5",
"@azure/openai": "^1.0.0-beta.12",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/mdx": "3.0.1",
"@mdx-js/react": "^3.0.1",
"@pabra/sortby": "^1.0.2",
"@types/common-tags": "^1.8.1",
"@types/common-tags": "^1.8.4",
"@variant/profile": "^3.0.1",
"common-tags": "^1.8.2",
"gpt3-tokenizer": "^1.1.5",
"gray-matter": "^4.0.3",
"hamburger-react": "^2.5.0",
"instantsearch.js": "^4.48.0",
"lru-cache": "^9.1.0",
"next": "^13.5.0",
"next-auth": "^4.20.1",
"next-images": "^1.8.4",
"openid-client": "^5.4.0",
"qs": "^6.11.0",
"instantsearch.js": "^4.67.0",
"lru-cache": "^10.2.0",
"next": "^14.2.3",
"next-auth": "^4.24.7",
"next-images": "^1.8.5",
"openid-client": "^5.6.5",
"qs": "^6.12.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hotkeys-hook": "^4.3.7",
"react-instantsearch-hooks-server": "^6.36.0",
"react-instantsearch-hooks-web": "^6.36.0",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"remark-mdx": "^2.1.5",
"remark-mdx-frontmatter": "^2.0.3",
"react-hotkeys-hook": "^4.5.0",
"react-instantsearch": "^7.7.2",
"react-instantsearch-core": "^7.7.2",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-mdx": "^3.0.1",
"remark-mdx-frontmatter": "^4.0.0",
"remark-mdx-toc": "^0.3.1",
"slugify": "^1.6.5",
"swr": "^2.1.3"
"slugify": "^1.6.6",
"swr": "^2.2.5"
},
"scripts": {
"dev": "next dev",
Expand Down
4 changes: 2 additions & 2 deletions pages/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import {
Pagination,
SearchBox,
useInstantSearch,
} from 'react-instantsearch-hooks-web';
} from 'react-instantsearch';
import useSWR from 'swr';

import type { Hit as AlgoliaHit } from 'instantsearch.js';
import { history } from 'instantsearch.js/es/lib/routers/index.js';
import { GetServerSidePropsContext, GetServerSidePropsResult } from 'next';
import { getServerState } from 'react-instantsearch-hooks-server';
import { getServerState } from 'react-instantsearch-core';

import Link from 'next/link';
import { useState } from 'react';
Expand Down
212 changes: 0 additions & 212 deletions patches/openai+3.2.1.patch

This file was deleted.

1 change: 1 addition & 0 deletions src/layouts/handbook/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function getNodeText(node: React.ReactNode): string {
if (typeof node == 'string') return node;
if (typeof node == 'number') return String(node);
if (typeof node == 'boolean') return '';
if (typeof node == 'bigint') return '';
if (node == null) return '';
if (Array.isArray(node)) return node.map(getNodeText).join('');
if ('props' in node) {
Expand Down
Loading
Loading