Skip to content

Commit 2a0f1bc

Browse files
shubham9411Shubham Pandey
authored andcommitted
Some remaining instances of master to main (facebook#21982)
Co-authored-by: Shubham Pandey <shubham.pandey@mfine.co>
1 parent 889fd6a commit 2a0f1bc

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

fixtures/attribute-behavior/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ Right now, we use a purple outline to call out cases where the assigned property
2828

2929
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It depends on a local build of React and enables us to easily test async "time s
1010

1111
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.
1212

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.
1414

1515
## How do I run this fixture?
1616

fixtures/devtools/regression/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if (typeof SchedulerTracing !== 'undefined') {
3232
trace = (_, __, callback) => callback();
3333
}
3434

35-
// https://github.com/facebook/react/blob/master/CHANGELOG.md
35+
// https://github.com/facebook/react/blob/main/CHANGELOG.md
3636
switch (major) {
3737
case 16:
3838
switch (minor) {

packages/react-devtools-extensions/flow-typed/npm/react-test-renderer_v16.x.x.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// flow-typed version: 9c71eca8ef/react-test-renderer_v16.x.x/flow_>=v0.47.x
33

44
// 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
66

77
'use strict';
88

packages/react-devtools-shared/src/__tests__/profilingCache-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ describe('ProfilingCache', () => {
672672

673673
const About = () => <div>About</div>;
674674

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
676676
function Router({children}) {
677677
const [path, setPath] = React.useState('/');
678678
return (
@@ -682,7 +682,7 @@ describe('ProfilingCache', () => {
682682
);
683683
}
684684

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
686686
function Switch({children}) {
687687
return (
688688
<RouterContext.Consumer>
@@ -699,14 +699,14 @@ describe('ProfilingCache', () => {
699699
);
700700
}
701701

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
703703
function Route({children, path}) {
704704
return null;
705705
}
706706

707707
const linkRef = React.createRef();
708708

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
710710
function Link({children, path}) {
711711
return (
712712
<RouterContext.Consumer>

packages/react-devtools/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Console patching should handle Symbols without erroring ([bvaughn](https://github.com/bvaughn) in [#21368](https://github.com/facebook/react/pull/21368))
6767

6868
###### 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:
7070

7171
<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">
7272

scripts/error-codes/extract-errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const babylonOptions = {
1818
// As a parser, babylon has its own options and we can't directly
1919
// import/require a babel preset. It should be kept **the same** as
2020
// 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
2222
plugins: [
2323
'classProperties',
2424
'flow',

0 commit comments

Comments
 (0)