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

@5app/memoize

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5app/memoize - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.0.1](https://github.com/5app/memoize/compare/v1.0.0...v1.0.1) (2020-02-21)
### Bug Fixes
* **jsdoc:** option descriptions ([3ac9481](https://github.com/5app/memoize/commit/3ac9481627e147d2c308257524c26f9d9bfdb78b))
# 1.0.0 (2020-02-21)

@@ -2,0 +9,0 @@

5

index.js

@@ -16,3 +16,6 @@ /**

* @param {object} opts - Options
* @param {number} opts.staleInMs - Number of milliseconds before the item is regarded as stale
* @param {boolean} [opts.useCached=true] - Whether to serve from previous resolved cached responses
* @param {number} [opts.staleInMs=10000] - Number of milliseconds before the item is regarded as stale
* @param {Function} [opts.getKey=JSON.stringify] - Function used to define the key for use
* @param {object} [opts.cache=new Map()] - Caching function uses Map by default
* @returns {Function} The decorated callback function

@@ -19,0 +22,0 @@ */

2

package.json
{
"name": "@5app/memoize",
"version": "1.0.0",
"version": "1.0.1",
"description": "Memoize decorator",

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

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