From ba69a04603897b1aef61e312b484da8e182daea3 Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Sun, 29 Dec 2024 21:43:16 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E7=89=8C=E7=90=86=E3=81=AE=E7=89=8C?= =?UTF-8?q?=E5=A7=BF=E3=81=AE=E5=85=A5=E5=8A=9B=E3=81=AE=E9=9A=9B=E3=81=AB?= =?UTF-8?q?=E3=82=AB=E3=83=BC=E3=82=BD=E3=83=AB=E3=82=AD=E3=83=BC=E3=81=8C?= =?UTF-8?q?=E4=BD=BF=E3=81=88=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/paili.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/js/paili.js b/src/js/paili.js index 044d0ba..1db5126 100644 --- a/src/js/paili.js +++ b/src/js/paili.js @@ -71,7 +71,12 @@ function set_handler() { dapai(p); }); } - setSelector($('.shoupai .bingpai .pai[tabindex]'), 'dapai', {focus: -1}); + setSelector($('.shoupai .bingpai .pai[tabindex]'), 'dapai', {focus: null}); +} + +function clear_handler() { + view.shoupai.redraw(); + clearSelector('dapai'); } function dapai(p) { @@ -180,6 +185,8 @@ $(function(){ $('input[name="paistr"]').trigger('focus'); history.replaceState('', '', location.href.replace(/#.*$/,'')); }); + $('form [name="paistr"]').on('focus', clear_handler) + .on('blur', set_handler); let paistr = location.hash.replace(/^#/,''); qipai(paistr); From 67ee00668605ee10afe34bb11d7522b11f39090f Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Sun, 29 Dec 2024 21:49:07 +0800 Subject: [PATCH 2/8] =?UTF-8?q?@kobalab/majiang-core=201.3.1=20=E2=86=92?= =?UTF-8?q?=201.3.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index c5a58b1..2c656f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@kobalab/majiang-ai": "^1.0.10", - "@kobalab/majiang-core": "^1.3.1", + "@kobalab/majiang-core": "^1.3.2", "@kobalab/majiang-ui": "^1.4.11", "@kobalab/tenhou-url-log": "^1.0.2", "jquery": "^3.7.1" @@ -161,9 +161,9 @@ } }, "node_modules/@kobalab/majiang-core": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@kobalab/majiang-core/-/majiang-core-1.3.1.tgz", - "integrity": "sha512-5qWMX05vnMZYfEUuNbk+DxY/5FVDiHAXBhsnqzt/D+8fS9h+7OSYjpYY1Lx/RLaJkOlH48Cz37UzyJEtj7zK3Q==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@kobalab/majiang-core/-/majiang-core-1.3.2.tgz", + "integrity": "sha512-U2/1IVLnPeHpkNGfkmfkF5jJkptIOuLETA2YiNhsiKjqLOXB0q6u7Xb1iJgxfXu0JJE83H1Hr7oSZmhIfTlnpw==", "license": "MIT" }, "node_modules/@kobalab/majiang-ui": { @@ -2489,9 +2489,9 @@ } }, "@kobalab/majiang-core": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@kobalab/majiang-core/-/majiang-core-1.3.1.tgz", - "integrity": "sha512-5qWMX05vnMZYfEUuNbk+DxY/5FVDiHAXBhsnqzt/D+8fS9h+7OSYjpYY1Lx/RLaJkOlH48Cz37UzyJEtj7zK3Q==" + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@kobalab/majiang-core/-/majiang-core-1.3.2.tgz", + "integrity": "sha512-U2/1IVLnPeHpkNGfkmfkF5jJkptIOuLETA2YiNhsiKjqLOXB0q6u7Xb1iJgxfXu0JJE83H1Hr7oSZmhIfTlnpw==" }, "@kobalab/majiang-ui": { "version": "1.4.11", diff --git a/package.json b/package.json index 05a83d9..a8c4137 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "dependencies": { "@kobalab/majiang-ai": "^1.0.10", - "@kobalab/majiang-core": "^1.3.1", + "@kobalab/majiang-core": "^1.3.2", "@kobalab/majiang-ui": "^1.4.11", "@kobalab/tenhou-url-log": "^1.0.2", "jquery": "^3.7.1" From c9ad8d43fc645192743a3dbb96e0a6b012da7b67 Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Sun, 29 Dec 2024 21:49:54 +0800 Subject: [PATCH 3/8] =?UTF-8?q?@kobalab/majiang-ai=201.0.10=20=E2=86=92=20?= =?UTF-8?q?1.0.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 19 ++++++++++--------- package.json | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2c656f2..2996435 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.4.11", "license": "MIT", "dependencies": { - "@kobalab/majiang-ai": "^1.0.10", + "@kobalab/majiang-ai": "^1.0.12", "@kobalab/majiang-core": "^1.3.2", "@kobalab/majiang-ui": "^1.4.11", "@kobalab/tenhou-url-log": "^1.0.2", @@ -153,11 +153,12 @@ } }, "node_modules/@kobalab/majiang-ai": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/@kobalab/majiang-ai/-/majiang-ai-1.0.10.tgz", - "integrity": "sha512-yidLC2TM+ERETwNuPykLCbvPsxuaWxUVK/QOVcJ39W1Vi62aKpqLS4VwZ0ZcB4uUSfTZeMrDESlJwJUmzX+D3g==", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@kobalab/majiang-ai/-/majiang-ai-1.0.12.tgz", + "integrity": "sha512-7Gmm5AQdpiA375xGAu4lDSWE3vZXUfgO6vHweHMOGftVCVLS/6rWYc1dKjKrJGaq45qn4lZOq8O9Bx0fihX4+Q==", + "license": "MIT", "dependencies": { - "@kobalab/majiang-core": "^1.2.1" + "@kobalab/majiang-core": "^1.3.2" } }, "node_modules/@kobalab/majiang-core": { @@ -2481,11 +2482,11 @@ } }, "@kobalab/majiang-ai": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/@kobalab/majiang-ai/-/majiang-ai-1.0.10.tgz", - "integrity": "sha512-yidLC2TM+ERETwNuPykLCbvPsxuaWxUVK/QOVcJ39W1Vi62aKpqLS4VwZ0ZcB4uUSfTZeMrDESlJwJUmzX+D3g==", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@kobalab/majiang-ai/-/majiang-ai-1.0.12.tgz", + "integrity": "sha512-7Gmm5AQdpiA375xGAu4lDSWE3vZXUfgO6vHweHMOGftVCVLS/6rWYc1dKjKrJGaq45qn4lZOq8O9Bx0fihX4+Q==", "requires": { - "@kobalab/majiang-core": "^1.2.1" + "@kobalab/majiang-core": "^1.3.2" } }, "@kobalab/majiang-core": { diff --git a/package.json b/package.json index a8c4137..34dea04 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "webpack-cli": "^5.1.4" }, "dependencies": { - "@kobalab/majiang-ai": "^1.0.10", + "@kobalab/majiang-ai": "^1.0.12", "@kobalab/majiang-core": "^1.3.2", "@kobalab/majiang-ui": "^1.4.11", "@kobalab/tenhou-url-log": "^1.0.2", From 73566c530ff4053761d1966a33305c781097605d Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Sun, 29 Dec 2024 21:51:52 +0800 Subject: [PATCH 4/8] =?UTF-8?q?@kobalab/majiang-ui=201.4.11=20=E2=86=92=20?= =?UTF-8?q?1.4.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 43 ++++++++++++++++++++++--------------------- package.json | 2 +- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2996435..3aaa474 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@kobalab/majiang-ai": "^1.0.12", "@kobalab/majiang-core": "^1.3.2", - "@kobalab/majiang-ui": "^1.4.11", + "@kobalab/majiang-ui": "^1.4.12", "@kobalab/tenhou-url-log": "^1.0.2", "jquery": "^3.7.1" }, @@ -168,15 +168,15 @@ "license": "MIT" }, "node_modules/@kobalab/majiang-ui": { - "version": "1.4.11", - "resolved": "https://registry.npmjs.org/@kobalab/majiang-ui/-/majiang-ui-1.4.11.tgz", - "integrity": "sha512-CbUsbPfN6XAYqiehP8RlyfIIkyx7PkBegogb5aLJQLh6BUTgqtZRmXS2FrdtbsqpWfrhRe6ImpHxl54/KE5hLw==", + "version": "1.4.12", + "resolved": "https://registry.npmjs.org/@kobalab/majiang-ui/-/majiang-ui-1.4.12.tgz", + "integrity": "sha512-c8TNliaIqzb1zknCSS+CaGnMZd09wV3d6j645AkaWXYdbWKieVROFpTtjq92+m+GBUGFkZIPw597ZJjGOXZ6Gw==", "license": "MIT", "dependencies": { - "@kobalab/majiang-ai": "^1.0.10", - "@kobalab/majiang-core": "^1.3.1", + "@kobalab/majiang-ai": "^1.0.12", + "@kobalab/majiang-core": "^1.3.2", "jquery": "^3.7.1", - "jquery-ui": "^1.13.2" + "jquery-ui": "^1.14.1" } }, "node_modules/@kobalab/tenhou-url-log": { @@ -1215,11 +1215,12 @@ "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==" }, "node_modules/jquery-ui": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.2.tgz", - "integrity": "sha512-wBZPnqWs5GaYJmo1Jj0k/mrSkzdQzKDwhXNtHKcBdAcKVxMM3KNYFq+iJ2i1rwiG53Z8M4mTn3Qxrm17uH1D4Q==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.14.1.tgz", + "integrity": "sha512-DhzsYH8VeIvOaxwi+B/2BCsFFT5EGjShdzOcm5DssWjtcpGWIMsn66rJciDA6jBruzNiLf1q0KvwMoX1uGNvnQ==", + "license": "MIT", "dependencies": { - "jquery": ">=1.8.0 <4.0.0" + "jquery": ">=1.12.0 <5.0.0" } }, "node_modules/js-stringify": { @@ -2495,14 +2496,14 @@ "integrity": "sha512-U2/1IVLnPeHpkNGfkmfkF5jJkptIOuLETA2YiNhsiKjqLOXB0q6u7Xb1iJgxfXu0JJE83H1Hr7oSZmhIfTlnpw==" }, "@kobalab/majiang-ui": { - "version": "1.4.11", - "resolved": "https://registry.npmjs.org/@kobalab/majiang-ui/-/majiang-ui-1.4.11.tgz", - "integrity": "sha512-CbUsbPfN6XAYqiehP8RlyfIIkyx7PkBegogb5aLJQLh6BUTgqtZRmXS2FrdtbsqpWfrhRe6ImpHxl54/KE5hLw==", + "version": "1.4.12", + "resolved": "https://registry.npmjs.org/@kobalab/majiang-ui/-/majiang-ui-1.4.12.tgz", + "integrity": "sha512-c8TNliaIqzb1zknCSS+CaGnMZd09wV3d6j645AkaWXYdbWKieVROFpTtjq92+m+GBUGFkZIPw597ZJjGOXZ6Gw==", "requires": { - "@kobalab/majiang-ai": "^1.0.10", - "@kobalab/majiang-core": "^1.3.1", + "@kobalab/majiang-ai": "^1.0.12", + "@kobalab/majiang-core": "^1.3.2", "jquery": "^3.7.1", - "jquery-ui": "^1.13.2" + "jquery-ui": "^1.14.1" } }, "@kobalab/tenhou-url-log": { @@ -3287,11 +3288,11 @@ "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==" }, "jquery-ui": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.2.tgz", - "integrity": "sha512-wBZPnqWs5GaYJmo1Jj0k/mrSkzdQzKDwhXNtHKcBdAcKVxMM3KNYFq+iJ2i1rwiG53Z8M4mTn3Qxrm17uH1D4Q==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.14.1.tgz", + "integrity": "sha512-DhzsYH8VeIvOaxwi+B/2BCsFFT5EGjShdzOcm5DssWjtcpGWIMsn66rJciDA6jBruzNiLf1q0KvwMoX1uGNvnQ==", "requires": { - "jquery": ">=1.8.0 <4.0.0" + "jquery": ">=1.12.0 <5.0.0" } }, "js-stringify": { diff --git a/package.json b/package.json index 34dea04..38a065d 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "dependencies": { "@kobalab/majiang-ai": "^1.0.12", "@kobalab/majiang-core": "^1.3.2", - "@kobalab/majiang-ui": "^1.4.11", + "@kobalab/majiang-ui": "^1.4.12", "@kobalab/tenhou-url-log": "^1.0.2", "jquery": "^3.7.1" } From 4afe2562fce76e7cd0f91076f862fc16b983d0c6 Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Sun, 29 Dec 2024 21:53:13 +0800 Subject: [PATCH 5/8] =?UTF-8?q?@kobalab/tenhou-url-log=201.0.2=20=E2=86=92?= =?UTF-8?q?=201.0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3aaa474..04d3b81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@kobalab/majiang-ai": "^1.0.12", "@kobalab/majiang-core": "^1.3.2", "@kobalab/majiang-ui": "^1.4.12", - "@kobalab/tenhou-url-log": "^1.0.2", + "@kobalab/tenhou-url-log": "^1.0.3", "jquery": "^3.7.1" }, "devDependencies": { @@ -180,9 +180,9 @@ } }, "node_modules/@kobalab/tenhou-url-log": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@kobalab/tenhou-url-log/-/tenhou-url-log-1.0.2.tgz", - "integrity": "sha512-XLhp5mdluI5lml76tJ2Va1wBahT2c9iW8pi0+wsw9JfkDv8fcTG6F1uDhq5oIEwED+YoVFt9TrniEkuqHIek+g==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@kobalab/tenhou-url-log/-/tenhou-url-log-1.0.3.tgz", + "integrity": "sha512-5plUUMGKPbrafOrQyvxDCDOPW8NUUDNKW79BPsKbUAaI5ZVa6KVYfZTSoQVFoC8USenxlqcUJwbKbEV+TEZRzA==", "license": "MIT", "dependencies": { "yargs": "^17.7.2" @@ -2507,9 +2507,9 @@ } }, "@kobalab/tenhou-url-log": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@kobalab/tenhou-url-log/-/tenhou-url-log-1.0.2.tgz", - "integrity": "sha512-XLhp5mdluI5lml76tJ2Va1wBahT2c9iW8pi0+wsw9JfkDv8fcTG6F1uDhq5oIEwED+YoVFt9TrniEkuqHIek+g==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@kobalab/tenhou-url-log/-/tenhou-url-log-1.0.3.tgz", + "integrity": "sha512-5plUUMGKPbrafOrQyvxDCDOPW8NUUDNKW79BPsKbUAaI5ZVa6KVYfZTSoQVFoC8USenxlqcUJwbKbEV+TEZRzA==", "requires": { "yargs": "^17.7.2" } diff --git a/package.json b/package.json index 38a065d..e3c2062 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@kobalab/majiang-ai": "^1.0.12", "@kobalab/majiang-core": "^1.3.2", "@kobalab/majiang-ui": "^1.4.12", - "@kobalab/tenhou-url-log": "^1.0.2", + "@kobalab/tenhou-url-log": "^1.0.3", "jquery": "^3.7.1" } } From 5ebade7aaffe81a18b6570ebcbeda161f4117ad2 Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Sun, 29 Dec 2024 21:57:32 +0800 Subject: [PATCH 6/8] =?UTF-8?q?stylus=200.62.0=20=E2=86=92=200.64.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 657 ++++++++++++++++++++++++++++++++++------------ package.json | 2 +- 2 files changed, 493 insertions(+), 166 deletions(-) diff --git a/package-lock.json b/package-lock.json index 04d3b81..79a3e9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ }, "devDependencies": { "pug-cli": "^1.0.0-alpha6", - "stylus": "^0.62.0", + "stylus": "^0.64.0", "webpack-cli": "^5.1.4" } }, @@ -34,10 +34,11 @@ } }, "node_modules/@adobe/css-tools": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.2.tgz", - "integrity": "sha512-DA5a1C0gD/pLOvhv33YMrbf2FK3oUzwNl9oOJqE4XVjuEtt6XIakRcsd7eLiOSPkp1kTRQGICTA8cKra/vFbjw==", - "dev": true + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.3.tgz", + "integrity": "sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ==", + "dev": true, + "license": "MIT" }, "node_modules/@babel/helper-validator-identifier": { "version": "7.16.7", @@ -82,6 +83,109 @@ "node": ">=10.0.0" } }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", @@ -191,6 +295,17 @@ "tenhou-url-log": "command.js" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -549,16 +664,17 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "node_modules/browserslist": { @@ -713,12 +829,6 @@ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, "node_modules/constantinople": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-4.0.1.tgz", @@ -768,6 +878,13 @@ "dev": true, "license": "MIT" }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, "node_modules/electron-to-chromium": { "version": "1.4.616", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", @@ -927,11 +1044,22 @@ "flat": "cli.js" } }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, "node_modules/function-bind": { "version": "1.1.1", @@ -963,20 +1091,21 @@ } }, "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, + "license": "ISC", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" }, - "engines": { - "node": "*" + "bin": { + "glob": "dist/esm/bin.mjs" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -1088,22 +1217,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "node_modules/interpret": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", @@ -1193,6 +1306,22 @@ "node": ">=0.10.0" } }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jest-worker": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", @@ -1286,6 +1415,13 @@ "node": ">=8" } }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -1318,15 +1454,19 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/minimist": { @@ -1335,6 +1475,16 @@ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -1376,15 +1526,6 @@ "node": ">=0.10.0" } }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -1421,6 +1562,13 @@ "node": ">=6" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -1430,15 +1578,6 @@ "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -1454,6 +1593,23 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -1795,10 +1951,11 @@ "peer": true }, "node_modules/sax": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz", - "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==", - "dev": true + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", + "dev": true, + "license": "ISC" }, "node_modules/schema-utils": { "version": "3.3.0", @@ -1864,6 +2021,19 @@ "node": ">=8" } }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/source-map": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", @@ -1910,6 +2080,22 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -1922,23 +2108,38 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/stylus": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.62.0.tgz", - "integrity": "sha512-v3YCf31atbwJQIMtPNX8hcQ+okD4NQaTuKGUWfII8eaqn+3otrbttGL1zSMZAAtiPsBztQnujVBugg/cXFUpyg==", + "version": "0.64.0", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.64.0.tgz", + "integrity": "sha512-ZIdT8eUv8tegmqy1tTIdJv9We2DumkNZFdCF5mz/Kpq3OcTaxSuCAYZge6HKK2CmNC02G1eJig2RV7XTw5hQrA==", "dev": true, + "license": "MIT", "dependencies": { - "@adobe/css-tools": "~4.3.1", + "@adobe/css-tools": "~4.3.3", "debug": "^4.3.2", - "glob": "^7.1.6", - "sax": "~1.3.0", + "glob": "^10.4.5", + "sax": "~1.4.1", "source-map": "^0.7.3" }, "bin": { "stylus": "bin/stylus" }, "engines": { - "node": "*" + "node": ">=16" }, "funding": { "url": "https://opencollective.com/stylus" @@ -2349,11 +2550,24 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } }, "node_modules/y18n": { "version": "5.0.8", @@ -2394,9 +2608,9 @@ }, "dependencies": { "@adobe/css-tools": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.2.tgz", - "integrity": "sha512-DA5a1C0gD/pLOvhv33YMrbf2FK3oUzwNl9oOJqE4XVjuEtt6XIakRcsd7eLiOSPkp1kTRQGICTA8cKra/vFbjw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.3.tgz", + "integrity": "sha512-rE0Pygv0sEZ4vBWHlAgJLGDU7Pm8xoO6p3wsEceb7GYAjScrOHpEo8KK/eVkAcnSM+slAEtXjA2JpdjLp4fJQQ==", "dev": true }, "@babel/helper-validator-identifier": { @@ -2427,6 +2641,71 @@ "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", "dev": true }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + } + } + } + }, "@jridgewell/gen-mapping": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", @@ -2514,6 +2793,13 @@ "yargs": "^17.7.2" } }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true + }, "@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -2802,13 +3088,12 @@ "dev": true }, "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "balanced-match": "^1.0.0" } }, "browserslist": { @@ -2910,12 +3195,6 @@ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, "constantinople": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-4.0.1.tgz", @@ -2952,6 +3231,12 @@ "integrity": "sha512-LLBi6pEqS6Do3EKQ3J0NqHWV5hhb78Pi8vvESYwyOy2c31ZEZVdtitdzsQsKb7878PEERhzUk0ftqGhG6Mz+pQ==", "dev": true }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "electron-to-chromium": { "version": "1.4.616", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz", @@ -3073,11 +3358,15 @@ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + } }, "function-bind": { "version": "1.1.1", @@ -3102,17 +3391,17 @@ } }, "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" } }, "glob-to-regexp": { @@ -3187,22 +3476,6 @@ "resolve-cwd": "^3.0.0" } }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, "interpret": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", @@ -3270,6 +3543,16 @@ "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true }, + "jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, "jest-worker": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", @@ -3347,6 +3630,12 @@ "p-locate": "^4.1.0" } }, + "lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true + }, "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -3372,12 +3661,12 @@ } }, "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" } }, "minimist": { @@ -3386,6 +3675,12 @@ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, + "minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true + }, "mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -3421,15 +3716,6 @@ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "requires": { - "wrappy": "1" - } - }, "p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -3454,18 +3740,18 @@ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true }, + "package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true + }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true - }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -3478,6 +3764,16 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + } + }, "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -3752,9 +4048,9 @@ "peer": true }, "sax": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz", - "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", "dev": true }, "schema-utils": { @@ -3803,6 +4099,12 @@ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + }, "source-map": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", @@ -3839,6 +4141,17 @@ "strip-ansi": "^6.0.1" } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -3847,16 +4160,25 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "stylus": { - "version": "0.62.0", - "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.62.0.tgz", - "integrity": "sha512-v3YCf31atbwJQIMtPNX8hcQ+okD4NQaTuKGUWfII8eaqn+3otrbttGL1zSMZAAtiPsBztQnujVBugg/cXFUpyg==", + "version": "0.64.0", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.64.0.tgz", + "integrity": "sha512-ZIdT8eUv8tegmqy1tTIdJv9We2DumkNZFdCF5mz/Kpq3OcTaxSuCAYZge6HKK2CmNC02G1eJig2RV7XTw5hQrA==", "dev": true, "requires": { - "@adobe/css-tools": "~4.3.1", + "@adobe/css-tools": "~4.3.3", "debug": "^4.3.2", - "glob": "^7.1.6", - "sax": "~1.3.0", + "glob": "^10.4.5", + "sax": "~1.4.1", "source-map": "^0.7.3" } }, @@ -4109,11 +4431,16 @@ "strip-ansi": "^6.0.0" } }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } }, "y18n": { "version": "5.0.8", diff --git a/package.json b/package.json index e3c2062..2364093 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "pug-cli": "^1.0.0-alpha6", - "stylus": "^0.62.0", + "stylus": "^0.64.0", "webpack-cli": "^5.1.4" }, "dependencies": { From 51f5273cf3a544c4d78426842b5fc56161d11bf6 Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Sun, 29 Dec 2024 22:28:58 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E7=89=8C=E7=90=86=E3=81=AE=E7=89=8C?= =?UTF-8?q?=E5=A7=BF=E3=81=AE=E5=85=A5=E5=8A=9B=E3=81=AE=E9=9A=9B=E3=81=AB?= =?UTF-8?q?=E3=82=AB=E3=83=BC=E3=82=BD=E3=83=AB=E3=82=AD=E3=83=BC=E3=81=8C?= =?UTF-8?q?=E4=BD=BF=E3=81=88=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92?= =?UTF-8?q?=E5=86=8D=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/paili.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/paili.js b/src/js/paili.js index 1db5126..7605068 100644 --- a/src/js/paili.js +++ b/src/js/paili.js @@ -58,7 +58,7 @@ function qipai(paistr) { paili(1); } -function set_handler() { +function set_handler(focus = -1) { for (let p of model.shoupai.get_dapai()) { let pai = $(p.slice(-1) == '_' @@ -71,7 +71,7 @@ function set_handler() { dapai(p); }); } - setSelector($('.shoupai .bingpai .pai[tabindex]'), 'dapai', {focus: null}); + setSelector($('.shoupai .bingpai .pai[tabindex]'), 'dapai', {focus: focus}); } function clear_handler() { @@ -186,7 +186,7 @@ $(function(){ history.replaceState('', '', location.href.replace(/#.*$/,'')); }); $('form [name="paistr"]').on('focus', clear_handler) - .on('blur', set_handler); + .on('blur', ()=> set_handler(null)); let paistr = location.hash.replace(/^#/,''); qipai(paistr); From 811edf828fae2cebb6326ae9b9f7c913a14211ee Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Mon, 30 Dec 2024 11:25:09 +0800 Subject: [PATCH 8/8] v2.4.12 / 2024-12-30 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 牌理の牌姿の入力の際にカーソルキーが使えない問題を修正 - @kobalab/majiang-core 1.3.1 → 1.3.2 - 伏せ牌の扱いを変更 - fromString() は記述順に14枚まで使用する(伏せ牌を優先しない) - toString() は伏せ牌を右側に配置する - @kobalab/majiang-ai 1.0.10 → 1.0.12 - @kobalab/majiang-ui 1.4.11 → 1.4.12 - 牌譜エディタに不正な面子の入力を補正する処理を追加 - 手牌中の伏せ牌を右側に表示するよう修正 - @kobalab/tenhou-url-log 1.0.2 → 1.0.3 - パッケージを最新化 - stylus 0.62.0 → 0.64.0 --- ChangeLog.md | 15 +++++++++++++++ package-lock.json | 4 ++-- package.json | 4 ++-- src/html/inc/version.pug | 2 +- src/js/autoplay.js | 2 +- src/js/dapai.js | 2 +- src/js/drill.js | 2 +- src/js/hule.js | 2 +- src/js/index.js | 2 +- src/js/majiang.js | 4 ++-- src/js/netplay.js | 2 +- src/js/paiga.js | 2 +- src/js/paili.js | 2 +- src/js/paipu.js | 2 +- src/js/rule.js | 2 +- 15 files changed, 32 insertions(+), 17 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index a151de9..e3d9ad9 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,18 @@ +### v2.4.12 / 2024-12-30 + + - 牌理の牌姿の入力の際にカーソルキーが使えない問題を修正 + - @kobalab/majiang-core 1.3.1 → 1.3.2 + - 伏せ牌の扱いを変更 + - fromString() は記述順に14枚まで使用する(伏せ牌を優先しない) + - toString() は伏せ牌を右側に配置する + - @kobalab/majiang-ai 1.0.10 → 1.0.12 + - @kobalab/majiang-ui 1.4.11 → 1.4.12 + - 牌譜エディタに不正な面子の入力を補正する処理を追加 + - 手牌中の伏せ牌を右側に表示するよう修正 + - @kobalab/tenhou-url-log 1.0.2 → 1.0.3 + - パッケージを最新化 + - stylus 0.62.0 → 0.64.0 + ### v2.4.11 / 2024-11-30 - @kobalab/majiang-ui 1.4.10 → 1.4.11 diff --git a/package-lock.json b/package-lock.json index 79a3e9d..02576c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "majiang", - "version": "2.4.11", + "version": "2.4.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "majiang", - "version": "2.4.11", + "version": "2.4.12", "license": "MIT", "dependencies": { "@kobalab/majiang-ai": "^1.0.12", diff --git a/package.json b/package.json index 2364093..e154912 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "majiang", - "version": "2.4.11", + "version": "2.4.12", "description": "HTML5 + JavaScript で動作する麻雀アプリ「電脳麻将」", "private": true, "scripts": { "build:html": "pug -o dist -P src/html/page/", - "build:css": "stylus src/css/index.styl -o dist/css/majiang-2.4.11.css", + "build:css": "stylus src/css/index.styl -o dist/css/majiang-2.4.12.css", "build:js": "webpack --mode development --devtool inline-source-map", "build": "npm run build:html && npm run build:css && npm run build:js", "release": "npm run build:html && npm run build:css && webpack --mode production", diff --git a/src/html/inc/version.pug b/src/html/inc/version.pug index 19cccd7..3cfcd48 100644 --- a/src/html/inc/version.pug +++ b/src/html/inc/version.pug @@ -1 +1 @@ -- var version = '2.4.11' +- var version = '2.4.12' diff --git a/src/js/autoplay.js b/src/js/autoplay.js index 34f46fb..4b4fc8b 100644 --- a/src/js/autoplay.js +++ b/src/js/autoplay.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: 自動対戦 v2.4.11 + * 電脳麻将: 自動対戦 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/dapai.js b/src/js/dapai.js index 7710803..d095462 100644 --- a/src/js/dapai.js +++ b/src/js/dapai.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: 何切る解答機 v2.4.11 + * 電脳麻将: 何切る解答機 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/drill.js b/src/js/drill.js index abd4cfd..e221e67 100644 --- a/src/js/drill.js +++ b/src/js/drill.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: 点数計算ドリル v2.4.11 + * 電脳麻将: 点数計算ドリル v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/hule.js b/src/js/hule.js index 5507007..d3b9e90 100644 --- a/src/js/hule.js +++ b/src/js/hule.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: 和了点計算 v2.4.11 + * 電脳麻将: 和了点計算 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/index.js b/src/js/index.js index 990a99e..36388c4 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将 v2.4.11 + * 電脳麻将 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/majiang.js b/src/js/majiang.js index ffe1135..fd2306b 100644 --- a/src/js/majiang.js +++ b/src/js/majiang.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将 v2.4.11 + * 電脳麻将 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license @@ -9,6 +9,6 @@ global.Majiang = require('@kobalab/majiang-core'); global.Majiang.AI = require('@kobalab/majiang-ai'); global.Majiang.UI = require('@kobalab/majiang-ui'); -global.Majiang.VERSION = '2.4.11'; +global.Majiang.VERSION = '2.4.12'; global.jQuery = require('jquery'); global.$ = jQuery; diff --git a/src/js/netplay.js b/src/js/netplay.js index bd003f1..a693e8c 100644 --- a/src/js/netplay.js +++ b/src/js/netplay.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: ネット対戦 v2.4.11 + * 電脳麻将: ネット対戦 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/paiga.js b/src/js/paiga.js index 7678f8e..9906d68 100644 --- a/src/js/paiga.js +++ b/src/js/paiga.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: 牌画入力 v2.4.11 + * 電脳麻将: 牌画入力 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/paili.js b/src/js/paili.js index 7605068..6dae2c6 100644 --- a/src/js/paili.js +++ b/src/js/paili.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: 牌理 v2.4.11 + * 電脳麻将: 牌理 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/paipu.js b/src/js/paipu.js index e67d939..1d98d83 100644 --- a/src/js/paipu.js +++ b/src/js/paipu.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: 牌譜ビューア v2.4.11 + * 電脳麻将: 牌譜ビューア v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license diff --git a/src/js/rule.js b/src/js/rule.js index 2e2dbb1..379f407 100644 --- a/src/js/rule.js +++ b/src/js/rule.js @@ -1,5 +1,5 @@ /*! - * 電脳麻将: ルール設定 v2.4.11 + * 電脳麻将: ルール設定 v2.4.12 * * Copyright(C) 2017 Satoshi Kobayashi * Released under the MIT license