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

@types/cometd

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/cometd - npm Package Compare versions

Comparing version 4.0.10 to 4.0.11

cometd/ReloadExtension/index.d.ts

20

cometd/index.d.ts

@@ -11,2 +11,10 @@ // Type definitions for CometD 4.0

export interface Transport {
readonly type: string;
url: string;
accept(version: string, crossDomain: boolean, url: string): boolean;
abort(): void;
}
export interface Configuration {

@@ -546,2 +554,7 @@ /**

/**
* Returns the transport object associated with this CometD object
*/
getTransport(): Transport | null;
/**
* Handler invoked every time a listener or subscriber throws an exception.

@@ -567,2 +580,9 @@ *

websocketEnabled: boolean;
/**
* Function attached to the CometD instance when the ReloadExtension is registered
*
* @param config the configuration object for the ReloadExtension
*/
reload?: (config?: { name?: string }) => void;
}

6

cometd/package.json
{
"name": "@types/cometd",
"version": "4.0.10",
"version": "4.0.11",
"description": "TypeScript definitions for CometD",

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

"dependencies": {},
"typesPublisherContentHash": "52b2e91c0bcf8d7a2431ed0d9f8d2d8bb52a1cbfa47c4adf744f901393487adf",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "92fe4e89336daa2103f687a493bfb388faf8173056e18e6a5ca8c2d095f58967",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Thu, 08 Jul 2021 09:08:03 GMT
* Last updated: Tue, 14 Sep 2021 21:01:31 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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