tnp-core 21.0.58 → 21.0.62
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/browser/fesm2022/tnp-core-browser.mjs +16 -29
- package/browser/fesm2022/tnp-core-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser/types/tnp-core-browser.d.ts +9 -3
- package/browser-prod/fesm2022/tnp-core-browser.mjs +16 -29
- package/browser-prod/fesm2022/tnp-core-browser.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/browser-prod/types/tnp-core-browser.d.ts +9 -3
- package/cli.backend.js +2 -2
- 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 +5 -1
- package/lib/core-imports.js +18 -1
- package/lib/core-imports.js.map +1 -1
- package/lib/node-chalk-mock.js +2 -2
- package/lib/node-path-mock.js +2 -2
- package/lib/package.json +1 -1
- package/lib-prod/build-info._auto-generated_.ts +1 -1
- package/lib-prod/core-imports.ts +25 -1
- package/lib-prod/lodash.namespace.ts +0 -1
- package/lib-prod/node-chalk-mock.ts +1 -1
- package/lib-prod/node-path-mock.ts +1 -1
- package/lib-prod/package.json +1 -1
- package/package.json +2 -1
- package/websql/fesm2022/tnp-core-websql.mjs +16 -29
- package/websql/fesm2022/tnp-core-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql/types/tnp-core-websql.d.ts +9 -3
- package/websql-prod/fesm2022/tnp-core-websql.mjs +16 -29
- package/websql-prod/fesm2022/tnp-core-websql.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/websql-prod/types/tnp-core-websql.d.ts +9 -3
|
@@ -2,8 +2,7 @@ import { add, after, ary, assign, assignIn, assignInWith, assignWith, at, attemp
|
|
|
2
2
|
import jQuery from 'jquery';
|
|
3
3
|
import * as q from 'q';
|
|
4
4
|
export { q };
|
|
5
|
-
import
|
|
6
|
-
export { dateformat };
|
|
5
|
+
import { format } from 'date-fns';
|
|
7
6
|
import { parse } from 'json5';
|
|
8
7
|
import * as json5 from 'json5';
|
|
9
8
|
export { json5 };
|
|
@@ -852,32 +851,20 @@ const path$1 = {
|
|
|
852
851
|
//#endregion
|
|
853
852
|
|
|
854
853
|
// let forceTrace = false;
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
/* */
|
|
860
|
-
/* */
|
|
861
|
-
/* */
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
/* */
|
|
870
|
-
/* */
|
|
871
|
-
/* */
|
|
872
|
-
/* */
|
|
873
|
-
/* */
|
|
874
|
-
/* */
|
|
875
|
-
/* */
|
|
876
|
-
/* */
|
|
877
|
-
/* */
|
|
878
|
-
/* */
|
|
879
|
-
/* */
|
|
880
|
-
//#region @browser
|
|
854
|
+
/**
|
|
855
|
+
* use only in backend mode
|
|
856
|
+
*/
|
|
857
|
+
function requireDefault(id) {
|
|
858
|
+
/* */
|
|
859
|
+
/* */
|
|
860
|
+
/* */
|
|
861
|
+
return (void 0);
|
|
862
|
+
}
|
|
863
|
+
let dateformat = ((date, mask) => {
|
|
864
|
+
return format(typeof date === 'number' ? new Date(date) : date, mask
|
|
865
|
+
.replace(/mm/g, 'MM') // month
|
|
866
|
+
.replace(/MM/g, 'mm'));
|
|
867
|
+
});
|
|
881
868
|
//#region set up browser mocks
|
|
882
869
|
//#region set up browser mocks / mock jquery
|
|
883
870
|
let $;
|
|
@@ -10890,5 +10877,5 @@ const config = {
|
|
|
10890
10877
|
* Generated bundle index. Do not edit.
|
|
10891
10878
|
*/
|
|
10892
10879
|
|
|
10893
|
-
export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, FilePathMetaData, FilesNames, GlobalLibTypeName, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, PROGRESS_DATA, REGEX_REGION, TAGS, Utils, UtilsCliClassMethod, UtilsDotFile, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsJson, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsProcess, UtilsProcessLogger, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTerminal, UtilsYaml, _, appRelatedFiles, areTrustedForPatchUpdate, backendNodejsOnlyFiles, backendWebsqlNodejsFiles, baseTaonDevProjectsNames, chalk, child_process, chokidar, config, crossPlatformPath, dockerTemplates, dotTaonFolder, dotTnpFolder, encoding, extAllowedToExportAndReplaceTSJSCodeFiles, extAllowedToReplace, extForSassLikeFiles, extForStyles, extTemplatesFiles, fg, fileName, filesNotAllowedToClean, fkill, folderName, frameworkName, frameworkNameBe, frontEndOnly, frontendFiles, fse, glob, http, https, isElevated, mkdirp, ncp, net, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requiredForDev, rimraf, spawn, taonContainers, taonPackageName, taonProjects, tempFoldersName, tnpPackageName, urlRepoTaon, urlRepoTaonContainers, win32Path };
|
|
10880
|
+
export { $, BaselineSiteJoinprefix, CLI, CoreConfig, CoreModels, FilePathMetaData, FilesNames, GlobalLibTypeName, Helpers, LibTypeArr, LibTypeEnum, PREFIXES, PROGRESS_DATA, REGEX_REGION, TAGS, Utils, UtilsCliClassMethod, UtilsDotFile, UtilsEtcHosts, UtilsExecProc, UtilsFilesFolders, UtilsFilesFoldersSync, UtilsJson, UtilsMessages, UtilsMigrations, UtilsNetwork, UtilsOs, UtilsProcess, UtilsProcessLogger, UtilsString, UtilsStringRegex, UtilsSudo, UtilsTerminal, 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, http, https, isElevated, mkdirp, ncp, net, notAllowedNames, notAllowedProjectNames, notNeededForExportFiles, os, path, ps, psList, requireDefault, requiredForDev, rimraf, spawn, taonContainers, taonPackageName, taonProjects, tempFoldersName, tnpPackageName, urlRepoTaon, urlRepoTaonContainers, win32Path };
|
|
10894
10881
|
//# sourceMappingURL=tnp-core-browser.mjs.map
|