summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/inherits/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/inherits/package.json')
-rw-r--r--deps/npm/node_modules/inherits/package.json37
1 files changed, 16 insertions, 21 deletions
diff --git a/deps/npm/node_modules/inherits/package.json b/deps/npm/node_modules/inherits/package.json
index b5499c1ec..deec27456 100644
--- a/deps/npm/node_modules/inherits/package.json
+++ b/deps/npm/node_modules/inherits/package.json
@@ -1,18 +1,22 @@
{
"name": "inherits",
- "description": "A tiny simple way to do classic inheritance in js",
- "version": "1.0.0",
+ "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
+ "version": "2.0.0",
"keywords": [
"inheritance",
"class",
"klass",
"oop",
- "object-oriented"
+ "object-oriented",
+ "inherits",
+ "browser",
+ "browserify"
],
"main": "./inherits.js",
+ "browser": "./inherits_browser.js",
"repository": {
"type": "git",
- "url": "git://github.com/isaacs/inherits.git"
+ "url": "https://github.com/isaacs/inherits"
},
"license": {
"type": "WTFPL2"
@@ -22,23 +26,14 @@
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
- "_npmUser": {
- "name": "isaacs",
- "email": "i@izs.me"
+ "scripts": {
+ "test": "node test"
},
- "_id": "inherits@1.0.0",
- "dependencies": {},
- "devDependencies": {},
- "optionalDependencies": {},
- "engines": {
- "node": "*"
+ "readme": "Browser-friendly inheritance fully compatible with standard node.js\n[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).\n\nThis package exports standard `inherits` from node.js `util` module in\nnode environment, but also provides alternative browser-friendly\nimplementation through [browser\nfield](https://gist.github.com/shtylman/4339901). Alternative\nimplementation is a literal copy of standard one located in standalone\nmodule to avoid requiring of `util`. It also has a shim for old\nbrowsers with no `Object.create` support.\n\nWhile keeping you sure you are using standard `inherits`\nimplementation in node.js environment, it allows bundlers such as\n[browserify](https://github.com/substack/node-browserify) to not\ninclude full `util` package to your client code if all you need is\njust `inherits` function. It worth, because browser shim for `util`\npackage is large and `inherits` is often the single function you need\nfrom it.\n\nIt's recommended to use this package instead of\n`require('util').inherits` for any code that has chances to be used\nnot only in node.js but in browser too.\n\n## usage\n\n```js\nvar inherits = require('inherits');\n// then use exactly as the standard one\n```\n\n## note on version ~1.0\n\nVersion ~1.0 had completely different motivation and is not compatible\nneither with 2.0 nor with standard node.js `inherits`.\n\nIf you are using version ~1.0 and planning to switch to ~2.0, be\ncareful:\n\n* new version uses `super_` instead of `super` for referencing\n superclass\n* new version overwrites current prototype while old one preserves any\n existing fields on it\n",
+ "readmeFilename": "README.md",
+ "bugs": {
+ "url": "https://github.com/isaacs/inherits/issues"
},
- "_engineSupported": true,
- "_npmVersion": "1.1.10",
- "_nodeVersion": "v0.7.7-pre",
- "_defaultsLoaded": true,
- "dist": {
- "shasum": "12dbc03c9f7c203289234b214a7d05a311d71450"
- },
- "_from": "git://github.com/isaacs/inherits"
+ "_id": "inherits@2.0.0",
+ "_from": "inherits@2"
}