@wmfs/cardscript-to-vuelidate 1.36.0 → 1.39.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 +33 -0
- package/package.json +7 -7
- package/test/tests.js +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
# [1.39.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.38.0...v1.39.0) (2022-07-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🛠 Builds
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency [@wmfs](https://github.com/wmfs)/cardscript-schema to v1.32.0 ([994a6da](https://github.com/wmfs/cardscript-to-vuelidate/commit/994a6da86b6b28310eaff2337cec1dc347b5da11))
|
|
7
|
+
|
|
8
|
+
# [1.38.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.37.0...v1.38.0) (2022-07-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### 🛠 Builds
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency [@wmfs](https://github.com/wmfs)/json-to-vuelidate to v1.26.0 ([d33534c](https://github.com/wmfs/cardscript-to-vuelidate/commit/d33534c4ef783c1f7732f5d2f848c2c2c25e50cc))
|
|
14
|
+
|
|
15
|
+
# [1.37.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.36.0...v1.37.0) (2022-06-16)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### 🛠 Builds
|
|
19
|
+
|
|
20
|
+
* **deps-dev:** update dependency chai to v4.3.6 ([6b92d7e](https://github.com/wmfs/cardscript-to-vuelidate/commit/6b92d7ea16a5d0d2660963b384bb861848c1c057))
|
|
21
|
+
* **deps-dev:** update dependency mocha to v10 ([db41ba7](https://github.com/wmfs/cardscript-to-vuelidate/commit/db41ba794e1e67ee104bb494ee0467aec02a7192))
|
|
22
|
+
* **deps-dev:** update dependency mocha to v9.2.1 ([8b61ec1](https://github.com/wmfs/cardscript-to-vuelidate/commit/8b61ec1ff5da94d906def04eca6cbf2efa788bb9))
|
|
23
|
+
* **deps-dev:** update dependency mocha to v9.2.2 ([d7e1bc8](https://github.com/wmfs/cardscript-to-vuelidate/commit/d7e1bc854a502c578bb4d0e352c79cbaeda730c8))
|
|
24
|
+
* **deps-dev:** update dependency semantic-release to v19.0.3 ([cf87828](https://github.com/wmfs/cardscript-to-vuelidate/commit/cf87828a0b974ba5b26f256e3f98618deb5b4568))
|
|
25
|
+
* **deps-dev:** update dependency standard to v17 ([681849d](https://github.com/wmfs/cardscript-to-vuelidate/commit/681849d32c73491c65fa1cf94fc7aaf919f4e780))
|
|
26
|
+
* **deps:** change [@wmfs](https://github.com/wmfs)/json-to-vuelidate to upgrade branch ([f3c3636](https://github.com/wmfs/cardscript-to-vuelidate/commit/f3c36364df865f6a2031a9cd77b581a81e441750))
|
|
27
|
+
* **deps:** update [@wmfs](https://github.com/wmfs)/json-to-vuelidate to 1.24.1 ([49e1250](https://github.com/wmfs/cardscript-to-vuelidate/commit/49e12506bd7eed4352d978c67f7246a4565d9daa))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### 🚨 Tests
|
|
31
|
+
|
|
32
|
+
* update test to new format of vuelidate object ([900fee3](https://github.com/wmfs/cardscript-to-vuelidate/commit/900fee3d738ede3d22cec31a1231b3bd65d627a9))
|
|
33
|
+
|
|
1
34
|
# [1.36.0](https://github.com/wmfs/cardscript-to-vuelidate/compare/v1.35.0...v1.36.0) (2022-01-26)
|
|
2
35
|
|
|
3
36
|
|
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.
|
|
4
|
+
"version": "1.39.0",
|
|
5
5
|
"author": "West Midlands Fire Service",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tymly",
|
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
],
|
|
10
10
|
"main": "./lib/index.js",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@wmfs/json-to-vuelidate": "1.
|
|
13
|
-
"@wmfs/cardscript-schema": "1.
|
|
12
|
+
"@wmfs/json-to-vuelidate": "1.26.0",
|
|
13
|
+
"@wmfs/cardscript-schema": "1.32.0",
|
|
14
14
|
"dottie": "2.0.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"chai": "4.3.
|
|
17
|
+
"chai": "4.3.6",
|
|
18
18
|
"codecov": "3.8.3",
|
|
19
19
|
"conventional-changelog-metahub": "4.0.1",
|
|
20
20
|
"cz-conventional-changelog": "3.3.0",
|
|
21
|
-
"mocha": "
|
|
21
|
+
"mocha": "10.0.0",
|
|
22
22
|
"nyc": "15.1.0",
|
|
23
|
-
"semantic-release": "19.0.
|
|
24
|
-
"standard": "
|
|
23
|
+
"semantic-release": "19.0.3",
|
|
24
|
+
"standard": "17.0.0",
|
|
25
25
|
"@semantic-release/changelog": "6.0.1",
|
|
26
26
|
"@semantic-release/git": "10.0.1"
|
|
27
27
|
},
|
package/test/tests.js
CHANGED
|
@@ -96,20 +96,20 @@ describe('Test the vuelidate converter', () => {
|
|
|
96
96
|
|
|
97
97
|
// console.log(vuelidate)
|
|
98
98
|
|
|
99
|
-
expect(vuelidate.numberBetween5And10.between).to.be.a('function')
|
|
99
|
+
expect(vuelidate.numberBetween5And10.between.$validator).to.be.a('function')
|
|
100
100
|
|
|
101
|
-
expect(vuelidate.numberMin10Max50.minValue).to.be.a('function')
|
|
102
|
-
expect(vuelidate.numberMin10Max50.maxValue).to.be.a('function')
|
|
101
|
+
expect(vuelidate.numberMin10Max50.minValue.$validator).to.be.a('function')
|
|
102
|
+
expect(vuelidate.numberMin10Max50.maxValue.$validator).to.be.a('function')
|
|
103
103
|
|
|
104
|
-
expect(vuelidate.textMinLen5MaxLen50.minLength).to.be.a('function')
|
|
105
|
-
expect(vuelidate.textMinLen5MaxLen50.maxLength).to.be.a('function')
|
|
104
|
+
expect(vuelidate.textMinLen5MaxLen50.minLength.$validator).to.be.a('function')
|
|
105
|
+
expect(vuelidate.textMinLen5MaxLen50.maxLength.$validator).to.be.a('function')
|
|
106
106
|
|
|
107
|
-
expect(vuelidate.textRequired.required).to.be.a('function')
|
|
107
|
+
expect(vuelidate.textRequired.required.$validator).to.be.a('function')
|
|
108
108
|
|
|
109
|
-
expect(vuelidate.textRequiredIf.requiredIf).to.be.a('function')
|
|
109
|
+
expect(vuelidate.textRequiredIf.requiredIf.$validator).to.be.a('function')
|
|
110
110
|
|
|
111
|
-
expect(vuelidate.textEmail.email).to.be.a('function')
|
|
112
|
-
expect(vuelidate.inputEmail.email).to.be.a('function')
|
|
111
|
+
expect(vuelidate.textEmail.email.$validator).to.be.a('function')
|
|
112
|
+
expect(vuelidate.inputEmail.email.$validator).to.be.a('function')
|
|
113
113
|
|
|
114
114
|
console.log('\n------\n', vuelidate)
|
|
115
115
|
// expect(vuelidate.list.required).to.be.a('function')
|