Skip to content
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
@witten

Description

@witten
  • 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.

Metadata

Metadata

Assignees

Labels

P1High: Likely tackled by core team if no one steps upexp/expertHaving worked on the specific codebase is importantkind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions