to be keyboard accessible ([83fae860df](https://github.com/react/react-native/commit/83fae860df8d1ac2d89b3cddf8c595b2cc88a74f) by [@joevilches](https://github.com/joevilches))
+- **Text:** Correctly announce "link" on nested text if its the entire text element ([bffb414291](https://github.com/react/react-native/commit/bffb414291cfbd3d6e3e51448dd68b7bddddf658) by [@joevilches](https://github.com/joevilches))
+- **Text:** Selection range not respected when changing text or selection when selection is forced ([d32ea66e6a](https://github.com/react/react-native/commit/d32ea66e6a945dd84092532401b265b12d482668) by Olivier Bouillet)
+- **TextInput:** Fix TextInput `onContentSizeChange` event being dispatched only once on iOS on the new architecture ([5fd5188172](https://github.com/react/react-native/commit/5fd51881727b2d86f87abf04db032940ac0ec8c4) by [@j-piasecki](https://github.com/j-piasecki))
## v0.79.7
diff --git a/README.md b/README.md
index b4280bb6abd8..26ee5badbb16 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@
-
+
@@ -38,7 +38,7 @@
·
Community
·
- Support
+ Support
React Native brings [**React**'s][r] declarative UI framework to iOS and Android. With React Native, you use native UI controls and have full access to the native platform.
@@ -52,7 +52,7 @@ React Native is developed and supported by many companies and individual core co
[r]: https://react.dev/
[p]: https://reactnative.dev/docs/out-of-tree-platforms
-[e]: https://github.com/facebook/react-native/blob/HEAD/ECOSYSTEM.md
+[e]: https://github.com/react/react-native/blob/HEAD/ECOSYSTEM.md
## Contents
@@ -123,13 +123,13 @@ Read our [**Contributing Guide**][contribute] to learn about our development pro
You can learn more about our vision for React Native in the [**Roadmap**][roadmap].
-[roadmap]: https://github.com/facebook/react-native/wiki/Roadmap
+[roadmap]: https://github.com/react/react-native/wiki/Roadmap
### Good First Issues
We have a list of [good first issues][gfi] that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.
-[gfi]: https://github.com/facebook/react-native/labels/good%20first%20issue
+[gfi]: https://github.com/react/react-native/labels/good%20first%20issue
### Discussions
@@ -141,4 +141,4 @@ Larger discussions and proposals are discussed in [**@react-native-community/dis
React Native is MIT licensed, as found in the [LICENSE][l] file.
-[l]: https://github.com/facebook/react-native/blob/main/LICENSE
+[l]: https://github.com/react/react-native/blob/main/LICENSE
diff --git a/jest/preprocessor.js b/jest/preprocessor.js
index 90d6c464647c..5a1c9e39cc16 100644
--- a/jest/preprocessor.js
+++ b/jest/preprocessor.js
@@ -79,7 +79,7 @@ module.exports = {
let {ast} = transformer.transform({
filename: file,
options: {
- ast: true, // needed for open source (?) https://github.com/facebook/react-native/commit/f8d6b97140cffe8d18b2558f94570c8d1b410d5c#r28647044
+ ast: true, // needed for open source (?) https://github.com/react/react-native/commit/f8d6b97140cffe8d18b2558f94570c8d1b410d5c#r28647044
dev: true,
enableBabelRuntime: false,
experimentalImportSupport: false,
diff --git a/packages/assets/package.json b/packages/assets/package.json
index 043849a85f24..fc0ecb1cc5ee 100644
--- a/packages/assets/package.json
+++ b/packages/assets/package.json
@@ -5,17 +5,17 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/assets"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/assets#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/assets#readme",
"keywords": [
"assets",
"registry",
"react-native",
"support"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/babel-plugin-codegen/package.json b/packages/babel-plugin-codegen/package.json
index 5fd96b7ce3fe..df6c7df3e6cd 100644
--- a/packages/babel-plugin-codegen/package.json
+++ b/packages/babel-plugin-codegen/package.json
@@ -5,10 +5,10 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/babel-plugin-codegen"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/babel-plugin-codegen#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/babel-plugin-codegen#readme",
"keywords": [
"babel",
"plugin",
@@ -17,7 +17,7 @@
"native-modules",
"view-manager"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/community-cli-plugin/package.json b/packages/community-cli-plugin/package.json
index 583483c2f29b..ad5e3f88875f 100644
--- a/packages/community-cli-plugin/package.json
+++ b/packages/community-cli-plugin/package.json
@@ -6,11 +6,11 @@
"react-native",
"tools"
],
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/community-cli-plugin#readme",
- "bugs": "https://github.com/facebook/react-native/issues",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/community-cli-plugin#readme",
+ "bugs": "https://github.com/react/react-native/issues",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/community-cli-plugin"
},
"license": "MIT",
diff --git a/packages/community-cli-plugin/src/utils/version.js b/packages/community-cli-plugin/src/utils/version.js
index 27f455a8aaee..fc87d0d57cf9 100644
--- a/packages/community-cli-plugin/src/utils/version.js
+++ b/packages/community-cli-plugin/src/utils/version.js
@@ -141,7 +141,7 @@ export default async function getLatestRelease(
}
function buildChangelogUrl(version: string) {
- return `https://github.com/facebook/react-native/releases/tag/v${version}`;
+ return `https://github.com/react/react-native/releases/tag/v${version}`;
}
function buildDiffUrl(oldVersion: string, newVersion: string) {
diff --git a/packages/core-cli-utils/package.json b/packages/core-cli-utils/package.json
index a598d04fbf52..d38fde470051 100644
--- a/packages/core-cli-utils/package.json
+++ b/packages/core-cli-utils/package.json
@@ -6,7 +6,7 @@
"main": "./src/index.flow.js",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/core-cli-utils"
},
"exports": {
@@ -14,12 +14,12 @@
"./package.json": "./package.json",
"./version.js": "./src/public/version.js"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/core-cli-utils#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/core-cli-utils#readme",
"keywords": [
"cli-utils",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/debugger-frontend/package.json b/packages/debugger-frontend/package.json
index 5e65dcc290ae..df0117018194 100644
--- a/packages/debugger-frontend/package.json
+++ b/packages/debugger-frontend/package.json
@@ -6,11 +6,11 @@
"react-native",
"tools"
],
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/debugger-frontend#readme",
- "bugs": "https://github.com/facebook/react-native/issues",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/debugger-frontend#readme",
+ "bugs": "https://github.com/react/react-native/issues",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/debugger-frontend"
},
"license": "BSD-3-Clause",
diff --git a/packages/debugger-shell/bin/react-native-devtools b/packages/debugger-shell/bin/react-native-devtools
index 4162236379ab..b925d4df4ed0 100755
--- a/packages/debugger-shell/bin/react-native-devtools
+++ b/packages/debugger-shell/bin/react-native-devtools
@@ -12,7 +12,7 @@
"digest": "a6060e1291f9ee7e9feecd511012c041ed2a65c6df6f8ab5aca4d96adbbc9921",
"providers": [
{
- "url": "https://github.com/facebook/react-native/releases/download/v0.83.9/React.Native.DevTools-linux-aarch64.tar.gz"
+ "url": "https://github.com/react/react-native/releases/download/v0.83.9/React.Native.DevTools-linux-aarch64.tar.gz"
},
{
"type": "http",
@@ -28,7 +28,7 @@
"digest": "354f6550617d0c6b4bb4478ad085d4efe3671ba9a1b78d90d9bfc003a523cb6d",
"providers": [
{
- "url": "https://github.com/facebook/react-native/releases/download/v0.83.9/React.Native.DevTools-linux-x86_64.tar.gz"
+ "url": "https://github.com/react/react-native/releases/download/v0.83.9/React.Native.DevTools-linux-x86_64.tar.gz"
},
{
"type": "http",
@@ -44,7 +44,7 @@
"digest": "df41cfce9bc977ef4fdc66c3c892c0eedee5b07aa618550308157c51b8e75561",
"providers": [
{
- "url": "https://github.com/facebook/react-native/releases/download/v0.83.9/React.Native.DevTools-macos-aarch64.tar.gz"
+ "url": "https://github.com/react/react-native/releases/download/v0.83.9/React.Native.DevTools-macos-aarch64.tar.gz"
},
{
"type": "http",
@@ -60,7 +60,7 @@
"digest": "96805c51623a163b1d94b501e2e091f403b4c3575063bd7363f8e1550cda8dc5",
"providers": [
{
- "url": "https://github.com/facebook/react-native/releases/download/v0.83.9/React.Native.DevTools-macos-x86_64.tar.gz"
+ "url": "https://github.com/react/react-native/releases/download/v0.83.9/React.Native.DevTools-macos-x86_64.tar.gz"
},
{
"type": "http",
@@ -76,7 +76,7 @@
"digest": "7f560e6d68b4b917c53ba0518a778a20e267cce55474ad972d345b2738746a52",
"providers": [
{
- "url": "https://github.com/facebook/react-native/releases/download/v0.83.9/React.Native.DevTools-windows-x86_64.tar.gz"
+ "url": "https://github.com/react/react-native/releases/download/v0.83.9/React.Native.DevTools-windows-x86_64.tar.gz"
},
{
"type": "http",
diff --git a/packages/debugger-shell/package.json b/packages/debugger-shell/package.json
index df0c6f493f64..66ca1088355a 100644
--- a/packages/debugger-shell/package.json
+++ b/packages/debugger-shell/package.json
@@ -7,8 +7,8 @@
"react-native",
"tools"
],
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/debugger-shell#readme",
- "bugs": "https://github.com/facebook/react-native/issues",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/debugger-shell#readme",
+ "bugs": "https://github.com/react/react-native/issues",
"main": "./src/index.js",
"exports": {
".": {
@@ -22,7 +22,7 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/debugger-shell"
},
"license": "MIT",
diff --git a/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js b/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js
index bf68f735c050..dc326e45b6cb 100644
--- a/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js
+++ b/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js
@@ -116,7 +116,7 @@ function configureAppMenu() {
label: 'Release Notes',
click: () =>
shell.openExternal(
- 'https://github.com/facebook/react-native/releases',
+ 'https://github.com/react/react-native/releases',
),
},
],
diff --git a/packages/dev-middleware/README.md b/packages/dev-middleware/README.md
index 332d493afb55..c932ebf963b1 100644
--- a/packages/dev-middleware/README.md
+++ b/packages/dev-middleware/README.md
@@ -37,7 +37,7 @@ function myDevServerImpl(args) {
## Included middleware
-`@react-native/dev-middleware` is designed for integrators such as [`@expo/dev-server`](https://www.npmjs.com/package/@expo/dev-server) and [`@react-native/community-cli-plugin`](https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin). It provides a common default implementation for core React Native dev server responsibilities.
+`@react-native/dev-middleware` is designed for integrators such as [`@expo/dev-server`](https://www.npmjs.com/package/@expo/dev-server) and [`@react-native/community-cli-plugin`](https://github.com/react/react-native/tree/main/packages/community-cli-plugin). It provides a common default implementation for core React Native dev server responsibilities.
We intend to keep this to a narrow set of functionality, based around:
diff --git a/packages/dev-middleware/package.json b/packages/dev-middleware/package.json
index a44ad6d2d3c3..57f96fab8510 100644
--- a/packages/dev-middleware/package.json
+++ b/packages/dev-middleware/package.json
@@ -6,11 +6,11 @@
"react-native",
"tools"
],
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/dev-middleware#readme",
- "bugs": "https://github.com/facebook/react-native/issues",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/dev-middleware#readme",
+ "bugs": "https://github.com/react/react-native/issues",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/dev-middleware"
},
"license": "MIT",
diff --git a/packages/eslint-config-react-native/package.json b/packages/eslint-config-react-native/package.json
index 5cdc69f43e86..ce1fb9e76ee9 100644
--- a/packages/eslint-config-react-native/package.json
+++ b/packages/eslint-config-react-native/package.json
@@ -5,16 +5,16 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/eslint-config-react-native"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/eslint-config-react-native#readme",
"keywords": [
"eslint",
"config",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/eslint-plugin-react-native/README.md b/packages/eslint-plugin-react-native/README.md
index 48fc9bcf67c1..1b2247274334 100644
--- a/packages/eslint-plugin-react-native/README.md
+++ b/packages/eslint-plugin-react-native/README.md
@@ -1,6 +1,6 @@
# @react-native/eslint-plugin
-This plugin is intended to be used in [`@react-native/eslint-config`](https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native). You probably want to install that package instead.
+This plugin is intended to be used in [`@react-native/eslint-config`](https://github.com/react/react-native/tree/HEAD/packages/eslint-config-react-native). You probably want to install that package instead.
## Installation
diff --git a/packages/eslint-plugin-react-native/package.json b/packages/eslint-plugin-react-native/package.json
index 8f7175812f07..faa7e5031fac 100644
--- a/packages/eslint-plugin-react-native/package.json
+++ b/packages/eslint-plugin-react-native/package.json
@@ -5,17 +5,17 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/eslint-plugin-react-native"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-plugin-react-native#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/eslint-plugin-react-native#readme",
"keywords": [
"eslint",
"rules",
"eslint-config",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"main": "index.js",
"devDependencies": {
"babel-plugin-syntax-hermes-parser": "0.32.0",
diff --git a/packages/eslint-plugin-specs/package.json b/packages/eslint-plugin-specs/package.json
index 05a9ff2ceef6..a6072654b69d 100644
--- a/packages/eslint-plugin-specs/package.json
+++ b/packages/eslint-plugin-specs/package.json
@@ -5,10 +5,10 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/eslint-plugin-specs"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-plugin-specs#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/eslint-plugin-specs#readme",
"keywords": [
"eslint",
"rules",
@@ -17,7 +17,7 @@
"components",
"specs"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"main": "index.js",
"scripts": {
"prepack": "node prepack.js",
diff --git a/packages/gradle-plugin/package.json b/packages/gradle-plugin/package.json
index a3c5c8a1550d..83c484874fb5 100644
--- a/packages/gradle-plugin/package.json
+++ b/packages/gradle-plugin/package.json
@@ -5,16 +5,16 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/gradle-plugin"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/gradle-plugin#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/gradle-plugin#readme",
"keywords": [
"gradle",
"plugin",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/gradle-plugin/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/DependencyUtils.kt b/packages/gradle-plugin/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/DependencyUtils.kt
index f93ef2c9c144..7f63fc50219c 100644
--- a/packages/gradle-plugin/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/DependencyUtils.kt
+++ b/packages/gradle-plugin/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/DependencyUtils.kt
@@ -124,7 +124,7 @@ internal object DependencyUtils {
project.rootProject.allprojects { eachProject ->
eachProject.configurations.all { configuration ->
// Here we set a dependencySubstitution for both react-native and hermes-engine as those
- // coordinates are voided due to https://github.com/facebook/react-native/issues/35210
+ // coordinates are voided due to https://github.com/react/react-native/issues/35210
// This allows users to import libraries that are still using
// implementation("com.facebook.react:react-native:+") and resolve the right dependency.
configuration.resolutionStrategy.dependencySubstitution {
@@ -159,14 +159,14 @@ internal object DependencyUtils {
Triple(
"com.facebook.react:react-native",
"${coordinates.reactGroupString}:react-android:${coordinates.versionString}",
- "The react-native artifact was deprecated in favor of react-android due to https://github.com/facebook/react-native/issues/35210.",
+ "The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210.",
)
)
dependencySubstitution.add(
Triple(
"com.facebook.react:hermes-engine",
hermesVersionString,
- "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/facebook/react-native/issues/35210.",
+ "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210.",
)
)
dependencySubstitution.add(
diff --git a/packages/gradle-plugin/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/utils/DependencyUtilsTest.kt b/packages/gradle-plugin/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/utils/DependencyUtilsTest.kt
index b48ea7984633..5acf30888b24 100644
--- a/packages/gradle-plugin/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/utils/DependencyUtilsTest.kt
+++ b/packages/gradle-plugin/react-native-gradle-plugin/src/test/kotlin/com/facebook/react/utils/DependencyUtilsTest.kt
@@ -438,14 +438,14 @@ class DependencyUtilsTest {
assertThat("com.facebook.react:react-android:0.42.0")
.isEqualTo(dependencySubstitutions[0].second)
assertThat(
- "The react-native artifact was deprecated in favor of react-android due to https://github.com/facebook/react-native/issues/35210."
+ "The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[0].third)
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
assertThat("com.facebook.hermes:hermes-android:0.42.0")
.isEqualTo(dependencySubstitutions[1].second)
assertThat(
- "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/facebook/react-native/issues/35210."
+ "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[1].third)
}
@@ -462,14 +462,14 @@ class DependencyUtilsTest {
assertThat("com.facebook.react:react-android:0.42.0")
.isEqualTo(dependencySubstitutions[0].second)
assertThat(
- "The react-native artifact was deprecated in favor of react-android due to https://github.com/facebook/react-native/issues/35210."
+ "The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[0].third)
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
assertThat("com.facebook.hermes:hermes-android:0.43.0")
.isEqualTo(dependencySubstitutions[1].second)
assertThat(
- "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/facebook/react-native/issues/35210."
+ "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[1].third)
}
@@ -490,14 +490,14 @@ class DependencyUtilsTest {
assertThat("com.facebook.react:react-native").isEqualTo(dependencySubstitutions[0].first)
assertThat("io.github.test:react-android:0.42.0").isEqualTo(dependencySubstitutions[0].second)
assertThat(
- "The react-native artifact was deprecated in favor of react-android due to https://github.com/facebook/react-native/issues/35210."
+ "The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[0].third)
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
assertThat("io.github.test.hermes:hermes-android:0.42.0")
.isEqualTo(dependencySubstitutions[1].second)
assertThat(
- "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/facebook/react-native/issues/35210."
+ "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[1].third)
assertThat("com.facebook.react:hermes-android").isEqualTo(dependencySubstitutions[2].first)
@@ -533,14 +533,14 @@ class DependencyUtilsTest {
assertThat("com.facebook.react:react-native").isEqualTo(dependencySubstitutions[0].first)
assertThat("io.github.test:react-android:0.42.0").isEqualTo(dependencySubstitutions[0].second)
assertThat(
- "The react-native artifact was deprecated in favor of react-android due to https://github.com/facebook/react-native/issues/35210."
+ "The react-native artifact was deprecated in favor of react-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[0].third)
assertThat("com.facebook.react:hermes-engine").isEqualTo(dependencySubstitutions[1].first)
assertThat("io.github.test.hermes:hermes-android:0.43.0")
.isEqualTo(dependencySubstitutions[1].second)
assertThat(
- "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/facebook/react-native/issues/35210."
+ "The hermes-engine artifact was deprecated in favor of hermes-android due to https://github.com/react/react-native/issues/35210."
)
.isEqualTo(dependencySubstitutions[1].third)
assertThat("com.facebook.react:hermes-android").isEqualTo(dependencySubstitutions[2].first)
diff --git a/packages/metro-config/package.json b/packages/metro-config/package.json
index b010db870ae8..10bef0b13372 100644
--- a/packages/metro-config/package.json
+++ b/packages/metro-config/package.json
@@ -5,16 +5,16 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/metro-config"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/metro-config#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/metro-config#readme",
"keywords": [
"metro",
"config",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/new-app-screen/package.json b/packages/new-app-screen/package.json
index 3038620a4b1d..e81de4b0ea98 100644
--- a/packages/new-app-screen/package.json
+++ b/packages/new-app-screen/package.json
@@ -5,11 +5,11 @@
"keywords": [
"react-native"
],
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/new-app-screen#readme",
- "bugs": "https://github.com/facebook/react-native/issues",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/new-app-screen#readme",
+ "bugs": "https://github.com/react/react-native/issues",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/new-app-screen"
},
"license": "MIT",
diff --git a/packages/normalize-color/package.json b/packages/normalize-color/package.json
index fc25f3a9b315..d994314666bc 100644
--- a/packages/normalize-color/package.json
+++ b/packages/normalize-color/package.json
@@ -5,17 +5,17 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/normalize-color"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/normalize-color#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/normalize-color#readme",
"keywords": [
"color",
"normalization",
"normalize-colors",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"files": [
"index.js",
"README.md",
diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json
index 60064460fdca..f33efd48b3c9 100644
--- a/packages/polyfills/package.json
+++ b/packages/polyfills/package.json
@@ -5,10 +5,10 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/polyfills"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/polyfills#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/polyfills#readme",
"keywords": [
"polyfill",
"polyfills",
@@ -16,7 +16,7 @@
"js-polyfills",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/react-native-babel-preset/package.json b/packages/react-native-babel-preset/package.json
index 85abd6df95bd..c62ad33f1d5f 100644
--- a/packages/react-native-babel-preset/package.json
+++ b/packages/react-native-babel-preset/package.json
@@ -4,7 +4,7 @@
"description": "Babel preset for React Native applications",
"repository": {
"type": "git",
- "url": "git+ssh://git@github.com/facebook/react-native.git"
+ "url": "git+ssh://git@github.com/react/react-native.git"
},
"keywords": [
"babel",
diff --git a/packages/react-native-babel-transformer/package.json b/packages/react-native-babel-transformer/package.json
index bfb089ecac38..1c068ff3cd4e 100644
--- a/packages/react-native-babel-transformer/package.json
+++ b/packages/react-native-babel-transformer/package.json
@@ -4,7 +4,7 @@
"description": "Babel transformer for React Native applications.",
"repository": {
"type": "git",
- "url": "git+ssh://git@github.com/facebook/react-native.git",
+ "url": "git+ssh://git@github.com/react/react-native.git",
"directory": "packages/react-native-babel-transformer"
},
"keywords": [
diff --git a/packages/react-native-babel-transformer/src/index.js b/packages/react-native-babel-transformer/src/index.js
index d5e541c370a8..ceaf44e24a6a 100644
--- a/packages/react-native-babel-transformer/src/index.js
+++ b/packages/react-native-babel-transformer/src/index.js
@@ -10,7 +10,7 @@
// This file uses Flow comment syntax so that it may be used from source as a
// transformer without itself requiring transformation, such as in
-// facebook/react-native's own tests.
+// react/react-native's own tests.
'use strict';
diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json
index d3f640831105..c65dde643a05 100644
--- a/packages/react-native-codegen/package.json
+++ b/packages/react-native-codegen/package.json
@@ -5,10 +5,10 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/react-native-codegen"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-codegen#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/react-native-codegen#readme",
"keywords": [
"code",
"generation",
@@ -16,7 +16,7 @@
"tools",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/react-native-compatibility-check/package.json b/packages/react-native-compatibility-check/package.json
index 3d253ab8c99b..65761b3796f7 100644
--- a/packages/react-native-compatibility-check/package.json
+++ b/packages/react-native-compatibility-check/package.json
@@ -5,10 +5,10 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/react-native-compatibility-check"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-compatibility-check#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/react-native-compatibility-check#readme",
"keywords": [
"boundary",
"crashes",
@@ -17,7 +17,7 @@
"tools",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/react-native-compatibility-check/src/__tests__/TypeDiffing-test.js b/packages/react-native-compatibility-check/src/__tests__/TypeDiffing-test.js
index 563d89997f2e..f860d3948467 100644
--- a/packages/react-native-compatibility-check/src/__tests__/TypeDiffing-test.js
+++ b/packages/react-native-compatibility-check/src/__tests__/TypeDiffing-test.js
@@ -395,7 +395,7 @@ describe('components', () => {
it('does not error (but it should) on arrays of two different objects', () => {
// This doesn't fail because we don't store object alias info in the schema
// These are just arrays of mixed. Someday someone should fix this. NativeModules support this.
- // More info in https://github.com/facebook/react-native/pull/48476
+ // More info in https://github.com/react/react-native/pull/48476
expect(
compareTypes(
nativeComponentAllTypesCommandLookup('methodCustomObjArray'),
diff --git a/packages/react-native/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec b/packages/react-native/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec
index 06852c0a06eb..644c219219dd 100644
--- a/packages/react-native/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec
+++ b/packages/react-native/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Animated/components/AnimatedScrollView.js b/packages/react-native/Libraries/Animated/components/AnimatedScrollView.js
index 7a1a1d7b32ec..ca88cb6bda99 100644
--- a/packages/react-native/Libraries/Animated/components/AnimatedScrollView.js
+++ b/packages/react-native/Libraries/Animated/components/AnimatedScrollView.js
@@ -31,7 +31,7 @@ import {cloneElement, useMemo} from 'react';
type AnimatedScrollViewInstance = React.ElementRef;
/**
- * @see https://github.com/facebook/react-native/commit/b8c8562
+ * @see https://github.com/react/react-native/commit/b8c8562
*/
const AnimatedScrollView: AnimatedComponentType<
ScrollViewProps,
diff --git a/packages/react-native/Libraries/AppDelegate/React-RCTAppDelegate.podspec b/packages/react-native/Libraries/AppDelegate/React-RCTAppDelegate.podspec
index 437a80be92cc..094b6d48e180 100644
--- a/packages/react-native/Libraries/AppDelegate/React-RCTAppDelegate.podspec
+++ b/packages/react-native/Libraries/AppDelegate/React-RCTAppDelegate.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Blob/React-RCTBlob.podspec b/packages/react-native/Libraries/Blob/React-RCTBlob.podspec
index b0cab4521289..6a6acd09b46f 100644
--- a/packages/react-native/Libraries/Blob/React-RCTBlob.podspec
+++ b/packages/react-native/Libraries/Blob/React-RCTBlob.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Components/Button.js b/packages/react-native/Libraries/Components/Button.js
index 875d9b209339..98bd3b6c84cf 100644
--- a/packages/react-native/Libraries/Components/Button.js
+++ b/packages/react-native/Libraries/Components/Button.js
@@ -128,7 +128,7 @@ export type ButtonProps = $ReadOnly<{
accessibilityLabel?: ?string,
/**
* Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel
- * https://github.com/facebook/react-native/issues/34424
+ * https://github.com/react/react-native/issues/34424
*/
'aria-label'?: ?string,
/**
@@ -182,7 +182,7 @@ export type ButtonProps = $ReadOnly<{
[button:examples].
[button:source]:
- https://github.com/facebook/react-native/blob/HEAD/Libraries/Components/Button.js
+ https://github.com/react/react-native/blob/HEAD/Libraries/Components/Button.js
[button:examples]:
https://js.coach/?menu%5Bcollections%5D=React%20Native&page=1&query=button
diff --git a/packages/react-native/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js b/packages/react-native/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js
index 8cc136961bc0..3eadf4aebe17 100644
--- a/packages/react-native/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js
+++ b/packages/react-native/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js
@@ -553,7 +553,7 @@ export type AndroidTextInputNativeProps = $ReadOnly<{
* - `borderBottomRightRadius`
* - `borderBottomLeftRadius`
*
- * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)
+ * see [Issue#7070](https://github.com/react/react-native/issues/7070)
* for more detail.
*
* [Styles](docs/style.html)
diff --git a/packages/react-native/Libraries/Components/TextInput/TextInput.flow.js b/packages/react-native/Libraries/Components/TextInput/TextInput.flow.js
index c78ce4035554..775c71d19279 100644
--- a/packages/react-native/Libraries/Components/TextInput/TextInput.flow.js
+++ b/packages/react-native/Libraries/Components/TextInput/TextInput.flow.js
@@ -1007,7 +1007,7 @@ type TextInputBaseProps = $ReadOnly<{
* - `borderBottomRightRadius`
* - `borderBottomLeftRadius`
*
- * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)
+ * see [Issue#7070](https://github.com/react/react-native/issues/7070)
* for more detail.
*
* [Styles](docs/style.html)
diff --git a/packages/react-native/Libraries/Components/Touchable/Touchable.d.ts b/packages/react-native/Libraries/Components/Touchable/Touchable.d.ts
index 3c0065c9e02b..3dbd2a911a80 100644
--- a/packages/react-native/Libraries/Components/Touchable/Touchable.d.ts
+++ b/packages/react-native/Libraries/Components/Touchable/Touchable.d.ts
@@ -32,7 +32,7 @@ export const Touchable: {
};
/**
- * @see https://github.com/facebook/react-native/blob/0.34-stable\Libraries\Components\Touchable\Touchable.js
+ * @see https://github.com/react/react-native/blob/0.34-stable\Libraries\Components\Touchable\Touchable.js
*/
interface TouchableMixin {
/**
diff --git a/packages/react-native/Libraries/Components/View/ViewAccessibility.d.ts b/packages/react-native/Libraries/Components/View/ViewAccessibility.d.ts
index 8c7ef1e99303..c4f462739efb 100644
--- a/packages/react-native/Libraries/Components/View/ViewAccessibility.d.ts
+++ b/packages/react-native/Libraries/Components/View/ViewAccessibility.d.ts
@@ -34,7 +34,7 @@ export interface AccessibilityProps
/**
* Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel
- * https://github.com/facebook/react-native/issues/34424
+ * https://github.com/react/react-native/issues/34424
*/
'aria-label'?: string | undefined;
diff --git a/packages/react-native/Libraries/Components/View/ViewAccessibility.js b/packages/react-native/Libraries/Components/View/ViewAccessibility.js
index 09d0b4c19772..0d92860dc132 100644
--- a/packages/react-native/Libraries/Components/View/ViewAccessibility.js
+++ b/packages/react-native/Libraries/Components/View/ViewAccessibility.js
@@ -370,7 +370,7 @@ export type AccessibilityProps = $ReadOnly<{
/**
* Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel
- * https://github.com/facebook/react-native/issues/34424
+ * https://github.com/react/react-native/issues/34424
*/
'aria-label'?: ?Stringish,
diff --git a/packages/react-native/Libraries/Core/Timers/JSTimers.js b/packages/react-native/Libraries/Core/Timers/JSTimers.js
index 4ef450e0bc13..d0234157446d 100644
--- a/packages/react-native/Libraries/Core/Timers/JSTimers.js
+++ b/packages/react-native/Libraries/Core/Timers/JSTimers.js
@@ -158,7 +158,7 @@ function _callReactNativeMicrotasksPass() {
reactNativeMicrotasks = [];
// Use for loop rather than forEach as per @vjeux's advice
- // https://github.com/facebook/react-native/commit/c8fd9f7588ad02d2293cac7224715f4af7b0f352#commitcomment-14570051
+ // https://github.com/react/react-native/commit/c8fd9f7588ad02d2293cac7224715f4af7b0f352#commitcomment-14570051
for (let i = 0; i < passReactNativeMicrotasks.length; ++i) {
_callTimer(passReactNativeMicrotasks[i], 0);
}
diff --git a/packages/react-native/Libraries/Core/setUpNavigator.js b/packages/react-native/Libraries/Core/setUpNavigator.js
index bcf2cbd597b5..393472b2c7da 100644
--- a/packages/react-native/Libraries/Core/setUpNavigator.js
+++ b/packages/react-native/Libraries/Core/setUpNavigator.js
@@ -17,6 +17,6 @@ if (navigator === undefined) {
// $FlowExpectedError[cannot-write] The global isn't writable anywhere but here, where we define it.
global.navigator = {product: 'ReactNative'};
} else {
- // see https://github.com/facebook/react-native/issues/10881
+ // see https://github.com/react/react-native/issues/10881
polyfillObjectProperty(navigator, 'product', () => 'ReactNative');
}
diff --git a/packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts b/packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts
index 417043220e47..f4b7b87359c7 100644
--- a/packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts
+++ b/packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts
@@ -20,7 +20,7 @@ export interface NativeEventSubscription {
* Receive events from native-code
* Deprecated - subclass NativeEventEmitter to create granular event modules instead of
* adding all event listeners directly to RCTNativeAppEventEmitter.
- * @see https://github.com/facebook/react-native/blob/0.34-stable\Libraries\EventEmitter\RCTNativeAppEventEmitter.js
+ * @see https://github.com/react/react-native/blob/0.34-stable\Libraries\EventEmitter\RCTNativeAppEventEmitter.js
* @see https://reactnative.dev/docs/native-modules-ios#sending-events-to-javascript
*/
type RCTNativeAppEventEmitter = DeviceEventEmitterStatic;
diff --git a/packages/react-native/Libraries/FBLazyVector/FBLazyVector.podspec b/packages/react-native/Libraries/FBLazyVector/FBLazyVector.podspec
index c8596ac37ec7..755d7406a488 100644
--- a/packages/react-native/Libraries/FBLazyVector/FBLazyVector.podspec
+++ b/packages/react-native/Libraries/FBLazyVector/FBLazyVector.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Image/ImageSource.d.ts b/packages/react-native/Libraries/Image/ImageSource.d.ts
index 89b694d7e8e4..aa426beda08a 100644
--- a/packages/react-native/Libraries/Image/ImageSource.d.ts
+++ b/packages/react-native/Libraries/Image/ImageSource.d.ts
@@ -8,7 +8,7 @@
*/
/*
- * @see https://github.com/facebook/react-native/blob/master/Libraries/Image/ImageSource.js
+ * @see https://github.com/react/react-native/blob/master/Libraries/Image/ImageSource.js
*/
export interface ImageURISource {
/**
diff --git a/packages/react-native/Libraries/Image/RCTImageLoader.mm b/packages/react-native/Libraries/Image/RCTImageLoader.mm
index 9c2553d7ec52..39f4beddb3b2 100644
--- a/packages/react-native/Libraries/Image/RCTImageLoader.mm
+++ b/packages/react-native/Libraries/Image/RCTImageLoader.mm
@@ -517,7 +517,7 @@ - (RCTImageURLLoaderRequest *)_loadImageOrDataWithURLRequest:(NSURLRequest *)req
// Add missing png extension
if (request.URL.fileURL && request.URL.pathExtension.length == 0) {
// Check if there exists a file with that url on disk already
- // This should fix issue https://github.com/facebook/react-native/issues/46870
+ // This should fix issue https://github.com/react/react-native/issues/46870
if ([[NSFileManager defaultManager] fileExistsAtPath:request.URL.path]) {
mutableRequest.URL = request.URL;
} else {
diff --git a/packages/react-native/Libraries/Image/React-RCTImage.podspec b/packages/react-native/Libraries/Image/React-RCTImage.podspec
index f2692e24c24d..f72061451ca7 100644
--- a/packages/react-native/Libraries/Image/React-RCTImage.podspec
+++ b/packages/react-native/Libraries/Image/React-RCTImage.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Interaction/PanResponder.js b/packages/react-native/Libraries/Interaction/PanResponder.js
index 1a38656aec02..fc01fc64915d 100644
--- a/packages/react-native/Libraries/Interaction/PanResponder.js
+++ b/packages/react-native/Libraries/Interaction/PanResponder.js
@@ -117,7 +117,7 @@ const currentCentroidY = TouchHistoryMath.currentCentroidY;
* ### Working Example
*
* To see it in action, try the
- * [PanResponder example in RNTester](https://github.com/facebook/react-native/blob/HEAD/packages/rn-tester/js/examples/PanResponder/PanResponderExample.js)
+ * [PanResponder example in RNTester](https://github.com/react/react-native/blob/HEAD/packages/rn-tester/js/examples/PanResponder/PanResponderExample.js)
*/
export type PanResponderGestureState = {
diff --git a/packages/react-native/Libraries/LinkingIOS/React-RCTLinking.podspec b/packages/react-native/Libraries/LinkingIOS/React-RCTLinking.podspec
index 370b6b93d96c..ef233ccd0ab4 100644
--- a/packages/react-native/Libraries/LinkingIOS/React-RCTLinking.podspec
+++ b/packages/react-native/Libraries/LinkingIOS/React-RCTLinking.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/NativeAnimation/React-RCTAnimation.podspec b/packages/react-native/Libraries/NativeAnimation/React-RCTAnimation.podspec
index cc2f5c3d7e63..837fefdf7305 100644
--- a/packages/react-native/Libraries/NativeAnimation/React-RCTAnimation.podspec
+++ b/packages/react-native/Libraries/NativeAnimation/React-RCTAnimation.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Network/React-RCTNetwork.podspec b/packages/react-native/Libraries/Network/React-RCTNetwork.podspec
index 8bc86ff004c4..79a2afd4768e 100644
--- a/packages/react-native/Libraries/Network/React-RCTNetwork.podspec
+++ b/packages/react-native/Libraries/Network/React-RCTNetwork.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec b/packages/react-native/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec
index ffdf21320f66..a2821e6cc72d 100644
--- a/packages/react-native/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec
+++ b/packages/react-native/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Renderer/README.md b/packages/react-native/Libraries/Renderer/README.md
index 8b0854c8a29d..c1a3c6c474b7 100644
--- a/packages/react-native/Libraries/Renderer/README.md
+++ b/packages/react-native/Libraries/Renderer/README.md
@@ -3,7 +3,7 @@
This page describes how React and React Native versions interact each other.
The version alignment between the two frameworks relies on two synchronization points:
-1. The versions in the `package.json` of the new app template. For example [for React Native 0.68.1](https://github.com/facebook/react-native/blob/0.68-stable/template/package.json#L12-L15) the versions are aligned as follows:
+1. The versions in the `package.json` of the new app template. For example [for React Native 0.68.1](https://github.com/react/react-native/blob/0.68-stable/template/package.json#L12-L15) the versions are aligned as follows:
```
"dependencies": {
@@ -12,7 +12,7 @@ The version alignment between the two frameworks relies on two synchronization p
},
```
-1. The React renderers **shipped** with React Native inside this folder, the [./Libraries/Renderer](https://github.com/facebook/react-native/tree/main/Libraries/Renderer) folder, of React Native.
+1. The React renderers **shipped** with React Native inside this folder, the [./Libraries/Renderer](https://github.com/react/react-native/tree/main/Libraries/Renderer) folder, of React Native.
This practically means that you **can't bump** the version of React in your `package.json` to a later version,
as you will still be using the older renderer from the folder mentioned above. Bumping the react version in your `package.json` will lead to unexpected behaviors.
diff --git a/packages/react-native/Libraries/Required/RCTRequired.podspec b/packages/react-native/Libraries/Required/RCTRequired.podspec
index bf8d0300c6a3..7709ddf68323 100644
--- a/packages/react-native/Libraries/Required/RCTRequired.podspec
+++ b/packages/react-native/Libraries/Required/RCTRequired.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Settings/React-RCTSettings.podspec b/packages/react-native/Libraries/Settings/React-RCTSettings.podspec
index 8bd2c214f601..8178621c7819 100644
--- a/packages/react-native/Libraries/Settings/React-RCTSettings.podspec
+++ b/packages/react-native/Libraries/Settings/React-RCTSettings.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Text/React-RCTText.podspec b/packages/react-native/Libraries/Text/React-RCTText.podspec
index e2240cf1fe6d..c750743f82da 100644
--- a/packages/react-native/Libraries/Text/React-RCTText.podspec
+++ b/packages/react-native/Libraries/Text/React-RCTText.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/TypeSafety/RCTTypeSafety.podspec b/packages/react-native/Libraries/TypeSafety/RCTTypeSafety.podspec
index 2d4ca98dc64f..2b08867fee10 100644
--- a/packages/react-native/Libraries/TypeSafety/RCTTypeSafety.podspec
+++ b/packages/react-native/Libraries/TypeSafety/RCTTypeSafety.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Libraries/Utilities/PolyfillFunctions.js b/packages/react-native/Libraries/Utilities/PolyfillFunctions.js
index 5731a3f4c49f..1e5751eaa259 100644
--- a/packages/react-native/Libraries/Utilities/PolyfillFunctions.js
+++ b/packages/react-native/Libraries/Utilities/PolyfillFunctions.js
@@ -23,7 +23,7 @@ const defineLazyObjectProperty = require('./defineLazyObjectProperty').default;
*
* global.XMLHttpRequest = global.originalXMLHttpRequest;
*
- * @see https://github.com/facebook/react-native/issues/934
+ * @see https://github.com/react/react-native/issues/934
*/
export function polyfillObjectProperty(
object: {...},
diff --git a/packages/react-native/Libraries/Vibration/React-RCTVibration.podspec b/packages/react-native/Libraries/Vibration/React-RCTVibration.podspec
index 9768c13d4b38..3ee77b2f6288 100644
--- a/packages/react-native/Libraries/Vibration/React-RCTVibration.podspec
+++ b/packages/react-native/Libraries/Vibration/React-RCTVibration.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/Package.swift b/packages/react-native/Package.swift
index 065c585a5cd7..d836f0e096b3 100644
--- a/packages/react-native/Package.swift
+++ b/packages/react-native/Package.swift
@@ -103,7 +103,7 @@ let jsi = RNTarget(
path: "ReactCommon/jsi",
// JSI is a part of hermes-engine. Including them also in react-native will violate the One Definition Rule.
// Precompiled binaries are only supported with hermes - so we can safely exclude the jsi.cpp file.
- // https://github.com/facebook/react-native/issues/53257
+ // https://github.com/react/react-native/issues/53257
excludedPaths: ["jsi/test", "jsi/jsi.cpp", "CMakeLists.txt", "jsi/CMakeLists.txt"],
dependencies: [.reactNativeDependencies]
)
diff --git a/packages/react-native/React-Core.podspec b/packages/react-native/React-Core.podspec
index 63eb78aeb59a..27f8387d2f6a 100644
--- a/packages/react-native/React-Core.podspec
+++ b/packages/react-native/React-Core.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/React.podspec b/packages/react-native/React.podspec
index 59b9f8319ae3..b77ff771f4d5 100644
--- a/packages/react-native/React.podspec
+++ b/packages/react-native/React.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/React/CoreModules/React-CoreModules.podspec b/packages/react-native/React/CoreModules/React-CoreModules.podspec
index f98c195770c6..ba444cd2d2be 100644
--- a/packages/react-native/React/CoreModules/React-CoreModules.podspec
+++ b/packages/react-native/React/CoreModules/React-CoreModules.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm
index 15a5ab7bce45..eae49e929979 100644
--- a/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm
+++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm
@@ -247,7 +247,7 @@ - (void)_keyboardWillChangeFrame:(NSNotification *)notification
if (@available(iOS 14.0, *)) {
// On iOS when Prefer Cross-Fade Transitions is enabled, the keyboard position
// & height is reported differently (0 instead of Y position value matching height of frame)
- // Fixes similar issue we saw with https://github.com/facebook/react-native/pull/34503
+ // Fixes similar issue we saw with https://github.com/react/react-native/pull/34503
if (UIAccessibilityPrefersCrossFadeTransitions() && keyboardEndFrame.size.height == 0) {
newContentOffset.y = 0;
newEdgeInsets.bottom = 0;
diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm
index d02e003a439e..d0a5746d2c4a 100644
--- a/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm
+++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm
@@ -790,7 +790,7 @@ - (void)_setAttributedString:(NSAttributedString *)attributedString
// Ensure that newly typed text will inherit any custom attributes. We follow the logic of RN Android, where attributes
// to the left of the cursor are copied into new text, unless we are at the start of the field, in which case we will
// copy the attributes from text to the right. This allows consistency between backed input and new AttributedText
-// https://github.com/facebook/react-native/blob/3102a58df38d96f3dacef0530e4dbb399037fcd2/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/SetSpanOperation.kt#L30
+// https://github.com/react/react-native/blob/3102a58df38d96f3dacef0530e4dbb399037fcd2/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/internal/span/SetSpanOperation.kt#L30
- (void)_updateTypingAttributes
{
if (_backedTextInputView.attributedText.length > 0 && _backedTextInputView.selectedTextRange != nil) {
diff --git a/packages/react-native/React/React-RCTFBReactNativeSpec.podspec b/packages/react-native/React/React-RCTFBReactNativeSpec.podspec
index 1abb84e7e473..89d06e815d85 100644
--- a/packages/react-native/React/React-RCTFBReactNativeSpec.podspec
+++ b/packages/react-native/React/React-RCTFBReactNativeSpec.podspec
@@ -11,7 +11,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/React/React-RCTFabric.podspec b/packages/react-native/React/React-RCTFabric.podspec
index 2fdd609a18f6..d6eb37b1a2e6 100644
--- a/packages/react-native/React/React-RCTFabric.podspec
+++ b/packages/react-native/React/React-RCTFabric.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/React/Runtime/React-RCTRuntime.podspec b/packages/react-native/React/Runtime/React-RCTRuntime.podspec
index 76b745957eb5..f2383d342336 100644
--- a/packages/react-native/React/Runtime/React-RCTRuntime.podspec
+++ b/packages/react-native/React/Runtime/React-RCTRuntime.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/React/Views/ScrollView/RCTScrollView.m b/packages/react-native/React/Views/ScrollView/RCTScrollView.m
index 72c7c39e3c1a..fa2d2c40397a 100644
--- a/packages/react-native/React/Views/ScrollView/RCTScrollView.m
+++ b/packages/react-native/React/Views/ScrollView/RCTScrollView.m
@@ -342,7 +342,7 @@ - (void)_keyboardWillChangeFrame:(NSNotification *)notification
if (@available(iOS 14.0, *)) {
// On iOS when Prefer Cross-Fade Transitions is enabled, the keyboard position
// & height is reported differently (0 instead of Y position value matching height of frame)
- // Fixes similar issue we saw with https://github.com/facebook/react-native/pull/34503
+ // Fixes similar issue we saw with https://github.com/react/react-native/pull/34503
if (UIAccessibilityPrefersCrossFadeTransitions() && endFrame.size.height == 0) {
newContentOffset.y = 0;
newEdgeInsets.bottom = 0;
diff --git a/packages/react-native/ReactAndroid/build.gradle.kts b/packages/react-native/ReactAndroid/build.gradle.kts
index 9df10a70b5f9..20e38a923726 100644
--- a/packages/react-native/ReactAndroid/build.gradle.kts
+++ b/packages/react-native/ReactAndroid/build.gradle.kts
@@ -747,7 +747,7 @@ apply(from = "./publish.gradle")
// We need to override the artifact ID as this project is called `ReactAndroid` but
// the maven coordinates are on `react-android`.
// Please note that the original coordinates, `react-native`, have been voided
-// as they caused https://github.com/facebook/react-native/issues/35210
+// as they caused https://github.com/react/react-native/issues/35210
publishing {
publications { getByName("release", MavenPublication::class) { artifactId = "react-android" } }
}
diff --git a/packages/react-native/ReactAndroid/publish.gradle b/packages/react-native/ReactAndroid/publish.gradle
index 32287a7c8139..c1c77c331f2f 100644
--- a/packages/react-native/ReactAndroid/publish.gradle
+++ b/packages/react-native/ReactAndroid/publish.gradle
@@ -37,7 +37,7 @@ publishing {
pom {
name = "react-native"
description = "A framework for building native apps with React"
- url = "https://github.com/facebook/react-native"
+ url = "https://github.com/react/react-native"
developers {
developer {
@@ -49,15 +49,15 @@ publishing {
licenses {
license {
name = "MIT License"
- url = "https://github.com/facebook/react-native/blob/HEAD/LICENSE"
+ url = "https://github.com/react/react-native/blob/HEAD/LICENSE"
distribution = "repo"
}
}
scm {
- url = "https://github.com/facebook/react-native.git"
- connection = "scm:git:https://github.com/facebook/react-native.git"
- developerConnection = "scm:git:git@github.com:facebook/react-native.git"
+ url = "https://github.com/react/react-native.git"
+ connection = "scm:git:https://github.com/react/react-native.git"
+ developerConnection = "scm:git:git@github.com:react/react-native.git"
}
}
}
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt
index c6b6b7839353..0364bbb2c30b 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt
@@ -85,7 +85,7 @@ internal class CxxInspectorPackagerConnection(
* A simple WebSocket wrapper that prevents having more than 16MiB of messages queued
* simultaneously. This is done to stop OkHttp from closing the WebSocket connection.
*
- * https://github.com/facebook/react-native/issues/39651.
+ * https://github.com/react/react-native/issues/39651.
* https://github.com/square/okhttp/blob/4e7dbec1ea6c9cf8d80422ac9d44b9b185c749a3/okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt#L684.
*/
private class InspectorPackagerWebSocketImpl(
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java
index 6047316172f7..a88daf2180ef 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java
@@ -1190,8 +1190,8 @@ public void deleteView(int reactTag) {
// If the view that went offscreen is still being touched, we can't delete it yet.
// We have to delay the deletion till the touch is completed.
// This is causing bugs like those otherwise:
- // - https://github.com/facebook/react-native/issues/44610
- // - https://github.com/facebook/react-native/issues/45126
+ // - https://github.com/react/react-native/issues/44610
+ // - https://github.com/react/react-native/issues/45126
mViewsToDeleteAfterTouchFinishes.add(reactTag);
} else {
// To delete we simply remove the tag from the registry.
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt
index 36116d46dda3..1d8e59cc3afd 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.kt
@@ -326,7 +326,7 @@ public open class JavaTimerManager(
// If the JS thread is busy for multiple frames we cancel any other pending runnable.
// We also capture the idleCallbackRunnable to tentatively fix:
- // https://github.com/facebook/react-native/issues/44842
+ // https://github.com/react/react-native/issues/44842
currentIdleCallbackRunnable?.cancel()
currentIdleCallbackRunnable = IdleCallbackRunnable(frameTimeNanos)
reactApplicationContext.runOnJSQueueThread(currentIdleCallbackRunnable)
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt
index 0288966c6fa7..c80e4c66410e 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.kt
@@ -223,7 +223,7 @@ public open class IntentModule(reactContext: ReactApplicationContext) :
}
ReadableType.Number -> {
// We cannot know from JS if is an Integer or Double
- // See: https://github.com/facebook/react-native/issues/4141
+ // See: https://github.com/react/react-native/issues/4141
// We might need to find a workaround if this is really an issue
val number = map.getDouble(EXTRA_MAP_KEY_FOR_VALUE)
intent.putExtra(name, number)
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt
index e4204b538f2a..08a46965f437 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/network/NetworkingModule.kt
@@ -165,7 +165,7 @@ public class NetworkingModule(
@Deprecated(
"""To be removed in a future release. See
- https://github.com/facebook/react-native/pull/37798#pullrequestreview-1518338914"""
+ https://github.com/react/react-native/pull/37798#pullrequestreview-1518338914"""
)
public interface CustomClientBuilder : com.facebook.react.modules.network.CustomClientBuilder
@@ -479,7 +479,7 @@ public class NetworkingModule(
} else {
// Use getBytes() to convert the body into a byte[], preventing okhttp from
// appending the character set to the Content-Type header when otherwise unspecified
- // https://github.com/facebook/react-native/issues/8237
+ // https://github.com/react/react-native/issues/8237
val charset =
if (contentMediaType == null) {
StandardCharsets.UTF_8
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt
index 4999f8670504..61cf00744ca7 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.kt
@@ -563,7 +563,7 @@ internal class ReactInstance(
// We need to null check here because some Java implementation of the
// `ViewManagerOnDemandReactPackage` interface could still return null even
// if the method is marked as returning a non-nullable collection in Kotlin.
- // See https://github.com/facebook/react-native/issues/52014
+ // See https://github.com/react/react-native/issues/52014
@Suppress("SENSELESS_COMPARISON")
if (names == null) {
RNLog.w(
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java
index 6fbd22d7a517..2a2649bd28dc 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java
@@ -631,7 +631,7 @@ protected void setTransformProperty(
// The native Android implementation removed the screen density from the
// calculation, so squaring and a normalization value of
// sqrt(5) produces an exact replica with iOS.
- // For more information, see https://github.com/facebook/react-native/pull/18302
+ // For more information, see https://github.com/react/react-native/pull/18302
float normalizedCameraDistance =
sanitizeFloatPropertyValue(
scale * scale * cameraDistance * CAMERA_DISTANCE_NORMALIZATION_MULTIPLIER);
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt
index cc715b64afe4..c01a0bbac0b3 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.kt
@@ -425,7 +425,7 @@ constructor(private val fpsListener: FpsListener? = null) :
// be on the wrong side. Thus we are moving it to the other side, when the list
// is inverted.
// See also:
- // - https://github.com/facebook/react-native/issues/35350
+ // - https://github.com/react/react-native/issues/35350
// - https://issuetracker.google.com/issues/287304310
if (applyFix) {
view.verticalScrollbarPosition = View.SCROLLBAR_POSITION_LEFT
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java
index 906dfbce0490..3e5068b15650 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java
@@ -380,7 +380,7 @@ public void setText(ReactTextUpdate update) {
mContainsImages = update.containsImages();
// Android's TextView crashes when it tries to relayout if LayoutParams are
// null; explicitly set the LayoutParams to prevent this crash. See:
- // https://github.com/facebook/react-native/pull/7011
+ // https://github.com/react/react-native/pull/7011
if (getLayoutParams() == null) {
setLayoutParams(EMPTY_LAYOUT_PARAMS);
}
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt
index fb8f4b1bf79c..ddebf2fe34e4 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.kt
@@ -746,7 +746,7 @@ public open class ReactEditText public constructor(context: Context) : AppCompat
/**
* Remove spans from the SpannableStringBuilder which can be represented by TextAppearance
* attributes on the underlying EditText. This works around instability on Samsung devices with
- * the presence of spans https://github.com/facebook/react-native/issues/35936 (S318090)
+ * the presence of spans https://github.com/react/react-native/issues/35936 (S318090)
*/
private fun stripStyleEquivalentSpans(sb: SpannableStringBuilder) {
stripSpansOfKind(sb, ReactAbsoluteSizeSpan::class.java) { span: ReactAbsoluteSizeSpan ->
@@ -987,7 +987,7 @@ public open class ReactEditText public constructor(context: Context) : AppCompat
val selectionEnd = selectionEnd
// Used to ensure that text is selectable inside of removeClippedSubviews
- // See https://github.com/facebook/react-native/issues/6805 for original
+ // See https://github.com/react/react-native/issues/6805 for original
// fix that was ported to here.
super.setTextIsSelectable(true)
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt
index 21244cd0b195..44549adfe93f 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt
@@ -414,7 +414,7 @@ public open class ReactTextInputManager public constructor() :
return
}
- // Based on https://github.com/facebook/react-native/pull/31007
+ // Based on https://github.com/react/react-native/pull/31007
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.P) {
return
}
@@ -770,7 +770,7 @@ public open class ReactTextInputManager public constructor() :
// crash happens when focusing on a email EditText, during which a prompt will be triggered
// but
// the system fail to locate it properly. Here is an example post discussing about this
- // issue: https://github.com/facebook/react-native/issues/27204
+ // issue: https://github.com/react/react-native/issues/27204
if (shouldHideCursorForEmailTextInput()) {
view.isCursorVisible = false
}
diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt
index a799906c03fa..81103aabacb7 100644
--- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt
+++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextSelectionWatcher.kt
@@ -30,7 +30,7 @@ internal class ReactTextSelectionWatcher(private val editText: ReactEditText) :
// forward it on if we have new values
// Apparently Android might call this with an end value that is less than the start value
- // Lets normalize them. See https://github.com/facebook/react-native/issues/18579
+ // Lets normalize them. See https://github.com/react/react-native/issues/18579
val realStart = min(start.toDouble(), end.toDouble()).toInt()
val realEnd = max(start.toDouble(), end.toDouble()).toInt()
diff --git a/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/MountingManagerTest.kt b/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/MountingManagerTest.kt
index 473e2eb4c0ba..9cb165d8d24a 100644
--- a/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/MountingManagerTest.kt
+++ b/packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/MountingManagerTest.kt
@@ -75,7 +75,7 @@ class MountingManagerTest {
val rootReactTag = nextRootTag++
// As above this is also a SoftException.
- // See https://github.com/facebook/react-native/pull/34785 for more context.
+ // See https://github.com/react/react-native/pull/34785 for more context.
mountingManager.startSurface(rootReactTag, themedReactContext, reactRootView)
}
}
diff --git a/packages/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec b/packages/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec
index 303ca62dc681..b70607a068bb 100644
--- a/packages/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec
+++ b/packages/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.author = "Meta Platforms, Inc. and its affiliates"
s.license = package["license"]
s.homepage = "https://reactnative.dev/"
- s.source = { :git => 'https://github.com/facebook/react-native.git', :tag => 'v#{version}' }
+ s.source = { :git => 'https://github.com/react/react-native.git', :tag => 'v#{version}' }
s.summary = "Macros for marking APIs as deprecated"
s.source_files = podspec_sources(["Exported/*.h", "RCTDeprecation.m"], "Exported/*.h")
s.pod_target_xcconfig = {
diff --git a/packages/react-native/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec b/packages/react-native/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec
index 4fae2c71426a..694b74cb48e0 100644
--- a/packages/react-native/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec
+++ b/packages/react-native/ReactApple/RCTSwiftUI/RCTSwiftUI.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we're presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec b/packages/react-native/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec
index 93bc0e91bb85..7f3daa9140fa 100644
--- a/packages/react-native/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec
+++ b/packages/react-native/ReactApple/RCTSwiftUIWrapper/RCTSwiftUIWrapper.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we're presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/React-Fabric.podspec b/packages/react-native/ReactCommon/React-Fabric.podspec
index 54fe0c483ad4..101b52de19e3 100644
--- a/packages/react-native/ReactCommon/React-Fabric.podspec
+++ b/packages/react-native/ReactCommon/React-Fabric.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/React-FabricComponents.podspec b/packages/react-native/ReactCommon/React-FabricComponents.podspec
index 86786a775850..39786e8dd86e 100644
--- a/packages/react-native/ReactCommon/React-FabricComponents.podspec
+++ b/packages/react-native/ReactCommon/React-FabricComponents.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/React-FabricImage.podspec b/packages/react-native/ReactCommon/React-FabricImage.podspec
index 588b4c4d104b..35b926431a04 100644
--- a/packages/react-native/ReactCommon/React-FabricImage.podspec
+++ b/packages/react-native/ReactCommon/React-FabricImage.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/React-Mapbuffer.podspec b/packages/react-native/ReactCommon/React-Mapbuffer.podspec
index 6df5afd9f1e2..b1ca57b33392 100644
--- a/packages/react-native/ReactCommon/React-Mapbuffer.podspec
+++ b/packages/react-native/ReactCommon/React-Mapbuffer.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/ReactCommon.podspec b/packages/react-native/ReactCommon/ReactCommon.podspec
index 83e81864640d..1e21b93af6e7 100644
--- a/packages/react-native/ReactCommon/ReactCommon.podspec
+++ b/packages/react-native/ReactCommon/ReactCommon.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/callinvoker/React-callinvoker.podspec b/packages/react-native/ReactCommon/callinvoker/React-callinvoker.podspec
index 33be754b541f..019a897bdb55 100644
--- a/packages/react-native/ReactCommon/callinvoker/React-callinvoker.podspec
+++ b/packages/react-native/ReactCommon/callinvoker/React-callinvoker.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec b/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec
index 59fbcf3c593e..8261f53e5ac7 100644
--- a/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec
+++ b/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec
@@ -9,7 +9,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/hermes/React-hermes.podspec b/packages/react-native/ReactCommon/hermes/React-hermes.podspec
index 975bc96c9cf3..ade048ef9377 100644
--- a/packages/react-native/ReactCommon/hermes/React-hermes.podspec
+++ b/packages/react-native/ReactCommon/hermes/React-hermes.podspec
@@ -9,7 +9,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/hermes/executor/React-jsitracing.podspec b/packages/react-native/ReactCommon/hermes/executor/React-jsitracing.podspec
index 9ee322ba4489..effaebbeb5e6 100644
--- a/packages/react-native/ReactCommon/hermes/executor/React-jsitracing.podspec
+++ b/packages/react-native/ReactCommon/hermes/executor/React-jsitracing.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "../../..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jserrorhandler/React-jserrorhandler.podspec b/packages/react-native/ReactCommon/jserrorhandler/React-jserrorhandler.podspec
index a5cc33ecc99a..4089e19a25dd 100644
--- a/packages/react-native/ReactCommon/jserrorhandler/React-jserrorhandler.podspec
+++ b/packages/react-native/ReactCommon/jserrorhandler/React-jserrorhandler.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jsi/React-jsi.podspec b/packages/react-native/ReactCommon/jsi/React-jsi.podspec
index 60e18530c97a..106b09000930 100644
--- a/packages/react-native/ReactCommon/jsi/React-jsi.podspec
+++ b/packages/react-native/ReactCommon/jsi/React-jsi.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jsiexecutor/React-jsiexecutor.podspec b/packages/react-native/ReactCommon/jsiexecutor/React-jsiexecutor.podspec
index 03497f2e1463..b08db5f716d2 100644
--- a/packages/react-native/ReactCommon/jsiexecutor/React-jsiexecutor.podspec
+++ b/packages/react-native/ReactCommon/jsiexecutor/React-jsiexecutor.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jsinspector-modern/React-jsinspector.podspec b/packages/react-native/ReactCommon/jsinspector-modern/React-jsinspector.podspec
index 770c30f15004..fc171ee5b896 100644
--- a/packages/react-native/ReactCommon/jsinspector-modern/React-jsinspector.podspec
+++ b/packages/react-native/ReactCommon/jsinspector-modern/React-jsinspector.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec b/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec
index cff367fda21e..95c03ecd6c5d 100644
--- a/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec
+++ b/packages/react-native/ReactCommon/jsinspector-modern/cdp/React-jsinspectorcdp.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec b/packages/react-native/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec
index c3cc232eb71b..5badac0a71bc 100644
--- a/packages/react-native/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec
+++ b/packages/react-native/ReactCommon/jsinspector-modern/network/React-jsinspectornetwork.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec b/packages/react-native/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec
index 1b988ab698c7..2fe3eb410335 100644
--- a/packages/react-native/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec
+++ b/packages/react-native/ReactCommon/jsinspector-modern/tracing/React-jsinspectortracing.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/jsitooling/React-jsitooling.podspec b/packages/react-native/ReactCommon/jsitooling/React-jsitooling.podspec
index dc005f8c4200..de72bd6717d1 100644
--- a/packages/react-native/ReactCommon/jsitooling/React-jsitooling.podspec
+++ b/packages/react-native/ReactCommon/jsitooling/React-jsitooling.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/logger/React-logger.podspec b/packages/react-native/ReactCommon/logger/React-logger.podspec
index d83e10202c61..6fce95b3287c 100644
--- a/packages/react-native/ReactCommon/logger/React-logger.podspec
+++ b/packages/react-native/ReactCommon/logger/React-logger.podspec
@@ -9,7 +9,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/oscompat/React-oscompat.podspec b/packages/react-native/ReactCommon/oscompat/React-oscompat.podspec
index 74a0abe3b6c3..2c165496c7ca 100644
--- a/packages/react-native/ReactCommon/oscompat/React-oscompat.podspec
+++ b/packages/react-native/ReactCommon/oscompat/React-oscompat.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/debug/React-debug.podspec b/packages/react-native/ReactCommon/react/debug/React-debug.podspec
index 8d1d3dc0f51c..b698e1a7056c 100644
--- a/packages/react-native/ReactCommon/react/debug/React-debug.podspec
+++ b/packages/react-native/ReactCommon/react/debug/React-debug.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/debug/redbox/JscSafeUrl.h b/packages/react-native/ReactCommon/react/debug/redbox/JscSafeUrl.h
index 39417d1b06b2..120c1a350ee8 100644
--- a/packages/react-native/ReactCommon/react/debug/redbox/JscSafeUrl.h
+++ b/packages/react-native/ReactCommon/react/debug/redbox/JscSafeUrl.h
@@ -17,7 +17,7 @@ namespace facebook::react::unstable_redbox {
* by query string stripping of URLs in JavaScriptCore stack traces
* introduced in iOS 16.4. This is a direct port of https://www.npmjs.com/package/jsc-safe-url.
*
- * See https://github.com/facebook/react-native/issues/36794 for context.
+ * See https://github.com/react/react-native/issues/36794 for context.
*/
bool isJscSafeUrl(std::string_view url);
diff --git a/packages/react-native/ReactCommon/react/featureflags/React-featureflags.podspec b/packages/react-native/ReactCommon/react/featureflags/React-featureflags.podspec
index 274177995178..4ea1fc3ec8d7 100644
--- a/packages/react-native/ReactCommon/react/featureflags/React-featureflags.podspec
+++ b/packages/react-native/ReactCommon/react/featureflags/React-featureflags.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp b/packages/react-native/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp
index 5c9b464a8c3a..343537b85816 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp
+++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp
@@ -993,7 +993,7 @@ void JavaTurboModule::configureEventEmitterCallback() {
args[0].l = callback.release();
// CallVoidMethod is replaced with CallVoidMethodA as it's unsafe on 32bit and
- // causes crashes https://github.com/facebook/react-native/issues/51628
+ // causes crashes https://github.com/react/react-native/issues/51628
env->CallVoidMethodA(instance_.get(), cachedMethodId, args);
FACEBOOK_JNI_THROW_PENDING_EXCEPTION();
}
diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec
index 7fd2869614b6..4ce7ad79e586 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm
index da0b87f995ab..82964cd22398 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm
+++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm
@@ -477,7 +477,7 @@ T RCTConvertTo(SEL selector, id json)
// Handle the special case where there is an argument and it must be nil
// Without this check, the JS side will receive an object.
// See: discussion at
- // https://github.com/facebook/react-native/pull/49250#issuecomment-2668465893
+ // https://github.com/react/react-native/pull/49250#issuecomment-2668465893
if (arg == [NSNull null]) {
return;
}
diff --git a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm
index 35cfd7a13955..a9fe29afeae5 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm
+++ b/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm
@@ -695,7 +695,7 @@ TraceSection s(
SEL methodArgConversionSelector = getMethodArgConversionSelector(methodNameNSString, i);
// Message dispatch logic from old infra (link:
- // https://github.com/facebook/react-native/commit/6783694158057662fd7b11fc123c339b2b21bfe6#diff-263fc157dfce55895cdc16495b55d190R350)
+ // https://github.com/react/react-native/commit/6783694158057662fd7b11fc123c339b2b21bfe6#diff-263fc157dfce55895cdc16495b55d190R350)
RCTManagedPointer *(*convert)(id, SEL, id) = (__typeof__(convert))objc_msgSend;
RCTManagedPointer *box = convert([RCTCxxConvert class], methodArgConversionSelector, objCArg);
diff --git a/packages/react-native/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec
index 1c84bfe0c187..e32bb9be3990 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/defaults/React-defaultsnativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec
index 6119ccb41057..dd279f6f1e9b 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/dom/React-domnativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec
index 6d4dafcc7076..0d2a725b2970 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/featureflags/React-featureflagsnativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec
index 46327b2c74d6..67deb21b0a2b 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/idlecallbacks/React-idlecallbacksnativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec
index 089512b1cf9e..2cb93cfcb5cf 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/React-intersectionobservernativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we're presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec
index a41e3d3a3526..849d6bb574b4 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/microtasks/React-microtasksnativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec
index 4ce39514ae20..6565fd33370b 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/mutationobserver/React-mutationobservernativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we're presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec b/packages/react-native/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec
index 051ee3fc86c3..33a810931061 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec b/packages/react-native/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec
index 97b52ac93a04..ee9ea3d67b46 100644
--- a/packages/react-native/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec
+++ b/packages/react-native/ReactCommon/react/nativemodule/webperformance/React-webperformancenativemodule.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/networking/React-networking.podspec b/packages/react-native/ReactCommon/react/networking/React-networking.podspec
index a7711b66820a..5ae484376f1b 100644
--- a/packages/react-native/ReactCommon/react/networking/React-networking.podspec
+++ b/packages/react-native/ReactCommon/react/networking/React-networking.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec b/packages/react-native/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec
index 3570820348a4..c8603a4f6c72 100644
--- a/packages/react-native/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec
+++ b/packages/react-native/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/performance/timeline/React-performancetimeline.podspec b/packages/react-native/ReactCommon/react/performance/timeline/React-performancetimeline.podspec
index 6e190bbfe6d9..7209854030dc 100644
--- a/packages/react-native/ReactCommon/react/performance/timeline/React-performancetimeline.podspec
+++ b/packages/react-native/ReactCommon/react/performance/timeline/React-performancetimeline.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/renderer/animated/internal/primitives.h b/packages/react-native/ReactCommon/react/renderer/animated/internal/primitives.h
index 1be452a2199a..5c8d7d9ce850 100644
--- a/packages/react-native/ReactCommon/react/renderer/animated/internal/primitives.h
+++ b/packages/react-native/ReactCommon/react/renderer/animated/internal/primitives.h
@@ -11,6 +11,6 @@
namespace facebook::react::animated {
// Indicates that the animated node identifier is not defined.
// It is safe to use 0 because JavaScript starts assigning identifiers from 1.
-// https://github.com/facebook/react-native/blob/main/packages/react-native/src/private/animated/NativeAnimatedHelper.js#L35
+// https://github.com/react/react-native/blob/main/packages/react-native/src/private/animated/NativeAnimatedHelper.js#L35
constexpr static Tag undefinedAnimatedNodeIdentifier = 0;
} // namespace facebook::react::animated
diff --git a/packages/react-native/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec b/packages/react-native/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec
index 216fd443ad3c..b0197469eb1d 100644
--- a/packages/react-native/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec
+++ b/packages/react-native/ReactCommon/react/renderer/consistency/React-rendererconsistency.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/renderer/css/React-renderercss.podspec b/packages/react-native/ReactCommon/react/renderer/css/React-renderercss.podspec
index c16a9a875b27..501e8c2e6753 100644
--- a/packages/react-native/ReactCommon/react/renderer/css/React-renderercss.podspec
+++ b/packages/react-native/ReactCommon/react/renderer/css/React-renderercss.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/renderer/debug/React-rendererdebug.podspec b/packages/react-native/ReactCommon/react/renderer/debug/React-rendererdebug.podspec
index 41df93a4f64a..401858d7610b 100644
--- a/packages/react-native/ReactCommon/react/renderer/debug/React-rendererdebug.podspec
+++ b/packages/react-native/ReactCommon/react/renderer/debug/React-rendererdebug.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/renderer/graphics/React-graphics.podspec b/packages/react-native/ReactCommon/react/renderer/graphics/React-graphics.podspec
index 87e7cb21045c..1d80678435eb 100644
--- a/packages/react-native/ReactCommon/react/renderer/graphics/React-graphics.podspec
+++ b/packages/react-native/ReactCommon/react/renderer/graphics/React-graphics.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec b/packages/react-native/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec
index 50862be68387..07565a5c0b78 100644
--- a/packages/react-native/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec
+++ b/packages/react-native/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp b/packages/react-native/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp
index 609fc268e122..dc04dc007f59 100644
--- a/packages/react-native/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp
+++ b/packages/react-native/ReactCommon/react/renderer/mounting/internal/CullingContext.cpp
@@ -52,7 +52,7 @@ CullingContext CullingContext::adjustCullingContextIfNeeded(
// In RTL, content offset is flipped horizontally.
// We need to flip the culling context frame to match.
// See:
- // https://github.com/facebook/react-native/blob/c2f39cfdd87c32b9a59efe8a788b8a03f02b0ea0/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm#L579
+ // https://github.com/react/react-native/blob/c2f39cfdd87c32b9a59efe8a788b8a03f02b0ea0/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm#L579
auto stateData = scrollViewShadowNode->getStateData();
cullingContext.frame.origin.x =
stateData.contentBoundingRect.size.width -
diff --git a/packages/react-native/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec b/packages/react-native/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec
index 56823e61d623..ced10edf8393 100644
--- a/packages/react-native/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec
+++ b/packages/react-native/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/runtime/React-RuntimeCore.podspec b/packages/react-native/ReactCommon/react/runtime/React-RuntimeCore.podspec
index 24b163f5e4d4..836da8d9d64e 100644
--- a/packages/react-native/ReactCommon/react/runtime/React-RuntimeCore.podspec
+++ b/packages/react-native/ReactCommon/react/runtime/React-RuntimeCore.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "../../..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/runtime/React-RuntimeHermes.podspec b/packages/react-native/ReactCommon/react/runtime/React-RuntimeHermes.podspec
index ac7d4419db23..77c2b635a377 100644
--- a/packages/react-native/ReactCommon/react/runtime/React-RuntimeHermes.podspec
+++ b/packages/react-native/ReactCommon/react/runtime/React-RuntimeHermes.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "../../..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec b/packages/react-native/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec
index 7c84db0bca95..ea9094c02568 100644
--- a/packages/react-native/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec
+++ b/packages/react-native/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "../../../../..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/timing/React-timing.podspec b/packages/react-native/ReactCommon/react/timing/React-timing.podspec
index 8168f2b46358..c6272ea5eb5a 100644
--- a/packages/react-native/ReactCommon/react/timing/React-timing.podspec
+++ b/packages/react-native/ReactCommon/react/timing/React-timing.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/react/utils/React-utils.podspec b/packages/react-native/ReactCommon/react/utils/React-utils.podspec
index 1a939b49cb28..17d953aaac3a 100644
--- a/packages/react-native/ReactCommon/react/utils/React-utils.podspec
+++ b/packages/react-native/ReactCommon/react/utils/React-utils.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/reactperflogger/React-perflogger.podspec b/packages/react-native/ReactCommon/reactperflogger/React-perflogger.podspec
index fb32c2a11eaa..8a1329152fa1 100644
--- a/packages/react-native/ReactCommon/reactperflogger/React-perflogger.podspec
+++ b/packages/react-native/ReactCommon/reactperflogger/React-perflogger.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec b/packages/react-native/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec
index 155735ca9d8a..7e15a13a0aac 100644
--- a/packages/react-native/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec
+++ b/packages/react-native/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCommon/yoga/Yoga.podspec b/packages/react-native/ReactCommon/yoga/Yoga.podspec
index ade85279bfaf..afa657830103 100644
--- a/packages/react-native/ReactCommon/yoga/Yoga.podspec
+++ b/packages/react-native/ReactCommon/yoga/Yoga.podspec
@@ -6,7 +6,7 @@
package = JSON.parse(File.read(File.expand_path('../../package.json', __dir__)))
version = package['version']
-source = { :git => ENV['INSTALL_YOGA_FROM_LOCATION'] || 'https://github.com/facebook/react-native.git' }
+source = { :git => ENV['INSTALL_YOGA_FROM_LOCATION'] || 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/ReactCxxPlatform/react/logging/NativeExceptionsManager.h b/packages/react-native/ReactCxxPlatform/react/logging/NativeExceptionsManager.h
index 4dba94aa3f0a..f14e4fb5d17f 100644
--- a/packages/react-native/ReactCxxPlatform/react/logging/NativeExceptionsManager.h
+++ b/packages/react-native/ReactCxxPlatform/react/logging/NativeExceptionsManager.h
@@ -18,7 +18,7 @@
namespace facebook::react {
-// https://github.com/facebook/react-native/blob/v0.71.1/Libraries/Core/NativeExceptionsManager.js#L17-L35
+// https://github.com/react/react-native/blob/v0.71.1/Libraries/Core/NativeExceptionsManager.js#L17-L35
using StackFrame = NativeExceptionsManagerStackFrame<
std::optional,
std::optional,
diff --git a/packages/react-native/package.json b/packages/react-native/package.json
index f3187829c99e..4d0c82206fda 100644
--- a/packages/react-native/package.json
+++ b/packages/react-native/package.json
@@ -5,7 +5,7 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/react-native"
},
"homepage": "https://reactnative.dev/",
@@ -19,7 +19,7 @@
"app-framework",
"mobile-development"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/packages/react-native/scripts/cocoapods/spm.rb b/packages/react-native/scripts/cocoapods/spm.rb
index 0b132076169b..eedfbbe7f65c 100644
--- a/packages/react-native/scripts/cocoapods/spm.rb
+++ b/packages/react-native/scripts/cocoapods/spm.rb
@@ -45,7 +45,7 @@ def apply_on_post_install(installer)
log_warning "If you're using Xcode 15 or earlier you might need to close and reopen the Xcode workspace"
unless ENV["USE_FRAMEWORKS"] == "dynamic"
@dependencies_by_pod.each do |pod_name, dependencies|
- log_warning "Pod #{pod_name} is using swift package(s) #{dependencies.map{|i| i[:products]}.flatten.uniq.join(", ")} with static linking, this might cause linker errors. Consider using USE_FRAMEWORKS=dynamic, see https://github.com/facebook/react-native/pull/44627#issuecomment-2123119711 for more information"
+ log_warning "Pod #{pod_name} is using swift package(s) #{dependencies.map{|i| i[:products]}.flatten.uniq.join(", ")} with static linking, this might cause linker errors. Consider using USE_FRAMEWORKS=dynamic, see https://github.com/react/react-native/pull/44627#issuecomment-2123119711 for more information"
end
end
end
diff --git a/packages/react-native/scripts/cocoapods/utils.rb b/packages/react-native/scripts/cocoapods/utils.rb
index 03ce89ecadb9..9070355b437c 100644
--- a/packages/react-native/scripts/cocoapods/utils.rb
+++ b/packages/react-native/scripts/cocoapods/utils.rb
@@ -69,7 +69,7 @@ def self.set_gcc_preprocessor_definition_for_debugger(installer)
end
def self.turn_off_resource_bundle_react_core(installer)
- # this is needed for Xcode 14, see more details here https://github.com/facebook/react-native/issues/34673
+ # this is needed for Xcode 14, see more details here https://github.com/react/react-native/issues/34673
# we should be able to remove this once CocoaPods catches up to it, see more details here https://github.com/CocoaPods/CocoaPods/issues/11402
installer.target_installation_results.pod_target_installation_results.each do |pod_name, target_installation_result|
if pod_name.to_s == 'React-Core'
@@ -237,7 +237,7 @@ def self.create_xcode_env_if_missing(file_manager: File)
# When installing pods with a yarn alias, yarn creates a fake yarn and node executables
# in a temporary folder.
# Using `node --print "process.argv[0]";` we are able to retrieve the actual path from which node is running.
- # see https://github.com/facebook/react-native/issues/43285 for more info. We've tweaked this slightly.
+ # see https://github.com/react/react-native/issues/43285 for more info. We've tweaked this slightly.
node_binary = Shellwords.escape(`node --print "process.argv[0]"`.strip)
system("echo 'export NODE_BINARY=#{node_binary}' > #{file_path}.local")
end
diff --git a/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap b/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap
index e3ce060605cc..b1aea0811e1d 100644
--- a/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap
+++ b/packages/react-native/scripts/codegen/__tests__/__snapshots__/generate-artifacts-executor-test.js.snap
@@ -80,7 +80,7 @@ exports[`execute test-app "ReactAppDependencyProvider/ReactAppDependencyProvider
# LICENSE file in the root directory of this source tree.
version = \\"0.83.9\\"
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = \`git rev-parse HEAD\`.strip if system(\\"git rev-parse --git-dir > /dev/null 2>&1\\")
@@ -400,7 +400,7 @@ exports[`execute test-app "ReactCodegen/ReactCodegen.podspec" should match snaps
# LICENSE file in the root directory of this source tree.
version = \\"0.83.9\\"
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = \`git rev-parse HEAD\`.strip if system(\\"git rev-parse --git-dir > /dev/null 2>&1\\")
@@ -587,7 +587,7 @@ exports[`execute test-app-legacy "ReactAppDependencyProvider/ReactAppDependencyP
# LICENSE file in the root directory of this source tree.
version = \\"0.83.9\\"
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = \`git rev-parse HEAD\`.strip if system(\\"git rev-parse --git-dir > /dev/null 2>&1\\")
@@ -879,7 +879,7 @@ exports[`execute test-app-legacy "ReactCodegen/ReactCodegen.podspec" should matc
# LICENSE file in the root directory of this source tree.
version = \\"0.83.9\\"
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = \`git rev-parse HEAD\`.strip if system(\\"git rev-parse --git-dir > /dev/null 2>&1\\")
diff --git a/packages/react-native/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template b/packages/react-native/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template
index 327bc9c102e3..a9edb925068d 100644
--- a/packages/react-native/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template
+++ b/packages/react-native/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template
@@ -4,7 +4,7 @@
# LICENSE file in the root directory of this source tree.
version = "{react-native-version}"
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/scripts/codegen/templates/ReactCodegen.podspec.template b/packages/react-native/scripts/codegen/templates/ReactCodegen.podspec.template
index de434d4b91d8..bac21f365348 100644
--- a/packages/react-native/scripts/codegen/templates/ReactCodegen.podspec.template
+++ b/packages/react-native/scripts/codegen/templates/ReactCodegen.podspec.template
@@ -4,7 +4,7 @@
# LICENSE file in the root directory of this source tree.
version = "{react-native-version}"
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/react-native/scripts/ios-configure-glog.sh b/packages/react-native/scripts/ios-configure-glog.sh
index 81eb319e50b6..2aa5b8fa2a92 100755
--- a/packages/react-native/scripts/ios-configure-glog.sh
+++ b/packages/react-native/scripts/ios-configure-glog.sh
@@ -57,7 +57,7 @@ if [ -h "test-driver" ]; then
rm test-driver
fi
-# Manually disable gflags include to fix issue https://github.com/facebook/react-native/issues/28446
+# Manually disable gflags include to fix issue https://github.com/react/react-native/issues/28446
sed -i.bak -e 's/\@ac_cv_have_libgflags\@/0/' src/glog/logging.h.in && rm src/glog/logging.h.in.bak
sed -i.bak -e 's/HAVE_LIB_GFLAGS/HAVE_LIB_GFLAGS_DISABLED/' src/config.h.in && rm src/config.h.in.bak
diff --git a/packages/react-native/src/private/renderer/mounting/__tests__/Mounting-itest.js b/packages/react-native/src/private/renderer/mounting/__tests__/Mounting-itest.js
index 16e2474401b8..4704b84a6c9d 100644
--- a/packages/react-native/src/private/renderer/mounting/__tests__/Mounting-itest.js
+++ b/packages/react-native/src/private/renderer/mounting/__tests__/Mounting-itest.js
@@ -413,10 +413,10 @@ describe('reconciliation of setNativeProps and React commit', () => {
const element = ensureInstance(nodeRef.current, ReactNativeElement);
Fantom.runTask(() => {
- // Calling `setNativeProps` forces bug https://github.com/facebook/react-native/issues/47476 to manifest.
+ // Calling `setNativeProps` forces bug https://github.com/react/react-native/issues/47476 to manifest.
// The bug is about a collision between `setNativeProps` and `props` and how they must be applied in the correct order.
// When a prop is set via regular React commit, it must be respected by `setNativeProps` and vice versa.
- // Learn more https://github.com/facebook/react-native/pull/47669.
+ // Learn more https://github.com/react/react-native/pull/47669.
element.setNativeProps({testID: 'second test id'});
});
diff --git a/packages/react-native/src/private/types/HostInstance.js b/packages/react-native/src/private/types/HostInstance.js
index cb7dff7dcc44..9a1b2de35586 100644
--- a/packages/react-native/src/private/types/HostInstance.js
+++ b/packages/react-native/src/private/types/HostInstance.js
@@ -42,7 +42,7 @@ export type MeasureLayoutOnSuccessCallback = (
* Note, however, that they are not available on composite components that aren't directly backed by a
* native view. This will generally include most components that you define in your own app.
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture).
- * @see https://github.com/facebook/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
+ * @see https://github.com/react/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
*/
export interface LegacyHostInstanceMethods {
/**
diff --git a/packages/react-native/src/types/globals.d.ts b/packages/react-native/src/types/globals.d.ts
index a8f6b20e6181..81fed63c5bd2 100644
--- a/packages/react-native/src/types/globals.d.ts
+++ b/packages/react-native/src/types/globals.d.ts
@@ -41,7 +41,7 @@ declare global {
*
* global.XMLHttpRequest = global.originalXMLHttpRequest;
*
- * @see https://github.com/facebook/react-native/issues/934
+ * @see https://github.com/react/react-native/issues/934
*/
const originalXMLHttpRequest: any;
@@ -237,7 +237,7 @@ declare global {
/**
* React Native's implementation of fetch allows this syntax for uploading files from
* local filesystem.
- * See https://github.com/facebook/react-native/blob/master/Libraries/Network/convertRequestBody.js#L22
+ * See https://github.com/react/react-native/blob/master/Libraries/Network/convertRequestBody.js#L22
*/
interface _SourceUri {
uri: string;
diff --git a/packages/react-native/third-party-podspecs/RCT-Folly.podspec b/packages/react-native/third-party-podspecs/RCT-Folly.podspec
index 040c4f0ca82e..7d808260fee9 100644
--- a/packages/react-native/third-party-podspecs/RCT-Folly.podspec
+++ b/packages/react-native/third-party-podspecs/RCT-Folly.podspec
@@ -73,7 +73,7 @@ Pod::Spec.new do |spec|
'folly/portability/*.h',
'folly/system/*.h',
- # workaround for https://github.com/facebook/react-native/issues/14326
+ # workaround for https://github.com/react/react-native/issues/14326
spec.preserve_paths = 'folly/*.h',
'folly/algorithm/simd/*.h',
'folly/algorithm/simd/detail/*.h',
diff --git a/packages/react-native/third-party-podspecs/ReactNativeDependencies.podspec b/packages/react-native/third-party-podspecs/ReactNativeDependencies.podspec
index e08e6c2b0995..bed8eba8a9a2 100644
--- a/packages/react-native/third-party-podspecs/ReactNativeDependencies.podspec
+++ b/packages/react-native/third-party-podspecs/ReactNativeDependencies.podspec
@@ -28,7 +28,7 @@ Pod::Spec.new do |spec|
spec.version = version
spec.summary = 'React Native Dependencies'
spec.description = 'ReactNativeDependencies is a podspec that contains all the third-party dependencies of React Native.'
- spec.homepage = 'https://github.com/facebook/react-native'
+ spec.homepage = 'https://github.com/react/react-native'
spec.license = package['license']
spec.authors = 'meta'
spec.platforms = min_supported_versions
diff --git a/packages/react-native/third-party-podspecs/glog.podspec b/packages/react-native/third-party-podspecs/glog.podspec
index af7668077f90..e06b89d15ad1 100644
--- a/packages/react-native/third-party-podspecs/glog.podspec
+++ b/packages/react-native/third-party-podspecs/glog.podspec
@@ -27,7 +27,7 @@ Pod::Spec.new do |spec|
'src/symbolize.cc',
'src/utilities.cc',
'src/vlog_is_on.cc'
- # workaround for https://github.com/facebook/react-native/issues/14326
+ # workaround for https://github.com/react/react-native/issues/14326
spec.preserve_paths = 'src/*.h',
'src/base/*.h'
spec.exclude_files = "src/windows/**/*"
diff --git a/packages/react-native/types/public/ReactNativeTypes.d.ts b/packages/react-native/types/public/ReactNativeTypes.d.ts
index 3feb5b2d718d..9657801e1f57 100644
--- a/packages/react-native/types/public/ReactNativeTypes.d.ts
+++ b/packages/react-native/types/public/ReactNativeTypes.d.ts
@@ -40,7 +40,7 @@ export type MeasureLayoutOnSuccessCallback = (
* Note, however, that they are not available on composite components that aren't directly backed by a
* native view. This will generally include most components that you define in your own app.
* For more information, see [Direct Manipulation](https://reactnative.dev/docs/the-new-architecture/direct-manipulation-new-architecture).
- * @see https://github.com/facebook/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
+ * @see https://github.com/react/react-native/blob/master/Libraries/Renderer/shims/ReactNativeTypes.js#L87
*/
export interface NativeMethods {
/**
@@ -123,7 +123,7 @@ export type NativeMethodsMixinType = NativeMethods;
/**
* Represents a native component, such as those returned from `requireNativeComponent`.
*
- * @see https://github.com/facebook/react-native/blob/v0.62.0-rc.5/Libraries/Renderer/shims/ReactNativeTypes.js
+ * @see https://github.com/react/react-native/blob/v0.62.0-rc.5/Libraries/Renderer/shims/ReactNativeTypes.js
*
* @todo This should eventually be defined as an AbstractComponent, but that
* should first be introduced in the React typings.
diff --git a/packages/rn-tester/IntegrationTests/ImageCachePolicyTest.js b/packages/rn-tester/IntegrationTests/ImageCachePolicyTest.js
index b5b786d86624..fe30498c924e 100644
--- a/packages/rn-tester/IntegrationTests/ImageCachePolicyTest.js
+++ b/packages/rn-tester/IntegrationTests/ImageCachePolicyTest.js
@@ -90,7 +90,7 @@ function ImageCachePolicyTest(): React.Node {
const getImageSource = (cache: ImageURISource['cache']) => ({
uri:
- 'https://raw.githubusercontent.com/facebook/react-native/HEAD/Libraries/NewAppScreen/components/logo.png?cacheBust=notinCache' +
+ 'https://raw.githubusercontent.com/react/react-native/HEAD/Libraries/NewAppScreen/components/logo.png?cacheBust=notinCache' +
Date.now(),
cache,
});
diff --git a/packages/rn-tester/NativeCxxModuleExample/NativeCxxModuleExample.podspec b/packages/rn-tester/NativeCxxModuleExample/NativeCxxModuleExample.podspec
index f8957da75cb5..d33dbeab14bc 100644
--- a/packages/rn-tester/NativeCxxModuleExample/NativeCxxModuleExample.podspec
+++ b/packages/rn-tester/NativeCxxModuleExample/NativeCxxModuleExample.podspec
@@ -12,12 +12,12 @@ Pod::Spec.new do |s|
s.version = package["version"]
s.summary = package["description"]
s.description = "NativeCxxModuleExample"
- s.homepage = "https://github.com/facebook/react-native.git"
+ s.homepage = "https://github.com/react/react-native.git"
s.license = "MIT"
s.platforms = min_supported_versions
s.compiler_flags = '-Wno-nullability-completeness'
s.author = "Meta Platforms, Inc. and its affiliates"
- s.source = { :git => "https://github.com/facebook/react-native.git", :tag => "#{s.version}" }
+ s.source = { :git => "https://github.com/react/react-native.git", :tag => "#{s.version}" }
s.source_files = "*.{h,cpp}"
s.requires_arc = true
s.pod_target_xcconfig = {
diff --git a/packages/rn-tester/NativeModuleExample/ScreenshotManager.podspec b/packages/rn-tester/NativeModuleExample/ScreenshotManager.podspec
index 3177cf590fe7..25073af232fc 100644
--- a/packages/rn-tester/NativeModuleExample/ScreenshotManager.podspec
+++ b/packages/rn-tester/NativeModuleExample/ScreenshotManager.podspec
@@ -12,12 +12,12 @@ Pod::Spec.new do |s|
s.version = package["version"]
s.summary = package["description"]
s.description = "ScreenshotManager"
- s.homepage = "https://github.com/facebook/react-native.git"
+ s.homepage = "https://github.com/react/react-native.git"
s.license = "MIT"
s.platforms = min_supported_versions
s.compiler_flags = '-Wno-nullability-completeness'
s.author = "Meta Platforms, Inc. and its affiliates"
- s.source = { :git => "https://github.com/facebook/react-native.git", :tag => "#{s.version}" }
+ s.source = { :git => "https://github.com/react/react-native.git", :tag => "#{s.version}" }
s.source_files = "**/*.{h,m,mm,swift}"
s.requires_arc = true
diff --git a/packages/rn-tester/RCTTest/React-RCTTest.podspec b/packages/rn-tester/RCTTest/React-RCTTest.podspec
index e96768635781..76fd8cf897d5 100644
--- a/packages/rn-tester/RCTTest/React-RCTTest.podspec
+++ b/packages/rn-tester/RCTTest/React-RCTTest.podspec
@@ -8,7 +8,7 @@ require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "..", "react-native", "package.json")))
version = package['version']
-source = { :git => 'https://github.com/facebook/react-native.git' }
+source = { :git => 'https://github.com/react/react-native.git' }
if version == '1000.0.0'
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
diff --git a/packages/rn-tester/README.md b/packages/rn-tester/README.md
index f93bd469d3ee..672f7610b391 100644
--- a/packages/rn-tester/README.md
+++ b/packages/rn-tester/README.md
@@ -6,14 +6,14 @@ The RNTester showcases React Native views and modules.
Before running the app, make sure you ran:
```sh
-git clone https://github.com/facebook/react-native.git
+git clone https://github.com/react/react-native.git
cd react-native
yarn install
```
### Running on iOS
-If you are testing non-fabric component, search for and modify the `fabric_enabled` flag in [RNTester's Podfile](https://github.com/facebook/react-native/blob/main/packages/rn-tester/Podfile).
+If you are testing non-fabric component, search for and modify the `fabric_enabled` flag in [RNTester's Podfile](https://github.com/react/react-native/blob/main/packages/rn-tester/Podfile).
```ruby
fabric_enabled = false
diff --git a/packages/rn-tester/package.json b/packages/rn-tester/package.json
index 6206f601050d..54f9bdc8845d 100644
--- a/packages/rn-tester/package.json
+++ b/packages/rn-tester/package.json
@@ -6,7 +6,7 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/rn-tester"
},
"engines": {
diff --git a/packages/typescript-config/package.json b/packages/typescript-config/package.json
index 4ce108c94ab9..cdf48dc0cb92 100644
--- a/packages/typescript-config/package.json
+++ b/packages/typescript-config/package.json
@@ -5,16 +5,16 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/typescript-config"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/typescript-config#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/typescript-config#readme",
"keywords": [
"typescript",
"tsconfig",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"exports": {
".": "./tsconfig.json",
"./strict": "./tsconfig.strict.json"
diff --git a/packages/virtualized-lists/Lists/__tests__/VirtualizedList-test.js b/packages/virtualized-lists/Lists/__tests__/VirtualizedList-test.js
index 3407a79260e3..bf42ac3441fc 100644
--- a/packages/virtualized-lists/Lists/__tests__/VirtualizedList-test.js
+++ b/packages/virtualized-lists/Lists/__tests__/VirtualizedList-test.js
@@ -768,7 +768,7 @@ describe('VirtualizedList', () => {
await act(() => {
// We want to test the unusual case of onContentSizeChange firing after
- // onLayout, which can cause https://github.com/facebook/react-native/issues/16067
+ // onLayout, which can cause https://github.com/react/react-native/issues/16067
instance._onContentSizeChange(300, initialContentHeight);
instance._onContentSizeChange(300, data.length * ITEM_HEIGHT);
performAllBatches();
diff --git a/packages/virtualized-lists/package.json b/packages/virtualized-lists/package.json
index 16888081b113..bb5263cd029d 100644
--- a/packages/virtualized-lists/package.json
+++ b/packages/virtualized-lists/package.json
@@ -5,17 +5,17 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/facebook/react-native.git",
+ "url": "git+https://github.com/react/react-native.git",
"directory": "packages/virtualized-lists"
},
- "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/virtualized-lists#readme",
+ "homepage": "https://github.com/react/react-native/tree/HEAD/packages/virtualized-lists#readme",
"keywords": [
"lists",
"virtualized-lists",
"section-lists",
"react-native"
],
- "bugs": "https://github.com/facebook/react-native/issues",
+ "bugs": "https://github.com/react/react-native/issues",
"engines": {
"node": ">= 20.19.4"
},
diff --git a/private/react-native-bots/README.md b/private/react-native-bots/README.md
index 3848beb5d90a..1e898ccf34eb 100644
--- a/private/react-native-bots/README.md
+++ b/private/react-native-bots/README.md
@@ -10,7 +10,7 @@ So, for example:
```
cd private/react-native-bots && yarn
-DANGER_GITHUB_API_TOKEN=ghp_ yarn danger pr https://github.com/facebook/react-native/pull/1234
+DANGER_GITHUB_API_TOKEN=ghp_ yarn danger pr https://github.com/react/react-native/pull/1234
```
## Code Analysis Bot
diff --git a/scripts/clean-gha-cache.js b/scripts/clean-gha-cache.js
index 8e85ba75c8ac..eaba1647e2c7 100644
--- a/scripts/clean-gha-cache.js
+++ b/scripts/clean-gha-cache.js
@@ -119,7 +119,7 @@ function main() {
);
const cleanup = remove.map(
- id => `gh cache delete ${id} --repo facebook/react-native`,
+ id => `gh cache delete ${id} --repo react/react-native`,
);
for (const cmd of cleanup) {
if (dryRun) {
diff --git a/scripts/release-testing/utils/github-actions-utils.js b/scripts/release-testing/utils/github-actions-utils.js
index fefa287ebc74..f0bbad65b3df 100644
--- a/scripts/release-testing/utils/github-actions-utils.js
+++ b/scripts/release-testing/utils/github-actions-utils.js
@@ -70,7 +70,7 @@ let artifacts;
let branch;
let baseTemporaryPath;
-const reactNativeRepo = 'https://api.github.com/repos/facebook/react-native/';
+const reactNativeRepo = 'https://api.github.com/repos/react/react-native/';
const reactNativeActionsURL = `${reactNativeRepo}actions/runs`;
async function _getActionRunsOnBranch() /*: Promise */ {
@@ -156,7 +156,7 @@ async function initialize(
console.log(`\nUsing github workflow run ${testAllWorkflows[0].run_number}`);
console.log(
- `https://github.com/facebook/react-native/actions/runs/${testAllWorkflows[0].id}\n`,
+ `https://github.com/react/react-native/actions/runs/${testAllWorkflows[0].id}\n`,
);
let workflow = testAllWorkflows[0];
diff --git a/scripts/releases/README.md b/scripts/releases/README.md
index ef6c20658b1d..5685f3e0c6d5 100644
--- a/scripts/releases/README.md
+++ b/scripts/releases/README.md
@@ -1,6 +1,6 @@
# scripts/releases
-Scripts related to creating a React Native release. These are the lower level entry points used by [**scripts/releases-ci**](https://github.com/facebook/react-native/tree/main/scripts/releases-ci).
+Scripts related to creating a React Native release. These are the lower level entry points used by [**scripts/releases-ci**](https://github.com/react/react-native/tree/main/scripts/releases-ci).
## Commands
diff --git a/scripts/releases/__tests__/__snapshots__/upload-release-assets-for-dotslash-test.js.snap b/scripts/releases/__tests__/__snapshots__/upload-release-assets-for-dotslash-test.js.snap
index 210fcdc260df..8caa220b6f97 100644
--- a/scripts/releases/__tests__/__snapshots__/upload-release-assets-for-dotslash-test.js.snap
+++ b/scripts/releases/__tests__/__snapshots__/upload-release-assets-for-dotslash-test.js.snap
@@ -18,7 +18,7 @@ Array [
"[test.tar.gz] Uploading to release...",
],
Array [
- "[test.tar.gz] Uploaded to https://github.com/facebook/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test.tar.gz",
+ "[test.tar.gz] Uploaded to https://github.com/react/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test.tar.gz",
],
]
`;
@@ -83,7 +83,7 @@ Array [
]
`;
-exports[`uploadReleaseAssetsForDotSlashFile fails loudly if asset has been renamed by GitHub 1`] = `"Asset name was changed while uploading to the draft release: expected test.tar.gz, got test-renamed.tar.gz. /entry-point has already been published to npm with the following URL, which will not work when the release is published on GitHub: https://github.com/facebook/react-native/releases/download/v1000.0.1/test.tar.gz"`;
+exports[`uploadReleaseAssetsForDotSlashFile fails loudly if asset has been renamed by GitHub 1`] = `"Asset name was changed while uploading to the draft release: expected test.tar.gz, got test-renamed.tar.gz. /entry-point has already been published to npm with the following URL, which will not work when the release is published on GitHub: https://github.com/react/react-native/releases/download/v1000.0.1/test.tar.gz"`;
exports[`uploadReleaseAssetsForDotSlashFile fails loudly if asset has been renamed by GitHub: console.log calls 1`] = `
Array [
@@ -177,7 +177,7 @@ Array [
"[test.tar.gz] Uploading to release...",
],
Array [
- "[test.tar.gz] Uploaded to https://github.com/facebook/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test.tar.gz",
+ "[test.tar.gz] Uploaded to https://github.com/react/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test.tar.gz",
],
]
`;
diff --git a/scripts/releases/__tests__/__snapshots__/write-dotslash-release-asset-urls-test.js.snap b/scripts/releases/__tests__/__snapshots__/write-dotslash-release-asset-urls-test.js.snap
index 8639e3c11a73..32d6e6b3342b 100644
--- a/scripts/releases/__tests__/__snapshots__/write-dotslash-release-asset-urls-test.js.snap
+++ b/scripts/releases/__tests__/__snapshots__/write-dotslash-release-asset-urls-test.js.snap
@@ -16,7 +16,7 @@ Array [
Array [
Object {
-+ \\"url\\": \\"https://github.com/facebook/react-native/releases/download/v1000.0.1/test-linux-x86_64\\",
++ \\"url\\": \\"https://github.com/react/react-native/releases/download/v1000.0.1/test-linux-x86_64\\",
+ },
+ Object {
\\"url\\": \\"\\",
@@ -35,7 +35,7 @@ exports[`writeReleaseAssetUrlsToDotSlashFile adds a new release asset provider i
\\"linux-x86_64\\": {
\\"providers\\": [
{
- \\"url\\": \\"https://github.com/facebook/react-native/releases/download/v1000.0.1/test-linux-x86_64\\"
+ \\"url\\": \\"https://github.com/react/react-native/releases/download/v1000.0.1/test-linux-x86_64\\"
},
{
\\"url\\": \\"\\"
@@ -91,10 +91,10 @@ Array [
Array [
Object {
- \\"url\\": \\"\\",
-+ \\"url\\": \\"https://github.com/facebook/react-native/releases/download/v1000.0.1/test-linux-x86_64\\",
++ \\"url\\": \\"https://github.com/react/react-native/releases/download/v1000.0.1/test-linux-x86_64\\",
},
Object {
-- \\"url\\": \\"https://github.com/facebook/react-native/releases/download/v1000.0.0/test.tar.gz\\",
+- \\"url\\": \\"https://github.com/react/react-native/releases/download/v1000.0.0/test.tar.gz\\",
+ \\"url\\": \\"\\",
},
]",
@@ -111,7 +111,7 @@ exports[`writeReleaseAssetUrlsToDotSlashFile replaces the old release asset prov
\\"linux-x86_64\\": {
\\"providers\\": [
{
- \\"url\\": \\"https://github.com/facebook/react-native/releases/download/v1000.0.1/test-linux-x86_64\\"
+ \\"url\\": \\"https://github.com/react/react-native/releases/download/v1000.0.1/test-linux-x86_64\\"
},
{
\\"url\\": \\"\\"
diff --git a/scripts/releases/__tests__/upload-release-assets-for-dotslash-test.js b/scripts/releases/__tests__/upload-release-assets-for-dotslash-test.js
index 4eae57114c44..66cff730a0ed 100644
--- a/scripts/releases/__tests__/upload-release-assets-for-dotslash-test.js
+++ b/scripts/releases/__tests__/upload-release-assets-for-dotslash-test.js
@@ -63,7 +63,7 @@ const octokit = {
return {
data: {
id: assetId,
- browser_download_url: `https://github.com/facebook/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test.tar.gz`,
+ browser_download_url: `https://github.com/react/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test.tar.gz`,
},
};
}),
@@ -123,7 +123,7 @@ describe('uploadReleaseAssetsForDotSlashFile', () => {
"platforms": {
"linux-x86_64": {
"providers": [
- {"url": "https://github.com/facebook/react-native/releases/download/v1000.0.1/test.tar.gz"},
+ {"url": "https://github.com/react/react-native/releases/download/v1000.0.1/test.tar.gz"},
{"url": "${serverUrl}"}
],
"size": 0,
@@ -262,7 +262,7 @@ describe('uploadReleaseAssetsForDotSlashFile', () => {
return {
data: {
id: '1',
- browser_download_url: `https://github.com/facebook/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test-renamed.tar.gz`,
+ browser_download_url: `https://github.com/react/react-native/releases/download/untagged-0b602d8af97c6d3b784c/test-renamed.tar.gz`,
},
};
});
diff --git a/scripts/releases/__tests__/write-dotslash-release-asset-urls-test.js b/scripts/releases/__tests__/write-dotslash-release-asset-urls-test.js
index ea8acf48720c..399d208d1c74 100644
--- a/scripts/releases/__tests__/write-dotslash-release-asset-urls-test.js
+++ b/scripts/releases/__tests__/write-dotslash-release-asset-urls-test.js
@@ -77,7 +77,7 @@ describe('writeReleaseAssetUrlsToDotSlashFile', () => {
"platforms": {
"linux-x86_64": {
"providers": [
- {"url": "https://github.com/facebook/react-native/releases/download/v1000.0.0/test.tar.gz"},
+ {"url": "https://github.com/react/react-native/releases/download/v1000.0.0/test.tar.gz"},
],
"size": 0,
"hash": "sha256",
@@ -144,7 +144,7 @@ describe('writeReleaseAssetUrlsToDotSlashFile', () => {
"linux-x86_64": {
"providers": [
{"url": "${serverUrl}"},
- {"url": "https://github.com/facebook/react-native/releases/download/v1000.0.0/test.tar.gz"}
+ {"url": "https://github.com/react/react-native/releases/download/v1000.0.0/test.tar.gz"}
],
"size": 0,
"hash": "sha256",
diff --git a/scripts/releases/upload-release-assets-for-dotslash.js b/scripts/releases/upload-release-assets-for-dotslash.js
index 3fa0000f2508..d990d12b1677 100644
--- a/scripts/releases/upload-release-assets-for-dotslash.js
+++ b/scripts/releases/upload-release-assets-for-dotslash.js
@@ -272,7 +272,7 @@ function parseReleaseAssetInfo(
url: string,
}
*/ {
- const releaseAssetPrefix = `https://github.com/facebook/react-native/releases/download/${encodeURIComponent(releaseTag)}/`;
+ const releaseAssetPrefix = `https://github.com/react/react-native/releases/download/${encodeURIComponent(releaseTag)}/`;
if (isHttpProvider(provider) && provider.url.startsWith(releaseAssetPrefix)) {
return {
diff --git a/scripts/releases/write-dotslash-release-asset-urls.js b/scripts/releases/write-dotslash-release-asset-urls.js
index a67eff51e4c3..4343c8a43df4 100644
--- a/scripts/releases/write-dotslash-release-asset-urls.js
+++ b/scripts/releases/write-dotslash-release-asset-urls.js
@@ -134,7 +134,7 @@ function isPreviousReleaseAssetProvider(
return (
isHttpProvider(provider) &&
provider.url.startsWith(
- 'https://github.com/facebook/react-native/releases/download/',
+ 'https://github.com/react/react-native/releases/download/',
)
);
}
@@ -146,7 +146,7 @@ function createReleaseAssetProvider(
} /*: {releaseTag: string, suggestedFilename: string} */,
) /*: DotSlashProvider */ {
return {
- url: `https://github.com/facebook/react-native/releases/download/${encodeURIComponent(releaseTag)}/${encodeURIComponent(suggestedFilename)}`,
+ url: `https://github.com/react/react-native/releases/download/${encodeURIComponent(releaseTag)}/${encodeURIComponent(suggestedFilename)}`,
};
}