Comparing version 1.0.2 to 1.0.3
'use strict'; | ||
module.exports = (function () { | ||
function _Map(key, value) { | ||
return new Map([[key, value]]); | ||
} | ||
Map.prototype.setOrPush = function (key, value) { | ||
@@ -4,0 +9,0 @@ if (this.has(key)) { |
@@ -9,2 +9,7 @@ /** | ||
module.exports = (function () { | ||
function _Set(value) { | ||
return new Set([value]); | ||
} | ||
Set.prototype.deepMapAppendOrNew = function (key, value) { | ||
@@ -11,0 +16,0 @@ var self = this; |
{ | ||
"name": "le-map-e", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Some es6 Map() functions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
27918
175