New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@garfish/utils

Package Overview
Dependencies
Maintainers
8
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garfish/utils - npm Package Compare versions

Comparing version 1.13.4 to 1.13.5

4

dist/esm/index.js

@@ -444,5 +444,5 @@ // src/utils.ts

}
function macroTask(value) {
function macroTask(value, time = 0) {
return new Promise((resolve) => {
setTimeout(() => resolve(value));
setTimeout(() => resolve(value), time);
});

@@ -449,0 +449,0 @@ }

@@ -51,3 +51,3 @@ import { interfaces } from '@garfish/core';

declare function getSourceURL(url: string | URL | Request): string;
declare function macroTask<T extends any>(value: T): Promise<T>;
declare function macroTask<T extends any>(value: T, time?: number): Promise<T>;

@@ -54,0 +54,0 @@ declare class Queue {

@@ -552,5 +552,5 @@ var __create = Object.create;

}
function macroTask(value) {
function macroTask(value, time = 0) {
return new Promise((resolve) => {
setTimeout(() => resolve(value));
setTimeout(() => resolve(value), time);
});

@@ -557,0 +557,0 @@ }

{
"name": "@garfish/utils",
"version": "1.13.4",
"version": "1.13.5",
"description": "utils module.",

@@ -30,3 +30,3 @@ "keywords": [

"devDependencies": {
"@garfish/core": "1.13.4"
"@garfish/core": "1.13.5"
},

@@ -33,0 +33,0 @@ "publishConfig": {

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