@nosana/node 1.1.73-dev.mr80.17352210002 → 1.1.73-dev.mr80.17376331679

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.
Files changed (29) hide show
  1. package/dist/.env +1 -1
  2. package/dist/package.json +2 -2
  3. package/dist/packages/job-runtime/src/provider/ContainerProvider.d.ts +8 -0
  4. package/dist/packages/job-runtime/src/provider/ContainerProvider.js +175 -121
  5. package/dist/packages/job-runtime/src/provider/ContainerStateManager.d.ts +7 -0
  6. package/dist/packages/job-runtime/src/provider/ContainerStateManager.js +14 -0
  7. package/dist/packages/job-runtime/src/provider/ports.d.ts +3 -1
  8. package/dist/packages/job-runtime/src/runtime/runJob.js +1 -1
  9. package/dist/packages/job-runtime/src/taskManager/TaskManager.d.ts +10 -1
  10. package/dist/packages/job-runtime/src/taskManager/TaskManager.js +34 -7
  11. package/dist/packages/job-runtime/src/taskManager/operations/enforceOperationTimeout.d.ts +4 -0
  12. package/dist/packages/job-runtime/src/taskManager/operations/enforceOperationTimeout.js +9 -2
  13. package/dist/packages/job-runtime/src/taskManager/operations/runTaskManagerOperation.js +9 -3
  14. package/dist/src/NodeManager/index.js +6 -0
  15. package/dist/src/NodeManager/node/Node.js +9 -2
  16. package/dist/src/NodeManager/node/job/JobRuntimeSession.d.ts +26 -3
  17. package/dist/src/NodeManager/node/job/JobRuntimeSession.js +54 -8
  18. package/dist/src/NodeManager/node/job/jobHandler.d.ts +4 -2
  19. package/dist/src/NodeManager/node/job/jobHandler.js +5 -3
  20. package/dist/src/NodeManager/provider/Provider.d.ts +9 -0
  21. package/dist/src/NodeManager/provider/Provider.js +26 -0
  22. package/dist/src/exitCodes.d.ts +35 -2
  23. package/dist/src/exitCodes.js +52 -2
  24. package/dist/src/version/index.d.ts +16 -0
  25. package/dist/src/version/index.js +56 -45
  26. package/dist/src/version/updateWatcher.d.ts +35 -0
  27. package/dist/src/version/updateWatcher.js +81 -0
  28. package/npm-shrinkwrap.json +109 -93
  29. package/package.json +2 -2
@@ -0,0 +1,81 @@
1
+ import chalk from 'chalk';
2
+ import { requestInstall } from '../exitCodes.js';
3
+ import { leaveForVersion, newerVersion } from './index.js';
4
+ /** How often the registry is asked while the node is in the job loop. */
5
+ const POLL_INTERVAL_MS = 5 * 60 * 1000;
6
+ /**
7
+ * Watches the registry for a release while the node is in the job loop, and
8
+ * has the wrapper install it beside the running node as soon as there is one.
9
+ * Then the node leaves for it at the next moment leaving costs the job
10
+ * nothing (`leaveDuring`): while it waits for a run, or for its job's sidecar,
11
+ * which runs the job on without it and is taken over by the node that comes
12
+ * back. Anywhere else in the cycle (claiming, finishing) the node is
13
+ * mid-transaction, and leaves at the next of those waits instead.
14
+ *
15
+ * A node of an older wrapper, which does not install on request, leaves all
16
+ * the same and has the wrapper install, which is the downtime there was.
17
+ */
18
+ export class UpdateWatcher {
19
+ constructor() {
20
+ this.polling = false;
21
+ /**
22
+ * Resolves with the version once it is installed and the node can leave for
23
+ * it; never otherwise.
24
+ */
25
+ this.ready = new Promise((resolve) => {
26
+ this.resolveReady = resolve;
27
+ });
28
+ }
29
+ /** Starts watching; one already watching, or done, is left as it is. */
30
+ start() {
31
+ if (this.timer || this.found)
32
+ return;
33
+ this.timer = setInterval(() => void this.poll(), POLL_INTERVAL_MS);
34
+ }
35
+ stop() {
36
+ clearInterval(this.timer);
37
+ this.timer = undefined;
38
+ }
39
+ /**
40
+ * Waits for `wait`, unless an update is ready first: then the node leaves
41
+ * for it from here. Resolves with `wait` all the same when the wrapper
42
+ * would not install the update after all.
43
+ */
44
+ async leaveDuring(wait) {
45
+ let version;
46
+ await Promise.race([
47
+ wait,
48
+ this.ready.then((ready) => {
49
+ version = ready;
50
+ }),
51
+ ]);
52
+ if (version)
53
+ await leaveForVersion(version, true);
54
+ return wait;
55
+ }
56
+ async poll() {
57
+ // An install asked for by the last poll may still be going.
58
+ if (this.polling)
59
+ return;
60
+ this.polling = true;
61
+ try {
62
+ const version = await newerVersion();
63
+ if (!version)
64
+ return;
65
+ console.log(chalk.yellow(`Version ${version} has been released; installing it to switch to.`));
66
+ const installed = await requestInstall(version);
67
+ if (installed && !installed.ok) {
68
+ console.log(chalk.yellow(`Version ${version} could not be installed${installed.error ? `: ${installed.error}` : ''}; trying again later.`));
69
+ return;
70
+ }
71
+ this.found = version;
72
+ this.stop();
73
+ this.resolveReady(version);
74
+ }
75
+ finally {
76
+ this.polling = false;
77
+ }
78
+ }
79
+ }
80
+ /** The node's one watcher, started as it enters the job loop. */
81
+ export const updateWatcher = new UpdateWatcher();
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.73-dev.mr80.17352210002",
3
+ "version": "1.1.73-dev.mr80.17376331679",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@nosana/node",
9
- "version": "1.1.73-dev.mr80.17352210002",
9
+ "version": "1.1.73-dev.mr80.17376331679",
10
10
  "license": "ISC",
11
11
  "workspaces": [
12
12
  "packages/*"
@@ -34,7 +34,7 @@
34
34
  "lowdb": "^7.0.1",
35
35
  "openapi-fetch": "^0.10.2",
36
36
  "openapi-typescript": "^7.1.2",
37
- "ora": "^8.0.1",
37
+ "ora": "^9.4.1",
38
38
  "shell-quote": "^1.8.1",
39
39
  "socket.io-client": "^4.7.5",
40
40
  "stream": "^0.0.2",
@@ -6127,15 +6127,15 @@
6127
6127
  }
6128
6128
  },
6129
6129
  "node_modules/cli-cursor": {
6130
- "version": "4.0.0",
6131
- "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",
6132
- "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",
6130
+ "version": "5.0.0",
6131
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz",
6132
+ "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==",
6133
6133
  "license": "MIT",
6134
6134
  "dependencies": {
6135
- "restore-cursor": "^4.0.0"
6135
+ "restore-cursor": "^5.0.0"
6136
6136
  },
6137
6137
  "engines": {
6138
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
6138
+ "node": ">=18"
6139
6139
  },
6140
6140
  "funding": {
6141
6141
  "url": "https://github.com/sponsors/sindresorhus"
@@ -6595,12 +6595,6 @@
6595
6595
  "url": "https://github.com/sponsors/sindresorhus"
6596
6596
  }
6597
6597
  },
6598
- "node_modules/emoji-regex": {
6599
- "version": "10.3.0",
6600
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",
6601
- "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",
6602
- "license": "MIT"
6603
- },
6604
6598
  "node_modules/encodeurl": {
6605
6599
  "version": "1.0.2",
6606
6600
  "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
@@ -7798,9 +7792,9 @@
7798
7792
  }
7799
7793
  },
7800
7794
  "node_modules/get-east-asian-width": {
7801
- "version": "1.2.0",
7802
- "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz",
7803
- "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==",
7795
+ "version": "1.7.0",
7796
+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz",
7797
+ "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==",
7804
7798
  "license": "MIT",
7805
7799
  "engines": {
7806
7800
  "node": ">=18"
@@ -8762,9 +8756,9 @@
8762
8756
  }
8763
8757
  },
8764
8758
  "node_modules/is-unicode-supported": {
8765
- "version": "2.0.0",
8766
- "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz",
8767
- "integrity": "sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==",
8759
+ "version": "2.1.0",
8760
+ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz",
8761
+ "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==",
8768
8762
  "license": "MIT",
8769
8763
  "engines": {
8770
8764
  "node": ">=18"
@@ -8946,13 +8940,13 @@
8946
8940
  "license": "MIT"
8947
8941
  },
8948
8942
  "node_modules/log-symbols": {
8949
- "version": "6.0.0",
8950
- "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz",
8951
- "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==",
8943
+ "version": "7.0.1",
8944
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz",
8945
+ "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==",
8952
8946
  "license": "MIT",
8953
8947
  "dependencies": {
8954
- "chalk": "^5.3.0",
8955
- "is-unicode-supported": "^1.3.0"
8948
+ "is-unicode-supported": "^2.0.0",
8949
+ "yoctocolors": "^2.1.1"
8956
8950
  },
8957
8951
  "engines": {
8958
8952
  "node": ">=18"
@@ -8961,18 +8955,6 @@
8961
8955
  "url": "https://github.com/sponsors/sindresorhus"
8962
8956
  }
8963
8957
  },
8964
- "node_modules/log-symbols/node_modules/is-unicode-supported": {
8965
- "version": "1.3.0",
8966
- "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz",
8967
- "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==",
8968
- "license": "MIT",
8969
- "engines": {
8970
- "node": ">=12"
8971
- },
8972
- "funding": {
8973
- "url": "https://github.com/sponsors/sindresorhus"
8974
- }
8975
- },
8976
8958
  "node_modules/lowdb": {
8977
8959
  "version": "7.0.1",
8978
8960
  "resolved": "https://registry.npmjs.org/lowdb/-/lowdb-7.0.1.tgz",
@@ -9138,6 +9120,18 @@
9138
9120
  "node": ">=6"
9139
9121
  }
9140
9122
  },
9123
+ "node_modules/mimic-function": {
9124
+ "version": "5.0.1",
9125
+ "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz",
9126
+ "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==",
9127
+ "license": "MIT",
9128
+ "engines": {
9129
+ "node": ">=18"
9130
+ },
9131
+ "funding": {
9132
+ "url": "https://github.com/sponsors/sindresorhus"
9133
+ }
9134
+ },
9141
9135
  "node_modules/minimatch": {
9142
9136
  "version": "3.1.2",
9143
9137
  "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
@@ -9603,53 +9597,37 @@
9603
9597
  }
9604
9598
  },
9605
9599
  "node_modules/ora": {
9606
- "version": "8.0.1",
9607
- "resolved": "https://registry.npmjs.org/ora/-/ora-8.0.1.tgz",
9608
- "integrity": "sha512-ANIvzobt1rls2BDny5fWZ3ZVKyD6nscLvfFRpQgfWsythlcsVUC9kL0zq6j2Z5z9wwp1kd7wpsD/T9qNPVLCaQ==",
9600
+ "version": "9.4.1",
9601
+ "resolved": "https://registry.npmjs.org/ora/-/ora-9.4.1.tgz",
9602
+ "integrity": "sha512-6VlU9MLXbjVQD04AZCMX28hVtA5bUoadvUqO76MUCVA0ilwJbMiHsITRPfyVm6p/BC0Av/BXMujx39WCe1LEqw==",
9609
9603
  "license": "MIT",
9610
9604
  "dependencies": {
9611
- "chalk": "^5.3.0",
9612
- "cli-cursor": "^4.0.0",
9613
- "cli-spinners": "^2.9.2",
9605
+ "chalk": "^5.6.2",
9606
+ "cli-cursor": "^5.0.0",
9607
+ "cli-spinners": "^3.2.0",
9614
9608
  "is-interactive": "^2.0.0",
9615
- "is-unicode-supported": "^2.0.0",
9616
- "log-symbols": "^6.0.0",
9617
- "stdin-discarder": "^0.2.1",
9618
- "string-width": "^7.0.0",
9619
- "strip-ansi": "^7.1.0"
9609
+ "is-unicode-supported": "^2.1.0",
9610
+ "log-symbols": "^7.0.1",
9611
+ "stdin-discarder": "^0.3.2",
9612
+ "string-width": "^8.1.0"
9620
9613
  },
9621
9614
  "engines": {
9622
- "node": ">=18"
9615
+ "node": ">=20"
9623
9616
  },
9624
9617
  "funding": {
9625
9618
  "url": "https://github.com/sponsors/sindresorhus"
9626
9619
  }
9627
9620
  },
9628
- "node_modules/ora/node_modules/ansi-regex": {
9629
- "version": "6.0.1",
9630
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
9631
- "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
9621
+ "node_modules/ora/node_modules/cli-spinners": {
9622
+ "version": "3.4.0",
9623
+ "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz",
9624
+ "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==",
9632
9625
  "license": "MIT",
9633
9626
  "engines": {
9634
- "node": ">=12"
9627
+ "node": ">=18.20"
9635
9628
  },
9636
9629
  "funding": {
9637
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
9638
- }
9639
- },
9640
- "node_modules/ora/node_modules/strip-ansi": {
9641
- "version": "7.1.0",
9642
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
9643
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
9644
- "license": "MIT",
9645
- "dependencies": {
9646
- "ansi-regex": "^6.0.1"
9647
- },
9648
- "engines": {
9649
- "node": ">=12"
9650
- },
9651
- "funding": {
9652
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
9630
+ "url": "https://github.com/sponsors/sindresorhus"
9653
9631
  }
9654
9632
  },
9655
9633
  "node_modules/os-tmpdir": {
@@ -10195,21 +10173,48 @@
10195
10173
  }
10196
10174
  },
10197
10175
  "node_modules/restore-cursor": {
10198
- "version": "4.0.0",
10199
- "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",
10200
- "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==",
10176
+ "version": "5.1.0",
10177
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz",
10178
+ "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==",
10201
10179
  "license": "MIT",
10202
10180
  "dependencies": {
10203
- "onetime": "^5.1.0",
10204
- "signal-exit": "^3.0.2"
10181
+ "onetime": "^7.0.0",
10182
+ "signal-exit": "^4.1.0"
10205
10183
  },
10206
10184
  "engines": {
10207
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
10185
+ "node": ">=18"
10208
10186
  },
10209
10187
  "funding": {
10210
10188
  "url": "https://github.com/sponsors/sindresorhus"
10211
10189
  }
10212
10190
  },
10191
+ "node_modules/restore-cursor/node_modules/onetime": {
10192
+ "version": "7.0.0",
10193
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz",
10194
+ "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==",
10195
+ "license": "MIT",
10196
+ "dependencies": {
10197
+ "mimic-function": "^5.0.0"
10198
+ },
10199
+ "engines": {
10200
+ "node": ">=18"
10201
+ },
10202
+ "funding": {
10203
+ "url": "https://github.com/sponsors/sindresorhus"
10204
+ }
10205
+ },
10206
+ "node_modules/restore-cursor/node_modules/signal-exit": {
10207
+ "version": "4.1.0",
10208
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
10209
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
10210
+ "license": "ISC",
10211
+ "engines": {
10212
+ "node": ">=14"
10213
+ },
10214
+ "funding": {
10215
+ "url": "https://github.com/sponsors/isaacs"
10216
+ }
10217
+ },
10213
10218
  "node_modules/ret": {
10214
10219
  "version": "0.2.2",
10215
10220
  "resolved": "https://registry.npmjs.org/ret/-/ret-0.2.2.tgz",
@@ -10610,9 +10615,9 @@
10610
10615
  "dev": true
10611
10616
  },
10612
10617
  "node_modules/stdin-discarder": {
10613
- "version": "0.2.2",
10614
- "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz",
10615
- "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==",
10618
+ "version": "0.3.2",
10619
+ "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.3.2.tgz",
10620
+ "integrity": "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A==",
10616
10621
  "license": "MIT",
10617
10622
  "engines": {
10618
10623
  "node": ">=18"
@@ -10652,26 +10657,25 @@
10652
10657
  }
10653
10658
  },
10654
10659
  "node_modules/string-width": {
10655
- "version": "7.1.0",
10656
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz",
10657
- "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==",
10660
+ "version": "8.3.0",
10661
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz",
10662
+ "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==",
10658
10663
  "license": "MIT",
10659
10664
  "dependencies": {
10660
- "emoji-regex": "^10.3.0",
10661
- "get-east-asian-width": "^1.0.0",
10662
- "strip-ansi": "^7.1.0"
10665
+ "get-east-asian-width": "^1.5.0",
10666
+ "strip-ansi": "^7.1.2"
10663
10667
  },
10664
10668
  "engines": {
10665
- "node": ">=18"
10669
+ "node": ">=20"
10666
10670
  },
10667
10671
  "funding": {
10668
10672
  "url": "https://github.com/sponsors/sindresorhus"
10669
10673
  }
10670
10674
  },
10671
10675
  "node_modules/string-width/node_modules/ansi-regex": {
10672
- "version": "6.0.1",
10673
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
10674
- "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
10676
+ "version": "6.4.0",
10677
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz",
10678
+ "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==",
10675
10679
  "license": "MIT",
10676
10680
  "engines": {
10677
10681
  "node": ">=12"
@@ -10681,12 +10685,12 @@
10681
10685
  }
10682
10686
  },
10683
10687
  "node_modules/string-width/node_modules/strip-ansi": {
10684
- "version": "7.1.0",
10685
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
10686
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
10688
+ "version": "7.2.0",
10689
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
10690
+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
10687
10691
  "license": "MIT",
10688
10692
  "dependencies": {
10689
- "ansi-regex": "^6.0.1"
10693
+ "ansi-regex": "^6.2.2"
10690
10694
  },
10691
10695
  "engines": {
10692
10696
  "node": ">=12"
@@ -12002,6 +12006,18 @@
12002
12006
  "url": "https://github.com/sponsors/sindresorhus"
12003
12007
  }
12004
12008
  },
12009
+ "node_modules/yoctocolors": {
12010
+ "version": "2.2.0",
12011
+ "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz",
12012
+ "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==",
12013
+ "license": "MIT",
12014
+ "engines": {
12015
+ "node": ">=18"
12016
+ },
12017
+ "funding": {
12018
+ "url": "https://github.com/sponsors/sindresorhus"
12019
+ }
12020
+ },
12005
12021
  "node_modules/yoctocolors-cjs": {
12006
12022
  "version": "2.1.2",
12007
12023
  "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.73-dev.mr80.17352210002",
3
+ "version": "1.1.73-dev.mr80.17376331679",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "nosana-node": "./dist/src/index.js"
@@ -96,7 +96,7 @@
96
96
  "lowdb": "^7.0.1",
97
97
  "openapi-fetch": "^0.10.2",
98
98
  "openapi-typescript": "^7.1.2",
99
- "ora": "^8.0.1",
99
+ "ora": "^9.4.1",
100
100
  "shell-quote": "^1.8.1",
101
101
  "socket.io-client": "^4.7.5",
102
102
  "stream": "^0.0.2",