RIAEvangelist / node-phidget-API

Node.JS Phidget API supporting all phidgets!
Other
10 stars 7 forks source link

PhidgetAPI does not work with node v0.10.40 but works with v0.12.7 #10

Closed rajivsavroop closed 9 years ago

rajivsavroop commented 9 years ago

Object.observe method not defined on objects.

RIAEvangelist commented 9 years ago

We should find out what version of node started allowing object.observe

@mrvini do you think we should add a polyfill for backwards compatibility or require, at a minimum, the first version of node to support Object.observe?

mrvini commented 9 years ago

@RIAEvangelist , since the oldest node version that is supported is 0.10.40, that implies that the consumers will be lost if not using the polyfill, however the amount of people using this version shall be decreasing in the future, thus might not make sense to spend time on backwards compatibility. In addition to that, starting with version v0.11.6, in ES6, there is a way to enable observer option, just run on your machine to see if that is available.

node --v8-options | grep harm

RIAEvangelist commented 9 years ago

@mrvini sounds like we should require a minimum node version of 12 yes?

RIAEvangelist commented 9 years ago

we now require v0.11.3 or newer for the latest releases.