@finnair/v-validation-moment 1.1.0-alpha.5 → 2.0.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,6 +3,36 @@
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
+ # [2.0.0](https://github.com/finnair/v-validation/compare/v1.1.0...v2.0.0) (2022-09-08)
7
+
8
+ **Note:** Version bump only for package @finnair/v-validation-moment
9
+
10
+
11
+
12
+
13
+
14
+ # [1.1.0](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0) (2022-08-29)
15
+
16
+
17
+ ### Features
18
+
19
+ * Support for Luxon ([94b3806](https://github.com/finnair/v-validation/commit/94b38060e07feeb0abb8c81659d8bda537a4d9aa))
20
+
21
+
22
+
23
+
24
+
25
+ # [1.1.0-alpha.6](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0-alpha.6) (2022-08-17)
26
+
27
+
28
+ ### Features
29
+
30
+ * Support for Luxon ([00d0a8e](https://github.com/finnair/v-validation/commit/00d0a8e8c8de46bfeb3502f51bb8cd5a3627070e))
31
+
32
+
33
+
34
+
35
+
6
36
  # [1.1.0-alpha.5](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0-alpha.5) (2022-08-16)
7
37
 
8
38
 
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const Vmoment_1 = require("./Vmoment");
4
- console.log((0, Vmoment_1.timeMoment)('24:00:01').toDate().toISOString());
6
+ const moment_1 = __importDefault(require("moment"));
7
+ console.log((0, moment_1.default)().format());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finnair/v-validation-moment",
3
- "version": "1.1.0-alpha.5",
3
+ "version": "2.0.0",
4
4
  "private": false,
5
5
  "description": "Moment validators",
6
6
  "main": "dist/index.js",
@@ -25,9 +25,9 @@
25
25
  "build": "tsc -b ."
26
26
  },
27
27
  "dependencies": {
28
- "@finnair/path": "^1.1.0-alpha.5",
29
- "@finnair/v-validation": "^1.1.0-alpha.5",
28
+ "@finnair/path": "^2.0.0",
29
+ "@finnair/v-validation": "^2.0.0",
30
30
  "moment": "2.29.4"
31
31
  },
32
- "gitHead": "593b0dc9cb646a7059d2ede95c44c3b80bec51d3"
32
+ "gitHead": "432759665b664859d5ed80e4b573432abdb23afc"
33
33
  }