From d189f623ca2bdc9019d4014b7baf32225385f180 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Thu, 17 Aug 2023 11:14:05 -0400 Subject: [PATCH] STCOM-1179 update stripes deps for react v18 (#2099) Missed a few updates in the previous PR. These updates bring stripes-cli and eslint-config-stripes into line around react 18 and other breaking changes related to svg that must by synchronized across stripes-webpack and stripes-components. Refs STCOM-1179 Co-authored-by: John Coburn --- CHANGELOG.md | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6abc91e0e..a83cbab79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ * Provide the searchableOptions prop to the SearchField component to use it as children for options in the Select component. Refs STCOM-1183. * Provide the `getFieldUniqueKey` prop to define a `key` for the list items in the `` component. Refs STCOM-1186. * Bugfix for `` - onRemove should support remove button clicks and list de-selection as it does backspace. Refs STCOM-1106. +* *BREAKING* bump `react` to `v18`. Refs STCOM-1179. * Add `graph` icon. Refs STCOM-1187. * `` bugfix - fix for Accordions reverting to their initial open/close state when outer component is updated. Fixes STCOM-1188. * Unpin `moment` from `2.24`; STRIPES-678 resolved long ago. Resolves CVE-2022-24785. diff --git a/package.json b/package.json index 092a93d3e..b5abb2a4e 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,8 @@ "@babel/preset-react": "^7.7.4", "@babel/register": "^7.0.0", "@bigtest/interactor": "0.7.2", - "@folio/eslint-config-stripes": "^6", - "@folio/stripes-cli": "^2.4.0", + "@folio/eslint-config-stripes": "^7.0.0", + "@folio/stripes-cli": "^3.0.0", "@folio/stripes-testing": "^4.5.0", "@formatjs/cli": "^6.0.4", "@mdx-js/loader": "^1.6.22",