diff --git a/package-lock.json b/package-lock.json index 1a784c25e..681d51830 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "knip": "^5.75.1", "lines-and-columns": "^2.0.4", "prettier": "^3.7.4", - "solc": "^0.8.32", + "solc": "^0.8.33", "ts-loader": "^9.5.4", "ts-node": "^10.9.2", "typescript": "^5.9.3", @@ -3303,9 +3303,9 @@ "dev": true }, "node_modules/baseline-browser-mapping": { - "version": "2.9.5", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.5.tgz", - "integrity": "sha512-D5vIoztZOq1XM54LUdttJVc96ggEsIfju2JBvht06pSzpckp3C7HReun67Bghzrtdsq9XdMGbSSB3v3GhMNmAA==", + "version": "2.9.10", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.10.tgz", + "integrity": "sha512-2VIKvDx8Z1a9rTB2eCkdPE5nSe28XnA+qivGnWHoB40hMMt/h1hSz0960Zqsn6ZyxWXUie0EBdElKv8may20AA==", "dev": true, "license": "Apache-2.0", "bin": { @@ -3487,9 +3487,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001760", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001760.tgz", - "integrity": "sha512-7AAMPcueWELt1p3mi13HR/LHH0TJLT11cnwDJEs3xA4+CK/PLKeO9Kl1oru24htkyUKtkGCvAx4ohB0Ttry8Dw==", + "version": "1.0.30001761", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001761.tgz", + "integrity": "sha512-JF9ptu1vP2coz98+5051jZ4PwQgd2ni8A+gYSN7EA7dPKIMf0pDlSUxhdmVOaV3/fYK5uWBkgSXJaRLr4+3A6g==", "dev": true, "funding": [ { @@ -8147,9 +8147,9 @@ } }, "node_modules/solc": { - "version": "0.8.32", - "resolved": "https://registry.npmjs.org/solc/-/solc-0.8.32.tgz", - "integrity": "sha512-0GMCGXBaBdwHrXC/DVpFm3tdUnm6p6kUnKSjAJ+SQROM9w9F4wyLqrRr/KTYW7ygMIkEPQjB76prTqhkB4GF5Q==", + "version": "0.8.33", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.8.33.tgz", + "integrity": "sha512-qPdHuAeg+DccqYz4Mq4grc7lOdgLA8wB8meCrMHcVXj70noKZhfAMzOCcOD/4RODZnn+sV3V6fWEyUkeVaBPVQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 0f5424769..005573760 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "knip": "^5.75.1", "lines-and-columns": "^2.0.4", "prettier": "^3.7.4", - "solc": "^0.8.32", + "solc": "^0.8.33", "ts-loader": "^9.5.4", "ts-node": "^10.9.2", "typescript": "^5.9.3", diff --git a/tests/format/HexLiteral/HexLiteral.sol b/tests/format/HexLiteral/HexLiteral.sol index b5a8de5c2..cb1ce6988 100644 --- a/tests/format/HexLiteral/HexLiteral.sol +++ b/tests/format/HexLiteral/HexLiteral.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract HexLiteral { bytes8 hex1 = hex'DeadBeef'; diff --git a/tests/format/HexLiteral/__snapshots__/format.test.js.snap b/tests/format/HexLiteral/__snapshots__/format.test.js.snap index b4999d0d2..3ff7fe26d 100644 --- a/tests/format/HexLiteral/__snapshots__/format.test.js.snap +++ b/tests/format/HexLiteral/__snapshots__/format.test.js.snap @@ -8,7 +8,7 @@ singleQuote: false | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract HexLiteral { bytes8 hex1 = hex'DeadBeef'; @@ -17,7 +17,7 @@ contract HexLiteral { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract HexLiteral { bytes8 hex1 = hex"DeadBeef"; @@ -35,7 +35,7 @@ singleQuote: true | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract HexLiteral { bytes8 hex1 = hex'DeadBeef'; @@ -44,7 +44,7 @@ contract HexLiteral { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract HexLiteral { bytes8 hex1 = hex'DeadBeef'; diff --git a/tests/format/ModifierInvocations/ModifierInvocations.sol b/tests/format/ModifierInvocations/ModifierInvocations.sol index c009e6eb3..bc181656a 100644 --- a/tests/format/ModifierInvocations/ModifierInvocations.sol +++ b/tests/format/ModifierInvocations/ModifierInvocations.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ModifierDefinitions { // We enforce the use of parentheses in modifiers without parameters. diff --git a/tests/format/ModifierInvocations/__snapshots__/format.test.js.snap b/tests/format/ModifierInvocations/__snapshots__/format.test.js.snap index 3e807f267..333fbcd3b 100644 --- a/tests/format/ModifierInvocations/__snapshots__/format.test.js.snap +++ b/tests/format/ModifierInvocations/__snapshots__/format.test.js.snap @@ -7,7 +7,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ModifierDefinitions { // We enforce the use of parentheses in modifiers without parameters. @@ -26,7 +26,7 @@ contract ModifierInvocations is ModifierDefinitions { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ModifierDefinitions { // We enforce the use of parentheses in modifiers without parameters. diff --git a/tests/format/NumberLiteral/NumberLiteral.sol b/tests/format/NumberLiteral/NumberLiteral.sol index 81859b93f..02750277c 100644 --- a/tests/format/NumberLiteral/NumberLiteral.sol +++ b/tests/format/NumberLiteral/NumberLiteral.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract NumberLiteral { function numbers()public { diff --git a/tests/format/NumberLiteral/__snapshots__/format.test.js.snap b/tests/format/NumberLiteral/__snapshots__/format.test.js.snap index 59feae30c..fb57798b9 100644 --- a/tests/format/NumberLiteral/__snapshots__/format.test.js.snap +++ b/tests/format/NumberLiteral/__snapshots__/format.test.js.snap @@ -7,7 +7,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract NumberLiteral { function numbers()public { @@ -22,7 +22,7 @@ contract NumberLiteral { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract NumberLiteral { function numbers() public { diff --git a/tests/format/Parentheses/AddNoParentheses.sol b/tests/format/Parentheses/AddNoParentheses.sol index 865333602..5d44a62ea 100644 --- a/tests/format/Parentheses/AddNoParentheses.sol +++ b/tests/format/Parentheses/AddNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract AddNoParentheses { function addAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/BitAndNoParentheses.sol b/tests/format/Parentheses/BitAndNoParentheses.sol index a8af91d77..ea1b5218d 100644 --- a/tests/format/Parentheses/BitAndNoParentheses.sol +++ b/tests/format/Parentheses/BitAndNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitAndNoParentheses { function bitAndAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/BitOrNoParentheses.sol b/tests/format/Parentheses/BitOrNoParentheses.sol index 3c6e44868..746fc0b21 100644 --- a/tests/format/Parentheses/BitOrNoParentheses.sol +++ b/tests/format/Parentheses/BitOrNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitOrNoParentheses { function bitOrAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/BitXorNoParentheses.sol b/tests/format/Parentheses/BitXorNoParentheses.sol index 0a8c7f9fb..f85e613e6 100644 --- a/tests/format/Parentheses/BitXorNoParentheses.sol +++ b/tests/format/Parentheses/BitXorNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitXorNoParentheses { function bitXorAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/DivNoParentheses.sol b/tests/format/Parentheses/DivNoParentheses.sol index 0d7379adc..d9bdfca00 100644 --- a/tests/format/Parentheses/DivNoParentheses.sol +++ b/tests/format/Parentheses/DivNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract DivNoParentheses { function divAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/ExpNoParentheses.sol b/tests/format/Parentheses/ExpNoParentheses.sol index 5bc590733..bff42412a 100644 --- a/tests/format/Parentheses/ExpNoParentheses.sol +++ b/tests/format/Parentheses/ExpNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ExpNoParentheses { function expAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/LogicNoParentheses.sol b/tests/format/Parentheses/LogicNoParentheses.sol index d1fc49232..34a5ba81a 100644 --- a/tests/format/Parentheses/LogicNoParentheses.sol +++ b/tests/format/Parentheses/LogicNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract LogicNoParentheses { function orOr(bool a, bool b, bool c) public pure returns (bool) { diff --git a/tests/format/Parentheses/ModNoParentheses.sol b/tests/format/Parentheses/ModNoParentheses.sol index 572bd880c..8a549e8ab 100644 --- a/tests/format/Parentheses/ModNoParentheses.sol +++ b/tests/format/Parentheses/ModNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ModNoParentheses { function modAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/MulNoParentheses.sol b/tests/format/Parentheses/MulNoParentheses.sol index bc304a366..3e08ef1ee 100644 --- a/tests/format/Parentheses/MulNoParentheses.sol +++ b/tests/format/Parentheses/MulNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract MulNoParentheses { function mulAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/ShiftLNoParentheses.sol b/tests/format/Parentheses/ShiftLNoParentheses.sol index 06b4e3eb5..6b7b45a73 100644 --- a/tests/format/Parentheses/ShiftLNoParentheses.sol +++ b/tests/format/Parentheses/ShiftLNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ShiftLNoParentheses { function shiftLAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/ShiftRNoParentheses.sol b/tests/format/Parentheses/ShiftRNoParentheses.sol index e028f9ceb..73c03fcf3 100644 --- a/tests/format/Parentheses/ShiftRNoParentheses.sol +++ b/tests/format/Parentheses/ShiftRNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ShiftRNoParentheses { function shiftRAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/SubNoParentheses.sol b/tests/format/Parentheses/SubNoParentheses.sol index ff4bd0f61..bf6efa405 100644 --- a/tests/format/Parentheses/SubNoParentheses.sol +++ b/tests/format/Parentheses/SubNoParentheses.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract SubNoParentheses { function subAdd(uint256 a, uint256 b, uint256 c) diff --git a/tests/format/Parentheses/__snapshots__/format.test.js.snap b/tests/format/Parentheses/__snapshots__/format.test.js.snap index 205d3bd39..8b4937243 100644 --- a/tests/format/Parentheses/__snapshots__/format.test.js.snap +++ b/tests/format/Parentheses/__snapshots__/format.test.js.snap @@ -7,7 +7,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract AddNoParentheses { function addAdd(uint256 a, uint256 b, uint256 c) @@ -101,7 +101,7 @@ contract AddNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract AddNoParentheses { function addAdd( @@ -203,7 +203,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitAndNoParentheses { function bitAndAdd(uint256 a, uint256 b, uint256 c) @@ -297,7 +297,7 @@ contract BitAndNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitAndNoParentheses { function bitAndAdd( @@ -399,7 +399,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitOrNoParentheses { function bitOrAdd(uint256 a, uint256 b, uint256 c) @@ -493,7 +493,7 @@ contract BitOrNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitOrNoParentheses { function bitOrAdd( @@ -595,7 +595,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitXorNoParentheses { function bitXorAdd(uint256 a, uint256 b, uint256 c) @@ -689,7 +689,7 @@ contract BitXorNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract BitXorNoParentheses { function bitXorAdd( @@ -791,7 +791,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract DivNoParentheses { function divAdd(uint256 a, uint256 b, uint256 c) @@ -885,7 +885,7 @@ contract DivNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract DivNoParentheses { function divAdd( @@ -1210,7 +1210,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ExpNoParentheses { function expAdd(uint256 a, uint256 b, uint256 c) @@ -1304,7 +1304,7 @@ contract ExpNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ExpNoParentheses { function expAdd( @@ -1406,7 +1406,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract LogicNoParentheses { function orOr(bool a, bool b, bool c) public pure returns (bool) { @@ -1444,7 +1444,7 @@ contract LogicNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract LogicNoParentheses { function orOr(bool a, bool b, bool c) public pure returns (bool) { @@ -1494,7 +1494,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ModNoParentheses { function modAdd(uint256 a, uint256 b, uint256 c) @@ -1588,7 +1588,7 @@ contract ModNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ModNoParentheses { function modAdd( @@ -1690,7 +1690,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract MulNoParentheses { function mulAdd(uint256 a, uint256 b, uint256 c) @@ -1784,7 +1784,7 @@ contract MulNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract MulNoParentheses { function mulAdd( @@ -2109,7 +2109,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ShiftLNoParentheses { function shiftLAdd(uint256 a, uint256 b, uint256 c) @@ -2203,7 +2203,7 @@ contract ShiftLNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ShiftLNoParentheses { function shiftLAdd( @@ -2305,7 +2305,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ShiftRNoParentheses { function shiftRAdd(uint256 a, uint256 b, uint256 c) @@ -2399,7 +2399,7 @@ contract ShiftRNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract ShiftRNoParentheses { function shiftRAdd( @@ -2501,7 +2501,7 @@ printWidth: 80 | printWidth =====================================input====================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract SubNoParentheses { function subAdd(uint256 a, uint256 b, uint256 c) @@ -2595,7 +2595,7 @@ contract SubNoParentheses { =====================================output===================================== // SPDX-License-Identifier: MIT -pragma solidity 0.8.32; +pragma solidity 0.8.33; contract SubNoParentheses { function subAdd(