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.1.1 to 2.1.2

0

lib/bridge.d.ts

@@ -0,0 +0,0 @@ import { ChannelId, Data, EventName, EventOptions, RoomId } from './types.js';

@@ -0,0 +0,0 @@ import { Events } from '@yandeu/events';

@@ -0,0 +0,0 @@ declare const EVENTS: {

@@ -0,0 +0,0 @@ const EVENTS = {

3

lib/helpers.d.ts

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

declare const isBufferMessage: (data: any) => boolean;
declare const isObject: (data: Data) => boolean;
declare const isJSONMessage: (data: Data) => boolean;
export { isStringMessage, isBufferMessage, isObject, isJSONMessage };
export { isStringMessage, isBufferMessage, isJSONMessage };
//# sourceMappingURL=helpers.d.ts.map

@@ -35,5 +35,2 @@ import { ArrayBufferView } from './types.js';

};
const isObject = (data) => {
return typeof data === 'object';
};
const isJSONMessage = (data) => {

@@ -55,3 +52,3 @@ try {

};
export { isStringMessage, isBufferMessage, isObject, isJSONMessage };
export { isStringMessage, isBufferMessage, isJSONMessage };
//# sourceMappingURL=helpers.js.map

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

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

declare const makeRandomId: (length?: number) => string;
export default makeRandomId;
//# sourceMappingURL=makeRandomId.d.ts.map

@@ -0,0 +0,0 @@ const makeRandomId = (length = 24) => {

@@ -0,0 +0,0 @@ declare const ParseMessage: (ev: MessageEvent) => {

@@ -0,0 +0,0 @@ import { ERRORS, EVENTS } from './constants.js';

declare const makeReliable: (options: any, cb: Function) => void;
export { makeReliable };
//# sourceMappingURL=reliableMessage.d.ts.map

@@ -0,0 +0,0 @@ import makeRandomId from './makeRandomId.js';

declare const runInterval: (interval: number | undefined, runs: number | undefined, cb: Function) => void;
export default runInterval;
//# sourceMappingURL=runInterval.d.ts.map

@@ -0,0 +0,0 @@ const runInterval = (interval = 200, runs = 1, cb) => {

@@ -0,0 +0,0 @@ import { Data, EventName, RawMessage } from './types.js';

@@ -0,0 +0,0 @@ import { isBufferMessage, isStringMessage } from './helpers.js';

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

const ArrayBufferView = Object.getPrototypeOf(Object.getPrototypeOf(new Uint8Array())).constructor;
export { ArrayBufferView };
//# sourceMappingURL=types.js.map
{
"name": "@geckos.io/common",
"version": "2.1.1",
"version": "2.1.2",
"description": "The common module for @geckos.io/server and @geckos.io/client.",

@@ -5,0 +5,0 @@ "main": "lib",

@@ -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