node-hid: Support for npm@8
authorHirokazu MORIKAWA <morikw2@gmail.com>
Wed, 6 Apr 2022 01:10:30 +0000 (10:10 +0900)
committerRosen Penev <rosenp@gmail.com>
Sun, 22 May 2022 20:39:12 +0000 (13:39 -0700)
commit403eb59cd6f855ba18a4bd816677ef5a59978fb4
tree3bb6f074ed012825b7933694a3f9ab1c7911a364
parent52cb98ae995c7a57ead0491bd1d7c60221e99dcb
node-hid: Support for npm@8

With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 20876aadf847d4266a1636d5f41d4a2c4f8b0f7c)
lang/node-hid/Makefile