Skip to content

Commit 405200e

Browse files
Naturalclarfacebook-github-bot
authored andcommitted
chore: update url of warning message from deprecated imports (#28452)
Summary: Some of the repository name of Lean Core(#23313) libraries has been renamed. This PR updates the warning message to display the updated url. ## Changelog [General] [Changed] - Update warning message of deprecated imports Pull Request resolved: #28452 Test Plan: updated URL can be accessed. Reviewed By: cpojer Differential Revision: D20745184 Pulled By: TheSavior fbshipit-source-id: 2c3ed6a000b45022ca6c4862305aa567c4d18b2e
1 parent 21396bb commit 405200e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

index.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ module.exports = {
135135
'DatePickerIOS-merged',
136136
'DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. ' +
137137
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
138-
'See https://github.com/react-native-community/react-native-datetimepicker',
138+
'See https://github.com/react-native-community/datetimepicker',
139139
);
140140
return require('./Libraries/Components/DatePicker/DatePickerIOS');
141141
},
@@ -195,7 +195,7 @@ module.exports = {
195195
'progress-bar-android-moved',
196196
'ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. ' +
197197
"It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. " +
198-
'See https://github.com/react-native-community/react-native-progress-bar-android',
198+
'See https://github.com/react-native-community/progress-bar-android',
199199
);
200200
return require('./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid');
201201
},
@@ -204,7 +204,7 @@ module.exports = {
204204
'progress-view-ios-moved',
205205
'ProgressViewIOS has been extracted from react-native core and will be removed in a future release. ' +
206206
"It can now be installed and imported from '@react-native-community/progress-view' instead of 'react-native'. " +
207-
'See https://github.com/react-native-community/react-native-progress-view',
207+
'See https://github.com/react-native-community/progress-view',
208208
);
209209
return require('./Libraries/Components/ProgressViewIOS/ProgressViewIOS');
210210
},
@@ -222,7 +222,7 @@ module.exports = {
222222
'segmented-control-ios-moved',
223223
'SegmentedControlIOS has been extracted from react-native core and will be removed in a future release. ' +
224224
"It can now be installed and imported from '@react-native-community/segmented-control' instead of 'react-native'. " +
225-
'See https://github.com/react-native-community/react-native-segmented-control',
225+
'See https://github.com/react-native-community/segmented-control',
226226
);
227227
return require('./Libraries/Components/SegmentedControlIOS/SegmentedControlIOS');
228228
},
@@ -299,7 +299,7 @@ module.exports = {
299299
'async-storage-moved',
300300
'AsyncStorage has been extracted from react-native core and will be removed in a future release. ' +
301301
"It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. " +
302-
'See https://github.com/react-native-community/react-native-async-storage',
302+
'See https://github.com/react-native-community/async-storage',
303303
);
304304
return require('./Libraries/Storage/AsyncStorage');
305305
},
@@ -311,7 +311,7 @@ module.exports = {
311311
'clipboard-moved',
312312
'Clipboard has been extracted from react-native core and will be removed in a future release. ' +
313313
"It can now be installed and imported from '@react-native-community/clipboard' instead of 'react-native'. " +
314-
'See https://github.com/react-native-community/react-native-clipboard',
314+
'See https://github.com/react-native-community/clipboard',
315315
);
316316
return require('./Libraries/Components/Clipboard/Clipboard');
317317
},
@@ -320,7 +320,7 @@ module.exports = {
320320
'DatePickerAndroid-merged',
321321
'DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. ' +
322322
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
323-
'See https://github.com/react-native-community/react-native-datetimepicker',
323+
'See https://github.com/react-native-community/datetimepicker',
324324
);
325325
return require('./Libraries/Components/DatePickerAndroid/DatePickerAndroid');
326326
},
@@ -391,7 +391,7 @@ module.exports = {
391391
'pushNotificationIOS-moved',
392392
'PushNotificationIOS has been extracted from react-native core and will be removed in a future release. ' +
393393
"It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. " +
394-
'See https://github.com/react-native-community/react-native-push-notification-ios',
394+
'See https://github.com/react-native-community/push-notification-ios',
395395
);
396396
return require('./Libraries/PushNotificationIOS/PushNotificationIOS');
397397
},
@@ -515,7 +515,7 @@ if (__DEV__) {
515515
false,
516516
'ART has been removed from React Native. ' +
517517
"It can now be installed and imported from '@react-native-community/art' instead of 'react-native'. " +
518-
'See https://github.com/react-native-community/react-native-art',
518+
'See https://github.com/react-native-community/art',
519519
);
520520
},
521521
});
@@ -620,7 +620,7 @@ if (__DEV__) {
620620
false,
621621
'TimePickerAndroid has been removed from React Native. ' +
622622
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
623-
'See https://github.com/react-native-community/react-native-datetimepicker',
623+
'See https://github.com/react-native-community/datetimepicker',
624624
);
625625
},
626626
});

0 commit comments

Comments
 (0)