This package specifies a dependency on Cheerio ^1.0.0-rc.2. This allows 1.0.0 to be installed. However, Cheerio just released 1.0.0 and it has breaking changes compared with previous release candidates: https://github.com/cheeriojs/cheerio/releases
The relevant change in this case is
The deprecated default Cheerio instance and static methods were removed.
This is now breaks npm installs depending on what version of cheerio the lockfile resolves to.
file:<omitted>/node_modules/i18next-parser/dist/lexers/html-lexer.js:2
import cheerio from 'cheerio';var
^^^^^^^
SyntaxError: The requested module 'cheerio' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:217:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
at async loadESM (node:internal/process/esm_loader:28:7)
at async handleMainPromise (node:internal/modules/run_main:113:12)
Suggested Fix
Either pin cheerio to a version before 1.0.0, or update to 1.0.0 and fix the imports.
💥 Regression Report
This package specifies a dependency on Cheerio
^1.0.0-rc.2
. This allows 1.0.0 to be installed. However, Cheerio just released 1.0.0 and it has breaking changes compared with previous release candidates: https://github.com/cheeriojs/cheerio/releasesThe relevant change in this case is
This is now breaks npm installs depending on what version of cheerio the lockfile resolves to.
Suggested Fix
Either pin cheerio to a version before 1.0.0, or update to 1.0.0 and fix the imports.