-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency cross-fetch to v3.1.5 [SECURITY] (#168)
* move dev-utils from monorepo back into this repo. it makes more sense here after all fix not being able to run yarn build from local packages * upgrade to final 1.x web3 release ever * its highly recommended to use example.com for examples and tests as is reserved by IANA exactly for that * Update dependency cross-fetch to v3.1.5 [SECURITY] Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * test failing but good progress * ge vs code debugger working again * move dev-utils from monorepo back into this repo. it makes more sense here after all --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Aaron DeRuvo <[email protected]>
- Loading branch information
1 parent
5335af5
commit c42682d
Showing
57 changed files
with
1,012 additions
and
490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@celo/dev-utils': patch | ||
--- | ||
|
||
Bump web3 to 1.10.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@celo/network-utils': patch | ||
'@celo/contractkit': patch | ||
'@celo/explorer': patch | ||
'@celo/celocli': patch | ||
--- | ||
|
||
Bump Cross Fetch to fix security vulnerability |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
'@celo/wallet-hsm-azure': patch | ||
'@celo/wallet-hsm-aws': patch | ||
'@celo/wallet-hsm-gcp': patch | ||
'@celo/wallet-ledger': patch | ||
'@celo/wallet-remote': patch | ||
'@celo/wallet-local': patch | ||
'@celo/wallet-base': patch | ||
'@celo/wallet-hsm': patch | ||
'@celo/wallet-rpc': patch | ||
'@celo/transactions-uri': patch | ||
'@celo/network-utils': patch | ||
'@celo/contractkit': patch | ||
'@celo/connect': patch | ||
'@celo/utils': patch | ||
'@celo/celocli': patch | ||
--- | ||
|
||
Bump web3-\* to 1.10.4 -- Some consumers may be forced to upgrade their web3 instance to the same version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: '../../.eslintrc.js', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# packages/dev-utils | ||
|
||
This is a `utils` package that is meant to be used as a devDependency. It's primary use case is to reuse the ganache setup currently present in `cli` and `contractkit`. Due to the way jest uses globalSetup, depending packages will still need to define their own setup/teardown files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "@celo/dev-utils", | ||
"version": "0.0.2", | ||
"description": "util package for celo packages that should only be a devDependency", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"author": "Celo", | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/celo-org/celo-monorepo/tree/master/packages/dev-utils", | ||
"repository": "https://github.com/celo-org/celo-monorepo/tree/master/packages/dev-utils", | ||
"keywords": [ | ||
"celo" | ||
], | ||
"files": [ | ||
"lib/*" | ||
], | ||
"scripts": { | ||
"build": "yarn run --top-level tsc -b .", | ||
"lint": "yarn run --top-level eslint -c .eslintrc.js ", | ||
"prepack": "yarn build" | ||
}, | ||
"dependencies": { | ||
"bignumber.js": "^9.0.0", | ||
"fs-extra": "^8.1.0", | ||
"ganache": "npm:@celo/[email protected]", | ||
"targz": "^1.0.1", | ||
"tmp": "^0.1.0", | ||
"web3": "1.10.4", | ||
"web3-core-helpers": "1.10.4" | ||
}, | ||
"devDependencies": { | ||
"@tsconfig/recommended": "^1.0.3", | ||
"@types/fs-extra": "^8.1.0", | ||
"@types/targz": "1.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=18.14.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export interface TestCase { | ||
label: string | ||
} | ||
|
||
export function describeEach<T extends TestCase>(testCases: T[], fn: (testCase: T) => void) { | ||
for (const testCase of testCases) { | ||
describe(testCase.label, () => fn(testCase)) | ||
} | ||
} |
Oops, something went wrong.