mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
safe-buffer is already used and provides Buffer.alloc polyfill, so just use Buffer.alloc directly to avoid hitting deprecated API. Refs: https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor |
||
|---|---|---|
| .. | ||
| bindings | ||
| parsers | ||
| index.js | ||
| serialport.js | ||
| util.js | ||