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

@deephaven/utils

Package Overview
Dependencies
Maintainers
0
Versions
790
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deephaven/utils - npm Package Compare versions

Comparing version 0.83.0 to 0.83.1-alpha-combobox.8

6

dist/Asserts.d.ts
/**
* Throws if given object is not an instance of a given type.
* @param instance
* @param type
*/
export declare function assertInstanceOf<T>(instance: unknown, type: new (...args: any[]) => T): asserts instance is T;
/**
* Throws an error if excecuted. Useful for exhaustive switch statements.

@@ -3,0 +9,0 @@ *

/**
* Throws if given object is not an instance of a given type.
* @param instance
* @param type
*/
export function assertInstanceOf(instance,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type) {
if (!(instance instanceof type)) {
throw new Error("Expected instance of ".concat(type.name));
}
}
/**
* Throws an error if excecuted. Useful for exhaustive switch statements.

@@ -3,0 +16,0 @@ *

4

package.json
{
"name": "@deephaven/utils",
"version": "0.83.0",
"version": "0.83.1-alpha-combobox.8+b6fbb986",
"description": "Deephaven Utils",

@@ -31,3 +31,3 @@ "author": "Deephaven Data Labs LLC",

},
"gitHead": "419ca39682b73d312af2a046bdc177c6007549d2"
"gitHead": "b6fbb9861f7e24e634d24274dde30cf1896a1b71"
}

Sorry, the diff of this file is not supported yet

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