Comparing version 0.4.10 to 0.4.11
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.4.11"></a> | ||
## [0.4.11](https://github.com/medikoo/memoizee/compare/v0.4.10...v0.4.11) (2017-09-11) | ||
### Bug Fixes | ||
* _get and _has internal args handling. ([7cb1c7a](https://github.com/medikoo/memoizee/commit/7cb1c7a)), closes [#88](https://github.com/medikoo/memoizee/issues/88) | ||
<a name="0.4.10"></a> | ||
@@ -7,0 +17,0 @@ ## [0.4.10](https://github.com/medikoo/memoizee/compare/v0.4.9...v0.4.10) (2017-09-07) |
@@ -165,4 +165,6 @@ /* eslint no-eq-null: 0, eqeqeq: 0, no-unused-vars: 0 */ | ||
var id, args = arguments; | ||
if (length === 0) return cache.data; | ||
if (resolve) args = resolve(args); | ||
id = get(args); | ||
if (get) id = get(args); | ||
else id = String(args[0]); | ||
return cache[id]; | ||
@@ -172,4 +174,6 @@ }); | ||
var id, args = arguments; | ||
if (length === 0) return conf.has("data"); | ||
if (resolve) args = resolve(args); | ||
id = get(args); | ||
if (get) id = get(args); | ||
else id = String(args[0]); | ||
if (id === null) return false; | ||
@@ -176,0 +180,0 @@ return conf.has(id); |
{ | ||
"name": "memoizee", | ||
"version": "0.4.10", | ||
"version": "0.4.11", | ||
"description": "Memoize/cache function results", | ||
@@ -5,0 +5,0 @@ "author": "Mariusz Nowak <medikoo@medikoo.com> (http://www.medikoo.com/)", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
263998
60
8175