Coder Social home page Coder Social logo

Comments (8)

area avatar area commented on June 23, 2024 1

I believe it is a special case for major version 0, yeah, I'll try and find an authoritative source for that when I'm out of this meeting 😛

from solidity-coverage.

cgewecke avatar cgewecke commented on June 23, 2024

@area I published testrpc-sc v4 to npm and added you as owner. (I used a non-master branch to do this, in the hope of causing as little damage as possible)

Also updated master here to use the new rpc after testing it on Open Zeppelin (it works). And there's a new doc about testrpc / vm stuff.

RE: publishing here - there's absolutely no rush, but I'm wondering if the safest course is to go up a major version, mostly because the way testrpc 4 is invoked from node_modules has changed and people have been running it on its own with norpc set to true. Anyone floating on a caret would be insulated from that difference.

from solidity-coverage.

area avatar area commented on June 23, 2024

Following semver, people matching against ^0.1.x will not be upgraded to 0.2.0 if the latter is released (if major version is 0, minor version indicates breaking changes):

> semver -r ^0.1.10 0.1.11 0.2
0.1.11

from solidity-coverage.

cgewecke avatar cgewecke commented on June 23, 2024

Oh good! Is that a special case for 0 prefixed releases? I looked at Stack Overflow when wondering what to do here and saw this.

In the simplest terms, the tilde matches the most recent minor version (the middle number). ~1.2.3 will
match all 1.2.x versions but will miss 1.3.0.

The caret, on the other hand, is more relaxed. It will update you to the most recent major version (the first
number). ^1.2.3 will match any 1.x.x release including 1.3.0, but will hold off on 2.0.0.

Is that incorrect?

from solidity-coverage.

area avatar area commented on June 23, 2024

https://github.com/npm/node-semver#caret-ranges-123-025-004

from solidity-coverage.

cgewecke avatar cgewecke commented on June 23, 2024

Thanks! I had no idea about that. Minor it is . . . I'll publish today unless you see things that should be fixed.

from solidity-coverage.

cgewecke avatar cgewecke commented on June 23, 2024

v0.2.0

from solidity-coverage.

cgewecke avatar cgewecke commented on June 23, 2024

Oooooh. I just watched Greenkeeper open a PR upgrading to latest at Gnosis and it passed. 🦉

from solidity-coverage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.