-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security: Update nanoid to 3.3.8 (#896)
* Update nanoid to 3.3.8 * Update nanoid to 3.3.8 * Fix assistants_web build * Resolve frontend build errors
- Loading branch information
1 parent
cf12000
commit eb317e9
Showing
13 changed files
with
5,444 additions
and
7,953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13,335 changes: 5,416 additions & 7,919 deletions
13,335
src/interfaces/assistants_web/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
src/interfaces/assistants_web/src/components/Markdown/tags/Anchor.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/interfaces/assistants_web/src/components/Markdown/tags/P.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
'use client'; | ||
|
||
import type { Component, ExtraProps } from 'hast-util-to-jsx-runtime/lib/components'; | ||
import { ComponentPropsWithoutRef } from 'react'; | ||
import { ComponentPropsWithoutRef, FC } from 'react'; | ||
import { ExtraProps } from 'react-markdown'; | ||
|
||
export const P: Component<ComponentPropsWithoutRef<'p'> & ExtraProps> = ({ children }) => { | ||
export const P: FC<ComponentPropsWithoutRef<'p'> & ExtraProps> = ({ children }) => { | ||
return <p dir="auto">{children}</p>; | ||
}; |
6 changes: 3 additions & 3 deletions
6
src/interfaces/assistants_web/src/components/Markdown/tags/Pre.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/interfaces/assistants_web/src/components/Markdown/tags/References.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
'use client'; | ||
|
||
import type { Component, ExtraProps } from 'hast-util-to-jsx-runtime/lib/components'; | ||
import { ComponentPropsWithoutRef } from 'react'; | ||
import { ComponentPropsWithoutRef, FC } from 'react'; | ||
import { ExtraProps } from 'react-markdown'; | ||
|
||
import { Text } from '@/components/UI'; | ||
|
||
// Since we're inserting a Text component | ||
// And that we're not specifyng the "as" prop | ||
// And that the default of Text is "p" styling | ||
// We get the props of p | ||
export const References: Component<ComponentPropsWithoutRef<'p'> & ExtraProps> = ({ children }) => { | ||
export const References: FC<ComponentPropsWithoutRef<'p'> & ExtraProps> = ({ children }) => { | ||
return <Text>From {children}</Text>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters