@bash0816/claude-code 2.1.200 → 2.1.202
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.
package/README.md
CHANGED
|
@@ -410,6 +410,24 @@
|
|
|
410
410
|
"tarball_integrity": "sha512-FG0hXbPLzsmmtpbWwc1t1mbZ2HsrBNmn/QLkVMvYXAzxf4vXrHgM7AIZU1cCBNycufXwPAnyzOwO886kkBle7Q==",
|
|
411
411
|
"tarball_sha256": "d7010d06bae10be2dca703633c730d52c5c1391165e8eccd49ff6e7c2571c244",
|
|
412
412
|
"status": "offset_discovered"
|
|
413
|
+
},
|
|
414
|
+
"2.1.201": {
|
|
415
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.201",
|
|
416
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.201",
|
|
417
|
+
"entry_js_offset": 227601156,
|
|
418
|
+
"entry_end_offset": 246293196,
|
|
419
|
+
"tarball_integrity": "sha512-3/5r/T5+zb8oxhkoO6nGNfaSpmRxCKfDxMx1oIEXVUhjXhqGCP1DAp+DgL5o76HaJgerL9euBKxSNuDiDAfrjg==",
|
|
420
|
+
"tarball_sha256": "f8e1966c35b1cd48445399eb17258d8619329ce2db48cfe4f335857d83e81c7d",
|
|
421
|
+
"status": "termux_verified"
|
|
422
|
+
},
|
|
423
|
+
"2.1.202": {
|
|
424
|
+
"wrapper_spec": "@anthropic-ai/claude-code@2.1.202",
|
|
425
|
+
"native_spec": "@anthropic-ai/claude-code-linux-arm64@2.1.202",
|
|
426
|
+
"entry_js_offset": 234690308,
|
|
427
|
+
"entry_end_offset": 256775735,
|
|
428
|
+
"tarball_integrity": "sha512-9UBnDApKhqiUT3iX3i4hU8P4BztWvQkM5ZiLNBXPS4B9yBRrTc68fYG/I3WxC7Gt/+cV5ekTSGf8GUmMVpoERQ==",
|
|
429
|
+
"tarball_sha256": "046411b9737e1bcb1c811e28c5278550a560062029411061dc559e23e77660e7",
|
|
430
|
+
"status": "offset_discovered"
|
|
413
431
|
}
|
|
414
432
|
}
|
|
415
433
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"package_name": "@bash0816/claude-code",
|
|
4
|
-
"latest_audited_version": "2.1.
|
|
5
|
-
"latest_candidate_version": "2.1.
|
|
6
|
-
"previous_stable_version": "2.1.
|
|
7
|
-
"stable_pinned_version": "2.1.
|
|
4
|
+
"latest_audited_version": "2.1.201",
|
|
5
|
+
"latest_candidate_version": "2.1.202",
|
|
6
|
+
"previous_stable_version": "2.1.200",
|
|
7
|
+
"stable_pinned_version": "2.1.193",
|
|
8
8
|
"manifest_url": "https://raw.githubusercontent.com/bash0816/ClaudeCode-Termux/main/config/claude-termux-release-manifest.json"
|
|
9
9
|
}
|
|
@@ -583,6 +583,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
583
583
|
const _bunPropertyAccessExpected = (() => {
|
|
584
584
|
const _ver = String(process.env.CURRENT_CLAUDE_VERSION || '');
|
|
585
585
|
const _m = _ver.match(/^(\d+)\.(\d+)\.(\d+)/);
|
|
586
|
+
if (_m && (Number(_m[1]) > 2 || Number(_m[2]) > 1 || Number(_m[3]) >= 202)) return 41;
|
|
586
587
|
if (_m && (Number(_m[1]) > 2 || Number(_m[2]) > 1 || Number(_m[3]) >= 200)) return 40;
|
|
587
588
|
return 37;
|
|
588
589
|
})();
|
|
@@ -1266,6 +1267,7 @@ function rewriteNativeChunkSource(source) {
|
|
|
1266
1267
|
const _bunPropertyAccessExpected = (() => {
|
|
1267
1268
|
const _ver = String(process.env.CURRENT_CLAUDE_VERSION || '');
|
|
1268
1269
|
const _m = _ver.match(/^(\d+)\.(\d+)\.(\d+)/);
|
|
1270
|
+
if (_m && (Number(_m[1]) > 2 || Number(_m[2]) > 1 || Number(_m[3]) >= 202)) return 41;
|
|
1269
1271
|
if (_m && (Number(_m[1]) > 2 || Number(_m[2]) > 1 || Number(_m[3]) >= 200)) return 40;
|
|
1270
1272
|
return 37;
|
|
1271
1273
|
})();
|
|
@@ -323,6 +323,27 @@ test('rewriteNativeChunkSource rewrites the synthetic bundle slice (version 2.1.
|
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
+
test('rewriteNativeChunkSource rewrites the synthetic bundle slice (version 2.1.202)', () => {
|
|
327
|
+
process.env.CURRENT_CLAUDE_VERSION = '2.1.202';
|
|
328
|
+
try {
|
|
329
|
+
const { rewriteNativeChunkSource } = loadHelperApi();
|
|
330
|
+
const typeofBun = Array.from({ length: 7 }, () => 'typeof Bun').join('; ');
|
|
331
|
+
const bunProps = Array.from({ length: 41 }, (_, index) => `Bun.p${index}`).join('; ');
|
|
332
|
+
const source = `function(exports, require, module, __filename, __dirname) { ${typeofBun}; typeof globalThis.Bun; globalThis.Bun; ${bunProps}; npmInstallDeprecated:!0 }`;
|
|
333
|
+
const patched = rewriteNativeChunkSource(source);
|
|
334
|
+
|
|
335
|
+
assert.match(patched, /var __claudeBun = globalThis\.__claudeBunShim;/);
|
|
336
|
+
assert.match(patched, /typeof __claudeBun/);
|
|
337
|
+
assert.match(patched, /typeof globalThis\.__claudeBun/);
|
|
338
|
+
assert.match(patched, /globalThis\.__claudeBun/);
|
|
339
|
+
assert.match(patched, /__claudeBun\./);
|
|
340
|
+
assert.match(patched, /npmInstallDeprecated:!1/);
|
|
341
|
+
assert.doesNotMatch(patched, /npmInstallDeprecated:!0/);
|
|
342
|
+
} finally {
|
|
343
|
+
delete process.env.CURRENT_CLAUDE_VERSION;
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
|
|
326
347
|
test('rewriteNativeChunkSource rejects unexpected replacement counts', () => {
|
|
327
348
|
const { rewriteNativeChunkSource } = loadHelperApi();
|
|
328
349
|
const source = buildSyntheticBundleSource().replace('Bun.p30;', '');
|