react-native-reanimated 3.19.2 → 3.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradlew +1 -1
- package/lib/module/platform-specific/jsVersion.js +1 -1
- package/lib/module/platformFunctions/scrollTo.web.js +1 -1
- package/lib/typescript/platform-specific/jsVersion.d.ts +1 -1
- package/package.json +7 -7
- package/src/platform-specific/jsVersion.ts +1 -1
- package/src/platformFunctions/scrollTo.web.ts +1 -1
|
Binary file
|
package/android/gradlew
CHANGED
|
@@ -5,7 +5,7 @@ export function scrollTo(animatedRef, x, y, animated) {
|
|
|
5
5
|
const element = animatedRef();
|
|
6
6
|
|
|
7
7
|
// This prevents crashes if ref has not been set yet
|
|
8
|
-
if (element
|
|
8
|
+
if (element === -1) {
|
|
9
9
|
logger.warn('Called scrollTo() with an uninitialized ref. Make sure to pass the animated ref to the scrollable component before calling scrollTo().');
|
|
10
10
|
return;
|
|
11
11
|
}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* version used to build the native part of the library in runtime. Remember to
|
|
4
4
|
* keep this in sync with the version declared in `package.json`
|
|
5
5
|
*/
|
|
6
|
-
export declare const jsVersion = "3.19.
|
|
6
|
+
export declare const jsVersion = "3.19.3";
|
|
7
7
|
//# sourceMappingURL=jsVersion.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-reanimated",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.3",
|
|
4
4
|
"description": "More powerful alternative to Animated library for React Native.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
"@babel/core": "^7.25.2",
|
|
103
103
|
"@babel/preset-env": "^7.25.3",
|
|
104
104
|
"@babel/types": "^7.20.0",
|
|
105
|
-
"@react-native/babel-preset": "0.
|
|
106
|
-
"@react-native/eslint-config": "0.
|
|
107
|
-
"@react-native/metro-config": "0.
|
|
108
|
-
"@react-native/typescript-config": "0.
|
|
105
|
+
"@react-native/babel-preset": "0.82.0",
|
|
106
|
+
"@react-native/eslint-config": "0.82.0",
|
|
107
|
+
"@react-native/metro-config": "0.82.0",
|
|
108
|
+
"@react-native/typescript-config": "0.82.0",
|
|
109
109
|
"@testing-library/jest-native": "^4.0.4",
|
|
110
110
|
"@testing-library/react-hooks": "^8.0.0",
|
|
111
111
|
"@testing-library/react-native": "^13.0.1",
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
"madge": "^5.0.1",
|
|
145
145
|
"prettier": "^3.3.3",
|
|
146
146
|
"react": "19.1.0",
|
|
147
|
-
"react-native": "0.
|
|
147
|
+
"react-native": "0.81.4",
|
|
148
148
|
"react-native-builder-bob": "patch:react-native-builder-bob@npm%3A0.33.1#~/.yarn/patches/react-native-builder-bob-npm-0.33.1-383d9e23a5.patch",
|
|
149
|
-
"react-native-gesture-handler": "
|
|
149
|
+
"react-native-gesture-handler": "2.28.0",
|
|
150
150
|
"react-native-web": "0.19.13",
|
|
151
151
|
"react-test-renderer": "19.1.0",
|
|
152
152
|
"shelljs": "^0.8.5",
|
|
@@ -14,7 +14,7 @@ export function scrollTo<T extends Component>(
|
|
|
14
14
|
const element = animatedRef();
|
|
15
15
|
|
|
16
16
|
// This prevents crashes if ref has not been set yet
|
|
17
|
-
if (element
|
|
17
|
+
if (element === -1) {
|
|
18
18
|
logger.warn(
|
|
19
19
|
'Called scrollTo() with an uninitialized ref. Make sure to pass the animated ref to the scrollable component before calling scrollTo().'
|
|
20
20
|
);
|