graphprotocol / graph-client

The Graph library for building GraphQL-based dapps in a decentralized way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

all dependencies should use caret (`^`) ranges

n1ru4l opened this issue · comments

Right now, a few of the packages use pinned versions.

I remember ^ doesn't work well for 0.x versions. I think we should not do that until Mesh v1.

@ardatan Not sure what you mean in the 0.X.X range the second number acts as the major version.

so a constraint of ^0.100.2 would satisfy 0.100.2, 0.100.3, 0.100.n BUT NOT satisfy 0.101.n.

https://jubianchi.github.io/semver-check/#/^0.100.2/0.100.2
https://jubianchi.github.io/semver-check/#/^0.100.2/0.100.3
https://jubianchi.github.io/semver-check/#/^0.100.2/0.101.99
https://jubianchi.github.io/semver-check/#/^0.100.2/0.101.2

Closed by #435