-
Notifications
You must be signed in to change notification settings - Fork 326
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 response of Package not found: gaugeJS whereas they previously returned the referenced file contents for the specified package name + version.
gaugeJS example
URL:
https://unpkg.com/[email protected]/dist/gauge.min.js
Actual Response:
Package not found: gaugeJS
Expected Response:
Contents 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.
Legacy Uppercase
I suspect this is related to the use of capitalization with the package name which was allowed in npm legacy packages, but is somewhat uncommon as most packages follow the new all lowercase requirements.
Alternate Example
It 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/ to point to the Angular2 npm package for TypeScript snippets, but instead unpkg provides a 301 to /[email protected] matching the lowercase angular2 npm package.