chore: update dependencies
This commit is contained in:
parent
a479501aef
commit
d622f7a65c
@ -25,7 +25,7 @@ export class Storage {
|
|||||||
//
|
//
|
||||||
// http://man7.org/linux/man-pages/man3/crypt.3.html#NOTES
|
// http://man7.org/linux/man-pages/man3/crypt.3.html#NOTES
|
||||||
const ID_TO_ALGORITHM = {
|
const ID_TO_ALGORITHM = {
|
||||||
'5': 'sha256',
|
5: 'sha256',
|
||||||
}
|
}
|
||||||
|
|
||||||
export class AlteredRecordError extends Error {
|
export class AlteredRecordError extends Error {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"postversion": "npm publish --access public"
|
"postversion": "npm publish --access public"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"d3-time-format": "^2.2.3",
|
"d3-time-format": "^3.0.0",
|
||||||
"fs-extra": "^9.0.0"
|
"fs-extra": "^9.0.0"
|
||||||
},
|
},
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
@ -29,13 +29,13 @@
|
|||||||
"decorator-synchronized": "^0.5.0",
|
"decorator-synchronized": "^0.5.0",
|
||||||
"execa": "^4.0.2",
|
"execa": "^4.0.2",
|
||||||
"fs-extra": "^9.0.0",
|
"fs-extra": "^9.0.0",
|
||||||
"get-stream": "^5.1.0",
|
"get-stream": "^6.0.0",
|
||||||
"limit-concurrency-decorator": "^0.4.0",
|
"limit-concurrency-decorator": "^0.4.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"promise-toolbox": "^0.15.0",
|
"promise-toolbox": "^0.15.0",
|
||||||
"readable-stream": "^3.0.6",
|
"readable-stream": "^3.0.6",
|
||||||
"through2": "^3.0.0",
|
"through2": "^4.0.2",
|
||||||
"tmp": "^0.1.0",
|
"tmp": "^0.2.1",
|
||||||
"xo-remote-parser": "^0.6.0"
|
"xo-remote-parser": "^0.6.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -33,21 +33,21 @@
|
|||||||
"node": ">=8.10"
|
"node": ">=8.10"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^2.2.0",
|
"chalk": "^4.1.0",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
"fs-extra": "^9.0.0",
|
"fs-extra": "^9.0.0",
|
||||||
"fs-promise": "^2.0.3",
|
"fs-promise": "^2.0.3",
|
||||||
"get-stream": "^4.1.0",
|
"get-stream": "^6.0.0",
|
||||||
"http-request-plus": "^0.8.0",
|
"http-request-plus": "^0.8.0",
|
||||||
"human-format": "^0.10.0",
|
"human-format": "^0.11.0",
|
||||||
"l33teral": "^3.0.3",
|
"l33teral": "^3.0.3",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"nice-pipe": "0.0.0",
|
"nice-pipe": "0.0.0",
|
||||||
"pretty-ms": "^4.0.0",
|
"pretty-ms": "^7.0.0",
|
||||||
"progress-stream": "^2.0.0",
|
"progress-stream": "^2.0.0",
|
||||||
"pw": "^0.0.4",
|
"pw": "^0.0.4",
|
||||||
"strip-indent": "^2.0.0",
|
"strip-indent": "^3.0.0",
|
||||||
"xdg-basedir": "^3.0.0",
|
"xdg-basedir": "^4.0.0",
|
||||||
"xo-lib": "^0.9.0",
|
"xo-lib": "^0.9.0",
|
||||||
"xo-vmdk-to-vhd": "^1.3.0"
|
"xo-vmdk-to-vhd": "^1.3.0"
|
||||||
},
|
},
|
||||||
|
@ -16,7 +16,6 @@ Installation of the [npm package](https://npmjs.org/package/value-matcher):
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
import { createPredicate } from 'value-matcher'
|
import { createPredicate } from 'value-matcher'
|
||||||
|
|
||||||
;[
|
;[
|
||||||
{ user: 'sam', age: 65, active: false },
|
{ user: 'sam', age: 65, active: false },
|
||||||
{ user: 'barney', age: 36, active: true },
|
{ user: 'barney', age: 36, active: true },
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
```js
|
```js
|
||||||
import { createPredicate } from 'value-matcher'
|
import { createPredicate } from 'value-matcher'
|
||||||
|
|
||||||
;[
|
;[
|
||||||
{ user: 'sam', age: 65, active: false },
|
{ user: 'sam', age: 65, active: false },
|
||||||
{ user: 'barney', age: 36, active: true },
|
{ user: 'barney', age: 36, active: true },
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"execa": "^4.0.2",
|
"execa": "^4.0.2",
|
||||||
"fs-promise": "^2.0.0",
|
"fs-promise": "^2.0.0",
|
||||||
"get-stream": "^5.1.0",
|
"get-stream": "^6.0.0",
|
||||||
"index-modules": "^0.3.0",
|
"index-modules": "^0.3.0",
|
||||||
"readable-stream": "^3.0.6",
|
"readable-stream": "^3.0.6",
|
||||||
"rimraf": "^3.0.0",
|
"rimraf": "^3.0.0",
|
||||||
|
@ -37,9 +37,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"archy": "^1.0.0",
|
"archy": "^1.0.0",
|
||||||
"chalk": "^3.0.0",
|
"chalk": "^4.1.0",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
"human-format": "^0.10.0",
|
"human-format": "^0.11.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"pw": "^0.0.4",
|
"pw": "^0.0.4",
|
||||||
"xen-api": "^0.29.0"
|
"xen-api": "^0.29.0"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"getopts": "^2.2.3",
|
"getopts": "^2.2.3",
|
||||||
"golike-defer": "^0.4.1",
|
"golike-defer": "^0.4.1",
|
||||||
"human-format": "^0.10.1",
|
"human-format": "^0.11.0",
|
||||||
"process-top": "^1.0.0",
|
"process-top": "^1.0.0",
|
||||||
"progress-stream": "^2.0.0",
|
"progress-stream": "^2.0.0",
|
||||||
"promise-toolbox": "^0.13.0",
|
"promise-toolbox": "^0.13.0",
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"event-to-promise": "^0.8.0",
|
"event-to-promise": "^0.8.0",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
"http-request-plus": "^0.8.0",
|
"http-request-plus": "^0.8.0",
|
||||||
"jest-diff": "^24.0.0",
|
"jest-diff": "^26.4.2",
|
||||||
"json-rpc-protocol": "^0.13.1",
|
"json-rpc-protocol": "^0.13.1",
|
||||||
"kindof": "^2.0.0",
|
"kindof": "^2.0.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
|
@ -34,17 +34,17 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bluebird": "^3.5.1",
|
"bluebird": "^3.5.1",
|
||||||
"chalk": "^3.0.0",
|
"chalk": "^4.1.0",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
"fs-promise": "^2.0.3",
|
"fs-promise": "^2.0.3",
|
||||||
"http-request-plus": "^0.9.1",
|
"http-request-plus": "^0.9.1",
|
||||||
"human-format": "^0.10.0",
|
"human-format": "^0.11.0",
|
||||||
"l33teral": "^3.0.3",
|
"l33teral": "^3.0.3",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"micromatch": "^4.0.2",
|
"micromatch": "^4.0.2",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^1.0.4",
|
||||||
"nice-pipe": "0.0.0",
|
"nice-pipe": "0.0.0",
|
||||||
"pretty-ms": "^5.0.0",
|
"pretty-ms": "^7.0.0",
|
||||||
"progress-stream": "^2.0.0",
|
"progress-stream": "^2.0.0",
|
||||||
"promise-toolbox": "^0.15.0",
|
"promise-toolbox": "^0.15.0",
|
||||||
"pump": "^3.0.0",
|
"pump": "^3.0.0",
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
"end-of-stream": "^1.1.0",
|
"end-of-stream": "^1.1.0",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
"highland": "^2.10.1",
|
"highland": "^2.10.1",
|
||||||
"through2": "^3.0.0",
|
"through2": "^4.0.2",
|
||||||
"xo-lib": "^0.9.0"
|
"xo-lib": "^0.9.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@xen-orchestra/defined": "^0.0.0",
|
"@xen-orchestra/defined": "^0.0.0",
|
||||||
"@xen-orchestra/log": "^0.2.0",
|
"@xen-orchestra/log": "^0.2.0",
|
||||||
"human-format": "^0.10.0",
|
"human-format": "^0.11.0",
|
||||||
"lodash": "^4.13.1",
|
"lodash": "^4.13.1",
|
||||||
"moment-timezone": "^0.5.13"
|
"moment-timezone": "^0.5.13"
|
||||||
},
|
},
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@xen-orchestra/cron": "^1.0.6",
|
"@xen-orchestra/cron": "^1.0.6",
|
||||||
"d3-time-format": "^2.1.1",
|
"d3-time-format": "^3.0.0",
|
||||||
"json5": "^2.0.1",
|
"json5": "^2.0.1",
|
||||||
"lodash": "^4.17.4"
|
"lodash": "^4.17.4"
|
||||||
},
|
},
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"@babel/preset-env": "^7.1.6",
|
"@babel/preset-env": "^7.1.6",
|
||||||
"@iarna/toml": "^2.2.1",
|
"@iarna/toml": "^2.2.1",
|
||||||
"@vates/parse-duration": "^0.1.0",
|
"@vates/parse-duration": "^0.1.0",
|
||||||
"app-conf": "^0.7.0",
|
"app-conf": "^0.8.0",
|
||||||
"babel-plugin-lodash": "^3.2.11",
|
"babel-plugin-lodash": "^3.2.11",
|
||||||
"golike-defer": "^0.4.1",
|
"golike-defer": "^0.4.1",
|
||||||
"jest": "^24.8.0",
|
"jest": "^24.8.0",
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
"csv-stringify": "^5.5.0",
|
"csv-stringify": "^5.5.0",
|
||||||
"handlebars": "^4.0.6",
|
"handlebars": "^4.0.6",
|
||||||
"html-minifier": "^4.0.0",
|
"html-minifier": "^4.0.0",
|
||||||
"human-format": "^0.10.0",
|
"human-format": "^0.11.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"promise-toolbox": "^0.15.0"
|
"promise-toolbox": "^0.15.0"
|
||||||
},
|
},
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
"@vates/decorate-with": "^0.0.1",
|
"@vates/decorate-with": "^0.0.1",
|
||||||
"@vates/parse-duration": "0.1.0",
|
"@vates/parse-duration": "0.1.0",
|
||||||
"ajv": "^6.1.1",
|
"ajv": "^6.1.1",
|
||||||
"app-conf": "^0.7.0",
|
"app-conf": "^0.8.0",
|
||||||
"archiver": "^3.0.0",
|
"archiver": "^5.0.0",
|
||||||
"async-iterator-to-stream": "^1.0.1",
|
"async-iterator-to-stream": "^1.0.1",
|
||||||
"base64url": "^3.0.0",
|
"base64url": "^3.0.0",
|
||||||
"bind-property-descriptor": "^1.0.0",
|
"bind-property-descriptor": "^1.0.0",
|
||||||
@ -58,7 +58,7 @@
|
|||||||
"connect-flash": "^0.1.1",
|
"connect-flash": "^0.1.1",
|
||||||
"cookie": "^0.4.0",
|
"cookie": "^0.4.0",
|
||||||
"cookie-parser": "^1.4.3",
|
"cookie-parser": "^1.4.3",
|
||||||
"d3-time-format": "^2.1.1",
|
"d3-time-format": "^3.0.0",
|
||||||
"debug": "^4.0.1",
|
"debug": "^4.0.1",
|
||||||
"decorator-synchronized": "^0.5.0",
|
"decorator-synchronized": "^0.5.0",
|
||||||
"deptree": "^1.0.0",
|
"deptree": "^1.0.0",
|
||||||
@ -70,7 +70,7 @@
|
|||||||
"fatfs": "^0.10.4",
|
"fatfs": "^0.10.4",
|
||||||
"from2": "^2.3.0",
|
"from2": "^2.3.0",
|
||||||
"fs-extra": "^9.0.0",
|
"fs-extra": "^9.0.0",
|
||||||
"get-stream": "^5.1.0",
|
"get-stream": "^6.0.0",
|
||||||
"golike-defer": "^0.4.1",
|
"golike-defer": "^0.4.1",
|
||||||
"hashy": "^0.8.0",
|
"hashy": "^0.8.0",
|
||||||
"helmet": "^3.9.0",
|
"helmet": "^3.9.0",
|
||||||
@ -78,10 +78,10 @@
|
|||||||
"http-proxy": "^1.16.2",
|
"http-proxy": "^1.16.2",
|
||||||
"http-request-plus": "^0.8.0",
|
"http-request-plus": "^0.8.0",
|
||||||
"http-server-plus": "^0.11.0",
|
"http-server-plus": "^0.11.0",
|
||||||
"human-format": "^0.10.0",
|
"human-format": "^0.11.0",
|
||||||
"is-redirect": "^1.0.0",
|
"is-redirect": "^1.0.0",
|
||||||
"iterable-backoff": "^0.1.0",
|
"iterable-backoff": "^0.1.0",
|
||||||
"jest-worker": "^24.0.0",
|
"jest-worker": "^26.3.0",
|
||||||
"js-yaml": "^3.10.0",
|
"js-yaml": "^3.10.0",
|
||||||
"json-rpc-peer": "^0.16.0",
|
"json-rpc-peer": "^0.16.0",
|
||||||
"json5": "^2.0.1",
|
"json5": "^2.0.1",
|
||||||
@ -96,24 +96,24 @@
|
|||||||
"moment-timezone": "^0.5.14",
|
"moment-timezone": "^0.5.14",
|
||||||
"ms": "^2.1.1",
|
"ms": "^2.1.1",
|
||||||
"multikey-hash": "^1.0.4",
|
"multikey-hash": "^1.0.4",
|
||||||
"ndjson": "^1.5.0",
|
"ndjson": "^2.0.0",
|
||||||
"openpgp": "^4.10.4",
|
"openpgp": "^4.10.4",
|
||||||
"otplib": "^11.0.0",
|
"otplib": "^11.0.0",
|
||||||
"parse-pairs": "^1.0.0",
|
"parse-pairs": "^1.0.0",
|
||||||
"partial-stream": "0.0.0",
|
"partial-stream": "0.0.0",
|
||||||
"passport": "^0.4.0",
|
"passport": "^0.4.0",
|
||||||
"passport-local": "^1.0.0",
|
"passport-local": "^1.0.0",
|
||||||
"pretty-format": "^24.0.0",
|
"pretty-format": "^26.4.2",
|
||||||
"promise-toolbox": "^0.15.0",
|
"promise-toolbox": "^0.15.0",
|
||||||
"proxy-agent": "^3.0.0",
|
"proxy-agent": "^3.0.0",
|
||||||
"pug": "^2.0.0-rc.4",
|
"pug": "^3.0.0",
|
||||||
"pump": "^3.0.0",
|
"pump": "^3.0.0",
|
||||||
"pumpify": "^2.0.0",
|
"pumpify": "^2.0.0",
|
||||||
"pw": "^0.0.4",
|
"pw": "^0.0.4",
|
||||||
"readable-stream": "^3.2.0",
|
"readable-stream": "^3.2.0",
|
||||||
"redis": "^2.8.0",
|
"redis": "^3.0.2",
|
||||||
"schema-inspector": "^1.6.8",
|
"schema-inspector": "^1.6.8",
|
||||||
"semver": "^6.0.0",
|
"semver": "^7.3.2",
|
||||||
"serve-static": "^1.13.1",
|
"serve-static": "^1.13.1",
|
||||||
"set-cookie-parser": "^2.3.5",
|
"set-cookie-parser": "^2.3.5",
|
||||||
"source-map-support": "^0.5.16",
|
"source-map-support": "^0.5.16",
|
||||||
@ -123,10 +123,10 @@
|
|||||||
"stoppable": "^1.0.5",
|
"stoppable": "^1.0.5",
|
||||||
"strict-timeout": "^1.0.0",
|
"strict-timeout": "^1.0.0",
|
||||||
"struct-fu": "^1.2.0",
|
"struct-fu": "^1.2.0",
|
||||||
"subleveldown": "^4.1.4",
|
"subleveldown": "^5.0.1",
|
||||||
"tar-stream": "^2.0.1",
|
"tar-stream": "^2.0.1",
|
||||||
"through2": "^3.0.0",
|
"through2": "^4.0.2",
|
||||||
"tmp": "^0.1.0",
|
"tmp": "^0.2.1",
|
||||||
"unzipper": "^0.10.5",
|
"unzipper": "^0.10.5",
|
||||||
"uuid": "^3.0.1",
|
"uuid": "^3.0.1",
|
||||||
"value-matcher": "^0.2.0",
|
"value-matcher": "^0.2.0",
|
||||||
|
@ -119,7 +119,7 @@ async function printLogs(db, args) {
|
|||||||
let stream = getLogs(db, args)
|
let stream = getLogs(db, args)
|
||||||
|
|
||||||
if (args.json) {
|
if (args.json) {
|
||||||
stream = highland(stream.pipe(ndjson.serialize())).each(value => {
|
stream = highland(stream.pipe(ndjson.stringify())).each(value => {
|
||||||
process.stdout.write(value)
|
process.stdout.write(value)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
"event-to-promise": "^0.8.0",
|
"event-to-promise": "^0.8.0",
|
||||||
"execa": "^4.0.2",
|
"execa": "^4.0.2",
|
||||||
"fs-extra": "^9.0.0",
|
"fs-extra": "^9.0.0",
|
||||||
"get-stream": "^5.1.0",
|
"get-stream": "^6.0.0",
|
||||||
"index-modules": "^0.3.0",
|
"index-modules": "^0.3.0",
|
||||||
"rimraf": "^3.0.0",
|
"rimraf": "^3.0.0",
|
||||||
"tmp": "^0.2.1"
|
"tmp": "^0.2.1"
|
||||||
|
@ -24,21 +24,21 @@ const MEMORY_UNIT_TO_FACTOR = {
|
|||||||
}
|
}
|
||||||
const RESOURCE_TYPE_TO_HANDLER = {
|
const RESOURCE_TYPE_TO_HANDLER = {
|
||||||
// CPU.
|
// CPU.
|
||||||
'3': (data, { VirtualQuantity: nCpus }) => {
|
3: (data, { VirtualQuantity: nCpus }) => {
|
||||||
data.nCpus = +nCpus
|
data.nCpus = +nCpus
|
||||||
},
|
},
|
||||||
// RAM.
|
// RAM.
|
||||||
'4': (data, { AllocationUnits: unit, VirtualQuantity: quantity }) => {
|
4: (data, { AllocationUnits: unit, VirtualQuantity: quantity }) => {
|
||||||
data.memory = quantity * allocationUnitsToFactor(unit)
|
data.memory = quantity * allocationUnitsToFactor(unit)
|
||||||
},
|
},
|
||||||
// Network.
|
// Network.
|
||||||
'10': ({ networks }, { AutomaticAllocation: enabled, Connection: name }) => {
|
10: ({ networks }, { AutomaticAllocation: enabled, Connection: name }) => {
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
networks.push(name)
|
networks.push(name)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Disk.
|
// Disk.
|
||||||
'17': (
|
17: (
|
||||||
{ disks },
|
{ disks },
|
||||||
{
|
{
|
||||||
Address: address,
|
Address: address,
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
"gulp-sourcemaps": "^2.6.2",
|
"gulp-sourcemaps": "^2.6.2",
|
||||||
"gulp-uglify": "^3.0.0",
|
"gulp-uglify": "^3.0.0",
|
||||||
"gulp-watch": "^5.0.0",
|
"gulp-watch": "^5.0.0",
|
||||||
"human-format": "^0.10.0",
|
"human-format": "^0.11.0",
|
||||||
"immutable": "^4.0.0-rc.9",
|
"immutable": "^4.0.0-rc.9",
|
||||||
"index-modules": "^0.3.0",
|
"index-modules": "^0.3.0",
|
||||||
"is-ip": "^3.1.0",
|
"is-ip": "^3.1.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user