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-10 15:11:12 +02:00
parent da4083f574
commit 5c55c54b71
90877 changed files with 339776 additions and 33677 deletions

View File

@@ -1,5 +1,6 @@
var Writable = require('readable-stream').Writable
var inherits = require('inherits')
var bufferFrom = require('buffer-from')
if (typeof Uint8Array === 'undefined') {
var U8 = require('typedarray').Uint8Array
@@ -87,9 +88,9 @@ function stringConcat (parts) {
} else if (Buffer.isBuffer(p)) {
strings.push(p)
} else if (isBufferish(p)) {
strings.push(new Buffer(p))
strings.push(bufferFrom(p))
} else {
strings.push(new Buffer(String(p)))
strings.push(bufferFrom(String(p)))
}
}
if (Buffer.isBuffer(parts[0])) {
@@ -108,9 +109,9 @@ function bufferConcat (parts) {
if (Buffer.isBuffer(p)) {
bufs.push(p)
} else if (isBufferish(p)) {
bufs.push(new Buffer(p))
bufs.push(bufferFrom(p))
} else {
bufs.push(new Buffer(String(p)))
bufs.push(bufferFrom(String(p)))
}
}
return Buffer.concat(bufs)
@@ -128,7 +129,7 @@ function u8Concat (parts) {
var len = 0
for (var i = 0; i < parts.length; i++) {
if (typeof parts[i] === 'string') {
parts[i] = new Buffer(parts[i])
parts[i] = bufferFrom(parts[i])
}
len += parts[i].length
}

View File

@@ -1,33 +1,27 @@
{
"_args": [
[
"isarray@1.0.0",
"E:\\projects\\p\\gitlit\\app"
]
],
"_development": true,
"_from": "isarray@1.0.0",
"_from": "isarray@~1.0.0",
"_id": "isarray@1.0.0",
"_inBundle": false,
"_integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
"_location": "/concat-stream/isarray",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "isarray@1.0.0",
"raw": "isarray@~1.0.0",
"name": "isarray",
"escapedName": "isarray",
"rawSpec": "1.0.0",
"rawSpec": "~1.0.0",
"saveSpec": null,
"fetchSpec": "1.0.0"
"fetchSpec": "~1.0.0"
},
"_requiredBy": [
"/concat-stream/readable-stream"
],
"_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"_spec": "1.0.0",
"_where": "E:\\projects\\p\\gitlit\\app",
"_shasum": "bb935d48582cba168c06834957a54a3e07124f11",
"_spec": "isarray@~1.0.0",
"_where": "E:\\projects\\p\\gitlit\\app\\node_modules\\concat-stream\\node_modules\\readable-stream",
"author": {
"name": "Julian Gruber",
"email": "mail@juliangruber.com",
@@ -36,7 +30,9 @@
"bugs": {
"url": "https://github.com/juliangruber/isarray/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Array#isArray for older browsers",
"devDependencies": {
"tape": "~2.13.4"

View File

@@ -1,33 +1,27 @@
{
"_args": [
[
"readable-stream@2.3.6",
"E:\\projects\\p\\gitlit\\app"
]
],
"_development": true,
"_from": "readable-stream@2.3.6",
"_from": "readable-stream@^2.2.2",
"_id": "readable-stream@2.3.6",
"_inBundle": false,
"_integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"_location": "/concat-stream/readable-stream",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "readable-stream@2.3.6",
"raw": "readable-stream@^2.2.2",
"name": "readable-stream",
"escapedName": "readable-stream",
"rawSpec": "2.3.6",
"rawSpec": "^2.2.2",
"saveSpec": null,
"fetchSpec": "2.3.6"
"fetchSpec": "^2.2.2"
},
"_requiredBy": [
"/concat-stream"
],
"_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"_spec": "2.3.6",
"_where": "E:\\projects\\p\\gitlit\\app",
"_resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"_shasum": "b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf",
"_spec": "readable-stream@^2.2.2",
"_where": "E:\\projects\\p\\gitlit\\app\\node_modules\\concat-stream",
"browser": {
"util": false,
"./readable.js": "./readable-browser.js",
@@ -38,6 +32,7 @@
"bugs": {
"url": "https://github.com/nodejs/readable-stream/issues"
},
"bundleDependencies": false,
"dependencies": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
@@ -47,6 +42,7 @@
"string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
},
"deprecated": false,
"description": "Streams3, a user-land copy of the stream library from Node.js",
"devDependencies": {
"assert": "^1.4.0",

View File

@@ -1,39 +1,35 @@
{
"_args": [
[
"string_decoder@1.1.1",
"E:\\projects\\p\\gitlit\\app"
]
],
"_development": true,
"_from": "string_decoder@1.1.1",
"_from": "string_decoder@~1.1.1",
"_id": "string_decoder@1.1.1",
"_inBundle": false,
"_integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
"_location": "/concat-stream/string_decoder",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "string_decoder@1.1.1",
"raw": "string_decoder@~1.1.1",
"name": "string_decoder",
"escapedName": "string_decoder",
"rawSpec": "1.1.1",
"rawSpec": "~1.1.1",
"saveSpec": null,
"fetchSpec": "1.1.1"
"fetchSpec": "~1.1.1"
},
"_requiredBy": [
"/concat-stream/readable-stream"
],
"_resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
"_spec": "1.1.1",
"_where": "E:\\projects\\p\\gitlit\\app",
"_shasum": "9cf1611ba62685d7030ae9e4ba34149c3af03fc8",
"_spec": "string_decoder@~1.1.1",
"_where": "E:\\projects\\p\\gitlit\\app\\node_modules\\concat-stream\\node_modules\\readable-stream",
"bugs": {
"url": "https://github.com/nodejs/string_decoder/issues"
},
"bundleDependencies": false,
"dependencies": {
"safe-buffer": "~5.1.0"
},
"deprecated": false,
"description": "The string_decoder module from Node core",
"devDependencies": {
"babel-polyfill": "^6.23.0",

View File

@@ -1,15 +1,8 @@
{
"_args": [
[
"concat-stream@1.6.0",
"E:\\projects\\p\\gitlit\\app"
]
],
"_development": true,
"_from": "concat-stream@1.6.0",
"_id": "concat-stream@1.6.0",
"_from": "concat-stream@1.6.2",
"_id": "concat-stream@1.6.2",
"_inBundle": false,
"_integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=",
"_integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
"_location": "/concat-stream",
"_phantomChildren": {
"core-util-is": "1.0.2",
@@ -21,19 +14,20 @@
"_requested": {
"type": "version",
"registry": true,
"raw": "concat-stream@1.6.0",
"raw": "concat-stream@1.6.2",
"name": "concat-stream",
"escapedName": "concat-stream",
"rawSpec": "1.6.0",
"rawSpec": "1.6.2",
"saveSpec": null,
"fetchSpec": "1.6.0"
"fetchSpec": "1.6.2"
},
"_requiredBy": [
"/extract-zip"
],
"_resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz",
"_spec": "1.6.0",
"_where": "E:\\projects\\p\\gitlit\\app",
"_resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
"_shasum": "904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34",
"_spec": "concat-stream@1.6.2",
"_where": "E:\\projects\\p\\gitlit\\app\\node_modules\\extract-zip",
"author": {
"name": "Max Ogden",
"email": "max@maxogden.com"
@@ -41,11 +35,14 @@
"bugs": {
"url": "http://github.com/maxogden/concat-stream/issues"
},
"bundleDependencies": false,
"dependencies": {
"buffer-from": "^1.0.0",
"inherits": "^2.0.3",
"readable-stream": "^2.2.2",
"typedarray": "^0.0.6"
},
"deprecated": false,
"description": "writable stream that concatenates strings or binary data and calls a callback with the result",
"devDependencies": {
"tape": "^4.6.3"
@@ -89,5 +86,5 @@
"android-browser/4.2..latest"
]
},
"version": "1.6.0"
"version": "1.6.2"
}

View File

@@ -62,7 +62,7 @@ var a = new Uint8Array(3)
a[0] = 97; a[1] = 98; a[2] = 99
write.write(a)
write.write('!')
write.end(Buffer('!!1'))
write.end(Buffer.from('!!1'))
```
See `test/` for more examples