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

p-throttle

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-throttle - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

6

index.d.ts

@@ -13,4 +13,4 @@ declare class AbortErrorClass extends Error {

declare namespace pThrottle {
type ThrottledFunction<Argument, ReturnValue> = ((
...arguments: Argument[]
type ThrottledFunction<Argument extends readonly unknown[], ReturnValue> = ((
...arguments: Argument
) => PromiseResolve<ReturnValue>) & {

@@ -82,5 +82,5 @@ /**

options: pThrottle.Options
): <Argument, ReturnValue>(function_: (...arguments: Argument[]) => ReturnValue) => pThrottle.ThrottledFunction<Argument, ReturnValue>;
): <Argument extends readonly unknown[], ReturnValue>(function_: (...arguments: Argument) => ReturnValue) => pThrottle.ThrottledFunction<Argument, ReturnValue>;
};
export = pThrottle;
{
"name": "p-throttle",
"version": "4.1.0",
"version": "4.1.1",
"description": "Throttle promise-returning & async functions",

@@ -5,0 +5,0 @@ "license": "MIT",

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