Closed loretoparisi closed 5 years ago
You need to upgrade leveldown
to at least version 5 to run it on node 12.
@ralphtheninja I'm not using leveldown
directly this is the problem, so how we can get rid of this issue?
@loretoparisi Then whatever is using leveldown
need to upgrade. You could always fork that project and bump the dependency yourself and use that meanwhile upstream is being updated.
@ralphtheninja that is an option, thank you. Let me check which is the dependant package:
│ │ │ ├─┬ level-packager@3.1.0
│ │ │ │ ├─┬ encoding-down@5.0.4
│ │ │ │ │ ├── abstract-leveldown@5.0.0 deduped
│ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ ├── level-codec@9.0.1
│ │ │ │ │ ├─┬ level-errors@2.0.1
│ │ │ │ │ │ └── errno@0.1.7 deduped
│ │ │ │ │ └── xtend@4.0.2 deduped
│ │ │ │ └─┬ levelup@3.1.1
│ │ │ │ ├─┬ deferred-leveldown@4.0.2
│ │ │ │ │ ├── abstract-leveldown@5.0.0 deduped
│ │ │ │ │ └── inherits@2.0.4 deduped
│ │ │ │ ├── level-errors@2.0.1 deduped
│ │ │ │ ├─┬ level-iterator-stream@3.0.1
│ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ ├─┬ readable-stream@2.3.6
│ │ │ │ │ │ ├── core-util-is@1.0.2 deduped
│ │ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ │ ├── isarray@1.0.0 deduped
│ │ │ │ │ │ ├── process-nextick-args@2.0.1 deduped
│ │ │ │ │ │ ├── safe-buffer@5.1.2
│ │ │ │ │ │ ├─┬ string_decoder@1.1.1
│ │ │ │ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ │ │ │ └── util-deprecate@1.0.2 deduped
│ │ │ │ │ └── xtend@4.0.2 deduped
│ │ │ │ └── xtend@4.0.2 deduped
│ │ │ ├─┬ leveldown@4.0.2
and
│ │ ├─┬ level@4.0.0
│ │ │ ├─┬ level-packager@3.1.0
│ │ │ │ ├─┬ encoding-down@5.0.4
│ │ │ │ │ ├── abstract-leveldown@5.0.0 deduped
│ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ ├── level-codec@9.0.1
│ │ │ │ │ ├─┬ level-errors@2.0.1
│ │ │ │ │ │ └── errno@0.1.7 deduped
│ │ │ │ │ └── xtend@4.0.2 deduped
│ │ │ │ └─┬ levelup@3.1.1
│ │ │ │ ├─┬ deferred-leveldown@4.0.2
│ │ │ │ │ ├── abstract-leveldown@5.0.0 deduped
│ │ │ │ │ └── inherits@2.0.4 deduped
│ │ │ │ ├── level-errors@2.0.1 deduped
│ │ │ │ ├─┬ level-iterator-stream@3.0.1
│ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ ├─┬ readable-stream@2.3.6
│ │ │ │ │ │ ├── core-util-is@1.0.2 deduped
│ │ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ │ ├── isarray@1.0.0 deduped
│ │ │ │ │ │ ├── process-nextick-args@2.0.1 deduped
│ │ │ │ │ │ ├── safe-buffer@5.1.2
│ │ │ │ │ │ ├─┬ string_decoder@1.1.1
│ │ │ │ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ │ │ │ └── util-deprecate@1.0.2 deduped
│ │ │ │ │ └── xtend@4.0.2 deduped
│ │ │ │ └── xtend@4.0.2 deduped
│ │ │ ├─┬ leveldown@4.0.2
│ ├─┬ annoy@2.0.1
│ │ ├─┬ bindings@1.5.0
│ │ │ └── file-uri-to-path@1.0.0
│ │ ├─┬ level@4.0.0
│ │ │ ├─┬ level-packager@3.1.0
│ │ │ │ ├─┬ encoding-down@5.0.4
│ │ │ │ │ ├── abstract-leveldown@5.0.0 deduped
│ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ ├── level-codec@9.0.1
│ │ │ │ │ ├─┬ level-errors@2.0.1
│ │ │ │ │ │ └── errno@0.1.7 deduped
│ │ │ │ │ └── xtend@4.0.2 deduped
│ │ │ │ └─┬ levelup@3.1.1
│ │ │ │ ├─┬ deferred-leveldown@4.0.2
│ │ │ │ │ ├── abstract-leveldown@5.0.0 deduped
│ │ │ │ │ └── inherits@2.0.4 deduped
│ │ │ │ ├── level-errors@2.0.1 deduped
│ │ │ │ ├─┬ level-iterator-stream@3.0.1
│ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ ├─┬ readable-stream@2.3.6
│ │ │ │ │ │ ├── core-util-is@1.0.2 deduped
│ │ │ │ │ │ ├── inherits@2.0.4 deduped
│ │ │ │ │ │ ├── isarray@1.0.0 deduped
│ │ │ │ │ │ ├── process-nextick-args@2.0.1 deduped
│ │ │ │ │ │ ├── safe-buffer@5.1.2
│ │ │ │ │ │ ├─┬ string_decoder@1.1.1
│ │ │ │ │ │ │ └── safe-buffer@5.1.2 deduped
│ │ │ │ │ │ └── util-deprecate@1.0.2 deduped
│ │ │ │ │ └── xtend@4.0.2 deduped
│ │ │ │ └── xtend@4.0.2 deduped
│ │ │ ├─┬ leveldown@4.0.2
so It seems that the dependant were level
, its level-packager
logging
Related to
nan
https://github.com/nodejs/nan/issues/877