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

@based/client

Package Overview
Dependencies
Maintainers
7
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/client - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

5

dist/src/index.js

@@ -16,2 +16,6 @@ import connectWebsocket from './websocket/index.js';

export { BasedQuery };
// global polyfill
if (typeof window !== 'undefined' && typeof global === 'undefined') {
window.global = window;
}
export class BasedClient extends Emitter {

@@ -59,3 +63,2 @@ constructor(opts, settings) {

maxCacheSize = 5e7; // 50MB
// cacheExpiry: number = 1e3 * 60 * 60 // 1 hour
cache = new Map();

@@ -62,0 +65,0 @@ // --------- Function State

2

package.json
{
"name": "@based/client",
"version": "5.1.0",
"version": "5.2.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

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