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

@wjsc/hold-on

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wjsc/hold-on - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "@wjsc/hold-on",
"version": "1.0.1",
"version": "1.0.2",
"description": "Returns a function execution result or a cached version of it",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -78,3 +78,3 @@ ![Current Version](https://img.shields.io/npm/v/@wjsc/hold-on.svg)

const myFunction = s3.getObject({ Bucket: 'abc', Key: 'abc.txt' });
const myFunction = () => s3.getObject({ Bucket: 'abc', Key: 'abc.txt' });
const myOptimizedFunction = hold(myFunction, 20000);

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