react-native 0.83.0-nightly-20250920-362ed179a → 0.83.0-nightly-20250922-5ef054921
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Animated/components/AnimatedImage.js +4 -3
- package/Libraries/Animated/components/AnimatedText.js +7 -3
- package/Libraries/Animated/components/AnimatedView.js +3 -2
- package/Libraries/Animated/createAnimatedComponent.js +23 -11
- package/Libraries/Components/ScrollView/ScrollView.js +1 -0
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Image/ImageInjection.js +3 -6
- package/Libraries/Image/ImageTypes.flow.js +3 -7
- package/Libraries/NativeComponent/NativeComponentRegistry.js +2 -0
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/RCTDevMenu.mm +18 -8
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/jsi/jsi/decorator.h +108 -108
- package/package.json +8 -8
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +4 -3
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +6 -9
- package/types_generated/Libraries/Image/ImageViewNativeComponent.d.ts +0 -68
- package/types_generated/Libraries/Image/TextInlineImageNativeComponent.d.ts +0 -42
|
@@ -14,9 +14,10 @@ import Image from '../../Image/Image';
|
|
|
14
14
|
import createAnimatedComponent from '../createAnimatedComponent';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
|
|
17
|
-
export default (createAnimatedComponent
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
export default (createAnimatedComponent<
|
|
18
|
+
$FlowFixMe,
|
|
19
|
+
React.ElementRef<typeof Image>,
|
|
20
|
+
>((Image: $FlowFixMe)): AnimatedComponentType<
|
|
20
21
|
React.ElementConfig<typeof Image>,
|
|
21
22
|
React.ElementRef<typeof Image>,
|
|
22
23
|
>);
|
|
@@ -14,6 +14,10 @@ import Text, {type TextProps} from '../../Text/Text';
|
|
|
14
14
|
import createAnimatedComponent from '../createAnimatedComponent';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
|
|
17
|
-
export default (createAnimatedComponent
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
export default (createAnimatedComponent<
|
|
18
|
+
$FlowFixMe,
|
|
19
|
+
React.ElementRef<typeof Text>,
|
|
20
|
+
>((Text: $FlowFixMe)): AnimatedComponentType<
|
|
21
|
+
TextProps,
|
|
22
|
+
React.ElementRef<typeof Text>,
|
|
23
|
+
>);
|
|
@@ -15,7 +15,8 @@ import View from '../../Components/View/View';
|
|
|
15
15
|
import createAnimatedComponent from '../createAnimatedComponent';
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
// $FlowFixMe[incompatible-type]
|
|
19
|
+
export default createAnimatedComponent(View) as AnimatedComponentType<
|
|
19
20
|
ViewProps,
|
|
20
21
|
React.ElementRef<typeof View>,
|
|
21
|
-
|
|
22
|
+
>;
|
|
@@ -63,17 +63,29 @@ type PassThroughProps = $ReadOnly<{
|
|
|
63
63
|
passthroughAnimatedPropExplicitValues?: ViewProps | null,
|
|
64
64
|
}>;
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
66
|
+
type LooseOmit<O: interface {}, K: $Keys<$FlowFixMe>> = Pick<
|
|
67
|
+
O,
|
|
68
|
+
Exclude<$Keys<O>, K>,
|
|
69
|
+
>;
|
|
70
|
+
|
|
71
|
+
export type AnimatedProps<Props: {...}> = LooseOmit<
|
|
72
|
+
{
|
|
73
|
+
[K in keyof Props]: K extends NonAnimatedProps
|
|
74
|
+
? Props[K]
|
|
75
|
+
: WithAnimatedValue<Props[K]>,
|
|
76
|
+
},
|
|
77
|
+
'ref',
|
|
78
|
+
> &
|
|
79
|
+
PassThroughProps;
|
|
80
|
+
|
|
81
|
+
export type AnimatedBaseProps<Props: {...}> = LooseOmit<
|
|
82
|
+
{
|
|
83
|
+
[K in keyof Props]: K extends NonAnimatedProps
|
|
84
|
+
? Props[K]
|
|
85
|
+
: WithAnimatedValue<Props[K]>,
|
|
86
|
+
},
|
|
87
|
+
'ref',
|
|
88
|
+
>;
|
|
77
89
|
|
|
78
90
|
export type AnimatedComponentType<Props: {...}, +Instance = mixed> = component(
|
|
79
91
|
ref?: React.RefSetter<Instance>,
|
|
@@ -1690,6 +1690,7 @@ class ScrollView extends React.Component<ScrollViewProps, ScrollViewState> {
|
|
|
1690
1690
|
return (
|
|
1691
1691
|
<StickyHeaderComponent
|
|
1692
1692
|
key={key}
|
|
1693
|
+
/* $FlowFixMe[incompatible-type] */
|
|
1693
1694
|
ref={ref => this._setStickyHeaderRef(key, ref)}
|
|
1694
1695
|
nextHeaderLayoutY={this._headerLayoutYs.get(
|
|
1695
1696
|
this._getKeyForIndex(nextIndex, children),
|
|
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
|
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 83;
|
|
31
31
|
static patch: number = 0;
|
|
32
|
-
static prerelease: string | null = 'nightly-
|
|
32
|
+
static prerelease: string | null = 'nightly-20250922-5ef054921';
|
|
33
33
|
|
|
34
34
|
static getVersionString(): string {
|
|
35
35
|
return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
|
|
@@ -8,11 +8,8 @@
|
|
|
8
8
|
* @format
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import type {
|
|
12
|
-
|
|
13
|
-
AbstractImageIOS,
|
|
14
|
-
ImageType as ImageComponent,
|
|
15
|
-
} from './ImageTypes.flow';
|
|
11
|
+
import type {HostInstance} from '../..';
|
|
12
|
+
import type {AbstractImageAndroid, AbstractImageIOS} from './ImageTypes.flow';
|
|
16
13
|
|
|
17
14
|
import useMergeRefs from '../Utilities/useMergeRefs';
|
|
18
15
|
import * as React from 'react';
|
|
@@ -33,7 +30,7 @@ export function unstable_getImageComponentDecorator(): ?ImageComponentDecorator
|
|
|
33
30
|
return injectedImageComponentDecorator;
|
|
34
31
|
}
|
|
35
32
|
|
|
36
|
-
type ImageInstance =
|
|
33
|
+
type ImageInstance = HostInstance;
|
|
37
34
|
|
|
38
35
|
type ImageAttachedCallback = (
|
|
39
36
|
imageInstance: ImageInstance,
|
|
@@ -8,12 +8,11 @@
|
|
|
8
8
|
* @format
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
+
import type {HostInstance} from '../..';
|
|
11
12
|
import type {RootTag} from '../Types/RootTagTypes';
|
|
12
13
|
import type {ResolvedAssetSource} from './AssetSourceResolver';
|
|
13
14
|
import type {ImageProps as ImagePropsType} from './ImageProps';
|
|
14
15
|
import type {ImageSource} from './ImageSource';
|
|
15
|
-
import typeof ImageViewNativeComponent from './ImageViewNativeComponent';
|
|
16
|
-
import typeof TextInlineImageNativeComponent from './TextInlineImageNativeComponent';
|
|
17
16
|
|
|
18
17
|
import * as React from 'react';
|
|
19
18
|
|
|
@@ -67,17 +66,14 @@ type ImageComponentStaticsAndroid = $ReadOnly<{
|
|
|
67
66
|
}>;
|
|
68
67
|
|
|
69
68
|
export type AbstractImageAndroid = component(
|
|
70
|
-
ref?: React.RefSetter<
|
|
71
|
-
| React.ElementRef<TextInlineImageNativeComponent>
|
|
72
|
-
| React.ElementRef<ImageViewNativeComponent>,
|
|
73
|
-
>,
|
|
69
|
+
ref?: React.RefSetter<HostInstance>,
|
|
74
70
|
...props: ImagePropsType
|
|
75
71
|
);
|
|
76
72
|
|
|
77
73
|
export type ImageAndroid = AbstractImageAndroid & ImageComponentStaticsAndroid;
|
|
78
74
|
|
|
79
75
|
export type AbstractImageIOS = component(
|
|
80
|
-
ref?: React.RefSetter<
|
|
76
|
+
ref?: React.RefSetter<HostInstance>,
|
|
81
77
|
...props: ImagePropsType
|
|
82
78
|
);
|
|
83
79
|
|
|
@@ -129,11 +129,13 @@ export function getWithFallback_DEPRECATED<Config: {...}>(
|
|
|
129
129
|
// `getRuntimeConfig == null` when static view configs are disabled
|
|
130
130
|
// If `setRuntimeConfigProvider` is not configured, use native reflection.
|
|
131
131
|
if (hasNativeViewConfig(name)) {
|
|
132
|
+
/* $FlowFixMe[incompatible-type] Extra ref prop */
|
|
132
133
|
return get<Config>(name, viewConfigProvider);
|
|
133
134
|
}
|
|
134
135
|
} else {
|
|
135
136
|
// If there is no runtime config, then the native component is unavailable.
|
|
136
137
|
if (getRuntimeConfig(name) != null) {
|
|
138
|
+
/* $FlowFixMe[incompatible-type] Extra ref prop */
|
|
137
139
|
return get<Config>(name, viewConfigProvider);
|
|
138
140
|
}
|
|
139
141
|
}
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
|
|
|
24
24
|
RCTVersionMajor: @(0),
|
|
25
25
|
RCTVersionMinor: @(83),
|
|
26
26
|
RCTVersionPatch: @(0),
|
|
27
|
-
RCTVersionPrerelease: @"nightly-
|
|
27
|
+
RCTVersionPrerelease: @"nightly-20250922-5ef054921",
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
return __rnVersion;
|
|
@@ -365,11 +365,14 @@ RCT_EXPORT_MODULE()
|
|
|
365
365
|
handler:^(__unused UIAlertAction *action) {
|
|
366
366
|
[weakSelf setDefaultJSBundle];
|
|
367
367
|
}]];
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
368
|
+
UIAlertAction *configCancelAction =
|
|
369
|
+
[UIAlertAction actionWithTitle:@"Cancel"
|
|
370
|
+
style:UIAlertActionStyleCancel
|
|
371
|
+
handler:^(__unused UIAlertAction *action) {
|
|
372
|
+
return;
|
|
373
|
+
}];
|
|
374
|
+
[configCancelAction setValue:[UIColor systemRedColor] forKey:@"titleTextColor"];
|
|
375
|
+
[alertController addAction:configCancelAction];
|
|
373
376
|
[RCTPresentedViewController() presentViewController:alertController animated:YES completion:NULL];
|
|
374
377
|
}]];
|
|
375
378
|
|
|
@@ -390,6 +393,11 @@ RCT_EXPORT_METHOD(show)
|
|
|
390
393
|
|
|
391
394
|
_actionSheet = [UIAlertController alertControllerWithTitle:@"React Native Dev Menu" message:nil preferredStyle:style];
|
|
392
395
|
|
|
396
|
+
NSAttributedString *title =
|
|
397
|
+
[[NSAttributedString alloc] initWithString:@"React Native Dev Menu"
|
|
398
|
+
attributes:@{NSFontAttributeName : [UIFont boldSystemFontOfSize:17]}];
|
|
399
|
+
[_actionSheet setValue:title forKey:@"_attributedTitle"];
|
|
400
|
+
|
|
393
401
|
NSArray<RCTDevMenuItem *> *items = [self _menuItemsToPresent];
|
|
394
402
|
for (RCTDevMenuItem *item in items) {
|
|
395
403
|
UIAlertAction *action = [UIAlertAction actionWithTitle:item.title
|
|
@@ -399,9 +407,11 @@ RCT_EXPORT_METHOD(show)
|
|
|
399
407
|
[_actionSheet addAction:action];
|
|
400
408
|
}
|
|
401
409
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
410
|
+
UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"Cancel"
|
|
411
|
+
style:UIAlertActionStyleCancel
|
|
412
|
+
handler:[self alertActionHandlerForDevItem:nil]];
|
|
413
|
+
[cancelAction setValue:[UIColor systemRedColor] forKey:@"titleTextColor"];
|
|
414
|
+
[_actionSheet addAction:cancelAction];
|
|
405
415
|
|
|
406
416
|
_presentedItems = items;
|
|
407
417
|
[RCTPresentedViewController() presentViewController:_actionSheet animated:YES completion:nil];
|
|
@@ -22,7 +22,7 @@ constexpr struct {
|
|
|
22
22
|
int32_t Major = 0;
|
|
23
23
|
int32_t Minor = 83;
|
|
24
24
|
int32_t Patch = 0;
|
|
25
|
-
std::string_view Prerelease = "nightly-
|
|
25
|
+
std::string_view Prerelease = "nightly-20250922-5ef054921";
|
|
26
26
|
} ReactNativeVersion;
|
|
27
27
|
|
|
28
28
|
} // namespace facebook::react
|
|
@@ -141,10 +141,10 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
141
141
|
}
|
|
142
142
|
std::string description() override {
|
|
143
143
|
return plain().description();
|
|
144
|
-
}
|
|
144
|
+
}
|
|
145
145
|
bool isInspectable() override {
|
|
146
146
|
return plain().isInspectable();
|
|
147
|
-
}
|
|
147
|
+
}
|
|
148
148
|
Instrumentation& instrumentation() override {
|
|
149
149
|
return *this;
|
|
150
150
|
}
|
|
@@ -160,45 +160,45 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
160
160
|
|
|
161
161
|
Runtime::PointerValue* cloneSymbol(const Runtime::PointerValue* pv) override {
|
|
162
162
|
return plain_.cloneSymbol(pv);
|
|
163
|
-
}
|
|
163
|
+
}
|
|
164
164
|
Runtime::PointerValue* cloneBigInt(const Runtime::PointerValue* pv) override {
|
|
165
165
|
return plain_.cloneBigInt(pv);
|
|
166
|
-
}
|
|
166
|
+
}
|
|
167
167
|
Runtime::PointerValue* cloneString(const Runtime::PointerValue* pv) override {
|
|
168
168
|
return plain_.cloneString(pv);
|
|
169
|
-
}
|
|
169
|
+
}
|
|
170
170
|
Runtime::PointerValue* cloneObject(const Runtime::PointerValue* pv) override {
|
|
171
171
|
return plain_.cloneObject(pv);
|
|
172
|
-
}
|
|
172
|
+
}
|
|
173
173
|
Runtime::PointerValue* clonePropNameID(
|
|
174
174
|
const Runtime::PointerValue* pv) override {
|
|
175
175
|
return plain_.clonePropNameID(pv);
|
|
176
|
-
}
|
|
176
|
+
}
|
|
177
177
|
|
|
178
178
|
PropNameID createPropNameIDFromAscii(const char* str, size_t length)
|
|
179
179
|
override {
|
|
180
180
|
return plain_.createPropNameIDFromAscii(str, length);
|
|
181
|
-
}
|
|
181
|
+
}
|
|
182
182
|
PropNameID createPropNameIDFromUtf8(const uint8_t* utf8, size_t length)
|
|
183
183
|
override {
|
|
184
184
|
return plain_.createPropNameIDFromUtf8(utf8, length);
|
|
185
|
-
}
|
|
185
|
+
}
|
|
186
186
|
PropNameID createPropNameIDFromString(const String& str) override {
|
|
187
187
|
return plain_.createPropNameIDFromString(str);
|
|
188
|
-
}
|
|
188
|
+
}
|
|
189
189
|
PropNameID createPropNameIDFromUtf16(const char16_t* utf16, size_t length)
|
|
190
190
|
override {
|
|
191
191
|
return plain_.createPropNameIDFromUtf16(utf16, length);
|
|
192
192
|
}
|
|
193
193
|
PropNameID createPropNameIDFromSymbol(const Symbol& sym) override {
|
|
194
194
|
return plain_.createPropNameIDFromSymbol(sym);
|
|
195
|
-
}
|
|
195
|
+
}
|
|
196
196
|
std::string utf8(const PropNameID& id) override {
|
|
197
197
|
return plain_.utf8(id);
|
|
198
|
-
}
|
|
198
|
+
}
|
|
199
199
|
bool compare(const PropNameID& a, const PropNameID& b) override {
|
|
200
200
|
return plain_.compare(a, b);
|
|
201
|
-
}
|
|
201
|
+
}
|
|
202
202
|
|
|
203
203
|
std::string symbolToString(const Symbol& sym) override {
|
|
204
204
|
return plain_.symbolToString(sym);
|
|
@@ -225,10 +225,10 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
225
225
|
|
|
226
226
|
String createStringFromAscii(const char* str, size_t length) override {
|
|
227
227
|
return plain_.createStringFromAscii(str, length);
|
|
228
|
-
}
|
|
228
|
+
}
|
|
229
229
|
String createStringFromUtf8(const uint8_t* utf8, size_t length) override {
|
|
230
230
|
return plain_.createStringFromUtf8(utf8, length);
|
|
231
|
-
}
|
|
231
|
+
}
|
|
232
232
|
String createStringFromUtf16(const char16_t* utf16, size_t length) override {
|
|
233
233
|
return plain_.createStringFromUtf16(utf16, length);
|
|
234
234
|
}
|
|
@@ -265,22 +265,22 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
265
265
|
|
|
266
266
|
Object createObject() override {
|
|
267
267
|
return plain_.createObject();
|
|
268
|
-
}
|
|
268
|
+
}
|
|
269
269
|
|
|
270
270
|
Object createObject(std::shared_ptr<HostObject> ho) override {
|
|
271
271
|
return plain_.createObject(
|
|
272
272
|
std::make_shared<DecoratedHostObject>(*this, std::move(ho)));
|
|
273
|
-
}
|
|
273
|
+
}
|
|
274
274
|
std::shared_ptr<HostObject> getHostObject(const jsi::Object& o) override {
|
|
275
275
|
std::shared_ptr<HostObject> dho = plain_.getHostObject(o);
|
|
276
276
|
return static_cast<DecoratedHostObject&>(*dho).plainHO_;
|
|
277
|
-
}
|
|
277
|
+
}
|
|
278
278
|
HostFunctionType& getHostFunction(const jsi::Function& f) override {
|
|
279
279
|
HostFunctionType& dhf = plain_.getHostFunction(f);
|
|
280
280
|
// This will fail if a cpp file including this header is not compiled
|
|
281
281
|
// with RTTI.
|
|
282
282
|
return dhf.target<DecoratedHostFunction>()->plainHF_;
|
|
283
|
-
}
|
|
283
|
+
}
|
|
284
284
|
|
|
285
285
|
bool hasNativeState(const Object& o) override {
|
|
286
286
|
return plain_.hasNativeState(o);
|
|
@@ -307,19 +307,19 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
307
307
|
|
|
308
308
|
Value getProperty(const Object& o, const PropNameID& name) override {
|
|
309
309
|
return plain_.getProperty(o, name);
|
|
310
|
-
}
|
|
310
|
+
}
|
|
311
311
|
Value getProperty(const Object& o, const String& name) override {
|
|
312
312
|
return plain_.getProperty(o, name);
|
|
313
|
-
}
|
|
313
|
+
}
|
|
314
314
|
Value getProperty(const Object& o, const Value& name) override {
|
|
315
315
|
return plain_.getProperty(o, name);
|
|
316
316
|
}
|
|
317
317
|
bool hasProperty(const Object& o, const PropNameID& name) override {
|
|
318
318
|
return plain_.hasProperty(o, name);
|
|
319
|
-
}
|
|
319
|
+
}
|
|
320
320
|
bool hasProperty(const Object& o, const String& name) override {
|
|
321
321
|
return plain_.hasProperty(o, name);
|
|
322
|
-
}
|
|
322
|
+
}
|
|
323
323
|
bool hasProperty(const Object& o, const Value& name) override {
|
|
324
324
|
return plain_.hasProperty(o, name);
|
|
325
325
|
}
|
|
@@ -328,11 +328,11 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
328
328
|
const PropNameID& name,
|
|
329
329
|
const Value& value) override {
|
|
330
330
|
plain_.setPropertyValue(o, name, value);
|
|
331
|
-
}
|
|
331
|
+
}
|
|
332
332
|
void setPropertyValue(const Object& o, const String& name, const Value& value)
|
|
333
333
|
override {
|
|
334
334
|
plain_.setPropertyValue(o, name, value);
|
|
335
|
-
}
|
|
335
|
+
}
|
|
336
336
|
void setPropertyValue(const Object& o, const Value& name, const Value& value)
|
|
337
337
|
override {
|
|
338
338
|
plain_.setPropertyValue(o, name, value);
|
|
@@ -352,53 +352,53 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
352
352
|
|
|
353
353
|
bool isArray(const Object& o) const override {
|
|
354
354
|
return plain_.isArray(o);
|
|
355
|
-
}
|
|
355
|
+
}
|
|
356
356
|
bool isArrayBuffer(const Object& o) const override {
|
|
357
357
|
return plain_.isArrayBuffer(o);
|
|
358
|
-
}
|
|
358
|
+
}
|
|
359
359
|
bool isFunction(const Object& o) const override {
|
|
360
360
|
return plain_.isFunction(o);
|
|
361
|
-
}
|
|
361
|
+
}
|
|
362
362
|
bool isHostObject(const jsi::Object& o) const override {
|
|
363
363
|
return plain_.isHostObject(o);
|
|
364
|
-
}
|
|
364
|
+
}
|
|
365
365
|
bool isHostFunction(const jsi::Function& f) const override {
|
|
366
366
|
return plain_.isHostFunction(f);
|
|
367
|
-
}
|
|
367
|
+
}
|
|
368
368
|
Array getPropertyNames(const Object& o) override {
|
|
369
369
|
return plain_.getPropertyNames(o);
|
|
370
|
-
}
|
|
370
|
+
}
|
|
371
371
|
|
|
372
372
|
WeakObject createWeakObject(const Object& o) override {
|
|
373
373
|
return plain_.createWeakObject(o);
|
|
374
|
-
}
|
|
374
|
+
}
|
|
375
375
|
Value lockWeakObject(const WeakObject& wo) override {
|
|
376
376
|
return plain_.lockWeakObject(wo);
|
|
377
|
-
}
|
|
377
|
+
}
|
|
378
378
|
|
|
379
379
|
Array createArray(size_t length) override {
|
|
380
380
|
return plain_.createArray(length);
|
|
381
|
-
}
|
|
381
|
+
}
|
|
382
382
|
ArrayBuffer createArrayBuffer(
|
|
383
383
|
std::shared_ptr<MutableBuffer> buffer) override {
|
|
384
384
|
return plain_.createArrayBuffer(std::move(buffer));
|
|
385
|
-
}
|
|
385
|
+
}
|
|
386
386
|
size_t size(const Array& a) override {
|
|
387
387
|
return plain_.size(a);
|
|
388
|
-
}
|
|
388
|
+
}
|
|
389
389
|
size_t size(const ArrayBuffer& ab) override {
|
|
390
390
|
return plain_.size(ab);
|
|
391
|
-
}
|
|
391
|
+
}
|
|
392
392
|
uint8_t* data(const ArrayBuffer& ab) override {
|
|
393
393
|
return plain_.data(ab);
|
|
394
|
-
}
|
|
394
|
+
}
|
|
395
395
|
Value getValueAtIndex(const Array& a, size_t i) override {
|
|
396
396
|
return plain_.getValueAtIndex(a, i);
|
|
397
|
-
}
|
|
397
|
+
}
|
|
398
398
|
void setValueAtIndexImpl(const Array& a, size_t i, const Value& value)
|
|
399
399
|
override {
|
|
400
400
|
plain_.setValueAtIndexImpl(a, i, value);
|
|
401
|
-
}
|
|
401
|
+
}
|
|
402
402
|
|
|
403
403
|
Function createFunctionFromHostFunction(
|
|
404
404
|
const PropNameID& name,
|
|
@@ -406,18 +406,18 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
406
406
|
HostFunctionType func) override {
|
|
407
407
|
return plain_.createFunctionFromHostFunction(
|
|
408
408
|
name, paramCount, DecoratedHostFunction(*this, std::move(func)));
|
|
409
|
-
}
|
|
409
|
+
}
|
|
410
410
|
Value call(
|
|
411
411
|
const Function& f,
|
|
412
412
|
const Value& jsThis,
|
|
413
413
|
const Value* args,
|
|
414
414
|
size_t count) override {
|
|
415
415
|
return plain_.call(f, jsThis, args, count);
|
|
416
|
-
}
|
|
416
|
+
}
|
|
417
417
|
Value callAsConstructor(const Function& f, const Value* args, size_t count)
|
|
418
418
|
override {
|
|
419
419
|
return plain_.callAsConstructor(f, args, count);
|
|
420
|
-
}
|
|
420
|
+
}
|
|
421
421
|
|
|
422
422
|
void setRuntimeDataImpl(
|
|
423
423
|
const UUID& uuid,
|
|
@@ -440,20 +440,20 @@ class RuntimeDecorator : public Base, private jsi::Instrumentation {
|
|
|
440
440
|
|
|
441
441
|
bool strictEquals(const Symbol& a, const Symbol& b) const override {
|
|
442
442
|
return plain_.strictEquals(a, b);
|
|
443
|
-
}
|
|
443
|
+
}
|
|
444
444
|
bool strictEquals(const BigInt& a, const BigInt& b) const override {
|
|
445
445
|
return plain_.strictEquals(a, b);
|
|
446
|
-
}
|
|
446
|
+
}
|
|
447
447
|
bool strictEquals(const String& a, const String& b) const override {
|
|
448
448
|
return plain_.strictEquals(a, b);
|
|
449
|
-
}
|
|
449
|
+
}
|
|
450
450
|
bool strictEquals(const Object& a, const Object& b) const override {
|
|
451
451
|
return plain_.strictEquals(a, b);
|
|
452
|
-
}
|
|
452
|
+
}
|
|
453
453
|
|
|
454
454
|
bool instanceOf(const Object& o, const Function& f) override {
|
|
455
455
|
return plain_.instanceOf(o, f);
|
|
456
|
-
}
|
|
456
|
+
}
|
|
457
457
|
|
|
458
458
|
// jsi::Instrumentation methods
|
|
459
459
|
|
|
@@ -654,11 +654,11 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
654
654
|
std::string description() override {
|
|
655
655
|
Around around{with_};
|
|
656
656
|
return RD::description();
|
|
657
|
-
}
|
|
657
|
+
}
|
|
658
658
|
bool isInspectable() override {
|
|
659
659
|
Around around{with_};
|
|
660
660
|
return RD::isInspectable();
|
|
661
|
-
}
|
|
661
|
+
}
|
|
662
662
|
|
|
663
663
|
// The jsi:: prefix is necessary because MSVC compiler complains C2247:
|
|
664
664
|
// Instrumentation is not accessible because RuntimeDecorator uses private
|
|
@@ -673,35 +673,35 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
673
673
|
Runtime::PointerValue* cloneSymbol(const Runtime::PointerValue* pv) override {
|
|
674
674
|
Around around{with_};
|
|
675
675
|
return RD::cloneSymbol(pv);
|
|
676
|
-
}
|
|
676
|
+
}
|
|
677
677
|
Runtime::PointerValue* cloneBigInt(const Runtime::PointerValue* pv) override {
|
|
678
678
|
Around around{with_};
|
|
679
679
|
return RD::cloneBigInt(pv);
|
|
680
|
-
}
|
|
680
|
+
}
|
|
681
681
|
Runtime::PointerValue* cloneString(const Runtime::PointerValue* pv) override {
|
|
682
682
|
Around around{with_};
|
|
683
683
|
return RD::cloneString(pv);
|
|
684
|
-
}
|
|
684
|
+
}
|
|
685
685
|
Runtime::PointerValue* cloneObject(const Runtime::PointerValue* pv) override {
|
|
686
686
|
Around around{with_};
|
|
687
687
|
return RD::cloneObject(pv);
|
|
688
|
-
}
|
|
688
|
+
}
|
|
689
689
|
Runtime::PointerValue* clonePropNameID(
|
|
690
690
|
const Runtime::PointerValue* pv) override {
|
|
691
691
|
Around around{with_};
|
|
692
692
|
return RD::clonePropNameID(pv);
|
|
693
|
-
}
|
|
693
|
+
}
|
|
694
694
|
|
|
695
695
|
PropNameID createPropNameIDFromAscii(const char* str, size_t length)
|
|
696
696
|
override {
|
|
697
697
|
Around around{with_};
|
|
698
698
|
return RD::createPropNameIDFromAscii(str, length);
|
|
699
|
-
}
|
|
699
|
+
}
|
|
700
700
|
PropNameID createPropNameIDFromUtf8(const uint8_t* utf8, size_t length)
|
|
701
701
|
override {
|
|
702
702
|
Around around{with_};
|
|
703
703
|
return RD::createPropNameIDFromUtf8(utf8, length);
|
|
704
|
-
}
|
|
704
|
+
}
|
|
705
705
|
PropNameID createPropNameIDFromUtf16(const char16_t* utf16, size_t length)
|
|
706
706
|
override {
|
|
707
707
|
Around around{with_};
|
|
@@ -710,58 +710,58 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
710
710
|
PropNameID createPropNameIDFromString(const String& str) override {
|
|
711
711
|
Around around{with_};
|
|
712
712
|
return RD::createPropNameIDFromString(str);
|
|
713
|
-
}
|
|
713
|
+
}
|
|
714
714
|
PropNameID createPropNameIDFromSymbol(const Symbol& sym) override {
|
|
715
715
|
Around around{with_};
|
|
716
716
|
return RD::createPropNameIDFromSymbol(sym);
|
|
717
|
-
}
|
|
717
|
+
}
|
|
718
718
|
std::string utf8(const PropNameID& id) override {
|
|
719
719
|
Around around{with_};
|
|
720
720
|
return RD::utf8(id);
|
|
721
|
-
}
|
|
721
|
+
}
|
|
722
722
|
bool compare(const PropNameID& a, const PropNameID& b) override {
|
|
723
723
|
Around around{with_};
|
|
724
724
|
return RD::compare(a, b);
|
|
725
|
-
}
|
|
725
|
+
}
|
|
726
726
|
|
|
727
727
|
std::string symbolToString(const Symbol& sym) override {
|
|
728
728
|
Around around{with_};
|
|
729
729
|
return RD::symbolToString(sym);
|
|
730
|
-
}
|
|
730
|
+
}
|
|
731
731
|
|
|
732
732
|
BigInt createBigIntFromInt64(int64_t i) override {
|
|
733
733
|
Around around{with_};
|
|
734
734
|
return RD::createBigIntFromInt64(i);
|
|
735
|
-
}
|
|
735
|
+
}
|
|
736
736
|
BigInt createBigIntFromUint64(uint64_t i) override {
|
|
737
737
|
Around around{with_};
|
|
738
738
|
return RD::createBigIntFromUint64(i);
|
|
739
|
-
}
|
|
739
|
+
}
|
|
740
740
|
bool bigintIsInt64(const BigInt& bi) override {
|
|
741
741
|
Around around{with_};
|
|
742
742
|
return RD::bigintIsInt64(bi);
|
|
743
|
-
}
|
|
743
|
+
}
|
|
744
744
|
bool bigintIsUint64(const BigInt& bi) override {
|
|
745
745
|
Around around{with_};
|
|
746
746
|
return RD::bigintIsUint64(bi);
|
|
747
|
-
}
|
|
747
|
+
}
|
|
748
748
|
uint64_t truncate(const BigInt& bi) override {
|
|
749
749
|
Around around{with_};
|
|
750
750
|
return RD::truncate(bi);
|
|
751
|
-
}
|
|
751
|
+
}
|
|
752
752
|
String bigintToString(const BigInt& bi, int i) override {
|
|
753
753
|
Around around{with_};
|
|
754
754
|
return RD::bigintToString(bi, i);
|
|
755
|
-
}
|
|
755
|
+
}
|
|
756
756
|
|
|
757
757
|
String createStringFromAscii(const char* str, size_t length) override {
|
|
758
758
|
Around around{with_};
|
|
759
759
|
return RD::createStringFromAscii(str, length);
|
|
760
|
-
}
|
|
760
|
+
}
|
|
761
761
|
String createStringFromUtf8(const uint8_t* utf8, size_t length) override {
|
|
762
762
|
Around around{with_};
|
|
763
763
|
return RD::createStringFromUtf8(utf8, length);
|
|
764
|
-
}
|
|
764
|
+
}
|
|
765
765
|
String createStringFromUtf16(const char16_t* utf16, size_t length) override {
|
|
766
766
|
Around around{with_};
|
|
767
767
|
return RD::createStringFromUtf16(utf16, length);
|
|
@@ -801,7 +801,7 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
801
801
|
Value createValueFromJsonUtf8(const uint8_t* json, size_t length) override {
|
|
802
802
|
Around around{with_};
|
|
803
803
|
return RD::createValueFromJsonUtf8(json, length);
|
|
804
|
-
}
|
|
804
|
+
}
|
|
805
805
|
|
|
806
806
|
Object createObjectWithPrototype(const Value& prototype) override {
|
|
807
807
|
Around around{with_};
|
|
@@ -811,33 +811,33 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
811
811
|
Object createObject() override {
|
|
812
812
|
Around around{with_};
|
|
813
813
|
return RD::createObject();
|
|
814
|
-
}
|
|
814
|
+
}
|
|
815
815
|
Object createObject(std::shared_ptr<HostObject> ho) override {
|
|
816
816
|
Around around{with_};
|
|
817
817
|
return RD::createObject(std::move(ho));
|
|
818
|
-
}
|
|
818
|
+
}
|
|
819
819
|
std::shared_ptr<HostObject> getHostObject(const jsi::Object& o) override {
|
|
820
820
|
Around around{with_};
|
|
821
821
|
return RD::getHostObject(o);
|
|
822
|
-
}
|
|
822
|
+
}
|
|
823
823
|
HostFunctionType& getHostFunction(const jsi::Function& f) override {
|
|
824
824
|
Around around{with_};
|
|
825
825
|
return RD::getHostFunction(f);
|
|
826
|
-
}
|
|
826
|
+
}
|
|
827
827
|
|
|
828
828
|
bool hasNativeState(const Object& o) override {
|
|
829
829
|
Around around{with_};
|
|
830
830
|
return RD::hasNativeState(o);
|
|
831
|
-
}
|
|
831
|
+
}
|
|
832
832
|
std::shared_ptr<NativeState> getNativeState(const Object& o) override {
|
|
833
833
|
Around around{with_};
|
|
834
834
|
return RD::getNativeState(o);
|
|
835
|
-
}
|
|
835
|
+
}
|
|
836
836
|
void setNativeState(const Object& o, std::shared_ptr<NativeState> state)
|
|
837
837
|
override {
|
|
838
838
|
Around around{with_};
|
|
839
839
|
RD::setNativeState(o, state);
|
|
840
|
-
}
|
|
840
|
+
}
|
|
841
841
|
|
|
842
842
|
void setPrototypeOf(const Object& object, const Value& prototype) override {
|
|
843
843
|
Around around{with_};
|
|
@@ -852,11 +852,11 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
852
852
|
Value getProperty(const Object& o, const PropNameID& name) override {
|
|
853
853
|
Around around{with_};
|
|
854
854
|
return RD::getProperty(o, name);
|
|
855
|
-
}
|
|
855
|
+
}
|
|
856
856
|
Value getProperty(const Object& o, const String& name) override {
|
|
857
857
|
Around around{with_};
|
|
858
858
|
return RD::getProperty(o, name);
|
|
859
|
-
}
|
|
859
|
+
}
|
|
860
860
|
Value getProperty(const Object& o, const Value& name) override {
|
|
861
861
|
Around around{with_};
|
|
862
862
|
return RD::getProperty(o, name);
|
|
@@ -864,11 +864,11 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
864
864
|
bool hasProperty(const Object& o, const PropNameID& name) override {
|
|
865
865
|
Around around{with_};
|
|
866
866
|
return RD::hasProperty(o, name);
|
|
867
|
-
}
|
|
867
|
+
}
|
|
868
868
|
bool hasProperty(const Object& o, const String& name) override {
|
|
869
869
|
Around around{with_};
|
|
870
870
|
return RD::hasProperty(o, name);
|
|
871
|
-
}
|
|
871
|
+
}
|
|
872
872
|
bool hasProperty(const Object& o, const Value& name) override {
|
|
873
873
|
Around around{with_};
|
|
874
874
|
return RD::hasProperty(o, name);
|
|
@@ -879,12 +879,12 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
879
879
|
const Value& value) override {
|
|
880
880
|
Around around{with_};
|
|
881
881
|
RD::setPropertyValue(o, name, value);
|
|
882
|
-
}
|
|
882
|
+
}
|
|
883
883
|
void setPropertyValue(const Object& o, const String& name, const Value& value)
|
|
884
884
|
override {
|
|
885
885
|
Around around{with_};
|
|
886
886
|
RD::setPropertyValue(o, name, value);
|
|
887
|
-
}
|
|
887
|
+
}
|
|
888
888
|
void setPropertyValue(const Object& o, const Value& name, const Value& value)
|
|
889
889
|
override {
|
|
890
890
|
Around around{with_};
|
|
@@ -909,66 +909,66 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
909
909
|
bool isArray(const Object& o) const override {
|
|
910
910
|
Around around{with_};
|
|
911
911
|
return RD::isArray(o);
|
|
912
|
-
}
|
|
912
|
+
}
|
|
913
913
|
bool isArrayBuffer(const Object& o) const override {
|
|
914
914
|
Around around{with_};
|
|
915
915
|
return RD::isArrayBuffer(o);
|
|
916
|
-
}
|
|
916
|
+
}
|
|
917
917
|
bool isFunction(const Object& o) const override {
|
|
918
918
|
Around around{with_};
|
|
919
919
|
return RD::isFunction(o);
|
|
920
|
-
}
|
|
920
|
+
}
|
|
921
921
|
bool isHostObject(const jsi::Object& o) const override {
|
|
922
922
|
Around around{with_};
|
|
923
923
|
return RD::isHostObject(o);
|
|
924
|
-
}
|
|
924
|
+
}
|
|
925
925
|
bool isHostFunction(const jsi::Function& f) const override {
|
|
926
926
|
Around around{with_};
|
|
927
927
|
return RD::isHostFunction(f);
|
|
928
|
-
}
|
|
928
|
+
}
|
|
929
929
|
Array getPropertyNames(const Object& o) override {
|
|
930
930
|
Around around{with_};
|
|
931
931
|
return RD::getPropertyNames(o);
|
|
932
|
-
}
|
|
932
|
+
}
|
|
933
933
|
|
|
934
934
|
WeakObject createWeakObject(const Object& o) override {
|
|
935
935
|
Around around{with_};
|
|
936
936
|
return RD::createWeakObject(o);
|
|
937
|
-
}
|
|
937
|
+
}
|
|
938
938
|
Value lockWeakObject(const WeakObject& wo) override {
|
|
939
939
|
Around around{with_};
|
|
940
940
|
return RD::lockWeakObject(wo);
|
|
941
|
-
}
|
|
941
|
+
}
|
|
942
942
|
|
|
943
943
|
Array createArray(size_t length) override {
|
|
944
944
|
Around around{with_};
|
|
945
945
|
return RD::createArray(length);
|
|
946
|
-
}
|
|
946
|
+
}
|
|
947
947
|
ArrayBuffer createArrayBuffer(
|
|
948
948
|
std::shared_ptr<MutableBuffer> buffer) override {
|
|
949
949
|
return RD::createArrayBuffer(std::move(buffer));
|
|
950
|
-
}
|
|
950
|
+
}
|
|
951
951
|
size_t size(const Array& a) override {
|
|
952
952
|
Around around{with_};
|
|
953
953
|
return RD::size(a);
|
|
954
|
-
}
|
|
954
|
+
}
|
|
955
955
|
size_t size(const ArrayBuffer& ab) override {
|
|
956
956
|
Around around{with_};
|
|
957
957
|
return RD::size(ab);
|
|
958
|
-
}
|
|
958
|
+
}
|
|
959
959
|
uint8_t* data(const ArrayBuffer& ab) override {
|
|
960
960
|
Around around{with_};
|
|
961
961
|
return RD::data(ab);
|
|
962
|
-
}
|
|
962
|
+
}
|
|
963
963
|
Value getValueAtIndex(const Array& a, size_t i) override {
|
|
964
964
|
Around around{with_};
|
|
965
965
|
return RD::getValueAtIndex(a, i);
|
|
966
|
-
}
|
|
966
|
+
}
|
|
967
967
|
void setValueAtIndexImpl(const Array& a, size_t i, const Value& value)
|
|
968
968
|
override {
|
|
969
969
|
Around around{with_};
|
|
970
970
|
RD::setValueAtIndexImpl(a, i, value);
|
|
971
|
-
}
|
|
971
|
+
}
|
|
972
972
|
|
|
973
973
|
Function createFunctionFromHostFunction(
|
|
974
974
|
const PropNameID& name,
|
|
@@ -977,7 +977,7 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
977
977
|
Around around{with_};
|
|
978
978
|
return RD::createFunctionFromHostFunction(
|
|
979
979
|
name, paramCount, std::move(func));
|
|
980
|
-
}
|
|
980
|
+
}
|
|
981
981
|
Value call(
|
|
982
982
|
const Function& f,
|
|
983
983
|
const Value& jsThis,
|
|
@@ -985,12 +985,12 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
985
985
|
size_t count) override {
|
|
986
986
|
Around around{with_};
|
|
987
987
|
return RD::call(f, jsThis, args, count);
|
|
988
|
-
}
|
|
988
|
+
}
|
|
989
989
|
Value callAsConstructor(const Function& f, const Value* args, size_t count)
|
|
990
990
|
override {
|
|
991
991
|
Around around{with_};
|
|
992
992
|
return RD::callAsConstructor(f, args, count);
|
|
993
|
-
}
|
|
993
|
+
}
|
|
994
994
|
|
|
995
995
|
// Private data for managing scopes.
|
|
996
996
|
Runtime::ScopeState* pushScope() override {
|
|
@@ -1005,31 +1005,31 @@ class WithRuntimeDecorator : public RuntimeDecorator<Plain, Base> {
|
|
|
1005
1005
|
bool strictEquals(const Symbol& a, const Symbol& b) const override {
|
|
1006
1006
|
Around around{with_};
|
|
1007
1007
|
return RD::strictEquals(a, b);
|
|
1008
|
-
}
|
|
1008
|
+
}
|
|
1009
1009
|
bool strictEquals(const BigInt& a, const BigInt& b) const override {
|
|
1010
1010
|
Around around{with_};
|
|
1011
1011
|
return RD::strictEquals(a, b);
|
|
1012
|
-
}
|
|
1012
|
+
}
|
|
1013
1013
|
|
|
1014
1014
|
bool strictEquals(const String& a, const String& b) const override {
|
|
1015
1015
|
Around around{with_};
|
|
1016
1016
|
return RD::strictEquals(a, b);
|
|
1017
|
-
}
|
|
1017
|
+
}
|
|
1018
1018
|
bool strictEquals(const Object& a, const Object& b) const override {
|
|
1019
1019
|
Around around{with_};
|
|
1020
1020
|
return RD::strictEquals(a, b);
|
|
1021
|
-
}
|
|
1021
|
+
}
|
|
1022
1022
|
|
|
1023
1023
|
bool instanceOf(const Object& o, const Function& f) override {
|
|
1024
1024
|
Around around{with_};
|
|
1025
1025
|
return RD::instanceOf(o, f);
|
|
1026
|
-
}
|
|
1026
|
+
}
|
|
1027
1027
|
|
|
1028
1028
|
void setExternalMemoryPressure(const jsi::Object& obj, size_t amount)
|
|
1029
1029
|
override {
|
|
1030
1030
|
Around around{with_};
|
|
1031
1031
|
RD::setExternalMemoryPressure(obj, amount);
|
|
1032
|
-
}
|
|
1032
|
+
}
|
|
1033
1033
|
|
|
1034
1034
|
void setRuntimeDataImpl(
|
|
1035
1035
|
const UUID& uuid,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.83.0-nightly-
|
|
3
|
+
"version": "0.83.0-nightly-20250922-5ef054921",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -159,13 +159,13 @@
|
|
|
159
159
|
},
|
|
160
160
|
"dependencies": {
|
|
161
161
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
162
|
-
"@react-native/assets-registry": "0.83.0-nightly-
|
|
163
|
-
"@react-native/codegen": "0.83.0-nightly-
|
|
164
|
-
"@react-native/community-cli-plugin": "0.83.0-nightly-
|
|
165
|
-
"@react-native/gradle-plugin": "0.83.0-nightly-
|
|
166
|
-
"@react-native/js-polyfills": "0.83.0-nightly-
|
|
167
|
-
"@react-native/normalize-colors": "0.83.0-nightly-
|
|
168
|
-
"@react-native/virtualized-lists": "0.83.0-nightly-
|
|
162
|
+
"@react-native/assets-registry": "0.83.0-nightly-20250922-5ef054921",
|
|
163
|
+
"@react-native/codegen": "0.83.0-nightly-20250922-5ef054921",
|
|
164
|
+
"@react-native/community-cli-plugin": "0.83.0-nightly-20250922-5ef054921",
|
|
165
|
+
"@react-native/gradle-plugin": "0.83.0-nightly-20250922-5ef054921",
|
|
166
|
+
"@react-native/js-polyfills": "0.83.0-nightly-20250922-5ef054921",
|
|
167
|
+
"@react-native/normalize-colors": "0.83.0-nightly-20250922-5ef054921",
|
|
168
|
+
"@react-native/virtualized-lists": "0.83.0-nightly-20250922-5ef054921",
|
|
169
169
|
"abort-controller": "^3.0.0",
|
|
170
170
|
"anser": "^1.4.9",
|
|
171
171
|
"ansi-regex": "^5.0.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<1b4cea92111f3c9897d7e4e3ecaa6aea>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Animated/createAnimatedComponent.js
|
|
@@ -30,8 +30,9 @@ type NonAnimatedProps = "ref" | "innerViewRef" | "scrollViewRef" | "testID" | "d
|
|
|
30
30
|
type PassThroughProps = Readonly<{
|
|
31
31
|
passthroughAnimatedPropExplicitValues?: ViewProps | null;
|
|
32
32
|
}>;
|
|
33
|
-
|
|
34
|
-
export type
|
|
33
|
+
type LooseOmit<O extends {}, K extends keyof any> = Pick<O, Exclude<keyof O, K>>;
|
|
34
|
+
export type AnimatedProps<Props extends {}> = LooseOmit<{ [K in keyof Props]: K extends NonAnimatedProps ? Props[K] : WithAnimatedValue<Props[K]> }, "ref"> & PassThroughProps;
|
|
35
|
+
export type AnimatedBaseProps<Props extends {}> = LooseOmit<{ [K in keyof Props]: K extends NonAnimatedProps ? Props[K] : WithAnimatedValue<Props[K]> }, "ref">;
|
|
35
36
|
export type AnimatedComponentType<Props extends {}, Instance = unknown> = (props: Omit<AnimatedProps<Props>, keyof {
|
|
36
37
|
ref?: React.Ref<Instance>;
|
|
37
38
|
}> & {
|
|
@@ -4,20 +4,17 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<be5e5f8ed460e8f99fe3ac0930ab4e78>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Image/ImageTypes.flow.js
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
import type { HostInstance } from "../..";
|
|
13
14
|
import type { RootTag } from "../Types/RootTagTypes";
|
|
14
15
|
import type { ResolvedAssetSource } from "./AssetSourceResolver";
|
|
15
16
|
import type { ImageProps as ImagePropsType } from "./ImageProps";
|
|
16
17
|
import type { ImageSource } from "./ImageSource";
|
|
17
|
-
import type $$IMPORT_TYPEOF_1$$ from "./ImageViewNativeComponent";
|
|
18
|
-
type ImageViewNativeComponent = typeof $$IMPORT_TYPEOF_1$$;
|
|
19
|
-
import type $$IMPORT_TYPEOF_2$$ from "./TextInlineImageNativeComponent";
|
|
20
|
-
type TextInlineImageNativeComponent = typeof $$IMPORT_TYPEOF_2$$;
|
|
21
18
|
import * as React from "react";
|
|
22
19
|
export type ImageSize = {
|
|
23
20
|
width: number;
|
|
@@ -49,15 +46,15 @@ type ImageComponentStaticsAndroid = Readonly<Omit<ImageComponentStaticsIOS, keyo
|
|
|
49
46
|
abortPrefetch(requestId: number): void;
|
|
50
47
|
}>;
|
|
51
48
|
export type AbstractImageAndroid = (props: Omit<ImagePropsType, keyof {
|
|
52
|
-
ref?: React.Ref<
|
|
49
|
+
ref?: React.Ref<HostInstance>;
|
|
53
50
|
}> & {
|
|
54
|
-
ref?: React.Ref<
|
|
51
|
+
ref?: React.Ref<HostInstance>;
|
|
55
52
|
}) => React.ReactNode;
|
|
56
53
|
export type ImageAndroid = AbstractImageAndroid & ImageComponentStaticsAndroid;
|
|
57
54
|
export type AbstractImageIOS = (props: Omit<ImagePropsType, keyof {
|
|
58
|
-
ref?: React.Ref<
|
|
55
|
+
ref?: React.Ref<HostInstance>;
|
|
59
56
|
}> & {
|
|
60
|
-
ref?: React.Ref<
|
|
57
|
+
ref?: React.Ref<HostInstance>;
|
|
61
58
|
}) => React.ReactNode;
|
|
62
59
|
export type ImageIOS = AbstractImageIOS & ImageComponentStaticsIOS;
|
|
63
60
|
export type ImageType = ImageIOS | ImageAndroid;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @generated SignedSource<<80e092fbb92bdc423b728ffd27fa7470>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Image/ImageViewNativeComponent.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { HostComponent } from "../../src/private/types/HostComponent";
|
|
14
|
-
import type { HostInstance } from "../../src/private/types/HostInstance";
|
|
15
|
-
import type { ViewProps } from "../Components/View/ViewPropTypes";
|
|
16
|
-
import type { PartialViewConfig } from "../Renderer/shims/ReactNativeTypes";
|
|
17
|
-
import type { ColorValue, DangerouslyImpreciseStyle, ImageStyleProp } from "../StyleSheet/StyleSheet";
|
|
18
|
-
import type { ResolvedAssetSource } from "./AssetSourceResolver";
|
|
19
|
-
import type { ImageProps } from "./ImageProps";
|
|
20
|
-
import type { ImageSource } from "./ImageSource";
|
|
21
|
-
type ImageHostComponentProps = Readonly<Omit<ImageProps, keyof ViewProps | keyof {
|
|
22
|
-
style?: ImageStyleProp | DangerouslyImpreciseStyle;
|
|
23
|
-
tintColor?: ColorValue;
|
|
24
|
-
shouldNotifyLoadEvents?: boolean;
|
|
25
|
-
src?: (ResolvedAssetSource | undefined) | (ReadonlyArray<Readonly<{
|
|
26
|
-
uri?: string | undefined;
|
|
27
|
-
}> | undefined> | undefined);
|
|
28
|
-
headers?: {
|
|
29
|
-
[$$Key$$: string]: string;
|
|
30
|
-
} | undefined;
|
|
31
|
-
defaultSource?: (ImageSource | undefined) | (string | undefined);
|
|
32
|
-
loadingIndicatorSrc?: string | undefined;
|
|
33
|
-
}> & Omit<ViewProps, keyof {
|
|
34
|
-
style?: ImageStyleProp | DangerouslyImpreciseStyle;
|
|
35
|
-
tintColor?: ColorValue;
|
|
36
|
-
shouldNotifyLoadEvents?: boolean;
|
|
37
|
-
src?: (ResolvedAssetSource | undefined) | (ReadonlyArray<Readonly<{
|
|
38
|
-
uri?: string | undefined;
|
|
39
|
-
}> | undefined> | undefined);
|
|
40
|
-
headers?: {
|
|
41
|
-
[$$Key$$: string]: string;
|
|
42
|
-
} | undefined;
|
|
43
|
-
defaultSource?: (ImageSource | undefined) | (string | undefined);
|
|
44
|
-
loadingIndicatorSrc?: string | undefined;
|
|
45
|
-
}> & {
|
|
46
|
-
style?: ImageStyleProp | DangerouslyImpreciseStyle;
|
|
47
|
-
tintColor?: ColorValue;
|
|
48
|
-
shouldNotifyLoadEvents?: boolean;
|
|
49
|
-
src?: (ResolvedAssetSource | undefined) | (ReadonlyArray<Readonly<{
|
|
50
|
-
uri?: string | undefined;
|
|
51
|
-
}> | undefined> | undefined);
|
|
52
|
-
headers?: {
|
|
53
|
-
[$$Key$$: string]: string;
|
|
54
|
-
} | undefined;
|
|
55
|
-
defaultSource?: (ImageSource | undefined) | (string | undefined);
|
|
56
|
-
loadingIndicatorSrc?: string | undefined;
|
|
57
|
-
}>;
|
|
58
|
-
interface NativeCommands {
|
|
59
|
-
readonly setIsVisible_EXPERIMENTAL: (viewRef: HostInstance, isVisible: boolean, time: number) => void;
|
|
60
|
-
}
|
|
61
|
-
export declare const Commands: NativeCommands;
|
|
62
|
-
export declare type Commands = typeof Commands;
|
|
63
|
-
export declare const __INTERNAL_VIEW_CONFIG: PartialViewConfig;
|
|
64
|
-
export declare type __INTERNAL_VIEW_CONFIG = typeof __INTERNAL_VIEW_CONFIG;
|
|
65
|
-
declare const ImageViewNativeComponent: HostComponent<ImageHostComponentProps>;
|
|
66
|
-
declare const $$ImageViewNativeComponent: typeof ImageViewNativeComponent;
|
|
67
|
-
declare type $$ImageViewNativeComponent = typeof $$ImageViewNativeComponent;
|
|
68
|
-
export default $$ImageViewNativeComponent;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @generated SignedSource<<ba07274c1954ff716e0bcd4e1eb71b0d>>
|
|
8
|
-
*
|
|
9
|
-
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
-
* Original file: packages/react-native/Libraries/Image/TextInlineImageNativeComponent.js
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import type { HostComponent } from "../../src/private/types/HostComponent";
|
|
14
|
-
import type { ViewProps } from "../Components/View/ViewPropTypes";
|
|
15
|
-
import type { PartialViewConfig } from "../Renderer/shims/ReactNativeTypes";
|
|
16
|
-
import type { ColorValue } from "../StyleSheet/StyleSheet";
|
|
17
|
-
import type { ImageResizeMode } from "./ImageResizeMode";
|
|
18
|
-
type RCTTextInlineImageNativeProps = Readonly<Omit<ViewProps, keyof {
|
|
19
|
-
resizeMode?: ImageResizeMode | undefined;
|
|
20
|
-
src?: ReadonlyArray<Readonly<{
|
|
21
|
-
uri?: string | undefined;
|
|
22
|
-
}> | undefined> | undefined;
|
|
23
|
-
tintColor?: ColorValue | undefined;
|
|
24
|
-
headers?: {
|
|
25
|
-
[$$Key$$: string]: string;
|
|
26
|
-
} | undefined;
|
|
27
|
-
}> & {
|
|
28
|
-
resizeMode?: ImageResizeMode | undefined;
|
|
29
|
-
src?: ReadonlyArray<Readonly<{
|
|
30
|
-
uri?: string | undefined;
|
|
31
|
-
}> | undefined> | undefined;
|
|
32
|
-
tintColor?: ColorValue | undefined;
|
|
33
|
-
headers?: {
|
|
34
|
-
[$$Key$$: string]: string;
|
|
35
|
-
} | undefined;
|
|
36
|
-
}>;
|
|
37
|
-
export declare const __INTERNAL_VIEW_CONFIG: PartialViewConfig;
|
|
38
|
-
export declare type __INTERNAL_VIEW_CONFIG = typeof __INTERNAL_VIEW_CONFIG;
|
|
39
|
-
declare const TextInlineImage: HostComponent<RCTTextInlineImageNativeProps>;
|
|
40
|
-
declare const $$TextInlineImageNativeComponent: typeof TextInlineImage;
|
|
41
|
-
declare type $$TextInlineImageNativeComponent = typeof $$TextInlineImageNativeComponent;
|
|
42
|
-
export default $$TextInlineImageNativeComponent;
|