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

build(deps): Bump sanitize-html from 2.11.0 to 2.12.1 #91

Merged
merged 2 commits into from
Sep 19, 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
4 changes: 2 additions & 2 deletions packages/threat-composer/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { z } from 'zod';
import useContentValidation from '../../../hooks/useContentValidation';

export interface AutosuggestProps extends FormFieldProps, Omit<CloudscapeAutosuggestProps, 'errorText'> {
ref?: React.ForwardedRef<any>;
ref?: React.LegacyRef<any>;
validateData?: (newValue: string) => z.SafeParseReturnType<string | undefined, string | undefined>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { z } from 'zod';
import useContentValidation from '../../../hooks/useContentValidation';

export interface InputProps extends FormFieldProps, InputComponentProps {
ref?: React.ForwardedRef<any>;
ref?: React.LegacyRef<any>;
validateData?: (newValue: string) => z.SafeParseReturnType<string | undefined, string | undefined>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface LevelSelectorProps {
allowNoValue?: boolean;
onFocus?: () => void;
onBlur?: () => void;
ref?: React.LegacyRef<SelectProps.Ref>;
}

const LevelSelector: FC<LevelSelectorProps> = React.forwardRef<SelectProps.Ref, LevelSelectorProps>(({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface StatusSelectorProps {
showLabel?: boolean;
onFocus?: () => void;
onBlur?: () => void;
ref?: React.ForwardedRef<any>;
ref?: React.LegacyRef<any>;
}

const StatusSelector: FC<StatusSelectorProps> = React.forwardRef<SelectProps.Ref, StatusSelectorProps>(({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { z } from 'zod';
import useContentValidation from '../../../hooks/useContentValidation';

export interface TextAreaProps extends FormFieldProps, TextareaComponetProps {
ref?: React.ForwardedRef<any>;
ref?: React.LegacyRef<any>;
validateData?: (newValue: string) => z.SafeParseReturnType<string | undefined, string | undefined>;
singleLine?: boolean;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const parseToken = (statements: TemplateThreatStatement[], token: PropertyFilter
return result;
};

const FullExamples: FC<FullExamplesProps & { ref?: React.ForwardedRef<any> }> = forwardRef(({
const FullExamples: FC<FullExamplesProps & { ref?: React.LegacyRef<any> }> = forwardRef(({
onClick,
}, ref) => {
const { threatStatementExamples } = useThreatsContext();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ export interface PriorityEditProps {
onEditMetadata: (statement: TemplateThreatStatement, key: string, value: string | string[] | undefined) => void;
onFocus?: () => void;
onBlur?: () => void;
ref?: React.ForwardedRef<any>;
ref?: React.LegacyRef<any>;
}

const PriorityEdit: FC<PriorityEditProps> = React.forwardRef<React.ForwardedRef<SelectProps.Ref>, PriorityEditProps>(({
const PriorityEdit: FC<PriorityEditProps> = React.forwardRef<SelectProps.Ref, PriorityEditProps>(({
editingStatement,
onEditMetadata,
showLabel = true,
Expand Down
165 changes: 113 additions & 52 deletions yarn.lock

Large diffs are not rendered by default.

Loading