Skip to content

Commit e41129f

Browse files
committed
Bump use-constant in use-optional-state to support React 19
1 parent 3e524cc commit e41129f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/use-optional-state/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-optional-state",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"license": "MIT",
55
"description": "A React hook to implement components that support both controlled and uncontrolled props.",
66
"author": "Jan Amann <[email protected]>",
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"tslib": "^2.0.0",
31-
"use-constant": "^1.1.0"
31+
"use-constant": "^2.0.0"
3232
},
3333
"publishConfig": {
3434
"access": "public"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9580,10 +9580,10 @@ urix@^0.1.0:
95809580
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
95819581
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
95829582

9583-
use-constant@^1.1.0:
9584-
version "1.1.0"
9585-
resolved "https://registry.yarnpkg.com/use-constant/-/use-constant-1.1.0.tgz#76d36a0edf16d4cc8565361f522b55da5f8f3f22"
9586-
integrity sha512-yrflEfv7Xv/W8WlYV6nwRH01K+2BpR4cWxuzY03yPRjYZuHixhGlvnJN5O2bRYrXGpJ4zy8QjFABGIQ2QXeBOA==
9583+
use-constant@^2.0.0:
9584+
version "2.0.0"
9585+
resolved "https://registry.yarnpkg.com/use-constant/-/use-constant-2.0.0.tgz#4cd1dce61a9ad728058b17dc02b79d5fd642ef34"
9586+
integrity sha512-Oy0aPHFuM0mMzxQy3wAx1/VVCOWU2dW+88J03/VrkxmpI0XojeHsryCR/6MlnZydb5KKcwj1oS4rZNwdeVo1sg==
95879587

95889588
use@^3.1.0:
95899589
version "3.1.1"

0 commit comments

Comments
 (0)