schema-markdown 1.2.7 → 1.2.8
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/parser.js +1 -0
- package/lib/schema.js +2 -0
- package/package.json +2 -3
package/lib/parser.js
CHANGED
package/lib/schema.js
CHANGED
|
@@ -98,12 +98,14 @@ function getReferencedTypesHelper(types, type, referencedTypes) {
|
|
|
98
98
|
/**
|
|
99
99
|
* Schema Markdown type model validation error
|
|
100
100
|
*
|
|
101
|
+
* @extends {Error}
|
|
101
102
|
* @property {?string} memberFqn - The fully qualified member name
|
|
102
103
|
*/
|
|
103
104
|
export class ValidationError extends Error {
|
|
104
105
|
/**
|
|
105
106
|
* Schema Markdown type model validation error constructor
|
|
106
107
|
*
|
|
108
|
+
* @param {string} message - The validation error message
|
|
107
109
|
* @param {string} [memberFqn=null] - The fully-qualified member name
|
|
108
110
|
*/
|
|
109
111
|
constructor(message, memberFqn = null) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "schema-markdown",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.8",
|
|
5
5
|
"description": "A schema definition and validation library",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"schema",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"c8": "~7.13",
|
|
28
28
|
"eslint": "~8.40",
|
|
29
|
-
"jsdoc": "~4.0"
|
|
30
|
-
"jsdom": "~22.0"
|
|
29
|
+
"jsdoc": "~4.0"
|
|
31
30
|
}
|
|
32
31
|
}
|