@onecx/accelerator 4.44.3 → 4.44.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/accelerator",
3
- "version": "4.44.3",
3
+ "version": "4.44.4",
4
4
  "peerDependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "rxjs": "7.8.1"
package/src/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './lib/topic/topic';
2
2
  export * from './lib/topic/syncable-topic';
3
3
  export * from './lib/topic/topic-publisher';
4
4
  export * from './lib/utils/path.utils';
5
+ export * from './lib/utils/date.utils';
package/src/index.js CHANGED
@@ -5,4 +5,5 @@ tslib_1.__exportStar(require("./lib/topic/topic"), exports);
5
5
  tslib_1.__exportStar(require("./lib/topic/syncable-topic"), exports);
6
6
  tslib_1.__exportStar(require("./lib/topic/topic-publisher"), exports);
7
7
  tslib_1.__exportStar(require("./lib/utils/path.utils"), exports);
8
+ tslib_1.__exportStar(require("./lib/utils/date.utils"), exports);
8
9
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/accelerator/src/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,qEAA0C;AAC1C,sEAA2C;AAC3C,iEAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/accelerator/src/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,qEAA0C;AAC1C,sEAA2C;AAC3C,iEAAsC;AACtC,iEAAsC"}
@@ -0,0 +1 @@
1
+ export declare function isValidDate(value: any): value is Date;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isValidDate = void 0;
4
+ function isValidDate(value) {
5
+ return value instanceof Date && !isNaN(value);
6
+ }
7
+ exports.isValidDate = isValidDate;
8
+ //# sourceMappingURL=date.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.utils.js","sourceRoot":"","sources":["../../../../../../libs/accelerator/src/lib/utils/date.utils.ts"],"names":[],"mappings":";;;AAAA,SAAgB,WAAW,CAAC,KAAU;IAClC,OAAO,KAAK,YAAY,IAAI,IAAI,CAAC,KAAK,CAAC,KAAY,CAAC,CAAC;AACvD,CAAC;AAFH,kCAEG"}