react-native-macos 0.68.10 → 0.68.13
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/Components/ScrollView/ScrollView.js +4 -36
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Lists/FlatList.js +13 -0
- package/Libraries/Lists/VirtualizedList.js +82 -41
- package/React/Base/RCTVersion.m +1 -1
- package/React/Views/ScrollView/RCTScrollView.m +36 -21
- package/React/Views/UIView+React.m +18 -10
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +6 -5
- package/template/Gemfile.lock +4 -4
- package/template/package.json +1 -1
|
@@ -1206,42 +1206,10 @@ class ScrollView extends React.Component<Props, State> {
|
|
|
1206
1206
|
nativeEvent.contentOffset.y +
|
|
1207
1207
|
nativeEvent.layoutMeasurement.height,
|
|
1208
1208
|
});
|
|
1209
|
-
} else if (key === '
|
|
1210
|
-
this.
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
-(this.props.horizontalLineScroll !== undefined
|
|
1214
|
-
? this.props.horizontalLineScroll
|
|
1215
|
-
: kMinScrollOffset),
|
|
1216
|
-
y: nativeEvent.contentOffset.y,
|
|
1217
|
-
});
|
|
1218
|
-
} else if (key === 'RIGHT_ARROW') {
|
|
1219
|
-
this._handleScrollByKeyDown(event, {
|
|
1220
|
-
x:
|
|
1221
|
-
nativeEvent.contentOffset.x +
|
|
1222
|
-
(this.props.horizontalLineScroll !== undefined
|
|
1223
|
-
? this.props.horizontalLineScroll
|
|
1224
|
-
: kMinScrollOffset),
|
|
1225
|
-
y: nativeEvent.contentOffset.y,
|
|
1226
|
-
});
|
|
1227
|
-
} else if (key === 'DOWN_ARROW') {
|
|
1228
|
-
this._handleScrollByKeyDown(event, {
|
|
1229
|
-
x: nativeEvent.contentOffset.x,
|
|
1230
|
-
y:
|
|
1231
|
-
nativeEvent.contentOffset.y +
|
|
1232
|
-
(this.props.verticalLineScroll !== undefined
|
|
1233
|
-
? this.props.verticalLineScroll
|
|
1234
|
-
: kMinScrollOffset),
|
|
1235
|
-
});
|
|
1236
|
-
} else if (key === 'UP_ARROW') {
|
|
1237
|
-
this._handleScrollByKeyDown(event, {
|
|
1238
|
-
x: nativeEvent.contentOffset.x,
|
|
1239
|
-
y:
|
|
1240
|
-
nativeEvent.contentOffset.y +
|
|
1241
|
-
-(this.props.verticalLineScroll !== undefined
|
|
1242
|
-
? this.props.verticalLineScroll
|
|
1243
|
-
: kMinScrollOffset),
|
|
1244
|
-
});
|
|
1209
|
+
} else if (key === 'HOME') {
|
|
1210
|
+
this.scrollTo({x: 0, y: 0});
|
|
1211
|
+
} else if (key === 'END') {
|
|
1212
|
+
this.scrollToEnd({animated: true});
|
|
1245
1213
|
}
|
|
1246
1214
|
}
|
|
1247
1215
|
}
|
|
@@ -369,6 +369,19 @@ class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
+
// [TODO(macOS GH#750)
|
|
373
|
+
/**
|
|
374
|
+
* Move selection to the specified index
|
|
375
|
+
*
|
|
376
|
+
* @platform macos
|
|
377
|
+
*/
|
|
378
|
+
selectRowAtIndex(index: number) {
|
|
379
|
+
if (this._listRef) {
|
|
380
|
+
this._listRef.selectRowAtIndex(index);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
// ]TODO(macOS GH#750)
|
|
384
|
+
|
|
372
385
|
/**
|
|
373
386
|
* Provides a handle to the underlying scroll responder.
|
|
374
387
|
*/
|
|
@@ -588,10 +588,14 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
588
588
|
const newOffset = Math.min(contentLength, visTop + (frameEnd - visEnd));
|
|
589
589
|
this.scrollToOffset({offset: newOffset});
|
|
590
590
|
} else if (frame.offset < visTop) {
|
|
591
|
-
const newOffset = Math.
|
|
591
|
+
const newOffset = Math.min(frame.offset, visTop - frame.length);
|
|
592
592
|
this.scrollToOffset({offset: newOffset});
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
+
|
|
596
|
+
selectRowAtIndex(rowIndex: number) {
|
|
597
|
+
this._selectRowAtIndex(rowIndex);
|
|
598
|
+
}
|
|
595
599
|
// ]TODO(macOS GH#774)
|
|
596
600
|
|
|
597
601
|
recordInteraction() {
|
|
@@ -884,7 +888,13 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
884
888
|
index={ii}
|
|
885
889
|
inversionStyle={inversionStyle}
|
|
886
890
|
item={item}
|
|
887
|
-
|
|
891
|
+
// [TODO(macOS GH#774)
|
|
892
|
+
isSelected={
|
|
893
|
+
this.props.enableSelectionOnKeyPress &&
|
|
894
|
+
this.state.selectedRowIndex === ii
|
|
895
|
+
? true
|
|
896
|
+
: false
|
|
897
|
+
} // TODO(macOS GH#774)]
|
|
888
898
|
key={key}
|
|
889
899
|
prevCellKey={prevCellKey}
|
|
890
900
|
onUpdateSeparators={this._onUpdateSeparators}
|
|
@@ -1322,10 +1332,12 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
1322
1332
|
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
1323
1333
|
<ScrollView
|
|
1324
1334
|
{...props}
|
|
1325
|
-
|
|
1335
|
+
// [TODO(macOS GH#774)
|
|
1336
|
+
{...(props.enableSelectionOnKeyPress && {focusable: true})}
|
|
1337
|
+
onScrollKeyDown={keyEventHandler}
|
|
1326
1338
|
onPreferredScrollerStyleDidChange={
|
|
1327
1339
|
preferredScrollerStyleDidChangeHandler
|
|
1328
|
-
} // TODO(macOS GH#774)
|
|
1340
|
+
} // TODO(macOS GH#774)]
|
|
1329
1341
|
refreshControl={
|
|
1330
1342
|
props.refreshControl == null ? (
|
|
1331
1343
|
<RefreshControl
|
|
@@ -1344,11 +1356,11 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
1344
1356
|
// $FlowFixMe Invalid prop usage
|
|
1345
1357
|
<ScrollView
|
|
1346
1358
|
{...props}
|
|
1347
|
-
|
|
1359
|
+
{...(props.enableSelectionOnKeyPress && {focusable: true})} // [TODO(macOS GH#774)
|
|
1360
|
+
onScrollKeyDown={keyEventHandler}
|
|
1348
1361
|
onPreferredScrollerStyleDidChange={
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
}
|
|
1362
|
+
preferredScrollerStyleDidChangeHandler
|
|
1363
|
+
} // TODO(macOS GH#774)]
|
|
1352
1364
|
/>
|
|
1353
1365
|
);
|
|
1354
1366
|
}
|
|
@@ -1506,6 +1518,13 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
1506
1518
|
return rowAbove;
|
|
1507
1519
|
};
|
|
1508
1520
|
|
|
1521
|
+
_selectRowAtIndex = rowIndex => {
|
|
1522
|
+
this.setState(state => {
|
|
1523
|
+
return {selectedRowIndex: rowIndex};
|
|
1524
|
+
});
|
|
1525
|
+
return rowIndex;
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1509
1528
|
_selectRowBelowIndex = rowIndex => {
|
|
1510
1529
|
if (this.props.getItemCount) {
|
|
1511
1530
|
const {data} = this.props;
|
|
@@ -1520,14 +1539,14 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
1520
1539
|
}
|
|
1521
1540
|
};
|
|
1522
1541
|
|
|
1523
|
-
_handleKeyDown = (
|
|
1542
|
+
_handleKeyDown = (event: ScrollEvent) => {
|
|
1524
1543
|
if (this.props.onScrollKeyDown) {
|
|
1525
|
-
this.props.onScrollKeyDown(
|
|
1544
|
+
this.props.onScrollKeyDown(event);
|
|
1526
1545
|
} else {
|
|
1527
1546
|
if (Platform.OS === 'macos') {
|
|
1528
1547
|
// $FlowFixMe Cannot get e.nativeEvent because property nativeEvent is missing in Event
|
|
1529
|
-
const
|
|
1530
|
-
const key =
|
|
1548
|
+
const nativeEvent = event.nativeEvent;
|
|
1549
|
+
const key = nativeEvent.key;
|
|
1531
1550
|
|
|
1532
1551
|
let prevIndex = -1;
|
|
1533
1552
|
let newIndex = -1;
|
|
@@ -1535,46 +1554,66 @@ class VirtualizedList extends React.PureComponent<Props, State> {
|
|
|
1535
1554
|
prevIndex = this.state.selectedRowIndex;
|
|
1536
1555
|
}
|
|
1537
1556
|
|
|
1538
|
-
const {data, getItem} = this.props;
|
|
1539
|
-
if (key === '
|
|
1540
|
-
newIndex = this._selectRowBelowIndex(prevIndex);
|
|
1541
|
-
this.ensureItemAtIndexIsVisible(newIndex);
|
|
1542
|
-
|
|
1543
|
-
if (prevIndex !== newIndex) {
|
|
1544
|
-
const item = getItem(data, newIndex);
|
|
1545
|
-
if (this.props.onSelectionChanged) {
|
|
1546
|
-
this.props.onSelectionChanged({
|
|
1547
|
-
previousSelection: prevIndex,
|
|
1548
|
-
newSelection: newIndex,
|
|
1549
|
-
item: item,
|
|
1550
|
-
});
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
} else if (key === 'UP_ARROW') {
|
|
1557
|
+
// const {data, getItem} = this.props;
|
|
1558
|
+
if (key === 'UP_ARROW') {
|
|
1554
1559
|
newIndex = this._selectRowAboveIndex(prevIndex);
|
|
1555
|
-
this.
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
if (this.props.onSelectionChanged) {
|
|
1560
|
-
this.props.onSelectionChanged({
|
|
1561
|
-
previousSelection: prevIndex,
|
|
1562
|
-
newSelection: newIndex,
|
|
1563
|
-
item: item,
|
|
1564
|
-
});
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1560
|
+
this._handleSelectionChange(prevIndex, newIndex);
|
|
1561
|
+
} else if (key === 'DOWN_ARROW') {
|
|
1562
|
+
newIndex = this._selectRowBelowIndex(prevIndex);
|
|
1563
|
+
this._handleSelectionChange(prevIndex, newIndex);
|
|
1567
1564
|
} else if (key === 'ENTER') {
|
|
1568
1565
|
if (this.props.onSelectionEntered) {
|
|
1569
|
-
const item = getItem(data, prevIndex);
|
|
1566
|
+
const item = this.props.getItem(this.props.data, prevIndex);
|
|
1570
1567
|
if (this.props.onSelectionEntered) {
|
|
1571
1568
|
this.props.onSelectionEntered(item);
|
|
1572
1569
|
}
|
|
1573
1570
|
}
|
|
1571
|
+
} else if (key === 'OPTION_UP') {
|
|
1572
|
+
newIndex = this._selectRowAtIndex(0);
|
|
1573
|
+
this._handleSelectionChange(prevIndex, newIndex);
|
|
1574
|
+
} else if (key === 'OPTION_DOWN') {
|
|
1575
|
+
newIndex = this._selectRowAtIndex(this.state.last);
|
|
1576
|
+
this._handleSelectionChange(prevIndex, newIndex);
|
|
1577
|
+
} else if (key === 'PAGE_UP') {
|
|
1578
|
+
const maxY =
|
|
1579
|
+
event.nativeEvent.contentSize.height -
|
|
1580
|
+
event.nativeEvent.layoutMeasurement.height;
|
|
1581
|
+
const newOffset = Math.min(
|
|
1582
|
+
maxY,
|
|
1583
|
+
nativeEvent.contentOffset.y + -nativeEvent.layoutMeasurement.height,
|
|
1584
|
+
);
|
|
1585
|
+
this.scrollToOffset({animated: true, offset: newOffset});
|
|
1586
|
+
} else if (key === 'PAGE_DOWN') {
|
|
1587
|
+
const maxY =
|
|
1588
|
+
event.nativeEvent.contentSize.height -
|
|
1589
|
+
event.nativeEvent.layoutMeasurement.height;
|
|
1590
|
+
const newOffset = Math.min(
|
|
1591
|
+
maxY,
|
|
1592
|
+
nativeEvent.contentOffset.y + nativeEvent.layoutMeasurement.height,
|
|
1593
|
+
);
|
|
1594
|
+
this.scrollToOffset({animated: true, offset: newOffset});
|
|
1595
|
+
} else if (key === 'HOME') {
|
|
1596
|
+
this.scrollToOffset({animated: true, offset: 0});
|
|
1597
|
+
} else if (key === 'END') {
|
|
1598
|
+
this.scrollToEnd({animated: true});
|
|
1574
1599
|
}
|
|
1575
1600
|
}
|
|
1576
1601
|
}
|
|
1577
1602
|
};
|
|
1603
|
+
|
|
1604
|
+
_handleSelectionChange = (prevIndex, newIndex) => {
|
|
1605
|
+
this.ensureItemAtIndexIsVisible(newIndex);
|
|
1606
|
+
if (prevIndex !== newIndex) {
|
|
1607
|
+
const item = this.props.getItem(this.props.data, newIndex);
|
|
1608
|
+
if (this.props.onSelectionChanged) {
|
|
1609
|
+
this.props.onSelectionChanged({
|
|
1610
|
+
previousSelection: prevIndex,
|
|
1611
|
+
newSelection: newIndex,
|
|
1612
|
+
item: item,
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
};
|
|
1578
1617
|
// ]TODO(macOS GH#774)
|
|
1579
1618
|
|
|
1580
1619
|
_renderDebugOverlay() {
|
|
@@ -2172,6 +2211,7 @@ class CellRenderer extends React.Component<
|
|
|
2172
2211
|
return React.createElement(ListItemComponent, {
|
|
2173
2212
|
item,
|
|
2174
2213
|
index,
|
|
2214
|
+
isSelected,
|
|
2175
2215
|
separators: this._separators,
|
|
2176
2216
|
});
|
|
2177
2217
|
}
|
|
@@ -2248,6 +2288,7 @@ class CellRenderer extends React.Component<
|
|
|
2248
2288
|
{itemSeparator}
|
|
2249
2289
|
</CellRendererComponent>
|
|
2250
2290
|
);
|
|
2291
|
+
// TODO(macOS GH#774)]
|
|
2251
2292
|
|
|
2252
2293
|
return (
|
|
2253
2294
|
<VirtualizedListCellContextProvider cellKey={this.props.cellKey}>
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -1258,16 +1258,22 @@ RCT_SCROLL_EVENT_HANDLER(scrollViewDidScrollToTop, onScrollToTop)
|
|
|
1258
1258
|
|
|
1259
1259
|
#if TARGET_OS_OSX // [TODO(macOS GH#774)
|
|
1260
1260
|
|
|
1261
|
-
- (NSString*)keyCommandFromKeyCode:(NSInteger)keyCode
|
|
1261
|
+
- (NSString*)keyCommandFromKeyCode:(NSInteger)keyCode modifierFlags:(NSEventModifierFlags)modifierFlags
|
|
1262
1262
|
{
|
|
1263
1263
|
switch (keyCode)
|
|
1264
1264
|
{
|
|
1265
1265
|
case 36:
|
|
1266
1266
|
return @"ENTER";
|
|
1267
1267
|
|
|
1268
|
+
case 115:
|
|
1269
|
+
return @"HOME";
|
|
1270
|
+
|
|
1268
1271
|
case 116:
|
|
1269
1272
|
return @"PAGE_UP";
|
|
1270
1273
|
|
|
1274
|
+
case 119:
|
|
1275
|
+
return @"END";
|
|
1276
|
+
|
|
1271
1277
|
case 121:
|
|
1272
1278
|
return @"PAGE_DOWN";
|
|
1273
1279
|
|
|
@@ -1278,10 +1284,18 @@ RCT_SCROLL_EVENT_HANDLER(scrollViewDidScrollToTop, onScrollToTop)
|
|
|
1278
1284
|
return @"RIGHT_ARROW";
|
|
1279
1285
|
|
|
1280
1286
|
case 125:
|
|
1281
|
-
|
|
1287
|
+
if (modifierFlags & NSEventModifierFlagOption) {
|
|
1288
|
+
return @"OPTION_DOWN";
|
|
1289
|
+
} else {
|
|
1290
|
+
return @"DOWN_ARROW";
|
|
1291
|
+
}
|
|
1282
1292
|
|
|
1283
1293
|
case 126:
|
|
1284
|
-
|
|
1294
|
+
if (modifierFlags & NSEventModifierFlagOption) {
|
|
1295
|
+
return @"OPTION_UP";
|
|
1296
|
+
} else {
|
|
1297
|
+
return @"UP_ARROW";
|
|
1298
|
+
}
|
|
1285
1299
|
}
|
|
1286
1300
|
return @"";
|
|
1287
1301
|
}
|
|
@@ -1289,24 +1303,25 @@ RCT_SCROLL_EVENT_HANDLER(scrollViewDidScrollToTop, onScrollToTop)
|
|
|
1289
1303
|
- (void)keyDown:(UIEvent*)theEvent
|
|
1290
1304
|
{
|
|
1291
1305
|
// Don't emit a scroll event if tab was pressed while the scrollview is first responder
|
|
1292
|
-
if (self == [[self window] firstResponder] &&
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1306
|
+
if (!(self == [[self window] firstResponder] && theEvent.keyCode == 48)) {
|
|
1307
|
+
NSString *keyCommand = [self keyCommandFromKeyCode:theEvent.keyCode modifierFlags:theEvent.modifierFlags];
|
|
1308
|
+
if (![keyCommand isEqual: @""]) {
|
|
1309
|
+
RCT_SEND_SCROLL_EVENT(onScrollKeyDown, (@{ @"key": keyCommand}));
|
|
1310
|
+
} else {
|
|
1311
|
+
[super keyDown:theEvent];
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
// AX: if a tab key was pressed and the first responder is currently clipped by the scroll view,
|
|
1316
|
+
// automatically scroll to make the view visible to make it navigable via keyboard.
|
|
1317
|
+
if ([theEvent keyCode] == 48) { //tab key
|
|
1318
|
+
id firstResponder = [[self window] firstResponder];
|
|
1319
|
+
if ([firstResponder isKindOfClass:[NSView class]] &&
|
|
1320
|
+
[firstResponder isDescendantOf:[_scrollView documentView]]) {
|
|
1321
|
+
NSView *view = (NSView*)firstResponder;
|
|
1322
|
+
NSRect visibleRect = ([view superview] == [_scrollView documentView]) ? NSInsetRect(view.frame, -1, -1) :
|
|
1323
|
+
[view convertRect:view.frame toView:_scrollView.documentView];
|
|
1324
|
+
[[_scrollView documentView] scrollRectToVisible:visibleRect];
|
|
1310
1325
|
}
|
|
1311
1326
|
}
|
|
1312
1327
|
}
|
|
@@ -282,29 +282,37 @@
|
|
|
282
282
|
|
|
283
283
|
- (void)reactFocus
|
|
284
284
|
{
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
285
|
+
#if TARGET_OS_OSX // [TODO(macOS GH#774)
|
|
286
|
+
if (![[self window] makeFirstResponder:self]) {
|
|
287
|
+
#else
|
|
288
|
+
if (![self becomeFirstResponder]) {
|
|
289
|
+
#endif //// TODO(macOS GH#774)]
|
|
290
|
+
self.reactIsFocusNeeded = YES;
|
|
291
|
+
}
|
|
288
292
|
}
|
|
289
293
|
|
|
290
294
|
- (void)reactFocusIfNeeded
|
|
291
295
|
{
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
296
|
+
if (self.reactIsFocusNeeded) {
|
|
297
|
+
#if TARGET_OS_OSX // [TODO(macOS GH#774)
|
|
298
|
+
if ([[self window] makeFirstResponder:self]) {
|
|
299
|
+
#else
|
|
300
|
+
if ([self becomeFirstResponder]) {
|
|
301
|
+
#endif // TODO(macOS GH#774)]
|
|
302
|
+
self.reactIsFocusNeeded = NO;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
297
305
|
}
|
|
298
306
|
|
|
299
307
|
- (void)reactBlur
|
|
300
308
|
{
|
|
301
|
-
#if TARGET_OS_OSX // TODO(macOS GH#774)
|
|
309
|
+
#if TARGET_OS_OSX // [TODO(macOS GH#774)
|
|
302
310
|
if (self == [[self window] firstResponder]) {
|
|
303
311
|
[[self window] makeFirstResponder:[[self window] nextResponder]];
|
|
304
312
|
}
|
|
305
313
|
#else
|
|
306
314
|
[self resignFirstResponder];
|
|
307
|
-
#endif
|
|
315
|
+
#endif // TODO(macOS GH#774)]
|
|
308
316
|
}
|
|
309
317
|
|
|
310
318
|
#pragma mark - Layout
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-macos",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.13",
|
|
4
4
|
"bin": "./cli.js",
|
|
5
5
|
"description": "React Native for macOS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
"react-native-gradle-plugin": "^0.0.6",
|
|
118
118
|
"react-refresh": "^0.4.0",
|
|
119
119
|
"react-shallow-renderer": "16.14.1",
|
|
120
|
+
"readable-stream": "^4.0.0",
|
|
120
121
|
"regenerator-runtime": "^0.13.2",
|
|
121
122
|
"scheduler": "^0.20.2",
|
|
122
123
|
"stacktrace-parser": "^0.1.3",
|
|
@@ -176,14 +177,14 @@
|
|
|
176
177
|
"resolutions": {
|
|
177
178
|
"async": "^3.2.2",
|
|
178
179
|
"es5-ext": "0.10.53",
|
|
179
|
-
"
|
|
180
|
-
"
|
|
180
|
+
"readable-stream": "^4.0.0",
|
|
181
|
+
"shell-quote": "^1.7.3"
|
|
181
182
|
},
|
|
182
183
|
"_justification": {
|
|
183
184
|
"async": "Versions of async prior to 3.2.2 are vulnerable to prototype pollution",
|
|
184
185
|
"es5-ext": "Packages after 0.10.54 and at the moment up until 0.10.59 contain a protest message. A policy prevents us from using packages with protestware, therefore downgrading to the latest release without the message.",
|
|
185
|
-
"
|
|
186
|
-
"
|
|
186
|
+
"readable-stream": "Eliminates dependency on outdated string_decoder component",
|
|
187
|
+
"shell-quote": "Versions prior to 1.7.3 have an RCE vulnerability. Should be removable once we upgrade CLI tools to ^8.0.0 with RN 0.69."
|
|
187
188
|
},
|
|
188
189
|
"codegenConfig": {
|
|
189
190
|
"libraries": [
|
package/template/Gemfile.lock
CHANGED
|
@@ -3,7 +3,7 @@ GEM
|
|
|
3
3
|
specs:
|
|
4
4
|
CFPropertyList (3.0.5)
|
|
5
5
|
rexml
|
|
6
|
-
activesupport (6.1.6)
|
|
6
|
+
activesupport (6.1.6.1)
|
|
7
7
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
8
8
|
i18n (>= 1.6, < 2)
|
|
9
9
|
minitest (>= 5.1)
|
|
@@ -63,7 +63,7 @@ GEM
|
|
|
63
63
|
fuzzy_match (2.0.4)
|
|
64
64
|
gh_inspector (1.1.3)
|
|
65
65
|
httpclient (2.8.3)
|
|
66
|
-
i18n (1.
|
|
66
|
+
i18n (1.12.0)
|
|
67
67
|
concurrent-ruby (~> 1.0)
|
|
68
68
|
json (2.6.2)
|
|
69
69
|
minitest (5.16.2)
|
|
@@ -76,7 +76,7 @@ GEM
|
|
|
76
76
|
ruby-macho (2.5.1)
|
|
77
77
|
typhoeus (1.4.0)
|
|
78
78
|
ethon (>= 0.9.0)
|
|
79
|
-
tzinfo (2.0.
|
|
79
|
+
tzinfo (2.0.5)
|
|
80
80
|
concurrent-ruby (~> 1.0)
|
|
81
81
|
xcodeproj (1.22.0)
|
|
82
82
|
CFPropertyList (>= 2.3.3, < 4.0)
|
|
@@ -97,4 +97,4 @@ RUBY VERSION
|
|
|
97
97
|
ruby 3.0.4p208
|
|
98
98
|
|
|
99
99
|
BUNDLED WITH
|
|
100
|
-
2.3.
|
|
100
|
+
2.3.18
|