forked from nodejs/node-v0.x-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/v0.12'
- Loading branch information
Showing
199 changed files
with
1,578 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]> | ||
|
@@ -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]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]" | ||
} | ||
|
||
|
@@ -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. | ||
|
@@ -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 | ||
|
@@ -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. | ||
|
@@ -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. | ||
|
@@ -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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.