Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prb/test

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prb/test - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

39

CHANGELOG.md

@@ -7,8 +7,34 @@ # Changelog

## [0.1.3] - 2022-10-29
[0.2.0]: https://github.com/paulrberg/prb-math/compare/v0.1.3...v0.2.0
[0.1.3]: https://github.com/paulrberg/prb-math/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/paulrberg/prb-math/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/paulrberg/prb-math/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.0
## [0.2.0] - 2022-12-04
### Changed
- Improve wording in CHANGELOG
- Name arguments in `Vm` interface functions
- Sync `Vm` with forge-std
- Set cheatcode mutability/ visibility
- Split `Vm` in `Vm` and `VmSafe` interfaces
### Added
- Add more information in README (@paulrberg)
- Add `allowCheatcodes` cheatcode
- Add `broadcast` and `startBroadcast` private key overloads
- Add `deriveKey` and `rememberKey` cheatcodes feat:
- Add `difficulty` cheatcode
- Add fork-related cheatcodes
- Add `getDeployedCode`
- Add parsing cheatcodes
- Add `parseJson` helper functions in `Vm`
- Add `projectRoot` cheatcode
- Add `transact` cheatcode
- Add emitter in `Log` struct
## [0.1.3] - 2022-10-29
### Changed

@@ -22,2 +48,6 @@

### Added
- Add more information in README (@paulrberg)
## [0.1.2] - 2022-07-17

@@ -41,6 +71,1 @@

- First release (@paulrberg)
[0.1.3]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.3
[0.1.2]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.2
[0.1.1]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.1
[0.1.0]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.0

30

package.json
{
"name": "@prb/test",
"description": "Modern collection of testing assertions and logging utilities for Solidity",
"version": "0.1.3",
"version": "0.2.0",
"author": {

@@ -13,11 +13,12 @@ "name": "Paul Razvan Berg",

"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"husky": "^8.0.2",
"lint-staged": "^13.0.4",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-dev.22",
"prettier": "^2.8.0",
"prettier-plugin-solidity": "^1.0.0",
"rimraf": "^3.0.2",
"solhint": "^3.3.7",

@@ -41,3 +42,3 @@ "solhint-plugin-prettier": "^0.0.5"

"license": "MIT",
"packageManager": "yarn@3.2.1",
"packageManager": "yarn@3.2.4",
"publishConfig": {

@@ -50,12 +51,15 @@ "access": "public"

},
"resolutions": {
"solhint/@solidity-parser/parser": "^0.14.5"
},
"scripts": {
"lint": "yarn solhint && yarn prettier:check",
"lint:check": "yarn prettier:check && yarn solhint:check",
"clean": "rimraf cache out",
"lint": "yarn lint:sol && yarn prettier:check",
"lint:sol": "solhint \"{src,test}/**/*.sol\"",
"_postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"prettier": "prettier --config \"./.prettierrc.yml\" --write \"**/*.{json,md,sol,yml}\"",
"prettier:check": "prettier --config \"./.prettierrc.yml\" --check \"**/*.{json,md,sol,yml}\"",
"solhint": "solhint --config \"./.solhint.json\" \"{src,test}/**/*.sol\""
"prettier:check": "prettier --check \"**/*.{json,md,sol,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,sol,yml}\""
}
}

@@ -30,3 +30,3 @@ # PRBTest [![Github Actions][gha-badge]][gha] [![Foundry][foundry-badge]][foundry] [![Styled with Prettier][prettier-badge]][prettier] [![License: MIT][license-badge]][license]

```sh
forge install --no-commit paulrberg/prb-test@0.1.3
forge install --no-commit paulrberg/prb-test@0.2.0
```

@@ -38,5 +38,5 @@

[submodule "lib/prb-test"]
branch = "0.1.3"
path = "lib/prb-test"
url = "https://github.com/paulrberg/prb-test"
branch = "0.2.0"
path = "lib/prb-test"
url = "https://github.com/paulrberg/prb-test"
```

@@ -43,0 +43,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc