testaro 62.0.0 → 62.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "62.0.0",
3
+ "version": "62.0.1",
4
4
  "description": "Run 1000 web accessibility tests from 11 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/procs/nu.js CHANGED
@@ -76,12 +76,12 @@ exports.curate = (data, nuData, rules) => {
76
76
  return false;
77
77
  }
78
78
  }));
79
+ // Remove messages reporting duplicate blank IDs.
80
+ const badMessages = new Set(['Duplicate ID .', 'The first occurrence of ID was here.']);
81
+ result.messages = result.messages.filter(
82
+ message => ! badMessages.has(message.message)
83
+ );
79
84
  }
80
- // Remove messages reporting duplicate blank IDs.
81
- const badMessages = new Set(['Duplicate ID .', 'The first occurrence of ID was here.']);
82
- result.messages = result.messages.filter(
83
- message => ! badMessages.has(message.message)
84
- );
85
85
  // Return the result.
86
86
  return result;
87
87
  };
@@ -702,6 +702,6 @@ exports.standardize = act => {
702
702
  convert(which, data, result, standardResult);
703
703
  }
704
704
  else {
705
- console.log('ERROR: Result of incomplete act cannot be standardized');
705
+ console.log(`ERROR: Result of incomplete ${which || 'unknown'}act cannot be standardized`);
706
706
  }
707
707
  };