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

execute-once

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

execute-once - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "execute-once",
"version": "1.0.2",
"version": "1.0.3",
"description": "Execute a high order function just once, successive calls will eventually return the previous result.",

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

@@ -31,4 +31,4 @@ execute-once

let result2 = sumOnce.execute(() => sum(2,3))
console.log(result) // result is still 3 so for each new function you need to instantiate the executeOnce again
console.log(result2) // result is still 3 so for each new function you need to instantiate the executeOnce again
```
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