Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#190·morgan

Deprecation warning when using import

Author: rigwildCreated Apr 11, 2019Updated Jul 25, 2026
Labelsinvestigate

When using import with esm using morgan, I get the following warning message :

bash
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.

Source: expressjs/morgan

View original on GitHubView discussion on GitHub