mirror of
https://github.com/caprover/caprover
synced 2025-12-08 20:36:02 +00:00
Major dependency update
This commit is contained in:
5607
package-lock.json
generated
5607
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
98
package.json
98
package.json
@@ -14,67 +14,67 @@
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.21.1",
|
||||
"axios": "^1.6.8",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"body-parser": "^1.19.0",
|
||||
"body-parser": "^1.20.2",
|
||||
"configstore": "^5.0.1",
|
||||
"cookie-parser": "~1.4.5",
|
||||
"debug": "~4.3.2",
|
||||
"dockerode": "^3.3.0",
|
||||
"ejs": "^3.1.6",
|
||||
"express": "^4.17.1",
|
||||
"fs-extra": "^10.0.0",
|
||||
"cookie-parser": "~1.4.6",
|
||||
"debug": "~4.3.4",
|
||||
"dockerode": "^4.0.2",
|
||||
"ejs": "^3.1.10",
|
||||
"express": "^4.19.2",
|
||||
"fs-extra": "^11.2.0",
|
||||
"http-proxy": "^1.18.1",
|
||||
"is-valid-path": "^0.1.1",
|
||||
"js-base64": "^3.6.1",
|
||||
"js-base64": "^3.7.7",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"moment": "^2.29.1",
|
||||
"moment": "^2.30.1",
|
||||
"morgan": "^1.10.0",
|
||||
"multer": "^1.4.3",
|
||||
"on-finished": "^2.3.0",
|
||||
"prettier": "2.3.2",
|
||||
"public-ip": "^4.0.4",
|
||||
"recursive-readdir": "^2.2.2",
|
||||
"multer": "^1.4.4",
|
||||
"on-finished": "^2.4.1",
|
||||
"prettier": "3.2.5",
|
||||
"public-ip": "^6.0.2",
|
||||
"recursive-readdir": "^2.2.3",
|
||||
"request": "^2.88.2",
|
||||
"require-from-string": "^2.0.2",
|
||||
"serve-favicon": "~2.5.0",
|
||||
"simple-git": "^2.45.0",
|
||||
"ssh2": "^1.4.0",
|
||||
"tar": "^6.1.11",
|
||||
"typescript": "^4.3.5",
|
||||
"uuid": "^8.3.2",
|
||||
"validator": "^13.6.0",
|
||||
"yaml": "^1.10.2"
|
||||
"simple-git": "3.24.0",
|
||||
"ssh2": "^1.15.0",
|
||||
"tar": "^7.0.1",
|
||||
"typescript": "4.x",
|
||||
"uuid": "^9.0.1",
|
||||
"validator": "^13.11.0",
|
||||
"yaml": "^2.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bcryptjs": "^2.4.2",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/configstore": "^5.0.1",
|
||||
"@types/cookie-parser": "^1.4.2",
|
||||
"@types/debug": "^4.1.7",
|
||||
"@types/dockerode": "^3.2.7",
|
||||
"@types/ejs": "^3.1.0",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/fs-extra": "^9.0.12",
|
||||
"@types/http-proxy": "^1.17.7",
|
||||
"@types/is-valid-path": "^0.1.0",
|
||||
"@types/jest": "^27.0.1",
|
||||
"@types/cookie-parser": "^1.4.7",
|
||||
"@types/debug": "^4.1.12",
|
||||
"@types/dockerode": "^3.3.28",
|
||||
"@types/ejs": "^3.1.5",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/http-proxy": "^1.17.14",
|
||||
"@types/is-valid-path": "^0.1.2",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/js-base64": "^3.3.1",
|
||||
"@types/jsonwebtoken": "^8.5.5",
|
||||
"@types/morgan": "^1.9.3",
|
||||
"@types/multer": "^1.4.7",
|
||||
"@types/on-finished": "^2.3.1",
|
||||
"@types/request": "^2.48.7",
|
||||
"@types/require-from-string": "^1.2.1",
|
||||
"@types/serve-favicon": "^2.5.3",
|
||||
"@types/ssh2": "^0.5.47",
|
||||
"@types/tar": "^4.0.5",
|
||||
"@types/uuid": "^8.3.1",
|
||||
"@types/validator": "^13.6.3",
|
||||
"@typescript-eslint/eslint-plugin": "^4.29.3",
|
||||
"@typescript-eslint/parser": "^4.29.3",
|
||||
"eslint": "^7.32.0",
|
||||
"jest": "^27.1.0",
|
||||
"madge": "^5.0.1",
|
||||
"ts-jest": "^27.0.5"
|
||||
"@types/jsonwebtoken": "^9.0.6",
|
||||
"@types/morgan": "^1.9.9",
|
||||
"@types/multer": "^1.4.11",
|
||||
"@types/on-finished": "^2.3.4",
|
||||
"@types/request": "^2.48.12",
|
||||
"@types/require-from-string": "^1.2.3",
|
||||
"@types/serve-favicon": "^2.5.7",
|
||||
"@types/ssh2": "^1.15.0",
|
||||
"@types/tar": "^6.1.13",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@types/validator": "^13.11.9",
|
||||
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||
"@typescript-eslint/parser": "^7.7.1",
|
||||
"eslint": "^8.56.0",
|
||||
"jest": "^29.7.0",
|
||||
"madge": "^7.0.0",
|
||||
"ts-jest": "^29.1.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ export function install() {
|
||||
return EnvVar.MAIN_NODE_IP_ADDRESS
|
||||
}
|
||||
|
||||
return externalIp.v4()
|
||||
return externalIp.publicIpv4()
|
||||
})
|
||||
.then(function (ip4) {
|
||||
if (!ip4) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as childProcess from 'child_process'
|
||||
import * as fs from 'fs-extra'
|
||||
import * as path from 'path'
|
||||
import * as git from 'simple-git/promise'
|
||||
import git from 'simple-git'
|
||||
import * as util from 'util'
|
||||
import * as uuid from 'uuid'
|
||||
import CaptainConstants from './CaptainConstants'
|
||||
@@ -28,7 +28,6 @@ export default class GitHelper {
|
||||
|
||||
static getLastHash(directory: string) {
|
||||
return git(directory) //
|
||||
.silent(true) //
|
||||
.raw(['rev-parse', 'HEAD']) //
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user