From bd547d65983c190eb69ca44d633ea31aca2b7c98 Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 19 Mar 2014 09:25:40 -0700 Subject: npm: upgrade to 1.4.6 * Documentation upgrades * Fix glob bug which prevents proper README publishing * node-gyp upgrade to 0.13 * Documentation updates * Add --save-exact to save an exact dep (instead of a range) * alias 't' to 'test' --- deps/npm/html/doc/misc/npm-coding-style.html | 46 ++++++------------ deps/npm/html/doc/misc/npm-config.html | 67 +++++++++++-------------- deps/npm/html/doc/misc/npm-developers.html | 46 ++++++------------ deps/npm/html/doc/misc/npm-disputes.html | 46 ++++++------------ deps/npm/html/doc/misc/npm-faq.html | 48 ++++++------------ deps/npm/html/doc/misc/npm-index.html | 46 ++++++------------ deps/npm/html/doc/misc/npm-registry.html | 46 ++++++------------ deps/npm/html/doc/misc/npm-scripts.html | 46 ++++++------------ deps/npm/html/doc/misc/removing-npm.html | 46 ++++++------------ deps/npm/html/doc/misc/semver.html | 73 +++++++++++++++------------- 10 files changed, 181 insertions(+), 329 deletions(-) (limited to 'deps/npm/html/doc/misc') diff --git a/deps/npm/html/doc/misc/npm-coding-style.html b/deps/npm/html/doc/misc/npm-coding-style.html index 3f43db0cc6..5e1992443c 100644 --- a/deps/npm/html/doc/misc/npm-coding-style.html +++ b/deps/npm/html/doc/misc/npm-coding-style.html @@ -3,9 +3,11 @@ npm-coding-style +
+

npm-coding-style

npm's "funny" coding style

DESCRIPTION

@@ -182,35 +184,15 @@ set to anything."

- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/npm-config.html b/deps/npm/html/doc/misc/npm-config.html index 062b819420..5f4dec5aca 100644 --- a/deps/npm/html/doc/misc/npm-config.html +++ b/deps/npm/html/doc/misc/npm-config.html @@ -3,9 +3,11 @@ npm-config +
+

npm-config

More than you probably want to know about npm configuration

DESCRIPTION

@@ -46,7 +48,7 @@ defaults if nothing else is specified.

The following shorthands are parsed on the command-line:

- +

If the specified configuration param resolves unambiguously to a known configuration parameter, then it is expanded to that configuration @@ -538,19 +540,28 @@ bundledDependencies list.

Save installed packages to a package.json file as devDependencies.

-

When used with the npm rm command, it removes it from the devDependencies -hash.

+

When used with the npm rm command, it removes it from the +devDependencies hash.

Only works if there is already a package.json file present.

+

save-exact

+ + + +

Dependencies saved to package.json using --save, --save-dev or +--save-optional will be configured with an exact version rather than +using npm's default semver range operator.

+

save-optional

-

Save installed packages to a package.json file as optionalDependencies.

+

Save installed packages to a package.json file as +optionalDependencies.

-

When used with the npm rm command, it removes it from the devDependencies -hash.

+

When used with the npm rm command, it removes it from the +devDependencies hash.

Only works if there is already a package.json file present.

@@ -710,35 +721,15 @@ hash, and exit successfully.

- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/npm-developers.html b/deps/npm/html/doc/misc/npm-developers.html index c44fd6bb41..25a6348ca7 100644 --- a/deps/npm/html/doc/misc/npm-developers.html +++ b/deps/npm/html/doc/misc/npm-developers.html @@ -3,9 +3,11 @@ npm-developers +
+

npm-developers

Developer Guide

DESCRIPTION

@@ -174,35 +176,15 @@ from a fresh checkout.

- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/npm-disputes.html b/deps/npm/html/doc/misc/npm-disputes.html index 6b575e8376..87cf6b2fd3 100644 --- a/deps/npm/html/doc/misc/npm-disputes.html +++ b/deps/npm/html/doc/misc/npm-disputes.html @@ -3,9 +3,11 @@ npm-disputes +
+

npm-disputes

Handling Module Name Disputes

SYNOPSIS

@@ -92,35 +94,15 @@ things into it.
- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/npm-faq.html b/deps/npm/html/doc/misc/npm-faq.html index 188c135487..298b44548b 100644 --- a/deps/npm/html/doc/misc/npm-faq.html +++ b/deps/npm/html/doc/misc/npm-faq.html @@ -3,9 +3,11 @@ npm-faq +
+

npm-faq

Frequently Asked Questions

Where can I find these docs in HTML?

@@ -149,7 +151,7 @@ command.)

In those cases, you can do this:

-
curl https://npmjs.org/install.sh | sh
+
curl https://www.npmjs.org/install.sh | sh

What is a package?

@@ -348,35 +350,15 @@ good folks at npm, Inc.

- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/npm-index.html b/deps/npm/html/doc/misc/npm-index.html index 13fbb2658e..b92a214731 100644 --- a/deps/npm/html/doc/misc/npm-index.html +++ b/deps/npm/html/doc/misc/npm-index.html @@ -3,9 +3,11 @@ npm-index +
+

npm-index

Index of all npm documentation

README

@@ -416,35 +418,15 @@

The semantic versioner for npm

- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/npm-registry.html b/deps/npm/html/doc/misc/npm-registry.html index 037e21822a..79c9957b75 100644 --- a/deps/npm/html/doc/misc/npm-registry.html +++ b/deps/npm/html/doc/misc/npm-registry.html @@ -3,9 +3,11 @@ npm-registry +
+

npm-registry

The JavaScript Package Registry

DESCRIPTION

@@ -71,35 +73,15 @@ effectively implement the entire CouchDB API anyway.

- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/npm-scripts.html b/deps/npm/html/doc/misc/npm-scripts.html index 4a01368906..16f9a53e61 100644 --- a/deps/npm/html/doc/misc/npm-scripts.html +++ b/deps/npm/html/doc/misc/npm-scripts.html @@ -3,9 +3,11 @@ npm-scripts +
+

npm-scripts

How npm handles the "scripts" field

DESCRIPTION

@@ -223,35 +225,15 @@ the user will sudo the npm command in question.
- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/removing-npm.html b/deps/npm/html/doc/misc/removing-npm.html index 2fd99a173f..c79e677542 100644 --- a/deps/npm/html/doc/misc/removing-npm.html +++ b/deps/npm/html/doc/misc/removing-npm.html @@ -3,9 +3,11 @@ removing-npm +
+

npm-removal

Cleaning the Slate

SYNOPSIS

@@ -58,35 +60,15 @@ modules. To track those down, you can do the following:

- - + + + + + + + + + + + + diff --git a/deps/npm/html/doc/misc/semver.html b/deps/npm/html/doc/misc/semver.html index 490f020fd5..893858ab40 100644 --- a/deps/npm/html/doc/misc/semver.html +++ b/deps/npm/html/doc/misc/semver.html @@ -3,9 +3,11 @@ semver +
+

semver

The semantic versioner for npm

Usage

@@ -60,7 +62,14 @@ not satisfy this range, but 2.3.0-beta will.
  • <=1.2 ARE allowed, so 1.2.3-beta would satisfy.
  • 1.2.3 - 2.3.4 := >=1.2.3 <=2.3.4
  • ~1.2.3 := >=1.2.3-0 <1.3.0-0 "Reasonably close to 1.2.3". When using tilde operators, prerelease versions are supported as well, but a prerelease of the next significant digit will NOT be -satisfactory, so 1.3.0-beta will not satisfy ~1.2.3.
  • ~1.2 := >=1.2.0-0 <1.3.0-0 "Any version starting with 1.2"
  • 1.2.x := >=1.2.0-0 <1.3.0-0 "Any version starting with 1.2"
  • ~1 := >=1.0.0-0 <2.0.0-0 "Any version starting with 1"
  • 1.x := >=1.0.0-0 <2.0.0-0 "Any version starting with 1"
  • +satisfactory, so 1.3.0-beta will not satisfy ~1.2.3.
  • ^1.2.3 := >=1.2.3-0 <2.0.0-0 "Compatible with 1.2.3". When +using caret operators, anything from the specified version (including +prerelease) will be supported up to, but not including, the next +major version (or its prereleases). 1.5.1 will satisfy ^1.2.3, +while 1.2.2 and 2.0.0-beta will not.
  • ^0.1.3 := >=0.1.3-0 <0.2.0-0 "Compatible with 0.1.3". 0.x.x versions are +special: the first non-zero component indicates potentially breaking changes, +meaning the caret operator matches any version with the same first non-zero +component starting at the specified version.
  • ^0.0.2 := =0.0.2 "Only the version 0.0.2 is considered compatible"
  • ~1.2 := >=1.2.0-0 <1.3.0-0 "Any version starting with 1.2"
  • ^1.2 := >=1.2.0-0 <2.0.0-0 "Any version compatible with 1.2"
  • 1.2.x := >=1.2.0-0 <1.3.0-0 "Any version starting with 1.2"
  • ~1 := >=1.0.0-0 <2.0.0-0 "Any version starting with 1"
  • ^1 := >=1.0.0-0 <2.0.0-0 "Any version compatible with 1"
  • 1.x := >=1.0.0-0 <2.0.0-0 "Any version starting with 1"
  • Ranges can be joined with either a space (which implies "and") or a || (which implies "or").

    @@ -92,37 +101,33 @@ in descending order when passed to Array.sort().
    • validRange(range): Return the valid range or null if it's not valid
    • satisfies(version, range): Return true if the version satisfies the range.
    • maxSatisfying(versions, range): Return the highest version in the list -that satisfies the range, or null if none of them do.
    +that satisfies the range, or null if none of them do.
  • gtr(version, range): Return true if version is greater than all the +versions possible in the range.
  • ltr(version, range): Return true if version is less than all the +versions possible in the range.
  • outside(version, range, hilo): Return true if the version is outside +the bounds of the range in either the high or low direction. The +hilo argument must be either the string '>' or '<'. (This is +the function called by gtr and ltr.)
  • + +

    Note that, since ranges may be non-contiguous, a version might not be +greater than a range, less than a range, or satisfy a range! For +example, the range 1.2 <1.2.9 || >2.0.0 would have a hole from 1.2.9 +until 2.0.0, so the version 1.2.10 would not be greater than the +range (because 2.0.1 satisfies, which is higher), nor less than the +range (since 1.2.8 satisfies, which is lower), and it also does not +satisfy the range.

    + +

    If you want to know if a version satisfies or does not satisfy a +range, use the satisfies(version, range) function.

    - - + + + + + + + + + + + + -- cgit v1.2.1