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

@geckos.io/common

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geckos.io/common - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

2

lib/helpers.d.ts

@@ -10,3 +10,3 @@ /// <reference types="node" />

/** creates a new Microtask using Promise() */
export declare const tick: (<TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>) | typeof setTimeout;
export declare const tick: any;
declare const isStringMessage: (data: any) => boolean;

@@ -13,0 +13,0 @@ declare const isBufferMessage: (data: any) => boolean;

@@ -5,11 +5,11 @@ /// <reference types="node" />

export { ArrayBufferView };
export declare type ChannelId = string | undefined;
export declare type Data = string | number | Object;
export declare type EventName = string;
export declare type Payload = {
export type ChannelId = string | undefined;
export type Data = string | number | Object;
export type EventName = string;
export type Payload = {
[eventName: string]: Data;
};
export declare type RawMessage = USVString | ArrayBuffer | ArrayBufferView;
export declare type RoomId = ChannelId;
export declare type USVString = string;
export type RawMessage = USVString | ArrayBuffer | ArrayBufferView;
export type RoomId = ChannelId;
export type USVString = string;
/** The geckos.io server options. */

@@ -61,3 +61,3 @@ export interface ServerOptions {

}
declare type CorsOptionsOriginFunction = (req: IncomingMessage) => string;
type CorsOptionsOriginFunction = (req: IncomingMessage) => string;
/** The CORS options. */

@@ -64,0 +64,0 @@ export interface CorsOptions {

{
"name": "@geckos.io/common",
"version": "2.2.3",
"version": "2.2.4",
"description": "The common module for @geckos.io/server and @geckos.io/client.",

@@ -29,3 +29,3 @@ "main": "lib",

"dependencies": {
"@yandeu/events": "0.0.5"
"@yandeu/events": "0.0.6"
},

@@ -32,0 +32,0 @@ "funding": {

@@ -0,0 +0,0 @@ # @geckos.io/common

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