Update lockfile (#2384)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
pull/2405/head
renovate[bot] 4 years ago committed by GitHub
parent f547b6ff27
commit 3d2e5c0310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contracts/mocks/Create2Impl.sol
  2. 6
      contracts/mocks/DummyImplementation.sol
  3. 4
      contracts/proxy/Proxy.sol
  4. 16243
      package-lock.json
  5. 11
      scripts/prepare-docs-solc.js
  6. 9
      scripts/prepare-docs.sh

@ -23,5 +23,5 @@ contract Create2Impl {
return Create2.computeAddress(salt, codeHash, deployer);
}
receive() payable external {}
receive() external payable {}
}

@ -15,7 +15,7 @@ contract DummyImplementation {
value = 10;
}
function initializePayable() payable public {
function initializePayable() public payable {
value = 100;
}
@ -23,7 +23,7 @@ contract DummyImplementation {
value = _value;
}
function initializePayable(uint256 _value) payable public {
function initializePayable(uint256 _value) public payable {
value = _value;
}
@ -47,7 +47,7 @@ contract DummyImplementation {
}
contract DummyImplementationV2 is DummyImplementation {
function migrate(uint256 newVal) payable public {
function migrate(uint256 newVal) public payable {
value = newVal;
}

@ -60,7 +60,7 @@ abstract contract Proxy {
* @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
* function in the contract matches the call data.
*/
fallback () payable external {
fallback () external payable {
_fallback();
}
@ -68,7 +68,7 @@ abstract contract Proxy {
* @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
* is empty.
*/
receive () payable external {
receive () external payable {
_fallback();
}

16243
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -0,0 +1,11 @@
const path = require('path');
const bre = require('@nomiclabs/buidler');
const { Compiler } = require('@nomiclabs/buidler/internal/solidity/compiler');
const compiler = new Compiler(
bre.config.solc.version,
path.join(bre.config.paths.cache, 'compilers'),
);
module.exports = Object.assign(compiler.getSolc(), { __esModule: true });

@ -9,5 +9,12 @@ if [ ! -d node_modules ]; then
fi
rm -rf "$OUTDIR"
solidity-docgen -t docs -o "$OUTDIR" -e contracts/mocks,contracts/examples --output-structure readmes
solidity-docgen \
-t docs \
-o "$OUTDIR" \
-e contracts/mocks,contracts/examples \
--output-structure readmes \
--solc-module scripts/prepare-docs-solc.js
node scripts/gen-nav.js "$OUTDIR" > "$OUTDIR/../nav.adoc"

Loading…
Cancel
Save