Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

doc: Update URLs to https used in defaults.js #10570

Closed
wants to merge 1 commit into from

Conversation

rsp
Copy link
Contributor

@rsp rsp commented Nov 26, 2015

Changed the default registry URLs in the docs from http://registry.npmjs.org/ to https://registry.npmjs.org/ to make it consistent with the actual value in lib/config/defaults.js in:

  • doc/misc/npm-registry.md
  • doc/cli/npm-adduser.md
  • doc/cli/npm-logout.md

Also changed several GitHub and npm.js links to https (the http links get redirected to https anyway
but it's better to avoid insecure redirection) and Stack Overflow and OSI links (those don't get redirected so it's even more important for them to use secure URLs) in:

  • doc/cli/npm.md
  • doc/files/package.json.md
  • doc/misc/npm-developers.md
  • doc/misc/npm-faq.md

Changed the default registry URLs in the docs in:
* doc/misc/npm-registry.md
* doc/cli/npm-adduser.md
* doc/cli/npm-logout.md
from: http://registry.npmjs.org/
to:  https://registry.npmjs.org/
to make it consistent with the actual value in lib/config/defaults.js

Also changed several GitHub and npm.js links to https
(the http links get redirected to https anyway
but it's better to avoid insecure redirection)
and Stack Overflow and OSI links (those don't get redirected
so it's even more important for them to use secure URLs) in:
* doc/cli/npm.md
* doc/files/package.json.md
* doc/misc/npm-developers.md
* doc/misc/npm-faq.md
othiym23 pushed a commit that referenced this pull request Dec 11, 2015
Changed the default registry URLs in the docs in:

* doc/misc/npm-registry.md
* doc/cli/npm-adduser.md
* doc/cli/npm-logout.md

    from: http://registry.npmjs.org/
    to:  https://registry.npmjs.org/

to make it consistent with the actual value in lib/config/defaults.js.

Also changed several GitHub and npm.js links to https (the HTTP links
get redirected to HTTPS anyway but it's better to avoid insecure
redirection) and Stack Overflow and OSI links (those don't get
redirected so it's even more important for them to use secure URLs) in:

 * doc/cli/npm.md
 * doc/files/package.json.md
 * doc/misc/npm-developers.md
 * doc/misc/npm-faq.md

 Credit: @rsp
 Reviewed-By: @othiym23
 PR-URL: #10570
@othiym23
Copy link
Contributor

Reformatted the commit message a little bit and landed for npm@3 as 2d3afe9. Will do the same for npm@2 shortly!

othiym23 pushed a commit that referenced this pull request Dec 11, 2015
Changed the default registry URLs in the docs in:

* doc/misc/npm-registry.md
* doc/cli/npm-adduser.md
* doc/cli/npm-logout.md

    from: http://registry.npmjs.org/
    to:  https://registry.npmjs.org/

to make it consistent with the actual value in lib/config/defaults.js.

Also changed several GitHub and npm.js links to https (the HTTP links
get redirected to HTTPS anyway but it's better to avoid insecure
redirection) and Stack Overflow and OSI links (those don't get
redirected so it's even more important for them to use secure URLs) in:

 * doc/cli/npm.md
 * doc/files/package.json.md
 * doc/misc/npm-developers.md
 * doc/misc/npm-faq.md

 Credit: @rsp
 Reviewed-By: @othiym23
 PR-URL: #10570
@othiym23
Copy link
Contributor

Cherry-picked for npm@2 as 7fe6950. Thanks for putting this together!

@othiym23 othiym23 closed this Dec 11, 2015
@rsp
Copy link
Contributor Author

rsp commented Dec 11, 2015

@othiym23 Thanks. My pleasure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants