Socket
Socket
Sign inDemoInstall

umap

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

umap - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

9

cjs/index.js

@@ -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",

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