Skip to content

Commit f2f893b

Browse files
committed
npm: Upgrade to v1.2.18
1 parent b2587b2 commit f2f893b

File tree

466 files changed

+34158
-1397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

466 files changed

+34158
-1397
lines changed

deps/npm/.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.swp
2+
.*.swp
23
npm-debug.log
34
/test/bin
45
/test/output.log
@@ -20,3 +21,5 @@ html/*.png
2021
!.npmignore
2122

2223
/npm-*.tgz
24+
25+
*.pyc

deps/npm/doc/cli/disputes.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ There sometimes arise cases where a user publishes a module, and then
1515
later, some other user wants to use that name. Here are some common
1616
ways that happens (each of these is based on actual events.)
1717

18-
1. Bob writes a JavaScript module `foo`, which is not node-specific.
19-
Bob doesn't use node at all. Joe wants to use `foo` in node, so he
20-
wraps it in an npm module. Some time later, Bob starts using node,
18+
1. Joe writes a JavaScript module `foo`, which is not node-specific.
19+
Joe doesn't use node at all. Bob wants to use `foo` in node, so he
20+
wraps it in an npm module. Some time later, Joe starts using node,
2121
and wants to take over management of his program.
2222
2. Bob writes an npm module `foo`, and publishes it. Perhaps much
2323
later, Joe finds a bug in `foo`, and fixes it. He sends a pull
@@ -49,7 +49,8 @@ Joe's appropriate course of action in each case is the same.
4949
the `foo` package.
5050
3. After a reasonable amount of time, if Bob has not responded, or if
5151
Bob and Joe can't come to any sort of resolution, email isaacs
52-
<[email protected]> and we'll sort it out.
52+
<[email protected]> and we'll sort it out. ("Reasonable" is usually about 4
53+
weeks, but extra time is allowed around common holidays.)
5354

5455
## REASONING
5556

@@ -71,17 +72,23 @@ Some things are not allowed, and will be removed without discussion if
7172
they are brought to the attention of the npm registry admins, including
7273
but not limited to:
7374

74-
1. Malware (that is, a module designed to exploit or harm the machine on
75-
which it is installed)
75+
1. Malware (that is, a package designed to exploit or harm the machine on
76+
which it is installed).
7677
2. Violations of copyright or licenses (for example, cloning an
7778
MIT-licensed program, and then removing or changing the copyright and
78-
license statement)
79+
license statement).
7980
3. Illegal content.
8081
4. "Squatting" on a package name that you *plan* to use, but aren't
8182
actually using. Sorry, I don't care how great the name is, or how
8283
perfect a fit it is for the thing that someday might happen. If
8384
someone wants to use it today, and you're just taking up space with
8485
an empty tarball, you're going to be evicted.
86+
5. Putting empty packages in the registry. Packages must have SOME
87+
functionality. It can be silly, but it can't be *nothing*. (See
88+
also: squatting.)
89+
6. Doing weird things with the registry, like using it as your own
90+
personal application database or otherwise putting non-packagey
91+
things into it.
8592

8693
If you see bad behavior like this, please report it right away.
8794

deps/npm/doc/cli/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ npm will not help you do something that is known to be a bad idea.
7777
No. This will never happen. This question comes up sometimes,
7878
because it seems silly from the outside that npm couldn't just be
7979
configured to put stuff somewhere else, and then npm could load them
80-
from there. It's an arbitrary spelling choice, right? What's the bg
80+
from there. It's an arbitrary spelling choice, right? What's the big
8181
deal?
8282

8383
At the time of this writing, the string `'node_modules'` appears 151

deps/npm/doc/cli/json.md

+24-3
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,27 @@ you can specify the value for "bugs" as a simple string instead of an object.
118118

119119
If a url is provided, it will be used by the `npm bugs` command.
120120

121+
## license
122+
123+
You should specify a license for your package so that people know how they are
124+
permitted to use it, and any restrictions you're placing on it.
125+
126+
The simplest way, assuming you're using a common license such as BSD or MIT, is
127+
to just specify the name of the license you're using, like this:
128+
129+
{ "license" : "BSD" }
130+
131+
If you have more complex licensing terms, or you want to provide more detail
132+
in your package.json file, you can use the more verbose plural form, like this:
133+
134+
"licenses" : [
135+
{ "type" : "MyLicense"
136+
, "url" : "http://github.com/owner/project/path/to/license"
137+
}
138+
]
139+
140+
It's also a good idea to include a license file at the top level in your package.
141+
121142
## people fields: author, contributors
122143

123144
The "author" is one person. "contributors" is an array of people. A "person"
@@ -416,9 +437,9 @@ In this case, it's best to list these additional items in a
416437
`devDependencies` hash.
417438

418439
These things will be installed whenever the `--dev` configuration flag
419-
is set. This flag is set automatically when doing `npm link`, and can
420-
be managed like any other npm configuration param. See `npm-config(1)`
421-
for more on the topic.
440+
is set. This flag is set automatically when doing `npm link` or when doing
441+
`npm install` from the root of a package, and can be managed like any other npm
442+
configuration param. See `npm-config(1)` for more on the topic.
422443

423444
## bundledDependencies
424445

deps/npm/html/api/bin.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
1919
<p>This function should not be used programmatically. Instead, just refer
2020
to the <code>npm.bin</code> member.</p>
2121
</div>
22-
<p id="footer">bin &mdash; [email protected].14</p>
22+
<p id="footer">bin &mdash; [email protected].18</p>
2323
<script>
2424
;(function () {
2525
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/bugs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2525
<p>This command will launch a browser, so this command may not be the most
2626
friendly for programmatic use.</p>
2727
</div>
28-
<p id="footer">bugs &mdash; [email protected].14</p>
28+
<p id="footer">bugs &mdash; [email protected].18</p>
2929
<script>
3030
;(function () {
3131
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/commands.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
2828

2929
<ul><li><a href="../doc/index.html">index(1)</a></li></ul>
3030
</div>
31-
<p id="footer">commands &mdash; [email protected].14</p>
31+
<p id="footer">commands &mdash; [email protected].18</p>
3232
<script>
3333
;(function () {
3434
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/config.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
3333

3434
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
3535
</div>
36-
<p id="footer">config &mdash; [email protected].14</p>
36+
<p id="footer">config &mdash; [email protected].18</p>
3737
<script>
3838
;(function () {
3939
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/deprecate.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
3232

3333
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../api/unpublish.html">unpublish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
3434
</div>
35-
<p id="footer">deprecate &mdash; [email protected].14</p>
35+
<p id="footer">deprecate &mdash; [email protected].18</p>
3636
<script>
3737
;(function () {
3838
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/docs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2525
<p>This command will launch a browser, so this command may not be the most
2626
friendly for programmatic use.</p>
2727
</div>
28-
<p id="footer">docs &mdash; [email protected].14</p>
28+
<p id="footer">docs &mdash; [email protected].18</p>
2929
<script>
3030
;(function () {
3131
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/edit.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
3030
<p>Since this command opens an editor in a new process, be careful about where
3131
and how this is used.</p>
3232
</div>
33-
<p id="footer">edit &mdash; [email protected].14</p>
33+
<p id="footer">edit &mdash; [email protected].18</p>
3434
<script>
3535
;(function () {
3636
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/explore.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2424

2525
<p>The first element in the &#39;args&#39; parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p>
2626
</div>
27-
<p id="footer">explore &mdash; [email protected].14</p>
27+
<p id="footer">explore &mdash; [email protected].18</p>
2828
<script>
2929
;(function () {
3030
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/help-search.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
3232

3333
<p>The silent parameter is not neccessary not used, but it may in the future.</p>
3434
</div>
35-
<p id="footer">help-search &mdash; [email protected].14</p>
35+
<p id="footer">help-search &mdash; [email protected].18</p>
3636
<script>
3737
;(function () {
3838
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/init.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
3535

3636
<p><a href="../doc/json.html">json(1)</a></p>
3737
</div>
38-
<p id="footer">init &mdash; [email protected].14</p>
38+
<p id="footer">init &mdash; [email protected].18</p>
3939
<script>
4040
;(function () {
4141
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/install.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2525
<p>Finally, &#39;callback&#39; is a function that will be called when all packages have been
2626
installed or when an error has been encountered.</p>
2727
</div>
28-
<p id="footer">install &mdash; [email protected].14</p>
28+
<p id="footer">install &mdash; [email protected].18</p>
2929
<script>
3030
;(function () {
3131
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/link.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
3939
<p>Now, any changes to the redis package will be reflected in
4040
the package in the current working directory</p>
4141
</div>
42-
<p id="footer">link &mdash; [email protected].14</p>
42+
<p id="footer">link &mdash; [email protected].18</p>
4343
<script>
4444
;(function () {
4545
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/load.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
3232

3333
<p>For a list of all the available command-line configs, see <code>npm help config</code></p>
3434
</div>
35-
<p id="footer">load &mdash; [email protected].14</p>
35+
<p id="footer">load &mdash; [email protected].18</p>
3636
<script>
3737
;(function () {
3838
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/ls.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ <h3 id="global">global</h3>
5959
This means that if a submodule a same dependency as a parent module, then the
6060
dependency will only be output once.</p>
6161
</div>
62-
<p id="footer">ls &mdash; [email protected].14</p>
62+
<p id="footer">ls &mdash; [email protected].18</p>
6363
<script>
6464
;(function () {
6565
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/npm.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2 id="SYNOPSIS">SYNOPSIS</h2>
2424

2525
<h2 id="VERSION">VERSION</h2>
2626

27-
<p>1.2.14</p>
27+
<p>1.2.18</p>
2828

2929
<h2 id="DESCRIPTION">DESCRIPTION</h2>
3030

@@ -92,7 +92,7 @@ <h2 id="ABBREVS">ABBREVS</h2>
9292

9393
<pre><code>var cmd = npm.deref(&quot;unp&quot;) // cmd === &quot;unpublish&quot;</code></pre>
9494
</div>
95-
<p id="footer">npm &mdash; [email protected].14</p>
95+
<p id="footer">npm &mdash; [email protected].18</p>
9696
<script>
9797
;(function () {
9898
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/outdated.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
1919

2020
<p>If the &#39;packages&#39; parameter is left out, npm will check all packages.</p>
2121
</div>
22-
<p id="footer">outdated &mdash; [email protected].14</p>
22+
<p id="footer">outdated &mdash; [email protected].18</p>
2323
<script>
2424
;(function () {
2525
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/owner.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
3434

3535
<ul><li><a href="../api/publish.html">publish(3)</a></li><li><a href="../doc/registry.html">registry(1)</a></li></ul>
3636
</div>
37-
<p id="footer">owner &mdash; [email protected].14</p>
37+
<p id="footer">owner &mdash; [email protected].18</p>
3838
<script>
3939
;(function () {
4040
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/pack.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2525

2626
<p>If no arguments are supplied, then npm packs the current package folder.</p>
2727
</div>
28-
<p id="footer">pack &mdash; [email protected].14</p>
28+
<p id="footer">pack &mdash; [email protected].18</p>
2929
<script>
3030
;(function () {
3131
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/prefix.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2121

2222
<p>This function is not useful programmatically</p>
2323
</div>
24-
<p id="footer">prefix &mdash; [email protected].14</p>
24+
<p id="footer">prefix &mdash; [email protected].18</p>
2525
<script>
2626
;(function () {
2727
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/prune.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2323
<p>Extraneous packages are packages that are not listed on the parent
2424
package&#39;s dependencies list.</p>
2525
</div>
26-
<p id="footer">prune &mdash; [email protected].14</p>
26+
<p id="footer">prune &mdash; [email protected].18</p>
2727
<script>
2828
;(function () {
2929
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/publish.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
3232

3333
<ul><li><a href="../doc/registry.html">registry(1)</a></li><li><a href="../doc/adduser.html">adduser(1)</a></li><li><a href="../api/owner.html">owner(3)</a></li></ul>
3434
</div>
35-
<p id="footer">publish &mdash; [email protected].14</p>
35+
<p id="footer">publish &mdash; [email protected].18</p>
3636
<script>
3737
;(function () {
3838
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/rebuild.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2 id="CONFIGURATION">CONFIGURATION</h2>
2222

2323
<p>See <code>npm help build</code></p>
2424
</div>
25-
<p id="footer">rebuild &mdash; [email protected].14</p>
25+
<p id="footer">rebuild &mdash; [email protected].18</p>
2626
<script>
2727
;(function () {
2828
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/restart.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
2727

2828
<ul><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
2929
</div>
30-
<p id="footer">restart &mdash; [email protected].14</p>
30+
<p id="footer">restart &mdash; [email protected].18</p>
3131
<script>
3232
;(function () {
3333
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/root.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2121

2222
<p>This function is not useful programmatically.</p>
2323
</div>
24-
<p id="footer">root &mdash; [email protected].14</p>
24+
<p id="footer">root &mdash; [email protected].18</p>
2525
<script>
2626
;(function () {
2727
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/run-script.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
2929

3030
<ul><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../api/test.html">test(3)</a></li><li><a href="../api/start.html">start(3)</a></li><li><a href="../api/restart.html">restart(3)</a></li><li><a href="../api/stop.html">stop(3)</a></li></ul>
3131
</div>
32-
<p id="footer">run-script &mdash; [email protected].14</p>
32+
<p id="footer">run-script &mdash; [email protected].18</p>
3333
<script>
3434
;(function () {
3535
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/search.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
3232
and doesn&#39;t try to read your mind (it doesn&#39;t do any verb tense matching or the
3333
like).</p>
3434
</div>
35-
<p id="footer">search &mdash; [email protected].14</p>
35+
<p id="footer">search &mdash; [email protected].18</p>
3636
<script>
3737
;(function () {
3838
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/shrinkwrap.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2626
<p>Finally, &#39;callback&#39; is a function that will be called when the shrinkwrap has
2727
been saved.</p>
2828
</div>
29-
<p id="footer">shrinkwrap &mdash; [email protected].14</p>
29+
<p id="footer">shrinkwrap &mdash; [email protected].18</p>
3030
<script>
3131
;(function () {
3232
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/start.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
1919
<p>npm can run tests on multiple packages. Just specify multiple packages
2020
in the <code>packages</code> parameter.</p>
2121
</div>
22-
<p id="footer">start &mdash; [email protected].14</p>
22+
<p id="footer">start &mdash; [email protected].18</p>
2323
<script>
2424
;(function () {
2525
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/stop.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
1919
<p>npm can run stop on multiple packages. Just specify multiple packages
2020
in the <code>packages</code> parameter.</p>
2121
</div>
22-
<p id="footer">stop &mdash; [email protected].14</p>
22+
<p id="footer">stop &mdash; [email protected].18</p>
2323
<script>
2424
;(function () {
2525
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/submodule.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h2 id="SEE-ALSO">SEE ALSO</h2>
3333

3434
<ul><li>npm help json</li><li>git help submodule</li></ul>
3535
</div>
36-
<p id="footer">submodule &mdash; [email protected].14</p>
36+
<p id="footer">submodule &mdash; [email protected].18</p>
3737
<script>
3838
;(function () {
3939
var wrapper = document.getElementById("wrapper")

deps/npm/html/api/tag.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 id="DESCRIPTION">DESCRIPTION</h2>
2929
used. For more information about how to set this config, check
3030
<code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p>
3131
</div>
32-
<p id="footer">tag &mdash; [email protected].14</p>
32+
<p id="footer">tag &mdash; [email protected].18</p>
3333
<script>
3434
;(function () {
3535
var wrapper = document.getElementById("wrapper")

0 commit comments

Comments
 (0)