testaro-issues 0.7.4 → 1.0.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 -0
- package/dist/index.cjs +23 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +23 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ A `rule` is a requirement defined by a rule engine.
|
|
|
12
12
|
|
|
13
13
|
This repository is a utility for applications using Testaro. They can use it to group the outputs of Testaro jobs for analysis and for presentation to users.
|
|
14
14
|
|
|
15
|
+
To see how one application uses this utility together with Testaro, see [Kilotest](https://kilotest.com) and its [MCP server](https://kilotest.com/mcp).
|
|
16
|
+
|
|
15
17
|
## Data
|
|
16
18
|
|
|
17
19
|
The data exported by this repository consist of three objects, defined in `index.ts`:
|
package/dist/index.cjs
CHANGED
|
@@ -156,7 +156,7 @@ const issuesData = {
|
|
|
156
156
|
"weight": 2
|
|
157
157
|
},
|
|
158
158
|
"atRuleInvalid": {
|
|
159
|
-
"summary": "invalid at-rule",
|
|
159
|
+
"summary": "invalid CSS at-rule",
|
|
160
160
|
"why": "Page cannot be properly displayed in particular contexts",
|
|
161
161
|
"wcag": "4.1",
|
|
162
162
|
"weight": 3
|
|
@@ -6435,6 +6435,11 @@ const rulesData = {
|
|
|
6435
6435
|
"quality": 1,
|
|
6436
6436
|
"what": "style element exists between the head and the body elements"
|
|
6437
6437
|
},
|
|
6438
|
+
"A style element in body must be the first child of its parent.": {
|
|
6439
|
+
"issueID": "parseError",
|
|
6440
|
+
"quality": 1,
|
|
6441
|
+
"what": "style element in the body is not the first child of its parent element"
|
|
6442
|
+
},
|
|
6438
6443
|
"A slash was not immediately followed by >.": {
|
|
6439
6444
|
"issueID": "parseError",
|
|
6440
6445
|
"quality": 1,
|
|
@@ -6780,7 +6785,12 @@ const rulesData = {
|
|
|
6780
6785
|
"CSS: Unrecognized at-rule @.+": {
|
|
6781
6786
|
"issueID": "atRuleInvalid",
|
|
6782
6787
|
"quality": 1,
|
|
6783
|
-
"what": "At-rule not recognized by CSS"
|
|
6788
|
+
"what": "At-rule is not recognized by CSS"
|
|
6789
|
+
},
|
|
6790
|
+
"Style rule .* not allowed outside an @scope rule in a style element in body.": {
|
|
6791
|
+
"issueID": "atRuleInvalid",
|
|
6792
|
+
"quality": 1,
|
|
6793
|
+
"what": "At-rule in CSS is not within an @scope rule"
|
|
6784
6794
|
},
|
|
6785
6795
|
"CSS: .+: Character .+ is neither a decimal digit number.*": {
|
|
6786
6796
|
"issueID": "cssInvalid",
|
|
@@ -7985,6 +7995,11 @@ const rulesData = {
|
|
|
7985
7995
|
"quality": 1,
|
|
7986
7996
|
"what": "style element exists between the head and the body elements"
|
|
7987
7997
|
},
|
|
7998
|
+
"A style element in body must be the first child of its parent.": {
|
|
7999
|
+
"issueID": "parseError",
|
|
8000
|
+
"quality": 1,
|
|
8001
|
+
"what": "style element in the body is not the first child of its parent element"
|
|
8002
|
+
},
|
|
7988
8003
|
"A slash was not immediately followed by >.": {
|
|
7989
8004
|
"issueID": "parseError",
|
|
7990
8005
|
"quality": 1,
|
|
@@ -8330,7 +8345,12 @@ const rulesData = {
|
|
|
8330
8345
|
"CSS: Unrecognized at-rule @.+": {
|
|
8331
8346
|
"issueID": "atRuleInvalid",
|
|
8332
8347
|
"quality": 1,
|
|
8333
|
-
"what": "At-rule not recognized by CSS"
|
|
8348
|
+
"what": "At-rule is not recognized by CSS"
|
|
8349
|
+
},
|
|
8350
|
+
"Style rule .* not allowed outside an @scope rule in a style element in body.": {
|
|
8351
|
+
"issueID": "atRuleInvalid",
|
|
8352
|
+
"quality": 1,
|
|
8353
|
+
"what": "At-rule in CSS is not within an @scope rule"
|
|
8334
8354
|
},
|
|
8335
8355
|
"CSS: .+: Character .+ is neither a decimal digit number.*": {
|
|
8336
8356
|
"issueID": "cssInvalid",
|
package/dist/index.d.cts
CHANGED
|
@@ -172,7 +172,7 @@ declare const issuesData: {
|
|
|
172
172
|
readonly weight: 2;
|
|
173
173
|
};
|
|
174
174
|
readonly atRuleInvalid: {
|
|
175
|
-
readonly summary: 'invalid at-rule';
|
|
175
|
+
readonly summary: 'invalid CSS at-rule';
|
|
176
176
|
readonly why: 'Page cannot be properly displayed in particular contexts';
|
|
177
177
|
readonly wcag: '4.1';
|
|
178
178
|
readonly weight: 3;
|
package/dist/index.d.mts
CHANGED
|
@@ -172,7 +172,7 @@ declare const issuesData: {
|
|
|
172
172
|
readonly weight: 2;
|
|
173
173
|
};
|
|
174
174
|
readonly atRuleInvalid: {
|
|
175
|
-
readonly summary: 'invalid at-rule';
|
|
175
|
+
readonly summary: 'invalid CSS at-rule';
|
|
176
176
|
readonly why: 'Page cannot be properly displayed in particular contexts';
|
|
177
177
|
readonly wcag: '4.1';
|
|
178
178
|
readonly weight: 3;
|
package/dist/index.mjs
CHANGED
|
@@ -155,7 +155,7 @@ const issuesData = {
|
|
|
155
155
|
"weight": 2
|
|
156
156
|
},
|
|
157
157
|
"atRuleInvalid": {
|
|
158
|
-
"summary": "invalid at-rule",
|
|
158
|
+
"summary": "invalid CSS at-rule",
|
|
159
159
|
"why": "Page cannot be properly displayed in particular contexts",
|
|
160
160
|
"wcag": "4.1",
|
|
161
161
|
"weight": 3
|
|
@@ -6434,6 +6434,11 @@ const rulesData = {
|
|
|
6434
6434
|
"quality": 1,
|
|
6435
6435
|
"what": "style element exists between the head and the body elements"
|
|
6436
6436
|
},
|
|
6437
|
+
"A style element in body must be the first child of its parent.": {
|
|
6438
|
+
"issueID": "parseError",
|
|
6439
|
+
"quality": 1,
|
|
6440
|
+
"what": "style element in the body is not the first child of its parent element"
|
|
6441
|
+
},
|
|
6437
6442
|
"A slash was not immediately followed by >.": {
|
|
6438
6443
|
"issueID": "parseError",
|
|
6439
6444
|
"quality": 1,
|
|
@@ -6779,7 +6784,12 @@ const rulesData = {
|
|
|
6779
6784
|
"CSS: Unrecognized at-rule @.+": {
|
|
6780
6785
|
"issueID": "atRuleInvalid",
|
|
6781
6786
|
"quality": 1,
|
|
6782
|
-
"what": "At-rule not recognized by CSS"
|
|
6787
|
+
"what": "At-rule is not recognized by CSS"
|
|
6788
|
+
},
|
|
6789
|
+
"Style rule .* not allowed outside an @scope rule in a style element in body.": {
|
|
6790
|
+
"issueID": "atRuleInvalid",
|
|
6791
|
+
"quality": 1,
|
|
6792
|
+
"what": "At-rule in CSS is not within an @scope rule"
|
|
6783
6793
|
},
|
|
6784
6794
|
"CSS: .+: Character .+ is neither a decimal digit number.*": {
|
|
6785
6795
|
"issueID": "cssInvalid",
|
|
@@ -7984,6 +7994,11 @@ const rulesData = {
|
|
|
7984
7994
|
"quality": 1,
|
|
7985
7995
|
"what": "style element exists between the head and the body elements"
|
|
7986
7996
|
},
|
|
7997
|
+
"A style element in body must be the first child of its parent.": {
|
|
7998
|
+
"issueID": "parseError",
|
|
7999
|
+
"quality": 1,
|
|
8000
|
+
"what": "style element in the body is not the first child of its parent element"
|
|
8001
|
+
},
|
|
7987
8002
|
"A slash was not immediately followed by >.": {
|
|
7988
8003
|
"issueID": "parseError",
|
|
7989
8004
|
"quality": 1,
|
|
@@ -8329,7 +8344,12 @@ const rulesData = {
|
|
|
8329
8344
|
"CSS: Unrecognized at-rule @.+": {
|
|
8330
8345
|
"issueID": "atRuleInvalid",
|
|
8331
8346
|
"quality": 1,
|
|
8332
|
-
"what": "At-rule not recognized by CSS"
|
|
8347
|
+
"what": "At-rule is not recognized by CSS"
|
|
8348
|
+
},
|
|
8349
|
+
"Style rule .* not allowed outside an @scope rule in a style element in body.": {
|
|
8350
|
+
"issueID": "atRuleInvalid",
|
|
8351
|
+
"quality": 1,
|
|
8352
|
+
"what": "At-rule in CSS is not within an @scope rule"
|
|
8333
8353
|
},
|
|
8334
8354
|
"CSS: .+: Character .+ is neither a decimal digit number.*": {
|
|
8335
8355
|
"issueID": "cssInvalid",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testaro-issues",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A classification of about 1300 rules of 11 rule engines into about 400 issues. The rule engines are those in the ensemble of Testaro, which tests web pages for front-end quality (accessibility, usability, and standards conformance).",
|
|
6
6
|
"main": "./dist/index.cjs",
|