tnp-core 21.0.163 → 21.0.164

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 (68) hide show
  1. package/VERIFIED-BUILD-DATA.jsonc +3 -3
  2. package/browser/fesm2022/tnp-core-browser.mjs +8 -21
  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 +1 -3
  6. package/browser-prod/fesm2022/tnp-core-browser-prod.mjs +8 -21
  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 +1 -3
  10. package/lib/build-info._auto-generated_.d.ts +1 -1
  11. package/lib/build-info._auto-generated_.js +1 -1
  12. package/lib/core-imports.d.ts +1 -3
  13. package/lib/core-imports.js +2 -16
  14. package/lib/core-imports.js.map +1 -1
  15. package/lib/index.d.ts +0 -1
  16. package/lib/index.js +0 -1
  17. package/lib/index.js.map +1 -1
  18. package/lib/package.json +1 -1
  19. package/lib/utils-binary.js +7 -7
  20. package/lib/utils-binary.js.map +1 -1
  21. package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
  22. package/lib-esm/lib/build-info._auto-generated_.js +1 -1
  23. package/lib-esm/lib/core-imports.d.ts +1 -3
  24. package/lib-esm/lib/core-imports.js +1 -15
  25. package/lib-esm/lib/core-imports.js.map +1 -1
  26. package/lib-esm/lib/index.d.ts +0 -1
  27. package/lib-esm/lib/index.js +0 -1
  28. package/lib-esm/lib/index.js.map +1 -1
  29. package/lib-esm/lib/utils-binary.js +6 -6
  30. package/lib-esm/lib/utils-binary.js.map +1 -1
  31. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  32. package/lib-prod/build-info._auto-generated_.js +1 -1
  33. package/lib-prod/core-imports.d.ts +1 -3
  34. package/lib-prod/core-imports.js +2 -15
  35. package/lib-prod/core-imports.js.map +1 -1
  36. package/lib-prod/index.d.ts +0 -1
  37. package/lib-prod/index.js +0 -1
  38. package/lib-prod/index.js.map +1 -1
  39. package/lib-prod/package.json +1 -1
  40. package/lib-prod/utils-binary.js +6 -6
  41. package/lib-prod/utils-binary.js.map +1 -1
  42. package/package.json +1 -1
  43. package/websql/fesm2022/tnp-core-websql.mjs +8 -21
  44. package/websql/fesm2022/tnp-core-websql.mjs.map +1 -1
  45. package/websql/package.json +1 -1
  46. package/websql/types/tnp-core-websql.d.ts +1 -3
  47. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs +8 -21
  48. package/websql-prod/fesm2022/tnp-core-websql-prod.mjs.map +1 -1
  49. package/websql-prod/package.json +1 -1
  50. package/websql-prod/types/tnp-core-websql-prod.d.ts +1 -3
  51. package/lib/axios-fetch.d.ts +0 -34
  52. package/lib/axios-fetch.js +0 -113
  53. package/lib/axios-fetch.js.map +0 -1
  54. package/lib/axios-simple-cookie-jar.d.ts +0 -6
  55. package/lib/axios-simple-cookie-jar.js +0 -34
  56. package/lib/axios-simple-cookie-jar.js.map +0 -1
  57. package/lib-esm/lib/axios-fetch.d.ts +0 -34
  58. package/lib-esm/lib/axios-fetch.js +0 -108
  59. package/lib-esm/lib/axios-fetch.js.map +0 -1
  60. package/lib-esm/lib/axios-simple-cookie-jar.d.ts +0 -6
  61. package/lib-esm/lib/axios-simple-cookie-jar.js +0 -30
  62. package/lib-esm/lib/axios-simple-cookie-jar.js.map +0 -1
  63. package/lib-prod/axios-fetch.d.ts +0 -34
  64. package/lib-prod/axios-fetch.js +0 -108
  65. package/lib-prod/axios-fetch.js.map +0 -1
  66. package/lib-prod/axios-simple-cookie-jar.d.ts +0 -6
  67. package/lib-prod/axios-simple-cookie-jar.js +0 -30
  68. package/lib-prod/axios-simple-cookie-jar.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "commitHash": "2119b9278429e680c922cd4e367fa23e1da693b2",
3
- "commitName": "feat: password input",
4
- "commitDate": "27-09-2026 17:31:45"
2
+ "commitHash": "72e4e6afe53ef781dbe878a34b3b52a5a2a50fef",
3
+ "commitName": "chore: axios replaced with fetch",
4
+ "commitDate": "30-09-2026 20:02:51"
5
5
  }
@@ -302,7 +302,6 @@ import * as _zip from 'lodash/zip';
302
302
  import * as _zipObject from 'lodash/zipObject';
303
303
  import * as _zipObjectDeep from 'lodash/zipObjectDeep';
304
304
  import * as _zipWith from 'lodash/zipWith';
305
- import axiosBasebrowser from 'axios';
306
305
  import jQuery from 'jquery';
307
306
  import { format } from 'date-fns';
308
307
  import * as json5def from 'json5';
@@ -1136,6 +1135,7 @@ let dateformat = ((date, mask) => {
1136
1135
  .replace(/MM/g, 'mm'));
1137
1136
  });
1138
1137
  const json5 = json5def__default ? json5def__default : json5def;
1138
+ // import { Helpers } from './helpers';
1139
1139
  //#region set up browser mocks
1140
1140
  //#region set up browser mocks / mock jquery
1141
1141
  let $;
@@ -1162,20 +1162,6 @@ let path = void 0;
1162
1162
  path = path$1;
1163
1163
  //#endregion
1164
1164
  //#endregion
1165
- //#region set up browser mocks / mock axios
1166
- let axios = void 0;
1167
- /* */
1168
- /* */
1169
- /* */
1170
- /* */
1171
- /* */
1172
- /* */
1173
- /* */
1174
- /* */
1175
- //#region @browser
1176
- axios = axiosBasebrowser;
1177
- //#endregion
1178
- //#endregion
1179
1165
  //#region set up browser mocks / mock chalk
1180
1166
  let chalk = void 0;
1181
1167
  /* */
@@ -13045,11 +13031,12 @@ var UtilsBinary;
13045
13031
  //#endregion
13046
13032
  //#region binay utils / get blob from url
13047
13033
  async function getBlobFrom(url) {
13048
- return (await axios.request({
13049
- url,
13050
- method: 'get',
13051
- responseType: 'blob',
13052
- })).data;
13034
+ const response = await fetch(url);
13035
+ if (!response.ok) {
13036
+ throw new Error(`Failed to get blob from "${url}". ` +
13037
+ `HTTP ${response.status}: ${response.statusText}`);
13038
+ }
13039
+ return (await response.blob());
13053
13040
  }
13054
13041
  UtilsBinary.getBlobFrom = getBlobFrom;
13055
13042
  //#endregion
@@ -14871,5 +14858,5 @@ var index = {};
14871
14858
  * Generated bundle index. Do not edit.
14872
14859
  */
14873
14860
 
14874
- 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, axios, 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 };
14861
+ 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 };
14875
14862
  //# sourceMappingURL=tnp-core-browser.mjs.map