@golemio/validator 0.2.6-dev.707837210 → 0.3.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/README.md +2 -3
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@ Developed by http://operatorict.cz
|
|
|
7
7
|
## Prerequisites
|
|
8
8
|
|
|
9
9
|
- node.js (https://nodejs.org)
|
|
10
|
-
- yarn (https://yarnpkg.com)
|
|
11
10
|
- TypeScript (https://www.typescriptlang.org/)
|
|
12
11
|
|
|
13
12
|
## Installation
|
|
@@ -16,7 +15,7 @@ Install Node
|
|
|
16
15
|
|
|
17
16
|
Install all npm modules using command:
|
|
18
17
|
```
|
|
19
|
-
|
|
18
|
+
npm install
|
|
20
19
|
```
|
|
21
20
|
|
|
22
21
|
## Compilation of typescript code
|
|
@@ -59,7 +58,7 @@ You can set both `LOG_LEVEL` and `DEBUG` settings in ENV variables.
|
|
|
59
58
|
|
|
60
59
|
## Documentation
|
|
61
60
|
|
|
62
|
-
For generating documentation run `
|
|
61
|
+
For generating documentation run `npm run generate-docs`. TypeDoc source code documentation is located in `docs/typedoc`.
|
|
63
62
|
|
|
64
63
|
## Contribution guidelines
|
|
65
64
|
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
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
|
-
|
|
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);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;AACb,+CAA6B;AAC7B,wDAAsC;AACtC,8CAA4B;AAC5B,wDAAsC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/validator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Library of Validator classes of the Golemio Data Platform System",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"type": "git",
|
|
22
22
|
"url": "https://gitlab.com/operator-ict/golemio/code/validator"
|
|
23
23
|
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=16.0.0",
|
|
26
|
+
"npm": ">=8.0.0"
|
|
27
|
+
},
|
|
24
28
|
"devDependencies": {
|
|
25
29
|
"@golemio/eslint-config": "^1.1.0",
|
|
26
30
|
"@types/chai": "^4.1.7",
|
|
@@ -39,7 +43,7 @@
|
|
|
39
43
|
"sinon": "^7.2.3",
|
|
40
44
|
"ts-node": "^9.1.1",
|
|
41
45
|
"typedoc": "^0.22.15",
|
|
42
|
-
"typescript": "
|
|
46
|
+
"typescript": "4.4.4"
|
|
43
47
|
},
|
|
44
48
|
"dependencies": {
|
|
45
49
|
"ajv": "^6.10.2",
|
|
@@ -48,9 +52,6 @@
|
|
|
48
52
|
"mongoose": "^6.5.3",
|
|
49
53
|
"pino": "^8.7.0"
|
|
50
54
|
},
|
|
51
|
-
"resolutions": {
|
|
52
|
-
"minimist": "^1.2.6"
|
|
53
|
-
},
|
|
54
55
|
"nyc": {
|
|
55
56
|
"check-coverage": true,
|
|
56
57
|
"extension": [
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
},
|
|
79
80
|
"husky": {
|
|
80
81
|
"hooks": {
|
|
81
|
-
"pre-commit": "
|
|
82
|
+
"pre-commit": "npm run lint"
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
85
|
}
|