expressjs / expressjs/morgan

Deprecation warning when using import

Open
#190 32 comments 32 reactions 0 assignees View on GitHub
investigate
Dominant language
JavaScript
Stars
8.2k
Forks
565
Avg merge
3d 2h
Merged PRs (30d)
12

Description

When using `import` with esm using morgan, I get the following warning message :
```sh
morgan deprecated default format: use combined format node_modules\esm\esm.js:1:277757
```
This does not occur when using `require`.
Example : https://repl.it/repls/SeagreenGrippingHexagon

On Morgan v1.9.1.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.