Skip to content

Commit 7c5239c

Browse files
authored
fix(🐎): fix requirements for Reanimated version (#303)
1 parent c2942d3 commit 7c5239c

2 files changed

Lines changed: 17 additions & 51 deletions

File tree

packages/webgpu/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-wgpu",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "React Native WebGPU",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -82,7 +82,7 @@
8282
"react": "19.1.0",
8383
"react-native": "0.81.4",
8484
"react-native-builder-bob": "^0.23.2",
85-
"react-native-reanimated": "^3.16.0",
85+
"react-native-reanimated": "^4.2.1",
8686
"react-native-web": "^0.21.2",
8787
"react-native-worklets": "^0.7.0",
8888
"rimraf": "^5.0.7",
@@ -98,8 +98,8 @@
9898
"peerDependencies": {
9999
"react": "*",
100100
"react-native": "*",
101-
"react-native-reanimated": ">=3.16.0",
102-
"react-native-worklets": ">=0.7.0"
101+
"react-native-reanimated": ">=4.2.1",
102+
"react-native-worklets": ">=0.7.2"
103103
},
104104
"peerDependenciesMeta": {
105105
"react-native-reanimated": {

yarn.lock

Lines changed: 13 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ __metadata:
718718
languageName: node
719719
linkType: hard
720720

721-
"@babel/plugin-transform-arrow-functions@npm:7.27.1, @babel/plugin-transform-arrow-functions@npm:^7.0.0, @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":
721+
"@babel/plugin-transform-arrow-functions@npm:7.27.1, @babel/plugin-transform-arrow-functions@npm:^7.0.0, @babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.27.1":
722722
version: 7.27.1
723723
resolution: "@babel/plugin-transform-arrow-functions@npm:7.27.1"
724724
dependencies:
@@ -789,7 +789,7 @@ __metadata:
789789
languageName: node
790790
linkType: hard
791791

792-
"@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.28.6":
792+
"@babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.28.6":
793793
version: 7.28.6
794794
resolution: "@babel/plugin-transform-class-properties@npm:7.28.6"
795795
dependencies:
@@ -829,7 +829,7 @@ __metadata:
829829
languageName: node
830830
linkType: hard
831831

832-
"@babel/plugin-transform-classes@npm:^7.0.0, @babel/plugin-transform-classes@npm:^7.0.0-0, @babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.28.6":
832+
"@babel/plugin-transform-classes@npm:^7.0.0, @babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.28.6":
833833
version: 7.28.6
834834
resolution: "@babel/plugin-transform-classes@npm:7.28.6"
835835
dependencies:
@@ -1114,7 +1114,7 @@ __metadata:
11141114
languageName: node
11151115
linkType: hard
11161116

1117-
"@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.28.6":
1117+
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.28.6":
11181118
version: 7.28.6
11191119
resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.28.6"
11201120
dependencies:
@@ -1186,7 +1186,7 @@ __metadata:
11861186
languageName: node
11871187
linkType: hard
11881188

1189-
"@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.28.6":
1189+
"@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.28.6":
11901190
version: 7.28.6
11911191
resolution: "@babel/plugin-transform-optional-chaining@npm:7.28.6"
11921192
dependencies:
@@ -1366,7 +1366,7 @@ __metadata:
13661366
languageName: node
13671367
linkType: hard
13681368

1369-
"@babel/plugin-transform-shorthand-properties@npm:7.27.1, @babel/plugin-transform-shorthand-properties@npm:^7.0.0, @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":
1369+
"@babel/plugin-transform-shorthand-properties@npm:7.27.1, @babel/plugin-transform-shorthand-properties@npm:^7.0.0, @babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.27.1":
13701370
version: 7.27.1
13711371
resolution: "@babel/plugin-transform-shorthand-properties@npm:7.27.1"
13721372
dependencies:
@@ -1400,7 +1400,7 @@ __metadata:
14001400
languageName: node
14011401
linkType: hard
14021402

1403-
"@babel/plugin-transform-template-literals@npm:7.27.1, @babel/plugin-transform-template-literals@npm:^7.0.0-0, @babel/plugin-transform-template-literals@npm:^7.27.1":
1403+
"@babel/plugin-transform-template-literals@npm:7.27.1, @babel/plugin-transform-template-literals@npm:^7.27.1":
14041404
version: 7.27.1
14051405
resolution: "@babel/plugin-transform-template-literals@npm:7.27.1"
14061406
dependencies:
@@ -1460,7 +1460,7 @@ __metadata:
14601460
languageName: node
14611461
linkType: hard
14621462

1463-
"@babel/plugin-transform-unicode-regex@npm:7.27.1, @babel/plugin-transform-unicode-regex@npm:^7.0.0, @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":
1463+
"@babel/plugin-transform-unicode-regex@npm:7.27.1, @babel/plugin-transform-unicode-regex@npm:^7.0.0, @babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.27.1":
14641464
version: 7.27.1
14651465
resolution: "@babel/plugin-transform-unicode-regex@npm:7.27.1"
14661466
dependencies:
@@ -1621,7 +1621,7 @@ __metadata:
16211621
languageName: node
16221622
linkType: hard
16231623

1624-
"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.16.7, @babel/preset-typescript@npm:^7.17.12":
1624+
"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.17.12":
16251625
version: 7.28.5
16261626
resolution: "@babel/preset-typescript@npm:7.28.5"
16271627
dependencies:
@@ -12691,16 +12691,6 @@ __metadata:
1269112691
languageName: node
1269212692
linkType: hard
1269312693

12694-
"react-native-is-edge-to-edge@npm:1.1.7":
12695-
version: 1.1.7
12696-
resolution: "react-native-is-edge-to-edge@npm:1.1.7"
12697-
peerDependencies:
12698-
react: "*"
12699-
react-native: "*"
12700-
checksum: 4cdf2b2fb5b131f2015c26d2cb7688b4a0c5f3c8474b1bf0ddfa9eabb0263df440c87262ae8f812a6ecab0d5310df0373bddad4b51f53dabb2ffee01e9ef0f44
12701-
languageName: node
12702-
linkType: hard
12703-
1270412694
"react-native-is-edge-to-edge@npm:1.2.1":
1270512695
version: 1.2.1
1270612696
resolution: "react-native-is-edge-to-edge@npm:1.2.1"
@@ -12766,7 +12756,7 @@ __metadata:
1276612756
languageName: node
1276712757
linkType: hard
1276812758

12769-
"react-native-reanimated@npm:4.2.1":
12759+
"react-native-reanimated@npm:4.2.1, react-native-reanimated@npm:^4.2.1":
1277012760
version: 4.2.1
1277112761
resolution: "react-native-reanimated@npm:4.2.1"
1277212762
dependencies:
@@ -12780,30 +12770,6 @@ __metadata:
1278012770
languageName: node
1278112771
linkType: hard
1278212772

12783-
"react-native-reanimated@npm:^3.16.0":
12784-
version: 3.19.5
12785-
resolution: "react-native-reanimated@npm:3.19.5"
12786-
dependencies:
12787-
"@babel/plugin-transform-arrow-functions": ^7.0.0-0
12788-
"@babel/plugin-transform-class-properties": ^7.0.0-0
12789-
"@babel/plugin-transform-classes": ^7.0.0-0
12790-
"@babel/plugin-transform-nullish-coalescing-operator": ^7.0.0-0
12791-
"@babel/plugin-transform-optional-chaining": ^7.0.0-0
12792-
"@babel/plugin-transform-shorthand-properties": ^7.0.0-0
12793-
"@babel/plugin-transform-template-literals": ^7.0.0-0
12794-
"@babel/plugin-transform-unicode-regex": ^7.0.0-0
12795-
"@babel/preset-typescript": ^7.16.7
12796-
convert-source-map: ^2.0.0
12797-
invariant: ^2.2.4
12798-
react-native-is-edge-to-edge: 1.1.7
12799-
peerDependencies:
12800-
"@babel/core": ^7.0.0-0
12801-
react: "*"
12802-
react-native: "*"
12803-
checksum: d3e5e38c23bd0f86e19110c1e16353a3b58166cb3a13ec1b600b5bbe287d8c57ab199023231b7960fd11b5c605f2a78428d7b80f28818e74eaecde1360dec4f6
12804-
languageName: node
12805-
linkType: hard
12806-
1280712773
"react-native-safe-area-context@npm:^5.4.0":
1280812774
version: 5.6.2
1280912775
resolution: "react-native-safe-area-context@npm:5.6.2"
@@ -12909,7 +12875,7 @@ __metadata:
1290912875
react: 19.1.0
1291012876
react-native: 0.81.4
1291112877
react-native-builder-bob: ^0.23.2
12912-
react-native-reanimated: ^3.16.0
12878+
react-native-reanimated: ^4.2.1
1291312879
react-native-web: ^0.21.2
1291412880
react-native-worklets: ^0.7.0
1291512881
rimraf: ^5.0.7
@@ -12924,8 +12890,8 @@ __metadata:
1292412890
peerDependencies:
1292512891
react: "*"
1292612892
react-native: "*"
12927-
react-native-reanimated: ">=3.16.0"
12928-
react-native-worklets: ">=0.7.0"
12893+
react-native-reanimated: ">=4.2.1"
12894+
react-native-worklets: ">=0.7.2"
1292912895
peerDependenciesMeta:
1293012896
react-native-reanimated:
1293112897
optional: true

0 commit comments

Comments
 (0)