Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

libtuple

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libtuple - npm Package Compare versions

Comparing version
0.0.3
to
0.0.4
+1
-1
package.json
{
"name": "libtuple",
"version": "0.0.3",
"version": "0.0.4",
"author": "Sean Morris",

@@ -5,0 +5,0 @@ "description": "Memory-efficient tuple implementation.",

@@ -1,3 +0,1 @@

const WeakMap = globalThis.WeakMap;
const Map = globalThis.Map;
const refTree = new WeakMap;

@@ -15,3 +13,3 @@ const terminator = Object.create(null);

{
throw new globalThis.Error('"Tuple" is not a constructor. Create a Tuple by invoking the function directly.');
throw new Error('"Tuple" is not a constructor. Create a Tuple by invoking the function directly.');
}

@@ -39,3 +37,3 @@

{
throw new globalThis.Error('Symbols cannot participate in Tuples.');
throw new Error('Symbols cannot participate in Tuples.');
}

@@ -42,0 +40,0 @@