@spinajs/validation 1.1.5 → 1.1.6
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/lib/index.d.ts +9 -0
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* We export default configuration for webpack modules
|
|
3
|
+
* Normally we load configuration from disk via filesystem
|
|
4
|
+
* But webpack is bundlig all files into one.
|
|
5
|
+
*
|
|
6
|
+
* When we export, we can see configuration variable
|
|
7
|
+
* in webpack module cache and webpack config loader can see it
|
|
8
|
+
*/
|
|
9
|
+
export * from "./config/validation";
|
|
1
10
|
export * from "./decorators";
|
|
2
11
|
export * from "./exceptions";
|
|
3
12
|
export * from "./validator";
|
package/lib/index.js
CHANGED
|
@@ -10,6 +10,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
/**
|
|
14
|
+
* We export default configuration for webpack modules
|
|
15
|
+
* Normally we load configuration from disk via filesystem
|
|
16
|
+
* But webpack is bundlig all files into one.
|
|
17
|
+
*
|
|
18
|
+
* When we export, we can see configuration variable
|
|
19
|
+
* in webpack module cache and webpack config loader can see it
|
|
20
|
+
*/
|
|
21
|
+
__exportStar(require("./config/validation"), exports);
|
|
13
22
|
__exportStar(require("./decorators"), exports);
|
|
14
23
|
__exportStar(require("./exceptions"), exports);
|
|
15
24
|
__exportStar(require("./validator"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;GAOG;AACF,sDAAoC;AACrC,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinajs/validation",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "validation library for spinajs framework",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/spinajs/validation#readme",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@spinajs/configuration": "^1.1.
|
|
39
|
+
"@spinajs/configuration": "^1.1.7",
|
|
40
40
|
"@spinajs/di": "^1.1.7",
|
|
41
41
|
"@spinajs/exceptions": "^1.0.5",
|
|
42
|
-
"@spinajs/log": "^1.1.
|
|
42
|
+
"@spinajs/log": "^1.1.6",
|
|
43
43
|
"ajv": "^8.8.2",
|
|
44
44
|
"ajv-formats": "^2.1.1",
|
|
45
45
|
"ajv-keywords": "^5.1.0",
|