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

spica

Package Overview
Dependencies
Maintainers
1
Versions
804
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spica - npm Package Compare versions

Comparing version 0.0.722 to 0.0.723

11

cache.ts

@@ -581,9 +581,10 @@ import { max, min, floor, round } from './alias';

this.capacity = capacity;
this.window = capacity * this.settings.window! / 100 >>> 0;
this.resource = resource ?? this.settings.resource ?? capacity;
const { settings } = this;
this.window = capacity * settings.window! / 100 >>> 0;
this.resource = resource ?? settings.resource ?? capacity;
this.sweeper.resize(
capacity,
this.settings.sweep!.window!,
this.settings.sweep!.room!,
this.settings.sweep!.range!);
settings.sweep!.window!,
settings.sweep!.room!,
settings.sweep!.range!);
this.ensure(0);

@@ -590,0 +591,0 @@ }

{
"name": "spica",
"version": "0.0.722",
"version": "0.0.723",
"description": "Supervisor, Coroutine, Channel, select, AtomicPromise, Cancellation, Cache, List, Queue, Stack, and some utils.",

@@ -5,0 +5,0 @@ "private": false,

@@ -581,9 +581,10 @@ import { max, min, floor, round } from './alias';

this.capacity = capacity;
this.window = capacity * this.settings.window! / 100 >>> 0;
this.resource = resource ?? this.settings.resource ?? capacity;
const { settings } = this;
this.window = capacity * settings.window! / 100 >>> 0;
this.resource = resource ?? settings.resource ?? capacity;
this.sweeper.resize(
capacity,
this.settings.sweep!.window!,
this.settings.sweep!.room!,
this.settings.sweep!.range!);
settings.sweep!.window!,
settings.sweep!.room!,
settings.sweep!.range!);
this.ensure(0);

@@ -590,0 +591,0 @@ }

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