Skip to content

Commit

Permalink
Merge pull request #2177 from k-nero/development
Browse files Browse the repository at this point in the history
fix: Update dependency, fix skin rendering, fix redis connection,
  • Loading branch information
Shiiyu authored Feb 2, 2024
2 parents fc02c4e + b30a2b9 commit fbd34d9
Show file tree
Hide file tree
Showing 56 changed files with 1,671 additions and 1,853 deletions.
6 changes: 3 additions & 3 deletions misc/benchmarks/get-texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const suite = new Benchmark.Suite("custom-resources: getTexture", {
console.log(
`Hertz per texture: %s hz (Processed textures: %s) \r\n`,
itemCompleteData.hz_per_texture.toFixed(2),
itemCompleteData.processed_textures
itemCompleteData.processed_textures,
);

completeData[itemId] = itemCompleteData;
Expand All @@ -65,7 +65,7 @@ const suite = new Benchmark.Suite("custom-resources: getTexture", {
(
Object.values(completeData).reduce((sum, { hz_per_texture }) => sum + hz_per_texture, 0) /
Object.keys(completeData).length
).toFixed(2)
).toFixed(2),
);

process.exit();
Expand Down Expand Up @@ -93,7 +93,7 @@ for (const itemId of testItemIds) {
async () => {
await customResources.getTexture(testItems[itemId]);
},
{ async: true }
{ async: true },
);
}

Expand Down
84 changes: 43 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,68 +49,70 @@
"dependencies": {
"apng2gif-bin": "^1.7.1",
"async-retry": "^1.3.3",
"axios": "^1.0.0",
"axios": "^1.6.5",
"axios-debug-log": "^1.0.0",
"body-parser": "^1.20.0",
"bcrypt": "^5.1.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.2",
"bowser": "^2.11.0",
"canvas": "^2.11.0",
"connect-mongo": "^4.6.0",
"canvas": "^2.11.2",
"connect-mongo": "^5.1.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"css": "^3.0.0",
"ejs": "^3.1.8",
"ejs": "^3.1.9",
"express": "^4.18.2",
"express-session": "^1.17.3",
"fs-extra": "^11.1.0",
"ioredis": "^5.2.3",
"lilyweight": "^2.7.0",
"lit": "^2.6.1",
"lodash": "^4.17.20",
"fs-extra": "^11.2.0",
"ioredis": "^5.3.2",
"lilyweight": "^2.7.2",
"lit": "^3.1.1",
"lodash": "^4.17.21",
"micromatch": "^4.0.5",
"minecraft-data": "^3.27.0",
"moment": "^2.29.4",
"minecraft-data": "^3.59.3",
"moment": "^2.30.1",
"moment-duration-format": "^2.3.2",
"moment-timezone": "^0.5.37",
"moment-timezone": "^0.5.44",
"mongo-sanitize": "^1.1.0",
"mongodb": "^5.0.1",
"node-fetch": "^3.2.10",
"prismarine-nbt": "^2.2.1",
"mongodb": "^6.3.0",
"node-fetch": "^3.3.2",
"prismarine-nbt": "^2.5.0",
"progress": "^2.0.3",
"relaxed-json": "^1.0.3",
"sharp": "^0.30.7",
"sharp": "^0.33.2",
"sitemap": "^7.1.1",
"skinview3d": "^2.2.1",
"skyhelper-networth": "^1.18.0",
"skinview3d": "^3.0.1",
"skyhelper-networth": "^1.18.2",
"tippy.js": "^6.3.7",
"twemoji": "^14.0.2",
"upng-js": "^2.1.0",
"uuid": "^9.0.0"
"uuid": "^9.0.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-replace": "^5.0.0",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.33.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"benchmark": "^2.1.4",
"concurrently": "^7.3.0",
"concurrently": "^8.2.2",
"ejs-lint": "^2.0.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-deprecation": "^1.3.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-lit": "^1.6.1",
"eslint-plugin-wc": "^1.3.2",
"node-watch": "^0.7.3",
"nodemon": "^2.0.19",
"prettier": "2.8.4",
"rollup": "^3.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-lit": "^1.11.0",
"eslint-plugin-wc": "^2.0.4",
"node-watch": "^0.7.4",
"nodemon": "^3.0.3",
"prettier": "3.2.4",
"rollup": "^4.9.6",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-minify-html-literals": "^1.2.6",
"sass": "^1.54.8",
"ts-lit-plugin": "^1.2.1",
"typescript": "^4.7.4"
"sass": "^1.70.0",
"ts-lit-plugin": "^2.0.2",
"typescript": "^5.3.3"
}
}
Loading

0 comments on commit fbd34d9

Please sign in to comment.