Some remaining instances of master to main (#21982)
Co-authored-by: Shubham Pandey <shubham.pandey@mfine.co>
Shubham Pandey committed
Jul 30, 2021 at 18:26 UTC
6f3fcbd6fac90d97f48a4c6e270b2124a333d714
7 files changed
+10
-10
fixtures/attribute-behavior/README.md
+1
-1
@@ -28,4 +28,4 @@ Right now, we use a purple outline to call out cases where the assigned property
28
29
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
30
31
-You can find the guide for how to do things in a CRA [here](https://github.com/facebook/create-react-app/blob/master/packages/cra-template/template/README.md).
31
+You can find the guide for how to do things in a CRA [here](https://github.com/facebook/create-react-app/blob/main/packages/cra-template/template/README.md).
fixtures/concurrent/time-slicing/README.md
+1
-1
@@ -10,7 +10,7 @@ It depends on a local build of React and enables us to easily test async "time s
10
11
No. The APIs being tested here are unstable and some of them have still not been released to NPM. For now, this fixture is only a test harness.
12
13
-There are also known bugs and inefficiencies in master so **don't use this fixture for demonstration purposes either yet**. Until they are fixed, this fixture is **not** indicative of React async rendering performance.
13
+There are also known bugs and inefficiencies in main so **don't use this fixture for demonstration purposes either yet**. Until they are fixed, this fixture is **not** indicative of React async rendering performance.
14
15
## How do I run this fixture?
16
fixtures/devtools/regression/shared.js
+1
-1
@@ -32,7 +32,7 @@ if (typeof SchedulerTracing !== 'undefined') {
32
trace = (_, __, callback) => callback();
33
}
34
35
-// https://github.com/facebook/react/blob/master/CHANGELOG.md
35
+// https://github.com/facebook/react/blob/main/CHANGELOG.md
36
switch (major) {
37
case 16:
38
switch (minor) {
packages/react-devtools-extensions/flow-typed/npm/react-test-renderer_v16.x.x.js
+1
-1
@@ -2,7 +2,7 @@
2
// flow-typed version: 9c71eca8ef/react-test-renderer_v16.x.x/flow_>=v0.47.x
3
4
// Type definitions for react-test-renderer 16.x.x
5
-// Ported from: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/main/types/react-test-renderer
5
+// Ported from: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-test-renderer
6
7
'use strict';
8
packages/react-devtools-shared/src/__tests__/profilingCache-test.js
+4
-4
@@ -672,7 +672,7 @@ describe('ProfilingCache', () => {
672
673
const About = () => <div>About</div>;
674
675
- // Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router/modules/Router.js
675
+ // Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Router.js
676
function Router({children}) {
677
const [path, setPath] = React.useState('/');
678
return (
@@ -682,7 +682,7 @@ describe('ProfilingCache', () => {
682
);
683
}
684
685
- // Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router/modules/Switch.js
685
+ // Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Switch.js
686
function Switch({children}) {
687
return (
688
<RouterContext.Consumer>
@@ -699,14 +699,14 @@ describe('ProfilingCache', () => {
699
);
700
}
701
702
- // Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router/modules/Route.js
702
+ // Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Route.js
703
function Route({children, path}) {
704
return null;
705
}
706
707
const linkRef = React.createRef();
708
709
- // Mimics https://github.com/ReactTraining/react-router/blob/main/packages/react-router-dom/modules/Link.js
709
+ // Mimics https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/modules/Link.js
710
function Link({children, path}) {
711
return (
712
<RouterContext.Consumer>
packages/react-devtools/CHANGELOG.md
+1
-1
@@ -66,7 +66,7 @@
66
* Console patching should handle Symbols without erroring ([bvaughn](https://github.com/bvaughn) in [#21368](https://github.com/facebook/react/pull/21368))
67
68
###### Bridge protocol version backend/frontend
69
-During initialization, DevTools now checks to ensure it's compatible with the ["backend"](https://github.com/facebook/react/blob/master/packages/react-devtools/OVERVIEW.md#overview) that's embedded within a renderer like React Native. If the two aren't compatible, upgrade instructions will be shown:
69
+During initialization, DevTools now checks to ensure it's compatible with the ["backend"](https://github.com/facebook/react/blob/main/packages/react-devtools/OVERVIEW.md#overview) that's embedded within a renderer like React Native. If the two aren't compatible, upgrade instructions will be shown:
70
71
<img width="400" height="233" alt="Dialog displaying downgrade instructions for the React DevTools frontend to connect to an older backend version" src="https://user-images.githubusercontent.com/29597/115997927-f77f2a00-a5b2-11eb-9098-20042b664cea.png">
72
scripts/error-codes/extract-errors.js
+1
-1
@@ -18,7 +18,7 @@ const babylonOptions = {
18
// As a parser, babylon has its own options and we can't directly
19
// import/require a babel preset. It should be kept **the same** as
20
// the `babel-plugin-syntax-*` ones specified in
21
- // https://github.com/facebook/fbjs/blob/main/packages/babel-preset-fbjs/configure.js
21
+ // https://github.com/facebook/fbjs/blob/master/packages/babel-preset-fbjs/configure.js
22
plugins: [
23
'classProperties',
24
'flow',