Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/v0.12'
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Gilli committed Mar 5, 2015
2 parents ef43443 + b0425f0 commit a995a6a
Show file tree
Hide file tree
Showing 199 changed files with 1,578 additions and 307 deletions.
1 change: 1 addition & 0 deletions deps/npm/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"curly": 0,
"no-underscore-dangle": 0,
"no-lonely-if": 1,
"no-shadow": 0,
"no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}],
"no-mixed-requires": 0,
"space-infix-ops": 0,
Expand Down
8 changes: 6 additions & 2 deletions deps/npm/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
language: node_js
node_js:
- "0.11"
- iojs
- "0.12"
- "0.10"
- "0.8"
env:
- DEPLOY_VERSION=testing
before_install:
- "npm config set spin false"
- "npm install -g npm@^2"
- "npm install -g npm@~2"
- "sudo mkdir -p /var/run/couchdb"
script: "npm run-script test-all"
notifications:
slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8
8 changes: 8 additions & 0 deletions deps/npm/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,15 @@ Aria Stewart <[email protected]>
Adam Meadows <[email protected]>
Charlie Rudolph <[email protected]>
Chulki Lee <[email protected]>
Vladimir Rutsky <[email protected]>
不四 <[email protected]>
Isaac Murchie <[email protected]>
Marcin Wosinek <[email protected]>
David Marr <[email protected]>
Bryan English <[email protected]>
Anthony Zotti <[email protected]>
Thom Blake <[email protected]>
Karl Horky <[email protected]>
Jess Martin <[email protected]>
Spain Train <[email protected]>
Alex Rodionov <[email protected]>
Expand All @@ -179,6 +186,7 @@ Jens Grunert <[email protected]>
Joost-Wim Boekesteijn <[email protected]>
Dalmais Maxence <[email protected]>
Marcus Ekwall <[email protected]>
Jordan Harband <[email protected]>
Steve Mason <[email protected]>
Wil Moore III <[email protected]>
Sergey Belov <[email protected]>
Expand Down
67 changes: 67 additions & 0 deletions deps/npm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
### v2.6.1 (2015-02-19):

* [`8b98f0e`](https://github.com/npm/npm/commit/8b98f0e709d77a8616c944aebd48ab726f726f76)
[#4471](https://github.com/npm/npm/issues/4471) `npm outdated` (and only `npm
outdated`) now defaults to `--depth=0`. See the [docs for
`--depth`](https://github.com/npm/npm/blob/82f484672adb1a3caf526a8a48832789495bb43d/doc/misc/npm-config.md#depth)
for the mildly confusing details. ([@smikes](https://github.com/smikes))
* [`aa79194`](https://github.com/npm/npm/commit/aa791942a9f3c8af6a650edec72a675deb7a7c6e)
[#6565](https://github.com/npm/npm/issues/6565) Tweak `peerDependency`
deprecation warning to include which peer dependency on which package is
going to need to change. ([@othiym23](https://github.com/othiym23))
* [`5fa067f`](https://github.com/npm/npm/commit/5fa067fd47682ac3cdb12a2b009d8ca59b05f992)
[#7171](https://github.com/npm/npm/issues/7171) Tweak `engineStrict`
deprecation warning to include which `package.json` is using it.
([@othiym23](https://github.com/othiym23))
* [`0fe0caa`](https://github.com/npm/npm/commit/0fe0caa7eddb7acdacbe5ee81ceabaca27175c78)
`[email protected]`: Glob patterns can now ignore matches.
([@isaacs](https://github.com/isaacs))

### v2.6.0 (2015-02-12):

#### A LONG-AWAITED GUEST

* [`38c4825`](https://github.com/npm/npm/commit/38c48254d3d217b4babf5027cb39492be4052fc2)
[#5068](https://github.com/npm/npm/issues/5068) Add new logout command, and
make it do something useful on both bearer-based and basic-based authed
clients. ([@othiym23](https://github.com/othiym23))
* [`4bf0f5d`](https://github.com/npm/npm/commit/4bf0f5d56c33649124b486e016ba4a620c105c1c)
`[email protected]`: Support new `logout` endpoint to invalidate
token for sessions. ([@othiym23](https://github.com/othiym23))

#### DEPRECATIONS

* [`c8e08e6`](https://github.com/npm/npm/commit/c8e08e6d91f4016c80f572aac5a2080df0f78098)
[#6565](https://github.com/npm/npm/issues/6565) Warn that `peerDependency`
behavior is changing and add a note to the docs.
([@othiym23](https://github.com/othiym23))
* [`7c81a5f`](https://github.com/npm/npm/commit/7c81a5f5f058941f635a92f22641ea68e79b60db)
[#7171](https://github.com/npm/npm/issues/7171) Warn that `engineStrict` in
`package.json` will be going away in the next major version of npm (coming
soon!) ([@othiym23](https://github.com/othiym23))

#### BUG FIXES & TWEAKS

* [`add5890`](https://github.com/npm/npm/commit/add5890ce447dabf120b907a85f715df1e065f44)
[#4668](https://github.com/npm/npm/issues/4668) `[email protected]`:
Warn when a `bin` symbolic link is a dangling reference.
([@nicks](https://github.com/nicks))
* [`4b42071`](https://github.com/npm/npm/commit/4b420714dfb84338d85def78c30bd665e32d72c1)
`[email protected]`: Add functions to extract parts of the version triple, fix a
typo. ([@isaacs](https://github.com/isaacs))
* [`a9aff38`](https://github.com/npm/npm/commit/a9aff38719918486fc381d67ad3371c475632ff7)
Use full path for man pages as the symbolic link source, instead of just the
file name. ([@bengl](https://github.com/bengl))
* [`6fd0fbd`](https://github.com/npm/npm/commit/6fd0fbd8a0347fd47cb7ee0064e0902a2f8a087c)
[#7233](https://github.com/npm/npm/issues/7233) Ensure `globalconfig` path
exists before trying to edit it. ([@ljharb](https://github.com/ljharb))
* [`a0a2620`](https://github.com/npm/npm/commit/a0a262047647d9e2690cebe5a89e6a0dd33202bb)
`[email protected]`: Allow embedded, quoted equals signs in ini field names.
([@isaacs](https://github.com/isaacs))

Also typos and other documentation issues were addressed by
[@rutsky](https://github.com/rutsky), [@imurchie](https://github.com/imurchie),
[@marcin-wosinek](https://github.com/marcin-wosinek),
[@marr](https://github.com/marr), [@amZotti](https://github.com/amZotti), and
[@karlhorky](https://github.com/karlhorky). Thank you, everyone!

### v2.5.1 (2015-02-06):

This release doesn't look like much, but considerable effort went into ensuring
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ npm, Inc. or the Node.js project.

Data published to the npm registry is not part of npm itself, and is
the sole property of the publisher. While every effort is made to
ensure accountability, there is absolutely no guarantee, warrantee, or
ensure accountability, there is absolutely no guarantee, warranty, or
assertion expressed or implied as to the quality, fitness for a
specific purpose, or lack of malice in any given npm package.

Expand Down
2 changes: 1 addition & 1 deletion deps/npm/doc/cli/npm-dist-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add, remove, and enumerate distribution tags on a package:

* ls:
Show all of the dist-tags for a package, defaulting to the package in
the curren prefix.
the current prefix.

A tag can be used when installing packages as a reference to a version instead
of using a specific version number:
Expand Down
4 changes: 2 additions & 2 deletions deps/npm/doc/cli/npm-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ For example:
npm link redis # link-install the package

Now, any changes to ~/projects/node-redis will be reflected in
~/projects/node-bloggy/node_modules/redis/
~/projects/node-bloggy/node_modules/node-redis/

You may also shortcut the two steps in one. For example, to do the
above use-case in a shorter way:
Expand All @@ -49,7 +49,7 @@ above use-case in a shorter way:
The second line is the equivalent of doing:

(cd ../node-redis; npm link)
npm link redis
npm link node-redis

That is, it first creates a global link, and then links the global
installation target into your project's `node_modules` folder.
Expand Down
50 changes: 50 additions & 0 deletions deps/npm/doc/cli/npm-logout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
npm-logout(1) -- Log out of the registry
========================================

## SYNOPSIS

npm logout [--registry=url] [--scope=@orgname]

## DESCRIPTION

When logged into a registry that supports token-based authentication, tell the
server to end this token's session. This will invalidate the token everywhere
you're using it, not just for the current environment.

When logged into a legacy registry that uses username and password authentication, this will
clear the credentials in your user configuration. In this case, it will _only_ affect
the current environment.

If `--scope` is provided, this will find the credentials for the registry
connected to that scope, if set.

## CONFIGURATION

### registry

Default: http://registry.npmjs.org/

The base URL of the npm package registry. If `scope` is also specified,
it takes precedence.

### scope

Default: none

If specified, the user and login credentials given will be associated
with the specified scope. See `npm-scope(7)`. You can use both at the same time,
e.g.

npm adduser --registry=http://myregistry.example.com --scope=@myco

This will set a registry for the given scope and login or create a user for
that registry at the same time.

## SEE ALSO

* npm-adduser(1)
* npm-registry(7)
* npm-config(1)
* npm-config(7)
* npmrc(5)
* npm-whoami(1)
30 changes: 21 additions & 9 deletions deps/npm/doc/files/package.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ with your package.

It should look like this:

{ "url" : "http://github.com/owner/project/issues"
{ "url" : "https://github.com/owner/project/issues"
, "email" : "[email protected]"
}

Expand Down Expand Up @@ -219,7 +219,7 @@ will create entries for `man foo` and `man 2 foo`

The CommonJS [Packages](http://wiki.commonjs.org/wiki/Packages/1.0) spec details a
few ways that you can indicate the structure of your package using a `directories`
object. If you look at [npm's package.json](http://registry.npmjs.org/npm/latest),
object. If you look at [npm's package.json](https://registry.npmjs.org/npm/latest),
you'll see that it has directories for doc, lib, and man.

In the future, this information may be used in other creative ways.
Expand Down Expand Up @@ -260,18 +260,23 @@ Do it like this:

"repository" :
{ "type" : "git"
, "url" : "http://github.com/npm/npm.git"
, "url" : "https://github.com/npm/npm.git"
}

"repository" :
{ "type" : "svn"
, "url" : "http://v8.googlecode.com/svn/trunk/"
, "url" : "https://v8.googlecode.com/svn/trunk/"
}

The URL should be a publicly available (perhaps read-only) url that can be handed
directly to a VCS program without any modification. It should not be a url to an
html project page that you put in your browser. It's for computers.

For GitHub repositories you can use the same shortcut syntax you use for `npm
install`:

"repository": "npm/npm"

## scripts

The "scripts" property is a dictionary containing script commands that are run
Expand Down Expand Up @@ -459,13 +464,19 @@ For example:
}

This ensures your package `tea-latte` can be installed *along* with the second
major version of the host package `tea` only. The host package is automatically
installed if needed. `npm install tea-latte` could possibly yield the following
dependency graph:
major version of the host package `tea` only. `npm install tea-latte` could
possibly yield the following dependency graph:

├── [email protected]
└── [email protected]

**NOTE: npm versions 1 and 2 will automatically install `peerDependencies` if
they are not explicitly depended upon higher in the dependency tree. In the
next major version of npm (npm@3), this will no longer be the case. You will
receive a warning that the peerDependency is not installed instead.** The
behavior in npms 1 & 2 was frequently confusing and could easily put you into
dependency hell, a situation that npm is designed to avoid as much as possible.

Trying to install another plugin with a conflicting requirement will cause an
error. For this reason, make sure your plugin requirement is as broad as
possible, and not to lock it down to specific patch versions.
Expand Down Expand Up @@ -534,6 +545,8 @@ field is advisory only.

## engineStrict

**NOTE: This feature is deprecated and will be removed in npm 3.0.0.**

If you are sure that your module will *definitely not* run properly on
versions of Node/npm other than those specified in the `engines` object,
then you can set `"engineStrict": true` in your package.json file.
Expand All @@ -542,8 +555,7 @@ This will override the user's `engine-strict` config setting.
Please do not do this unless you are really very very sure. If your
engines object is something overly restrictive, you can quite easily and
inadvertently lock yourself into obscurity and prevent your users from
updating to new versions of Node. Consider this choice carefully. If
people abuse it, it will be removed in a future version of npm.
updating to new versions of Node. Consider this choice carefully.

## os

Expand Down
9 changes: 7 additions & 2 deletions deps/npm/doc/misc/npm-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,13 @@ If true, then only prints color codes for tty file descriptors.
* Default: Infinity
* Type: Number

The depth to go when recursing directories for `npm ls` and
`npm cache ls`.
The depth to go when recursing directories for `npm ls`,
`npm cache ls`, and `npm outdated`.

For `npm outdated`, a setting of `Infinity` will be treated as `0`
since that gives more useful information. To show the outdated status
of all packages and dependents, use a large integer value,
e.g., `npm outdated --depth 9999`

### description

Expand Down
4 changes: 4 additions & 0 deletions deps/npm/doc/misc/npm-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ Install a package

Symlink a package folder

### npm-logout(1)

Log out of the registry

### npm-ls(1)

List installed packages
Expand Down
5 changes: 4 additions & 1 deletion deps/npm/doc/misc/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ similar risk on the *next* set of prerelease versions.
The method `.inc` takes an additional `identifier` string argument that
will append the value of the string as a prerelease identifier:

````javascript
```javascript
> semver.inc('1.2.3', 'pre', 'beta')
'1.2.4-beta.0'
```
Expand Down Expand Up @@ -248,6 +248,9 @@ strings that they parse.
same as `prepatch`. It increments the patch version, then makes a
prerelease. If the input version is already a prerelease it simply
increments it.
* `major(v)`: Return the major version number.
* `minor(v)`: Return the minor version number.
* `patch(v)`: Return the patch version number.

### Comparison

Expand Down
6 changes: 3 additions & 3 deletions deps/npm/html/doc/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ <h2 id="legal-stuff">Legal Stuff</h2>
npm, Inc. or the Node.js project.</p>
<p>Data published to the npm registry is not part of npm itself, and is
the sole property of the publisher. While every effort is made to
ensure accountability, there is absolutely no guarantee, warrantee, or
ensure accountability, there is absolutely no guarantee, warranty, or
assertion expressed or implied as to the quality, fitness for a
specific purpose, or lack of malice in any given npm package.</p>
<p>If you have a complaint about a package in the public npm registry,
and cannot <a href="https://docs.npmjs.com/misc/disputes">resolve it with the package
owner</a>, please email
<a href="&#109;&#97;&#x69;&#108;&#x74;&#x6f;&#58;&#x73;&#117;&#112;&#x70;&#111;&#x72;&#x74;&#64;&#110;&#x70;&#x6d;&#x6a;&#115;&#x2e;&#x63;&#x6f;&#x6d;">&#x73;&#117;&#112;&#x70;&#111;&#x72;&#x74;&#64;&#110;&#x70;&#x6d;&#x6a;&#115;&#x2e;&#x63;&#x6f;&#x6d;</a> and explain the situation.</p>
<a href="&#109;&#97;&#105;&#x6c;&#x74;&#x6f;&#58;&#115;&#x75;&#x70;&#x70;&#111;&#114;&#116;&#x40;&#x6e;&#x70;&#109;&#106;&#115;&#x2e;&#x63;&#x6f;&#109;">&#115;&#x75;&#x70;&#x70;&#111;&#114;&#116;&#x40;&#x6e;&#x70;&#109;&#106;&#115;&#x2e;&#x63;&#x6f;&#109;</a> and explain the situation.</p>
<p>Any data published to The npm Registry (including user account
information) may be removed or modified at the sole discretion of the
npm server administrators.</p>
Expand Down Expand Up @@ -169,5 +169,5 @@ <h2 id="see-also">SEE ALSO</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@2.5.1</p>
<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@2.6.1</p>

2 changes: 1 addition & 1 deletion deps/npm/html/doc/api/npm-bin.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ <h2 id="synopsis">SYNOPSIS</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-bin &mdash; npm@2.5.1</p>
<p id="footer">npm-bin &mdash; npm@2.6.1</p>

2 changes: 1 addition & 1 deletion deps/npm/html/doc/api/npm-bugs.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ <h2 id="synopsis">SYNOPSIS</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-bugs &mdash; npm@2.5.1</p>
<p id="footer">npm-bugs &mdash; npm@2.6.1</p>

2 changes: 1 addition & 1 deletion deps/npm/html/doc/api/npm-cache.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ <h2 id="synopsis">SYNOPSIS</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-cache &mdash; npm@2.5.1</p>
<p id="footer">npm-cache &mdash; npm@2.6.1</p>

2 changes: 1 addition & 1 deletion deps/npm/html/doc/api/npm-commands.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ <h2 id="see-also">SEE ALSO</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-commands &mdash; npm@2.5.1</p>
<p id="footer">npm-commands &mdash; npm@2.6.1</p>

2 changes: 1 addition & 1 deletion deps/npm/html/doc/api/npm-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ <h2 id="see-also">SEE ALSO</h2>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
<p id="footer">npm-config &mdash; npm@2.5.1</p>
<p id="footer">npm-config &mdash; npm@2.6.1</p>

Loading

0 comments on commit a995a6a

Please sign in to comment.