web3-types
Advanced tools
Comparing version 0.1.1-alpha.4 to 1.0.0-dev.0
{ | ||
"name": "web3-types", | ||
"version": "0.1.1-alpha.4", | ||
"version": "1.0.0-dev.0+4358140", | ||
"description": "Provide the common data structures and interfaces for web3 modules.", | ||
"main": "lib/index.js", | ||
"main": "./lib/commonjs/index.js", | ||
"module": "./lib/esm/index.js", | ||
"exports": { | ||
".": { | ||
"types": "./lib/types/index.d.ts", | ||
"import": "./lib/esm/index.js", | ||
"require": "./lib/commonjs/index.js" | ||
} | ||
}, | ||
"repository": "https://github.com/ChainSafe/web3.js", | ||
"author": "ChainSafe Systems", | ||
"license": "LGPL-3.0", | ||
"engines": { | ||
"node": ">=14", | ||
"npm": ">=6.12.0" | ||
}, | ||
"files": [ | ||
"lib/**/*" | ||
"lib/**/*", | ||
"src/**/*" | ||
], | ||
@@ -15,3 +28,6 @@ "scripts": { | ||
"prebuild": "yarn clean", | ||
"build": "tsc --build", | ||
"build": "yarn build:cjs & yarn build:esm & yarn build:types", | ||
"build:cjs": "tsc --build tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/commonjs/package.json", | ||
"build:esm": "tsc --build tsconfig.esm.json && echo '{\"type\": \"module\"}' > ./lib/esm/package.json", | ||
"build:types": "tsc --build tsconfig.types.json", | ||
"build:check": "node -e \"require('./lib')\"", | ||
@@ -22,3 +38,4 @@ "lint": "eslint --ext .js,.ts .", | ||
"test": "jest --config=./test/unit/jest.config.js", | ||
"test:coverage": "jest --config=./test/unit/jest.config.js --coverage=true --coverage-reporters=text", | ||
"test:coverage:unit": "jest --config=./test/unit/jest.config.js --coverage=true --passWithNoTests --coverage-reporters=text", | ||
"test:coverage:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests --coverage=true --coverage-reporters=text", | ||
"test:ci": "jest --coverage=true --coverage-reporters=json --verbose", | ||
@@ -36,3 +53,3 @@ "test:watch": "npm test -- --watch", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-web3-base": "0.1.0", | ||
"eslint-config-web3-base": "^0.1.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
@@ -45,3 +62,3 @@ "jest": "^28.1.3", | ||
}, | ||
"gitHead": "ae1ae53c9192ddef32931c3cbf68c2a7e2946ec5" | ||
"gitHead": "4358140ccc947f9f1817114f0597d242d7be5f8d" | ||
} |
@@ -10,4 +10,3 @@ <p align="center"> | ||
[![NPM Package][npm-image]][npm-url] | ||
[![Dependency Status][deps-image]][deps-url] | ||
[![Dev Dependency Status][deps-dev-image]][deps-dev-url] | ||
[![Downloads][downloads-image]][npm-url] | ||
@@ -57,9 +56,6 @@ This is a sub-package of [web3.js][repo]. | ||
[docs]: http://web3js.readthedocs.io/en/4.0/ | ||
[repo]: https://github.com/ethereum/web3.js | ||
[npm-image]: https://img.shields.io/npm/v/web3-types.svg | ||
[npm-url]: https://npmjs.org/packages/web3-types | ||
[deps-image]: https://david-dm.org/ethereum/web3.js/4.x/status.svg?path=packages/web3-types | ||
[deps-url]: https://david-dm.org/ethereum/web3.js/4.x?path=packages/web3-types | ||
[deps-dev-image]: https://david-dm.org/ethereum/web3.js/4.x/dev-status.svg?path=packages/web3-types | ||
[deps-dev-url]: https://david-dm.org/ethereum/web3.js/4.x?type=dev&path=packages/web3-types | ||
[docs]: https://docs.web3js.org/ | ||
[repo]: https://github.com/web3/web3.js/tree/4.x/packages/web3-types | ||
[npm-image]: https://img.shields.io/github/package-json/v/web3/web3.js/4.x?filename=packages%2Fweb3-types%2Fpackage.json | ||
[npm-url]: https://npmjs.org/package/web3-types | ||
[downloads-image]: https://img.shields.io/npm/dm/web3-types?label=npm%20downloads |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
252988
141
4597
60
3