chore: update dev deps
This commit is contained in:
parent
a950a1fe24
commit
15630aee5e
@ -12,7 +12,7 @@
|
|||||||
"filenamify": "^4.1.0",
|
"filenamify": "^4.1.0",
|
||||||
"getopts": "^2.2.5",
|
"getopts": "^2.2.5",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"promise-toolbox": "^0.19.2"
|
"promise-toolbox": "^0.20.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=7.10.1"
|
"node": ">=7.10.1"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
"@xen-orchestra/fs": "^0.18.0",
|
"@xen-orchestra/fs": "^0.18.0",
|
||||||
"@xen-orchestra/log": "^0.3.0",
|
"@xen-orchestra/log": "^0.3.0",
|
||||||
"@xen-orchestra/template": "^0.1.0",
|
"@xen-orchestra/template": "^0.1.0",
|
||||||
"compare-versions": "^3.6.0",
|
"compare-versions": "^4.0.1",
|
||||||
"d3-time-format": "^3.0.0",
|
"d3-time-format": "^3.0.0",
|
||||||
"end-of-stream": "^1.4.4",
|
"end-of-stream": "^1.4.4",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
"node": ">=14"
|
"node": ">=14"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@marsaud/smb2": "^0.17.2",
|
"@marsaud/smb2": "^0.18.0",
|
||||||
"@sindresorhus/df": "^3.1.1",
|
"@sindresorhus/df": "^3.1.1",
|
||||||
"@sullux/aws-sdk": "^1.0.5",
|
"@sullux/aws-sdk": "^1.0.5",
|
||||||
"@vates/coalesce-calls": "^0.1.0",
|
"@vates/coalesce-calls": "^0.1.0",
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"get-stream": "^6.0.0",
|
"get-stream": "^6.0.0",
|
||||||
"limit-concurrency-decorator": "^0.5.0",
|
"limit-concurrency-decorator": "^0.5.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"proper-lockfile": "^4.1.2",
|
"proper-lockfile": "^4.1.2",
|
||||||
"readable-stream": "^3.0.6",
|
"readable-stream": "^3.0.6",
|
||||||
"through2": "^4.0.2",
|
"through2": "^4.0.2",
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"promise-toolbox": "^0.19.2"
|
"promise-toolbox": "^0.20.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postversion": "npm publish"
|
"postversion": "npm publish"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
"xo-proxy-cli": "dist/index.js"
|
"xo-proxy-cli": "dist/index.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.10"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iarna/toml": "^2.2.0",
|
"@iarna/toml": "^2.2.0",
|
||||||
@ -33,12 +33,12 @@
|
|||||||
"content-type": "^1.0.4",
|
"content-type": "^1.0.4",
|
||||||
"cson-parser": "^4.0.7",
|
"cson-parser": "^4.0.7",
|
||||||
"getopts": "^2.2.3",
|
"getopts": "^2.2.3",
|
||||||
"http-request-plus": "^0.12",
|
"http-request-plus": "^0.13.0",
|
||||||
"json-rpc-protocol": "^0.13.1",
|
"json-rpc-protocol": "^0.13.1",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"pump": "^3.0.0",
|
"pump": "^3.0.0",
|
||||||
"pumpify": "^2.0.1",
|
"pumpify": "^2.0.1",
|
||||||
"split2": "^3.1.1"
|
"split2": "^4.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.0.0",
|
"@babel/cli": "^7.0.0",
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
"lodash": "^4.17.10",
|
"lodash": "^4.17.10",
|
||||||
"node-zone": "^0.4.0",
|
"node-zone": "^0.4.0",
|
||||||
"parse-pairs": "^1.0.0",
|
"parse-pairs": "^1.0.0",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"source-map-support": "^0.5.16",
|
"source-map-support": "^0.5.16",
|
||||||
"stoppable": "^1.0.6",
|
"stoppable": "^1.0.6",
|
||||||
"xdg-basedir": "^4.0.0",
|
"xdg-basedir": "^4.0.0",
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"get-stream": "^6.0.0",
|
"get-stream": "^6.0.0",
|
||||||
"http-request-plus": "^0.12",
|
"http-request-plus": "^0.13.0",
|
||||||
"human-format": "^0.11.0",
|
"human-format": "^0.11.0",
|
||||||
"l33teral": "^3.0.3",
|
"l33teral": "^3.0.3",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
"d3-time-format": "^3.0.0",
|
"d3-time-format": "^3.0.0",
|
||||||
"golike-defer": "^0.5.1",
|
"golike-defer": "^0.5.1",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"promise-toolbox": "^0.19.2"
|
"promise-toolbox": "^0.20.0"
|
||||||
},
|
},
|
||||||
"private": false,
|
"private": false,
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"@babel/core": "^7.0.0",
|
"@babel/core": "^7.0.0",
|
||||||
"@babel/eslint-parser": "^7.13.8",
|
"@babel/eslint-parser": "^7.13.8",
|
||||||
"@babel/register": "^7.0.0",
|
"@babel/register": "^7.0.0",
|
||||||
"babel-jest": "^26.0.1",
|
"babel-jest": "^27.3.1",
|
||||||
"benchmark": "^2.1.4",
|
"benchmark": "^2.1.4",
|
||||||
"eslint": "^7.6.0",
|
"eslint": "^7.6.0",
|
||||||
"eslint-config-prettier": "^8.1.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
@ -18,11 +18,11 @@
|
|||||||
"globby": "^11.0.1",
|
"globby": "^11.0.1",
|
||||||
"handlebars": "^4.7.6",
|
"handlebars": "^4.7.6",
|
||||||
"husky": "^4.2.5",
|
"husky": "^4.2.5",
|
||||||
"jest": "^26.0.1",
|
"jest": "^27.3.1",
|
||||||
"lint-staged": "^11.1.2",
|
"lint-staged": "^11.1.2",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"sorted-object": "^2.0.1",
|
"sorted-object": "^2.0.1",
|
||||||
"vuepress": "^1.4.1"
|
"vuepress": "^1.4.1"
|
||||||
},
|
},
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"execa": "^5.0.0",
|
"execa": "^5.0.0",
|
||||||
"index-modules": "^0.4.3",
|
"index-modules": "^0.4.3",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"rimraf": "^3.0.0",
|
"rimraf": "^3.0.0",
|
||||||
"tmp": "^0.2.1"
|
"tmp": "^0.2.1"
|
||||||
},
|
},
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"limit-concurrency-decorator": "^0.5.0",
|
"limit-concurrency-decorator": "^0.5.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"struct-fu": "^1.2.0",
|
"struct-fu": "^1.2.0",
|
||||||
"uuid": "^8.3.1"
|
"uuid": "^8.3.1"
|
||||||
},
|
},
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
"bind-property-descriptor": "^1.0.0",
|
"bind-property-descriptor": "^1.0.0",
|
||||||
"blocked": "^1.2.1",
|
"blocked": "^1.2.1",
|
||||||
"debug": "^4.0.1",
|
"debug": "^4.0.1",
|
||||||
"http-request-plus": "^0.12",
|
"http-request-plus": "^0.13.0",
|
||||||
"jest-diff": "^26.4.2",
|
"jest-diff": "^27.3.1",
|
||||||
"json-rpc-protocol": "^0.13.1",
|
"json-rpc-protocol": "^0.13.1",
|
||||||
"kindof": "^2.0.0",
|
"kindof": "^2.0.0",
|
||||||
"limit-concurrency-decorator": "^0.5.0",
|
"limit-concurrency-decorator": "^0.5.0",
|
||||||
@ -43,7 +43,7 @@
|
|||||||
"make-error": "^1.3.0",
|
"make-error": "^1.3.0",
|
||||||
"minimist": "^1.2.0",
|
"minimist": "^1.2.0",
|
||||||
"ms": "^2.1.1",
|
"ms": "^2.1.1",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"proxy-agent": "^5.0.0",
|
"proxy-agent": "^5.0.0",
|
||||||
"pw": "0.0.4",
|
"pw": "0.0.4",
|
||||||
"xmlrpc": "^1.3.2",
|
"xmlrpc": "^1.3.2",
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
import blocked from 'blocked'
|
import blocked from 'blocked'
|
||||||
import createDebug from 'debug'
|
import createDebug from 'debug'
|
||||||
import diff from 'jest-diff'
|
|
||||||
import minimist from 'minimist'
|
import minimist from 'minimist'
|
||||||
import pw from 'pw'
|
import pw from 'pw'
|
||||||
import { asCallback, fromCallback, fromEvent } from 'promise-toolbox'
|
import { asCallback, fromCallback, fromEvent } from 'promise-toolbox'
|
||||||
|
import { diff } from 'jest-diff'
|
||||||
import { filter, find } from 'lodash'
|
import { filter, find } from 'lodash'
|
||||||
import { getBoundPropertyDescriptor } from 'bind-property-descriptor'
|
import { getBoundPropertyDescriptor } from 'bind-property-descriptor'
|
||||||
import { start as createRepl } from 'repl'
|
import { start as createRepl } from 'repl'
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"http-request-plus": "^0.12",
|
"http-request-plus": "^0.13.0",
|
||||||
"human-format": "^0.11.0",
|
"human-format": "^0.11.0",
|
||||||
"l33teral": "^3.0.3",
|
"l33teral": "^3.0.3",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
@ -42,7 +42,7 @@
|
|||||||
"mkdirp": "^1.0.4",
|
"mkdirp": "^1.0.4",
|
||||||
"pretty-ms": "^7.0.0",
|
"pretty-ms": "^7.0.0",
|
||||||
"progress-stream": "^2.0.0",
|
"progress-stream": "^2.0.0",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"pump": "^3.0.0",
|
"pump": "^3.0.0",
|
||||||
"pw": "^0.0.4",
|
"pw": "^0.0.4",
|
||||||
"strip-indent": "^3.0.0",
|
"strip-indent": "^3.0.0",
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"@babel/core": "^7.0.0",
|
"@babel/core": "^7.0.0",
|
||||||
"@babel/preset-env": "^7.0.0",
|
"@babel/preset-env": "^7.0.0",
|
||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"rimraf": "^3.0.0"
|
"rimraf": "^3.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"xo-lib": "^0.10.1"
|
"xo-lib": "^0.10.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^14.0.9",
|
"@types/node": "^16.11.6",
|
||||||
"@types/through2": "^2.0.31",
|
"@types/through2": "^2.0.31",
|
||||||
"typescript": "^3.1.6"
|
"typescript": "^3.1.6"
|
||||||
},
|
},
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
"@xen-orchestra/cron": "^1.0.6",
|
"@xen-orchestra/cron": "^1.0.6",
|
||||||
"@xen-orchestra/log": "^0.3.0",
|
"@xen-orchestra/log": "^0.3.0",
|
||||||
"async-iterator-to-stream": "^1.1.0",
|
"async-iterator-to-stream": "^1.1.0",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"readable-stream": "^3.5.0",
|
"readable-stream": "^3.5.0",
|
||||||
"xo-common": "^0.7.0"
|
"xo-common": "^0.7.0"
|
||||||
},
|
},
|
||||||
|
@ -28,15 +28,15 @@
|
|||||||
"xo-server-auth-ldap": "dist/test-cli.js"
|
"xo-server-auth-ldap": "dist/test-cli.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@xen-orchestra/log": "^0.3.0",
|
"@xen-orchestra/log": "^0.3.0",
|
||||||
"ensure-array": "^1.0.0",
|
"ensure-array": "^1.0.0",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
"inquirer": "^8.0.0",
|
"inquirer": "^8.0.0",
|
||||||
"ldapts": "^2.2.1",
|
"ldapts": "^3.1.1",
|
||||||
"promise-toolbox": "^0.19.2"
|
"promise-toolbox": "^0.20.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.0.0",
|
"@babel/cli": "^7.0.0",
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.4.4",
|
"@babel/cli": "^7.4.4",
|
||||||
@ -29,13 +29,13 @@
|
|||||||
"cross-env": "^7.0.2"
|
"cross-env": "^7.0.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@vates/coalesce-calls": "^0.1.0",
|
||||||
"@xen-orchestra/log": "^0.3.0",
|
"@xen-orchestra/log": "^0.3.0",
|
||||||
"@xen-orchestra/openflow": "^0.1.1",
|
"@xen-orchestra/openflow": "^0.1.1",
|
||||||
"@vates/coalesce-calls": "^0.1.0",
|
"ipaddr.js": "^2.0.1",
|
||||||
"ipaddr.js": "^1.9.1",
|
|
||||||
"lodash": "^4.17.11",
|
"lodash": "^4.17.11",
|
||||||
"node-openssl-cert": "^0.0.117",
|
"node-openssl-cert": "^0.1.34",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"uuid": "^8.3.1"
|
"uuid": "^8.3.1"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
"app-conf": "^0.9.0",
|
"app-conf": "^0.9.0",
|
||||||
"babel-plugin-lodash": "^3.2.11",
|
"babel-plugin-lodash": "^3.2.11",
|
||||||
"golike-defer": "^0.5.1",
|
"golike-defer": "^0.5.1",
|
||||||
"jest": "^26.6.3",
|
"jest": "^27.3.1",
|
||||||
"lodash": "^4.17.11",
|
"lodash": "^4.17.11",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"xo-collection": "^0.5.0",
|
"xo-collection": "^0.5.0",
|
||||||
"xo-common": "^0.7.0",
|
"xo-common": "^0.7.0",
|
||||||
"xo-lib": "^0.10.1"
|
"xo-lib": "^0.10.1"
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nodemailer": "^6.1.0",
|
"nodemailer": "^6.1.0",
|
||||||
"nodemailer-markdown": "^1.0.1",
|
"nodemailer-markdown": "^1.0.1",
|
||||||
"promise-toolbox": "^0.19.2"
|
"promise-toolbox": "^0.20.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.0.0",
|
"@babel/cli": "^7.0.0",
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"slack-node": "^0.1.8"
|
"slack-node": "^0.1.8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-xmpp-client": "^3.0.0",
|
"node-xmpp-client": "^3.0.0",
|
||||||
"promise-toolbox": "^0.19.2"
|
"promise-toolbox": "^0.20.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.0.0",
|
"@babel/cli": "^7.0.0",
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"html-minifier": "^4.0.0",
|
"html-minifier": "^4.0.0",
|
||||||
"human-format": "^0.11.0",
|
"human-format": "^0.11.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"promise-toolbox": "^0.19.2"
|
"promise-toolbox": "^0.20.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.0.0",
|
"@babel/cli": "^7.0.0",
|
||||||
|
@ -75,11 +75,11 @@
|
|||||||
"helmet": "^3.9.0",
|
"helmet": "^3.9.0",
|
||||||
"highland": "^2.11.1",
|
"highland": "^2.11.1",
|
||||||
"http-proxy": "^1.16.2",
|
"http-proxy": "^1.16.2",
|
||||||
"http-request-plus": "^0.12",
|
"http-request-plus": "^0.13.0",
|
||||||
"http-server-plus": "^0.11.0",
|
"http-server-plus": "^0.11.0",
|
||||||
"human-format": "^0.11.0",
|
"human-format": "^0.11.0",
|
||||||
"iterable-backoff": "^0.1.0",
|
"iterable-backoff": "^0.1.0",
|
||||||
"js-yaml": "^3.10.0",
|
"js-yaml": "^4.1.0",
|
||||||
"json-rpc-peer": "^0.17.0",
|
"json-rpc-peer": "^0.17.0",
|
||||||
"json-stringify-safe": "^5.0.1",
|
"json-stringify-safe": "^5.0.1",
|
||||||
"json5": "^2.0.1",
|
"json5": "^2.0.1",
|
||||||
@ -96,25 +96,25 @@
|
|||||||
"multikey-hash": "^1.0.4",
|
"multikey-hash": "^1.0.4",
|
||||||
"multiparty": "^4.2.2",
|
"multiparty": "^4.2.2",
|
||||||
"ndjson": "^2.0.0",
|
"ndjson": "^2.0.0",
|
||||||
"openpgp": "^4.10.4",
|
"openpgp": "^5.0.0",
|
||||||
"otplib": "^11.0.0",
|
"otplib": "^11.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",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"proxy-agent": "^4.0.0",
|
"proxy-agent": "^5.0.0",
|
||||||
"pug": "^3.0.0",
|
"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": "^3.0.2",
|
"redis": "^3.0.2",
|
||||||
"schema-inspector": "^1.7.0",
|
"schema-inspector": "^2.0.1",
|
||||||
"semver": "^7.3.2",
|
"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",
|
||||||
"split2": "^3.1.1",
|
"split2": "^4.1.0",
|
||||||
"stoppable": "^1.0.5",
|
"stoppable": "^1.0.5",
|
||||||
"subleveldown": "^5.0.1",
|
"subleveldown": "^5.0.1",
|
||||||
"tar-stream": "^2.0.1",
|
"tar-stream": "^2.0.1",
|
||||||
@ -123,7 +123,7 @@
|
|||||||
"uuid": "^8.3.1",
|
"uuid": "^8.3.1",
|
||||||
"value-matcher": "^0.2.0",
|
"value-matcher": "^0.2.0",
|
||||||
"vhd-lib": "^1.3.0",
|
"vhd-lib": "^1.3.0",
|
||||||
"ws": "^7.1.2",
|
"ws": "^8.2.3",
|
||||||
"xdg-basedir": "^4.0.0",
|
"xdg-basedir": "^4.0.0",
|
||||||
"xen-api": "^0.35.1",
|
"xen-api": "^0.35.1",
|
||||||
"xo-acl-resolver": "^0.4.1",
|
"xo-acl-resolver": "^0.4.1",
|
||||||
|
@ -21,7 +21,7 @@ import pw from 'pw'
|
|||||||
import serveStatic from 'serve-static'
|
import serveStatic from 'serve-static'
|
||||||
import stoppable from 'stoppable'
|
import stoppable from 'stoppable'
|
||||||
import WebServer from 'http-server-plus'
|
import WebServer from 'http-server-plus'
|
||||||
import WebSocket from 'ws'
|
import WebSocket, { WebSocketServer } from 'ws'
|
||||||
import xdg from 'xdg-basedir'
|
import xdg from 'xdg-basedir'
|
||||||
import { createLogger } from '@xen-orchestra/log'
|
import { createLogger } from '@xen-orchestra/log'
|
||||||
import { createRequire } from 'module'
|
import { createRequire } from 'module'
|
||||||
@ -505,7 +505,7 @@ const setUpProxies = (express, opts, xo) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// WebSocket proxy.
|
// WebSocket proxy.
|
||||||
const webSocketServer = new WebSocket.Server({
|
const webSocketServer = new WebSocketServer({
|
||||||
noServer: true,
|
noServer: true,
|
||||||
})
|
})
|
||||||
xo.hooks.on('stop', () => fromCallback.call(webSocketServer, 'close'))
|
xo.hooks.on('stop', () => fromCallback.call(webSocketServer, 'close'))
|
||||||
@ -543,7 +543,7 @@ const setUpStaticFiles = (express, opts) => {
|
|||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
const setUpApi = (webServer, xo, config) => {
|
const setUpApi = (webServer, xo, config) => {
|
||||||
const webSocketServer = new WebSocket.Server({
|
const webSocketServer = new WebSocketServer({
|
||||||
...config.apiWebSocketOptions,
|
...config.apiWebSocketOptions,
|
||||||
|
|
||||||
noServer: true,
|
noServer: true,
|
||||||
@ -613,7 +613,7 @@ const setUpApi = (webServer, xo, config) => {
|
|||||||
const CONSOLE_PROXY_PATH_RE = /^\/api\/consoles\/(.*)$/
|
const CONSOLE_PROXY_PATH_RE = /^\/api\/consoles\/(.*)$/
|
||||||
|
|
||||||
const setUpConsoleProxy = (webServer, xo) => {
|
const setUpConsoleProxy = (webServer, xo) => {
|
||||||
const webSocketServer = new WebSocket.Server({
|
const webSocketServer = new WebSocketServer({
|
||||||
noServer: true,
|
noServer: true,
|
||||||
})
|
})
|
||||||
xo.hooks.on('stop', () => fromCallback.call(webSocketServer, 'close'))
|
xo.hooks.on('stop', () => fromCallback.call(webSocketServer, 'close'))
|
||||||
|
@ -41,13 +41,11 @@ export default class ConfigManagement {
|
|||||||
|
|
||||||
if (passphrase !== undefined) {
|
if (passphrase !== undefined) {
|
||||||
config = Buffer.from(
|
config = Buffer.from(
|
||||||
(
|
|
||||||
await openpgp.encrypt({
|
await openpgp.encrypt({
|
||||||
armor: false,
|
format: 'binary',
|
||||||
message: openpgp.message.fromText(config),
|
message: await openpgp.createMessage({ text: config }),
|
||||||
passwords: passphrase,
|
passwords: passphrase,
|
||||||
})
|
})
|
||||||
).message.packets.write()
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,8 +56,7 @@ export default class ConfigManagement {
|
|||||||
if (passphrase !== undefined) {
|
if (passphrase !== undefined) {
|
||||||
config = (
|
config = (
|
||||||
await openpgp.decrypt({
|
await openpgp.decrypt({
|
||||||
format: 'utf8',
|
message: await openpgp.readMessage({ binaryMessage: config }),
|
||||||
message: await openpgp.message.read(config),
|
|
||||||
passwords: passphrase,
|
passwords: passphrase,
|
||||||
})
|
})
|
||||||
).data
|
).data
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"child-process-promise": "^2.0.3",
|
"child-process-promise": "^2.0.3",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"pako": "^1.0.11",
|
"pako": "^2.0.4",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"vhd-lib": "^1.3.0",
|
"vhd-lib": "^1.3.0",
|
||||||
"xml2js": "^0.4.23"
|
"xml2js": "^0.4.23"
|
||||||
},
|
},
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"moment-timezone": "^0.5.14",
|
"moment-timezone": "^0.5.14",
|
||||||
"notifyjs": "^3.0.0",
|
"notifyjs": "^3.0.0",
|
||||||
"otplib": "^11.0.0",
|
"otplib": "^11.0.0",
|
||||||
"promise-toolbox": "^0.19.2",
|
"promise-toolbox": "^0.20.0",
|
||||||
"prop-types": "^15.6.0",
|
"prop-types": "^15.6.0",
|
||||||
"qrcode": "^1.3.2",
|
"qrcode": "^1.3.2",
|
||||||
"random-password": "^0.1.2",
|
"random-password": "^0.1.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user