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

mem

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mem - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

@@ -6,3 +6,3 @@ 'use strict';

var cacheKey = opts.cacheKey || function (x) {
if (arguments.length === 1 && x === null || x === undefined || (typeof x !== 'function' && typeof x !== 'object')) {
if (arguments.length === 1 && (x === null || x === undefined || (typeof x !== 'function' && typeof x !== 'object'))) {
return x;

@@ -9,0 +9,0 @@ }

{
"name": "mem",
"version": "0.1.0",
"description": "Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical inputs",
"version": "0.1.1",
"description": "Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "sindresorhus/mem",

# mem [![Build Status](https://travis-ci.org/sindresorhus/mem.svg?branch=master)](https://travis-ci.org/sindresorhus/mem)
> [Memoize](https://en.wikipedia.org/wiki/Memoization) functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical inputs
> [Memoize](https://en.wikipedia.org/wiki/Memoization) functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input

@@ -5,0 +5,0 @@ Requires at least Node.js 0.12, unless you provide your own `cache` store.

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