Skip to content

Commit

Permalink
fix: package.json & .snyk to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Aug 21, 2023
1 parent 9ae6749 commit d39a077
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- solium > lodash:
patched: '2023-08-21T02:29:23.814Z'
id: SNYK-JS-LODASH-567746
path: solium > lodash
16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"test": "truffle test",
"lint": "solium --dir ./contracts",
"prepublishOnly": "truffle compile && truffle networks --clean",
"pub": "npm run prepublishOnly && npm publish"
"pub": "npm run prepublishOnly && npm publish",
"prepublish": "npm run snyk-protect",
"snyk-protect": "snyk-protect"
},
"main": "index.js",
"repository": {
Expand All @@ -23,13 +25,15 @@
"bluebird": "^3.5.2",
"eth-ens-namehash": "^2.0.8",
"solc": "^0.5.13",
"testrpc": "0.0.1"
"testrpc": "0.0.1",
"@snyk/protect": "latest"
},
"devDependencies": {
"@ensdomains/test-utils": "1.3.0",
"solidity-coverage": "^0.4.14",
"solidity-coverage": "^0.6.0",
"solium": "^1.0.4",
"web3-utils": "^1.3.0",
"truffle": "^5.1.62"
}
"web3-utils": "^1.3.6",
"truffle": "^5.6.7"
},
"snyk": true
}

0 comments on commit d39a077

Please sign in to comment.