Gathering detailed insights and metrics for @0x/dev-utils
Gathering detailed insights and metrics for @0x/dev-utils
Gathering detailed insights and metrics for @0x/dev-utils
Gathering detailed insights and metrics for @0x/dev-utils
npm install @0x/dev-utils
Typescript
Module System
Min. Node Version
Node Version
NPM Version
40.6
Supply Chain
82.9
Quality
74.4
Maintenance
50
Vulnerability
88.3
License
tools - bee0702
Published on 07 Apr 2023
tools - c33f74a
Published on 07 Apr 2023
tools - 8c79268
Published on 26 Jan 2023
tools - 38f717a
Published on 13 Oct 2022
tools - aad2bd4
Published on 18 Aug 2022
tools - 0787b82
Published on 16 Mar 2022
TypeScript (65.97%)
MDX (23.63%)
Python (4.88%)
JavaScript (2.83%)
Handlebars (1.59%)
Solidity (1.1%)
Total Downloads
888,938
Last Day
7
Last Week
234
Last Month
1,543
Last Year
40,326
100 Stars
16,563 Commits
67 Forks
9 Watching
44 Branches
86 Contributors
Latest Version
5.0.3
Package Id
@0x/dev-utils@5.0.3
Unpacked Size
78.11 kB
Size
18.30 kB
File Count
41
NPM Version
lerna/3.16.10/node@v16.20.0+x64 (linux)
Node Version
16.20.0
Publised On
07 Apr 2023
Cumulative downloads
Total Downloads
Last day
-94.6%
7
Compared to previous day
Last week
-55.4%
234
Compared to previous week
Last month
-45.6%
1,543
Compared to previous month
Last year
-61.8%
40,326
Compared to previous year
14
Dev utils to be shared across 0x projects and packages
Some env variables might be set to change the behaviour of created web3 providers/instances.
VERBOSE_GANACHE: boolean. Enables verbose Ganache logging. Every request/response payload. Slightly slower, but useful for testing.
SOLIDITY_COVERAGE: boolean. If set - adds coverage subprovider which intercepts all calls/transactions and can be later used to compute code coverage.
Boolean env variables should be either true
or false
. Defaults to false
if not set.
1yarn add @0x/dev-utils
If your project is in TypeScript, add the following to your tsconfig.json
:
1"compilerOptions": { 2 "typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"], 3}
If you are still seeing TS type errors complaining about missing DOM types such as Response
:
error TS2304: Cannot find name 'Response'.
Then you need to explicitly add the dom
lib to your compiler options in tsconfig.json
. The dom
library is included by default, but customizing the lib
option can cause it to be dropped.
"compilerOptions": {
"lib": [..., "dom"],
We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.
Please read our contribution guidelines before getting started.
If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:
1yarn config set workspaces-experimental true
Then install dependencies
1yarn install
To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:
1PKG=@0x/dev-utils yarn build
Or continuously rebuild on change:
1PKG=@0x/dev-utils yarn watch
1yarn clean
1yarn lint
1yarn test
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/11 approved changesets -- score normalized to 2
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More