Socket
Socket
Sign inDemoInstall

@wry/trie

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

LICENSE

2

lib/trie.d.ts

@@ -7,3 +7,3 @@ export declare class Trie<Data> {

private data?;
constructor(weakness: boolean, makeData?: (array: any[]) => Data);
constructor(weakness?: boolean, makeData?: (array: any[]) => Data);
lookup<T extends any[]>(...array: T): Data;

@@ -10,0 +10,0 @@ lookupArray<T extends IArguments | any[]>(array: T): Data;

@@ -11,2 +11,3 @@ // A [trie](https://en.wikipedia.org/wiki/Trie) data structure that holds

function Trie(weakness, makeData) {
if (weakness === void 0) { weakness = true; }
if (makeData === void 0) { makeData = defaultMakeData; }

@@ -13,0 +14,0 @@ this.weakness = weakness;

@@ -15,2 +15,3 @@ 'use strict';

function Trie(weakness, makeData) {
if (weakness === void 0) { weakness = true; }
if (makeData === void 0) { makeData = defaultMakeData; }

@@ -17,0 +18,0 @@ this.weakness = weakness;

{
"name": "@wry/trie",
"version": "0.2.0",
"version": "0.2.1",
"author": "Ben Newman <ben@eloper.dev>",

@@ -37,3 +37,3 @@ "description": "https://en.wikipedia.org/wiki/Trie",

},
"gitHead": "c80cc87d7c01c19b4c2dd808e5a71835e8c82fb1"
"gitHead": "886df9d6df8f7c0525a789b91a262ec0f993ef2a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc