Skip to content

Commit 502b9d7

Browse files
committed
fix: Upgrade react-spring to 9.7.5
`react-spring` has been upgraded to `9.7.5` in order to retrieve a fix for rsbuild projects where the bottom sheet would fail to open due to `.willAdvance is not a function` error More info: pmndrs/react-spring#1078
1 parent 3dc4c2a commit 502b9d7

File tree

3 files changed

+98
-114
lines changed

3 files changed

+98
-114
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"dependencies": {
7373
"@juggle/resize-observer": "^3.1.3",
7474
"jest-environment-jsdom-sixteen": "^1.0.3",
75-
"react-spring": "9.0.0-rc.3",
75+
"react-spring": "9.7.5",
7676
"react-use-gesture": "^7.0.8",
7777
"react-use-measure": "^2.0.0"
7878
}

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"sourceMap": true,
99
"rootDir": "./src",
1010
"strict": true,
11-
"noImplicitAny": true,
11+
"noImplicitAny": false,
1212
"strictNullChecks": true,
1313
"strictFunctionTypes": true,
1414
"strictPropertyInitialization": true,

yarn.lock

+96-112
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
# yarn lockfile v1
33

44

5-
"@alloc/types@^1.2.1":
6-
version "1.3.0"
7-
resolved "https://registry.yarnpkg.com/@alloc/types/-/types-1.3.0.tgz#904245b8d3260a4b7d8a801c12501968f64fac08"
8-
integrity sha512-mH7LiFiq9g6rX2tvt1LtwsclfG5hnsmtIfkZiauAGrm1AwXhoRS0sF2WrN9JGN7eV5vFXqNaB0eXZ3IvMsVi9g==
9-
105
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.5.5":
116
version "7.12.13"
127
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658"
@@ -824,7 +819,7 @@
824819
dependencies:
825820
regenerator-runtime "^0.12.0"
826821

827-
"@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
822+
"@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.2.0", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
828823
version "7.13.10"
829824
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d"
830825
integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==
@@ -1057,85 +1052,90 @@
10571052
resolved "https://registry.yarnpkg.com/@juggle/resize-observer/-/resize-observer-3.3.0.tgz#2e7a2935adbfae46f9efbd1e1455254ee7ea2219"
10581053
integrity sha512-P1v2nvK7z2gOLVM/bveIRLG9L99uEahTGgTltyF03zixZAjI9YmKLj5Z9MpS9wBIUt5WDoQORT2lXvLOIF89iA==
10591054

1060-
"@react-spring/[email protected]":
1061-
version "9.0.0-rc.3"
1062-
resolved "https://registry.yarnpkg.com/@react-spring/animated/-/animated-9.0.0-rc.3.tgz#e792cb76aacecfc78db2be6020ac11ce96503eb5"
1063-
integrity sha512-dAvgtKhkYpzzr+EkmZ4ZuJ5CujxCW0LaT109DvO/2MQNk3EWIxcgl+ik4tSulSbgau1GN8RlkRKyDp0wISdQ3Q==
1064-
dependencies:
1065-
"@babel/runtime" "^7.3.1"
1066-
"@react-spring/shared" "9.0.0-rc.3"
1067-
react-layout-effect "^1.0.1"
1068-
1069-
"@react-spring/[email protected]":
1070-
version "9.0.0-rc.3"
1071-
resolved "https://registry.yarnpkg.com/@react-spring/core/-/core-9.0.0-rc.3.tgz#c8e697573936c525bd0f6ca0c0869f75c86e8a83"
1072-
integrity sha512-3OzsVFxpfMJNkkQj8TwAH3NhUAX76AXu6WkslQF4EgBeEoG5eY3m+VvM9RsAsGWDuBKpscZ/wBpFt5Ih6KdGHA==
1073-
dependencies:
1074-
"@babel/runtime" "^7.3.1"
1075-
"@react-spring/animated" "9.0.0-rc.3"
1076-
"@react-spring/shared" "9.0.0-rc.3"
1077-
react-layout-effect "^1.0.1"
1078-
use-memo-one "^1.1.0"
1079-
1080-
"@react-spring/[email protected]":
1081-
version "9.0.0-rc.3"
1082-
resolved "https://registry.yarnpkg.com/@react-spring/konva/-/konva-9.0.0-rc.3.tgz#7bad631eb59f141001d668267314ca40546ecf97"
1083-
integrity sha512-uampLRgrHIqA3ilnheePUVEUE+fdeipXORI4XZJFsORP01CUJeJCxBwMagaxvsHJAtuNErMI/IebE1T2W8i5qA==
1084-
dependencies:
1085-
"@babel/runtime" "^7.3.1"
1086-
"@react-spring/animated" "9.0.0-rc.3"
1087-
"@react-spring/core" "9.0.0-rc.3"
1088-
"@react-spring/shared" "9.0.0-rc.3"
1089-
1090-
"@react-spring/[email protected]":
1091-
version "9.0.0-rc.3"
1092-
resolved "https://registry.yarnpkg.com/@react-spring/native/-/native-9.0.0-rc.3.tgz#863b8278ea6064385c4fffaaed40316e4a2acaa8"
1093-
integrity sha512-7JSixJLfzg8V0IrgyGS3gGr2v8CGh4Kym15Htp3CJq74GFBJMyaQS0KaMjieXnw5alTpQoeGBESfA3v5dPlPYg==
1094-
dependencies:
1095-
"@babel/runtime" "^7.3.1"
1096-
"@react-spring/animated" "9.0.0-rc.3"
1097-
"@react-spring/core" "9.0.0-rc.3"
1098-
"@react-spring/shared" "9.0.0-rc.3"
1099-
1100-
"@react-spring/[email protected]":
1101-
version "9.0.0-rc.3"
1102-
resolved "https://registry.yarnpkg.com/@react-spring/shared/-/shared-9.0.0-rc.3.tgz#3f4c9d90accc20fef51a283a7806d78390b84161"
1103-
integrity sha512-dd50TxwwMWd+dSB0InjndUN9w17cbnMCPy+0sag6zRxxKIo7eOyWSliOtLKxvufgmdC8Prm4M3GT5dmB1yxKEQ==
1104-
dependencies:
1105-
"@alloc/types" "^1.2.1"
1106-
"@babel/runtime" "^7.3.1"
1107-
fluids "^0.1.6"
1108-
tslib "^1.11.1"
1109-
1110-
"@react-spring/[email protected]":
1111-
version "9.0.0-rc.3"
1112-
resolved "https://registry.yarnpkg.com/@react-spring/three/-/three-9.0.0-rc.3.tgz#bbfa7863c96ed8fa200cbff69222763c00977eef"
1113-
integrity sha512-H55T+Dnck+hsJ8WgE+tb89ngX1E1lDOpMBG4mGzNLGok6XgGqN0VBsHRN3QDl+aPfmJI1BPFPR6b6WbhwqRNbw==
1114-
dependencies:
1115-
"@babel/runtime" "^7.3.1"
1116-
"@react-spring/animated" "9.0.0-rc.3"
1117-
"@react-spring/core" "9.0.0-rc.3"
1118-
"@react-spring/shared" "9.0.0-rc.3"
1119-
1120-
"@react-spring/[email protected]":
1121-
version "9.0.0-rc.3"
1122-
resolved "https://registry.yarnpkg.com/@react-spring/web/-/web-9.0.0-rc.3.tgz#da977382f91d9af4c400e4aa7dc37d3db07b87e0"
1123-
integrity sha512-rEvipblmihiz8+Eo01zDp5dqWn6XfYk8q2rlN9c18YIOL4o6nuY/VplDoocUMHYfH4liurpO4o1QudKOO1nAiQ==
1124-
dependencies:
1125-
"@babel/runtime" "^7.3.1"
1126-
"@react-spring/animated" "9.0.0-rc.3"
1127-
"@react-spring/core" "9.0.0-rc.3"
1128-
"@react-spring/shared" "9.0.0-rc.3"
1129-
1130-
"@react-spring/[email protected]":
1131-
version "9.0.0-rc.3"
1132-
resolved "https://registry.yarnpkg.com/@react-spring/zdog/-/zdog-9.0.0-rc.3.tgz#00f611042b3761b984d0ca2c98da7dddcc11f081"
1133-
integrity sha512-fl2JI098sfOJ+BaS9xCrnz8NSimL8yPrVwO0lHSpXLn/q3o3MYmRAeJnZQv8yDtT6isTHua6Tfb9vWuZWEXSmA==
1134-
dependencies:
1135-
"@babel/runtime" "^7.3.1"
1136-
"@react-spring/animated" "9.0.0-rc.3"
1137-
"@react-spring/core" "9.0.0-rc.3"
1138-
"@react-spring/shared" "9.0.0-rc.3"
1055+
"@react-spring/animated@~9.7.5":
1056+
version "9.7.5"
1057+
resolved "https://registry.yarnpkg.com/@react-spring/animated/-/animated-9.7.5.tgz#eb0373aaf99b879736b380c2829312dae3b05f28"
1058+
integrity sha512-Tqrwz7pIlsSDITzxoLS3n/v/YCUHQdOIKtOJf4yL6kYVSDTSmVK1LI1Q3M/uu2Sx4X3pIWF3xLUhlsA6SPNTNg==
1059+
dependencies:
1060+
"@react-spring/shared" "~9.7.5"
1061+
"@react-spring/types" "~9.7.5"
1062+
1063+
"@react-spring/core@~9.7.5":
1064+
version "9.7.5"
1065+
resolved "https://registry.yarnpkg.com/@react-spring/core/-/core-9.7.5.tgz#72159079f52c1c12813d78b52d4f17c0bf6411f7"
1066+
integrity sha512-rmEqcxRcu7dWh7MnCcMXLvrf6/SDlSokLaLTxiPlAYi11nN3B5oiCUAblO72o+9z/87j2uzxa2Inm8UbLjXA+w==
1067+
dependencies:
1068+
"@react-spring/animated" "~9.7.5"
1069+
"@react-spring/shared" "~9.7.5"
1070+
"@react-spring/types" "~9.7.5"
1071+
1072+
"@react-spring/konva@~9.7.5":
1073+
version "9.7.5"
1074+
resolved "https://registry.yarnpkg.com/@react-spring/konva/-/konva-9.7.5.tgz#ab6b0d9fcb0941db0f11e2437a002628912d2698"
1075+
integrity sha512-BelrmyY6w0FGoNSEfSJltjQDUoW0Prxf+FzGjyLuLs+V9M9OM/aHnYqOlvQEfQsZx6C/ZiDOn5BZl8iH8SDf+Q==
1076+
dependencies:
1077+
"@react-spring/animated" "~9.7.5"
1078+
"@react-spring/core" "~9.7.5"
1079+
"@react-spring/shared" "~9.7.5"
1080+
"@react-spring/types" "~9.7.5"
1081+
1082+
"@react-spring/native@~9.7.5":
1083+
version "9.7.5"
1084+
resolved "https://registry.yarnpkg.com/@react-spring/native/-/native-9.7.5.tgz#fe48f017ae63472b89ff5f02b2bc075ff8840978"
1085+
integrity sha512-C1S500BNP1I05MftElyLv2nIqaWQ0MAByOAK/p4vuXcUK3XcjFaAJ385gVLgV2rgKfvkqRoz97PSwbh+ZCETEg==
1086+
dependencies:
1087+
"@react-spring/animated" "~9.7.5"
1088+
"@react-spring/core" "~9.7.5"
1089+
"@react-spring/shared" "~9.7.5"
1090+
"@react-spring/types" "~9.7.5"
1091+
1092+
"@react-spring/rafz@~9.7.5":
1093+
version "9.7.5"
1094+
resolved "https://registry.yarnpkg.com/@react-spring/rafz/-/rafz-9.7.5.tgz#ee7959676e7b5d6a3813e8c17d5e50df98b95df9"
1095+
integrity sha512-5ZenDQMC48wjUzPAm1EtwQ5Ot3bLIAwwqP2w2owG5KoNdNHpEJV263nGhCeKKmuA3vG2zLLOdu3or6kuDjA6Aw==
1096+
1097+
"@react-spring/shared@~9.7.5":
1098+
version "9.7.5"
1099+
resolved "https://registry.yarnpkg.com/@react-spring/shared/-/shared-9.7.5.tgz#6d513622df6ad750bbbd4dedb4ca0a653ec92073"
1100+
integrity sha512-wdtoJrhUeeyD/PP/zo+np2s1Z820Ohr/BbuVYv+3dVLW7WctoiN7std8rISoYoHpUXtbkpesSKuPIw/6U1w1Pw==
1101+
dependencies:
1102+
"@react-spring/rafz" "~9.7.5"
1103+
"@react-spring/types" "~9.7.5"
1104+
1105+
"@react-spring/three@~9.7.5":
1106+
version "9.7.5"
1107+
resolved "https://registry.yarnpkg.com/@react-spring/three/-/three-9.7.5.tgz#46bcd22354afa873a809f1c6d7e07b59600b4d08"
1108+
integrity sha512-RxIsCoQfUqOS3POmhVHa1wdWS0wyHAUway73uRLp3GAL5U2iYVNdnzQsep6M2NZ994BlW8TcKuMtQHUqOsy6WA==
1109+
dependencies:
1110+
"@react-spring/animated" "~9.7.5"
1111+
"@react-spring/core" "~9.7.5"
1112+
"@react-spring/shared" "~9.7.5"
1113+
"@react-spring/types" "~9.7.5"
1114+
1115+
"@react-spring/types@~9.7.5":
1116+
version "9.7.5"
1117+
resolved "https://registry.yarnpkg.com/@react-spring/types/-/types-9.7.5.tgz#e5dd180f3ed985b44fd2cd2f32aa9203752ef3e8"
1118+
integrity sha512-HVj7LrZ4ReHWBimBvu2SKND3cDVUPWKLqRTmWe/fNY6o1owGOX0cAHbdPDTMelgBlVbrTKrre6lFkhqGZErK/g==
1119+
1120+
"@react-spring/web@~9.7.5":
1121+
version "9.7.5"
1122+
resolved "https://registry.yarnpkg.com/@react-spring/web/-/web-9.7.5.tgz#7d7782560b3a6fb9066b52824690da738605de80"
1123+
integrity sha512-lmvqGwpe+CSttsWNZVr+Dg62adtKhauGwLyGE/RRyZ8AAMLgb9x3NDMA5RMElXo+IMyTkPp7nxTB8ZQlmhb6JQ==
1124+
dependencies:
1125+
"@react-spring/animated" "~9.7.5"
1126+
"@react-spring/core" "~9.7.5"
1127+
"@react-spring/shared" "~9.7.5"
1128+
"@react-spring/types" "~9.7.5"
1129+
1130+
"@react-spring/zdog@~9.7.5":
1131+
version "9.7.5"
1132+
resolved "https://registry.yarnpkg.com/@react-spring/zdog/-/zdog-9.7.5.tgz#ba11049ecce30d03f92189eefd67ba9a4118149d"
1133+
integrity sha512-VV7vmb52wGHgDA1ry6hv+QgxTs78fqjKEQnj+M8hiBg+dwOsTtqqM24ADtc4cMAhPW+eZhVps8ZNKtjt8ouHFA==
1134+
dependencies:
1135+
"@react-spring/animated" "~9.7.5"
1136+
"@react-spring/core" "~9.7.5"
1137+
"@react-spring/shared" "~9.7.5"
1138+
"@react-spring/types" "~9.7.5"
11391139

11401140
"@rollup/plugin-commonjs@^11.0.0":
11411141
version "11.1.0"
@@ -3214,11 +3214,6 @@ flatted@^2.0.0:
32143214
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
32153215
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
32163216

3217-
fluids@^0.1.6:
3218-
version "0.1.10"
3219-
resolved "https://registry.yarnpkg.com/fluids/-/fluids-0.1.10.tgz#0517e7a53dbce1db011dddec301b75178518ba0e"
3220-
integrity sha512-66FLmUJOrkvEHIsRVeM+88MG0bjd2TOBuR0BkM0hzyCb68W9drzqeX/AHDNp3ouZALQN7JvBvmKdVhHI+PZsdg==
3221-
32223217
for-each@^0.3.3:
32233218
version "0.3.3"
32243219
resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e"
@@ -5567,23 +5562,17 @@ react-is@^17.0.1:
55675562
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.1.tgz#5b3531bd76a645a4c9fb6e693ed36419e3301339"
55685563
integrity sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA==
55695564

5570-
react-layout-effect@^1.0.1:
5571-
version "1.0.5"
5572-
resolved "https://registry.yarnpkg.com/react-layout-effect/-/react-layout-effect-1.0.5.tgz#0dc4e24452aee5de66c93c166f0ec512dfb1be80"
5573-
integrity sha512-zdRXHuch+OBHU6bvjTelOGUCM+UDr/iCY+c0wXLEAc+G4/FlcJruD/hUOzlKH5XgO90Y/BUJPNhI/g9kl+VAsA==
5574-
5575-
5576-
version "9.0.0-rc.3"
5577-
resolved "https://registry.yarnpkg.com/react-spring/-/react-spring-9.0.0-rc.3.tgz#0ad7b1e803f4385b7cbb44fff6d26f5be78884d6"
5578-
integrity sha512-VX5Gi6svgRzjGvJ7qVRQBhFN+O2IuPvkSWepIg838LNIMqlc42xdIYtoGJYSqYjNO3IocSfkHlh49WVw6hHMUg==
5579-
dependencies:
5580-
"@babel/runtime" "^7.3.1"
5581-
"@react-spring/core" "9.0.0-rc.3"
5582-
"@react-spring/konva" "9.0.0-rc.3"
5583-
"@react-spring/native" "9.0.0-rc.3"
5584-
"@react-spring/three" "9.0.0-rc.3"
5585-
"@react-spring/web" "9.0.0-rc.3"
5586-
"@react-spring/zdog" "9.0.0-rc.3"
5565+
5566+
version "9.7.5"
5567+
resolved "https://registry.yarnpkg.com/react-spring/-/react-spring-9.7.5.tgz#ae335f3478026ff9480d4f85267eca6781c47bde"
5568+
integrity sha512-oG6DkDZIASHzPiGYw5KwrCvoFZqsaO3t2R7KE37U6S/+8qWSph/UjRQalPpZxlbgheqV9LT62H6H9IyoopHdug==
5569+
dependencies:
5570+
"@react-spring/core" "~9.7.5"
5571+
"@react-spring/konva" "~9.7.5"
5572+
"@react-spring/native" "~9.7.5"
5573+
"@react-spring/three" "~9.7.5"
5574+
"@react-spring/web" "~9.7.5"
5575+
"@react-spring/zdog" "~9.7.5"
55875576

55885577
react-swipeable-views-core@^0.13.7:
55895578
version "0.13.7"
@@ -6919,11 +6908,6 @@ urix@^0.1.0:
69196908
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
69206909
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
69216910

6922-
use-memo-one@^1.1.0:
6923-
version "1.1.2"
6924-
resolved "https://registry.yarnpkg.com/use-memo-one/-/use-memo-one-1.1.2.tgz#0c8203a329f76e040047a35a1197defe342fab20"
6925-
integrity sha512-u2qFKtxLsia/r8qG0ZKkbytbztzRb317XCkT7yP8wxL0tZ/CzK2G+WWie5vWvpyeP7+YoPIwbJoIHJ4Ba4k0oQ==
6926-
69276911
use@^3.1.0:
69286912
version "3.1.1"
69296913
resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f"

0 commit comments

Comments
 (0)