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

@applitools/functional-commons

Package Overview
Dependencies
Maintainers
12
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/functional-commons - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

2

package.json
{
"name": "@applitools/functional-commons",
"version": "1.0.20",
"version": "1.0.21",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/functional-commons.js",

@@ -7,3 +7,3 @@ 'use strict'

func,
{maxCallsPerMinute = 120, now = Date.now, timeSpan = ONE_MINUTE_IN_MILLIS},
{maxCallsPerTimeSpan = 120, now = Date.now, timeSpan = ONE_MINUTE_IN_MILLIS},
) {

@@ -21,5 +21,5 @@ let start = now()

++countLogsInMinute
if (countLogsInMinute > maxCallsPerMinute) {
if (countLogsInMinute > maxCallsPerTimeSpan) {
if (!loggedWarning) {
func('throttling debug messages because max of %d exceeded', maxCallsPerMinute)
func('throttling debug messages because max of %d exceeded', maxCallsPerTimeSpan)
loggedWarning = true

@@ -26,0 +26,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