mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bump version
This commit is contained in:
7 files changed
+23
-11
No files matched your search
@@ -67,7 +67,7 @@ async function runWebpack({
|
||||
if (fs.existsSync(statsPath)) {
|
||||
log('Compare to last production bundle:');
|
||||
const oldStats = JSON.parse(await fs.readFile(statsPath, 'utf-8')) as Record<string, number>;
|
||||
for (const key in stats) if (!oldStats[key]) oldStats[key] = 0;
|
||||
for (const key in stats) oldStats[key] ||= 0;
|
||||
const entries: [filename: string, orig: number, curr: number][] = [];
|
||||
for (const [key, value] of Object.entries(oldStats)) {
|
||||
if (Math.abs((stats[key] || 0) - value) > 25) entries.push([key, value, stats[key] || 0]);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.48.12",
|
||||
"version": "4.48.13",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in new issue
Block a user