@unction/attach
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -29,5 +29,2 @@ import type from "@unction/type" | ||
} | ||
case "WeakMap": { | ||
throw new Error(`attach doesn't know how to set a key and value on ${type(functor)}`) | ||
} | ||
default: { | ||
@@ -34,0 +31,0 @@ throw new Error(`attach doesn't know how to set a key and value on ${type(functor)}`) |
{ | ||
"name": "@unction/attach", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A polymorphic way to attach a value to the key on a keyed iterable", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -44,6 +44,2 @@ "use strict"; | ||
} | ||
case "WeakMap": | ||
{ | ||
throw new Error("attach doesn't know how to set a key and value on " + (0, _type2.default)(functor)); | ||
} | ||
default: | ||
@@ -50,0 +46,0 @@ { |
185182
4828