tnp-core 21.0.111 → 21.0.112

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 (57) hide show
  1. package/browser/fesm2022/tnp-core-browser.mjs +134 -3
  2. package/browser/fesm2022/tnp-core-browser.mjs.map +1 -1
  3. package/browser/package.json +1 -1
  4. package/browser/types/tnp-core-browser.d.ts +3 -1
  5. package/browser-prod/fesm2022/tnp-core-browser-prod.mjs +134 -4
  6. package/browser-prod/fesm2022/tnp-core-browser-prod.mjs.map +1 -1
  7. package/browser-prod/package.json +1 -1
  8. package/browser-prod/types/tnp-core-browser-prod.d.ts +4 -2
  9. package/browser-prod.split-namespaces.json +2 -0
  10. package/cli.backend.js +2 -2
  11. package/lib/build-info._auto-generated_.d.ts +1 -1
  12. package/lib/build-info._auto-generated_.js +1 -1
  13. package/lib/core-models.d.ts +2 -0
  14. package/lib/core-models.js.map +1 -1
  15. package/lib/node-chalk-mock.js +2 -2
  16. package/lib/node-path-mock.js +2 -2
  17. package/lib/package.json +1 -1
  18. package/lib/utils-os.d.ts +1 -0
  19. package/lib/utils-os.js +57 -3
  20. package/lib/utils-os.js.map +1 -1
  21. package/lib/utils-process.js +117 -58
  22. package/lib/utils-process.js.map +1 -1
  23. package/lib/utils-terminal.js +2 -2
  24. package/lib/utils-terminal.js.map +1 -1
  25. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  26. package/lib-prod/build-info._auto-generated_.js +1 -1
  27. package/lib-prod/core-cli.js.map +1 -1
  28. package/lib-prod/core-models.d.ts +2 -0
  29. package/lib-prod/core-models.js.map +1 -1
  30. package/lib-prod/global-task-manager.js.map +1 -1
  31. package/lib-prod/helpers.js.map +1 -1
  32. package/lib-prod/node-chalk-mock.d.ts +1 -1
  33. package/lib-prod/node-chalk-mock.js +1 -1
  34. package/lib-prod/node-path-mock.d.ts +1 -1
  35. package/lib-prod/node-path-mock.js +1 -1
  36. package/lib-prod/package.json +1 -1
  37. package/lib-prod/utils-os.d.ts +1 -0
  38. package/lib-prod/utils-os.js +56 -3
  39. package/lib-prod/utils-os.js.map +1 -1
  40. package/lib-prod/utils-process-logger.js.map +1 -1
  41. package/lib-prod/utils-process.js +108 -49
  42. package/lib-prod/utils-process.js.map +1 -1
  43. package/lib-prod/utils-terminal.js +2 -2
  44. package/lib-prod/utils-terminal.js.map +1 -1
  45. package/lib-prod/utils.js.map +1 -1
  46. package/lib-prod.split-namespaces.json +2 -0
  47. package/package.json +1 -1
  48. package/websql/fesm2022/tnp-core-websql.mjs +134 -3
  49. package/websql/fesm2022/tnp-core-websql.mjs.map +1 -1
  50. package/websql/package.json +1 -1
  51. package/websql/types/tnp-core-websql.d.ts +3 -1
  52. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs +134 -4
  53. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs.map +1 -1
  54. package/websql-prod/package.json +1 -1
  55. package/websql-prod/types/tnp-core-websql-prod.d.ts +4 -2
  56. package/websql-prod.split-namespaces.json +2 -0
  57. package/VERIFIED-BUILD-DATA.jsonc +0 -5
@@ -5176,7 +5176,8 @@ var UtilsOs;
5176
5176
  };
5177
5177
  //#endregion
5178
5178
  //#region utils os / is [...]
5179
- UtilsOs.isNodeVersionOk = UtilsProcess.isNodeVersionOk;
5179
+ // console.log('kurwa')
5180
+ UtilsOs.isNodeVersionOk = (options) => UtilsProcess.isNodeVersionOk(options);
5180
5181
  UtilsOs.isElectron = UtilsOs.isRunningInElectron();
5181
5182
  UtilsOs.isBrowser = UtilsOs.isRunningInBrowser();
5182
5183
  UtilsOs.isNode = UtilsOs.isRunningInNode();
@@ -5388,6 +5389,57 @@ var UtilsOs;
5388
5389
  /* */
5389
5390
  };
5390
5391
  //#endregion
5392
+ //#region utils os / get inotify watch count (linux)
5393
+ async function getInotifyWatchCount() {
5394
+ /* */
5395
+ /* */
5396
+ /* */
5397
+ /* */
5398
+ /* */
5399
+ /* */
5400
+ /* */
5401
+ /* */
5402
+ /* */
5403
+ /* */
5404
+ /* */
5405
+ /* */
5406
+ /* */
5407
+ /* */
5408
+ /* */
5409
+ /* */
5410
+ /* */
5411
+ /* */
5412
+ /* */
5413
+ /* */
5414
+ /* */
5415
+ /* */
5416
+ /* */
5417
+ /* */
5418
+ /* */
5419
+ /* */
5420
+ /* */
5421
+ /* */
5422
+ /* */
5423
+ /* */
5424
+ /* */
5425
+ /* */
5426
+ /* */
5427
+ /* */
5428
+ /* */
5429
+ /* */
5430
+ /* */
5431
+ /* */
5432
+ /* */
5433
+ /* */
5434
+ /* */
5435
+ /* */
5436
+ /* */
5437
+ /* */
5438
+ return (void 0);
5439
+ }
5440
+ UtilsOs.getInotifyWatchCount = getInotifyWatchCount;
5441
+ //#endregion
5442
+ //#region send notification
5391
5443
  UtilsOs.sendNotification = async (opt) => {
5392
5444
  const platform = os.platform();
5393
5445
  const defaultTimeoutMs = 3000;
@@ -5469,7 +5521,15 @@ ${opt.subtitle ? opt.subtitle + '\n' : ''}${opt.body ?? ''}
5469
5521
  /* */
5470
5522
  /* */
5471
5523
  /* */
5524
+ /* */
5525
+ /* */
5526
+ /* */
5527
+ /* */
5528
+ /* */
5529
+ /* */
5530
+ /* */
5472
5531
  };
5532
+ //#endregion
5473
5533
  })(UtilsOs || (UtilsOs = {}));
5474
5534
 
5475
5535
  //#region imports
@@ -5773,6 +5833,77 @@ var UtilsProcess;
5773
5833
  /* */
5774
5834
  /* */
5775
5835
  /* */
5836
+ /* */
5837
+ /* */
5838
+ /* */
5839
+ /* */
5840
+ /* */
5841
+ /* */
5842
+ /* */
5843
+ /* */
5844
+ /* */
5845
+ /* */
5846
+ /* */
5847
+ /* */
5848
+ /* */
5849
+ /* */
5850
+ /* */
5851
+ /* */
5852
+ /* */
5853
+ /* */
5854
+ /* */
5855
+ /* */
5856
+ /* */
5857
+ /* */
5858
+ /* */
5859
+ /* */
5860
+ /* */
5861
+ /* */
5862
+ /* */
5863
+ /* */
5864
+ /* */
5865
+ /* */
5866
+ /* */
5867
+ /* */
5868
+ /* */
5869
+ /* */
5870
+ /* */
5871
+ /* */
5872
+ /* */
5873
+ /* */
5874
+ /* */
5875
+ /* */
5876
+ /* */
5877
+ /* */
5878
+ /* */
5879
+ /* */
5880
+ /* */
5881
+ /* */
5882
+ /* */
5883
+ /* */
5884
+ /* */
5885
+ /* */
5886
+ /* */
5887
+ /* */
5888
+ /* */
5889
+ /* */
5890
+ /* */
5891
+ /* */
5892
+ /* */
5893
+ /* */
5894
+ /* */
5895
+ /* */
5896
+ /* */
5897
+ /* */
5898
+ /* */
5899
+ /* */
5900
+ /* */
5901
+ /* */
5902
+ /* */
5903
+ /* */
5904
+ /* */
5905
+ /* */
5906
+ /* */
5776
5907
  return (void 0);
5777
5908
  };
5778
5909
  //#endregion
@@ -6432,10 +6563,10 @@ var UtilsTerminal;
6432
6563
  (function (UtilsTerminal) {
6433
6564
  //#endregion
6434
6565
  //#region utils terminal / wait
6435
- UtilsTerminal.wait = Utils.wait;
6566
+ UtilsTerminal.wait = (second) => Utils.wait(second);
6436
6567
  //#endregion
6437
6568
  //#region utils terminal / wait milliseconds
6438
- UtilsTerminal.waitMilliseconds = Utils.waitMilliseconds;
6569
+ UtilsTerminal.waitMilliseconds = (milliseconds) => Utils.waitMilliseconds(milliseconds);
6439
6570
  //#endregion
6440
6571
  //#region utils terminal / is verbose mode
6441
6572
  /**