@finnair/v-validation-moment 3.0.0-alpha.2 → 3.1.0

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [3.0.0-alpha.2](https://github.com/finnair/v-validation/compare/v2.0.0...v3.0.0-alpha.2) (2022-09-28)
6
+ # [3.1.0](https://github.com/finnair/v-validation/compare/v3.0.0...v3.1.0) (2022-10-24)
7
7
 
8
8
  **Note:** Version bump only for package @finnair/v-validation-moment
9
9
 
@@ -11,73 +11,39 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [3.0.0-alpha.1](https://github.com/finnair/v-validation/compare/v2.0.0...v3.0.0-alpha.1) (2022-09-26)
15
-
16
- **Note:** Version bump only for package @finnair/v-validation-moment
17
-
18
-
19
-
20
-
21
-
22
- # [3.0.0-alpha.0](https://github.com/finnair/v-validation/compare/v2.0.0...v3.0.0-alpha.0) (2022-09-26)
23
-
24
- **Note:** Version bump only for package @finnair/v-validation-moment
25
-
26
-
14
+ # [3.0.0](https://github.com/finnair/v-validation/compare/v2.0.0...v3.0.0) (2022-10-03)
27
15
 
16
+ ### Features
28
17
 
18
+ - Use Object.freeze to ensure Validator immutability.
29
19
 
30
20
  # [2.0.0](https://github.com/finnair/v-validation/compare/v1.1.0...v2.0.0) (2022-09-08)
31
21
 
32
22
  **Note:** Version bump only for package @finnair/v-validation-moment
33
23
 
34
-
35
-
36
-
37
-
38
24
  # [1.1.0](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0) (2022-08-29)
39
25
 
40
-
41
26
  ### Features
42
27
 
43
- * Support for Luxon ([94b3806](https://github.com/finnair/v-validation/commit/94b38060e07feeb0abb8c81659d8bda537a4d9aa))
44
-
45
-
46
-
47
-
28
+ - Support for Luxon ([94b3806](https://github.com/finnair/v-validation/commit/94b38060e07feeb0abb8c81659d8bda537a4d9aa))
48
29
 
49
30
  # [1.1.0-alpha.6](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0-alpha.6) (2022-08-17)
50
31
 
51
-
52
32
  ### Features
53
33
 
54
- * Support for Luxon ([00d0a8e](https://github.com/finnair/v-validation/commit/00d0a8e8c8de46bfeb3502f51bb8cd5a3627070e))
55
-
56
-
57
-
58
-
34
+ - Support for Luxon ([00d0a8e](https://github.com/finnair/v-validation/commit/00d0a8e8c8de46bfeb3502f51bb8cd5a3627070e))
59
35
 
60
36
  # [1.1.0-alpha.5](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0-alpha.5) (2022-08-16)
61
37
 
62
-
63
38
  ### Features
64
39
 
65
- * Support for Luxon ([6a243f0](https://github.com/finnair/v-validation/commit/6a243f043db2ca6700180eb758a08d8edfe1e538))
66
-
67
-
68
-
69
-
40
+ - Support for Luxon ([6a243f0](https://github.com/finnair/v-validation/commit/6a243f043db2ca6700180eb758a08d8edfe1e538))
70
41
 
71
42
  # [1.1.0-alpha.0](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0-alpha.0) (2022-08-12)
72
43
 
73
-
74
44
  ### Features
75
45
 
76
- * Support for Luxon ([6f982df](https://github.com/finnair/v-validation/commit/6f982df9b55395e953069914c93fef677dec171e))
77
-
78
-
79
-
80
-
46
+ - Support for Luxon ([6f982df](https://github.com/finnair/v-validation/commit/6f982df9b55395e953069914c93fef677dec171e))
81
47
 
82
48
  ## [1.0.1](https://github.com/finnair/v-validation/compare/v0.9.1...v1.0.1) (2022-01-20)
83
49
 
@@ -4,4 +4,4 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const moment_1 = __importDefault(require("moment"));
7
- console.log((0, moment_1.default)().format());
7
+ console.log(moment_1.default.utc('2022-10-03', 'YYYY-MM-DD').toISOString());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finnair/v-validation-moment",
3
- "version": "3.0.0-alpha.2",
3
+ "version": "3.1.0",
4
4
  "private": false,
5
5
  "description": "Moment validators",
6
6
  "main": "dist/index.js",
@@ -25,9 +25,11 @@
25
25
  "build": "tsc -b ."
26
26
  },
27
27
  "dependencies": {
28
- "@finnair/path": "^3.0.0-alpha.2",
29
- "@finnair/v-validation": "^3.0.0-alpha.2",
30
- "moment": "2.29.4"
28
+ "@finnair/path": "^3.1.0",
29
+ "@finnair/v-validation": "^3.1.0"
31
30
  },
32
- "gitHead": "d42bd7583bb684429e48ce8e5db3938cb95ffd5f"
31
+ "peerDependencies": {
32
+ "moment": "^2.29.1"
33
+ },
34
+ "gitHead": "5182a63fa61cc1f5c8991e1482c5bbffe14798c3"
33
35
  }