ituran-axi 0.1.5 → 0.1.6

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.
@@ -19,4 +19,7 @@ const code = await main(process.argv.slice(2), {
19
19
  // after fetch has aborted. This is a one-command process: once cleanup has
20
20
  // finished and stdout has drained, exit to release the dispatcher and sockets.
21
21
  // Setting only exitCode leaves that socket holding the process open.
22
- process.stdout.end(() => process.exit(code));
22
+ // Never end stdout: it may be a socket the caller's shell also writes to, and
23
+ // ending a socket shuts down writing for every process that shares it. An
24
+ // empty write's callback runs only after every earlier write has flushed.
25
+ process.stdout.write('', () => process.exit(code));
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Kept equal to package.json by test/unit/version.test.ts.
2
- export const VERSION = '0.1.5';
2
+ export const VERSION = '0.1.6';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ituran-axi",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "A read-only command-line tool that lets AI agents read Ituran vehicle tracking",
5
5
  "license": "MIT",
6
6
  "type": "module",