Title: Legacy Package Capitalization Mismatch after CF Worker Migration · Issue #453 · unpkg/unpkg · GitHub
Open Graph Title: Legacy Package Capitalization Mismatch after CF Worker Migration · Issue #453 · unpkg/unpkg
X Title: Legacy Package Capitalization Mismatch after CF Worker Migration · Issue #453 · unpkg/unpkg
Description: First off, thanks for putting together such an awesome tool! I noticed that in the past few weeks, around the time of the cutover to the new Cloudflare Workers stack, that references to gaugeJS via unpkg.js have stopped working with a re...
Open Graph Description: First off, thanks for putting together such an awesome tool! I noticed that in the past few weeks, around the time of the cutover to the new Cloudflare Workers stack, that references to gaugeJS via...
X Description: First off, thanks for putting together such an awesome tool! I noticed that in the past few weeks, around the time of the cutover to the new Cloudflare Workers stack, that references to gaugeJS via...
Opengraph URL: https://github.com/unpkg/unpkg/issues/453
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Legacy Package Capitalization Mismatch after CF Worker Migration","articleBody":"First off, thanks for putting together such an awesome tool! \n\nI noticed that in the past few weeks, around the time of the cutover to the new Cloudflare Workers stack, that references to `gaugeJS` via unpkg.js have stopped working with a response of `Package not found: gaugeJS` whereas they previously returned the referenced file contents for the specified package name + version. \n\n\n## gaugeJS example\n**URL**:\n https://unpkg.com/gaugeJS@1.3.8/dist/gauge.min.js\n\n**Actual Response**:\n```\nPackage not found: gaugeJS\n```\n**Expected Response**:\n \nContents of the gaugeJS `/dist/gauge.min.js` file for the `1.3.8` version on npm. This is what was returned just a few weeks ago - likely prior to the CF Worker cutover. \n\n## Legacy Uppercase\nI suspect this is related to the use of capitalization with the package name which was [allowed in npm legacy packages](https://github.com/npm/validate-npm-package-name/tree/main?tab=readme-ov-file#legacy-names), but is somewhat uncommon as most packages follow the new all lowercase requirements. \n\n## Alternate Example\nIt was a bit difficult to find another example, but you can see that `Angular2` is quite different from `angular2` but it seems like the new CF Worker approach normalizes to the lowercase variant. You would expect [unpkg.com/Angular2/](https://unpkg.com/Angular2/) to point to the [Angular2 npm package](https://www.npmjs.com/package/Angular2) for TypeScript snippets, but instead unpkg provides a 301 to `/angular2@2.0.0-beta.21` matching the lowercase [angular2 npm package](https://www.npmjs.com/package/angular2). \n\n\u003c!-- \n## Comment References - CF Worker Cutover\nFor other people finding this issue, here's the comments I was referring to about the recent CF Workers cutover:\n\n\u003e My apologies for the issues you all experienced this week. We are experiencing some growing pains, but we finished a migration to a completely new stack this week that should help us scale into the future. ([#440 Comment](https://github.com/unpkg/unpkg/issues/440#issuecomment-2781010043))\n\n\u003e We've been migrating all our traffic away from our origin servers towards a new service built on CF workers. ([#449 Comment](https://github.com/unpkg/unpkg/issues/449#issuecomment-2781007003))\n--\u003e","author":{"url":"https://github.com/joshualyon","@type":"Person","name":"joshualyon"},"datePublished":"2025-04-11T19:44:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/453/unpkg/issues/453"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8426d2ab-f199-9ec2-4690-bf9894016fb4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF3A:1F57F2:2A9AC93:39072D0:697AD705 |
| html-safe-nonce | 300f34edb0c6f6f31d2c231f0d1d2a39217139f8bb52af24b0834f74263ca5ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjNBOjFGNTdGMjoyQTlBQzkzOjM5MDcyRDA6Njk3QUQ3MDUiLCJ2aXNpdG9yX2lkIjoiMTYwMDk4NzMwMzc0MjQ2MTcwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 69bd1f334f610d100e9c186a12f34c46b17e04eb32328b00de74964a88eba778 |
| hovercard-subject-tag | issue:2989602550 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unpkg/unpkg/453/issue_layout |
| twitter:image | https://opengraph.githubassets.com/360ac034e8315c4e38f8145183e92ec9b4b5f92db6bf23bce1dcd9454d655e96/unpkg/unpkg/issues/453 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/360ac034e8315c4e38f8145183e92ec9b4b5f92db6bf23bce1dcd9454d655e96/unpkg/unpkg/issues/453 |
| og:image:alt | First off, thanks for putting together such an awesome tool! I noticed that in the past few weeks, around the time of the cutover to the new Cloudflare Workers stack, that references to gaugeJS via... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joshualyon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4af1ba0e68200258a80b0c5ab34f12a78bf48372a377a11e14eb668863c03b3a |
| turbo-cache-control | no-preview |
| go-import | github.com/unpkg/unpkg git https://github.com/unpkg/unpkg.git |
| octolytics-dimension-user_id | 16924415 |
| octolytics-dimension-user_login | unpkg |
| octolytics-dimension-repository_id | 52242422 |
| octolytics-dimension-repository_nwo | unpkg/unpkg |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 52242422 |
| octolytics-dimension-repository_network_root_nwo | unpkg/unpkg |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 353b231ffaec2de44db15b2e82887804ede7c21e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width