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.
@@ -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 * as dateformat from 'dateformat';
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