Skip to content

Commit

Permalink
Bump solc from 0.8.13 to 0.8.14 (prettier-solidity#682)
Browse files Browse the repository at this point in the history
* Bump solc from 0.8.13 to 0.8.14

Bumps [solc](https://github.com/ethereum/solc-js) from 0.8.13 to 0.8.14.
- [Release notes](https://github.com/ethereum/solc-js/releases)
- [Commits](https://github.com/ethereum/solc-js/commits)

---
updated-dependencies:
- dependency-name: solc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Tests passing

* fixing lock file

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Klaus Hott <[email protected]>
  • Loading branch information
dependabot[bot] and Janther authored May 21, 2022
1 parent ce7923d commit f577f80
Show file tree
Hide file tree
Showing 21 changed files with 78 additions and 86 deletions.
56 changes: 24 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,19 @@
"@babel/code-frame": "^7.16.7",
"cross-env": "^7.0.3",
"dir-to-object": "^2.0.0",
"eslint": "^8.13.0",
"eslint": "^8.16.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"jest": "^28.1.0",
"jest-mock-now": "^1.3.0",
"jest-snapshot-serializer-ansi": "^1.0.0",
"jest-snapshot-serializer-raw": "^1.2.0",
"jest-watch-typeahead": "^1.0.0",
"jest-watch-typeahead": "^1.1.0",
"lines-and-columns": "^2.0.3",
"outdent": "^0.8.0",
"prettier": "^2.6.2",
"solc": "^0.8.13"
"solc": "^0.8.14-fixed"
},
"dependencies": {
"@solidity-parser/parser": "^0.14.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract VariableTypesMixed {
uint256 public a;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ printWidth: 80
| printWidth
=====================================input======================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract VariableTypesMixed {
uint256 public a;
Expand Down Expand Up @@ -47,7 +47,7 @@ contract VariableTypesMixed {
=====================================output=====================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract VariableTypesMixed {
uint public a;
Expand Down Expand Up @@ -95,7 +95,7 @@ printWidth: 80
| printWidth
=====================================input======================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract VariableTypesMixed {
uint256 public a;
Expand Down Expand Up @@ -133,7 +133,7 @@ contract VariableTypesMixed {
=====================================output=====================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract VariableTypesMixed {
uint256 public a;
Expand Down Expand Up @@ -180,7 +180,7 @@ printWidth: 80
| printWidth
=====================================input======================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract VariableTypesMixed {
uint256 public a;
Expand Down Expand Up @@ -218,7 +218,7 @@ contract VariableTypesMixed {
=====================================output=====================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract VariableTypesMixed {
uint256 public a;
Expand Down
2 changes: 1 addition & 1 deletion tests/format/HexLiteral/HexLiteral.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract HexLiteral {
bytes8 hex1 = hex'DeadBeef';
Expand Down
8 changes: 4 additions & 4 deletions tests/format/HexLiteral/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ singleQuote: false
| printWidth
=====================================input======================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract HexLiteral {
bytes8 hex1 = hex'DeadBeef';
Expand All @@ -18,7 +18,7 @@ contract HexLiteral {
=====================================output=====================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract HexLiteral {
bytes8 hex1 = hex"DeadBeef";
Expand All @@ -37,7 +37,7 @@ singleQuote: true
| printWidth
=====================================input======================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract HexLiteral {
bytes8 hex1 = hex'DeadBeef';
Expand All @@ -46,7 +46,7 @@ contract HexLiteral {
=====================================output=====================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract HexLiteral {
bytes8 hex1 = hex'DeadBeef';
Expand Down
2 changes: 1 addition & 1 deletion tests/format/ModifierInvocations/ModifierInvocations.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract ModifierDefinitions {
// We enforce the use of parentheses in modifiers without parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ printWidth: 80
| printWidth
=====================================input======================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract ModifierDefinitions {
// We enforce the use of parentheses in modifiers without parameters.
Expand All @@ -26,7 +26,7 @@ contract ModifierInvocations is ModifierDefinitions {
=====================================output=====================================
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;
contract ModifierDefinitions {
// We enforce the use of parentheses in modifiers without parameters.
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/AddNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract AddNoParentheses {
function addAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/BitAndNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract BitAndNoParentheses {
function bitAndAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/BitOrNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract BitOrNoParentheses {
function bitOrAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/BitXorNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract BitXorNoParentheses {
function bitXorAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/DivNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract DivNoParentheses {
function divAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/ExpNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract ExpNoParentheses {
function expAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/LogicNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract LogicNoParentheses {
function orOr(bool a, bool b, bool c) public pure returns (bool) {
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/ModNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract ModNoParentheses {
function modAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/MulNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract MulNoParentheses {
function mulAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/ShiftLNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract ShiftLNoParentheses {
function shiftLAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/ShiftRNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract ShiftRNoParentheses {
function shiftRAdd(uint256 a, uint256 b, uint256 c)
Expand Down
2 changes: 1 addition & 1 deletion tests/format/Parentheses/SubNoParentheses.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
pragma solidity 0.8.14;

contract SubNoParentheses {
function subAdd(uint256 a, uint256 b, uint256 c)
Expand Down
Loading

0 comments on commit f577f80

Please sign in to comment.