Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit b53db5a

Browse files
committed
refactor: remove cardTransparent in favor of cardStyle
1 parent 0b17a3c commit b53db5a

File tree

7 files changed

+107
-61
lines changed

7 files changed

+107
-61
lines changed

example/src/DragLimitedToModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const DragLimitedToModal: NavigationStackScreenComponent = () => (
1414
);
1515

1616
DragLimitedToModal.navigationOptions = {
17+
cardStyle: { backgroundColor: 'transparent' },
1718
gestureDirection: 'vertical',
1819
gestureResponseDistance: { vertical: HEIGHT },
19-
cardTransparent: true,
2020
cardStyleInterpolator: ({ current }) => {
2121
const translateY = interpolate(current.progress, {
2222
inputRange: [0, 1],

example/src/PerScreenTransitions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ export default createStackNavigator(
114114
Transparent: {
115115
screen: TransparentScreen,
116116
navigationOptions: {
117+
cardStyle: { backgroundColor: 'transparent' },
117118
headerShown: false,
118119
gestureEnabled: false,
119-
cardTransparent: true,
120120
transitionSpec: {
121121
open: TransitionSpecs.TransitionIOSSpec,
122122
close: TransitionSpecs.TransitionIOSSpec,

example/src/TransparentStack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export default createStackNavigator(
7272
mode: 'modal',
7373
headerMode: 'none',
7474
defaultNavigationOptions: {
75+
cardStyle: { backgroundColor: 'transparent' },
7576
gestureEnabled: false,
76-
cardTransparent: true,
7777
cardStyleInterpolator: ({ current: { progress } }) => {
7878
const opacity = Animated.interpolate(progress, {
7979
inputRange: [0, 0.5, 0.9, 1],

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@
4949
"@expo/vector-icons": "^10.0.6",
5050
"@react-native-community/bob": "^0.7.0",
5151
"@react-native-community/masked-view": "^0.1.5",
52-
"@react-navigation/stack": "^5.0.0-alpha.44",
52+
"@react-navigation/stack": "^5.0.0-alpha.45",
5353
"@release-it/conventional-changelog": "^1.1.0",
54+
"@types/color": "^3.0.0",
5455
"@types/jest": "^24.0.23",
5556
"@types/react": "^16.9.16",
5657
"@types/react-native": "^0.60.25",
@@ -124,5 +125,8 @@
124125
"module",
125126
"typescript"
126127
]
128+
},
129+
"dependencies": {
130+
"color": "^3.1.2"
127131
}
128132
}

scripts/stack.patch

Lines changed: 26 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff -ruN node_modules/@react-navigation/stack/src/index.tsx src/vendor/index.tsx
2-
--- node_modules/@react-navigation/stack/src/index.tsx 2019-12-14 22:46:16.000000000 +0100
2+
--- node_modules/@react-navigation/stack/src/index.tsx 2019-12-16 16:13:08.000000000 +0100
33
+++ src/vendor/index.tsx 1970-01-01 01:00:00.000000000 +0100
44
@@ -1,55 +0,0 @@
55
-import * as CardStyleInterpolators from './TransitionConfigs/CardStyleInterpolators';
@@ -58,7 +58,7 @@ diff -ruN node_modules/@react-navigation/stack/src/index.tsx src/vendor/index.ts
5858
- StackHeaderStyleInterpolator,
5959
-} from './types';
6060
diff -ruN node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx src/vendor/navigators/createStackNavigator.tsx
61-
--- node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx 2019-12-14 22:46:16.000000000 +0100
61+
--- node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx 2019-12-16 16:13:08.000000000 +0100
6262
+++ src/vendor/navigators/createStackNavigator.tsx 1970-01-01 01:00:00.000000000 +0100
6363
@@ -1,77 +0,0 @@
6464
-import * as React from 'react';
@@ -139,8 +139,8 @@ diff -ruN node_modules/@react-navigation/stack/src/navigators/createStackNavigat
139139
- typeof StackNavigator
140140
->(StackNavigator);
141141
diff -ruN node_modules/@react-navigation/stack/src/types.tsx src/vendor/types.tsx
142-
--- node_modules/@react-navigation/stack/src/types.tsx 2019-12-14 22:46:16.000000000 +0100
143-
+++ src/vendor/types.tsx 2019-12-14 22:56:00.000000000 +0100
142+
--- node_modules/@react-navigation/stack/src/types.tsx 2019-12-16 16:13:08.000000000 +0100
143+
+++ src/vendor/types.tsx 2019-12-16 16:13:14.000000000 +0100
144144
@@ -7,13 +7,28 @@
145145
import Animated from 'react-native-reanimated';
146146
import { EdgeInsets } from 'react-native-safe-area-context';
@@ -275,7 +275,7 @@ diff -ruN node_modules/@react-navigation/stack/src/types.tsx src/vendor/types.ts
275275
export type StackNavigationOptions = StackHeaderOptions &
276276
Partial<TransitionPreset> & {
277277
/**
278-
@@ -323,6 +328,8 @@
278+
@@ -319,6 +324,8 @@
279279
bottom?: number;
280280
left?: number;
281281
};
@@ -285,8 +285,8 @@ diff -ruN node_modules/@react-navigation/stack/src/types.tsx src/vendor/types.ts
285285

286286
export type StackNavigationConfig = {
287287
diff -ruN node_modules/@react-navigation/stack/src/views/Header/Header.tsx src/vendor/views/Header/Header.tsx
288-
--- node_modules/@react-navigation/stack/src/views/Header/Header.tsx 2019-12-14 22:46:16.000000000 +0100
289-
+++ src/vendor/views/Header/Header.tsx 2019-12-14 22:55:33.000000000 +0100
288+
--- node_modules/@react-navigation/stack/src/views/Header/Header.tsx 2019-12-16 16:13:08.000000000 +0100
289+
+++ src/vendor/views/Header/Header.tsx 2019-12-16 16:13:14.000000000 +0100
290290
@@ -1,5 +1,5 @@
291291
import * as React from 'react';
292292
-import { StackActions } from '@react-navigation/routers';
@@ -327,8 +327,8 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Header/Header.tsx src/v
327327
}
328328
styleInterpolator={styleInterpolator}
329329
diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx src/vendor/views/Header/HeaderBackButton.tsx
330-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx 2019-12-14 22:46:16.000000000 +0100
331-
+++ src/vendor/views/Header/HeaderBackButton.tsx 2019-12-14 23:05:22.000000000 +0100
330+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx 2019-12-16 16:13:08.000000000 +0100
331+
+++ src/vendor/views/Header/HeaderBackButton.tsx 2019-12-16 16:13:14.000000000 +0100
332332
@@ -8,10 +8,10 @@
333333
LayoutChangeEvent,
334334
} from 'react-native';
@@ -342,8 +342,8 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton
342342
type Props = StackHeaderLeftButtonProps;
343343

344344
diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx src/vendor/views/Header/HeaderBackground.tsx
345-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx 2019-12-14 22:46:16.000000000 +0100
346-
+++ src/vendor/views/Header/HeaderBackground.tsx 2019-12-14 23:05:39.000000000 +0100
345+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx 2019-12-16 16:13:08.000000000 +0100
346+
+++ src/vendor/views/Header/HeaderBackground.tsx 2019-12-16 16:13:14.000000000 +0100
347347
@@ -1,7 +1,7 @@
348348
import * as React from 'react';
349349
import { StyleSheet, Platform, ViewProps } from 'react-native';
@@ -354,8 +354,8 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderBackground
354354
export default function HeaderBackground({ style, ...rest }: ViewProps) {
355355
const { colors } = useTheme();
356356
diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx src/vendor/views/Header/HeaderContainer.tsx
357-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx 2019-12-14 22:46:16.000000000 +0100
358-
+++ src/vendor/views/Header/HeaderContainer.tsx 2019-12-14 22:55:33.000000000 +0100
357+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx 2019-12-16 16:13:08.000000000 +0100
358+
+++ src/vendor/views/Header/HeaderContainer.tsx 2019-12-16 16:13:14.000000000 +0100
359359
@@ -1,16 +1,13 @@
360360
import * as React from 'react';
361361
import { View, StyleSheet, StyleProp, ViewStyle } from 'react-native';
@@ -388,8 +388,8 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.
388388
};
389389

390390
diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx src/vendor/views/Header/HeaderSegment.tsx
391-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx 2019-12-14 22:46:16.000000000 +0100
392-
+++ src/vendor/views/Header/HeaderSegment.tsx 2019-12-14 22:55:33.000000000 +0100
391+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx 2019-12-16 16:13:08.000000000 +0100
392+
+++ src/vendor/views/Header/HeaderSegment.tsx 2019-12-16 16:13:14.000000000 +0100
393393
@@ -8,7 +8,7 @@
394394
} from 'react-native';
395395
import Animated from 'react-native-reanimated';
@@ -409,8 +409,8 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.ts
409409
};
410410

411411
diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx src/vendor/views/Header/HeaderTitle.tsx
412-
--- node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx 2019-12-14 22:46:16.000000000 +0100
413-
+++ src/vendor/views/Header/HeaderTitle.tsx 2019-12-14 23:05:46.000000000 +0100
412+
--- node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx 2019-12-16 16:13:08.000000000 +0100
413+
+++ src/vendor/views/Header/HeaderTitle.tsx 2019-12-16 16:13:14.000000000 +0100
414414
@@ -1,7 +1,7 @@
415415
import * as React from 'react';
416416
import { StyleSheet, Platform, TextProps } from 'react-native';
@@ -421,8 +421,8 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx
421421
type Props = TextProps & {
422422
tintColor?: string;
423423
diff -ruN node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx src/vendor/views/Stack/CardContainer.tsx
424-
--- node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx 2019-12-14 22:46:16.000000000 +0100
425-
+++ src/vendor/views/Stack/CardContainer.tsx 2019-12-14 23:05:57.000000000 +0100
424+
--- node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx 2019-12-16 16:13:08.000000000 +0100
425+
+++ src/vendor/views/Stack/CardContainer.tsx 2019-12-16 16:13:14.000000000 +0100
426426
@@ -1,11 +1,17 @@
427427
import * as React from 'react';
428428
import { View, StyleSheet, StyleProp, ViewStyle } from 'react-native';
@@ -445,8 +445,8 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx
445445
type Props = TransitionPreset & {
446446
index: number;
447447
diff -ruN node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx src/vendor/views/Stack/CardStack.tsx
448-
--- node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx 2019-12-14 22:46:16.000000000 +0100
449-
+++ src/vendor/views/Stack/CardStack.tsx 2019-12-14 22:55:33.000000000 +0100
448+
--- node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx 2019-12-16 16:13:08.000000000 +0100
449+
+++ src/vendor/views/Stack/CardStack.tsx 2019-12-16 16:14:31.000000000 +0100
450450
@@ -11,8 +11,7 @@
451451
import { EdgeInsets } from 'react-native-safe-area-context';
452452
// eslint-disable-next-line import/no-unresolved
@@ -457,34 +457,17 @@ diff -ruN node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx src
457457

458458
import { getDefaultHeaderHeight } from '../Header/HeaderSegment';
459459
import { Props as HeaderContainerProps } from '../Header/HeaderContainer';
460-
@@ -22,7 +21,9 @@
461-
ModalTransition,
462-
} from '../../TransitionConfigs/TransitionPresets';
463-
import { forNoAnimation } from '../../TransitionConfigs/HeaderStyleInterpolators';
464-
+import validateDeprecatedOptions from '../../../utils/validateDeprecatedOptions';
460+
@@ -24,6 +23,7 @@
461+
import { forNoAnimation as forNoAnimationHeader } from '../../TransitionConfigs/HeaderStyleInterpolators';
462+
import { forNoAnimation as forNoAnimationCard } from '../../TransitionConfigs/CardStyleInterpolators';
465463
import {
466464
+ Route,
467465
Layout,
468466
StackHeaderMode,
469467
Scene,
470-
@@ -350,6 +351,14 @@
471-
? 1
472-
: 0;
473-
474-
+ if (
475-
+ process.env.NODE_ENV !== 'production' &&
476-
+ scene.descriptor &&
477-
+ scene.descriptor.options
478-
+ ) {
479-
+ validateDeprecatedOptions(scene.descriptor.options);
480-
+ }
481-
+
482-
const {
483-
safeAreaInsets,
484-
headerShown,
485468
diff -ruN node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx src/vendor/views/Stack/StackView.tsx
486-
--- node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx 2019-12-14 22:46:16.000000000 +0100
487-
+++ src/vendor/views/Stack/StackView.tsx 2019-12-14 22:55:33.000000000 +0100
469+
--- node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx 2019-12-16 16:13:08.000000000 +0100
470+
+++ src/vendor/views/Stack/StackView.tsx 2019-12-16 16:13:14.000000000 +0100
488471
@@ -1,8 +1,7 @@
489472
import * as React from 'react';
490473
import { Platform } from 'react-native';

src/utils/validateDeprecatedConfig.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ const shownWarnings: string[] = [];
1212

1313
const validations: Record<string, Validation> = {
1414
transparentCard: {
15-
message: `'transparentCard' is renamed to 'cardTransparent' and moved to 'navigationOptions'. Specify it in 'defaultNavigationOptions' to keep the same behaviour.`,
16-
compat: (c, o) => ({ ...o, cardTransparent: c.transparentCard }),
15+
message: `'transparentCard' is removed in favor of 'cardStyle: { backgroundColor: 'transparent' }' in 'navigationOptions'. Specify it in 'defaultNavigationOptions' to keep the same behaviour.`,
16+
compat: (c, o) =>
17+
c.transparentCard
18+
? {
19+
...o,
20+
cardStyle: [{ backgroundColor: 'transparent' }, o.cardStyle],
21+
}
22+
: o,
1723
},
1824
headerLayoutPreset: {
1925
message: `'headerLayoutPreset' is renamed to 'headerTitleAlign' and moved to 'navigationOptions'. Specify it in 'defaultNavigationOptions' to keep the same behaviour.`,

yarn.lock

Lines changed: 65 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@
13521352
query-string "^6.4.2"
13531353
react-is "^16.8.6"
13541354

1355-
"@react-navigation/core@^5.0.0-alpha.27":
1355+
"@react-navigation/core@^5.0.0-alpha.28":
13561356
version "5.0.0-alpha.27"
13571357
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-5.0.0-alpha.27.tgz#40a209910e284635570d539eeb0bd6cecb9f8124"
13581358
integrity sha512-R/pIxAyJaORLlUFZlwenN92Llo4pyWNRZJ190JTHDqL5T17yD0jokXoketl3+CO+jUgwesZqy7M4pSiMdSiDqA==
@@ -1371,20 +1371,21 @@
13711371
react-native-safe-area-view "^0.14.1"
13721372
react-native-screens "^1.0.0 || ^1.0.0-alpha"
13731373

1374-
"@react-navigation/routers@^5.0.0-alpha.16":
1375-
version "5.0.0-alpha.16"
1376-
resolved "https://registry.yarnpkg.com/@react-navigation/routers/-/routers-5.0.0-alpha.16.tgz#58feae35ada96202126897d716c6942b25e29f5e"
1377-
integrity sha512-19riekFcniNqxk9bvflwLjjd6Tm01UEa1eJuQBisnIdiCbzLCZ77rltCoVh8BvgPU6TldZ/oKCRcq5z+KZcW6A==
1374+
"@react-navigation/routers@^5.0.0-alpha.17":
1375+
version "5.0.0-alpha.17"
1376+
resolved "https://registry.yarnpkg.com/@react-navigation/routers/-/routers-5.0.0-alpha.17.tgz#821bd3e5dbd289fe0d8edea6a12c80b6378d1673"
1377+
integrity sha512-ERfl+Al1QOiI+iM6m055nSpga1PHb3aW3QqUNNWu3x56hWjsb+NidoYFjUHdGfiFBTBgPHp1jjxcfLrxfIhSgg==
13781378
dependencies:
1379-
"@react-navigation/core" "^5.0.0-alpha.27"
1379+
"@react-navigation/core" "^5.0.0-alpha.28"
13801380
shortid "^2.2.15"
13811381

1382-
"@react-navigation/stack@^5.0.0-alpha.44":
1383-
version "5.0.0-alpha.44"
1384-
resolved "https://registry.yarnpkg.com/@react-navigation/stack/-/stack-5.0.0-alpha.44.tgz#4abc9243af2847e05e0ab6e2719fee455e95ee11"
1385-
integrity sha512-luZCOvGxS6dSjzHew02Jn/16f/XyjVS1Xo1qfSlG/BhGitwhBCIAEXaVAo9QVuFEUL/KK2PyjgnCd1hvvi25fw==
1382+
"@react-navigation/stack@^5.0.0-alpha.45":
1383+
version "5.0.0-alpha.45"
1384+
resolved "https://registry.yarnpkg.com/@react-navigation/stack/-/stack-5.0.0-alpha.45.tgz#62b33fd38f5ed96be6c957b69e4c57c49a741071"
1385+
integrity sha512-FSun8t5Ohl14iy/FZHYNmnThcynk9dVyY5ZKYiQYKILrEWAn8sQiu1zTD2kf9cNd71PkSka3ur3uqLiCsqKIAQ==
13861386
dependencies:
1387-
"@react-navigation/routers" "^5.0.0-alpha.16"
1387+
"@react-navigation/routers" "^5.0.0-alpha.17"
1388+
color "^3.1.2"
13881389

13891390
"@release-it/conventional-changelog@^1.1.0":
13901391
version "1.1.0"
@@ -1442,6 +1443,25 @@
14421443
dependencies:
14431444
"@babel/types" "^7.3.0"
14441445

1446+
"@types/color-convert@*":
1447+
version "1.9.0"
1448+
resolved "https://registry.yarnpkg.com/@types/color-convert/-/color-convert-1.9.0.tgz#bfa8203e41e7c65471e9841d7e306a7cd8b5172d"
1449+
integrity sha512-OKGEfULrvSL2VRbkl/gnjjgbbF7ycIlpSsX7Nkab4MOWi5XxmgBYvuiQ7lcCFY5cPDz7MUNaKgxte2VRmtr4Fg==
1450+
dependencies:
1451+
"@types/color-name" "*"
1452+
1453+
"@types/color-name@*":
1454+
version "1.1.1"
1455+
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
1456+
integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==
1457+
1458+
"@types/color@^3.0.0":
1459+
version "3.0.0"
1460+
resolved "https://registry.yarnpkg.com/@types/color/-/color-3.0.0.tgz#40f8a6bf2fd86e969876b339a837d8ff1b0a6e30"
1461+
integrity sha512-5qqtNia+m2I0/85+pd2YzAXaTyKO8j+svirO5aN+XaQJ5+eZ8nx0jPtEWZLxCi50xwYsX10xUHetFzfb1WEs4Q==
1462+
dependencies:
1463+
"@types/color-convert" "*"
1464+
14451465
"@types/eslint-visitor-keys@^1.0.0":
14461466
version "1.0.0"
14471467
resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
@@ -2527,7 +2547,7 @@ collection-visit@^1.0.0:
25272547
map-visit "^1.0.0"
25282548
object-visit "^1.0.0"
25292549

2530-
color-convert@^1.9.0:
2550+
color-convert@^1.9.0, color-convert@^1.9.1:
25312551
version "1.9.3"
25322552
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
25332553
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
@@ -2539,11 +2559,32 @@ [email protected]:
25392559
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
25402560
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
25412561

2562+
color-name@^1.0.0:
2563+
version "1.1.4"
2564+
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
2565+
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
2566+
2567+
color-string@^1.5.2:
2568+
version "1.5.3"
2569+
resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.5.3.tgz#c9bbc5f01b58b5492f3d6857459cb6590ce204cc"
2570+
integrity sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==
2571+
dependencies:
2572+
color-name "^1.0.0"
2573+
simple-swizzle "^0.2.2"
2574+
25422575
color-support@^1.1.3:
25432576
version "1.1.3"
25442577
resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
25452578
integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==
25462579

2580+
color@^3.1.2:
2581+
version "3.1.2"
2582+
resolved "https://registry.yarnpkg.com/color/-/color-3.1.2.tgz#68148e7f85d41ad7649c5fa8c8106f098d229e10"
2583+
integrity sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==
2584+
dependencies:
2585+
color-convert "^1.9.1"
2586+
color-string "^1.5.2"
2587+
25472588
colorette@^1.0.7:
25482589
version "1.1.0"
25492590
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.1.0.tgz#1f943e5a357fac10b4e0f5aaef3b14cdc1af6ec7"
@@ -4738,6 +4779,11 @@ is-arrayish@^0.2.1:
47384779
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
47394780
integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=
47404781

4782+
is-arrayish@^0.3.1:
4783+
version "0.3.2"
4784+
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03"
4785+
integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==
4786+
47414787
is-buffer@^1.1.5:
47424788
version "1.1.6"
47434789
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
@@ -8337,6 +8383,13 @@ simple-plist@^1.0.0:
83378383
bplist-parser "0.1.1"
83388384
plist "^3.0.1"
83398385

8386+
simple-swizzle@^0.2.2:
8387+
version "0.2.2"
8388+
resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
8389+
integrity sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=
8390+
dependencies:
8391+
is-arrayish "^0.3.1"
8392+
83408393
sisteransi@^1.0.0:
83418394
version "1.0.0"
83428395
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.0.tgz#77d9622ff909080f1c19e5f4a1df0c1b0a27b88c"

0 commit comments

Comments
 (0)