Current behaviour
The repo headline says zero runtime dependencies, but mermaid-export ships puppeteer.
README.md:3: "Zero-dependency, ultra-lightweight JavaScript utility libraries". README.md:8: "A collection of tiny, focused utility packages with zero runtime dependencies."
packages/mermaid-export/package.json:46-47 declares:
"dependencies": {
"puppeteer": "^23.0.0"
mermaid-export 1.0.0 is live on npm, so an installer pulls puppeteer (and a Chromium download) despite the headline. The package is also not listed in the README package table.
Confirm:
sed -n '1,10p' README.md
node -e "console.log(require('./packages/mermaid-export/package.json').dependencies)"
npm view mermaid-export version
Why it matters
Puppeteer is a large dependency that downloads Chromium. Someone reading "zero runtime dependencies" and installing mermaid-export gets the opposite of what was promised.
Fix shape
Scope the claim (for example "zero runtime dependencies, except mermaid-export, which drives Chrome via puppeteer") and add mermaid-export to the package table with that caveat, or move it out of this monorepo.
How you know it worked
The README no longer contradicts node -e "console.log(require('./packages/mermaid-export/package.json').dependencies)".
Current behaviour
The repo headline says zero runtime dependencies, but
mermaid-exportships puppeteer.README.md:3: "Zero-dependency, ultra-lightweight JavaScript utility libraries".README.md:8: "A collection of tiny, focused utility packages with zero runtime dependencies."packages/mermaid-export/package.json:46-47declares:mermaid-export1.0.0 is live on npm, so an installer pulls puppeteer (and a Chromium download) despite the headline. The package is also not listed in the README package table.Confirm:
Why it matters
Puppeteer is a large dependency that downloads Chromium. Someone reading "zero runtime dependencies" and installing
mermaid-exportgets the opposite of what was promised.Fix shape
Scope the claim (for example "zero runtime dependencies, except mermaid-export, which drives Chrome via puppeteer") and add
mermaid-exportto the package table with that caveat, or move it out of this monorepo.How you know it worked
The README no longer contradicts
node -e "console.log(require('./packages/mermaid-export/package.json').dependencies)".