Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/depcheck

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/depcheck - npm Package Compare versions

Comparing version 0.6.0 to 0.8.0

33

depcheck/index.d.ts

@@ -1,10 +0,8 @@

// Type definitions for depcheck 0.6
// Type definitions for depcheck 0.8
// Project: https://github.com/depcheck/depcheck
// Definitions by: ark120202 <https://github.com/ark120202>
// jrnail23 <https://github.com/jrnail23>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function depcheck(
rootDir: string,
options: depcheck.Options,
): Promise<depcheck.Results>;
declare function depcheck(rootDir: string, options: depcheck.Options): Promise<depcheck.Results>;

@@ -14,3 +12,3 @@ declare function depcheck<T>(

options: depcheck.Options,
callback: (results: depcheck.Results) => T,
callback: (results: depcheck.Results) => T
): Promise<T>;

@@ -23,8 +21,3 @@

type Parser = (
content: string,
filePath: string,
deps: ReadonlyArray<string>,
rootDir: string,
) => Node;
type Parser = (content: string, filePath: string, deps: ReadonlyArray<string>, rootDir: string) => Node;

@@ -48,6 +41,14 @@ type Detector = (node: Node) => ReadonlyArray<string> | string;

devDependencies: string[];
missing: string[];
using: string[];
invalidFiles: string[];
invalidDirs: string[];
using: {
[dependencyName: string]: string[];
};
missing: {
[dependencyName: string]: string[];
};
invalidFiles: {
[filePath: string]: any;
};
invalidDirs: {
[filePath: string]: any;
};
}

@@ -54,0 +55,0 @@

{
"name": "@types/depcheck",
"version": "0.6.0",
"version": "0.8.0",
"description": "TypeScript definitions for depcheck",

@@ -11,13 +11,20 @@ "license": "MIT",

"githubUsername": "ark120202"
},
{
"name": "jrnail23",
"url": "https://github.com/jrnail23",
"githubUsername": "jrnail23"
}
],
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/depcheck"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "3ee78061496bbc14c8fe0d968f1e7ac7dd5d3b29c9da4e1a40509769bca1e2be",
"typesPublisherContentHash": "2c177ea592872365fb7bea0a29d60ebd8caf887fb0fa3d430188eae15fafa10d",
"typeScriptVersion": "2.0"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/depcheck
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/depcheck
Additional Details
* Last updated: Sun, 07 Jan 2018 08:22:26 GMT
* Last updated: Thu, 11 Jul 2019 00:41:55 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by ark120202 <https://github.com/ark120202>.
These definitions were written by ark120202 <https://github.com/ark120202>, and jrnail23 <https://github.com/jrnail23>.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc