bsiddiqui / bookshelf-uuid

Automatically generates UUIDs for your bookshelf models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation Warning Using Buffer without `new` will soon stop working

yosriady opened this issue · comments

The following deprecation warning is generated:

DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.

Most likely this is caused by one of the following dependencies:

├─ bookshelf-uuid@1.0.0
│  ├─ uuid@^2.0.2
│  └─ uuid@2.0.3
│  ├─ node-uuid@^1.4.7
│  ├─ uuid@^3.0.0

As far as I know, node-uuid is a deprecated module:

npm WARN deprecated node-uuid@1.4.7: use uuid module instead