From a24b486c3f41dd6f9f25008c42d2c5a093857f56 Mon Sep 17 00:00:00 2001 From: Nikita Kolmogorov Date: Tue, 27 Sep 2022 10:11:28 -0700 Subject: [PATCH] bump dependencies --- .solhintignore | 1 + contracts/SCPostStorage.sol | 2 +- contracts/interfaces/ILedger.sol | 2 +- contracts/libraries/Strings.sol | 2 +- contracts/models/Post.sol | 2 +- hardhat.config.ts | 2 +- package.json | 11 +- yarn.lock | 219 ++++++++++--------------------- 8 files changed, 83 insertions(+), 158 deletions(-) diff --git a/.solhintignore b/.solhintignore index 3c3629e..c7aec64 100644 --- a/.solhintignore +++ b/.solhintignore @@ -1 +1,2 @@ node_modules +contracts/libraries/Strings.sol \ No newline at end of file diff --git a/contracts/SCPostStorage.sol b/contracts/SCPostStorage.sol index f8b6598..8655566 100644 --- a/contracts/SCPostStorage.sol +++ b/contracts/SCPostStorage.sol @@ -57,7 +57,7 @@ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.16; +pragma solidity ^0.8.17; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; diff --git a/contracts/interfaces/ILedger.sol b/contracts/interfaces/ILedger.sol index b50468b..5991ae2 100644 --- a/contracts/interfaces/ILedger.sol +++ b/contracts/interfaces/ILedger.sol @@ -57,7 +57,7 @@ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.16; +pragma solidity ^0.8.17; interface ILedger { function getDerivative(string memory original) diff --git a/contracts/libraries/Strings.sol b/contracts/libraries/Strings.sol index b56764d..ae0a124 100644 --- a/contracts/libraries/Strings.sol +++ b/contracts/libraries/Strings.sol @@ -36,7 +36,7 @@ * corresponding to the left and right parts of the string. */ -pragma solidity ^0.8.16; +pragma solidity ^0.8.17; library strings { struct slice { diff --git a/contracts/models/Post.sol b/contracts/models/Post.sol index 2010c41..d485ee1 100644 --- a/contracts/models/Post.sol +++ b/contracts/models/Post.sol @@ -57,7 +57,7 @@ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.16; +pragma solidity ^0.8.17; struct Post { uint256 id; diff --git a/hardhat.config.ts b/hardhat.config.ts index fe60cf9..d9ef9f3 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -28,7 +28,7 @@ const { const config: HardhatUserConfig = { solidity: { - version: '0.8.16', + version: '0.8.17', settings: { optimizer: { enabled: true, diff --git a/package.json b/package.json index e579707..731d861 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "prepublishOnly": "yarn build && yarn tsc" }, "devDependencies": { - "@big-whale-labs/constants": "^0.1.30", + "@big-whale-labs/constants": "^0.1.33", "@big-whale-labs/versioned-contract": "^1.0.2", "@ethersproject/providers": "^5.7.1", "@nomiclabs/hardhat-ethers": "^2.1.1", @@ -43,18 +43,17 @@ "@typechain/hardhat": "^6.1.3", "@types/chai": "^4.3.3", "@types/mocha": "^9.1.1", - "@types/node": "^18.7.18", + "@types/node": "^18.7.23", "@types/prompt": "^1.1.3", - "@typescript-eslint/eslint-plugin": "^5.38.0", - "@typescript-eslint/parser": "^5.38.0", + "@typescript-eslint/eslint-plugin": "^5.38.1", + "@typescript-eslint/parser": "^5.38.1", "chai": "^4.3.6", "dotenv": "^16.0.2", "envalid": "^7.3.1", - "eslint": "^8.23.1", + "eslint": "^8.24.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard": "^17.0.0", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-n": "^15.2.5", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.0.1", diff --git a/yarn.lock b/yarn.lock index 2bb2e41..945005e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32,10 +32,10 @@ __metadata: languageName: node linkType: hard -"@big-whale-labs/constants@npm:^0.1.30": - version: 0.1.30 - resolution: "@big-whale-labs/constants@npm:0.1.30" - checksum: 96e126edae6fe400386ae15465fe09aad4c4a1c11ebb360e840eb989ebaeec66ecda029cea950d6d57643c519ceb20239d28be74d6951b79cc22f60727947b5a +"@big-whale-labs/constants@npm:^0.1.33": + version: 0.1.33 + resolution: "@big-whale-labs/constants@npm:0.1.33" + checksum: 5f0827ec9804e3cc980634555711db448fc13b4cc7eeee676eea816eae68fa50fd7d5043b42b520d5939d41872cf844caaafd65d0e8c01a4137a61b304633002 languageName: node linkType: hard @@ -43,7 +43,7 @@ __metadata: version: 0.0.0-use.local resolution: "@big-whale-labs/seal-cred-posts-contract@workspace:." dependencies: - "@big-whale-labs/constants": ^0.1.30 + "@big-whale-labs/constants": ^0.1.33 "@big-whale-labs/versioned-contract": ^1.0.2 "@ethersproject/providers": ^5.7.1 "@nomiclabs/hardhat-ethers": ^2.1.1 @@ -55,18 +55,17 @@ __metadata: "@typechain/hardhat": ^6.1.3 "@types/chai": ^4.3.3 "@types/mocha": ^9.1.1 - "@types/node": ^18.7.18 + "@types/node": ^18.7.23 "@types/prompt": ^1.1.3 - "@typescript-eslint/eslint-plugin": ^5.38.0 - "@typescript-eslint/parser": ^5.38.0 + "@typescript-eslint/eslint-plugin": ^5.38.1 + "@typescript-eslint/parser": ^5.38.1 chai: ^4.3.6 dotenv: ^16.0.2 envalid: ^7.3.1 - eslint: ^8.23.1 + eslint: ^8.24.0 eslint-config-prettier: ^8.5.0 eslint-config-standard: ^17.0.0 eslint-plugin-import: ^2.26.0 - eslint-plugin-n: ^15.2.5 eslint-plugin-node: ^11.1.0 eslint-plugin-prettier: ^4.2.1 eslint-plugin-promise: ^6.0.1 @@ -1058,14 +1057,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.10.4": - version: 0.10.4 - resolution: "@humanwhocodes/config-array@npm:0.10.4" +"@humanwhocodes/config-array@npm:^0.10.5": + version: 0.10.5 + resolution: "@humanwhocodes/config-array@npm:0.10.5" dependencies: "@humanwhocodes/object-schema": ^1.2.1 debug: ^4.1.1 minimatch: ^3.0.4 - checksum: d480e5d57e6d787565b6cff78e27c3d1b380692d4ffb0ada7d7f5957a56c9032f034da05a3e443065dbd0671ebf4d859036ced34e96b325bbc1badbae3c05300 + checksum: af4fa2633c57414be22ddba0a072cc611ef9a07104542fa24bde918a0153b89b6e08ca6a20ccc9079de6079e219e2406e38414d1b662db8bb59a3ba9d6eee6e3 languageName: node linkType: hard @@ -2021,10 +2020,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.7.18": - version: 18.7.18 - resolution: "@types/node@npm:18.7.18" - checksum: 8aec61f0f96e2a69ce51f1f40f949ca578bbb4fe05d7c0b8ce3aeeb848e90f755837f17f6ac132ca404d974fe9b2974150ad3b4984fc9dc7c3ceddb10bae0167 +"@types/node@npm:^18.7.23": + version: 18.7.23 + resolution: "@types/node@npm:18.7.23" + checksum: 2c8df0830d8345e5cd1ca17feb9cf43fa667aae749888e0a068c5c1b35eaedd2f9b24ed987a0758078395edf7a03681e5e0b7790a518ff7afe1ff6d8459f7b4a languageName: node linkType: hard @@ -2159,13 +2158,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.38.0" +"@typescript-eslint/eslint-plugin@npm:^5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/eslint-plugin@npm:5.38.1" dependencies: - "@typescript-eslint/scope-manager": 5.38.0 - "@typescript-eslint/type-utils": 5.38.0 - "@typescript-eslint/utils": 5.38.0 + "@typescript-eslint/scope-manager": 5.38.1 + "@typescript-eslint/type-utils": 5.38.1 + "@typescript-eslint/utils": 5.38.1 debug: ^4.3.4 ignore: ^5.2.0 regexpp: ^3.2.0 @@ -2177,43 +2176,43 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: e9cd1970c7c8a438aee912cf00aa27bdcde0a0fb57bbfe70eccda93eefa5b4fb4c7ebf5ba7a51744c1ec2b4df3a72b8dcd19dc17a9c3e4e3435f631ac6b10a6a + checksum: a8895588022f75b2bf994ce52f7109d8814e0f5b3bef0d4fac19dc86a926202ca204bfca8c0e5a033d7566bae90815a772b64bcdc61c349f47ddd52d91989de5 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/parser@npm:5.38.0" +"@typescript-eslint/parser@npm:^5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/parser@npm:5.38.1" dependencies: - "@typescript-eslint/scope-manager": 5.38.0 - "@typescript-eslint/types": 5.38.0 - "@typescript-eslint/typescript-estree": 5.38.0 + "@typescript-eslint/scope-manager": 5.38.1 + "@typescript-eslint/types": 5.38.1 + "@typescript-eslint/typescript-estree": 5.38.1 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: d5fb2d8f3a25cd6ff31326c665db4617f2d428247cad690f0404de440abbcfc7261528f54d642d2b121aae34aadecb55a24b72c8ef341cafdc7b2bbcbf7dae8d + checksum: 3f84b33d598d9acef99f087bdfe319e74f838d3442d6a15f2498f077a1473f124e3ec6698dbb256f56c51ce38abd91c0ffb90f0856989309e28c43e005d99215 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/scope-manager@npm:5.38.0" +"@typescript-eslint/scope-manager@npm:5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/scope-manager@npm:5.38.1" dependencies: - "@typescript-eslint/types": 5.38.0 - "@typescript-eslint/visitor-keys": 5.38.0 - checksum: a34d2976e9c755b853b6524e0b9fb1da237340ddff9f6839a51ba37998527c02d0f2f16ffc3d4baa47898f2bb7eb85a6749d6ca588c0461dbd654d8f9925dd0f + "@typescript-eslint/types": 5.38.1 + "@typescript-eslint/visitor-keys": 5.38.1 + checksum: c3b38ca0074d09e26c30b4385c18933f8a6418c923a24c7f4c2297af60a85d604320f119863676f49ea4254b3c01c112504547436eda4951ade609e8d7f438a7 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/type-utils@npm:5.38.0" +"@typescript-eslint/type-utils@npm:5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/type-utils@npm:5.38.1" dependencies: - "@typescript-eslint/typescript-estree": 5.38.0 - "@typescript-eslint/utils": 5.38.0 + "@typescript-eslint/typescript-estree": 5.38.1 + "@typescript-eslint/utils": 5.38.1 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -2221,23 +2220,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 43f2f55329b2357bedf158a93a469d058a11c69f8f88ff891080b8cb5977bffe8d679923bce7048cbc076c083e0f5741c83b761355309d606cc4e217e1da4208 + checksum: 1e5fbb5cd2cd97d8d6aaf6b0d1262517e74aba006ffc61526528352a8ab99205456d6247da8252388e868ed7ee8f6c2fa8e108dad68b696cbdbcef6473579173 languageName: node linkType: hard -"@typescript-eslint/types@npm:5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/types@npm:5.38.0" - checksum: 03aec1de64417e60830c6d33bb4f1bf4402411080371013513f55c7a2fadb6f8745a89a7604cde03d89aa53307f94bc913060c5897ed93285247e4c39af43a00 +"@typescript-eslint/types@npm:5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/types@npm:5.38.1" + checksum: 384f7fe9a1995d87507049a868aa1a1f9eb28af913e704540e1494c8c630985f9ef4f4e6bdd4df0d83cbe4611c4e6f4f07d5d91bfa57c88242fb227a6d828b7e languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.38.0" +"@typescript-eslint/typescript-estree@npm:5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/typescript-estree@npm:5.38.1" dependencies: - "@typescript-eslint/types": 5.38.0 - "@typescript-eslint/visitor-keys": 5.38.0 + "@typescript-eslint/types": 5.38.1 + "@typescript-eslint/visitor-keys": 5.38.1 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -2246,33 +2245,33 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 174461c91e49a0340945da2d31e38ec175cd90b2b5068f3c925518cc9182100fe1435d3225908a52f62257e97bc2b995cbc6b6bd1b7143ff0a0e4b483bd70834 + checksum: ec73496f73bd7f97d1585d25484874f092141a5f92ade7bd324fb76ef52888f0d77cc4375bdecc92cc3bacf5d61d65197acbb9af4fd9322b51db286c68a320c6 languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/utils@npm:5.38.0" +"@typescript-eslint/utils@npm:5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/utils@npm:5.38.1" dependencies: "@types/json-schema": ^7.0.9 - "@typescript-eslint/scope-manager": 5.38.0 - "@typescript-eslint/types": 5.38.0 - "@typescript-eslint/typescript-estree": 5.38.0 + "@typescript-eslint/scope-manager": 5.38.1 + "@typescript-eslint/types": 5.38.1 + "@typescript-eslint/typescript-estree": 5.38.1 eslint-scope: ^5.1.1 eslint-utils: ^3.0.0 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: c927a68d4ff5029ed3dbc7e6e87702f7cdfba26452ccf401b37cc68f6e5cca72eb884831dbc7957512998d59950b1852b2ecea19f174a20fe659d851b4afd4fd + checksum: 06646ddeb6c1a5dac01e8336dff458cf37dff0d3d5a2f304048a4d6d8f62d504c5330a8b046ec66f6777f324bc1afe6a3f7ea1c5b015b123ab7062e8e22aff67 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.38.0": - version: 5.38.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.38.0" +"@typescript-eslint/visitor-keys@npm:5.38.1": + version: 5.38.1 + resolution: "@typescript-eslint/visitor-keys@npm:5.38.1" dependencies: - "@typescript-eslint/types": 5.38.0 + "@typescript-eslint/types": 5.38.1 eslint-visitor-keys: ^3.3.0 - checksum: cc3d0c6eb0c9a20a25d66b640d759cb1b52f8df485f16d948218d63d798b5c0672ef298f5dae5e5327ec021c0f8369d1da5d26b9c16a245a20fa44a9365956bc + checksum: 01c83a42900f8ab721bd0857abcc000a15183eb26d2d61cceeaef018a83a91325f48c0112d4356383c41dce23174a305bb3352af4705a61d1da46f8ac0e88340 languageName: node linkType: hard @@ -4027,15 +4026,6 @@ __metadata: languageName: node linkType: hard -"builtins@npm:^5.0.1": - version: 5.0.1 - resolution: "builtins@npm:5.0.1" - dependencies: - semver: ^7.0.0 - checksum: 66d204657fe36522822a95b288943ad11b58f5eaede235b11d8c4edaa28ce4800087d44a2681524c340494aadb120a0068011acabe99d30e8f11a7d826d83515 - languageName: node - linkType: hard - "bytes@npm:3.1.2": version: 3.1.2 resolution: "bytes@npm:3.1.2" @@ -5870,18 +5860,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-es@npm:^4.1.0": - version: 4.1.0 - resolution: "eslint-plugin-es@npm:4.1.0" - dependencies: - eslint-utils: ^2.0.0 - regexpp: ^3.0.0 - peerDependencies: - eslint: ">=4.19.1" - checksum: 26b87a216d3625612b1d3ca8653ac8a1d261046d2a973bb0eb2759070267d2bfb0509051facdeb5ae03dc8dfb51a434be23aff7309a752ca901d637da535677f - languageName: node - linkType: hard - "eslint-plugin-import@npm:^2.26.0": version: 2.26.0 resolution: "eslint-plugin-import@npm:2.26.0" @@ -5905,24 +5883,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-n@npm:^15.2.5": - version: 15.2.5 - resolution: "eslint-plugin-n@npm:15.2.5" - dependencies: - builtins: ^5.0.1 - eslint-plugin-es: ^4.1.0 - eslint-utils: ^3.0.0 - ignore: ^5.1.1 - is-core-module: ^2.10.0 - minimatch: ^3.1.2 - resolve: ^1.22.1 - semver: ^7.3.7 - peerDependencies: - eslint: ">=7.0.0" - checksum: 3be265957b3dda6a049841803335c17689cf98a4b3859eeed3e57b44850b241e7d20640890b2dea7e83816c938fc16274bf78d370f571e211d00d9a3c513f281 - languageName: node - linkType: hard - "eslint-plugin-node@npm:^11.1.0": version: 11.1.0 resolution: "eslint-plugin-node@npm:11.1.0" @@ -6098,12 +6058,12 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.23.1": - version: 8.23.1 - resolution: "eslint@npm:8.23.1" +"eslint@npm:^8.24.0": + version: 8.24.0 + resolution: "eslint@npm:8.24.0" dependencies: "@eslint/eslintrc": ^1.3.2 - "@humanwhocodes/config-array": ^0.10.4 + "@humanwhocodes/config-array": ^0.10.5 "@humanwhocodes/gitignore-to-minimatch": ^1.0.2 "@humanwhocodes/module-importer": ^1.0.1 ajv: ^6.10.0 @@ -6143,7 +6103,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: a727e15492786a03b438bcf021db49f715680679846a7b8d79b98ad34576f2a570404ffe882d3c3e26f6359bff7277ef11fae5614bfe8629adb653f20d018c71 + checksum: ca293ce7116599b742d7ab4d43db469beec22f40dd272092d809498be3cff3a7c567769f9763bdf6799aac13dd53447b93a99629b7b54092783046eb57eaced6 languageName: node linkType: hard @@ -8902,16 +8862,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.10.0": - version: 2.10.0 - resolution: "is-core-module@npm:2.10.0" - dependencies: - has: ^1.0.3 - checksum: 0f3f77811f430af3256fa7bbc806f9639534b140f8ee69476f632c3e1eb4e28a38be0b9d1b8ecf596179c841b53576129279df95e7051d694dac4ceb6f967593 - languageName: node - linkType: hard - -"is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": +"is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1": version: 2.9.0 resolution: "is-core-module@npm:2.9.0" dependencies: @@ -13149,19 +13100,6 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.22.1": - version: 1.22.1 - resolution: "resolve@npm:1.22.1" - dependencies: - is-core-module: ^2.9.0 - path-parse: ^1.0.7 - supports-preserve-symlinks-flag: ^1.0.0 - bin: - resolve: bin/resolve - checksum: 07af5fc1e81aa1d866cbc9e9460fbb67318a10fa3c4deadc35c3ad8a898ee9a71a86a65e4755ac3195e0ea0cfbe201eb323ebe655ce90526fd61917313a34e4e - languageName: node - linkType: hard - "resolve@patch:resolve@1.1.x#~builtin": version: 1.1.7 resolution: "resolve@patch:resolve@npm%3A1.1.7#~builtin::version=1.1.7&hash=07638b" @@ -13191,19 +13129,6 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.22.1#~builtin": - version: 1.22.1 - resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=07638b" - dependencies: - is-core-module: ^2.9.0 - path-parse: ^1.0.7 - supports-preserve-symlinks-flag: ^1.0.0 - bin: - resolve: bin/resolve - checksum: 5656f4d0bedcf8eb52685c1abdf8fbe73a1603bb1160a24d716e27a57f6cecbe2432ff9c89c2bd57542c3a7b9d14b1882b73bfe2e9d7849c9a4c0b8b39f02b8b - languageName: node - linkType: hard - "responselike@npm:^1.0.2": version: 1.0.2 resolution: "responselike@npm:1.0.2" @@ -13520,7 +13445,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.0.0, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7": +"semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7": version: 7.3.7 resolution: "semver@npm:7.3.7" dependencies: