Skip to content

Commit

Permalink
build(deps): Bump sanitize-html from 2.11.0 to 2.12.1 (#91)
Browse files Browse the repository at this point in the history
* build(deps): Bump sanitize-html from 2.11.0 to 2.12.1

Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.11.0 to 2.12.1.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](apostrophecms/sanitize-html@2.11.0...2.12.1)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* build: Resolve the build issues

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jessie Wei <jeswei@amazon.com>
  • Loading branch information
dependabot[bot] and jessieweiyi authored Sep 19, 2024
1 parent f254a96 commit e9b1be6
Show file tree
Hide file tree
Showing 9 changed files with 123 additions and 61 deletions.
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.

0 comments on commit e9b1be6

Please sign in to comment.