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

@thi.ng/memoize

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/memoize - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

api.d.ts.map

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/memoize@1.1.5...@thi.ng/memoize@1.1.6) (2019-11-30)
**Note:** Version bump only for package @thi.ng/memoize
## [1.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/memoize@1.1.4...@thi.ng/memoize@1.1.5) (2019-11-09)

@@ -8,0 +16,0 @@

28

package.json
{
"name": "@thi.ng/memoize",
"version": "1.1.5",
"description": "Function memoization with configurable caches",
"version": "1.1.6",
"description": "Function memoization with configurable caching",
"module": "./index.js",

@@ -21,18 +21,21 @@ "main": "./lib/index.js",

"build:test": "rimraf build && tsc -p test/tsconfig.json",
"test": "yarn build:test && mocha build/test/*.js",
"cover": "yarn build:test && nyc mocha build/test/*.js && nyc report --reporter=lcov",
"test": "mocha test",
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"doc:readme": "../../scripts/generate-readme",
"doc": "node_modules/.bin/typedoc --mode modules --out doc src",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/mocha": "^5.2.6",
"@types/node": "^12.6.3",
"mocha": "^6.1.4",
"@types/node": "^12.12.11",
"mocha": "^6.2.2",
"nyc": "^14.0.0",
"typedoc": "^0.15.0",
"typescript": "^3.6.4"
"ts-node": "^8.5.2",
"typedoc": "^0.15.2",
"typescript": "^3.7.2"
},
"dependencies": {
"@thi.ng/api": "^6.5.0"
"@thi.ng/api": "^6.6.0"
},

@@ -50,3 +53,6 @@ "keywords": [

"sideEffects": false,
"gitHead": "97add769f24aa32a1a5e13c5c941605e1b9eb569"
"thi.ng": {
"year": 2018
},
"gitHead": "36c4d9e967bd80ccdbfa0f4a42f594080f95f105"
}

@@ -0,1 +1,3 @@

<!-- This file is generated - DO NOT EDIT! -->
# @thi.ng/memoize

@@ -10,22 +12,22 @@

<!-- TOC depthFrom:2 depthTo:3 -->
- [About](#about)
- [Status](#status)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Usage examples](#usage-examples)
- [Optimized version for single arg functions](#optimized-version-for-single-arg-functions)
- [Arbitrary args](#arbitrary-args)
- [Via JSON.stringify()](#via-jsonstringify)
- [API](#api)
- [Optimized version for single arg functions](#optimized-version-for-single-arg-functions)
- [Arbitrary args](#arbitrary-args)
- [Via JSON.stringify()](#via-json-stringify--)
- [Authors](#authors)
- [License](#license)
<!-- /TOC -->
## About
Function memoization with configurable caching.
This package provides different function memoization implementations for
functions with 1 or more arguments and custom result caching using ES6
Map API like implementations. Unlike native ES6 Maps, **the
implementations MUST support value, not referential, equality
implementations MUST support value, not just referential, equality
semantics** (e.g. those provided by

@@ -38,2 +40,6 @@ [@thi.ng/associative](https://github.com/thi-ng/umbrella/tree/master/packages/associative))

### Status
**STABLE** - used in production
## Installation

@@ -51,2 +57,16 @@

Several demos in this repo's
[/examples](https://github.com/thi-ng/umbrella/tree/master/examples)
directory are using this package.
A selection:
### rstream-spreadsheet <!-- NOTOC -->
[Live demo](https://demo.thi.ng/umbrella/rstream-spreadsheet/) | [Source](https://github.com/thi-ng/umbrella/tree/master/examples/rstream-spreadsheet)
## API
[Generated API docs](https://docs.thi.ng/umbrella/memoize/)
```ts

@@ -119,6 +139,6 @@ import * as m from "@thi.ng/memoize";

- Karsten Schmidt
Karsten Schmidt
## License
&copy; 2018 Karsten Schmidt // Apache Software License 2.0
&copy; 2018 - 2019 Karsten Schmidt // Apache Software License 2.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