Skip to content

Commit 8f8bcca

Browse files
HoldYourWaffleci010
authored andcommitted
chore: update dependencies
1 parent 6b9dc80 commit 8f8bcca

29 files changed

+4640
-820
lines changed

global.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
declare module "rusha" {
32
function createWorker(): Worker;
43

@@ -10,4 +9,4 @@ declare module "rusha" {
109
digest(encoding?: "hex"): ArrayBuffer | string;
1110
}
1211
function createHash(): Hasher;
13-
}
12+
}

package-lock.json

Lines changed: 2625 additions & 780 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,38 +39,38 @@
3939
"@xmcl/world": "file:packages\\world"
4040
},
4141
"devDependencies": {
42-
"@actions/core": "^1.2.0",
42+
"@actions/core": "^1.2.3",
4343
"@rollup/plugin-commonjs": "^11.0.2",
4444
"@rollup/plugin-json": "^4.0.2",
4545
"@rollup/plugin-node-resolve": "^7.1.1",
4646
"@types/bytebuffer": "^5.0.37",
4747
"@types/fast-html-parser": "^1.0.0",
48-
"@types/jest": "^24.0.18",
48+
"@types/jest": "^25.1.4",
4949
"@types/jszip": "^3.1.6",
50-
"@types/long": "^3.0.31",
51-
"@types/node": "^10.0.0",
50+
"@types/long": "^4.0.1",
51+
"@types/node": "^12.12.31",
5252
"@types/pako": "^1.0.1",
53-
"@types/uuid": "^3.4.3",
53+
"@types/uuid": "^7.0.2",
5454
"@types/yauzl": "^2.9.1",
55-
"@typescript-eslint/eslint-plugin": "^2.6.0",
56-
"@typescript-eslint/parser": "^2.6.0",
55+
"@typescript-eslint/eslint-plugin": "^2.25.0",
56+
"@typescript-eslint/parser": "^2.25.0",
5757
"conventional-recommended-bump": "^6.0.0",
5858
"eslint": "^6.6.0",
5959
"git-semver-tags": "^3.0.0",
60-
"jest": "^24.9.0",
60+
"jest": "^25.2.2",
6161
"lerna": "^3.20.2",
62-
"monaco-editor": "^0.19.2",
63-
"nock": "^11.7.0",
64-
"pako": "^1.0.10",
62+
"monaco-editor": "^0.20.0",
63+
"nock": "^12.0.3",
64+
"pako": "^1.0.11",
6565
"parcel": "^1.12.4",
66-
"rollup": "^2.0.6",
66+
"rollup": "^2.2.0",
6767
"rollup-plugin-typescript2": "^0.26.0",
6868
"rusha": "^0.8.13",
69-
"three": "^0.110.0",
69+
"three": "^0.115.0",
7070
"three-orbitcontrols": "^2.110.1",
71-
"ts-jest": "^24.0.2",
71+
"ts-jest": "^25.2.1",
7272
"ts-md5": "^1.2.7",
73-
"typescript": "^3.7.2"
73+
"typescript": "^3.8.3"
7474
},
7575
"browserslist": [
7676
"last 1 Chrome versions"
@@ -97,4 +97,4 @@
9797
"^.+\\.(ts|tsx)?$": "ts-jest"
9898
}
9999
}
100-
}
100+
}

packages/client/coders.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { VarInt, VarLong, Long, Short, Float, String, Bool, Byte, UByte, Int, ByteArray, Double, Json, Slot, UUID, UShort } from "./coders";
22
import ByteBuffer from "bytebuffer";
33
import long from "long";
4-
import v4 from "uuid/v4";
4+
import uuid from "uuid/v4";
55

66
describe("Coders", () => {
77
test("UByte", () => {
@@ -30,7 +30,7 @@ describe("Coders", () => {
3030
});
3131
test("UUID", () => {
3232
let bb = ByteBuffer.allocate(1024);
33-
let input = v4();
33+
let input = uuid();
3434
UUID.encode(bb, input);
3535
bb.flip();
3636
let output = UUID.decode(bb);

packages/client/package-lock.json

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"@xmcl/nbt": "file:../nbt",
1515
"@xmcl/text-component": "file:../text-component",
1616
"bytebuffer": "^5.0.1",
17-
"long": "^3.2.0",
18-
"uuid": "^3.2.1"
17+
"long": "^4.0.0",
18+
"uuid": "^7.0.2"
1919
},
2020
"scripts": {
2121
"compile": "tsc --build tsconfig.json",

packages/core/launch.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function waitGameProcess(process: ChildProcess, ...hints: string[]) {
2626
const found = new Array<boolean>(hints.length);
2727
found.fill(false);
2828
return new Promise((resolve, reject) => {
29-
process.stdout.on("data", (chunk) => {
29+
process.stdout!!.on("data", (chunk) => {
3030
const content = chunk.toString();
3131
for (let i = 0; i < hints.length; i++) {
3232
if (content.indexOf(hints[i]) !== -1) {
@@ -37,7 +37,7 @@ function waitGameProcess(process: ChildProcess, ...hints: string[]) {
3737
process.kill("SIGINT");
3838
}
3939
});
40-
process.stderr.on("data", (chunk) => {
40+
process.stderr!!.on("data", (chunk) => {
4141
console.warn(chunk.toString());
4242
});
4343
process.on("exit", (code, signal) => {
@@ -98,7 +98,7 @@ describe("Launcher", () => {
9898
version: "1.12.2",
9999
});
100100
await new Promise((resolve, reject) => {
101-
proc.stdout.on("data", (buf) => {
101+
proc.stdout!!.on("data", (buf) => {
102102
const str = buf.toString();
103103
console.warn(str);
104104
if (str.indexOf("Starting minecraft server version 1.12.2") !== -1) {

packages/core/package-lock.json

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/forge-site-parser/package-lock.json

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/gamesetting/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)