diff options
author | isaacs <i@izs.me> | 2012-10-04 08:55:49 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-10-04 08:55:49 +0400 |
commit | 237b95328ed6863c2e5efd370cc0940fd60b72f2 (patch) | |
tree | cb50decb905d625f6fb4da46096a1deb5458f628 | |
parent | ef1dcaf0f80c3933bbbc4c3c2f1377f8d13544b3 (diff) |
Fix #2850 Use https url for npmjs.org in docs etc.
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | doc/cli/faq.md | 12 | ||||
-rw-r--r-- | html/index.html | 10 | ||||
-rw-r--r-- | package.json | 4 | ||||
-rwxr-xr-x | scripts/install.sh | 2 |
5 files changed, 19 insertions, 19 deletions
@@ -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> diff --git a/doc/cli/faq.md b/doc/cli/faq.md index 7fd43e9a3..4c8367137 100644 --- a/doc/cli/faq.md +++ b/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? diff --git a/html/index.html b/html/index.html index 4a97cd3e7..b4a22be23 100644 --- a/html/index.html +++ b/html/index.html @@ -70,12 +70,12 @@ code { background:#fff ; outline: 1px solid #ccc; padding:0 2px; } <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> @@ -83,11 +83,11 @@ 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> diff --git a/package.json b/package.json index cf1b08fed..baaa2bc7b 100644 --- a/package.json +++ b/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" } ] } diff --git a/scripts/install.sh b/scripts/install.sh index 87de5ef75..a8e588d43 100755 --- a/scripts/install.sh +++ b/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 |