[minor][api] Support node 0.4 - 0.8