Enable jqhtml data caching with automatic ES6 class registration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-07 18:24:12 +00:00
parent c4a338fe7c
commit 12e676f317
54 changed files with 3187 additions and 1007 deletions

View File

@@ -298,7 +298,11 @@ module.exports = function updateDB(print = defaultPrint) {
yarnCommand + ' up -R caniuse-lite baseline-browser-mapping'
)
} else if (lock.mode === 'pnpm') {
updateWith(print, 'pnpm up --no-save caniuse-lite baseline-browser-mapping')
let lockContent = readFileSync(lock.file).toString()
let packages = lockContent.includes('baseline-browser-mapping')
? 'caniuse-lite baseline-browser-mapping'
: 'caniuse-lite'
updateWith(print, 'pnpm up --depth=Infinity --no-save ' + packages)
} else if (lock.mode === 'bun') {
updateWith(print, 'bun update caniuse-lite baseline-browser-mapping')
} else {

View File

@@ -1,6 +1,6 @@
{
"name": "update-browserslist-db",
"version": "1.2.0",
"version": "1.2.2",
"description": "CLI tool to update caniuse-lite to refresh target browsers from Browserslist config",
"keywords": [
"caniuse",