You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update fileMaps for 247 packages w/ auto-update - #2214
Fixes autoupdate.fileMap in 247 configs (186 npm, 61 git) whose recent releases matched no files, so the bot never published them. The list comes from cdnjs-bot's staging rejection log (no_matching_files).
Most upstreams moved their build output (for example dist/ to build/, .js to .mjs, a new bundle name, or a monorepo subfolder). For each package:
No pattern uses a globstar (**). Files are named, or matched with * inside one directory. Where a package ships a tree of ES modules, each directory is listed (for example chrono-node's locales/*/parsers/*.js). The only * directories are ones that stand for a real set of folders, such as codemirror's addon/*/ and mode/*/.
109 configs drop entries: globstar patterns replaced by named files, and entries that match nothing in current releases (for example vast-client's root vast-client*). Versions already on cdnjs are never imported again, so this removes nothing that is published. The two double-slash patterns (dist//… in backbone-react-component, js//… in minitranslate) are gone too.
The latest stable release matches more than 0 and at most 3,000 files.
Only browser files ship: bundles, ES modules, source maps, CSS and the fonts and images that CSS loads. CommonJS-only builds, TypeScript sources and Node-only entries are left out. jsondiffpatch leaves out with-text-diffs.js, which imports @dmsnell/diff-match-patch by bare name.
filename changed in 131 configs. Each new value exists in the newest stable release. blueprintjs-core now ships only its CSS (blueprint.min.css); its JS needs React and other npm packages.
mapcreator-api gets "ignoreVersions": ["0.0.0-*"]. npm has 32 0.0.0-mr-… builds from merge requests, which the new fileMap would otherwise import.
Not changed: packages whose current releases have no browser build. That covers gentelella 4.x (a Vite-built site with hashed chunk names), azure-storage-blob, sentry-browser, pnp-config-store, pnp-graph, pnp-sp, react-day-picker, react-router, primeng (Angular-only .mjs from 18.0.0 on), html5media and better-ajv-errors 4.x (imports node:util). codemirror keeps codemirror.min.js and gets no entry for 6.x: npm's 6.0.x codemirror is an entry module that imports @codemirror/* by bare name, and its highest stable version, 6.65.7, is a mis-tagged copy of 5.65.7. Also muse-ui, whose npm name now belongs to an unrelated project from 4.0.0 on. Git-source packages whose tags contain no built files are switched to npm in separate PRs.
datepick's filename check needs cdnjs/tools#290: the checker only reads the last 10 git tags by name, which for datepick are all Release_* tags, so it never sees 5.1.1.
Every changed config passes checker lint (latest cdnjs/tools release). The only warnings are the existing popularity warnings (under 200 stars or 800 monthly downloads).
I re-ran the failed job and it panicked again in the same place: npm.GetMonthlyDownload, called from checker lint. The first run got through 95 configs before the panic and the re-run only 47, so it isn't a particular config. api.npmjs.org seems to rate-limit the shared GitHub runner IP and send back a body that isn't JSON. json.Unmarshal then fails, and util.Check turns that into a panic. Only the 187 npm configs hit this API; the 61 git ones don't. I ran checker lint on all 248 configs locally and they all pass.
Two ways forward, whichever you prefer:
Admin merge this PR as it is.
I split it into 5 PRs of about 50 configs each, roughly 37 npm configs per PR.
Let's either split this PR or update the CI to respect ratelimits correctly. I'm not keen on admin-merging unless it is very apparent that's the only path forward, as it risks introducing invalid configs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
autoupdate.fileMapin 247 configs (186 npm, 61 git) whose recent releases matched no files, so the bot never published them. The list comes from cdnjs-bot's staging rejection log (no_matching_files).Most upstreams moved their build output (for example
dist/tobuild/,.jsto.mjs, a new bundle name, or a monorepo subfolder). For each package:**). Files are named, or matched with*inside one directory. Where a package ships a tree of ES modules, each directory is listed (for example chrono-node'slocales/*/parsers/*.js). The only*directories are ones that stand for a real set of folders, such as codemirror'saddon/*/andmode/*/.vast-client*). Versions already on cdnjs are never imported again, so this removes nothing that is published. The two double-slash patterns (dist//…in backbone-react-component,js//…in minitranslate) are gone too.with-text-diffs.js, which imports@dmsnell/diff-match-patchby bare name.filenamechanged in 131 configs. Each new value exists in the newest stable release. blueprintjs-core now ships only its CSS (blueprint.min.css); its JS needs React and other npm packages."ignoreVersions": ["0.0.0-*"]. npm has 320.0.0-mr-…builds from merge requests, which the new fileMap would otherwise import.Not changed: packages whose current releases have no browser build. That covers gentelella 4.x (a Vite-built site with hashed chunk names), azure-storage-blob, sentry-browser, pnp-config-store, pnp-graph, pnp-sp, react-day-picker, react-router, primeng (Angular-only
.mjsfrom 18.0.0 on), html5media and better-ajv-errors 4.x (importsnode:util). codemirror keepscodemirror.min.jsand gets no entry for 6.x: npm's 6.0.xcodemirroris an entry module that imports@codemirror/*by bare name, and its highest stable version, 6.65.7, is a mis-tagged copy of 5.65.7. Also muse-ui, whose npm name now belongs to an unrelated project from 4.0.0 on. Git-source packages whose tags contain no built files are switched to npm in separate PRs.datepick's
filenamecheck needs cdnjs/tools#290: the checker only reads the last 10 git tags by name, which for datepick are allRelease_*tags, so it never sees 5.1.1.Every changed config passes
checker lint(latest cdnjs/tools release). The only warnings are the existing popularity warnings (under 200 stars or 800 monthly downloads).beep-boop-niklas-agent-🤖