chore: update dev deps

This commit is contained in:
Julien Fontanet 2021-11-02 13:43:49 +01:00
parent a950a1fe24
commit 15630aee5e
30 changed files with 1946 additions and 1958 deletions

View File

@ -12,7 +12,7 @@
"filenamify": "^4.1.0",
"getopts": "^2.2.5",
"lodash": "^4.17.15",
"promise-toolbox": "^0.19.2"
"promise-toolbox": "^0.20.0"
},
"engines": {
"node": ">=7.10.1"

View File

@ -23,7 +23,7 @@
"@xen-orchestra/fs": "^0.18.0",
"@xen-orchestra/log": "^0.3.0",
"@xen-orchestra/template": "^0.1.0",
"compare-versions": "^3.6.0",
"compare-versions": "^4.0.1",
"d3-time-format": "^3.0.0",
"end-of-stream": "^1.4.4",
"fs-extra": "^10.0.0",

View File

@ -17,7 +17,7 @@
"node": ">=14"
},
"dependencies": {
"@marsaud/smb2": "^0.17.2",
"@marsaud/smb2": "^0.18.0",
"@sindresorhus/df": "^3.1.1",
"@sullux/aws-sdk": "^1.0.5",
"@vates/coalesce-calls": "^0.1.0",
@ -29,7 +29,7 @@
"get-stream": "^6.0.0",
"limit-concurrency-decorator": "^0.5.0",
"lodash": "^4.17.4",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"proper-lockfile": "^4.1.2",
"readable-stream": "^3.0.6",
"through2": "^4.0.2",

View File

@ -24,7 +24,7 @@
},
"dependencies": {
"lodash": "^4.17.4",
"promise-toolbox": "^0.19.2"
"promise-toolbox": "^0.20.0"
},
"scripts": {
"postversion": "npm publish"

View File

@ -23,7 +23,7 @@
"xo-proxy-cli": "dist/index.js"
},
"engines": {
"node": ">=8.10"
"node": ">=12"
},
"dependencies": {
"@iarna/toml": "^2.2.0",
@ -33,12 +33,12 @@
"content-type": "^1.0.4",
"cson-parser": "^4.0.7",
"getopts": "^2.2.3",
"http-request-plus": "^0.12",
"http-request-plus": "^0.13.0",
"json-rpc-protocol": "^0.13.1",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"pump": "^3.0.0",
"pumpify": "^2.0.1",
"split2": "^3.1.1"
"split2": "^4.1.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",

View File

@ -54,7 +54,7 @@
"lodash": "^4.17.10",
"node-zone": "^0.4.0",
"parse-pairs": "^1.0.0",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"source-map-support": "^0.5.16",
"stoppable": "^1.0.6",
"xdg-basedir": "^4.0.0",

View File

@ -35,7 +35,7 @@
"form-data": "^4.0.0",
"fs-extra": "^10.0.0",
"get-stream": "^6.0.0",
"http-request-plus": "^0.12",
"http-request-plus": "^0.13.0",
"human-format": "^0.11.0",
"l33teral": "^3.0.3",
"lodash": "^4.17.4",

View File

@ -44,7 +44,7 @@
"d3-time-format": "^3.0.0",
"golike-defer": "^0.5.1",
"lodash": "^4.17.15",
"promise-toolbox": "^0.19.2"
"promise-toolbox": "^0.20.0"
},
"private": false,
"license": "AGPL-3.0-or-later",

View File

@ -3,7 +3,7 @@
"@babel/core": "^7.0.0",
"@babel/eslint-parser": "^7.13.8",
"@babel/register": "^7.0.0",
"babel-jest": "^26.0.1",
"babel-jest": "^27.3.1",
"benchmark": "^2.1.4",
"eslint": "^7.6.0",
"eslint-config-prettier": "^8.1.0",
@ -18,11 +18,11 @@
"globby": "^11.0.1",
"handlebars": "^4.7.6",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest": "^27.3.1",
"lint-staged": "^11.1.2",
"lodash": "^4.17.4",
"prettier": "^2.0.5",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"sorted-object": "^2.0.1",
"vuepress": "^1.4.1"
},

View File

@ -37,7 +37,7 @@
"cross-env": "^7.0.2",
"execa": "^5.0.0",
"index-modules": "^0.4.3",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"rimraf": "^3.0.0",
"tmp": "^0.2.1"
},

View File

@ -22,7 +22,7 @@
"fs-extra": "^10.0.0",
"limit-concurrency-decorator": "^0.5.0",
"lodash": "^4.17.4",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"struct-fu": "^1.2.0",
"uuid": "^8.3.1"
},

View File

@ -34,8 +34,8 @@
"bind-property-descriptor": "^1.0.0",
"blocked": "^1.2.1",
"debug": "^4.0.1",
"http-request-plus": "^0.12",
"jest-diff": "^26.4.2",
"http-request-plus": "^0.13.0",
"jest-diff": "^27.3.1",
"json-rpc-protocol": "^0.13.1",
"kindof": "^2.0.0",
"limit-concurrency-decorator": "^0.5.0",
@ -43,7 +43,7 @@
"make-error": "^1.3.0",
"minimist": "^1.2.0",
"ms": "^2.1.1",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"proxy-agent": "^5.0.0",
"pw": "0.0.4",
"xmlrpc": "^1.3.2",

View File

@ -2,10 +2,10 @@
import blocked from 'blocked'
import createDebug from 'debug'
import diff from 'jest-diff'
import minimist from 'minimist'
import pw from 'pw'
import { asCallback, fromCallback, fromEvent } from 'promise-toolbox'
import { diff } from 'jest-diff'
import { filter, find } from 'lodash'
import { getBoundPropertyDescriptor } from 'bind-property-descriptor'
import { start as createRepl } from 'repl'

View File

@ -34,7 +34,7 @@
"chalk": "^4.1.0",
"exec-promise": "^0.7.0",
"fs-extra": "^10.0.0",
"http-request-plus": "^0.12",
"http-request-plus": "^0.13.0",
"human-format": "^0.11.0",
"l33teral": "^3.0.3",
"lodash": "^4.17.4",
@ -42,7 +42,7 @@
"mkdirp": "^1.0.4",
"pretty-ms": "^7.0.0",
"progress-stream": "^2.0.0",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"pump": "^3.0.0",
"pw": "^0.0.4",
"strip-indent": "^3.0.0",

View File

@ -30,7 +30,7 @@
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"cross-env": "^7.0.2",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"rimraf": "^3.0.0"
},
"scripts": {

View File

@ -40,7 +40,7 @@
"xo-lib": "^0.10.1"
},
"devDependencies": {
"@types/node": "^14.0.9",
"@types/node": "^16.11.6",
"@types/through2": "^2.0.31",
"typescript": "^3.1.6"
},

View File

@ -49,7 +49,7 @@
"@xen-orchestra/cron": "^1.0.6",
"@xen-orchestra/log": "^0.3.0",
"async-iterator-to-stream": "^1.1.0",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"readable-stream": "^3.5.0",
"xo-common": "^0.7.0"
},

View File

@ -28,15 +28,15 @@
"xo-server-auth-ldap": "dist/test-cli.js"
},
"engines": {
"node": ">=10"
"node": ">=12"
},
"dependencies": {
"@xen-orchestra/log": "^0.3.0",
"ensure-array": "^1.0.0",
"exec-promise": "^0.7.0",
"inquirer": "^8.0.0",
"ldapts": "^2.2.1",
"promise-toolbox": "^0.19.2"
"ldapts": "^3.1.1",
"promise-toolbox": "^0.20.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",

View File

@ -18,7 +18,7 @@
},
"version": "1.0.5",
"engines": {
"node": ">=8.10"
"node": ">=10"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
@ -29,13 +29,13 @@
"cross-env": "^7.0.2"
},
"dependencies": {
"@vates/coalesce-calls": "^0.1.0",
"@xen-orchestra/log": "^0.3.0",
"@xen-orchestra/openflow": "^0.1.1",
"@vates/coalesce-calls": "^0.1.0",
"ipaddr.js": "^1.9.1",
"ipaddr.js": "^2.0.1",
"lodash": "^4.17.11",
"node-openssl-cert": "^0.0.117",
"promise-toolbox": "^0.19.2",
"node-openssl-cert": "^0.1.34",
"promise-toolbox": "^0.20.0",
"uuid": "^8.3.1"
},
"private": true,

View File

@ -31,9 +31,9 @@
"app-conf": "^0.9.0",
"babel-plugin-lodash": "^3.2.11",
"golike-defer": "^0.5.1",
"jest": "^26.6.3",
"jest": "^27.3.1",
"lodash": "^4.17.11",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"xo-collection": "^0.5.0",
"xo-common": "^0.7.0",
"xo-lib": "^0.10.1"

View File

@ -30,7 +30,7 @@
"dependencies": {
"nodemailer": "^6.1.0",
"nodemailer-markdown": "^1.0.1",
"promise-toolbox": "^0.19.2"
"promise-toolbox": "^0.20.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",

View File

@ -29,7 +29,7 @@
"node": ">=6"
},
"dependencies": {
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"slack-node": "^0.1.8"
},
"devDependencies": {

View File

@ -30,7 +30,7 @@
},
"dependencies": {
"node-xmpp-client": "^3.0.0",
"promise-toolbox": "^0.19.2"
"promise-toolbox": "^0.20.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",

View File

@ -37,7 +37,7 @@
"html-minifier": "^4.0.0",
"human-format": "^0.11.0",
"lodash": "^4.17.4",
"promise-toolbox": "^0.19.2"
"promise-toolbox": "^0.20.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",

View File

@ -75,11 +75,11 @@
"helmet": "^3.9.0",
"highland": "^2.11.1",
"http-proxy": "^1.16.2",
"http-request-plus": "^0.12",
"http-request-plus": "^0.13.0",
"http-server-plus": "^0.11.0",
"human-format": "^0.11.0",
"iterable-backoff": "^0.1.0",
"js-yaml": "^3.10.0",
"js-yaml": "^4.1.0",
"json-rpc-peer": "^0.17.0",
"json-stringify-safe": "^5.0.1",
"json5": "^2.0.1",
@ -96,25 +96,25 @@
"multikey-hash": "^1.0.4",
"multiparty": "^4.2.2",
"ndjson": "^2.0.0",
"openpgp": "^4.10.4",
"openpgp": "^5.0.0",
"otplib": "^11.0.0",
"partial-stream": "0.0.0",
"passport": "^0.4.0",
"passport-local": "^1.0.0",
"promise-toolbox": "^0.19.2",
"proxy-agent": "^4.0.0",
"promise-toolbox": "^0.20.0",
"proxy-agent": "^5.0.0",
"pug": "^3.0.0",
"pump": "^3.0.0",
"pumpify": "^2.0.0",
"pw": "^0.0.4",
"readable-stream": "^3.2.0",
"redis": "^3.0.2",
"schema-inspector": "^1.7.0",
"schema-inspector": "^2.0.1",
"semver": "^7.3.2",
"serve-static": "^1.13.1",
"set-cookie-parser": "^2.3.5",
"source-map-support": "^0.5.16",
"split2": "^3.1.1",
"split2": "^4.1.0",
"stoppable": "^1.0.5",
"subleveldown": "^5.0.1",
"tar-stream": "^2.0.1",
@ -123,7 +123,7 @@
"uuid": "^8.3.1",
"value-matcher": "^0.2.0",
"vhd-lib": "^1.3.0",
"ws": "^7.1.2",
"ws": "^8.2.3",
"xdg-basedir": "^4.0.0",
"xen-api": "^0.35.1",
"xo-acl-resolver": "^0.4.1",

View File

@ -21,7 +21,7 @@ import pw from 'pw'
import serveStatic from 'serve-static'
import stoppable from 'stoppable'
import WebServer from 'http-server-plus'
import WebSocket from 'ws'
import WebSocket, { WebSocketServer } from 'ws'
import xdg from 'xdg-basedir'
import { createLogger } from '@xen-orchestra/log'
import { createRequire } from 'module'
@ -505,7 +505,7 @@ const setUpProxies = (express, opts, xo) => {
})
// WebSocket proxy.
const webSocketServer = new WebSocket.Server({
const webSocketServer = new WebSocketServer({
noServer: true,
})
xo.hooks.on('stop', () => fromCallback.call(webSocketServer, 'close'))
@ -543,7 +543,7 @@ const setUpStaticFiles = (express, opts) => {
// ===================================================================
const setUpApi = (webServer, xo, config) => {
const webSocketServer = new WebSocket.Server({
const webSocketServer = new WebSocketServer({
...config.apiWebSocketOptions,
noServer: true,
@ -613,7 +613,7 @@ const setUpApi = (webServer, xo, config) => {
const CONSOLE_PROXY_PATH_RE = /^\/api\/consoles\/(.*)$/
const setUpConsoleProxy = (webServer, xo) => {
const webSocketServer = new WebSocket.Server({
const webSocketServer = new WebSocketServer({
noServer: true,
})
xo.hooks.on('stop', () => fromCallback.call(webSocketServer, 'close'))

View File

@ -41,13 +41,11 @@ export default class ConfigManagement {
if (passphrase !== undefined) {
config = Buffer.from(
(
await openpgp.encrypt({
armor: false,
message: openpgp.message.fromText(config),
format: 'binary',
message: await openpgp.createMessage({ text: config }),
passwords: passphrase,
})
).message.packets.write()
)
}
@ -58,8 +56,7 @@ export default class ConfigManagement {
if (passphrase !== undefined) {
config = (
await openpgp.decrypt({
format: 'utf8',
message: await openpgp.message.read(config),
message: await openpgp.readMessage({ binaryMessage: config }),
passwords: passphrase,
})
).data

View File

@ -23,8 +23,8 @@
"dependencies": {
"child-process-promise": "^2.0.3",
"lodash": "^4.17.15",
"pako": "^1.0.11",
"promise-toolbox": "^0.19.2",
"pako": "^2.0.4",
"promise-toolbox": "^0.20.0",
"vhd-lib": "^1.3.0",
"xml2js": "^0.4.23"
},

View File

@ -91,7 +91,7 @@
"moment-timezone": "^0.5.14",
"notifyjs": "^3.0.0",
"otplib": "^11.0.0",
"promise-toolbox": "^0.19.2",
"promise-toolbox": "^0.20.0",
"prop-types": "^15.6.0",
"qrcode": "^1.3.2",
"random-password": "^0.1.2",

3779
yarn.lock

File diff suppressed because it is too large Load Diff