Socket
Socket
Sign inDemoInstall

@syncot/util

Package Overview
Dependencies
9
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.12 to 0.0.13

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.0.13](https://github.com/SyncOT/SyncOT/compare/@syncot/util@0.0.12...@syncot/util@0.0.13) (2019-09-12)
### Bug Fixes
* the return type of whenEvent ([73b88a8](https://github.com/SyncOT/SyncOT/commit/73b88a8))
## [0.0.12](https://github.com/SyncOT/SyncOT/compare/@syncot/util@0.0.11...@syncot/util@0.0.12) (2019-09-11)

@@ -8,0 +19,0 @@

16

lib/misc.d.ts

@@ -44,4 +44,4 @@ /**

export declare const whenEvent: (event: string) => (emitter: {
once: (event: string, callback: () => any) => any;
}) => Promise<unknown>;
once: (event: string, callback: () => void) => void;
}) => Promise<void>;
/**

@@ -51,4 +51,4 @@ * Returns a promise which resolves when `emitter` emits `"data"`.

export declare const whenData: (emitter: {
once: (event: string, callback: () => any) => any;
}) => Promise<unknown>;
once: (event: string, callback: () => void) => void;
}) => Promise<void>;
/**

@@ -58,4 +58,4 @@ * Returns a promise which resolves when `emitter` emits `"close"`.

export declare const whenClose: (emitter: {
once: (event: string, callback: () => any) => any;
}) => Promise<unknown>;
once: (event: string, callback: () => void) => void;
}) => Promise<void>;
/**

@@ -65,4 +65,4 @@ * Returns a promise which resolves when `emitter` emits `"error"`.

export declare const whenError: (emitter: {
once: (event: string, callback: () => any) => any;
}) => Promise<unknown>;
once: (event: string, callback: () => void) => void;
}) => Promise<void>;
export declare function randomInteger(minInclusive: number, maxExclusive: number): number;

@@ -69,0 +69,0 @@ /**

{
"name": "@syncot/util",
"version": "0.0.12",
"version": "0.0.13",
"description": "A collection of utilities required by other @syncot modules.",

@@ -34,3 +34,3 @@ "keywords": [

},
"gitHead": "81aeded1a96d3cbb999520d46507127db819c0fb"
"gitHead": "d68eb77d7261147fdfae63420e0a791c2a48f831"
}
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