@bash0816/claude-code 2.1.153-1 → 2.1.153-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -153,6 +153,13 @@
|
|
|
153
153
|
"entry_js_offset": 222525028,
|
|
154
154
|
"entry_end_offset": 237958345,
|
|
155
155
|
"status": "termux_verified"
|
|
156
|
+
},
|
|
157
|
+
"2.1.153-2": {
|
|
158
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.153",
|
|
159
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.153",
|
|
160
|
+
"entry_js_offset": 222525028,
|
|
161
|
+
"entry_end_offset": 237958345,
|
|
162
|
+
"status": "termux_verified"
|
|
156
163
|
}
|
|
157
164
|
}
|
|
158
165
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"canonical_manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json",
|
|
6
6
|
"canonical_repository_url": "https://github.com/bash0816/ClaudeCode-Termux",
|
|
7
7
|
"bridge_package_version": "2.1.123",
|
|
8
|
-
"default_native_version": "2.1.153-
|
|
9
|
-
"latest_audited_version": "2.1.153-
|
|
10
|
-
"latest_candidate_version": "2.1.153-
|
|
11
|
-
"previous_stable_version": "2.1.153",
|
|
12
|
-
"manifest_url": "https://raw.githubusercontent.com/bash0816/
|
|
8
|
+
"default_native_version": "2.1.153-2",
|
|
9
|
+
"latest_audited_version": "2.1.153-2",
|
|
10
|
+
"latest_candidate_version": "2.1.153-2",
|
|
11
|
+
"previous_stable_version": "2.1.153-1",
|
|
12
|
+
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
13
13
|
}
|
package/lib/check-updates.js
CHANGED
|
@@ -24,8 +24,14 @@ const canonicalPackageName = process.env.CLAUDE_TERMUX_CANONICAL_PACKAGE_NAME ||
|
|
|
24
24
|
const canonicalRepositoryUrl = process.env.CLAUDE_TERMUX_CANONICAL_REPOSITORY_URL || localManifest.canonical_repository_url || '';
|
|
25
25
|
|
|
26
26
|
function compareVersions(a, b) {
|
|
27
|
-
const
|
|
28
|
-
|
|
27
|
+
const parse = v => {
|
|
28
|
+
const [main, patch] = String(v).split('-');
|
|
29
|
+
const parts = main.split('.').map(Number);
|
|
30
|
+
parts.push(patch !== undefined ? Number(patch) : 0);
|
|
31
|
+
return parts;
|
|
32
|
+
};
|
|
33
|
+
const aParts = parse(a);
|
|
34
|
+
const bParts = parse(b);
|
|
29
35
|
const len = Math.max(aParts.length, bParts.length);
|
|
30
36
|
for (let index = 0; index < len; index += 1) {
|
|
31
37
|
const diff = (aParts[index] || 0) - (bParts[index] || 0);
|