Skip to content

Commit

Permalink
Upgrade react-native-reanimated@3.13.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Jun 19, 2024
1 parent 2b12d3f commit 5e151c5
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ PODS:
- ZXingObjC
- RNReactNativeHapticFeedback (1.14.0):
- React-Core
- RNReanimated (3.12.0):
- RNReanimated (3.13.0-rc.2):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -2205,7 +2205,7 @@ SPEC CHECKSUMS:
RNPermissions: 5829ce9a821b8bcab921dae16a7d1a3dc4c95a03
RNQrGenerator: 90461ba3ca88c1d38ef73da50fade35d9648215d
RNReactNativeHapticFeedback: 1e3efeca9628ff9876ee7cdd9edec1b336913f8c
RNReanimated: 967ae35616ef948658afa75d24595d4584051540
RNReanimated: 5504c7d79fee5d8932fdc6eb2f2c14d29a1e0f06
RNScreens: 30249f9331c3b00ae7cb7922e11f58b3ed369c07
RNSecureRandom: 07efbdf2cd99efe13497433668e54acd7df49fef
RNSentry: 7e184247ee04989474d12cce0b7ef7bc4a71632f
Expand Down Expand Up @@ -2235,7 +2235,7 @@ SPEC CHECKSUMS:
SwiftNIOTransportServices: 0b2b407819d82eb63af558c5396e33c945759503
SwiftProtobuf: 5e8349171e7c2f88f5b9e683cb3cb79d1dc780b3
VisionCamera: 2c4cb89c573c5d54d1191e433bd224998d3b14b7
Yoga: d02ee88821190d82b2daa5cd15640a82ffafaaab
Yoga: dafebc41bc66910af33077aaa41078e89fd635bf
ZIPFoundation: b1f0de4eed33e74a676f76e12559ab6b75990197
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5

Expand Down
2 changes: 1 addition & 1 deletion jestSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { jest } from '@jest/globals'
import mockClipboard from '@react-native-clipboard/clipboard/jest/clipboard-mock.js'
import mockSafeAreaContext from 'react-native-safe-area-context/jest/mock'

require('react-native-reanimated/src/reanimated2/jestUtils').setUpTests()
require('react-native-reanimated').setUpTests()

const mockReanimated = jest.requireMock('react-native-reanimated')

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"react-native-patina": "^0.1.6",
"react-native-permissions": "^4.1.5",
"react-native-piratechain": "^0.4.13",
"react-native-reanimated": "^3.12.0",
"react-native-reanimated": "3.13.0-rc.2",
"react-native-safari-view": "^2.1.0",
"react-native-safe-area-context": "^4.10.1",
"react-native-screens": "^3.31.1",
Expand Down
13 changes: 0 additions & 13 deletions patches/react-native-reanimated+3.12.0.patch

This file was deleted.

13 changes: 13 additions & 0 deletions patches/react-native-reanimated+3.13.0-rc.2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/react-native-reanimated/src/Colors.ts b/node_modules/react-native-reanimated/src/Colors.ts
index 2b01b32..40a571e 100644
--- a/node_modules/react-native-reanimated/src/Colors.ts
+++ b/node_modules/react-native-reanimated/src/Colors.ts
@@ -521,7 +521,7 @@ export const rgbaColor = (
alpha = 1
): number | string => {
'worklet';
- if (IS_WEB || !_WORKLET) {
+ if (!IS_ANDROID || !_WORKLET) {
return `rgba(${r}, ${g}, ${b}, ${alpha})`;
}

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16484,10 +16484,10 @@ react-native-piratechain@^0.4.13:
dependencies:
rfc4648 "^1.3.0"

react-native-reanimated@^3.12.0:
version "3.12.0"
resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-3.12.0.tgz#2c768d43971bb19e425c436c892bf68c74b9ccab"
integrity sha512-Bwa4jKL/QttnV8pQYiX+1N5a6XgL8yZtMyH+7UbEaW7ZeNCv1Pxp2PmYu/bP3LafCkmS9Yj/hY2adYNKe58g9A==
react-native-reanimated@3.13.0-rc.2:
version "3.13.0-rc.2"
resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-3.13.0-rc.2.tgz#55843a55eb6cb480be48456547127edab08e9337"
integrity sha512-5MVV8Xwh1S2PtXz3h6naTwyUu+T3gogF6FqVVAstrJ1G1OkE0HwIt6P9NA7VrU941xbY6rccFKQbj8D6n2a/7Q==
dependencies:
"@babel/plugin-transform-arrow-functions" "^7.0.0-0"
"@babel/plugin-transform-nullish-coalescing-operator" "^7.0.0-0"
Expand Down

0 comments on commit 5e151c5

Please sign in to comment.