@wmfs/cardscript-to-vuelidate 1.32.0 → 1.35.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
@@ -1,3 +1,43 @@
1
+ # [1.35.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.34.1...v1.35.0) (2022-01-24)
2
+
3
+
4
+ ### 🛠 Builds
5
+
6
+ * **deps-dev:** update dependency mocha to v9.1.4 ([3abf593](https://github.com/wmfs/cardscript-to-vuelidate/commit/3abf5935d877cae1f7030afba8e65c293de6534a))
7
+ * **deps-dev:** update dependency semantic-release to v18.0.1 ([bc5944e](https://github.com/wmfs/cardscript-to-vuelidate/commit/bc5944eea9e87e92071c6a152a9d347968409a59))
8
+ * **deps-dev:** update dependency semantic-release to v19 ([7ab512a](https://github.com/wmfs/cardscript-to-vuelidate/commit/7ab512a1e9f31924fb6a19515dc68ece6b747216))
9
+ * **deps:** update [@wmfs](https://github.com/wmfs)/cardscript-schema to 1.31.0 ([c316eb3](https://github.com/wmfs/cardscript-to-vuelidate/commit/c316eb355b8bd8829dcd30b3968038df9077e48e))
10
+
11
+ ## [1.34.1](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.34.0...v1.34.1) (2021-11-15)
12
+
13
+
14
+ ### 🐛 Bug Fixes
15
+
16
+ * stop forcing min/max validation on `Input.Date` by default as it is not behaving as expected, if necessary then it can be specified in the `validation` object as `minimumDate` or `maximumDate` ([974fa09](https://github.com/wmfs/cardscript-to-vuelidate/commit/974fa091a8bbb6b325abffd2c820f7c35c418f49))
17
+
18
+
19
+ ### 🛠 Builds
20
+
21
+ * **deps-dev:** update semantic-release monorepo ([37bad04](https://github.com/wmfs/cardscript-to-vuelidate/commit/37bad04589325770faa348700bb8e4995e95cda0))
22
+
23
+ # [1.34.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.33.0...v1.34.0) (2021-10-27)
24
+
25
+
26
+ ### 🛠 Builds
27
+
28
+ * **deps-dev:** update dependency mocha to v9.1.3 ([06d4aa9](https://github.com/wmfs/cardscript-to-vuelidate/commit/06d4aa947e8025caecce50e4560b13d0ee4f3eed))
29
+ * **deps-dev:** update dependency standard to v16.0.4 ([dc08bd5](https://github.com/wmfs/cardscript-to-vuelidate/commit/dc08bd506b10bea41a755cbdb1d9365becc3def8))
30
+ * **deps-dev:** update semantic-release monorepo ([084b87d](https://github.com/wmfs/cardscript-to-vuelidate/commit/084b87d7f5d500a44a68d1227e57005ea0435246))
31
+ * **deps-dev:** update semantic-release monorepo ([6da438c](https://github.com/wmfs/cardscript-to-vuelidate/commit/6da438c6d90e9da2bf6156deca4728d1284efd4a))
32
+ * **deps:** update dependency [@wmfs](https://github.com/wmfs)/json-to-vuelidate to v1.22.3 ([7189264](https://github.com/wmfs/cardscript-to-vuelidate/commit/7189264c5b2c27e8cdb5f05dfa6a5a45b8346e57))
33
+
34
+ # [1.33.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.32.0...v1.33.0) (2021-10-18)
35
+
36
+
37
+ ### 🛠 Builds
38
+
39
+ * **deps:** bump [@wmfs](https://github.com/wmfs)/json-to-vuelidate ([6dd4c61](https://github.com/wmfs/cardscript-to-vuelidate/commit/6dd4c61882461c79a00e96539107506e9a1b87e1))
40
+
1
41
  # [1.32.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.31.0...v1.32.0) (2021-10-18)
2
42
 
3
43
 
package/lib/index.js CHANGED
@@ -62,11 +62,11 @@ module.exports = function (cardscript) {
62
62
  }
63
63
  }
64
64
 
65
- if (element.type === 'Input.Date') {
66
- const { min, max } = element
67
- if (min) appendFn(json, element.id, 'minimumDate', min === '$TODAY' ? new Date() : min)
68
- if (max) appendFn(json, element.id, 'maximumDate', max === '$TODAY' ? new Date() : max)
69
- }
65
+ // if (element.type === 'Input.Date') {
66
+ // const { min, max } = element
67
+ // if (min) appendFn(json, element.id, 'minimumDate', min === '$TODAY' ? new Date() : min)
68
+ // if (max) appendFn(json, element.id, 'maximumDate', max === '$TODAY' ? new Date() : max)
69
+ // }
70
70
 
71
71
  if (element.type === 'Input.Email') {
72
72
  json[element.id].email = true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wmfs/cardscript-to-vuelidate",
3
3
  "description": "Takes in a Cardscript JSON object and converts it into a vuelidate object.",
4
- "version": "1.32.0",
4
+ "version": "1.35.0",
5
5
  "author": "West Midlands Fire Service",
6
6
  "keywords": [
7
7
  "tymly",
@@ -9,8 +9,8 @@
9
9
  ],
10
10
  "main": "./lib/index.js",
11
11
  "dependencies": {
12
- "@wmfs/json-to-vuelidate": "1.22.0",
13
- "@wmfs/cardscript-schema": "1.30.0",
12
+ "@wmfs/json-to-vuelidate": "1.22.3",
13
+ "@wmfs/cardscript-schema": "1.31.0",
14
14
  "dottie": "2.0.2"
15
15
  },
16
16
  "devDependencies": {
@@ -18,12 +18,12 @@
18
18
  "codecov": "3.8.3",
19
19
  "conventional-changelog-metahub": "4.0.1",
20
20
  "cz-conventional-changelog": "3.3.0",
21
- "mocha": "9.0.3",
21
+ "mocha": "9.1.4",
22
22
  "nyc": "15.1.0",
23
- "semantic-release": "17.4.4",
24
- "standard": "16.0.3",
25
- "@semantic-release/changelog": "5.0.1",
26
- "@semantic-release/git": "9.0.0"
23
+ "semantic-release": "19.0.2",
24
+ "standard": "16.0.4",
25
+ "@semantic-release/changelog": "6.0.1",
26
+ "@semantic-release/git": "10.0.1"
27
27
  },
28
28
  "scripts": {
29
29
  "lint": "standard",