Skip to content

chore(deps): bump react-native-reanimated from 3.17.5 to 4.0.1 #684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/expo-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react-dom": "^19.0.0",
"react-native": "^0.79.2",
"react-native-gesture-handler": "^2.27.1",
"react-native-reanimated": "~3.17.4",
"react-native-reanimated": "~4.0.1",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Reanimated Upgrade Fails Without Worklets

Upgrading react-native-reanimated to 4.0.1 introduces a new peer dependency requirement for react-native-worklets (>=0.3.0), but this dependency is not added to package.json. This leads to peer dependency warnings during installation and runtime failures when react-native-reanimated features are used, as react-native-worklets is required for its proper operation.

Fix in Cursor Fix in Web

"react-native-safe-area-context": "5.5.2",
"react-native-screens": "~4.13.1",
"react-native-web": "~0.20.0",
Expand Down
108 changes: 32 additions & 76 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,6 @@ __metadata:
languageName: node
linkType: hard

"@babel/helper-annotate-as-pure@npm:^7.27.3":
version: 7.27.3
resolution: "@babel/helper-annotate-as-pure@npm:7.27.3"
dependencies:
"@babel/types": "npm:^7.27.3"
checksum: 10c0/94996ce0a05b7229f956033e6dcd69393db2b0886d0db6aff41e704390402b8cdcca11f61449cb4f86cfd9e61b5ad3a73e4fa661eeed7846b125bd1c33dbc633
languageName: node
linkType: hard

"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.27.1, @babel/helper-compilation-targets@npm:^7.27.2":
version: 7.27.2
resolution: "@babel/helper-compilation-targets@npm:7.27.2"
Expand Down Expand Up @@ -955,7 +946,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-arrow-functions@npm:^7.0.0-0, @babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.27.1":
"@babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-arrow-functions@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -1014,7 +1005,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-class-properties@npm:^7.0.0-0, @babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.27.1":
"@babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-class-properties@npm:7.27.1"
dependencies:
Expand All @@ -1038,22 +1029,6 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-classes@npm:^7.0.0-0":
version: 7.28.0
resolution: "@babel/plugin-transform-classes@npm:7.28.0"
dependencies:
"@babel/helper-annotate-as-pure": "npm:^7.27.3"
"@babel/helper-compilation-targets": "npm:^7.27.2"
"@babel/helper-globals": "npm:^7.28.0"
"@babel/helper-plugin-utils": "npm:^7.27.1"
"@babel/helper-replace-supers": "npm:^7.27.1"
"@babel/traverse": "npm:^7.28.0"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 10c0/3b213b43104fe99dd7e79401a86d09e545836e057a70ffe77e8196a87bf67ae167e502ae90afdf0d1a2be683be5652514aaeda743bd984e583523dd8ecfef887
languageName: node
linkType: hard

"@babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-classes@npm:7.27.1"
Expand Down Expand Up @@ -1315,7 +1290,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.0.0-0, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.27.1":
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -1374,7 +1349,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-optional-chaining@npm:^7.0.0-0, @babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.27.1":
"@babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-optional-chaining@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -1570,7 +1545,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-shorthand-properties@npm:^7.0.0-0, @babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.27.1":
"@babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-shorthand-properties@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -1604,7 +1579,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-template-literals@npm:^7.0.0-0, @babel/plugin-transform-template-literals@npm:^7.27.1":
"@babel/plugin-transform-template-literals@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-template-literals@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -1664,7 +1639,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-unicode-regex@npm:^7.0.0-0, @babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.27.1":
"@babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.27.1":
version: 7.27.1
resolution: "@babel/plugin-transform-unicode-regex@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -1796,7 +1771,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/preset-typescript@npm:^7.16.7, @babel/preset-typescript@npm:^7.23.0, @babel/preset-typescript@npm:^7.27.0":
"@babel/preset-typescript@npm:^7.23.0, @babel/preset-typescript@npm:^7.27.0":
version: 7.27.1
resolution: "@babel/preset-typescript@npm:7.27.1"
dependencies:
Expand Down Expand Up @@ -1904,23 +1879,23 @@ __metadata:
languageName: node
linkType: hard

"@babel/types@npm:^7.27.3, @babel/types@npm:^7.28.0":
version: 7.28.0
resolution: "@babel/types@npm:7.28.0"
"@babel/types@npm:^7.27.6":
version: 7.28.1
resolution: "@babel/types@npm:7.28.1"
dependencies:
"@babel/helper-string-parser": "npm:^7.27.1"
"@babel/helper-validator-identifier": "npm:^7.27.1"
checksum: 10c0/7ca8521bf5e2d2ed4db31176efaaf94463a6b7a4d16dcc60e34e963b3596c2ecadb85457bebed13a9ee9a5829ef5f515d05b55a991b6a8f3b835451843482e39
checksum: 10c0/5e99b346c11ee42ffb0cadc28159fe0b184d865a2cc1593df79b199772a534f6453969b4942aa5e4a55a3081863096e1cc3fc1c724d826926dc787cf229b845d
languageName: node
linkType: hard

"@babel/types@npm:^7.27.6":
version: 7.28.1
resolution: "@babel/types@npm:7.28.1"
"@babel/types@npm:^7.28.0":
version: 7.28.0
resolution: "@babel/types@npm:7.28.0"
dependencies:
"@babel/helper-string-parser": "npm:^7.27.1"
"@babel/helper-validator-identifier": "npm:^7.27.1"
checksum: 10c0/5e99b346c11ee42ffb0cadc28159fe0b184d865a2cc1593df79b199772a534f6453969b4942aa5e4a55a3081863096e1cc3fc1c724d826926dc787cf229b845d
checksum: 10c0/7ca8521bf5e2d2ed4db31176efaaf94463a6b7a4d16dcc60e34e963b3596c2ecadb85457bebed13a9ee9a5829ef5f515d05b55a991b6a8f3b835451843482e39
languageName: node
linkType: hard

Expand Down Expand Up @@ -3854,7 +3829,7 @@ __metadata:
react-dom: "npm:^19.0.0"
react-native: "npm:^0.79.2"
react-native-gesture-handler: "npm:^2.27.1"
react-native-reanimated: "npm:~3.17.4"
react-native-reanimated: "npm:~4.0.1"
react-native-safe-area-context: "npm:5.5.2"
react-native-screens: "npm:~4.13.1"
react-native-web: "npm:~0.20.0"
Expand Down Expand Up @@ -15942,16 +15917,6 @@ __metadata:
languageName: node
linkType: hard

"react-native-is-edge-to-edge@npm:1.1.7":
version: 1.1.7
resolution: "react-native-is-edge-to-edge@npm:1.1.7"
peerDependencies:
react: "*"
react-native: "*"
checksum: 10c0/b7a37437f439b1e27a4d980de01994aa71b9091dc3ed00c21172d5505fb11978cd5ed3a43f97c89d502a3a08cf26e5cea6435b8d6e93d3557a92dd43563f7021
languageName: node
linkType: hard

"react-native-is-edge-to-edge@npm:^1.1.6, react-native-is-edge-to-edge@npm:^1.2.1":
version: 1.2.1
resolution: "react-native-is-edge-to-edge@npm:1.2.1"
Expand All @@ -15962,27 +15927,18 @@ __metadata:
languageName: node
linkType: hard

"react-native-reanimated@npm:~3.17.4":
version: 3.17.5
resolution: "react-native-reanimated@npm:3.17.5"
"react-native-reanimated@npm:~4.0.1":
version: 4.0.1
resolution: "react-native-reanimated@npm:4.0.1"
dependencies:
"@babel/plugin-transform-arrow-functions": "npm:^7.0.0-0"
"@babel/plugin-transform-class-properties": "npm:^7.0.0-0"
"@babel/plugin-transform-classes": "npm:^7.0.0-0"
"@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.0.0-0"
"@babel/plugin-transform-optional-chaining": "npm:^7.0.0-0"
"@babel/plugin-transform-shorthand-properties": "npm:^7.0.0-0"
"@babel/plugin-transform-template-literals": "npm:^7.0.0-0"
"@babel/plugin-transform-unicode-regex": "npm:^7.0.0-0"
"@babel/preset-typescript": "npm:^7.16.7"
convert-source-map: "npm:^2.0.0"
invariant: "npm:^2.2.4"
react-native-is-edge-to-edge: "npm:1.1.7"
react-native-is-edge-to-edge: "npm:^1.2.1"
semver: "npm:7.7.2"
peerDependencies:
"@babel/core": ^7.0.0-0
react: "*"
react-native: "*"
checksum: 10c0/22788541546cf3e818f0ad9fc9fb1cb53fd7b398d5f49078cd6adf8064957663d97de4e60de9e7894a359d2379685a9dd5d69183c3e13b5e4e78f2d49333921a
react-native-worklets: ">=0.3.0"
checksum: 10c0/bbf9d715f0305a586181b34fab6cb81ca3f2f737314efb02c7ce4bbbced54da388c2ccc6730450fa6be8fce4083ff29fe990a9a9accf6e4f9f7d4f9cc2a742ab
languageName: node
linkType: hard

Expand Down Expand Up @@ -16941,21 +16897,21 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:^6.3.0, semver@npm:^6.3.1":
version: 6.3.1
resolution: "semver@npm:6.3.1"
"semver@npm:7.7.2, semver@npm:^7.1.3, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.7.1, semver@npm:^7.7.2":
version: 7.7.2
resolution: "semver@npm:7.7.2"
bin:
semver: bin/semver.js
checksum: 10c0/e3d79b609071caa78bcb6ce2ad81c7966a46a7431d9d58b8800cfa9cb6a63699b3899a0e4bcce36167a284578212d9ae6942b6929ba4aa5015c079a67751d42d
checksum: 10c0/aca305edfbf2383c22571cb7714f48cadc7ac95371b4b52362fb8eeffdfbc0de0669368b82b2b15978f8848f01d7114da65697e56cd8c37b0dab8c58e543f9ea
languageName: node
linkType: hard

"semver@npm:^7.1.3, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.7.1, semver@npm:^7.7.2":
version: 7.7.2
resolution: "semver@npm:7.7.2"
"semver@npm:^6.3.0, semver@npm:^6.3.1":
version: 6.3.1
resolution: "semver@npm:6.3.1"
bin:
semver: bin/semver.js
checksum: 10c0/aca305edfbf2383c22571cb7714f48cadc7ac95371b4b52362fb8eeffdfbc0de0669368b82b2b15978f8848f01d7114da65697e56cd8c37b0dab8c58e543f9ea
checksum: 10c0/e3d79b609071caa78bcb6ce2ad81c7966a46a7431d9d58b8800cfa9cb6a63699b3899a0e4bcce36167a284578212d9ae6942b6929ba4aa5015c079a67751d42d
languageName: node
linkType: hard

Expand Down
Loading