Couldn't download xlsx package #1276
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"then I use npm to install |
Replies: 1 comment 1 reply
|
Thanks for the report — I reproduced the lockfile path and found the cause. npm uses the same HTTP(S) The fix is in #1277. It preserves matching declared URL dependencies as remote-tarball sources, including their integrity, while leaving ordinary registry tarball URLs unchanged. Until a release containing the fix is available, AI-assisted — Tool: Codex; model: unavailable; version: unavailable. |
Thanks for the report — I reproduced the lockfile path and found the cause.
npm uses the same HTTP(S)
resolvedfield for registry packages and direct tarball dependencies. Aube imported the SheetJS entry frompackage-lock.jsonas a registry package, so the defaulttrustPolicy=no-downgradecheck queried npm forxlsx@0.20.3. That version is distributed from the SheetJS CDN and is not present in the npm packument, which causedregistry packument has no metadata for xlsx@0.20.3.The fix is in #1277. It preserves matching declared URL dependencies as remote-tarball sources, including their integrity, while leaving ordinary registry tarball URLs unchanged.
Until a release containing the fix is …