Skip to content

Commit 46c26bb

Browse files
authored
Update @react-native/react-native-picker (#12449)
## Description This PR updates our usage of `@react-native/react-native-picker` to a newer version which uses the correct Windows SDK version specified by RNW. ### Type of Change - Bug fix (non-breaking change which fixes an issue) ### Why Without this change, devs will require an older (and unecessary) Windows SDK than we're currently targeting. ### What See above. ## Screenshots N/A ## Testing Verified e2e-test builds and runs. ## Changelog Should this change be included in the release notes: no
1 parent 79ed765 commit 46c26bb

File tree

6 files changed

+25
-17
lines changed

6 files changed

+25
-17
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Update @react-native/react-native-picker",
4+
"packageName": "react-native-windows",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/e2e-test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"e2etest:debug": "jest --config ./jest.debug.config.js"
1414
},
1515
"dependencies": {
16-
"@react-native-picker/picker": "2.4.10",
16+
"@react-native-picker/picker": "^2.5.1",
1717
"@react-native-windows/automation-channel": "^0.12.80",
1818
"@react-native-windows/tester": "0.0.1",
1919
"@typescript-eslint/eslint-plugin": "^5.21.0",

packages/e2e-test-app/windows/RNTesterApp/packages.lock.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"version": 1,
33
"dependencies": {
44
"UAP,Version=v10.0.17763": {
5+
"Microsoft.JavaScript.Hermes": {
6+
"type": "Direct",
7+
"requested": "[0.1.18, )",
8+
"resolved": "0.1.18",
9+
"contentHash": "5K8rRihGwIs2XNOTP2Jsw3T6cegxCBQXcpPS4optONU/AmFElGAfnA6XBQJ4UqlCFCl9Nf9zQrgvCUPBWYHiag=="
10+
},
511
"Microsoft.NETCore.UniversalWindowsPlatform": {
612
"type": "Direct",
713
"requested": "[6.2.9, )",
@@ -39,11 +45,6 @@
3945
"resolved": "1.1.1",
4046
"contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q=="
4147
},
42-
"Microsoft.JavaScript.Hermes": {
43-
"type": "Transitive",
44-
"resolved": "0.1.18",
45-
"contentHash": "5K8rRihGwIs2XNOTP2Jsw3T6cegxCBQXcpPS4optONU/AmFElGAfnA6XBQJ4UqlCFCl9Nf9zQrgvCUPBWYHiag=="
46-
},
4748
"Microsoft.Net.Native.Compiler": {
4849
"type": "Transitive",
4950
"resolved": "2.2.7-rel-27913-00",
@@ -68,7 +69,7 @@
6869
"Microsoft.NETCore.Platforms": {
6970
"type": "Transitive",
7071
"resolved": "2.1.0",
71-
"contentHash": "ok+RPAtESz/9MUXeIEz6Lv5XAGQsaNmEYXMsgVALj4D7kqC8gveKWXWXbufLySR2fWrwZf8smyN5RmHu0e4BHA=="
72+
"contentHash": "GmkKfoyerqmsHMn7OZj0AKpcBabD+GaafqphvX2Mw406IwiJRy1pKcKqdCfKJfYmkRyJ6+e+RaUylgdJoDa1jQ=="
7273
},
7374
"Microsoft.SourceLink.Common": {
7475
"type": "Transitive",
@@ -92,7 +93,7 @@
9293
"NETStandard.Library": {
9394
"type": "Transitive",
9495
"resolved": "2.0.3",
95-
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
96+
"contentHash": "548M6mnBSJWxsIlkQHfbzoYxpiYFXZZSL00p4GHYv8PkiqFBnnT68mW5mGEsA/ch9fDO9GkPgkFQpWiXZN7mAQ==",
9697
"dependencies": {
9798
"Microsoft.NETCore.Platforms": "1.1.0"
9899
}

packages/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"windows": "react-native run-windows"
1111
},
1212
"dependencies": {
13-
"@react-native-picker/picker": "2.4.10",
13+
"@react-native-picker/picker": "^2.5.1",
1414
"@react-native-windows/tester": "0.0.1",
1515
"@typescript-eslint/eslint-plugin": "^5.21.0",
1616
"@typescript-eslint/parser": "^5.21.0",

vnext/Microsoft.ReactNative.Managed/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"Microsoft.NETCore.Platforms": {
6464
"type": "Transitive",
6565
"resolved": "2.1.0",
66-
"contentHash": "ok+RPAtESz/9MUXeIEz6Lv5XAGQsaNmEYXMsgVALj4D7kqC8gveKWXWXbufLySR2fWrwZf8smyN5RmHu0e4BHA=="
66+
"contentHash": "GmkKfoyerqmsHMn7OZj0AKpcBabD+GaafqphvX2Mw406IwiJRy1pKcKqdCfKJfYmkRyJ6+e+RaUylgdJoDa1jQ=="
6767
},
6868
"Microsoft.SourceLink.Common": {
6969
"type": "Transitive",
@@ -86,7 +86,7 @@
8686
"NETStandard.Library": {
8787
"type": "Transitive",
8888
"resolved": "2.0.3",
89-
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
89+
"contentHash": "548M6mnBSJWxsIlkQHfbzoYxpiYFXZZSL00p4GHYv8PkiqFBnnT68mW5mGEsA/ch9fDO9GkPgkFQpWiXZN7mAQ==",
9090
"dependencies": {
9191
"Microsoft.NETCore.Platforms": "1.1.0"
9292
}
@@ -167,8 +167,8 @@
167167
"folly": {
168168
"type": "Project",
169169
"dependencies": {
170-
"Fmt": "[1.0.0, )",
171-
"boost": "[1.76.0, )"
170+
"boost": "[1.76.0, )",
171+
"fmt": "[1.0.0, )"
172172
}
173173
},
174174
"microsoft.reactnative": {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,10 +2546,10 @@
25462546
prompts "^2.4.2"
25472547
semver "^7.5.2"
25482548

2549-
"@react-native-picker/picker@2.4.10":
2550-
version "2.4.10"
2551-
resolved "https://registry.yarnpkg.com/@react-native-picker/picker/-/picker-2.4.10.tgz#339c7bfc6e1d9a5e934122eaaa7767dc1c5fb725"
2552-
integrity sha512-EvAlHmPEPOwvbP6Pjg/gtDV3XJzIjIxr10fXFNlX5r9HeHw582G1Zt2o8FLyB718nOttgj8HYUTGxvhu4N65sQ==
2549+
"@react-native-picker/picker@^2.5.1":
2550+
version "2.6.1"
2551+
resolved "https://registry.yarnpkg.com/@react-native-picker/picker/-/picker-2.6.1.tgz#3b20ddd1385fab0487db103dc6519570f8892e6d"
2552+
integrity sha512-oJftvmLOj6Y6/bF4kPcK6L83yNBALGmqNYugf94BzP0FQGpHBwimVN2ygqkQ2Sn2ZU3pGUZMs0jV6+Gku2GyYg==
25532553

25542554
"@react-native/[email protected]":
25552555
version "0.73.0-nightly-20231002-0371014a3"

0 commit comments

Comments
 (0)