aboutsummaryrefslogtreecommitdiff
path: root/node_modules/mocha
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/mocha')
-rw-r--r--node_modules/mocha/node_modules/commander/package.json5
-rw-r--r--node_modules/mocha/node_modules/diff/package.json3
-rw-r--r--node_modules/mocha/node_modules/escape-string-regexp/package.json5
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/inherits/LICENSE16
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/inherits/README.md42
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/inherits/inherits.js1
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/inherits/inherits_browser.js23
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/inherits/package.json50
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/inherits/test.js25
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json3
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/package.json3
-rw-r--r--node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json3
-rw-r--r--node_modules/mocha/node_modules/glob/package.json3
-rw-r--r--node_modules/mocha/node_modules/growl/package.json3
-rw-r--r--node_modules/mocha/node_modules/jade/node_modules/commander/package.json7
-rw-r--r--node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json7
-rw-r--r--node_modules/mocha/node_modules/jade/package.json9
-rw-r--r--node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json3
-rw-r--r--node_modules/mocha/node_modules/supports-color/package.json5
-rw-r--r--node_modules/mocha/node_modules/to-iso-string/package.json3
-rw-r--r--node_modules/mocha/package.json5
21 files changed, 177 insertions, 47 deletions
diff --git a/node_modules/mocha/node_modules/commander/package.json b/node_modules/mocha/node_modules/commander/package.json
index 75c1ca4..a1d6f5e 100644
--- a/node_modules/mocha/node_modules/commander/package.json
+++ b/node_modules/mocha/node_modules/commander/package.json
@@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/visionmedia/commander.js.git"
+ "url": "https://github.com/visionmedia/commander.js.git"
},
"devDependencies": {
"should": ">= 0.0.1"
@@ -66,6 +66,5 @@
"tarball": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz"
}
diff --git a/node_modules/mocha/node_modules/diff/package.json b/node_modules/mocha/node_modules/diff/package.json
index cc2af94..0abb5bb 100644
--- a/node_modules/mocha/node_modules/diff/package.json
+++ b/node_modules/mocha/node_modules/diff/package.json
@@ -59,6 +59,5 @@
"tarball": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz"
}
diff --git a/node_modules/mocha/node_modules/escape-string-regexp/package.json b/node_modules/mocha/node_modules/escape-string-regexp/package.json
index 28ad1f9..cd7e9d3 100644
--- a/node_modules/mocha/node_modules/escape-string-regexp/package.json
+++ b/node_modules/mocha/node_modules/escape-string-regexp/package.json
@@ -5,7 +5,7 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/sindresorhus/escape-string-regexp.git"
+ "url": "https://github.com/sindresorhus/escape-string-regexp"
},
"author": {
"name": "Sindre Sorhus",
@@ -64,6 +64,5 @@
"tarball": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz"
}
diff --git a/node_modules/mocha/node_modules/glob/node_modules/inherits/LICENSE b/node_modules/mocha/node_modules/glob/node_modules/inherits/LICENSE
new file mode 100644
index 0000000..dea3013
--- /dev/null
+++ b/node_modules/mocha/node_modules/glob/node_modules/inherits/LICENSE
@@ -0,0 +1,16 @@
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+
diff --git a/node_modules/mocha/node_modules/glob/node_modules/inherits/README.md b/node_modules/mocha/node_modules/glob/node_modules/inherits/README.md
new file mode 100644
index 0000000..b1c5665
--- /dev/null
+++ b/node_modules/mocha/node_modules/glob/node_modules/inherits/README.md
@@ -0,0 +1,42 @@
+Browser-friendly inheritance fully compatible with standard node.js
+[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).
+
+This package exports standard `inherits` from node.js `util` module in
+node environment, but also provides alternative browser-friendly
+implementation through [browser
+field](https://gist.github.com/shtylman/4339901). Alternative
+implementation is a literal copy of standard one located in standalone
+module to avoid requiring of `util`. It also has a shim for old
+browsers with no `Object.create` support.
+
+While keeping you sure you are using standard `inherits`
+implementation in node.js environment, it allows bundlers such as
+[browserify](https://github.com/substack/node-browserify) to not
+include full `util` package to your client code if all you need is
+just `inherits` function. It worth, because browser shim for `util`
+package is large and `inherits` is often the single function you need
+from it.
+
+It's recommended to use this package instead of
+`require('util').inherits` for any code that has chances to be used
+not only in node.js but in browser too.
+
+## usage
+
+```js
+var inherits = require('inherits');
+// then use exactly as the standard one
+```
+
+## note on version ~1.0
+
+Version ~1.0 had completely different motivation and is not compatible
+neither with 2.0 nor with standard node.js `inherits`.
+
+If you are using version ~1.0 and planning to switch to ~2.0, be
+careful:
+
+* new version uses `super_` instead of `super` for referencing
+ superclass
+* new version overwrites current prototype while old one preserves any
+ existing fields on it
diff --git a/node_modules/mocha/node_modules/glob/node_modules/inherits/inherits.js b/node_modules/mocha/node_modules/glob/node_modules/inherits/inherits.js
new file mode 100644
index 0000000..29f5e24
--- /dev/null
+++ b/node_modules/mocha/node_modules/glob/node_modules/inherits/inherits.js
@@ -0,0 +1 @@
+module.exports = require('util').inherits
diff --git a/node_modules/mocha/node_modules/glob/node_modules/inherits/inherits_browser.js b/node_modules/mocha/node_modules/glob/node_modules/inherits/inherits_browser.js
new file mode 100644
index 0000000..c1e78a7
--- /dev/null
+++ b/node_modules/mocha/node_modules/glob/node_modules/inherits/inherits_browser.js
@@ -0,0 +1,23 @@
+if (typeof Object.create === 'function') {
+ // implementation from standard node.js 'util' module
+ module.exports = function inherits(ctor, superCtor) {
+ ctor.super_ = superCtor
+ ctor.prototype = Object.create(superCtor.prototype, {
+ constructor: {
+ value: ctor,
+ enumerable: false,
+ writable: true,
+ configurable: true
+ }
+ });
+ };
+} else {
+ // old school shim for old browsers
+ module.exports = function inherits(ctor, superCtor) {
+ ctor.super_ = superCtor
+ var TempCtor = function () {}
+ TempCtor.prototype = superCtor.prototype
+ ctor.prototype = new TempCtor()
+ ctor.prototype.constructor = ctor
+ }
+}
diff --git a/node_modules/mocha/node_modules/glob/node_modules/inherits/package.json b/node_modules/mocha/node_modules/glob/node_modules/inherits/package.json
new file mode 100644
index 0000000..5739f10
--- /dev/null
+++ b/node_modules/mocha/node_modules/glob/node_modules/inherits/package.json
@@ -0,0 +1,50 @@
+{
+ "name": "inherits",
+ "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
+ "version": "2.0.1",
+ "keywords": [
+ "inheritance",
+ "class",
+ "klass",
+ "oop",
+ "object-oriented",
+ "inherits",
+ "browser",
+ "browserify"
+ ],
+ "main": "./inherits.js",
+ "browser": "./inherits_browser.js",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/isaacs/inherits.git"
+ },
+ "license": "ISC",
+ "scripts": {
+ "test": "node test"
+ },
+ "bugs": {
+ "url": "https://github.com/isaacs/inherits/issues"
+ },
+ "_id": "inherits@2.0.1",
+ "dist": {
+ "shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
+ "tarball": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
+ },
+ "_from": "inherits@>=2.0.0 <3.0.0",
+ "_npmVersion": "1.3.8",
+ "_npmUser": {
+ "name": "isaacs",
+ "email": "i@izs.me"
+ },
+ "maintainers": [
+ {
+ "name": "isaacs",
+ "email": "i@izs.me"
+ }
+ ],
+ "directories": {},
+ "_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
+ "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
+ "readme": "ERROR: No README data found!",
+ "homepage": "https://github.com/isaacs/inherits#readme"
+}
diff --git a/node_modules/mocha/node_modules/glob/node_modules/inherits/test.js b/node_modules/mocha/node_modules/glob/node_modules/inherits/test.js
new file mode 100644
index 0000000..fc53012
--- /dev/null
+++ b/node_modules/mocha/node_modules/glob/node_modules/inherits/test.js
@@ -0,0 +1,25 @@
+var inherits = require('./inherits.js')
+var assert = require('assert')
+
+function test(c) {
+ assert(c.constructor === Child)
+ assert(c.constructor.super_ === Parent)
+ assert(Object.getPrototypeOf(c) === Child.prototype)
+ assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype)
+ assert(c instanceof Child)
+ assert(c instanceof Parent)
+}
+
+function Child() {
+ Parent.call(this)
+ test(this)
+}
+
+function Parent() {}
+
+inherits(Child, Parent)
+
+var c = new Child
+test(c)
+
+console.log('ok')
diff --git a/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json b/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json
index 280389b..233bca6 100644
--- a/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json
+++ b/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache/package.json
@@ -53,6 +53,5 @@
}
],
"directories": {},
- "_resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz"
}
diff --git a/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/package.json b/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/package.json
index 546c28c..658dbb8 100644
--- a/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/package.json
+++ b/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/package.json
@@ -55,6 +55,5 @@
"email": "i@izs.me"
}
],
- "_resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz"
}
diff --git a/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json b/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
index 68b547b..b245f06 100644
--- a/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
+++ b/node_modules/mocha/node_modules/glob/node_modules/minimatch/package.json
@@ -53,6 +53,5 @@
},
"deprecated": "Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue",
"directories": {},
- "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz"
}
diff --git a/node_modules/mocha/node_modules/glob/package.json b/node_modules/mocha/node_modules/glob/package.json
index 97022f1..d52c4b7 100644
--- a/node_modules/mocha/node_modules/glob/package.json
+++ b/node_modules/mocha/node_modules/glob/package.json
@@ -53,6 +53,5 @@
"tarball": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz"
}
diff --git a/node_modules/mocha/node_modules/growl/package.json b/node_modules/mocha/node_modules/growl/package.json
index a8d964a..2fde90c 100644
--- a/node_modules/mocha/node_modules/growl/package.json
+++ b/node_modules/mocha/node_modules/growl/package.json
@@ -46,6 +46,5 @@
"tmp": "tmp/growl-1.9.2.tgz_1456056369289_0.9604133665561676"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz"
}
diff --git a/node_modules/mocha/node_modules/jade/node_modules/commander/package.json b/node_modules/mocha/node_modules/jade/node_modules/commander/package.json
index 4dda069..b0bab56 100644
--- a/node_modules/mocha/node_modules/jade/node_modules/commander/package.json
+++ b/node_modules/mocha/node_modules/jade/node_modules/commander/package.json
@@ -51,10 +51,5 @@
"directories": {},
"_shasum": "fa68a14f6a945d54dbbe50d8cdb3320e9e3b1a06",
"_resolved": "https://registry.npmjs.org/commander/-/commander-0.6.1.tgz",
- "_from": "commander@0.6.1",
- "bugs": {
- "url": "https://github.com/visionmedia/commander.js/issues"
- },
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/visionmedia/commander.js#readme"
+ "_from": "commander@0.6.1"
}
diff --git a/node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json b/node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json
index 8fe36d6..561abd3 100644
--- a/node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json
+++ b/node_modules/mocha/node_modules/jade/node_modules/mkdirp/package.json
@@ -49,10 +49,5 @@
"directories": {},
"_shasum": "1bbf5ab1ba827af23575143490426455f481fe1e",
"_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz",
- "_from": "mkdirp@0.3.0",
- "bugs": {
- "url": "https://github.com/substack/node-mkdirp/issues"
- },
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/substack/node-mkdirp#readme"
+ "_from": "mkdirp@0.3.0"
}
diff --git a/node_modules/mocha/node_modules/jade/package.json b/node_modules/mocha/node_modules/jade/package.json
index 0b279ee..e14515d 100644
--- a/node_modules/mocha/node_modules/jade/package.json
+++ b/node_modules/mocha/node_modules/jade/package.json
@@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
- "url": "git://github.com/visionmedia/jade.git"
+ "url": "git://github.com/visionmedia/jade"
},
"main": "./index.js",
"bin": {
@@ -53,10 +53,5 @@
"deprecated": "Jade has been renamed to pug, please install the latest version of pug instead of jade",
"_shasum": "8f10d7977d8d79f2f6ff862a81b0513ccb25686c",
"_resolved": "https://registry.npmjs.org/jade/-/jade-0.26.3.tgz",
- "_from": "jade@0.26.3",
- "bugs": {
- "url": "https://github.com/visionmedia/jade/issues"
- },
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/visionmedia/jade#readme"
+ "_from": "jade@0.26.3"
}
diff --git a/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json b/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json
index 0c9af0e..f7ee1cf 100644
--- a/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json
+++ b/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json
@@ -62,6 +62,5 @@
],
"directories": {},
"_shasum": "857fcabfc3397d2625b8228262e86aa7a011b05d",
- "_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
}
diff --git a/node_modules/mocha/node_modules/supports-color/package.json b/node_modules/mocha/node_modules/supports-color/package.json
index 20a97bb..cf4f88a 100644
--- a/node_modules/mocha/node_modules/supports-color/package.json
+++ b/node_modules/mocha/node_modules/supports-color/package.json
@@ -5,7 +5,7 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "git+https://github.com/sindresorhus/supports-color.git"
+ "url": "https://github.com/sindresorhus/supports-color"
},
"author": {
"name": "Sindre Sorhus",
@@ -80,6 +80,5 @@
"tarball": "https://registry.npmjs.org/supports-color/-/supports-color-1.2.0.tgz"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-1.2.0.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-1.2.0.tgz"
}
diff --git a/node_modules/mocha/node_modules/to-iso-string/package.json b/node_modules/mocha/node_modules/to-iso-string/package.json
index 15ca77e..fdbcb7b 100644
--- a/node_modules/mocha/node_modules/to-iso-string/package.json
+++ b/node_modules/mocha/node_modules/to-iso-string/package.json
@@ -45,6 +45,5 @@
],
"deprecated": "to-iso-string has been deprecated, use @segment/to-iso-string instead.",
"directories": {},
- "_resolved": "https://registry.npmjs.org/to-iso-string/-/to-iso-string-0.0.2.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/to-iso-string/-/to-iso-string-0.0.2.tgz"
}
diff --git a/node_modules/mocha/package.json b/node_modules/mocha/package.json
index 8e148b9..cd9b720 100644
--- a/node_modules/mocha/package.json
+++ b/node_modules/mocha/package.json
@@ -1246,7 +1246,7 @@
"homepage": "https://github.com/mochajs/mocha#readme",
"_id": "mocha@2.5.3",
"_shasum": "161be5bdeb496771eb9b35745050b622b5aefc58",
- "_from": "mocha@latest",
+ "_from": "mocha@>=2.5.3 <3.0.0",
"_npmVersion": "3.8.6",
"_nodeVersion": "6.0.0",
"_npmUser": {
@@ -1276,6 +1276,5 @@
"tmp": "tmp/mocha-2.5.3.tgz_1464165855561_0.11252999701537192"
},
"directories": {},
- "_resolved": "https://registry.npmjs.org/mocha/-/mocha-2.5.3.tgz",
- "readme": "ERROR: No README data found!"
+ "_resolved": "https://registry.npmjs.org/mocha/-/mocha-2.5.3.tgz"
}