Socket
Socket
Sign inDemoInstall

@unction/attach

Package Overview
Dependencies
1
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

3

index.js

@@ -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)}`)

2

package.json
{
"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 @@ {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc