@bpmn-io/element-templates-validator 2.17.0 → 2.19.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 CHANGED
@@ -21,7 +21,8 @@ import sample from './test/fixtures/rpa-broken.json';
21
21
 
22
22
  const {
23
23
  valid,
24
- errors
24
+ errors,
25
+ warnings
25
26
  } = validate(sample);
26
27
 
27
28
  if (!valid) {
@@ -29,7 +30,7 @@ if (!valid) {
29
30
  }
30
31
  ```
31
32
 
32
- This will print detailed information about errors inside the sample:
33
+ This will print detailed information about errors and warnings inside the sample:
33
34
 
34
35
  ```json
35
36
  [
@@ -69,7 +70,8 @@ const sample = readFileSync('./test/fixtures/rpa-broken.json', 'utf-8');
69
70
 
70
71
  const {
71
72
  valid,
72
- errors
73
+ errors,
74
+ warnings
73
75
  } = validate(sample);
74
76
 
75
77
  if (!valid) {