Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmp authored Jul 6, 2023
2 parents d276969 + 2aae4f1 commit 920e07f
Show file tree
Hide file tree
Showing 8 changed files with 2,069 additions and 1,629 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- ubuntu-latest
- macOS-latest
node_version:
- 14
- 16
- 18

steps:
- uses: actions/checkout@v2
Expand All @@ -28,7 +28,8 @@ jobs:
node-version: ${{ matrix.node_version }}
cache: 'yarn'

- run: yarn
# ensure the lockfile is in sync with the specified dependencies
- run: yarn install --frozen-lockfile

- run: yarn build

Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/snyk_sca_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Snyk Code Security

on:
pull_request:
branches:
- '**'
push:
branches:
- main
paths-ignore:
- '**/*.md'

jobs:
open-source:
name: '🔒 Open Source Scan'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk test to check for known vulnerabilities in software supply chain
uses: snyk/actions/node@0e928f3e9ae859e2b95ac2b89af55d7b6434244d
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
with:
command: test
# include devDependencies to deps list for Snyk dep-graph
args: --dev --severity-threshold=medium

- name: Run Snyk monitor to upload the latest snapshot
uses: snyk/actions/node@0e928f3e9ae859e2b95ac2b89af55d7b6434244d
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
with:
command: monitor
# include devDependencies to deps list for Snyk dep-graph
args: --dev --severity-threshold=medium
8 changes: 8 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.0
ignore: {}
patch: {}
exclude:
global:
- packages/**
- examples/**
6 changes: 3 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "8.2.7",
"version": "8.2.9",
"name": "example",
"scripts": {
"start": "next dev"
Expand All @@ -14,13 +14,13 @@
"@web3-react/core": "^8.2.0",
"@web3-react/eip1193": "^8.2.0",
"@web3-react/empty": "^8.2.0",
"@web3-react/gnosis-safe": "^8.2.0",
"@web3-react/gnosis-safe": "^8.2.1",
"@web3-react/metamask": "^8.2.1",
"@web3-react/network": "^8.2.0",
"@web3-react/types": "^8.2.0",
"@web3-react/url": "^8.2.0",
"@web3-react/walletconnect": "^8.2.0",
"@web3-react/walletconnect-v2": "^8.3.5",
"@web3-react/walletconnect-v2": "^8.3.7",
"next": "^12.1.5",
"react-dom": "^18.0.0"
}
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "web3-react",
"engines": {
"node": "^14 || ^16"
"node": "^16 || ^18"
},
"scripts": {
"clean": "lerna clean --yes",
Expand All @@ -28,9 +28,8 @@
"@typescript-eslint/parser": "^5.19.0",
"@uniswap/eslint-config": "^1.1.1",
"eslint": "^8.13.0",
"eth-provider": "^0.9.4",
"jest": "^27.5.1",
"lerna": "^4.0.0",
"lerna": "^5",
"react": "^18.0.0",
"react-test-renderer": "^18.0.0",
"ts-jest": "^27.1.4",
Expand Down
6 changes: 3 additions & 3 deletions packages/gnosis-safe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"publishConfig": {
"access": "public"
},
"version": "8.2.0",
"version": "8.2.1",
"files": [
"dist/*"
],
Expand All @@ -24,8 +24,8 @@
"start": "tsc --watch"
},
"dependencies": {
"@safe-global/safe-apps-provider": "^0.16.0",
"@safe-global/safe-apps-sdk": "^7.10.0",
"@safe-global/safe-apps-provider": "^0.17.1",
"@safe-global/safe-apps-sdk": "^8.0.0",
"@web3-react/types": "^8.2.0"
}
}
6 changes: 3 additions & 3 deletions packages/walletconnect-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"publishConfig": {
"access": "public"
},
"version": "8.3.5",
"version": "8.3.7",
"files": [
"dist/*"
],
Expand All @@ -24,8 +24,8 @@
"start": "tsc --watch"
},
"dependencies": {
"@walletconnect/ethereum-provider": "^2.8.3",
"@walletconnect/modal": "^2.4.5",
"@walletconnect/ethereum-provider": "^2.8.6",
"@walletconnect/modal": "^2.5.9",
"@web3-react/types": "^8.2.0",
"eventemitter3": "^4.0.7"
},
Expand Down
Loading

0 comments on commit 920e07f

Please sign in to comment.