doc-detective-common 3.1.0-dev.0 → 3.1.0-dev.1
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/dist/schemas/config_v3.schema.json +4 -4
- package/dist/schemas/resolvedTests_v3.schema.json +4 -4
- package/package.json +2 -2
- package/src/schemas/output_schemas/config_v3.schema.json +4 -4
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +4 -4
- package/src/schemas/schemas.json +8 -8
- package/src/schemas/src_schemas/config_v3.schema.json +4 -4
|
@@ -117,6 +117,10 @@
|
|
|
117
117
|
"description": "Whether or not to detect steps in input files based on defined markup.",
|
|
118
118
|
"default": true
|
|
119
119
|
},
|
|
120
|
+
"allowUnsafeTests": {
|
|
121
|
+
"type": "boolean",
|
|
122
|
+
"description": "Whether or not to run potentially unsafe tests, such as those that execute shell commands or run code."
|
|
123
|
+
},
|
|
120
124
|
"logLevel": {
|
|
121
125
|
"description": "Amount of detail to output when performing an operation.",
|
|
122
126
|
"type": "string",
|
|
@@ -129,10 +133,6 @@
|
|
|
129
133
|
],
|
|
130
134
|
"default": "info"
|
|
131
135
|
},
|
|
132
|
-
"allowUnsafeMarkup": {
|
|
133
|
-
"type": "boolean",
|
|
134
|
-
"description": "Whether or not to run potentially unsafe markup detected in input files."
|
|
135
|
-
},
|
|
136
136
|
"runOn": {
|
|
137
137
|
"type": "array",
|
|
138
138
|
"description": "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
|
|
@@ -130,6 +130,10 @@
|
|
|
130
130
|
"description": "Whether or not to detect steps in input files based on defined markup.",
|
|
131
131
|
"default": true
|
|
132
132
|
},
|
|
133
|
+
"allowUnsafeTests": {
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"description": "Whether or not to run potentially unsafe tests, such as those that execute shell commands or run code."
|
|
136
|
+
},
|
|
133
137
|
"logLevel": {
|
|
134
138
|
"description": "Amount of detail to output when performing an operation.",
|
|
135
139
|
"type": "string",
|
|
@@ -142,10 +146,6 @@
|
|
|
142
146
|
],
|
|
143
147
|
"default": "info"
|
|
144
148
|
},
|
|
145
|
-
"allowUnsafeMarkup": {
|
|
146
|
-
"type": "boolean",
|
|
147
|
-
"description": "Whether or not to run potentially unsafe markup detected in input files."
|
|
148
|
-
},
|
|
149
149
|
"runOn": {
|
|
150
150
|
"type": "array",
|
|
151
151
|
"description": "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doc-detective-common",
|
|
3
|
-
"version": "3.1.0-dev.
|
|
3
|
+
"version": "3.1.0-dev.1",
|
|
4
4
|
"description": "Shared components for Doc Detective projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"chai": "^5.2.0",
|
|
24
24
|
"mocha": "^11.6.0",
|
|
25
|
-
"sinon": "^
|
|
25
|
+
"sinon": "^21.0.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@apidevtools/json-schema-ref-parser": "^13.0.5",
|
|
@@ -117,6 +117,10 @@
|
|
|
117
117
|
"description": "Whether or not to detect steps in input files based on defined markup.",
|
|
118
118
|
"default": true
|
|
119
119
|
},
|
|
120
|
+
"allowUnsafeTests": {
|
|
121
|
+
"type": "boolean",
|
|
122
|
+
"description": "Whether or not to run potentially unsafe tests, such as those that execute shell commands or run code."
|
|
123
|
+
},
|
|
120
124
|
"logLevel": {
|
|
121
125
|
"description": "Amount of detail to output when performing an operation.",
|
|
122
126
|
"type": "string",
|
|
@@ -129,10 +133,6 @@
|
|
|
129
133
|
],
|
|
130
134
|
"default": "info"
|
|
131
135
|
},
|
|
132
|
-
"allowUnsafeMarkup": {
|
|
133
|
-
"type": "boolean",
|
|
134
|
-
"description": "Whether or not to run potentially unsafe markup detected in input files."
|
|
135
|
-
},
|
|
136
136
|
"runOn": {
|
|
137
137
|
"type": "array",
|
|
138
138
|
"description": "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
|
|
@@ -130,6 +130,10 @@
|
|
|
130
130
|
"description": "Whether or not to detect steps in input files based on defined markup.",
|
|
131
131
|
"default": true
|
|
132
132
|
},
|
|
133
|
+
"allowUnsafeTests": {
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"description": "Whether or not to run potentially unsafe tests, such as those that execute shell commands or run code."
|
|
136
|
+
},
|
|
133
137
|
"logLevel": {
|
|
134
138
|
"description": "Amount of detail to output when performing an operation.",
|
|
135
139
|
"type": "string",
|
|
@@ -142,10 +146,6 @@
|
|
|
142
146
|
],
|
|
143
147
|
"default": "info"
|
|
144
148
|
},
|
|
145
|
-
"allowUnsafeMarkup": {
|
|
146
|
-
"type": "boolean",
|
|
147
|
-
"description": "Whether or not to run potentially unsafe markup detected in input files."
|
|
148
|
-
},
|
|
149
149
|
"runOn": {
|
|
150
150
|
"type": "array",
|
|
151
151
|
"description": "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
|
package/src/schemas/schemas.json
CHANGED
|
@@ -379,6 +379,10 @@
|
|
|
379
379
|
"description": "Whether or not to detect steps in input files based on defined markup.",
|
|
380
380
|
"default": true
|
|
381
381
|
},
|
|
382
|
+
"allowUnsafeTests": {
|
|
383
|
+
"type": "boolean",
|
|
384
|
+
"description": "Whether or not to run potentially unsafe tests, such as those that execute shell commands or run code."
|
|
385
|
+
},
|
|
382
386
|
"logLevel": {
|
|
383
387
|
"description": "Amount of detail to output when performing an operation.",
|
|
384
388
|
"type": "string",
|
|
@@ -391,10 +395,6 @@
|
|
|
391
395
|
],
|
|
392
396
|
"default": "info"
|
|
393
397
|
},
|
|
394
|
-
"allowUnsafeMarkup": {
|
|
395
|
-
"type": "boolean",
|
|
396
|
-
"description": "Whether or not to run potentially unsafe markup detected in input files."
|
|
397
|
-
},
|
|
398
398
|
"runOn": {
|
|
399
399
|
"type": "array",
|
|
400
400
|
"description": "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
|
|
@@ -13384,6 +13384,10 @@
|
|
|
13384
13384
|
"description": "Whether or not to detect steps in input files based on defined markup.",
|
|
13385
13385
|
"default": true
|
|
13386
13386
|
},
|
|
13387
|
+
"allowUnsafeTests": {
|
|
13388
|
+
"type": "boolean",
|
|
13389
|
+
"description": "Whether or not to run potentially unsafe tests, such as those that execute shell commands or run code."
|
|
13390
|
+
},
|
|
13387
13391
|
"logLevel": {
|
|
13388
13392
|
"description": "Amount of detail to output when performing an operation.",
|
|
13389
13393
|
"type": "string",
|
|
@@ -13396,10 +13400,6 @@
|
|
|
13396
13400
|
],
|
|
13397
13401
|
"default": "info"
|
|
13398
13402
|
},
|
|
13399
|
-
"allowUnsafeMarkup": {
|
|
13400
|
-
"type": "boolean",
|
|
13401
|
-
"description": "Whether or not to run potentially unsafe markup detected in input files."
|
|
13402
|
-
},
|
|
13403
13403
|
"runOn": {
|
|
13404
13404
|
"type": "array",
|
|
13405
13405
|
"description": "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
"description": "Whether or not to detect steps in input files based on defined markup.",
|
|
98
98
|
"default": true
|
|
99
99
|
},
|
|
100
|
+
"allowUnsafeTests": {
|
|
101
|
+
"type": "boolean",
|
|
102
|
+
"description": "Whether or not to run potentially unsafe tests, such as those that execute shell commands or run code."
|
|
103
|
+
},
|
|
100
104
|
"logLevel": {
|
|
101
105
|
"description": "Amount of detail to output when performing an operation.",
|
|
102
106
|
"type": "string",
|
|
103
107
|
"enum": ["silent", "error", "warning", "info", "debug"],
|
|
104
108
|
"default": "info"
|
|
105
109
|
},
|
|
106
|
-
"allowUnsafeMarkup": {
|
|
107
|
-
"type": "boolean",
|
|
108
|
-
"description": "Whether or not to run potentially unsafe markup detected in input files."
|
|
109
|
-
},
|
|
110
110
|
"runOn": {
|
|
111
111
|
"$ref": "test_v3.schema.json#/properties/runOn"
|
|
112
112
|
},
|