Skip to content

Commit

Permalink
Feature: Update dependencies to the latest versions (#405)
Browse files Browse the repository at this point in the history
Upgrade all the dependencies to the latest versions, except `eslint`
since v8 is required by the `@typescript/eslint-parser`

I did not update the benchmark suite because many dependencies there do
not follow semver + I'm unfamiliar with the project
  • Loading branch information
mmv08 authored Apr 30, 2024
1 parent 47a6236 commit fa8b3e1
Show file tree
Hide file tree
Showing 9 changed files with 825 additions and 963 deletions.
10 changes: 5 additions & 5 deletions examples/4337-passkeys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"@safe-global/safe-passkey": "0.2.0-alpha.1",
"@web3modal/ethers": "^4.1.11",
"ethers": "^6.12.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3"
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.0"
},
"devDependencies": {
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"typescript": "^5.4.5",
"vite": "^5.2.10",
Expand Down
16 changes: 8 additions & 8 deletions modules/4337/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,27 @@
"@openzeppelin/contracts": "^5.0.2",
"@safe-global/safe-4337-local-bundler": "^0.0.0",
"@safe-global/safe-4337-provider": "^0.0.0",
"@simplewebauthn/server": "9.0.3",
"@simplewebauthn/server": "10.0.0",
"@types/chai": "^4.3.14",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.30",
"@types/node": "^20.12.7",
"@types/yargs": "^17.0.32",
"cbor": "^9.0.2",
"debug": "^4.3.4",
"dotenv": "^16.4.5",
"ethers": "^6.11.1",
"hardhat": "^2.22.2",
"hardhat-deploy": "^0.12.2",
"ethers": "^6.12.0",
"hardhat": "^2.22.3",
"hardhat-deploy": "^0.12.4",
"husky": "^9.0.11",
"solc": "^0.8.25",
"solhint": "^4.5.2",
"solhint": "^4.5.4",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"typescript": "^5.4.5",
"yargs": "^17.7.2"
},
"overrides": {
"@safe-global/safe-contracts": {
"ethers": "^6.11.1"
"ethers": "^6.12.0"
}
},
"dependencies": {
Expand Down
27 changes: 11 additions & 16 deletions modules/allowances/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,24 @@
"author": "[email protected]",
"license": "ISC",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "2.0.6",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.5",
"@openzeppelin/contracts": "^5.0.2",
"@safe-global/safe-deployments": "^1.34.0",
"@safe-global/safe-singleton-factory": "^1.0.21",
"@safe-global/safe-deployments": "^1.35.0",
"@safe-global/safe-singleton-factory": "^1.0.24",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"chai": "^4.2.0",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"dotenv": "^16.4.5",
"ethers": "^6.11.1",
"hardhat": "^2.22.2",
"hardhat-deploy": "^0.12.2",
"solhint": "4.5.2",
"solidity-coverage": "^0.8.11",
"ethers": "^6.12.0",
"hardhat": "^2.22.3",
"hardhat-deploy": "^0.12.4",
"solhint": "4.5.4",
"solidity-coverage": "^0.8.12",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "5.4.3"
"typescript": "5.4.5"
}
}
8 changes: 4 additions & 4 deletions modules/passkey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
"@safe-global/mock-contract": "^4.1.0",
"@safe-global/safe-4337": "^0.3.0",
"@safe-global/safe-4337-local-bundler": "^0.0.0",
"@simplewebauthn/server": "^9.0.3",
"@simplewebauthn/server": "^10.0.0",
"dotenv": "^16.4.5",
"hardhat": "^2.22.2",
"hardhat-deploy": "^0.12.2",
"solhint": "^4.5.2"
"hardhat": "^2.22.3",
"hardhat-deploy": "^0.12.4",
"solhint": "^4.5.4"
},
"overrides": {
"@safe-global/safe-contracts": {
Expand Down
4 changes: 2 additions & 2 deletions modules/passkey/test/webauthn/WebAuthnShim.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('WebAuthn Shim', () => {
const options = await generateRegistrationOptions({
rpName: rp.name,
rpID: rp.id,
userID: base64UrlEncode(user.id),
userID: user.id,
userName: user.name,
userDisplayName: user.displayName,
attestationType: 'none',
Expand Down Expand Up @@ -128,7 +128,7 @@ describe('WebAuthn Shim', () => {
expectedRPID: rp.id,
authenticator: {
credentialPublicKey,
credentialID: new Uint8Array(credential.rawId),
credentialID: credential.rawId.toString(),
counter: 0,
},
requireUserVerification: false,
Expand Down
Loading

0 comments on commit fa8b3e1

Please sign in to comment.