chrvadala / node-ble

Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
https://www.npmjs.com/package/node-ble
MIT License
310 stars 45 forks source link

Deprecations? #32

Closed nospam2k closed 2 years ago

nospam2k commented 2 years ago

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported

Node version: v12.22.1 Raspberry 4 Buster

chrvadala commented 2 years ago

You're right, but neither har-validator and request are direct dependencies of node-ble. Can I ask you to submit an issue to the dbus-next maintainer? Looks like that he is using an old usocket version.

$ npm explain har-validator
har-validator@5.1.5 optional
node_modules/har-validator
  har-validator@"~5.1.3" from request@2.88.2
  node_modules/request
    request@"^2.88.2" from node-gyp@7.1.2
    node_modules/node-gyp
      node-gyp@"^7.1.2" from usocket@0.3.0
      node_modules/usocket
        optional usocket@"^0.3.0" from dbus-next@0.10.2
        node_modules/dbus-next
          dbus-next@"^0.10.2" from the root project

$ npm explain request
request@2.88.2 optional
node_modules/request
  request@"^2.88.2" from node-gyp@7.1.2
  node_modules/node-gyp
    node-gyp@"^7.1.2" from usocket@0.3.0
    node_modules/usocket
      optional usocket@"^0.3.0" from dbus-next@0.10.2
      node_modules/dbus-next
        dbus-next@"^0.10.2" from the root project