Skip to content

Commit 7631aba

Browse files
authored
chore(deps): pro 72 chore solve critical and high dependency vulnerabilities from dependabot (#125)
* chore(deps): audit fix for all projects * chore(deps): update lodash to version 4.18.1 and add override in chains-config-checker * chore(deps): update axios to version 1.15.2 and serialize-javascript to version 7.0.5 - Bumped axios from 1.15.0 to 1.15.2 in package-lock.json. - Updated serialize-javascript from 6.0.2 to 7.0.5, adding a node engine requirement in package-lock.json. - Added axios version override in package.json to ensure compatibility. * chore(deps): update axios and serialize-javascript in wrapper registry - Updated axios to version 0.30.3 in package-lock.json, replacing the previous version 1.15.2. - Added version overrides for axios and serialize-javascript in package.json to ensure compatibility. - Removed outdated proxy-from-env version 2.1.0 and added version 1.1.0 for various dependencies in package-lock.json. * chore(deps): update serialize-javascript and add axios override in confidential-wrapper - Updated serialize-javascript to version 7.0.5 in package-lock.json, including a node engine requirement. - Added version override for axios in package.json to ensure compatibility with the updated dependencies. * chore(deps): update lodash to version 4.18.1 and serialize-javascript to version 7.0.5 with overrides - Updated lodash to version 4.18.1 in package-lock.json, including a version override in package.json. - Updated serialize-javascript to version 7.0.5 in package-lock.json, adding a node engine requirement and an override in package.json. * chore(deps): undo audit fix to OpenZeppelin contracts version overrides in governance - Removed outdated version overrides for @openzeppelin/contracts and @openzeppelin/contracts-upgradeable in both package.json and pnpm-lock.yaml. - Updated the version constraints for @openzeppelin/contracts and @openzeppelin/contracts-upgradeable to support versions ^4.8.1 and ^5.0.0, ensuring compatibility with the latest releases. * chore(deps): update package dependencies in safe - Removed "peer" flags from several dependencies in package-lock.json to streamline configuration. - Updated glob to version 10.5.0 in package.json and package-lock.json, ensuring compatibility with the latest features and security fixes. - Added version overrides for axios, ws, elliptic, lodash, serialize-javascript, and glob in package.json to maintain compatibility across the project. * chore(deps): update OpenZeppelin contracts version constraints in solanaOFT - Removed outdated version overrides for @openzeppelin/contracts and @openzeppelin/contracts-upgradeable in package.json and pnpm-lock.yaml. - Updated version constraints to support versions ^4.8.1 and ^5.0.0, ensuring compatibility with the latest releases. * chore(deps): update package-lock.json and package.json for staking - Added new dependency @isaacs/fs-minipass version 4.0.1 in package-lock.json. - Updated serialize-javascript to version 7.0.5 with a new node engine requirement in package-lock.json. - Updated tar to version 7.5.13 and adjusted its dependencies in package-lock.json. - Added version overrides for axios, ws, tar, and serialize-javascript in package.json to ensure compatibility across the project. * chore(deps): update OpenZeppelin contracts version constraints in token - Removed outdated version overrides for @openzeppelin/contracts and @openzeppelin/contracts-upgradeable in package.json and pnpm-lock.yaml. - Updated version constraints to support versions ^4.8.1 and ^5.0.0, ensuring compatibility with the latest releases. * chore(deps): add lodash version overrides for layerzerolabs SDKs in chains-config-checker - Introduced version overrides for lodash to ^4.18.1 specifically for @layerzerolabs/lz-solana-sdk-v2 and @layerzerolabs/oft-v2-solana-sdk in package.json, ensuring compatibility with these dependencies. * chore(deps): use package level overrides across multiple packages - Added version overrides for axios and serialize-javascript in package.json files for confidential-batcher, confidential-token-wrappers-registry, confidential-wrapper, and staking to ensure compatibility with updated dependencies. - Updated package-lock.json files to reflect the new axios version 0.31.1 and added proxy-from-env as a dependency in hardhat-deploy. - Ensured consistent axios and serialize-javascript versions across hardhat-related packages to maintain compatibility. * chore(deps): downgrade ws version in package-lock.json for compatibility - Changed ws version from 8.18.0 to 7.5.10 in package-lock.json to ensure compatibility with existing dependencies. - Updated node engine requirement for ws to >=8.3.0 and adjusted peer dependency for utf-8-validate to ^5.0.2. * chore(deps): add elliptic version override in staking package.json - Introduced a version override for elliptic to 6.6.1 in package.json to ensure compatibility with existing dependencies. * chore(deps): remove overrides from package.json in governance and solanaOFT - Eliminated unnecessary version overrides for various dependencies in package.json files for governance and solanaOFT, streamlining dependency management and ensuring compatibility with existing versions. * chore(deps): simplify pnpm overrides from audit fix * chore(deps): update dependabot configuration and mark repositories as deprecated - Added exclusion paths for `feesBurner` and `pauserSetWrapper` in the dependabot configuration to prevent updates. - Updated README files for `feesBurner` and `pauserSetWrapper` to indicate that these repositories are deprecated and no longer maintained. * chore(deps): update ws version in package-lock.json for safe and staking - Updated ws version from 7.5.10 to 8.17.1 in the safe package-lock.json for improved compatibility. - Downgraded ws version from 8.18.0 to 7.5.10 in the staking package-lock.json to maintain compatibility with existing dependencies. - Adjusted node engine requirements and peer dependencies accordingly. * fix: trigger ci * chore(deps): regen staking lock file * chore(deps): update undici version in package.json and pnpm-lock.yaml - Changed undici dependency version from <6.24.0 to ^6.24.0 in package.json files for governance and token. - Updated undici version from 8.1.0 to 6.25.0 in pnpm-lock.yaml files for governance and token to ensure compatibility with existing dependencies. * chore(ci): add Node.js setup step in GitHub Actions workflow for staking - Introduced a new step to set up Node.js version 20.x in the contracts-staking-hardhat-tests.yml workflow. - Configured caching for npm dependencies to optimize build times. * chore(deps): allow higher version ranges for tar and ws in staking * chore(deps): move ws and tar to top-level overrides in staking
1 parent d885e67 commit 7631aba

24 files changed

Lines changed: 4902 additions & 5108 deletions

File tree

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ updates:
1515
interval: "weekly"
1616
# Set to 0 to prevent version updates (i.e. require only security updates)
1717
open-pull-requests-limit: 0
18+
exclude-paths:
19+
- contracts/feesBurner/
20+
- contracts/pauserSetWrapper/

.github/workflows/contracts-staking-hardhat-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
with:
3030
persist-credentials: 'false'
3131

32+
- name: Setup Node
33+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
34+
with:
35+
node-version: 20.x
36+
cache: npm
37+
cache-dependency-path: contracts/staking/package-lock.json
38+
3239
- name: Install dependencies
3340
working-directory: contracts/staking
3441
run: npm ci

contracts/chains-config-checker/package-lock.json

Lines changed: 329 additions & 318 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/chains-config-checker/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
"ethers": "^6.0.0"
2929
},
3030
"overrides": {
31-
"@solana/web3.js": "~1.95.8"
31+
"@solana/web3.js": "~1.95.8",
32+
"@layerzerolabs/lz-solana-sdk-v2": {
33+
"lodash": "^4.18.1"
34+
},
35+
"@layerzerolabs/oft-v2-solana-sdk": {
36+
"lodash": "^4.18.1"
37+
}
3238
}
3339
}

contracts/confidential-batcher/package-lock.json

Lines changed: 32 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/confidential-batcher/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@
5555
"test:sepolia": "hardhat test --network sepolia"
5656
},
5757
"overrides": {
58-
"@fhevm/solidity": "^0.11.1"
58+
"@fhevm/solidity": "^0.11.1",
59+
"hardhat-deploy": {
60+
"axios": "^1.15.0"
61+
},
62+
"hardhat": {
63+
"serialize-javascript": "^7.0.3"
64+
},
65+
"mocha": {
66+
"serialize-javascript": "^7.0.3"
67+
},
68+
"solidity-coverage": {
69+
"serialize-javascript": "^7.0.3"
70+
}
5971
}
6072
}

0 commit comments

Comments
 (0)