Skip to content

Commit

Permalink
shore(deps): mitigate security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
k-paxian committed Jul 5, 2024
1 parent cb95866 commit 72f4009
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 52 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Adding the `resolutions` field when using `yarn` might help get the correct vers
| VwcRadio | @vonage/vwc-radio | 2.45.0 |
| VwcSchemeSelect | @vonage/vwc-scheme-select | 2.45.0 |
| VwcSelect | @vonage/vwc-select | 2.45.0 |
| VwcSideDrawer | @vonage/vwc-side-drawer | 2.45.0 |
| VwcSlider | @vonage/vwc-slider | 2.45.0 |
| VwcSnackbar | @vonage/vwc-snackbar | 2.45.0 |
| VwcSurface | @vonage/vwc-surface | 2.45.0 |
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"@vonage/vwc-radio": "2.45.0",
"@vonage/vwc-scheme-select": "2.45.0",
"@vonage/vwc-select": "2.45.0",
"@vonage/vwc-side-drawer": "2.45.0",
"@vonage/vwc-slider": "2.45.0",
"@vonage/vwc-snackbar": "2.45.0",
"@vonage/vwc-surface": "2.45.0",
Expand Down
18 changes: 0 additions & 18 deletions stories/v2/VwcSideDrawer/VwcSideDrawer.stories.jsx

This file was deleted.

83 changes: 64 additions & 19 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ declare namespace JSX {
"aria-label": string | null;
}>;
"vvd3-alert": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"dismiss-button-aria-label": string | null;
"dismiss-button-aria-label": | string
| null;
"removable": boolean;
"placement": AlertPlacement | undefined;
"headline": string | undefined;
Expand All @@ -43,8 +44,10 @@ declare namespace JSX {
"text": string | undefined;
}>;
"vvd3-audio-player": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"play-button-aria-label": string | null;
"pause-button-aria-label": string | null;
"play-button-aria-label": | string
| null;
"pause-button-aria-label": | string
| null;
"slider-aria-label": string | null;
"connotation": AudioPlayerConnotation | undefined;
"src": string | undefined;
Expand All @@ -66,7 +69,8 @@ declare namespace JSX {
"text": string | undefined;
}>;
"vvd3-banner": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"dismiss-aria-label": string | null;
"dismiss-aria-label": | string
| null;
"role": string | null;
"action-href": string | undefined;
"action-text": string | undefined;
Expand All @@ -89,7 +93,15 @@ declare namespace JSX {
"size": ButtonSize | undefined;
"stacked": boolean;
"pending": boolean;
"active": boolean;
"label": string | undefined;
"href": string | undefined;
"download": string | undefined;
"hreflang": string | undefined;
"ping": string | undefined;
"referrerpolicy": string | undefined;
"rel": string | undefined;
"target": '_self' | '_blank' | '_parent' | '_top' | undefined;
}>;
"vvd3-calendar": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"datetime": Date | string | undefined;
Expand Down Expand Up @@ -148,6 +160,15 @@ declare namespace JSX {
"current-value": string;
"readonly": boolean;
}>;
"vvd3-dial-pad": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"helper-text": string | null;
"placeholder": string | null;
"value": string;
"pattern": string;
"disabled": boolean;
"call-active": boolean;
"no-call": boolean;
}>;
"vvd3-dialog": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"open": boolean;
"icon": string | undefined;
Expand All @@ -156,7 +177,8 @@ declare namespace JSX {
"headline": string | undefined;
"full-width-body": boolean;
"aria-label": string | null;
"dismiss-button-aria-label": string | null;
"dismiss-button-aria-label": | string
| null;
"no-light-dismiss": boolean;
}>;
"vvd3-divider": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
Expand All @@ -183,9 +205,6 @@ declare namespace JSX {
"max-file-size": number;
"accept": string | undefined;
"size": FilePickerSize | undefined;
}>;
"vvd3-focus": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{

}>;
"vvd3-header": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"elevation-shadow": boolean;
Expand Down Expand Up @@ -217,6 +236,7 @@ declare namespace JSX {
"vvd3-menu-item": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"text": string | undefined;
"text-secondary": string | undefined;
"connotation": MenuItemConnotation | undefined;
"check-trailing": boolean;
"check-appearance": CheckAppearance | undefined;
}>;
Expand All @@ -230,14 +250,18 @@ declare namespace JSX {
}>;
"vvd3-nav-item": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"text": string | undefined;
"connotation": TextAnchorConnotation | undefined;
"appearance": TextAnchorAppearance | undefined;
}>;
"vvd3-note": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"headline": string | undefined;
"connotation": NoteConnotation | undefined;
}>;
"vvd3-number-field": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"increment-button-aria-label": string | null;
"decrement-button-aria-label": string | null;
"increment-button-aria-label": | string
| null;
"decrement-button-aria-label": | string
| null;
"appearance": NumberFieldAppearance | undefined;
"shape": NumberFieldShape | undefined;
"autoComplete": string | undefined;
Expand All @@ -253,14 +277,6 @@ declare namespace JSX {
"total": number;
"selected-index": number | undefined;
}>;
"vvd3-popup": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"open": boolean;
"dismissible": boolean;
"arrow": boolean;
"alternate": boolean;
"placement": Placement | undefined;
"strategy": Strategy | undefined;
}>;
"vvd3-progress": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"aria-label": string | null;
"shape": ProgressShape | undefined;
Expand All @@ -280,6 +296,24 @@ declare namespace JSX {
"vvd3-radio-group": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"label": string | undefined;
}>;
"vvd3-form-associated-range-slider": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{

}>;
"vvd3-range-slider": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"start": | string
| undefined;
"current-start": string;
"end": string | undefined;
"current-end": string;
"min": number;
"max": number;
"step": number;
"orientation": Orientation;
"aria-start-label": string | null;
"aria-end-label": string | null;
"markers": boolean;
"connotation": RangeSliderConnotation | undefined;
}>;
"vvd3-select": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"appearance": SelectAppearance | undefined;
"shape": SelectShape | undefined;
Expand Down Expand Up @@ -318,7 +352,8 @@ declare namespace JSX {
"disabled": boolean;
"aria-label": string | null;
"aria-expanded": string | null;
"indicator-aria-label": string | null;
"indicator-aria-label": | string
| null;
}>;
"vvd3-switch": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"label": string | undefined;
Expand Down Expand Up @@ -354,6 +389,8 @@ declare namespace JSX {
}>;
"vvd3-text-anchor": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"text": string | undefined;
"connotation": TextAnchorConnotation | undefined;
"appearance": TextAnchorAppearance | undefined;
}>;
"vvd3-text-area": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"wrap": TextAreaWrap | undefined;
Expand Down Expand Up @@ -390,6 +427,14 @@ declare namespace JSX {
}>;
"vvd3-tree-view": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{

}>;
"vvd3-video-player": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"poster": string | undefined;
"src": string | undefined;
"autoplay": boolean;
"loop": boolean;
"playback-rates": string;
"skip-by": MediaSkipBy;
}>;
"vvd3-date-picker-base": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & Partial<{
"min": string;
Expand Down
13 changes: 0 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4909,19 +4909,6 @@
lit-element "^2.4.0"
tslib "^2.3.0"

"@vonage/[email protected]":
version "2.45.0"
resolved "https://registry.yarnpkg.com/@vonage/vwc-side-drawer/-/vwc-side-drawer-2.45.0.tgz#4e54198743b15185770092753edb421a87a0e481"
integrity sha512-/drAbQQ9eryVMZceZrSseuBEb57M/40o8ZXnzlCpKNYfUu3aZVHmLNoXnfH6FdIyJq5ewdy9KMXQr4+pSYHgMA==
dependencies:
"@vonage/vvd-core" "2.45.0"
"@vonage/vvd-foundation" "2.45.0"
blocking-elements "^0.1.0"
lit-element "^2.4.0"
lit-html "^1.3.0"
tslib "^2.3.0"
wicg-inert "^3.0.0"

"@vonage/[email protected]":
version "2.45.0"
resolved "https://registry.yarnpkg.com/@vonage/vwc-slider/-/vwc-slider-2.45.0.tgz#1defdd390644bf08e791fb21f6d272550b5a1bf5"
Expand Down

0 comments on commit 72f4009

Please sign in to comment.