@sprucelabs/schema 30.0.185 → 30.0.186
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.
|
@@ -77,7 +77,7 @@ class ValidateErrorMessageFormatter {
|
|
|
77
77
|
renderSchemaName(shouldUseReadableNames = false) {
|
|
78
78
|
var _a;
|
|
79
79
|
return shouldUseReadableNames
|
|
80
|
-
? (_a = this.error.options.schemaName) !== null && _a !== void 0 ? _a : this.error.options.schemaId
|
|
80
|
+
? ((_a = this.error.options.schemaName) !== null && _a !== void 0 ? _a : this.error.options.schemaId)
|
|
81
81
|
: this.error.options.schemaId;
|
|
82
82
|
}
|
|
83
83
|
render(options) {
|
|
@@ -71,7 +71,7 @@ export class ValidateErrorMessageFormatter {
|
|
|
71
71
|
renderSchemaName(shouldUseReadableNames = false) {
|
|
72
72
|
var _a;
|
|
73
73
|
return shouldUseReadableNames
|
|
74
|
-
? (_a = this.error.options.schemaName) !== null && _a !== void 0 ? _a : this.error.options.schemaId
|
|
74
|
+
? ((_a = this.error.options.schemaName) !== null && _a !== void 0 ? _a : this.error.options.schemaId)
|
|
75
75
|
: this.error.options.schemaId;
|
|
76
76
|
}
|
|
77
77
|
render(options) {
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"!build/__tests__",
|
|
9
9
|
"esm"
|
|
10
10
|
],
|
|
11
|
-
"version": "30.0.
|
|
11
|
+
"version": "30.0.186",
|
|
12
12
|
"main": "./build/index.js",
|
|
13
13
|
"types": "./build/index.d.ts",
|
|
14
14
|
"module": "./build/esm/index.js",
|
|
@@ -58,24 +58,24 @@
|
|
|
58
58
|
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@sprucelabs/error": "^6.0.
|
|
62
|
-
"@sprucelabs/test-utils": "^5.1.
|
|
61
|
+
"@sprucelabs/error": "^6.0.140",
|
|
62
|
+
"@sprucelabs/test-utils": "^5.1.76",
|
|
63
63
|
"email-validator": "^2.0.4",
|
|
64
64
|
"just-safe-get": "^4.2.0",
|
|
65
65
|
"just-safe-set": "^4.2.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@sprucelabs/esm-postbuild": "^6.0.
|
|
69
|
-
"@sprucelabs/jest-json-reporter": "^8.0.
|
|
70
|
-
"@sprucelabs/resolve-path-aliases": "^2.0.
|
|
68
|
+
"@sprucelabs/esm-postbuild": "^6.0.124",
|
|
69
|
+
"@sprucelabs/jest-json-reporter": "^8.0.142",
|
|
70
|
+
"@sprucelabs/resolve-path-aliases": "^2.0.120",
|
|
71
71
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
72
|
-
"@sprucelabs/test": "^9.0.
|
|
72
|
+
"@sprucelabs/test": "^9.0.38",
|
|
73
73
|
"chokidar-cli": "^3.0.0",
|
|
74
|
-
"eslint": "^9.
|
|
74
|
+
"eslint": "^9.7.0",
|
|
75
75
|
"eslint-config-spruce": "^11.2.26",
|
|
76
76
|
"jest": "^29.7.0",
|
|
77
77
|
"jest-circus": "^29.7.0",
|
|
78
|
-
"prettier": "^3.3.
|
|
78
|
+
"prettier": "^3.3.3",
|
|
79
79
|
"ts-node": "^10.9.2",
|
|
80
80
|
"tsc-watch": "^6.2.0",
|
|
81
81
|
"tsconfig-paths": "^4.2.0",
|