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
792
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.93.1-alpha-test-utils.3 to 0.93.1-alpha-ts-upgrade.5

13

dist/EventTargetShimUtils.d.ts

@@ -1,2 +0,3 @@

import type { Event, EventTarget } from 'event-target-shim';
import type { Event as EventT, EventTarget as EventTargetT } from 'event-target-shim';
export type { EventT };
/**

@@ -8,6 +9,6 @@ * A CustomEvent extension which combines the browser CustomEvent and event-target-shim's Event types for type safety

type: T;
target: EventTarget | null;
srcElement: EventTarget | null;
currentTarget: EventTarget | null;
composedPath: () => EventTarget[];
target: (EventTargetT & EventTarget) | null;
srcElement: (EventTargetT & EventTarget) | null;
currentTarget: (EventTargetT & EventTarget) | null;
composedPath: () => (EventTargetT & EventTarget)[];
constructor(typeArg: T, eventInitDict?: CustomEventInit<D>);

@@ -21,4 +22,4 @@ }

export type CustomEventMap<M extends Record<string, Event | CustomEvent>> = {
[T in keyof M]: T extends string ? M[T] extends CustomEvent<infer D> ? EventShimCustomEvent<T, D> : M[T] extends Event ? Event<T> : never : never;
[T in keyof M]: T extends string ? M[T] extends CustomEvent<infer D> ? EventShimCustomEvent<T, D> : M[T] extends EventT ? EventT<T> : never : never;
};
//# sourceMappingURL=EventTargetShimUtils.d.ts.map

@@ -1,2 +0,1 @@

import type { Component, FunctionComponent } from 'react';
/**

@@ -17,6 +16,2 @@ * Util type to create a "subtype" of T. Useful for creating subsets of union

/**
* Extracts the props type from a React component type.
*/
export type InferComponentProps<T> = T extends FunctionComponent<infer P> ? P : T extends Component<infer P> ? P : never;
/**
* Derives a union type where all constituents define 1 property of the original

@@ -23,0 +18,0 @@ * type.

{
"name": "@deephaven/utils",
"version": "0.93.1-alpha-test-utils.3+5e69e2c1",
"version": "0.93.1-alpha-ts-upgrade.5+ff64ab8b",
"description": "Deephaven Utils",

@@ -32,5 +32,5 @@ "author": "Deephaven Data Labs LLC",

"devDependencies": {
"@deephaven/test-utils": "^0.93.1-alpha-test-utils.3+5e69e2c1"
"@deephaven/test-utils": "^0.93.1-alpha-ts-upgrade.5+ff64ab8b"
},
"gitHead": "5e69e2c1e6d3d6aaf6e58b7577606145d78d5393"
"gitHead": "ff64ab8b355193ccea7a68e1f6d53c691942fe71"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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