@wixc3/patterns
Advanced tools
Comparing version 6.0.0 to 7.0.0
@@ -9,7 +9,7 @@ /** | ||
}; | ||
export type DisposeFunction = () => unknown; | ||
export type Disposable = { | ||
export declare type DisposeFunction = () => unknown; | ||
export declare type Disposable = { | ||
dispose: DisposeFunction; | ||
} | DisposeFunction; | ||
export type Disposables = ReturnType<typeof createDisposables>; | ||
export declare type Disposables = ReturnType<typeof createDisposables>; | ||
//# sourceMappingURL=create-disposables.d.ts.map |
@@ -53,3 +53,3 @@ import { Signal } from './signal'; | ||
} | ||
export type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
export declare type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
//# sourceMappingURL=event-emitter.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export type Listener<T> = (data: T) => void; | ||
export declare type Listener<T> = (data: T) => void; | ||
/** | ||
@@ -3,0 +3,0 @@ * Signal is a simple event emitter for one type of event. |
@@ -9,7 +9,7 @@ /** | ||
}; | ||
export type DisposeFunction = () => unknown; | ||
export type Disposable = { | ||
export declare type DisposeFunction = () => unknown; | ||
export declare type Disposable = { | ||
dispose: DisposeFunction; | ||
} | DisposeFunction; | ||
export type Disposables = ReturnType<typeof createDisposables>; | ||
export declare type Disposables = ReturnType<typeof createDisposables>; | ||
//# sourceMappingURL=create-disposables.d.ts.map |
@@ -53,3 +53,3 @@ import { Signal } from './signal'; | ||
} | ||
export type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
export declare type IEventEmitter<T extends Record<string, any>> = Pick<EventEmitter<T>, keyof EventEmitter<T>>; | ||
//# sourceMappingURL=event-emitter.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export type Listener<T> = (data: T) => void; | ||
export declare type Listener<T> = (data: T) => void; | ||
/** | ||
@@ -3,0 +3,0 @@ * Signal is a simple event emitter for one type of event. |
{ | ||
"name": "@wixc3/patterns", | ||
"version": "6.0.0", | ||
"version": "7.0.0", | ||
"description": "A utility for saving objects to be disposed", | ||
@@ -21,5 +21,5 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@wixc3/common": "^6.0.0", | ||
"@wixc3/common": "^7.0.0", | ||
"promise-assist": "^1.3.0" | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
93789
+ Added@wixc3/common@7.2.0(transitive)
+ Addedpromise-assist@2.0.1(transitive)
- Removed@wixc3/common@6.0.0(transitive)
Updated@wixc3/common@^7.0.0