Skip to content

Commit 9673957

Browse files
committed
Upgrade deps major version
1 parent cb02534 commit 9673957

5 files changed

Lines changed: 181 additions & 207 deletions

File tree

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
geeguard.js

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@
1313
"@types/humanize-duration": "^3.27.2",
1414
"@types/lodash-es": "^4.17.10",
1515
"@types/md5": "^2.3.4",
16-
"@types/react": "^18.2.35",
16+
"@types/react": "18.2.18",
1717
"@types/react-color": "^3.0.9",
1818
"@types/react-copy-to-clipboard": "^5.0.6",
1919
"@types/react-dom": "^18.2.14",
2020
"@types/react-scroll-to-bottom": "^4.2.3",
2121
"@types/turndown": "^5.0.3",
2222
"@types/uuid": "^9.0.6",
2323
"@types/webextension-polyfill": "^0.10.5",
24-
"@typescript-eslint/eslint-plugin": "^5.62.0",
25-
"@typescript-eslint/parser": "^5.62.0",
24+
"@typescript-eslint/eslint-plugin": "^6.9.1",
25+
"@typescript-eslint/parser": "^6.9.1",
2626
"@vitejs/plugin-react": "^4.1.1",
2727
"autoprefixer": "^10.4.16",
2828
"chrome-types": "^0.1.240",
2929
"eslint": "^8.53.0",
30-
"eslint-config-prettier": "^8.10.0",
30+
"eslint-config-prettier": "^9.0.0",
3131
"eslint-plugin-react": "^7.33.2",
3232
"eslint-plugin-react-hooks": "^4.6.0",
3333
"postcss": "^8.4.31",
3434
"postcss-import": "^15.1.0",
35-
"postcss-nesting": "^11.3.0",
36-
"prettier": "^2.8.8",
35+
"postcss-nesting": "^12.0.1",
36+
"prettier": "^3.0.3",
3737
"process": "^0.11.10",
3838
"sass": "^1.69.5",
3939
"tailwind-scrollbar": "^3.0.5",
@@ -58,22 +58,22 @@
5858
"dayjs": "^1.11.10",
5959
"eventsource-parser": "^1.1.1",
6060
"framer-motion": "^10.16.4",
61-
"fuse.js": "^6.6.2",
61+
"fuse.js": "^7.0.0",
6262
"github-markdown-css": "^5.4.0",
6363
"gpt3-tokenizer": "^1.1.5",
6464
"highlight.js": "^11.9.0",
6565
"humanize-duration": "^3.30.0",
6666
"i18next": "^23.6.0",
6767
"i18next-browser-languagedetector": "^7.1.0",
68-
"immer": "^9.0.21",
68+
"immer": "^10.0.3",
6969
"inter-ui": "^3.19.3",
7070
"jotai": "^2.5.1",
7171
"jotai-immer": "^0.2.0",
7272
"js-base64": "^3.7.5",
7373
"lodash-es": "^4.17.21",
7474
"lucide-react": "^0.292.0",
7575
"md5": "^2.3.0",
76-
"nanoid": "^4.0.2",
76+
"nanoid": "^5.0.3",
7777
"ofetch": "^1.3.3",
7878
"plausible-tracker": "^0.3.8",
7979
"react": "^18.2.0",
@@ -101,7 +101,7 @@
101101
"remark-supersub": "^1.0.0",
102102
"slashes": "^3.0.12",
103103
"swr": "^2.2.4",
104-
"tailwind-merge": "^1.14.0",
104+
"tailwind-merge": "^2.0.0",
105105
"turndown": "^7.1.2",
106106
"unified": "^10.1.2",
107107
"uuid": "^9.0.1",

src/app/bots/gradio/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ interface ConversationContext {
2020
export class GradioBot extends AbstractBot {
2121
private conversationContext?: ConversationContext
2222

23-
constructor(public wsUrl: string, public model: string, public params: number[], public mode?: 'text' | 'html') {
23+
constructor(
24+
public wsUrl: string,
25+
public model: string,
26+
public params: number[],
27+
public mode?: 'text' | 'html',
28+
) {
2429
super()
2530
}
2631

src/app/components/PromptLibrary/Library.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ const PromptItem = (props: {
4040
return (
4141
<div className="group relative flex items-center space-x-3 rounded-lg border border-primary-border bg-primary-background px-5 py-4 shadow-sm hover:border-gray-400">
4242
<div className="min-w-0 flex-1">
43-
<p title={props.prompt} className="truncate text-sm font-medium text-primary-text">{props.title}</p>
43+
<p title={props.prompt} className="truncate text-sm font-medium text-primary-text">
44+
{props.title}
45+
</p>
4446
</div>
4547
<div className="flex flex-row gap-1">
4648
{props.edit && <ActionButton text={t('Edit')} onClick={props.edit} />}

0 commit comments

Comments
 (0)