tnp-core 21.0.142 → 21.0.144

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 (74) hide show
  1. package/VERIFIED-BUILD-DATA.jsonc +3 -3
  2. package/bin/start.js +1 -1
  3. package/browser/fesm2022/tnp-core-browser.mjs +306 -1
  4. package/browser/fesm2022/tnp-core-browser.mjs.map +1 -1
  5. package/browser/package.json +1 -1
  6. package/browser/types/tnp-core-browser.d.ts +11 -1
  7. package/browser-prod/fesm2022/tnp-core-browser-prod.mjs +302 -1
  8. package/browser-prod/fesm2022/tnp-core-browser-prod.mjs.map +1 -1
  9. package/browser-prod/package.json +1 -1
  10. package/browser-prod/types/tnp-core-browser-prod.d.ts +10 -2
  11. package/browser-prod.split-namespaces.json +10 -0
  12. package/cli.backend.js +2 -2
  13. package/lib/build-info._auto-generated_.d.ts +1 -1
  14. package/lib/build-info._auto-generated_.js +1 -1
  15. package/lib/index.d.ts +1 -0
  16. package/lib/index.js +1 -0
  17. package/lib/index.js.map +1 -1
  18. package/lib/node-chalk-mock.js +2 -2
  19. package/lib/node-path-mock.js +2 -2
  20. package/lib/package.json +1 -1
  21. package/lib/utils-stdin-stdout-logger.d.ts +7 -0
  22. package/lib/utils-stdin-stdout-logger.js +150 -0
  23. package/lib/utils-stdin-stdout-logger.js.map +1 -0
  24. package/lib/utils-terminal.d.ts +2 -0
  25. package/lib/utils-terminal.js +83 -13
  26. package/lib/utils-terminal.js.map +1 -1
  27. package/lib-esm/cli.backend.d.ts +1 -1
  28. package/lib-esm/cli.backend.js +1 -1
  29. package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
  30. package/lib-esm/lib/build-info._auto-generated_.js +1 -1
  31. package/lib-esm/lib/index.d.ts +1 -0
  32. package/lib-esm/lib/index.js +1 -0
  33. package/lib-esm/lib/index.js.map +1 -1
  34. package/lib-esm/lib/node-chalk-mock.d.ts +1 -1
  35. package/lib-esm/lib/node-chalk-mock.js +1 -1
  36. package/lib-esm/lib/node-path-mock.d.ts +1 -1
  37. package/lib-esm/lib/node-path-mock.js +1 -1
  38. package/lib-esm/lib/utils-stdin-stdout-logger.d.ts +7 -0
  39. package/lib-esm/lib/utils-stdin-stdout-logger.js +147 -0
  40. package/lib-esm/lib/utils-stdin-stdout-logger.js.map +1 -0
  41. package/lib-esm/lib/utils-terminal.d.ts +2 -0
  42. package/lib-esm/lib/utils-terminal.js +83 -13
  43. package/lib-esm/lib/utils-terminal.js.map +1 -1
  44. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  45. package/lib-prod/build-info._auto-generated_.js +1 -1
  46. package/lib-prod/helpers.js.map +1 -1
  47. package/lib-prod/index.d.ts +1 -0
  48. package/lib-prod/index.js +1 -0
  49. package/lib-prod/index.js.map +1 -1
  50. package/lib-prod/node-chalk-mock.d.ts +1 -1
  51. package/lib-prod/node-chalk-mock.js +1 -1
  52. package/lib-prod/node-path-mock.d.ts +1 -1
  53. package/lib-prod/node-path-mock.js +1 -1
  54. package/lib-prod/package.json +1 -1
  55. package/lib-prod/start-cli.js.map +1 -1
  56. package/lib-prod/utils-files-folders.js.map +1 -1
  57. package/lib-prod/utils-process-logger.js.map +1 -1
  58. package/lib-prod/utils-stdin-stdout-logger.d.ts +5 -0
  59. package/lib-prod/utils-stdin-stdout-logger.js +145 -0
  60. package/lib-prod/utils-stdin-stdout-logger.js.map +1 -0
  61. package/lib-prod/utils-terminal.d.ts +2 -0
  62. package/lib-prod/utils-terminal.js +81 -13
  63. package/lib-prod/utils-terminal.js.map +1 -1
  64. package/lib-prod.split-namespaces.json +10 -0
  65. package/package.json +1 -1
  66. package/websql/fesm2022/tnp-core-websql.mjs +306 -1
  67. package/websql/fesm2022/tnp-core-websql.mjs.map +1 -1
  68. package/websql/package.json +1 -1
  69. package/websql/types/tnp-core-websql.d.ts +11 -1
  70. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs +302 -1
  71. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs.map +1 -1
  72. package/websql-prod/package.json +1 -1
  73. package/websql-prod/types/tnp-core-websql-prod.d.ts +10 -2
  74. package/websql-prod.split-namespaces.json +10 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "commitHash": "d3c9a9254da04fe0f0a909c4a915ef0006201b21",
3
- "commitName": "chore: update",
4
- "commitDate": "21-07-2026 20:53:29"
2
+ "commitHash": "28dfc6cc3e29b1c6d152de08a6309105bef53086",
3
+ "commitName": "fix: handle terminal interactive confirm fallback when using not allowed raw mode",
4
+ "commitDate": "25-07-2026 15:50:20"
5
5
  }
package/bin/start.js CHANGED
@@ -1,4 +1,4 @@
1
- global.frameworkName = 'tnp-core';
1
+ global.frameworkName = 'tnp-core';
2
2
  Error.stackTraceLimit = 100;
3
3
  global.i0 = {
4
4
  defineInjectable: function () { }
@@ -6577,6 +6577,63 @@ var UtilsTerminal;
6577
6577
  return (void 0);
6578
6578
  };
6579
6579
  //#endregion
6580
+ //#region utils terminal / can use interactive toogle
6581
+ async function canUseInteractiveToggle() {
6582
+ /* */
6583
+ /* */
6584
+ /* */
6585
+ /* */
6586
+ /* */
6587
+ /* */
6588
+ /* */
6589
+ /* */
6590
+ /* */
6591
+ /* */
6592
+ /* */
6593
+ /* */
6594
+ /* */
6595
+ /* */
6596
+ /* */
6597
+ /* */
6598
+ /* */
6599
+ /* */
6600
+ /* */
6601
+ return (void 0);
6602
+ }
6603
+ UtilsTerminal.canUseInteractiveToggle = canUseInteractiveToggle;
6604
+ //#endregion
6605
+ //#region utils terminal / basic yes no
6606
+ async function basicYesNo(message, defaultValue = false) {
6607
+ /* */
6608
+ /* */
6609
+ /* */
6610
+ /* */
6611
+ /* */
6612
+ /* */
6613
+ /* */
6614
+ /* */
6615
+ /* */
6616
+ /* */
6617
+ /* */
6618
+ /* */
6619
+ /* */
6620
+ /* */
6621
+ /* */
6622
+ /* */
6623
+ /* */
6624
+ /* */
6625
+ /* */
6626
+ /* */
6627
+ /* */
6628
+ /* */
6629
+ /* */
6630
+ /* */
6631
+ /* */
6632
+ /* */
6633
+ return (void 0);
6634
+ }
6635
+ UtilsTerminal.basicYesNo = basicYesNo;
6636
+ //#endregion
6580
6637
  //#region utils terminal / confirm
6581
6638
  UtilsTerminal.confirm = async (options) => {
6582
6639
  /* */
@@ -6658,6 +6715,30 @@ var UtilsTerminal;
6658
6715
  /* */
6659
6716
  /* */
6660
6717
  /* */
6718
+ /* */
6719
+ /* */
6720
+ /* */
6721
+ /* */
6722
+ /* */
6723
+ /* */
6724
+ /* */
6725
+ /* */
6726
+ /* */
6727
+ /* */
6728
+ /* */
6729
+ /* */
6730
+ /* */
6731
+ /* */
6732
+ /* */
6733
+ /* */
6734
+ /* */
6735
+ /* */
6736
+ /* */
6737
+ /* */
6738
+ /* */
6739
+ /* */
6740
+ /* */
6741
+ /* */
6661
6742
  return (void 0);
6662
6743
  };
6663
6744
  //#endregion
@@ -12374,6 +12455,230 @@ var UtilsI18n;
12374
12455
  UtilsI18n.detectLocale = detectLocale;
12375
12456
  })(UtilsI18n || (UtilsI18n = {}));
12376
12457
 
12458
+ /* */
12459
+ var UtilsStdinStdoutLogger;
12460
+ (function (UtilsStdinStdoutLogger) {
12461
+ //#region register loggin app
12462
+ UtilsStdinStdoutLogger.registerFor = (workerName, groupName) => {
12463
+ /* */
12464
+ /* */
12465
+ /* */
12466
+ /* */
12467
+ /* */
12468
+ /* */
12469
+ /* */
12470
+ /* */
12471
+ /* */
12472
+ /* */
12473
+ /* */
12474
+ /* */
12475
+ /* */
12476
+ /* */
12477
+ /* */
12478
+ /* */
12479
+ /* */
12480
+ /* */
12481
+ /* */
12482
+ /* */
12483
+ /* */
12484
+ /* */
12485
+ /* */
12486
+ /* */
12487
+ /* */
12488
+ /* */
12489
+ /* */
12490
+ /* */
12491
+ /* */
12492
+ /* */
12493
+ /* */
12494
+ /* */
12495
+ /* */
12496
+ /* */
12497
+ /* */
12498
+ /* */
12499
+ /* */
12500
+ /* */
12501
+ /* */
12502
+ /* */
12503
+ /* */
12504
+ /* */
12505
+ /* */
12506
+ /* */
12507
+ /* */
12508
+ /* */
12509
+ /* */
12510
+ /* */
12511
+ /* */
12512
+ /* */
12513
+ /* */
12514
+ /* */
12515
+ /* */
12516
+ /* */
12517
+ /* */
12518
+ /* */
12519
+ /* */
12520
+ /* */
12521
+ /* */
12522
+ /* */
12523
+ /* */
12524
+ /* */
12525
+ /* */
12526
+ /* */
12527
+ /* */
12528
+ /* */
12529
+ /* */
12530
+ /* */
12531
+ /* */
12532
+ /* */
12533
+ /* */
12534
+ /* */
12535
+ /* */
12536
+ /* */
12537
+ /* */
12538
+ /* */
12539
+ /* */
12540
+ /* */
12541
+ /* */
12542
+ /* */
12543
+ /* */
12544
+ /* */
12545
+ /* */
12546
+ /* */
12547
+ /* */
12548
+ /* */
12549
+ /* */
12550
+ /* */
12551
+ /* */
12552
+ /* */
12553
+ /* */
12554
+ /* */
12555
+ /* */
12556
+ /* */
12557
+ /* */
12558
+ /* */
12559
+ /* */
12560
+ /* */
12561
+ /* */
12562
+ /* */
12563
+ /* */
12564
+ /* */
12565
+ /* */
12566
+ /* */
12567
+ /* */
12568
+ /* */
12569
+ /* */
12570
+ /* */
12571
+ /* */
12572
+ /* */
12573
+ /* */
12574
+ /* */
12575
+ /* */
12576
+ /* */
12577
+ /* */
12578
+ /* */
12579
+ /* */
12580
+ /* */
12581
+ /* */
12582
+ /* */
12583
+ /* */
12584
+ /* */
12585
+ /* */
12586
+ /* */
12587
+ /* */
12588
+ /* */
12589
+ /* */
12590
+ /* */
12591
+ /* */
12592
+ /* */
12593
+ /* */
12594
+ /* */
12595
+ /* */
12596
+ /* */
12597
+ /* */
12598
+ /* */
12599
+ /* */
12600
+ /* */
12601
+ /* */
12602
+ /* */
12603
+ /* */
12604
+ /* */
12605
+ /* */
12606
+ /* */
12607
+ /* */
12608
+ /* */
12609
+ /* */
12610
+ /* */
12611
+ /* */
12612
+ /* */
12613
+ /* */
12614
+ /* */
12615
+ /* */
12616
+ /* */
12617
+ /* */
12618
+ /* */
12619
+ /* */
12620
+ /* */
12621
+ /* */
12622
+ /* */
12623
+ /* */
12624
+ /* */
12625
+ /* */
12626
+ /* */
12627
+ /* */
12628
+ /* */
12629
+ /* */
12630
+ /* */
12631
+ /* */
12632
+ /* */
12633
+ /* */
12634
+ /* */
12635
+ /* */
12636
+ /* */
12637
+ return (void 0);
12638
+ };
12639
+ //#region create patched write
12640
+ const createPatchedWrite = (stream, originalWrite, appendSynchronously) => {
12641
+ /* */
12642
+ /* */
12643
+ /* */
12644
+ /* */
12645
+ /* */
12646
+ /* */
12647
+ /* */
12648
+ /* */
12649
+ /* */
12650
+ /* */
12651
+ /* */
12652
+ /* */
12653
+ /* */
12654
+ /* */
12655
+ /* */
12656
+ /* */
12657
+ /* */
12658
+ /* */
12659
+ /* */
12660
+ /* */
12661
+ /* */
12662
+ /* */
12663
+ /* */
12664
+ /* */
12665
+ /* */
12666
+ /* */
12667
+ return (void 0);
12668
+ };
12669
+ //#endregion
12670
+ //#region sanitize filename
12671
+ const sanitizeFileName = (value) => {
12672
+ const sanitized = value
12673
+ .trim()
12674
+ .replace(/[<>:"/\\|?*\u0000-\u001F]/g, '-')
12675
+ .replace(/\s+/g, '-')
12676
+ .replace(/-+/g, '-');
12677
+ return sanitized || 'unnamed-worker';
12678
+ };
12679
+ //#endregion
12680
+ })(UtilsStdinStdoutLogger || (UtilsStdinStdoutLogger = {}));
12681
+
12377
12682
  /**
12378
12683
  * TODO slowly refactor this.. only actually globally needed are:
12379
12684
  * pm2, yarn, npm-run, ts-node ???
@@ -12835,5 +13140,5 @@ var index = {};
12835
13140
  * Generated bundle index. Do not edit.
12836
13141
  */
12837
13142
 
12838
- export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, DbBinaryFormatEnum, FilePathMetaData, FilesNames, GlobalLibTypeName, GlobalStorage, GlobalTaskManager, GlobalTaskManagerClass, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, PROGRESS_DATA, REGEX_REGION, TAGS, Utils, UtilsBinary, UtilsCli, UtilsCliClassMethod, UtilsDotFile, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsI18n, UtilsJson, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsProcess, UtilsProcessLogger, UtilsProjects, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTerminal, UtilsTime, UtilsWaitNotifier, UtilsYaml, _, appRelatedFiles, areTrustedForPatchUpdate, backendNodejsOnlyFiles, backendWebsqlNodejsFiles, baseTaonDevProjectsNames, chalk, child_process, chokidar, config, crossPlatformPath, dateformat, dockerTemplates, dotTaonFolder, dotTnpFolder, encoding, extAllowedToExportAndReplaceTSJSCodeFiles, extAllowedToReplace, extForSassLikeFiles, extForStyles, extTemplatesFiles, fg, fileName, filesNotAllowedToClean, fkill, folderName, frameworkName, frameworkNameBe, frontEndOnly, frontendFiles, fse, glob, globalSpinner, http, https, isCloudflareWorker, isElevated, load, mkdirp, ncp, net, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requireDefault, requiredForDev, rimraf, spawn, startAsync, taonActionFromParent, taonBasePathToGlobalDockerTemplatesFn, taonContainers, taonPackageName, taonProjects, taonRepoPathUserInUserDirFn, tempFoldersName, tnpPackageName, urlRepoTaon, urlRepoTaonContainers, win32Path };
13143
+ export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, DbBinaryFormatEnum, FilePathMetaData, FilesNames, GlobalLibTypeName, GlobalStorage, GlobalTaskManager, GlobalTaskManagerClass, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, PROGRESS_DATA, REGEX_REGION, TAGS, Utils, UtilsBinary, UtilsCli, UtilsCliClassMethod, UtilsDotFile, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsI18n, UtilsJson, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsProcess, UtilsProcessLogger, UtilsProjects, UtilsStdinStdoutLogger, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTerminal, UtilsTime, UtilsWaitNotifier, UtilsYaml, _, appRelatedFiles, areTrustedForPatchUpdate, backendNodejsOnlyFiles, backendWebsqlNodejsFiles, baseTaonDevProjectsNames, chalk, child_process, chokidar, config, crossPlatformPath, dateformat, dockerTemplates, dotTaonFolder, dotTnpFolder, encoding, extAllowedToExportAndReplaceTSJSCodeFiles, extAllowedToReplace, extForSassLikeFiles, extForStyles, extTemplatesFiles, fg, fileName, filesNotAllowedToClean, fkill, folderName, frameworkName, frameworkNameBe, frontEndOnly, frontendFiles, fse, glob, globalSpinner, http, https, isCloudflareWorker, isElevated, load, mkdirp, ncp, net, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requireDefault, requiredForDev, rimraf, spawn, startAsync, taonActionFromParent, taonBasePathToGlobalDockerTemplatesFn, taonContainers, taonPackageName, taonProjects, taonRepoPathUserInUserDirFn, tempFoldersName, tnpPackageName, urlRepoTaon, urlRepoTaonContainers, win32Path };
12839
13144
  //# sourceMappingURL=tnp-core-browser.mjs.map