Skip to content
Browse files

Fix #2850 Use https url for npmjs.org in docs etc.

  • Loading branch information...
1 parent ef1dcaf commit 237b95328ed6863c2e5efd370cc0940fd60b72f2 @isaacs isaacs committed Oct 3, 2012
Showing with 19 additions and 19 deletions.
  1. +5 −5 README.md
  2. +6 −6 doc/cli/faq.md
  3. +5 −5 html/index.html
  4. +2 −2 package.json
  5. +1 −1 scripts/install.sh
View
10 README.md
@@ -60,7 +60,7 @@ for testing, or running stuff without actually installing npm itself.)
## Fancy Windows Install
-You can download a zip file from <http://npmjs.org/dist/>, and unpack it
+You can download a zip file from <https://npmjs.org/dist/>, and unpack it
in the same folder where node.exe lives.
If that's not fancy enough for you, then you can fetch the code with
@@ -169,13 +169,13 @@ help config` to learn about all the options you can set there.
## More Docs
-Check out the [docs](http://npmjs.org/doc/),
-especially the [faq](http://npmjs.org/doc/faq.html).
+Check out the [docs](https://npmjs.org/doc/),
+especially the [faq](https://npmjs.org/doc/faq.html).
You can use the `npm help` command to read any of them.
If you're a developer, and you want to use npm to publish your program,
-you should [read this](http://npmjs.org/doc/developers.html)
+you should [read this](https://npmjs.org/doc/developers.html)
## Legal Stuff
@@ -221,7 +221,7 @@ If this concerns you, inspect the source before using packages.
When you find issues, please report them:
* web:
- <http://github.com/isaacs/npm/issues>
+ <https://github.com/isaacs/npm/issues>
* email:
<npm-@googlegroups.com>
View
12 doc/cli/faq.md
@@ -3,7 +3,7 @@ npm-faq(1) -- Frequently Asked Questions
## Where can I find these docs in HTML?
-<http://npmjs.org/doc/>, or run:
+<https://npmjs.org/doc/>, or run:
npm config set viewer browser
@@ -144,7 +144,7 @@ command.)
In those cases, you can do this:
- curl http://npmjs.org/install.sh | sh
+ curl https://npmjs.org/install.sh | sh
## What is a `package`?
@@ -177,9 +177,9 @@ an argument to `git checkout`. The default is `master`.
You don't. Try one of these:
-* <http://github.com/isaacs/nave>
-* <http://github.com/visionmedia/n>
-* <http://github.com/creationix/nvm>
+* <https://github.com/isaacs/nave>
+* <https://github.com/visionmedia/n>
+* <https://github.com/creationix/nvm>
## How can I use npm for development?
@@ -245,7 +245,7 @@ There is not sufficient need to impose namespace rules on everyone.
Discuss it on the mailing list, or post an issue.
* <npm-@googlegroups.com>
-* <http://github.com/isaacs/npm/issues>
+* <https://github.com/isaacs/npm/issues>
## Why does npm hate me?
View
10 html/index.html
@@ -70,24 +70,24 @@
<ol>
<li><a href="https://github.com/isaacs/npm">Get the code.</a>
- <li>Do what <a href="http://npmjs.org/doc/README.html">the README</a>
+ <li>Do what <a href="https://npmjs.org/doc/README.html">the README</a>
says to do.
</ol>
<p>There's a pretty thorough install script at
-<a href="http://npmjs.org/install.sh">http://npmjs.org/install.sh</a></p>
+<a href="https://npmjs.org/install.sh">https://npmjs.org/install.sh</a></p>
<p>For maximum security, make sure to thorougly inspect every
program that you run on your computer!</p>
<h2>Other Cool Stuff</h2>
<ul>
- <li><a href="http://npmjs.org/doc/README.html">README</a>
+ <li><a href="https://npmjs.org/doc/README.html">README</a>
<li><a href="doc/">Help Documentation</a>
<li><a href="doc/faq.html">FAQ</a>
- <li><a href="http://search.npmjs.org/">Search for Packages</a>
- <li><a href="http://groups.google.com/group/npm-">Mailing List</a>
+ <li><a href="https://search.npmjs.org/">Search for Packages</a>
+ <li><a href="https://groups.google.com/group/npm-">Mailing List</a>
<li><a href="https://github.com/isaacs/npm/issues">Bugs</a>
</ul>
View
4 package.json
@@ -15,7 +15,7 @@
"config": {
"publishtest": false
},
- "homepage": "http://npmjs.org/",
+ "homepage": "https://npmjs.org/doc/",
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
"repository": {
"type": "git",
@@ -124,7 +124,7 @@
"licenses": [
{
"type": "MIT +no-false-attribs",
- "url": "http://github.com/isaacs/npm/raw/master/LICENSE"
+ "url": "https://github.com/isaacs/npm/raw/master/LICENSE"
}
]
}
View
2 scripts/install.sh
@@ -17,7 +17,7 @@ if [ "x$0" = "xsh" ]; then
# on some systems, you can just do cat>npm-install.sh
# which is a bit cuter. But on others, &1 is already closed,
# so catting to another script file won't do anything.
- curl -s http://npmjs.org/install.sh > npm-install-$$.sh
+ curl -s https://npmjs.org/install.sh > npm-install-$$.sh
sh npm-install-$$.sh
ret=$?
rm npm-install-$$.sh

0 comments on commit 237b953

Please sign in to comment.
Something went wrong with that request. Please try again.