Socket
Socket
Sign inDemoInstall

@types/node

Package Overview
Dependencies
1
Maintainers
1
Versions
1824
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 20.12.1 to 20.12.2

8

node/events.d.ts

@@ -78,6 +78,2 @@ /**

}
// Any EventTarget with a Node-style `once` function
interface _NodeEventTarget {
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
}
// Any EventTarget with a DOM-style `addEventListener`

@@ -212,3 +208,3 @@ interface _DOMEventTarget {

static once(
emitter: _NodeEventTarget,
emitter: NodeJS.EventEmitter,
eventName: string | symbol,

@@ -725,3 +721,3 @@ options?: StaticEventEmitterOptions,

*/
removeAllListeners(event?: Key<unknown, T>): this;
removeAllListeners(eventName?: Key<unknown, T>): this;
/**

@@ -728,0 +724,0 @@ * By default `EventEmitter`s will print a warning if more than `10` listeners are

{
"name": "@types/node",
"version": "20.12.1",
"version": "20.12.2",
"description": "TypeScript definitions for node",

@@ -215,4 +215,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",

},
"typesPublisherContentHash": "36951b30e57ad53cbd8833203ba2cba0fc7b0abdc851f9292af12a58cd72a4c1",
"typesPublisherContentHash": "87dfc7f77cdee3468250d81c9d0a1affd373ef091004a961696e12cd422beb71",
"typeScriptVersion": "4.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sat, 30 Mar 2024 05:07:46 GMT
* Last updated: Sat, 30 Mar 2024 05:35:18 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)

@@ -14,0 +14,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc