memoizerific
Advanced tools
Comparing version 1.11.0 to 1.11.1
{ | ||
"name": "memoizerific", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "Fast, small, efficient JavaScript memoization lib to memoize JS functions", | ||
@@ -31,3 +31,3 @@ "author": "Baz <baz@thinkloop.com>", | ||
"build": "npm run -s build:all", | ||
"publish_to_npm": "npm version minor && git push && git push --tags && npm publish", | ||
"publish_to_npm": "npm version patch && git push && git push --tags && npm publish", | ||
"_": "", | ||
@@ -34,0 +34,0 @@ "test:map": "FORCE_SIMILAR_INSTEAD_OF_MAP=false JASMINE_CONFIG_PATH=./jasmine.json jasmine", |
@@ -84,3 +84,3 @@ # Memoizerific.js | ||
## Strict Equality | ||
## Equality | ||
Arguments are compared using strict equality. | ||
@@ -101,3 +101,3 @@ A complex object will only trigger a cache hit if it refers to the exact same object in memory, | ||
This is because a new object is being created on each invocation, rather than the same object being passed in. | ||
To _fix_ it, the argument can be saved in a common variable: | ||
To _fix_ this, the argument can be saved in a common variable: | ||
@@ -131,3 +131,3 @@ ```javascript | ||
## Comparison | ||
## Compared | ||
There are many memoization libs available for JavaScript. Some of them have specialized use-cases, such as memoizing file-system access, or server async requests. | ||
@@ -134,0 +134,0 @@ While others, such as this one, tackle the more general case of memoizing standard synchronous functions. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40195