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/gradlew CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  #
4
- # Copyright © 2015-2021 the original authors.
4
+ # Copyright © 2015 the original authors.
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -5,5 +5,5 @@
5
5
  * version used to build the native part of the library in runtime. Remember to
6
6
  * keep this in sync with the version declared in `package.json`
7
7
  */
8
- export const jsVersion = '3.19.2';
8
+ export const jsVersion = '3.19.3';
9
9
  //# sourceMappingURL=jsVersion.js.map
@@ -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 !== -1) {
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.2";
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.2",
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.80.0-rc.3",
106
- "@react-native/eslint-config": "0.80.0-rc.3",
107
- "@react-native/metro-config": "0.80.0-rc.3",
108
- "@react-native/typescript-config": "0.80.0-rc.3",
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.80.0-rc.3",
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": "patch:react-native-gesture-handler@npm%3A2.25.0#~/.yarn/patches/react-native-gesture-handler-npm-2.25.0-84335ae2d8.patch",
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",
@@ -4,4 +4,4 @@
4
4
  * version used to build the native part of the library in runtime. Remember to
5
5
  * keep this in sync with the version declared in `package.json`
6
6
  */
7
- export const jsVersion = '3.19.2';
7
+ export const jsVersion = '3.19.3';
@@ -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 !== -1) {
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
  );