diff --git a/client-src/utils/ansiHTML.ts b/client-src/utils/ansiHTML.ts
index c18bc0d..398e127 100644
--- a/client-src/utils/ansiHTML.ts
+++ b/client-src/utils/ansiHTML.ts
@@ -194,7 +194,9 @@ export default function ansiHTML(text: string) {
// Make sure tags are closed.
const l = ansiCodes.length;
- l > 0 && (ret += Array(l + 1).join(''));
+ if (l > 0) {
+ ret += Array(l + 1).join('');
+ }
return ret;
}
diff --git a/package.json b/package.json
index 7923192..40330ef 100644
--- a/package.json
+++ b/package.json
@@ -52,7 +52,7 @@
"@hono/node-server": "^1.19.14",
"@microsoft/api-extractor": "^7.58.2",
"@rslib/core": "^0.21.1",
- "@rslint/core": "^0.4.2",
+ "@rslint/core": "^0.5.0",
"@rspack/core": "2.0.0-rc.0",
"@rspack/plugin-react-refresh": "1.6.2",
"@rstest/core": "^0.9.7",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9a411c9..9d9cb6c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -22,8 +22,8 @@ importers:
specifier: ^0.21.1
version: 0.21.1(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@microsoft/api-extractor@7.58.2(@types/node@24.12.2))(@module-federation/runtime-tools@2.3.1)(typescript@6.0.2)
'@rslint/core':
- specifier: ^0.4.2
- version: 0.4.2
+ specifier: ^0.5.0
+ version: 0.5.0
'@rspack/core':
specifier: 2.0.0-rc.0
version: 2.0.0-rc.0(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)(@module-federation/runtime-tools@2.3.1)(@swc/helpers@0.5.21)
@@ -357,8 +357,8 @@ packages:
typescript:
optional: true
- '@rslint/core@0.4.2':
- resolution: {integrity: sha512-YlTtjsJXoDftUf+xbMUabWEFnE9ya2p+VyPY3bJGFgqeF4u0yfEOn96/V2GoLMh7HqD6XMsSdg3/0SPxdE9bcA==}
+ '@rslint/core@0.5.0':
+ resolution: {integrity: sha512-RkP/xqWx+Nvj7awvALIpbGnc5ECv8/AjPXqQDixhms4bu4dW5UbNNZ9XbrvJ4JoToUC/Ac5CrwW+nOj7JItSFQ==}
hasBin: true
peerDependencies:
jiti: ^2.0.0
@@ -366,33 +366,33 @@ packages:
jiti:
optional: true
- '@rslint/darwin-arm64@0.4.2':
- resolution: {integrity: sha512-a+YeQA+I/RsNnj9ioak7KOpuKSWjt/hv8lvcMvxLy8r4uVcc6orhmccASfEfcpm1HdZHrEm+HJ25CFd3KZrCwA==}
+ '@rslint/darwin-arm64@0.5.0':
+ resolution: {integrity: sha512-AgsyJBnmXBuTnXAB5YUr6fhgfxvCl+iNRFlCjNN4WiClKEQyRLkU8KAmqVoZWOMyNszDUl9k/KT5P5KrBEJCJQ==}
cpu: [arm64]
os: [darwin]
- '@rslint/darwin-x64@0.4.2':
- resolution: {integrity: sha512-KrQ870EeDXc0V4ncfvZMUEX5uphwemy+Bhia5KDEKURR6rZtpROy/RLLKEn+UkavBJi8ygTv5HXRC4EI6OEHjA==}
+ '@rslint/darwin-x64@0.5.0':
+ resolution: {integrity: sha512-4vxDu0DFzJVsGGxmmGmtSqKOPPfVcJvqxZP7XXDf9isFPg3L9jF+2DW3QL3KL7LO3Q+3zVG9eL+MQslMUf9NSw==}
cpu: [x64]
os: [darwin]
- '@rslint/linux-arm64@0.4.2':
- resolution: {integrity: sha512-E2yEe0ZeMhZNuafrTfKrFy3iWKDMwpnnxCeRzq3AsTmwLmsQDgUZ2iuSxO5EL3eeAJn/7R/hQ3/MKirbcsIWlA==}
+ '@rslint/linux-arm64@0.5.0':
+ resolution: {integrity: sha512-sNdDT7Omf6GttaJOql1915t/6txHlo0mEulLNhuDK4KVD9EnSltQ1uIDeqhNVvsKSnqIuTp3qCWmo1qYv5xKTA==}
cpu: [arm64]
os: [linux]
- '@rslint/linux-x64@0.4.2':
- resolution: {integrity: sha512-vyVsZHLiaGrWrlRFN7l6I+XxCCH4sI3LkhItA//My/chFIo3zyUa6hwooqllpA3Pb/eXdKVfvurF0hceKEQFjw==}
+ '@rslint/linux-x64@0.5.0':
+ resolution: {integrity: sha512-Er/feorEUqOjee1ueE02fHIaPB1haxoGdh3uNqNrm3CUyrBp+Amjb8HL3MRzIYQuYoZWBAw9fU67YG8FxcWUsA==}
cpu: [x64]
os: [linux]
- '@rslint/win32-arm64@0.4.2':
- resolution: {integrity: sha512-1dsU4zm5y+GoO45qLL9pxisXh7NFdX01m26a146rS1bCu9skHqSofmufVYLNrWtnMf7Wso2iaJKVsJya077PRQ==}
+ '@rslint/win32-arm64@0.5.0':
+ resolution: {integrity: sha512-Y895KBuDVfoprZqr1BKX4YwP4kA2cqUuQr1B50+W8yjSRznyotNa09pRqUi+FrgJ5z6x07JjmW3Ggv8t5z9wwg==}
cpu: [arm64]
os: [win32]
- '@rslint/win32-x64@0.4.2':
- resolution: {integrity: sha512-QBZHeBDW3f6pEHZLB7/2/w/KTv1O5RK1dtr9yLdqev93Tcgk9qwXXLm8TB/6JP9tx+0EyVo8f0XSAS1gtLJ9hQ==}
+ '@rslint/win32-x64@0.5.0':
+ resolution: {integrity: sha512-pTvCNr99DQg+22XQ5QkHySOLD4ap3wJ6yuwoW2r/4dW4MbmyDF9FfQGfhH1ZsQA3h20H8/3ANGdKuCbZnjkSrg==}
cpu: [x64]
os: [win32]
@@ -2047,33 +2047,33 @@ snapshots:
- '@typescript/native-preview'
- core-js
- '@rslint/core@0.4.2':
+ '@rslint/core@0.5.0':
dependencies:
picomatch: 4.0.4
optionalDependencies:
- '@rslint/darwin-arm64': 0.4.2
- '@rslint/darwin-x64': 0.4.2
- '@rslint/linux-arm64': 0.4.2
- '@rslint/linux-x64': 0.4.2
- '@rslint/win32-arm64': 0.4.2
- '@rslint/win32-x64': 0.4.2
-
- '@rslint/darwin-arm64@0.4.2':
+ '@rslint/darwin-arm64': 0.5.0
+ '@rslint/darwin-x64': 0.5.0
+ '@rslint/linux-arm64': 0.5.0
+ '@rslint/linux-x64': 0.5.0
+ '@rslint/win32-arm64': 0.5.0
+ '@rslint/win32-x64': 0.5.0
+
+ '@rslint/darwin-arm64@0.5.0':
optional: true
- '@rslint/darwin-x64@0.4.2':
+ '@rslint/darwin-x64@0.5.0':
optional: true
- '@rslint/linux-arm64@0.4.2':
+ '@rslint/linux-arm64@0.5.0':
optional: true
- '@rslint/linux-x64@0.4.2':
+ '@rslint/linux-x64@0.5.0':
optional: true
- '@rslint/win32-arm64@0.4.2':
+ '@rslint/win32-arm64@0.5.0':
optional: true
- '@rslint/win32-x64@0.4.2':
+ '@rslint/win32-x64@0.5.0':
optional: true
'@rspack/binding-darwin-arm64@2.0.0-beta.7':