depcheck-detector-execa
Advanced tools
Comparing version 1.2.6 to 1.2.7
@@ -0,1 +1,8 @@ | ||
## [1.2.7](https://github.com/dword-design/depcheck-detector-execa/compare/v1.2.6...v1.2.7) (2021-03-09) | ||
### Bug Fixes | ||
* update readme ([c9b3e18](https://github.com/dword-design/depcheck-detector-execa/commit/c9b3e184865388c824287c2823d106faa8074b16)) | ||
## [1.2.6](https://github.com/dword-design/depcheck-detector-execa/compare/v1.2.5...v1.2.6) (2021-02-17) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "depcheck-detector-execa", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"description": "Detector for depcheck that finds dependencies in execa calls.", | ||
@@ -5,0 +5,0 @@ "repository": "dword-design/depcheck-detector-execa", |
@@ -57,4 +57,4 @@ <!-- TITLE/ --> | ||
```js | ||
import depcheck from 'depcheck' | ||
import execaDetector from 'depcheck-detector-execa' | ||
const depcheck = require('depcheck') | ||
const execaDetector = require('depcheck-detector-execa') | ||
@@ -67,7 +67,6 @@ const options = { | ||
depcheck('/path/to/your/project', options, (unused) => { | ||
depcheck(process.cwd(), options, unused => { | ||
console.log(unused.dependencies); // an array containing the unused dependencies | ||
console.log(unused.devDependencies); // an array containing the unused devDependencies | ||
console.log(unused.missing); // a lookup containing the dependencies missing in `package.json` and where they are used | ||
console.log(unused.using); // a lookup indicating each dependency is used by which files | ||
console.log(unused.invalidFiles); // files that cannot access or parse | ||
@@ -74,0 +73,0 @@ console.log(unused.invalidDirs); // directories that cannot access |
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
12799
96