tnp-core 21.0.164 → 21.0.166

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 (106) hide show
  1. package/VERIFIED-BUILD-DATA.jsonc +3 -3
  2. package/browser/fesm2022/tnp-core-browser.mjs +883 -426
  3. package/browser/fesm2022/tnp-core-browser.mjs.map +1 -1
  4. package/browser/package.json +1 -1
  5. package/browser/types/tnp-core-browser.d.ts +32 -27
  6. package/browser-prod/fesm2022/tnp-core-browser-prod.mjs +880 -426
  7. package/browser-prod/fesm2022/tnp-core-browser-prod.mjs.map +1 -1
  8. package/browser-prod/package.json +1 -1
  9. package/browser-prod/types/tnp-core-browser-prod.d.ts +31 -28
  10. package/browser-prod.split-namespaces.json +10 -4
  11. package/lib/build-info._auto-generated_.d.ts +1 -1
  12. package/lib/build-info._auto-generated_.js +1 -1
  13. package/lib/index.d.ts +1 -0
  14. package/lib/index.js +1 -0
  15. package/lib/index.js.map +1 -1
  16. package/lib/lodash.namespace.d.ts +1 -0
  17. package/lib/lodash.namespace.js +519 -254
  18. package/lib/lodash.namespace.js.map +1 -1
  19. package/lib/package.json +1 -1
  20. package/lib/utils-json.js +2 -0
  21. package/lib/utils-json.js.map +1 -1
  22. package/lib/utils-os.d.ts +0 -26
  23. package/lib/utils-os.js +0 -122
  24. package/lib/utils-os.js.map +1 -1
  25. package/lib/utils-temp-folder.d.ts +29 -0
  26. package/lib/utils-temp-folder.js +270 -0
  27. package/lib/utils-temp-folder.js.map +1 -0
  28. package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
  29. package/lib-esm/lib/build-info._auto-generated_.js +1 -1
  30. package/lib-esm/lib/config.d.ts +2 -2
  31. package/lib-esm/lib/core-imports.d.ts +4 -1
  32. package/lib-esm/lib/framework-name.d.ts +3 -3
  33. package/lib-esm/lib/index.d.ts +1 -0
  34. package/lib-esm/lib/index.js +1 -0
  35. package/lib-esm/lib/index.js.map +1 -1
  36. package/lib-esm/lib/jsonc-parse.test.d.ts +1 -0
  37. package/lib-esm/lib/lodash.namespace.d.ts +1 -0
  38. package/lib-esm/lib/lodash.namespace.js +519 -254
  39. package/lib-esm/lib/lodash.namespace.js.map +1 -1
  40. package/lib-esm/lib/taon-state-machine.test.d.ts +1 -0
  41. package/lib-esm/lib/utils-binary.d.ts +9 -1
  42. package/lib-esm/lib/utils-env.test.d.ts +1 -0
  43. package/lib-esm/lib/utils-imports.test.d.ts +0 -0
  44. package/lib-esm/lib/utils-json.js +2 -0
  45. package/lib-esm/lib/utils-json.js.map +1 -1
  46. package/lib-esm/lib/utils-json.test.d.ts +1 -0
  47. package/lib-esm/lib/utils-jwt.test.d.ts +1 -0
  48. package/lib-esm/lib/utils-md-docs.test.d.ts +1 -0
  49. package/lib-esm/lib/utils-os.d.ts +0 -26
  50. package/lib-esm/lib/utils-os.js +0 -122
  51. package/lib-esm/lib/utils-os.js.map +1 -1
  52. package/lib-esm/lib/utils-progress.test.d.ts +1 -0
  53. package/lib-esm/lib/utils-projects.test.d.ts +0 -0
  54. package/lib-esm/lib/utils-temp-folder.d.ts +29 -0
  55. package/lib-esm/lib/utils-temp-folder.js +267 -0
  56. package/lib-esm/lib/utils-temp-folder.js.map +1 -0
  57. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  58. package/lib-prod/build-info._auto-generated_.js +1 -1
  59. package/lib-prod/core-cli.js.map +1 -1
  60. package/lib-prod/core-imports.d.ts +1 -1
  61. package/lib-prod/core-imports.js +1 -1
  62. package/lib-prod/core-imports.js.map +1 -1
  63. package/lib-prod/cross-platform-path.js.map +1 -1
  64. package/lib-prod/global-task-manager.js.map +1 -1
  65. package/lib-prod/helpers.js.map +1 -1
  66. package/lib-prod/index.d.ts +1 -0
  67. package/lib-prod/index.js +1 -0
  68. package/lib-prod/index.js.map +1 -1
  69. package/lib-prod/lodash.namespace.d.ts +1 -0
  70. package/lib-prod/lodash.namespace.js +519 -254
  71. package/lib-prod/lodash.namespace.js.map +1 -1
  72. package/lib-prod/package.json +1 -1
  73. package/lib-prod/start-cli.js.map +1 -1
  74. package/lib-prod/taon-state-machine.js.map +1 -1
  75. package/lib-prod/utils-cli.js.map +1 -1
  76. package/lib-prod/utils-etc-hosts.js.map +1 -1
  77. package/lib-prod/utils-exec-proc.js.map +1 -1
  78. package/lib-prod/utils-files-folders.js.map +1 -1
  79. package/lib-prod/utils-json.js +3 -1
  80. package/lib-prod/utils-json.js.map +1 -1
  81. package/lib-prod/utils-network.js.map +1 -1
  82. package/lib-prod/utils-os.d.ts +0 -26
  83. package/lib-prod/utils-os.js +0 -122
  84. package/lib-prod/utils-os.js.map +1 -1
  85. package/lib-prod/utils-process-logger.js.map +1 -1
  86. package/lib-prod/utils-process.js.map +1 -1
  87. package/lib-prod/utils-progress.js.map +1 -1
  88. package/lib-prod/utils-start-async.js.map +1 -1
  89. package/lib-prod/utils-string-regex.js.map +1 -1
  90. package/lib-prod/utils-sudo.js.map +1 -1
  91. package/lib-prod/utils-temp-folder.d.ts +27 -0
  92. package/lib-prod/utils-temp-folder.js +264 -0
  93. package/lib-prod/utils-temp-folder.js.map +1 -0
  94. package/lib-prod/utils-terminal.js.map +1 -1
  95. package/lib-prod/utils.js.map +1 -1
  96. package/lib-prod.split-namespaces.json +10 -4
  97. package/package.json +3 -2
  98. package/websql/fesm2022/tnp-core-websql.mjs +883 -426
  99. package/websql/fesm2022/tnp-core-websql.mjs.map +1 -1
  100. package/websql/package.json +1 -1
  101. package/websql/types/tnp-core-websql.d.ts +32 -27
  102. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs +880 -426
  103. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs.map +1 -1
  104. package/websql-prod/package.json +1 -1
  105. package/websql-prod/types/tnp-core-websql-prod.d.ts +31 -28
  106. package/websql-prod.split-namespaces.json +10 -4
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tnp-core/browser",
3
- "version": "21.0.164",
3
+ "version": "21.0.166",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0"
@@ -166,6 +166,7 @@ declare namespace _ {
166
166
  const isNumber: typeof lodash.isNumber;
167
167
  const isObject: typeof lodash.isObject;
168
168
  const isObjectLike: typeof lodash.isObjectLike;
169
+ const isLeafObject: (value: unknown) => boolean;
169
170
  const isPlainObject: typeof lodash.isPlainObject;
170
171
  const isRegExp: typeof lodash.isRegExp;
171
172
  const isSafeInteger: typeof lodash.isSafeInteger;
@@ -1765,32 +1766,6 @@ declare namespace UtilsOs {
1765
1766
  const isDockerAvailable: () => Promise<boolean>;
1766
1767
  const openFolderInFileExplorer: (folderPath: string) => void;
1767
1768
  const getRealHomeDir: () => string;
1768
- interface GetTempFolderOptions {
1769
- /**
1770
- * Automatically remove this folder after the specified number of days.
1771
- *
1772
- * Folders with expiration enabled are created inside:
1773
- * <system-temp>/__temp__folders__with__exp__date
1774
- */
1775
- deleteAfterDays?: number;
1776
- /**
1777
- * Optional readable part of the generated folder name.
1778
- */
1779
- prefix?: string;
1780
- /**
1781
- * When true, creates a unique folder on every call.
1782
- *
1783
- * Example:
1784
- * /tmp/cloudflare-db-1789309118998-1234-a1b2c3d4e5f6
1785
- *
1786
- * When false, creates/reuses a persistent folder:
1787
- * /tmp/cloudflare-db
1788
- *
1789
- * @default false
1790
- */
1791
- everytimeNew?: boolean;
1792
- }
1793
- const getTempFolder: (options?: GetTempFolderOptions) => string;
1794
1769
  type Editor = 'code' | 'codium' | 'cursor' | 'theia' | 'idea' | 'idea64';
1795
1770
  type EditorProcess = `${Editor}` | 'code-oss';
1796
1771
  const EditorArr: Editor[];
@@ -3071,6 +3046,36 @@ declare namespace UtilsPasswords {
3071
3046
  function verify(password: string, storedHash: string): Promise<boolean>;
3072
3047
  }
3073
3048
 
3049
+ declare namespace UtilsTempFolder {
3050
+ interface GetTempFolderOptions {
3051
+ /**
3052
+ * Automatically remove this folder after the specified number of days.
3053
+ *
3054
+ * Folders with expiration enabled are created inside:
3055
+ * <system-temp>/__temp__folders__with__exp__date
3056
+ */
3057
+ deleteAfterDays?: number;
3058
+ /**
3059
+ * Optional readable part of the generated folder name.
3060
+ */
3061
+ prefix?: string;
3062
+ /**
3063
+ * When true, creates a unique folder on every call.
3064
+ *
3065
+ * Example:
3066
+ * /tmp/cloudflare-db-1789309118998-1234-a1b2c3d4e5f6
3067
+ *
3068
+ * When false, creates/reuses a persistent folder:
3069
+ * /tmp/cloudflare-db
3070
+ *
3071
+ * @default false
3072
+ */
3073
+ everytimeNew?: boolean;
3074
+ }
3075
+ const getPath: (options?: GetTempFolderOptions) => Promise<string>;
3076
+ function getPathForNodeOnly(options: GetTempFolderOptions): string;
3077
+ }
3078
+
3074
3079
  type JsonValue = null | boolean | number | string | JsonValue[] | {
3075
3080
  [key: string]: JsonValue;
3076
3081
  };
@@ -3622,5 +3627,5 @@ declare const globalSpinner: {
3622
3627
  readonly instance: Pick<ora.Ora, "start" | "text" | "succeed" | "stop" | "fail">;
3623
3628
  };
3624
3629
 
3625
- export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, DbBinaryFormatEnum, ExecAsyncVscodeError, FilePathMetaData, FilesNames, GlobalLibTypeName, GlobalStorage, GlobalTaskManager, GlobalTaskManagerClass, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, REGEX_REGION, TAGS, TaonStateMachine, Utils, UtilsBinary, UtilsCli, UtilsCliClassMethod, UtilsDotFile, UtilsEnv, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsHttp, UtilsI18n, UtilsJson, UtilsJwt, UtilsMdDocs, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsPasswords, UtilsProcess, UtilsProcessLogger, UtilsProgress, UtilsProjects, UtilsSecretEnv, UtilsStdinStdoutLogger, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTerminal, UtilsTime, UtilsWaitNotifier, UtilsYaml, _, appRelatedFiles, areTrustedForPatchUpdate, backendNodejsOnlyFiles, backendWebsqlNodejsFiles, baseTaonDevProjectsNames, chalk, child_process, chokidar, config, crossPlatformPath, dateformat, decodeEnv, dockerTemplates, dotTaonFolder, dotTnpFolder, encoding, execAsyncVscode, extAllowedToExportAndReplaceTSJSCodeFiles, extAllowedToReplace, extForSassLikeFiles, extForStyles, extTemplatesFiles, fg, fileName, filesNotAllowedToClean, folderName, frameworkName, frameworkNameBe, frontEndOnly, frontendFiles, fse, glob, globalSpinner, http, https, isCloudflareWorker, isElevated, json5, micromatch, mkdirp, ncp, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requireDefault, requiredForDev, rimraf, spawn, startAsync, stateServiceSuffix, taonActionFromParent, taonBasePathToGlobalDockerTemplatesFn, taonContainers, taonCutNextLineCut, taonPackageName, taonProjects, taonRepoPathUserInUserDirFn, taonSkipCut, tempFoldersName, tnpPackageName, updateJsoncContent, urlRepoTaon, urlRepoTaonContainers, win32Path };
3630
+ export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, DbBinaryFormatEnum, ExecAsyncVscodeError, FilePathMetaData, FilesNames, GlobalLibTypeName, GlobalStorage, GlobalTaskManager, GlobalTaskManagerClass, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, REGEX_REGION, TAGS, TaonStateMachine, Utils, UtilsBinary, UtilsCli, UtilsCliClassMethod, UtilsDotFile, UtilsEnv, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsHttp, UtilsI18n, UtilsJson, UtilsJwt, UtilsMdDocs, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsPasswords, UtilsProcess, UtilsProcessLogger, UtilsProgress, UtilsProjects, UtilsSecretEnv, UtilsStdinStdoutLogger, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTempFolder, UtilsTerminal, UtilsTime, UtilsWaitNotifier, UtilsYaml, _, appRelatedFiles, areTrustedForPatchUpdate, backendNodejsOnlyFiles, backendWebsqlNodejsFiles, baseTaonDevProjectsNames, chalk, child_process, chokidar, config, crossPlatformPath, dateformat, decodeEnv, dockerTemplates, dotTaonFolder, dotTnpFolder, encoding, execAsyncVscode, extAllowedToExportAndReplaceTSJSCodeFiles, extAllowedToReplace, extForSassLikeFiles, extForStyles, extTemplatesFiles, fg, fileName, filesNotAllowedToClean, folderName, frameworkName, frameworkNameBe, frontEndOnly, frontendFiles, fse, glob, globalSpinner, http, https, isCloudflareWorker, isElevated, json5, micromatch, mkdirp, ncp, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requireDefault, requiredForDev, rimraf, spawn, startAsync, stateServiceSuffix, taonActionFromParent, taonBasePathToGlobalDockerTemplatesFn, taonContainers, taonCutNextLineCut, taonPackageName, taonProjects, taonRepoPathUserInUserDirFn, taonSkipCut, tempFoldersName, tnpPackageName, updateJsoncContent, urlRepoTaon, urlRepoTaonContainers, win32Path };
3626
3631
  export type { BackendSignal, CommandOutputOptions, DbBinaryFormat, DbBinaryFormatForBrowser, ExecAsyncVscodeOptions, ExecAsyncVscodeResult, ExecVscodeProgress, JsPrimitive, JsonValue, LibTypeNames, ProcessStartOptions, Replacement, ReplacementString, RunSyncOrAsyncOptions, TaskStats };