Socket
Socket
Sign inDemoInstall

@types/node-cleanup

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node-cleanup - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

12

node-cleanup/index.d.ts

@@ -12,7 +12,13 @@ // Type definitions for node-cleanup 2.1

declare function install(cleanupHandler?: ((exitCode: number | null, signal: string | null) => boolean | undefined | void),
stderrMessages?: { ctrl_C: string; uncaughtException: string }): void;
interface StderrMessages {
ctrl_C?: string;
uncaughtException?: string;
}
type Handler = (exitCode: number | null, signal: string | null) => boolean | undefined | void;
declare function install(cleanupHandler?: Handler, stderrMessages?: StderrMessages): void;
declare namespace install {
function uninstall(): void;
function uninstall(): void;
}
{
"name": "@types/node-cleanup",
"version": "2.1.1",
"version": "2.1.2",
"description": "TypeScript definitions for node-cleanup",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "3fbb0d1a9748b5e100186abd6c228a9906ee84b22963b82640bb58ad51f7d600",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "632caf161c400b7d4cb891906c49c8bd2d9ed5e13000381b88773e7ff8b9c119",
"typeScriptVersion": "3.6"
}

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

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-cleanup/index.d.ts)
````ts
// Type definitions for node-cleanup 2.1
// Project: https://github.com/jtlapp/node-cleanup
// Definitions by: Agadar <https://github.com/agadar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Mon, 26 Aug 2019 15:55:18 GMT
// Note that ES6 modules cannot directly export callable functions.
// This file should be imported using the CommonJS-style:
// import nodeCleanup = require('node-cleanup');
export = install;
interface StderrMessages {
ctrl_C?: string;
uncaughtException?: string;
}
type Handler = (exitCode: number | null, signal: string | null) => boolean | undefined | void;
declare function install(cleanupHandler?: Handler, stderrMessages?: StderrMessages): void;
declare namespace install {
function uninstall(): void;
}
````
### Additional Details
* Last updated: Tue, 17 Aug 2021 19:01:24 GMT
* Dependencies: none

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

# Credits
These definitions were written by Agadar <https://github.com/agadar>.
These definitions were written by [Agadar](https://github.com/agadar).

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