testaro 32.0.5 → 32.0.6

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": "32.0.5",
3
+ "version": "32.0.6",
4
4
  "description": "Run 960 web accessibility tests from 9 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -240,7 +240,7 @@ const doNuVal = (result, standardResult, docType) => {
240
240
  location: {
241
241
  doc: docType === 'pageContent' ? 'dom' : 'source',
242
242
  type: 'line',
243
- spec: item.lastLine.toString()
243
+ spec: item && item.lastLine && item.lastLine.toString() || ''
244
244
  },
245
245
  excerpt: cap(item.extract)
246
246
  };