Socket
Socket
Sign inDemoInstall

depcheck-detector-execa

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depcheck-detector-execa - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

7

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc