You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@pacote/memoize

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pacote/memoize - npm Package Compare versions

Comparing version

to
1.1.4

4

CHANGELOG.md

@@ -6,4 +6,8 @@ # Change Log

## [1.1.4](https://github.com/PacoteJS/pacote/compare/@pacote/memoize@1.1.3...@pacote/memoize@1.1.4) (2020-11-14)
**Note:** Version bump only for package @pacote/memoize
## [1.1.3](https://github.com/PacoteJS/pacote/compare/@pacote/memoize@1.1.2...@pacote/memoize@1.1.3) (2020-09-05)
**Note:** Version bump only for package @pacote/memoize

4

package.json
{
"name": "@pacote/memoize",
"description": "Memoization function.",
"version": "1.1.3",
"version": "1.1.4",
"sideEffects": false,

@@ -37,3 +37,3 @@ "license": "MIT",

},
"gitHead": "4c4d0ed47596a23b39f35e4f4ba4ff36481d6aa9"
"gitHead": "67ac2ba383f8cff7243b701c9e0e4b01c4fb8102"
}
# @pacote/memoize
[![Build Status](https://travis-ci.org/PacoteJS/pacote.svg?branch=master)](https://travis-ci.org/PacoteJS/pacote)
![version](https://badgen.net/npm/v/@pacote/memoize)

@@ -23,3 +22,3 @@ ![minified](https://badgen.net/bundlephobia/min/@pacote/memoize)

const memoizedFunction = memoize(prefix => `key_${prefix}`, randomFunction)
const memoizedFunction = memoize((prefix) => `key_${prefix}`, randomFunction)

@@ -26,0 +25,0 @@ memoizedFunction('foo') // 'foo' followed by randomly-generated number.