Skip to content

Commit

Permalink
Apply constraints fixes to eth-json-rpc-provider package.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Sep 27, 2023
1 parent 7b78937 commit 4984cb6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 21 deletions.
23 changes: 17 additions & 6 deletions packages/eth-json-rpc-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,37 @@
"name": "@metamask/eth-json-rpc-provider",
"version": "2.1.0",
"description": "Create an Ethereum provider using a JSON-RPC engine or middleware",
"keywords": [
"MetaMask",
"Ethereum"
],
"homepage": "https://github.com/MetaMask/core/tree/main/packages/eth-json-rpc-provider#readme",
"bugs": {
"url": "https://github.com/MetaMask/core/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/eth-json-rpc-provider.git"
"url": "https://github.com/MetaMask/core.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"build:clean": "rimraf dist && yarn build",
"build:docs": "typedoc",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-json-rpc-provider",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:dependencies",
"lint:dependencies": "depcheck",
"lint:eslint": "eslint . --cache --ext js,ts",
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write && yarn lint:dependencies",
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
"prepack": "./scripts/prepack.sh",
"test": "jest && jest-it-up",
"publish:preview": "yarn npm publish --tag preview",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
Expand All @@ -40,7 +51,7 @@
"@types/node": "^16.18.24",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"deepmerge": "^4.3.1",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.3",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -63,7 +74,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "^16.20 || ^18.16 || >=20"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public",
Expand Down
30 changes: 15 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ __metadata:
"@metamask/eslint-config-jest": ^12.0.0
"@metamask/eslint-config-nodejs": ^12.0.0
"@metamask/eslint-config-typescript": ^12.0.0
"@metamask/eth-json-rpc-provider": ^1.0.0
"@metamask/eth-json-rpc-provider": ^2.1.0
"@metamask/utils": ^6.2.0
"@types/node": ^16.18.24
"@typescript-eslint/eslint-plugin": ^5.30.7
Expand Down Expand Up @@ -2162,17 +2162,7 @@ __metadata:
languageName: node
linkType: hard

"@metamask/eth-json-rpc-provider@npm:^1.0.0":
version: 1.0.0
resolution: "@metamask/eth-json-rpc-provider@npm:1.0.0"
dependencies:
"@metamask/safe-event-emitter": ^2.0.0
json-rpc-engine: ^6.1.0
checksum: 27865d84d90030db1a9e5a66bc0b0ae079706fb7be635ec1e9bd4f64771e819aae78f0a026c6629d3a1a2eb277fcd51977315c049c47a70df1dd95d1d4106982
languageName: node
linkType: hard

"@metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider":
"@metamask/eth-json-rpc-provider@^2.1.0, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider":
version: 0.0.0-use.local
resolution: "@metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider"
dependencies:
Expand All @@ -2189,7 +2179,7 @@ __metadata:
"@types/node": ^16.18.24
"@typescript-eslint/eslint-plugin": ^5.30.7
"@typescript-eslint/parser": ^5.30.7
deepmerge: ^4.3.1
deepmerge: ^4.2.2
depcheck: ^1.4.3
eslint: ^8.44.0
eslint-config-prettier: ^8.5.0
Expand All @@ -2212,6 +2202,16 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/eth-json-rpc-provider@npm:^1.0.0":
version: 1.0.0
resolution: "@metamask/eth-json-rpc-provider@npm:1.0.0"
dependencies:
"@metamask/safe-event-emitter": ^2.0.0
json-rpc-engine: ^6.1.0
checksum: 27865d84d90030db1a9e5a66bc0b0ae079706fb7be635ec1e9bd4f64771e819aae78f0a026c6629d3a1a2eb277fcd51977315c049c47a70df1dd95d1d4106982
languageName: node
linkType: hard

"@metamask/eth-keyring-controller@npm:^13.0.1":
version: 13.0.1
resolution: "@metamask/eth-keyring-controller@npm:13.0.1"
Expand Down Expand Up @@ -2505,7 +2505,7 @@ __metadata:
"@metamask/controller-utils": ^5.0.0
"@metamask/eth-json-rpc-infura": ^8.1.1
"@metamask/eth-json-rpc-middleware": ^11.0.2
"@metamask/eth-json-rpc-provider": ^1.0.0
"@metamask/eth-json-rpc-provider": ^2.1.0
"@metamask/eth-query": ^3.0.1
"@metamask/swappable-obj-proxy": ^2.1.0
"@metamask/utils": ^6.2.0
Expand Down Expand Up @@ -5306,7 +5306,7 @@ __metadata:
languageName: node
linkType: hard

"deepmerge@npm:^4.2.2, deepmerge@npm:^4.3.1":
"deepmerge@npm:^4.2.2":
version: 4.3.1
resolution: "deepmerge@npm:4.3.1"
checksum: 2024c6a980a1b7128084170c4cf56b0fd58a63f2da1660dcfe977415f27b17dbe5888668b59d0b063753f3220719d5e400b7f113609489c90160bb9a5518d052
Expand Down

0 comments on commit 4984cb6

Please sign in to comment.