web3-providers-http
Advanced tools
Comparing version 4.0.0 to 4.0.1-alpha.0
{ | ||
"name": "web3-providers-http", | ||
"version": "4.0.0", | ||
"description": "Ethereum HTTP provider for Web3 4.x.x", | ||
"main": "lib/src/index.js", | ||
"repository": "https://github.com/ChainSafe/web3.js", | ||
"author": "ChainSafe Systems", | ||
"license": "LGPL-3.0", | ||
"files": [ | ||
"lib/**/*" | ||
], | ||
"scripts": { | ||
"build": "yarn clean && yarn compile", | ||
"clean": "rimraf lib && rimraf buildcache", | ||
"compile": "tsc --build", | ||
"lint": "yarn prettier --write . && eslint \"./src/**/*.ts\" --max-warnings=0", | ||
"lint:check": "yarn prettier --check . && eslint \"./src/**/*.ts\" --max-warnings=0", | ||
"test": "jest", | ||
"test:integration": "jest ./test/integration", | ||
"test:unit": "jest ./test/unit" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^26.0.22", | ||
"@typescript-eslint/eslint-plugin": "^4.22.0", | ||
"@typescript-eslint/parser": "^4.22.0", | ||
"eslint": "^7.24.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.3.0", | ||
"ts-jest": "^26.5.4", | ||
"typescript": "^4.2.4" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
"web3-providers-base": "^1.0.0" | ||
} | ||
"name": "web3-providers-http", | ||
"version": "4.0.1-alpha.0", | ||
"description": "HTTP provider for Web3 4.x.x", | ||
"main": "dist/index.js", | ||
"repository": "https://github.com/ChainSafe/web3.js", | ||
"author": "ChainSafe Systems", | ||
"license": "LGPL-3.0", | ||
"files": [ | ||
"dist/**/*" | ||
], | ||
"scripts": { | ||
"clean": "rimraf dist", | ||
"prebuild": "rimraf dist", | ||
"build": "tsc --build", | ||
"build:check": "node -e \"require('./dist')\"", | ||
"lint": "eslint --ext .js,.ts .", | ||
"lint:fix": "eslint --fix --ext .js,.ts .", | ||
"format": "prettier --write '**/*'", | ||
"test": "jest --config=./test/unit/jest.config.js", | ||
"test:coverage": "jest --config=./test/unit/jest.config.js --coverage=true --coverage-reporters=text", | ||
"test:ci": "jest --coverage=true --coverage-reporters=json --verbose", | ||
"test:watch": "npm test -- --watch", | ||
"test:unit": "jest --config=./test/unit/jest.config.js", | ||
"test:integration": "jest --config=./test/integration/jest.config.js --runInBand", | ||
"test:e2e:electron": "npx cypress run --headless --browser electron", | ||
"test:e2e:chrome": "npx cypress run --headless --browser chrome", | ||
"test:e2e:firefox": "npx cypress run --headless --browser firefox" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^28.1.6", | ||
"@typescript-eslint/eslint-plugin": "^5.30.7", | ||
"@typescript-eslint/parser": "^5.30.7", | ||
"eslint": "^8.20.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-web3-base": "0.1.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"jest": "^28.1.3", | ||
"jest-extended": "^3.0.1", | ||
"jest-fetch-mock": "^3.0.3", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^28.0.7", | ||
"typescript": "^4.7.4" | ||
}, | ||
"dependencies": { | ||
"cross-fetch": "^3.1.5", | ||
"web3-errors": "^0.1.1-alpha.0", | ||
"web3-types": "^0.1.1-alpha.0", | ||
"web3-utils": "^4.0.1-alpha.0" | ||
}, | ||
"gitHead": "766ebd976ef71458eaebf7a6108b268881e30552" | ||
} |
<p align="center"> | ||
<img src="../../assets/logo/web3js.jpg" width="200" alt="web3.js" /> | ||
<img src="assets/logo/web3js.jpg" width="500" alt="web3.js" /> | ||
</p> | ||
# web3.js - Providers HTTP | ||
# web3.js - Http Provider | ||
## Installation | ||
![ES Version](https://img.shields.io/badge/ES-2020-yellow) | ||
![Node Version](https://img.shields.io/badge/node-14.x-green) | ||
[![NPM Package][npm-image]][npm-url] | ||
[![Dependency Status][deps-image]][deps-url] | ||
[![Dev Dependency Status][deps-dev-image]][deps-dev-url] | ||
This is a sub-package of [web3.js][repo]. | ||
`web3-providers-http` contains the Web3.js provider for the HTTP protocol. | ||
###### Get it from the NPM Registry | ||
```bash | ||
@@ -13,11 +23,32 @@ yarn add web3-providers-http | ||
## Getting Started | ||
- :writing_hand: If you have questions [submit an issue](https://github.com/ChainSafe/web3.js/issues/new/choose) or join us on [Discord](https://discord.gg/yjyvFRP) | ||
![Discord](https://img.shields.io/discord/593655374469660673.svg?label=Discord&logo=discord) | ||
## Prerequisites | ||
- :gear: [NodeJS](https://nodejs.org/) (LTS/Fermium) | ||
- :toolbox: [Yarn](https://yarnpkg.com/)/[Lerna](https://lerna.js.org/) | ||
## Package.json Scripts | ||
- `build`: Runs `yarn clean` and `yarn compile` | ||
- `clean`: Uses `rimraf` to remove `lib/` and `buildcache/` | ||
- `compile`: Uses `tsc` to build package and depedenent packages | ||
- `lint`: Uses `prettier` and `eslint` to lint package | ||
- `lint:check`: Uses prettier and `eslint` to check if package has been linted | ||
- `test`: Uses `jest` to run all tests | ||
- `test:integration`: Uses `jest` to run tests under `/test/integration` | ||
- `test:unit`: Uses `jest` to run tests under `/test/unit` | ||
| Script | Description | | ||
| ---------------- | -------------------------------------------------- | | ||
| clean | Uses `rimraf` to remove `dist/` | | ||
| build | Uses `tsc` to build package and dependent packages | | ||
| lint | Uses `eslint` to lint package | | ||
| lint:fix | Uses `eslint` to check and fix any warnings | | ||
| format | Uses `prettier` to format the code | | ||
| test | Uses `jest` to run unit tests | | ||
| test:integration | Uses `jest` to run tests under `/test/integration` | | ||
| test:unit | Uses `jest` to run tests under `/test/unit` | | ||
[docs]: http://web3js.readthedocs.io/en/4.0/ | ||
[repo]: https://github.com/ethereum/web3.js | ||
[npm-image]: https://img.shields.io/npm/v/web3-providers-http.svg | ||
[npm-url]: https://npmjs.org/packages/web3-providers-http | ||
[deps-image]: https://david-dm.org/ethereum/web3.js/4.x/status.svg?path=tools/web3-providers-http | ||
[deps-url]: https://david-dm.org/ethereum/web3.js/4.x?path=tools/web3-providers-http | ||
[deps-dev-image]: https://david-dm.org/ethereum/web3.js/4.x/dev-status.svg?path=tools/web3-providers-http | ||
[deps-dev-url]: https://david-dm.org/ethereum/web3.js/4.x?type=dev&path=tools/web3-providers-http |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
12061
11
0
54
4
13
3
96
2
+ Addedcross-fetch@^3.1.5
+ Addedweb3-errors@^0.1.1-alpha.0
+ Addedweb3-types@^0.1.1-alpha.0
+ Addedweb3-utils@^4.0.1-alpha.0
+ Added@noble/curves@1.4.2(transitive)
+ Added@noble/hashes@1.4.0(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip32@1.4.0(transitive)
+ Added@scure/bip39@1.3.0(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedcross-fetch@3.1.8(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedethereum-cryptography@2.2.1(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-generator-function@1.0.10(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedutil@0.12.5(transitive)
+ Addedweb3-errors@0.1.1-alpha.41.3.0(transitive)
+ Addedweb3-types@0.1.1-alpha.41.8.0(transitive)
+ Addedweb3-utils@4.3.1(transitive)
+ Addedweb3-validator@2.0.6(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)
+ Addedzod@3.23.8(transitive)
- Removedaxios@^0.21.1
- Removedweb3-providers-base@^1.0.0
- Removedaxios@0.21.4(transitive)
- Removedfollow-redirects@1.15.9(transitive)