When markdown is run on NodeJS v20 this error is reported:
(node:51931) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/izso/.nvm/versions/node/v20.5.0/lib/node_modules/markdown-to-html/package.json' of 'markdown.js'. Please either fix that or report it to the module author
Installation info:
npm info markdown-to-html
markdown-to-html@0.0.13 | MIT | deps: 7 | versions: 14
Converts markdown text to HTML. A readable stream plus utilities and web demo.
https://github.com/cwjohan/markdown-to-html
keywords: markdown, markdown-to-html, html, render, convert, stream, pipe
bin: markdown, markdownb, github-markdown, github-markdownb
dist
.tarball: https://registry.npmjs.org/markdown-to-html/-/markdown-to-html-0.0.13.tgz
.shasum: 003467759db8b319b06c1d9f092072eb44177f4d
.integrity: sha512-Gj4LOPRgwWKh6i2ccXqpf9mBQEG5gS2qhipCp3bugs32nIvEa0HqeOHW4nkmkGLeozvQRoNmqm3VZ5Aj6c+thg==
dependencies:
gfm-linkify: ^0.1.0 marked: ^0.3.2 open: 0.0.5 pygmentize-bundled: ^2.2.0 request: ^2.47.0 tmp: 0.0.24 yargs: ^1.3.3
maintainers:
- cwjohan <cwjohan@gmail.com>
dist-tags:
latest: 0.0.13
published over a year ago by cwjohan <cwjohan@gmail.com>
When
markdown
is run on NodeJS v20 this error is reported:Installation info: