@ehmpathy/uni-time 1.7.2 → 1.7.3

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/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  export * from './domain/UniDateTime';
2
2
  export * from './domain/UniDuration';
3
3
  export * from './logic/utils/sleep';
4
- export * from './logic/checks/isUniDate';
5
4
  export * from './logic/checks/isUniDateTime';
5
+ export * from './logic/checks/isUniDate';
6
+ export * from './logic/checks/isUniMonth';
6
7
  export * from './logic/casts/toMillisecondsSinceEpoch';
7
8
  export * from './logic/manipulate/addDuration';
8
9
  export * from './logic/manipulate/getDuration';
package/dist/index.js CHANGED
@@ -17,8 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./domain/UniDateTime"), exports);
18
18
  __exportStar(require("./domain/UniDuration"), exports);
19
19
  __exportStar(require("./logic/utils/sleep"), exports);
20
- __exportStar(require("./logic/checks/isUniDate"), exports);
21
20
  __exportStar(require("./logic/checks/isUniDateTime"), exports);
21
+ __exportStar(require("./logic/checks/isUniDate"), exports);
22
+ __exportStar(require("./logic/checks/isUniMonth"), exports);
22
23
  __exportStar(require("./logic/casts/toMillisecondsSinceEpoch"), exports);
23
24
  __exportStar(require("./logic/manipulate/addDuration"), exports);
24
25
  __exportStar(require("./logic/manipulate/getDuration"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,2DAAyC;AACzC,+DAA6C;AAC7C,yEAAuD;AACvD,iEAA+C;AAC/C,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,2DAAyC;AACzC,mFAAiE"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AACpC,+DAA6C;AAC7C,2DAAyC;AACzC,4DAA0C;AAC1C,yEAAuD;AACvD,iEAA+C;AAC/C,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,2DAAyC;AACzC,mFAAiE"}
@@ -1,10 +1,10 @@
1
- import { UniDate } from '../../domain/UniDateTime';
1
+ import { UniMonth } from '../../domain/UniDateTime';
2
2
  import { castInputToDate } from '../casts/castInputToDate';
3
3
  /**
4
4
  * casts a date like input into a UniDate
5
5
  */
6
- export declare const asUniMonth: (input: Parameters<typeof castInputToDate>[0]) => UniDate;
6
+ export declare const asUniMonth: (input: Parameters<typeof castInputToDate>[0]) => UniMonth;
7
7
  /**
8
8
  * checks whether a string literal input is a UniDate
9
9
  */
10
- export declare const isUniMonth: import("type-fns").AssessWithAssure<string, string & import("domain-glossaries").OfGlossary<"uni-time.UniDate">>;
10
+ export declare const isUniMonth: import("type-fns").AssessWithAssure<string, string & import("domain-glossaries").OfGlossary<"uni-time.UniMonth">>;
@@ -1 +1 @@
1
- {"version":3,"file":"isUniMonth.js","sourceRoot":"","sources":["../../../src/logic/checks/isUniMonth.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAC5C,uCAAsC;AAGtC,8DAA2D;AAE3D;;GAEG;AACI,MAAM,UAAU,GAAG,CACxB,KAA4C,EACnC,EAAE,CAAC,IAAA,iBAAM,EAAC,IAAA,iCAAe,EAAC,KAAK,CAAC,EAAE,SAAS,CAAY,CAAC;AAFtD,QAAA,UAAU,cAE4C;AAEnE;;GAEG;AACU,QAAA,UAAU,GAAG,IAAA,qBAAU,EAAC,CAAC,KAAa,EAAoB,EAAE;IACvE,IAAI,CAAC;QACH,OAAO,IAAA,kBAAU,EAAC,IAAA,mBAAQ,EAAC,KAAK,CAAC,CAAC,KAAK,KAAK,CAAC;IAC/C,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"isUniMonth.js","sourceRoot":"","sources":["../../../src/logic/checks/isUniMonth.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAC5C,uCAAsC;AAGtC,8DAA2D;AAE3D;;GAEG;AACI,MAAM,UAAU,GAAG,CACxB,KAA4C,EAClC,EAAE,CAAC,IAAA,iBAAM,EAAC,IAAA,iCAAe,EAAC,KAAK,CAAC,EAAE,SAAS,CAAa,CAAC;AAFxD,QAAA,UAAU,cAE8C;AAErE;;GAEG;AACU,QAAA,UAAU,GAAG,IAAA,qBAAU,EAAC,CAAC,KAAa,EAAqB,EAAE;IACxE,IAAI,CAAC;QACH,OAAO,IAAA,kBAAU,EAAC,IAAA,mBAAQ,EAAC,KAAK,CAAC,CAAC,KAAK,KAAK,CAAC;IAC/C,CAAC;IAAC,WAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ehmpathy/uni-time",
3
3
  "author": "ehmpathy",
4
4
  "description": "a glossary of universally intuitive time, date, and duration domain literals",
5
- "version": "1.7.2",
5
+ "version": "1.7.3",
6
6
  "repository": "ehmpathy/uni-time",
7
7
  "homepage": "https://github.com/ehmpathy/uni-time",
8
8
  "keywords": [