Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #125

Merged
merged 3 commits into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

declare module "rusha" {
function createWorker(): Worker;

Expand All @@ -10,4 +9,4 @@ declare module "rusha" {
digest(encoding?: "hex"): ArrayBuffer | string;
}
function createHash(): Hasher;
}
}
3,610 changes: 2,780 additions & 830 deletions package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,38 +39,38 @@
"@xmcl/world": "file:packages\\world"
},
"devDependencies": {
"@actions/core": "^1.2.0",
"@actions/core": "^1.2.3",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@types/bytebuffer": "^5.0.37",
"@types/fast-html-parser": "^1.0.0",
"@types/jest": "^24.0.18",
"@types/jest": "^25.1.4",
"@types/jszip": "^3.1.6",
"@types/long": "^3.0.31",
"@types/node": "^10.0.0",
"@types/long": "^4.0.1",
"@types/node": "^12.12.31",
"@types/pako": "^1.0.1",
"@types/uuid": "^3.4.3",
"@types/uuid": "^7.0.2",
"@types/yauzl": "^2.9.1",
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"conventional-recommended-bump": "^6.0.0",
"eslint": "^6.6.0",
"git-semver-tags": "^3.0.0",
"jest": "^24.9.0",
"jest": "^25.2.2",
"lerna": "^3.20.2",
"monaco-editor": "^0.19.2",
"nock": "^11.7.0",
"pako": "^1.0.10",
"monaco-editor": "^0.20.0",
"nock": "^12.0.3",
"pako": "^1.0.11",
"parcel": "^1.12.4",
"rollup": "^2.0.6",
"rollup": "^2.2.0",
"rollup-plugin-typescript2": "^0.26.0",
"rusha": "^0.8.13",
"three": "^0.110.0",
"three": "^0.115.0",
"three-orbitcontrols": "^2.110.1",
"ts-jest": "^24.0.2",
"ts-jest": "^25.2.1",
"ts-md5": "^1.2.7",
"typescript": "^3.7.2"
"typescript": "^3.8.3"
},
"browserslist": [
"last 1 Chrome versions"
Expand All @@ -97,4 +97,4 @@
"^.+\\.(ts|tsx)?$": "ts-jest"
}
}
}
}
4 changes: 2 additions & 2 deletions packages/client/coders.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { VarInt, VarLong, Long, Short, Float, String, Bool, Byte, UByte, Int, ByteArray, Double, Json, Slot, UUID, UShort } from "./coders";
import ByteBuffer from "bytebuffer";
import long from "long";
import v4 from "uuid/v4";
import uuid from "uuid/v4";

describe("Coders", () => {
test("UByte", () => {
Expand Down Expand Up @@ -30,7 +30,7 @@ describe("Coders", () => {
});
test("UUID", () => {
let bb = ByteBuffer.allocate(1024);
let input = v4();
let input = uuid();
UUID.encode(bb, input);
bb.flip();
let output = UUID.decode(bb);
Expand Down
63 changes: 63 additions & 0 deletions packages/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@xmcl/nbt": "file:../nbt",
"@xmcl/text-component": "file:../text-component",
"bytebuffer": "^5.0.1",
"long": "^3.2.0",
"uuid": "^3.2.1"
"long": "~3",
"uuid": "^7.0.2"
},
"scripts": {
"compile": "tsc --build tsconfig.json",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/launch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function waitGameProcess(process: ChildProcess, ...hints: string[]) {
const found = new Array<boolean>(hints.length);
found.fill(false);
return new Promise((resolve, reject) => {
process.stdout.on("data", (chunk) => {
process.stdout!!.on("data", (chunk) => {
const content = chunk.toString();
for (let i = 0; i < hints.length; i++) {
if (content.indexOf(hints[i]) !== -1) {
Expand All @@ -37,7 +37,7 @@ function waitGameProcess(process: ChildProcess, ...hints: string[]) {
process.kill("SIGINT");
}
});
process.stderr.on("data", (chunk) => {
process.stderr!!.on("data", (chunk) => {
console.warn(chunk.toString());
});
process.on("exit", (code, signal) => {
Expand Down Expand Up @@ -98,7 +98,7 @@ describe("Launcher", () => {
version: "1.12.2",
});
await new Promise((resolve, reject) => {
proc.stdout.on("data", (buf) => {
proc.stdout!!.on("data", (buf) => {
const str = buf.toString();
console.warn(str);
if (str.indexOf("Starting minecraft server version 1.12.2") !== -1) {
Expand Down
43 changes: 43 additions & 0 deletions packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions packages/forge-site-parser/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/gamesetting/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading