inherits
Advanced tools
Comparing version 2.0.1 to 2.0.3
@@ -1,1 +0,7 @@ | ||
module.exports = require('util').inherits | ||
try { | ||
var util = require('util'); | ||
if (typeof util.inherits !== 'function') throw ''; | ||
module.exports = util.inherits; | ||
} catch (e) { | ||
module.exports = require('./inherits_browser.js'); | ||
} |
{ | ||
"name": "inherits", | ||
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", | ||
"version": "2.0.1", | ||
"version": "2.0.3", | ||
"keywords": [ | ||
@@ -21,3 +21,10 @@ "inheritance", | ||
"test": "node test" | ||
} | ||
}, | ||
"devDependencies": { | ||
"tap": "^7.1.0" | ||
}, | ||
"files": [ | ||
"inherits.js", | ||
"inherits_browser.js" | ||
] | ||
} |
3824
1
5
30