chore:更换到主分支

This commit is contained in:
张益铭
2021-03-01 15:26:05 +08:00
parent 9064b372e8
commit 6a5f1810f9
3530 changed files with 59613 additions and 479452 deletions

2
node_modules/inherits/inherits.js generated vendored
View File

@@ -1,9 +1,7 @@
try {
var util = require('util');
/* istanbul ignore next */
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
/* istanbul ignore next */
module.exports = require('./inherits_browser.js');
}

View File

@@ -1,27 +1,23 @@
if (typeof Object.create === 'function') {
// implementation from standard node.js 'util' module
module.exports = function inherits(ctor, superCtor) {
if (superCtor) {
ctor.super_ = superCtor
ctor.prototype = Object.create(superCtor.prototype, {
constructor: {
value: ctor,
enumerable: false,
writable: true,
configurable: true
}
})
}
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) {
if (superCtor) {
ctor.super_ = superCtor
var TempCtor = function () {}
TempCtor.prototype = superCtor.prototype
ctor.prototype = new TempCtor()
ctor.prototype.constructor = ctor
}
ctor.super_ = superCtor
var TempCtor = function () {}
TempCtor.prototype = superCtor.prototype
ctor.prototype = new TempCtor()
ctor.prototype.constructor = ctor
}
}

29
node_modules/inherits/package.json generated vendored
View File

@@ -1,34 +1,31 @@
{
"_args": [
[
"inherits@2.0.4",
"inherits@2.0.3",
"J:\\Github\\CURD-TS"
]
],
"_development": true,
"_from": "inherits@2.0.4",
"_id": "inherits@2.0.4",
"_from": "inherits@2.0.3",
"_id": "inherits@2.0.3",
"_inBundle": false,
"_integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=",
"_integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
"_location": "/inherits",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "inherits@2.0.4",
"raw": "inherits@2.0.3",
"name": "inherits",
"escapedName": "inherits",
"rawSpec": "2.0.4",
"rawSpec": "2.0.3",
"saveSpec": null,
"fetchSpec": "2.0.4"
"fetchSpec": "2.0.3"
},
"_requiredBy": [
"/glob",
"/http-assert/http-errors",
"/http-errors"
"/util"
],
"_resolved": "http://192.168.250.101:4873/inherits/-/inherits-2.0.4.tgz",
"_spec": "2.0.4",
"_resolved": "http://192.168.250.101:4873/inherits/-/inherits-2.0.3.tgz",
"_spec": "2.0.3",
"_where": "J:\\Github\\CURD-TS",
"browser": "./inherits_browser.js",
"bugs": {
@@ -36,7 +33,7 @@
},
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
"devDependencies": {
"tap": "^14.2.4"
"tap": "^7.1.0"
},
"files": [
"inherits.js",
@@ -61,7 +58,7 @@
"url": "git://github.com/isaacs/inherits.git"
},
"scripts": {
"test": "tap"
"test": "node test"
},
"version": "2.0.4"
"version": "2.0.3"
}