@wmfs/cardscript-to-vuelidate 1.33.0 → 1.36.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,45 @@
1
+ # [1.36.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.35.0...v1.36.0) (2022-01-26)
2
+
3
+
4
+ ### 🛠 Builds
5
+
6
+ * **deps-dev:** update dependency chai to v4.3.5 ([c273a01](https://github.com/wmfs/cardscript-to-vuelidate/commit/c273a01629b26e98232a5f372a3c391b091bd9ee))
7
+ * **deps-dev:** update dependency mocha to v9.2.0 ([aa40cfd](https://github.com/wmfs/cardscript-to-vuelidate/commit/aa40cfd5a40bb3b1fc422fc8b2dbbfce7448d5cb))
8
+ * **deps:** update dependency [@wmfs](https://github.com/wmfs)/json-to-vuelidate to v1.24.0 ([37ab42a](https://github.com/wmfs/cardscript-to-vuelidate/commit/37ab42a091408b75276bf50b6f9abf661ff1b7fc))
9
+
10
+ # [1.35.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.34.1...v1.35.0) (2022-01-24)
11
+
12
+
13
+ ### 🛠 Builds
14
+
15
+ * **deps-dev:** update dependency mocha to v9.1.4 ([3abf593](https://github.com/wmfs/cardscript-to-vuelidate/commit/3abf5935d877cae1f7030afba8e65c293de6534a))
16
+ * **deps-dev:** update dependency semantic-release to v18.0.1 ([bc5944e](https://github.com/wmfs/cardscript-to-vuelidate/commit/bc5944eea9e87e92071c6a152a9d347968409a59))
17
+ * **deps-dev:** update dependency semantic-release to v19 ([7ab512a](https://github.com/wmfs/cardscript-to-vuelidate/commit/7ab512a1e9f31924fb6a19515dc68ece6b747216))
18
+ * **deps:** update [@wmfs](https://github.com/wmfs)/cardscript-schema to 1.31.0 ([c316eb3](https://github.com/wmfs/cardscript-to-vuelidate/commit/c316eb355b8bd8829dcd30b3968038df9077e48e))
19
+
20
+ ## [1.34.1](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.34.0...v1.34.1) (2021-11-15)
21
+
22
+
23
+ ### 🐛 Bug Fixes
24
+
25
+ * 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))
26
+
27
+
28
+ ### 🛠 Builds
29
+
30
+ * **deps-dev:** update semantic-release monorepo ([37bad04](https://github.com/wmfs/cardscript-to-vuelidate/commit/37bad04589325770faa348700bb8e4995e95cda0))
31
+
32
+ # [1.34.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.33.0...v1.34.0) (2021-10-27)
33
+
34
+
35
+ ### 🛠 Builds
36
+
37
+ * **deps-dev:** update dependency mocha to v9.1.3 ([06d4aa9](https://github.com/wmfs/cardscript-to-vuelidate/commit/06d4aa947e8025caecce50e4560b13d0ee4f3eed))
38
+ * **deps-dev:** update dependency standard to v16.0.4 ([dc08bd5](https://github.com/wmfs/cardscript-to-vuelidate/commit/dc08bd506b10bea41a755cbdb1d9365becc3def8))
39
+ * **deps-dev:** update semantic-release monorepo ([084b87d](https://github.com/wmfs/cardscript-to-vuelidate/commit/084b87d7f5d500a44a68d1227e57005ea0435246))
40
+ * **deps-dev:** update semantic-release monorepo ([6da438c](https://github.com/wmfs/cardscript-to-vuelidate/commit/6da438c6d90e9da2bf6156deca4728d1284efd4a))
41
+ * **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))
42
+
1
43
  # [1.33.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.32.0...v1.33.0) (2021-10-18)
2
44
 
3
45
 
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.33.0",
4
+ "version": "1.36.0",
5
5
  "author": "West Midlands Fire Service",
6
6
  "keywords": [
7
7
  "tymly",
@@ -9,21 +9,21 @@
9
9
  ],
10
10
  "main": "./lib/index.js",
11
11
  "dependencies": {
12
- "@wmfs/json-to-vuelidate": "1.22.1",
13
- "@wmfs/cardscript-schema": "1.30.0",
12
+ "@wmfs/json-to-vuelidate": "1.24.0",
13
+ "@wmfs/cardscript-schema": "1.31.0",
14
14
  "dottie": "2.0.2"
15
15
  },
16
16
  "devDependencies": {
17
- "chai": "4.3.4",
17
+ "chai": "4.3.5",
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.2.0",
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",