typescript-memoize
typescript-memoize copied to clipboard
A memoize decorator for Typescript
On [npmjs.com](https://www.npmjs.com/package/typescript-memoize) I see the license it set to MIT but the repository doesn't contain the license file. Please provide license information and file in the project. Thank you :)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.2. Changelog Sourced from log4js's changelog. 6.4.2 bug: fixed fileSync appender to create directory recursively - thanks @peteriman bug: fixed serialise() for NaN, Infinity, -Infinity...
Hey! Cool package, thanks for that! I have a suggestion... In a long running node process it might be useful to memoize things like DB/file access. I appreciate this might...
Using LRU cache https://www.npmjs.com/package/lru-cache would handle the duration and allow for more complex cache eviction policies. Seems like a no brainer to me UNLESS you are trying to keep zero...
Warning while compiling: ``` WARNING in ./node_modules/typescript-memoize/dist/memoize-decorator.js 3:24-31 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted ``` Error in browser: ``` Error:...
Update documentation for auto-hash included from PR #10
Hi, I've seen you are setting a variable directly in the [target object](https://github.com/darrylhodgins/typescript-memoize/blob/master/src/memoize-decorator.ts#L22): I can suggest 2 alternative to prevent having possible collisions with another namespace (its very unlikely but...
I'm using https://github.com/storybooks/storybook along with Typescript 2.4.2 - `storybook` uses `webpack` to generate its output. When using `typescript-memoize`, I get the following: ``` WARNING in ./node_modules/typescript-memoize/dist/memoize-decorator.js 3:24-31 Critical dependency: require...