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

@types/depd

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/depd - npm Package Compare versions

Comparing version 1.1.31 to 1.1.32

39

depd/index.d.ts

@@ -1,16 +0,41 @@

// Type definitions for depd 1.1.0
// Type definitions for depd 1.1
// Project: https://github.com/dougwilson/nodejs-depd
// Definitions by: Zhiyuan Wang <https://github.com/danny8002>
// BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
/// <reference types="node" />
export = depd;
declare function depd(namespace: string): Deprecate;
declare function depd(namespace: string): depd.Deprecate;
interface Deprecate {
(message: string): void;
function(fn: Function, message?: string): Function;
property(obj: Object, prop: string, message: string): void;
declare namespace depd {
interface Deprecate {
(message: string): void;
// tslint:disable-next-line ban-types
function<T extends Function>(fn: T, message?: string): T;
property<T extends object>(obj: T, prop: keyof T, message: string): void;
}
interface DeprecationError extends Error {
readonly name: 'DeprecationError';
namespace: string;
stack: string;
}
}
export = depd;
declare global {
namespace NodeJS {
interface Process {
addListener(event: 'deprecation', listener: (deprecationError: depd.DeprecationError) => void): this;
emit(event: 'deprecation', code: depd.DeprecationError): boolean;
on(event: 'deprecation', listener: (deprecationError: depd.DeprecationError) => void): this;
once(event: 'deprecation', listener: (deprecationError: depd.DeprecationError) => void): this;
prependListener(event: 'deprecation', listener: (deprecationError: depd.DeprecationError) => void): this;
prependOnceListener(event: 'deprecation', listener: (deprecationError: depd.DeprecationError) => void): this;
listeners(event: 'deprecation'): depd.DeprecationError[];
}
}
}

18

depd/package.json
{
"name": "@types/depd",
"version": "1.1.31",
"version": "1.1.32",
"description": "TypeScript definitions for depd",

@@ -9,3 +9,9 @@ "license": "MIT",

"name": "Zhiyuan Wang",
"url": "https://github.com/danny8002"
"url": "https://github.com/danny8002",
"githubUsername": "danny8002"
},
{
"name": "BendingBender",
"url": "https://github.com/BendingBender",
"githubUsername": "BendingBender"
}

@@ -19,5 +25,7 @@ ],

"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "c81305f90657fd9cbbae65bdde06c5a2b86d9977f2e619d490a527b9cfd608a9",
"typeScriptVersion": "2.0"
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "a60575e0e5d764343ccfedec8c962756a5b141a188ddddf021c525d24a156b34",
"typeScriptVersion": "2.2"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Mon, 21 Aug 2017 21:49:18 GMT
* Dependencies: none
* Last updated: Thu, 07 Sep 2017 22:03:13 GMT
* Dependencies: node
* Global values: none
# Credits
These definitions were written by Zhiyuan Wang <https://github.com/danny8002>.
These definitions were written by Zhiyuan Wang <https://github.com/danny8002>, BendingBender <https://github.com/BendingBender>.
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