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.
- package/VERIFIED-BUILD-DATA.jsonc +3 -3
- package/browser/fesm2022/tnp-core-browser.mjs +8 -21
- package/browser/fesm2022/tnp-core-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/tnp-core-browser.d.ts +1 -3
- package/browser-prod/fesm2022/tnp-core-browser-prod.mjs +8 -21
- package/browser-prod/fesm2022/tnp-core-browser-prod.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/tnp-core-browser-prod.d.ts +1 -3
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/core-imports.d.ts +1 -3
- package/lib/core-imports.js +2 -16
- package/lib/core-imports.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/utils-binary.js +7 -7
- package/lib/utils-binary.js.map +1 -1
- package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib-esm/lib/build-info._auto-generated_.js +1 -1
- package/lib-esm/lib/core-imports.d.ts +1 -3
- package/lib-esm/lib/core-imports.js +1 -15
- package/lib-esm/lib/core-imports.js.map +1 -1
- package/lib-esm/lib/index.d.ts +0 -1
- package/lib-esm/lib/index.js +0 -1
- package/lib-esm/lib/index.js.map +1 -1
- package/lib-esm/lib/utils-binary.js +6 -6
- package/lib-esm/lib/utils-binary.js.map +1 -1
- package/lib-prod/build-info._auto-generated_.d.ts +1 -1
- package/lib-prod/build-info._auto-generated_.js +1 -1
- package/lib-prod/core-imports.d.ts +1 -3
- package/lib-prod/core-imports.js +2 -15
- package/lib-prod/core-imports.js.map +1 -1
- package/lib-prod/index.d.ts +0 -1
- package/lib-prod/index.js +0 -1
- package/lib-prod/index.js.map +1 -1
- package/lib-prod/package.json +1 -1
- package/lib-prod/utils-binary.js +6 -6
- package/lib-prod/utils-binary.js.map +1 -1
- package/package.json +1 -1
- package/websql/fesm2022/tnp-core-websql.mjs +8 -21
- package/websql/fesm2022/tnp-core-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/tnp-core-websql.d.ts +1 -3
- package/websql-prod/fesm2022/tnp-core-websql-prod.mjs +8 -21
- package/websql-prod/fesm2022/tnp-core-websql-prod.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/tnp-core-websql-prod.d.ts +1 -3
- package/lib/axios-fetch.d.ts +0 -34
- package/lib/axios-fetch.js +0 -113
- package/lib/axios-fetch.js.map +0 -1
- package/lib/axios-simple-cookie-jar.d.ts +0 -6
- package/lib/axios-simple-cookie-jar.js +0 -34
- package/lib/axios-simple-cookie-jar.js.map +0 -1
- package/lib-esm/lib/axios-fetch.d.ts +0 -34
- package/lib-esm/lib/axios-fetch.js +0 -108
- package/lib-esm/lib/axios-fetch.js.map +0 -1
- package/lib-esm/lib/axios-simple-cookie-jar.d.ts +0 -6
- package/lib-esm/lib/axios-simple-cookie-jar.js +0 -30
- package/lib-esm/lib/axios-simple-cookie-jar.js.map +0 -1
- package/lib-prod/axios-fetch.d.ts +0 -34
- package/lib-prod/axios-fetch.js +0 -108
- package/lib-prod/axios-fetch.js.map +0 -1
- package/lib-prod/axios-simple-cookie-jar.d.ts +0 -6
- package/lib-prod/axios-simple-cookie-jar.js +0 -30
- package/lib-prod/axios-simple-cookie-jar.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commitHash": "
|
|
3
|
-
"commitName": "
|
|
4
|
-
"commitDate": "
|
|
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
|
-
|
|
13049
|
-
|
|
13050
|
-
|
|
13051
|
-
|
|
13052
|
-
}
|
|
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,
|
|
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
|