Comparing version 4.0.2 to 4.0.3
# typechain | ||
## 4.0.3 | ||
### Patch Changes | ||
- dbfe92a: Improve error message in case of a missing target | ||
## 4.0.2 | ||
@@ -4,0 +10,0 @@ |
@@ -25,4 +25,4 @@ "use strict"; | ||
process.env.NODE_ENV === 'test' && `../../typechain-target-${target}/lib/index`, | ||
`@typechain/${target}`, | ||
`typechain-target-${target}`, | ||
`@typechain/${target}`, | ||
ensureAbsPath(target), | ||
@@ -32,3 +32,3 @@ ]; | ||
if (!moduleInfo || !moduleInfo.module.default) { | ||
throw new Error(`Couldn't find ${ctx.rawConfig.target}. Tried loading: ${lodash_1.compact(possiblePaths).join(', ')}.\nPerhaps you forgot to install typechain-target-${target}?`); | ||
throw new Error(`Couldn't find ${ctx.rawConfig.target}. Tried loading: ${lodash_1.compact(possiblePaths).join(', ')}.\nPerhaps you forgot to install @typechain/${target}?`); | ||
} | ||
@@ -35,0 +35,0 @@ debug_1.debug('Plugin found at', moduleInfo.path); |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "repository": "https://github.com/ethereum-ts/Typechain", |
@@ -49,2 +49,3 @@ <p align="center"> | ||
| [`@typechain/web3-v1`](/packages/target-web3-v1) | [![npm](https://img.shields.io/npm/v/@typechain/web3-v1.svg)](https://www.npmjs.com/package/@typechain/web3-v1) | Web3 ver 1 support | [example](./examples/web3-v1) | | ||
| [`@typechain/hardhat`](/packages/hardhat) | [![npm](https://img.shields.io/npm/v/@typechain/hardhat.svg)](https://www.npmjs.com/package/@typechain/hardhat) | Hardhat plugin | [example](./examples/hardhat) | | ||
@@ -51,0 +52,0 @@ ## Usage |
Sorry, the diff of this file is not supported yet
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
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
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
60189
194
0