@types/depd
Advanced tools
Comparing version 1.1.31 to 1.1.32
@@ -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[]; | ||
} | ||
} | ||
} |
{ | ||
"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>. |
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
4169
35
1
+ Added@types/node@*
+ Added@types/node@22.9.0(transitive)
+ Addedundici-types@6.19.8(transitive)