@fi4f/v 2.0.1 → 2.0.2

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/out/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- export interface Version {
1
+ export type Version = {
2
2
  readonly moniker: string;
3
3
  readonly major: number;
4
4
  readonly minor: number;
5
5
  readonly patch: number;
6
- }
6
+ };
7
7
  export declare const Version: {
8
8
  "new"(o?: {
9
9
  moniker?: string;
@@ -19,4 +19,3 @@ export declare const Version: {
19
19
  toString(a: Version): string;
20
20
  compare(a: Version, b: Version): number;
21
21
  };
22
- export default Version;
package/out/index.js CHANGED
@@ -25,4 +25,3 @@ exports.Version = {
25
25
  return 0;
26
26
  }
27
27
  };
28
- exports.default = exports.Version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fi4f/v",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "url": "git+https://github.com/fi4f/v.git"
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export interface Version {
1
+ export type Version = {
2
2
  readonly moniker: string;
3
3
  readonly major : number;
4
4
  readonly minor : number;
@@ -31,6 +31,4 @@ export const Version = {
31
31
  if((k = a.patch - b.patch) !== 0) return k;
32
32
  return 0;
33
33
  }
34
- }
35
-
36
- export default Version;
34
+ }