{"action":"created","issue":{"url":"https://api.github.com/repos/node-hid/node-hid/issues/95","labels_url":"https://api.github.com/repos/node-hid/node-hid/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/node-hid/node-hid/issues/95/comments","events_url":"https://api.github.com/repos/node-hid/node-hid/issues/95/events","html_url":"https://github.com/node-hid/node-hid/pull/95","id":78805851,"number":95,"title":"Seemingly compatible with node 0.12.x","user":{"login":"natevw","id":265902,"avatar_url":"https://avatars.githubusercontent.com/u/265902?v=3","gravatar_id":"","url":"https://api.github.com/users/natevw","html_url":"https://github.com/natevw","followers_url":"https://api.github.com/users/natevw/followers","following_url":"https://api.github.com/users/natevw/following{/other_user}","gists_url":"https://api.github.com/users/natevw/gists{/gist_id}","starred_url":"https://api.github.com/users/natevw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natevw/subscriptions","organizations_url":"https://api.github.com/users/natevw/orgs","repos_url":"https://api.github.com/users/natevw/repos","events_url":"https://api.github.com/users/natevw/events{/privacy}","received_events_url":"https://api.github.com/users/natevw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-21T03:27:50Z","updated_at":"2015-05-26T17:33:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/node-hid/node-hid/pulls/95","html_url":"https://github.com/node-hid/node-hid/pull/95","diff_url":"https://github.com/node-hid/node-hid/pull/95.diff","patch_url":"https://github.com/node-hid/node-hid/pull/95.patch"},"body":"UPDATE: to test, `npm install https://github.com/natevw/node-hid/releases/download/test-node-12/node-hid-0.3.2.tgz` and run `node -e \"console.log(require('node-hid').devices())\"` [or follow relevant steps for Electron/node-webkit/??? platform you are interested in].\r\n\r\n---\r\n\r\nThis branch compiles and loads with only warnings under v0.12.2. It's basically some build process simplification (let npm, or more specifically apm and presumably node-webkit's system use the gyp file directly) I've been using for a while (see #92 for original PR), plus @masterakos's fix for #94.\r\n\r\nThis seems too good to be true — last time I tried there were some more serious V8/libuv/binding-whatever compilation errors. So I don't know if nan has been updated, or node v0.12.2 got a bit more compatible than 0.12.0 was, or if things are just broken more quietly.\r\n\r\nBut figured I'd post this here in case others want to test too, while I continue to poke at it a bit more myself."},"comment":{"url":"https://api.github.com/repos/node-hid/node-hid/issues/comments/105613163","html_url":"https://github.com/node-hid/node-hid/pull/95#issuecomment-105613163","issue_url":"https://api.github.com/repos/node-hid/node-hid/issues/95","id":105613163,"user":{"login":"natevw","id":265902,"avatar_url":"https://avatars.githubusercontent.com/u/265902?v=3","gravatar_id":"","url":"https://api.github.com/users/natevw","html_url":"https://github.com/natevw","followers_url":"https://api.github.com/users/natevw/followers","following_url":"https://api.github.com/users/natevw/following{/other_user}","gists_url":"https://api.github.com/users/natevw/gists{/gist_id}","starred_url":"https://api.github.com/users/natevw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natevw/subscriptions","organizations_url":"https://api.github.com/users/natevw/orgs","repos_url":"https://api.github.com/users/natevw/repos","events_url":"https://api.github.com/users/natevw/events{/privacy}","received_events_url":"https://api.github.com/users/natevw/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T17:33:00Z","updated_at":"2015-05-26T17:33:00Z","body":"Worked in Win7 with node v0.10.32, though I had to `npm config set msvs_version 2012` first for whatever reason.\r\n\r\nMy Ubuntu VM is being a pill, and my remote RasPi seems to have hung again too, but it looks like we have at least one confirmation of success under Linux above. Regardless, I suppose people can stick with an older version if this new one does break anything, but so far it seems to be a win for everyone who's tested it!"}}