@samitouri / QOS-React / commits / 7f22c5243e

[compiler:publish] Specify https for registry

Uses https for the npm registry so the publishing script isn't rejected. Fixes: ``` Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/ ``` ghstack-source-id: b247d044ea48f3007cf8bd13445fb7ece0f5b02f Pull Request resolved: https://github.com/facebook/react/pull/29087

Lauren Tan committed May 15, 2024 at 17:40 UTC 7f22c5243e89f5bcbbfcd5daaa4ee3d601f6fd1e
1 file changed +1 -1
compiler/scripts/publish.js
+1 -1
@@ -203,7 +203,7 @@ async function main() {
203 try {
204 await spawnHelper(
205 "npm",
206 - [...opts, "--registry=http://registry.npmjs.org"],
206 + [...opts, "--registry=https://registry.npmjs.org"],
207 {
208 cwd: pkgDir,
209 stdio: "inherit",