From f4c04829b1edb5feb12ecb75aefbb7550f67b0ef Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Sat, 12 Feb 2022 23:00:24 +0800 Subject: [PATCH] upgrade: dependencies version Signed-off-by: MiaoWoo --- packages/amqp/package.json | 2 +- packages/api/package.json | 2 +- packages/bukkit/package.json | 2 +- packages/bungee/package.json | 2 +- packages/client/package.json | 8 ++++---- packages/common/package.json | 2 +- packages/compile/package.json | 2 +- packages/container/package.json | 4 ++-- packages/core/package.json | 2 +- packages/core/src/initialize.js | 4 ++-- packages/database/package.json | 2 +- packages/i18n/package.json | 2 +- packages/keyvalue/package.json | 2 +- packages/molang/package.json | 6 +++--- packages/nashorn/package.json | 2 +- packages/nodejs/package.json | 2 +- packages/nukkit/package.json | 2 +- packages/plugin/package.json | 2 +- packages/polyfill/package.json | 4 ++-- packages/protocol/package.json | 2 +- packages/sponge/package.json | 2 +- packages/spring/package.json | 2 +- packages/web/package.json | 2 +- packages/websocket/package.json | 2 +- 24 files changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/amqp/package.json b/packages/amqp/package.json index dcd1f80a..6d026815 100644 --- a/packages/amqp/package.json +++ b/packages/amqp/package.json @@ -30,6 +30,6 @@ "@javatypes/spring-rabbit": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } } diff --git a/packages/api/package.json b/packages/api/package.json index 572c45ce..15962963 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -29,6 +29,6 @@ "@types/base64-js": "^1.3.0", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } } diff --git a/packages/bukkit/package.json b/packages/bukkit/package.json index f1edaa7d..51d3a4bb 100644 --- a/packages/bukkit/package.json +++ b/packages/bukkit/package.json @@ -22,7 +22,7 @@ "@javatypes/spigot-api": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/bungee/package.json b/packages/bungee/package.json index d0083eba..bc205eaf 100644 --- a/packages/bungee/package.json +++ b/packages/bungee/package.json @@ -22,7 +22,7 @@ "@javatypes/bungee-api": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/client/package.json b/packages/client/package.json index 8c39638e..80bcd1bd 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -24,14 +24,14 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "axios": "^0.24.0", - "minecraft-protocol": "^1.29.0", + "axios": "^0.25.0", + "minecraft-protocol": "^1.30.0", "minecraft-protocol-forge": "^1.0.0", "proxy-agent": "^5.0.0" }, "devDependencies": { - "@types/node": "^16.4.12", + "@types/node": "^17.0.17", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } } diff --git a/packages/common/package.json b/packages/common/package.json index eabe13bb..cbeec275 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -23,7 +23,7 @@ "@javatypes/jdk": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "gitHead": "562e2d00175c9d3a99c8b672aa07e6d92706a027" } diff --git a/packages/compile/package.json b/packages/compile/package.json index 73e5c7f6..9bbb309c 100644 --- a/packages/compile/package.json +++ b/packages/compile/package.json @@ -21,6 +21,6 @@ "devDependencies": { "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } } diff --git a/packages/container/package.json b/packages/container/package.json index 554f3134..5e448fc0 100644 --- a/packages/container/package.json +++ b/packages/container/package.json @@ -22,10 +22,10 @@ "@ccms/nashorn": "^0.17.0", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { - "inversify": "^5.1.1", + "inversify": "^6.0.1", "inversify-binding-decorators": "^4.0.0" } } diff --git a/packages/core/package.json b/packages/core/package.json index 06e12e51..11907007 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -21,7 +21,7 @@ "devDependencies": { "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/core/src/initialize.js b/packages/core/src/initialize.js index 4f67af7b..7b9a3a2d 100644 --- a/packages/core/src/initialize.js +++ b/packages/core/src/initialize.js @@ -3,7 +3,6 @@ function initialize() { var http = require('@ccms/common/dist/http').default var fs = require('@ccms/common/dist/fs') - var yaml = require('js-yaml') var pluginFolder = fs.concat(root, 'plugins') var updateFolder = fs.concat(pluginFolder, 'update') @@ -29,9 +28,10 @@ function initialize() { } }) var core = http.get('https://registry.npmmirror.com/@ccms/core') - if (global.ScriptEngineVersion != core['dist-tags']['latest']) { + if (base.VERSION && global.ScriptEngineVersion != core['dist-tags']['latest']) { var Paths = Java.type('java.nio.file.Paths') base.save(Paths.get(root, "upgrade"), core['dist-tags']['latest']) + console.info('@ccms/core found new version ' + core['dist-tags']['latest'] + ' will upgrade after reboot!') } console.debug('initialize finish!') } diff --git a/packages/database/package.json b/packages/database/package.json index ac87b907..9ff4533b 100644 --- a/packages/database/package.json +++ b/packages/database/package.json @@ -22,7 +22,7 @@ "@javatypes/spring-jdbc": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 88e708c0..30a458b3 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -23,7 +23,7 @@ "@types/js-yaml": "^4.0.5", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "js-yaml": "^4.1.0" diff --git a/packages/keyvalue/package.json b/packages/keyvalue/package.json index 903ade5f..56382ec8 100644 --- a/packages/keyvalue/package.json +++ b/packages/keyvalue/package.json @@ -30,7 +30,7 @@ "@javatypes/spring-rabbit": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "gitHead": "2589633069d24f646ac09261b1b2304c21d4ea75" } diff --git a/packages/molang/package.json b/packages/molang/package.json index f336ea55..0dbb9a76 100644 --- a/packages/molang/package.json +++ b/packages/molang/package.json @@ -21,9 +21,9 @@ }, "homepage": "https://github.com/solvedDev/MoLang#readme", "devDependencies": { - "@types/node": "^13.1.2", - "tslib": "^2.3.1", + "@types/node": "^17.0.17", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "tslib": "^2.3.1", + "typescript": "^4.5.5" } } diff --git a/packages/nashorn/package.json b/packages/nashorn/package.json index 2f770a98..29a811aa 100644 --- a/packages/nashorn/package.json +++ b/packages/nashorn/package.json @@ -22,6 +22,6 @@ "devDependencies": { "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } } diff --git a/packages/nodejs/package.json b/packages/nodejs/package.json index ef2800b1..9b228d96 100644 --- a/packages/nodejs/package.json +++ b/packages/nodejs/package.json @@ -23,7 +23,7 @@ "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "tslib": "^2.3.1", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "gitHead": "781524f83e52cad26d7c480513e3c525df867121" } diff --git a/packages/nukkit/package.json b/packages/nukkit/package.json index 32b7b298..853f14ea 100644 --- a/packages/nukkit/package.json +++ b/packages/nukkit/package.json @@ -22,7 +22,7 @@ "@javatypes/nukkit-api": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/plugin/package.json b/packages/plugin/package.json index 88cadbc9..8bd9194f 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -22,7 +22,7 @@ "@types/js-yaml": "^4.0.5", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/polyfill/package.json b/packages/polyfill/package.json index 77284d8b..e6f833d1 100644 --- a/packages/polyfill/package.json +++ b/packages/polyfill/package.json @@ -16,12 +16,12 @@ "dependencies": { "@ccms/i18n": "^0.17.0", "@ccms/nodejs": "^0.17.0", - "core-js": "^3.19.3" + "core-js": "^3.21.0" }, "devDependencies": { "@ccms/nashorn": "^0.17.0", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } } diff --git a/packages/protocol/package.json b/packages/protocol/package.json index ddd60daa..a2821096 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -22,6 +22,6 @@ "devDependencies": { "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } } diff --git a/packages/sponge/package.json b/packages/sponge/package.json index f76b432c..ba223a64 100644 --- a/packages/sponge/package.json +++ b/packages/sponge/package.json @@ -22,7 +22,7 @@ "@javatypes/sponge-api": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/spring/package.json b/packages/spring/package.json index d702e77c..58195042 100644 --- a/packages/spring/package.json +++ b/packages/spring/package.json @@ -21,7 +21,7 @@ "devDependencies": { "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/web/package.json b/packages/web/package.json index 3a660e22..f0d4ec87 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -26,7 +26,7 @@ "@javatypes/tomcat": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" }, "dependencies": { "@ccms/api": "^0.17.0", diff --git a/packages/websocket/package.json b/packages/websocket/package.json index 60a53012..a2d9cb71 100644 --- a/packages/websocket/package.json +++ b/packages/websocket/package.json @@ -27,6 +27,6 @@ "@javatypes/tomcat-websocket-api": "^0.0.3", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", - "typescript": "^4.5.3" + "typescript": "^4.5.5" } }