{"action":"created","issue":{"url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/92","repository_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint","labels_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/92/comments","events_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/92/events","html_url":"https://github.com/MeirionHughes/aurelia-template-lint/issues/92","id":171765100,"number":92,"title":"outdated parse5 dependency through ","user":{"login":"atsu85","id":1206512,"avatar_url":"https://avatars.githubusercontent.com/u/1206512?v=3","gravatar_id":"","url":"https://api.github.com/users/atsu85","html_url":"https://github.com/atsu85","followers_url":"https://api.github.com/users/atsu85/followers","following_url":"https://api.github.com/users/atsu85/following{/other_user}","gists_url":"https://api.github.com/users/atsu85/gists{/gist_id}","starred_url":"https://api.github.com/users/atsu85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsu85/subscriptions","organizations_url":"https://api.github.com/users/atsu85/orgs","repos_url":"https://api.github.com/users/atsu85/repos","events_url":"https://api.github.com/users/atsu85/events{/privacy}","received_events_url":"https://api.github.com/users/atsu85/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-17T21:29:30Z","updated_at":"2016-08-17T21:45:12Z","closed_at":"2016-08-17T21:45:12Z","body":"@MeirionHughes, looks like parse5 dependency should be updated for aurelia-pal-nodejs.\r\n\r\nWhen i clone and build and link aurelia-template-lint npm module to my project then everything works as expected, but when i do a clean install of gulp-aurelia-template-lint (deleting node_modules before running `npm install`) then i get an error that seems to be caused by old parse5 version, that comes through:\r\n```\r\n`+-- gulp-aurelia-template-lint@0.9.1\r\n| `-- aurelia-template-lint@0.9.5\r\n|   `-- aurelia-pal-nodejs@1.0.0-alpha.1\r\n|     `-- jsdom@9.4.2\r\n|       `-- parse5@1.5.1\r\n```\r\nand even if i manually install `npm i parse5@2.1.x --save-dev` then i have 2 versions and parse5@1.5.1 will still be used for linting. \r\n\r\nTherefore the following error:\r\nTypeError: Cannot read property 'line' of undefined\r\n    at next.attrs.attrs.map (C:\\path\\to\\aurelia-app\\node_modules\\aurelia-template-lint\\dist\\ast.js:26:97)\r\n    at Array.map (native)\r\n    at Parser.parser.on (C:\\path\\to\\aurelia-app\\node_modules\\aurelia-template-lint\\dist\\ast.js:22:32)\r\n    at emitMany (events.js:132:20)\r\n    at Parser.emit (events.js:201:7)\r\n    at Parser.SAXParser._handleToken (C:\\path\\to\\aurelia-app\\node_modules\\template-lint\\node_modules\\parse5\\lib\\sax\\index.js:171:14)\r\n    at Parser.SAXParser._runParsingLoop (C:\\path\\to\\aurelia-app\\node_modules\\template-lint\\node_modules\\parse5\\lib\\sax\\index.js:149:18)\r\n    at Parser.SAXParser._transform (C:\\path\\to\\aurelia-app\\node_modules\\template-lint\\node_modules\\parse5\\lib\\sax\\index.js:76:14)\r\n    at Parser.Transform._read (_stream_transform.js:167:10)\r\n    at Parser.Transform._write (_stream_transform.js:155:12)\r\n    at doWrite (_stream_writable.js:307:12)\r\n    at writeOrBuffer (_stream_writable.js:293:5)\r\n    at Parser.Writable.write (_stream_writable.js:220:11)\r\n    at Readable.ondata (_stream_readable.js:556:20)\r\n    at emitOne (events.js:96:13)\r\n    at Readable.emit (events.js:188:7)\r\n    at Readable.read (_stream_readable.js:382:10)\r\n    at flow (_stream_readable.js:762:34)\r\n    at emitReadable_ (_stream_readable.js:434:3)\r\n    at _combinedTickCallback (internal/process/next_tick.js:71:11)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)"},"comment":{"url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/comments/240558993","html_url":"https://github.com/MeirionHughes/aurelia-template-lint/issues/92#issuecomment-240558993","issue_url":"https://api.github.com/repos/MeirionHughes/aurelia-template-lint/issues/92","id":240558993,"user":{"login":"atsu85","id":1206512,"avatar_url":"https://avatars.githubusercontent.com/u/1206512?v=3","gravatar_id":"","url":"https://api.github.com/users/atsu85","html_url":"https://github.com/atsu85","followers_url":"https://api.github.com/users/atsu85/followers","following_url":"https://api.github.com/users/atsu85/following{/other_user}","gists_url":"https://api.github.com/users/atsu85/gists{/gist_id}","starred_url":"https://api.github.com/users/atsu85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsu85/subscriptions","organizations_url":"https://api.github.com/users/atsu85/orgs","repos_url":"https://api.github.com/users/atsu85/repos","events_url":"https://api.github.com/users/atsu85/events{/privacy}","received_events_url":"https://api.github.com/users/atsu85/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T21:45:12Z","updated_at":"2016-08-17T21:45:12Z","body":"Hmm, looks like I made incorrect assumptions, as I saw cached/outdated diff that included parse5/package.json - real problems must be somewhere else (probably related my html)"}}
{"actor":{"display_login":"atsu85"}}