Comments (8)
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.
@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.
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.
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.
https://github.com/npm/node-semver#caret-ranges-123-025-004
from solidity-coverage.
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.
v0.2.0
from solidity-coverage.
Oooooh. I just watched Greenkeeper open a PR upgrading to latest at Gnosis and it passed. 🦉
from solidity-coverage.
Related Issues (20)
- Consider using caret range for dependencies HOT 3
- named mapping keys printing large logs HOT 3
- Coverage overwrites provider logic in extendEnvironment hook HOT 8
- uncovered else statements HOT 1
- ParserError solidity-coverage: v0.8.5 Solidity 0.8.19 HOT 3
- modifierWhitelist causes inaccurate coverage HOT 3
- Specify minimum coverage HOT 1
- v0.9.0 Road Map
- ...
- Update tests
- Running solidity-coverage against a generic RPC node HOT 12
- Small docs Improvements
- Unskip stack-too-deep unit test HOT 1
- Try/Catch should be treated as branch
- 0% coverage when using hardhat-foundry & foundry.toml is present HOT 15
- Add tests for file level function declarations
- feature: track config state in Hardhat cache
- Tracking Issue: using viaIR in versions >= 0.8.7 HOT 2
- Branch coverage decreases after upgrading to 0.8.7 HOT 10
- Verify skipFiles works as expected when using hardhat-foundry HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solidity-coverage.