This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
unpkg.com CDN serves incorrect version of IPFS dist files #1164
Closed
Description
- Version: Any
- Platform:
Linux flux 4.2.0-23-generic #28~14.04.1-Ubuntu SMP Thu Dec 31 13:40:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
(Firefox 57.0.1) - Subsystem: n/a
Severity: Medium
Description:
When fetching either minified or unminified dist versions of js-ipfs from unpkg.com, the previous release from the version requested is returned.
Steps to reproduce the error:
GET https://unpkg.com/[email protected]/dist/index.js
contains module.exports = {"name":"ipfs","version":"0.27.4" ...
GET https://unpkg.com/[email protected]/dist/index.js
contains module.exports = {"name":"ipfs","version":"0.27.3" ...
GET https://unpkg.com/[email protected]/dist/index.js
contains module.exports = {"name":"ipfs","version":"0.27.2" ...
You get the idea..
This is confusing, and could lead to developers getting a different version of js-ipfs than they're expecting, inaccurate bug reports, etc.