testaro-issues 1.0.2 → 1.0.3
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 +4 -0
- package/dist/index.cjs +3948 -5416
- package/dist/index.d.cts +7 -1
- package/dist/index.d.mts +7 -1
- package/dist/index.mjs +3948 -5416
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,10 @@ The data exported by this repository consist of three objects, defined in `index
|
|
|
24
24
|
|
|
25
25
|
The data underlying the `issues` and `rules` objects are statically defined. Those objects are deep-frozen copies of the data. In other words, `issues` and `rules` and every object within them are protected from modification. The `issueRules` object (not frozen) is generated from the `issues` and `rules` objects by the `makeIssueRules` function.
|
|
26
26
|
|
|
27
|
+
The `rules` object has a property for each rule engine, and each such property has two object subproperties: `invariant` and `variable`. The names of the properties of `invariant` are the IDs of rules of the rule engine. The names of the properties of `variable` are regular expressions that, once wrapped in `^` and `$` anchors, are to be matched, case-sensitively, to the IDs of rules of the rule engines. An application using this classification to classify a rule should check the invariant property names first and use any entry whose property name is identical to the rule ID. If none is found, the application should then check the variable property names and use any entry whose property name, as a regular expression, matches the entire rule ID.
|
|
28
|
+
|
|
29
|
+
One rule engine, the Nu Html Checker, has two manifestations, `nuVal` and `nuVnu`. Its rules in the `rules` object are stored in the `nuV` subproperty and duplicated for export.
|
|
30
|
+
|
|
27
31
|
## Installation
|
|
28
32
|
|
|
29
33
|
`npm install testaro-issues`
|