1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 12:50:04 +02:00

update dependencies

This commit is contained in:
s2
2018-10-09 09:51:34 +02:00
parent 4fcc873901
commit da4083f574
1112 changed files with 23205 additions and 21697 deletions

15
node_modules/ecc-jsbn/.npmignore generated vendored
View File

@@ -1,15 +0,0 @@
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
logs
results
npm-debug.log
node_modules

9
node_modules/ecc-jsbn/index.js generated vendored
View File

@@ -1,6 +1,7 @@
var crypto = require("crypto");
var BigInteger = require("jsbn").BigInteger;
var ECPointFp = require("./lib/ec.js").ECPointFp;
var Buffer = require("safer-buffer").Buffer;
exports.ECCurves = require("./lib/sec.js");
// zero prepad
@@ -40,17 +41,17 @@ exports.ECKey = function(curve, key, isPublic)
if(this.P)
{
// var pubhex = unstupid(this.P.getX().toBigInteger().toString(16),bytes*2)+unstupid(this.P.getY().toBigInteger().toString(16),bytes*2);
// this.PublicKey = new Buffer("04"+pubhex,"hex");
this.PublicKey = new Buffer(c.getCurve().encodeCompressedPointHex(this.P),"hex");
// this.PublicKey = Buffer.from("04"+pubhex,"hex");
this.PublicKey = Buffer.from(c.getCurve().encodeCompressedPointHex(this.P),"hex");
}
if(priv)
{
this.PrivateKey = new Buffer(unstupid(priv.toString(16),bytes*2),"hex");
this.PrivateKey = Buffer.from(unstupid(priv.toString(16),bytes*2),"hex");
this.deriveSharedSecret = function(key)
{
if(!key || !key.P) return false;
var S = key.P.multiply(priv);
return new Buffer(unstupid(S.getX().toBigInteger().toString(16),bytes*2),"hex");
return Buffer.from(unstupid(S.getX().toBigInteger().toString(16),bytes*2),"hex");
}
}
}

36
node_modules/ecc-jsbn/package.json generated vendored
View File

@@ -1,34 +1,27 @@
{
"_args": [
[
"ecc-jsbn@0.1.1",
"/home/s2/Documents/Code/gitlit"
]
],
"_development": true,
"_from": "ecc-jsbn@0.1.1",
"_id": "ecc-jsbn@0.1.1",
"_from": "ecc-jsbn@~0.1.1",
"_id": "ecc-jsbn@0.1.2",
"_inBundle": false,
"_integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
"_integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
"_location": "/ecc-jsbn",
"_optional": true,
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "ecc-jsbn@0.1.1",
"raw": "ecc-jsbn@~0.1.1",
"name": "ecc-jsbn",
"escapedName": "ecc-jsbn",
"rawSpec": "0.1.1",
"rawSpec": "~0.1.1",
"saveSpec": null,
"fetchSpec": "0.1.1"
"fetchSpec": "~0.1.1"
},
"_requiredBy": [
"/sshpk"
],
"_resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
"_spec": "0.1.1",
"_where": "/home/s2/Documents/Code/gitlit",
"_resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
"_shasum": "3a83a904e54353287874c564b7549386849a98c9",
"_spec": "ecc-jsbn@~0.1.1",
"_where": "E:\\projects\\p\\gitlit\\node_modules\\sshpk",
"author": {
"name": "Jeremie Miller",
"email": "jeremie@jabber.org",
@@ -37,9 +30,12 @@
"bugs": {
"url": "https://github.com/quartzjer/ecc-jsbn/issues"
},
"bundleDependencies": false,
"dependencies": {
"jsbn": "~0.1.0"
"jsbn": "~0.1.0",
"safer-buffer": "^2.1.0"
},
"deprecated": false,
"description": "ECC JS code based on JSBN",
"homepage": "https://github.com/quartzjer/ecc-jsbn",
"keywords": [
@@ -65,5 +61,5 @@
"type": "git",
"url": "git+https://github.com/quartzjer/ecc-jsbn.git"
},
"version": "0.1.1"
"version": "0.1.2"
}