Skip to content

Commit 765ddf8

Browse files
authored
fix(ios): use YGNodeConstRef in shadow view (#868)
* Update RNDateTimePickerShadowView.m * update detox version * update detox * remove detox patch
1 parent 38a3044 commit 765ddf8

File tree

4 files changed

+56
-37
lines changed

4 files changed

+56
-37
lines changed

ios/RNDateTimePickerShadowView.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ - (void)setTimeZoneName:(NSString *)timeZoneName {
4141
YGNodeMarkDirty(self.yogaNode);
4242
}
4343

44-
static YGSize RNDateTimePickerShadowViewMeasure(YGNodeRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode)
44+
static YGSize RNDateTimePickerShadowViewMeasure(YGNodeConstRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode)
4545
{
4646
RNDateTimePickerShadowView *shadowPickerView = (__bridge RNDateTimePickerShadowView *)YGNodeGetContext(node);
4747

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@semantic-release/git": "^10.0.1",
7474
"@testing-library/react-native": "9.1.0",
7575
"babel-jest": "^29.5.0",
76-
"detox": "^20.9.1",
76+
"detox": "^20.19.3",
7777
"eslint": "^8.42.0",
7878
"eslint-plugin-ft-flow": "^2.0.1",
7979
"eslint-plugin-prettier": "^4.2.1",

patches/detox+20.13.5.patch

-28
This file was deleted.

yarn.lock

+54-7
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,11 @@
899899
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.54.0.tgz#4fab9a2ff7860082c304f750e94acd644cf984cf"
900900
integrity sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==
901901

902+
"@flatten-js/interval-tree@^1.1.2":
903+
version "1.1.2"
904+
resolved "https://registry.yarnpkg.com/@flatten-js/interval-tree/-/interval-tree-1.1.2.tgz#fcc891da48bc230392884be01c26fe8c625702e8"
905+
integrity sha512-OwLoV9E/XM6b7bes2rSFnGNjyRy7vcoIHFTnmBR2WAaZTf0Fe4EX4GdA65vU1KgFAasti7iRSg2dZfYd1Zt00Q==
906+
902907
"@gar/promisify@^1.1.3":
903908
version "1.1.3"
904909
resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6"
@@ -3320,6 +3325,16 @@ builtins@^5.0.0:
33203325
dependencies:
33213326
semver "^7.0.0"
33223327

3328+
bunyamin@^1.5.2:
3329+
version "1.5.2"
3330+
resolved "https://registry.yarnpkg.com/bunyamin/-/bunyamin-1.5.2.tgz#681db204c0b16531369d5c1f6c89dc8d760b7558"
3331+
integrity sha512-Xp2nfqk33zt3nX90OSTkLVOc5N+1zdR3MWvfLHoIrm3cGRkdxPTPYB9CCgrDV8oum5rbghJjAbmXFXOrRXvMtg==
3332+
dependencies:
3333+
"@flatten-js/interval-tree" "^1.1.2"
3334+
multi-sort-stream "^1.0.4"
3335+
stream-json "^1.7.5"
3336+
trace-event-lib "^1.3.1"
3337+
33233338
bunyan-debug-stream@^3.1.0:
33243339
version "3.1.0"
33253340
resolved "https://registry.yarnpkg.com/bunyan-debug-stream/-/bunyan-debug-stream-3.1.0.tgz#78309c67ad85cfb8f011155334152c49209dcda8"
@@ -3337,6 +3352,18 @@ bunyan@^1.8.12:
33373352
mv "~2"
33383353
safe-json-stringify "~1"
33393354

3355+
bunyan@^2.0.5:
3356+
version "2.0.5"
3357+
resolved "https://registry.yarnpkg.com/bunyan/-/bunyan-2.0.5.tgz#9dd056755220dddd8b5bb9cf76f3d0d766e96e71"
3358+
integrity sha512-Jvl74TdxCN6rSP9W1I6+UOUtwslTDqsSFkDqZlFb/ilaSvQ+bZAnXT/GT97IZ5L+Vph0joPZPhxUyn6FLNmFAA==
3359+
dependencies:
3360+
exeunt "1.1.0"
3361+
optionalDependencies:
3362+
dtrace-provider "~0.8"
3363+
moment "^2.19.3"
3364+
mv "~2"
3365+
safe-json-stringify "~1"
3366+
33403367
33413368
version "3.0.0"
33423369
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
@@ -4103,10 +4130,10 @@ detect-newline@^3.0.0:
41034130
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
41044131
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
41054132

4106-
detox@^20.9.1:
4107-
version "20.13.5"
4108-
resolved "https://registry.yarnpkg.com/detox/-/detox-20.13.5.tgz#5093916d9dfbca75b63ac27915c4e728967c5ef0"
4109-
integrity sha512-V0t1QuRI5rsiXEPBakjjjGGo8Y5kLi4KXhLrcvnpO8id6m7UtObj91wj+4cCnMRX2eSohXu9wR+HbD6IKcO9sA==
4133+
detox@^20.19.3:
4134+
version "20.19.3"
4135+
resolved "https://registry.yarnpkg.com/detox/-/detox-20.19.3.tgz#68c8c1d569fc98a69a1222fa3d56106953b46f31"
4136+
integrity sha512-5axCZVfVNB4SgKej4ONIAVXkPgvWXd5ULSTemmWGA8oLRmlZpELrhBXgAcTP4MEY/tArG1v0Cx4NWyoda/Lyiw==
41104137
dependencies:
41114138
ajv "^8.6.3"
41124139
bunyan "^1.8.12"
@@ -4120,6 +4147,7 @@ detox@^20.9.1:
41204147
funpermaproxy "^1.1.0"
41214148
glob "^8.0.3"
41224149
ini "^1.3.4"
4150+
jest-environment-emit "^1.0.5"
41234151
json-cycle "^1.3.0"
41244152
lodash "^4.17.11"
41254153
multi-sort-stream "^1.0.3"
@@ -4679,6 +4707,11 @@ execa@^5.0.0, execa@^5.1.1:
46794707
signal-exit "^3.0.3"
46804708
strip-final-newline "^2.0.0"
46814709

4710+
4711+
version "1.1.0"
4712+
resolved "https://registry.yarnpkg.com/exeunt/-/exeunt-1.1.0.tgz#af72db6f94b3cb75e921aee375d513049843d284"
4713+
integrity sha512-dd++Yn/0Fp+gtJ04YHov7MeAii+LFivJc6KqnJNfplzLVUkUDrfKoQDTLlCgzcW15vY5hKlHasWeIsQJ8agHsw==
4714+
46824715
exit@^0.1.2:
46834716
version "0.1.2"
46844717
resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
@@ -6153,6 +6186,20 @@ jest-each@^29.7.0:
61536186
jest-util "^29.7.0"
61546187
pretty-format "^29.7.0"
61556188

6189+
jest-environment-emit@^1.0.5:
6190+
version "1.0.7"
6191+
resolved "https://registry.yarnpkg.com/jest-environment-emit/-/jest-environment-emit-1.0.7.tgz#14c2197e9fa48affa25b15fc5f4a74690aea7efd"
6192+
integrity sha512-/0AYqbL3zrfRTtGyzTZwgRxQZiDXEM8ZUfY7Uscla/XGs9vszx4f0XTSZqAk3CQaiwYAoKvFZkB2vSKm1Q08fQ==
6193+
dependencies:
6194+
bunyamin "^1.5.2"
6195+
bunyan "^2.0.5"
6196+
bunyan-debug-stream "^3.1.0"
6197+
funpermaproxy "^1.1.0"
6198+
lodash.merge "^4.6.2"
6199+
node-ipc "9.2.1"
6200+
strip-ansi "^6.0.0"
6201+
tslib "^2.5.3"
6202+
61566203
jest-environment-node@^29.2.1, jest-environment-node@^29.7.0:
61576204
version "29.7.0"
61586205
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376"
@@ -8031,7 +8078,7 @@ [email protected], ms@^2.0.0, ms@^2.1.2:
80318078
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
80328079
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
80338080

8034-
multi-sort-stream@^1.0.3:
8081+
multi-sort-stream@^1.0.3, multi-sort-stream@^1.0.4:
80358082
version "1.0.4"
80368083
resolved "https://registry.yarnpkg.com/multi-sort-stream/-/multi-sort-stream-1.0.4.tgz#e4348edc9edc36e16333e531a90c0f166235cc99"
80378084
integrity sha512-hAZ8JOEQFbgdLe8HWZbb7gdZg0/yAIHF00Qfo3kd0rXFv96nXe+/bPTrKHZ2QMHugGX4FiAyET1Lt+jiB+7Qlg==
@@ -10093,7 +10140,7 @@ stream-combiner2@~1.1.1:
1009310140
duplexer2 "~0.1.0"
1009410141
readable-stream "^2.0.2"
1009510142

10096-
stream-json@^1.7.4:
10143+
stream-json@^1.7.4, stream-json@^1.7.5:
1009710144
version "1.8.0"
1009810145
resolved "https://registry.yarnpkg.com/stream-json/-/stream-json-1.8.0.tgz#53f486b2e3b4496c506131f8d7260ba42def151c"
1009910146
integrity sha512-HZfXngYHUAr1exT4fxlbc1IOce1RYxp2ldeaf97LYCOPSoOqY/1Psp7iGvpb+6JIOgkra9zDYnPX01hGAHzEPw==
@@ -10474,7 +10521,7 @@ tslib@^1.8.1:
1047410521
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
1047510522
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
1047610523

10477-
tslib@^2.0.1, tslib@^2.2.0:
10524+
tslib@^2.0.1, tslib@^2.2.0, tslib@^2.5.3:
1047810525
version "2.6.2"
1047910526
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
1048010527
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==

0 commit comments

Comments
 (0)