Comparing version 1.0.1 to 1.0.2
@@ -8,9 +8,4 @@ 'use strict'; | ||
// so let's use the approach that works fast everywhere 👍 | ||
get(key) { | ||
return _.get(key); | ||
}, | ||
set(key, value) { | ||
_.set(key, value); | ||
return value; | ||
} | ||
get: key => _.get(key), | ||
set: (key, value) => (_.set(key, value), value) | ||
}); |
@@ -7,9 +7,4 @@ export default _ => ({ | ||
// so let's use the approach that works fast everywhere 👍 | ||
get(key) { | ||
return _.get(key); | ||
}, | ||
set(key, value) { | ||
_.set(key, value); | ||
return value; | ||
} | ||
get: key => _.get(key), | ||
set: (key, value) => (_.set(key, value), value) | ||
}); |
@@ -15,5 +15,3 @@ var umap = (function (exports) { | ||
set: function set(key, value) { | ||
_.set(key, value); | ||
return value; | ||
return _.set(key, value), value; | ||
} | ||
@@ -20,0 +18,0 @@ }; |
{ | ||
"name": "umap", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "The smallest, yet handy, Map and WeakMap utility ever", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
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
5631
40