Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-07-23 12:48:17 +0300
committerRebecca Turner <me@re-becca.org>2015-07-24 12:42:26 +0300
commitf0dd8bf82be79c38b0ad1f29a6e9b59373f71a64 (patch)
treea655b65444a332041aa0587b4f4f69cf2741f61f /node_modules/npm-install-checks
parent6bf8ba1f2d4c61777792580abd427da370cc1d88 (diff)
npm-install-checks@2.0.0
Diffstat (limited to 'node_modules/npm-install-checks')
-rw-r--r--node_modules/npm-install-checks/index.js1
-rw-r--r--node_modules/npm-install-checks/package.json31
-rw-r--r--node_modules/npm-install-checks/test/check-engine.js4
3 files changed, 17 insertions, 19 deletions
diff --git a/node_modules/npm-install-checks/index.js b/node_modules/npm-install-checks/index.js
index 10f214fa9..d7c3360e4 100644
--- a/node_modules/npm-install-checks/index.js
+++ b/node_modules/npm-install-checks/index.js
@@ -6,7 +6,6 @@ var semver = require("semver")
exports.checkEngine = checkEngine
function checkEngine (target, npmVer, nodeVer, force, strict, cb) {
var nodev = force ? null : nodeVer
- , strict = strict || target.engineStrict
, eng = target.engines
if (!eng) return cb()
if (nodev && eng.node && !semver.satisfies(nodev, eng.node)
diff --git a/node_modules/npm-install-checks/package.json b/node_modules/npm-install-checks/package.json
index b803c94f3..b6b91971e 100644
--- a/node_modules/npm-install-checks/package.json
+++ b/node_modules/npm-install-checks/package.json
@@ -1,36 +1,35 @@
{
"_args": [
[
- "npm-install-checks@~1.0.6",
+ "npm-install-checks@2.0.0",
"/Users/rebecca/code/npm"
]
],
- "_from": "npm-install-checks@>=1.0.6 <1.1.0",
- "_id": "npm-install-checks@1.0.6",
+ "_from": "npm-install-checks@2.0.0",
+ "_id": "npm-install-checks@2.0.0",
"_inCache": true,
"_location": "/npm-install-checks",
- "_nodeVersion": "2.3.1",
+ "_nodeVersion": "0.10.40",
"_npmUser": {
"email": "ogd@aoaioxxysz.net",
"name": "othiym23"
},
- "_npmVersion": "2.13.1",
+ "_npmVersion": "3.1.2",
"_phantomChildren": {},
"_requested": {
"name": "npm-install-checks",
- "raw": "npm-install-checks@~1.0.6",
- "rawSpec": "~1.0.6",
+ "raw": "npm-install-checks@2.0.0",
+ "rawSpec": "2.0.0",
"scope": null,
- "spec": ">=1.0.6 <1.1.0",
- "type": "range"
+ "spec": "2.0.0",
+ "type": "version"
},
"_requiredBy": [
"/"
],
- "_resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-1.0.6.tgz",
- "_shasum": "8d4c1e852806e4e2d66601ab787be5841550d0cb",
+ "_shasum": "2a517f34f47e1e4aff9432fd62b6debdca150085",
"_shrinkwrap": null,
- "_spec": "npm-install-checks@~1.0.6",
+ "_spec": "npm-install-checks@2.0.0",
"_where": "/Users/rebecca/code/npm",
"author": {
"email": "rok@kowalski.gd",
@@ -51,10 +50,10 @@
},
"directories": {},
"dist": {
- "shasum": "8d4c1e852806e4e2d66601ab787be5841550d0cb",
- "tarball": "http://registry.npmjs.org/npm-install-checks/-/npm-install-checks-1.0.6.tgz"
+ "shasum": "2a517f34f47e1e4aff9432fd62b6debdca150085",
+ "tarball": "http://registry.npmjs.org/npm-install-checks/-/npm-install-checks-2.0.0.tgz"
},
- "gitHead": "f28aebca7f5df0ddb13161b0f04d069004f6c367",
+ "gitHead": "7027d5f40bcca73479a7d85dc00cbdb7d53d7e8a",
"homepage": "https://github.com/npm/npm-install-checks",
"keywords": [
"install",
@@ -89,5 +88,5 @@
"scripts": {
"test": "tap test/*.js"
},
- "version": "1.0.6"
+ "version": "2.0.0"
}
diff --git a/node_modules/npm-install-checks/test/check-engine.js b/node_modules/npm-install-checks/test/check-engine.js
index a16b13d7d..9b4373667 100644
--- a/node_modules/npm-install-checks/test/check-engine.js
+++ b/node_modules/npm-install-checks/test/check-engine.js
@@ -26,8 +26,8 @@ test("npm version too old", function (t) {
})
})
-test("strict=false does not return an error", function (t) {
- var target = { engines: { npm: "1.3.6" }}
+test("strict=false w/engineStrict json does not return an error", function (t) {
+ var target = { engines: { npm: "1.3.6" }, engineStrict: true }
c(target, "1.4.2", "0.2.1", false, false, function (err) {
t.notOk(err, "returns no error")
t.end()