Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@algorithm.ts/trie

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algorithm.ts/trie - npm Package Compare versions

Comparing version 1.0.22 to 1.0.23

4

lib/types/trie.d.ts

@@ -5,3 +5,3 @@ import type { Trie } from './types';

*/
export interface CreateTrieOptions<T extends unknown = number> {
export interface CreateTrieOptions<T = number> {
/**

@@ -31,2 +31,2 @@ * The maximum number of children a parent node can have.

}
export declare function createTrie<T extends unknown = number>({ SIGMA_SIZE, ZERO, idx, mergeAdditionalValues, }: CreateTrieOptions<T>): Trie<T>;
export declare function createTrie<T = number>({ SIGMA_SIZE, ZERO, idx, mergeAdditionalValues, }: CreateTrieOptions<T>): Trie<T>;
/**
* Result (s) data of the Trie.find, Tried.findAll
*/
export interface TrieNodeData<T extends unknown = number> {
export interface TrieNodeData<T = number> {
/**

@@ -25,3 +25,3 @@ * The ending position of the original string.

*/
export interface Trie<T extends unknown = number> {
export interface Trie<T = number> {
/**

@@ -28,0 +28,0 @@ * Initialize a trie.

{
"name": "@algorithm.ts/trie",
"version": "1.0.22",
"version": "1.0.23",
"description": "Trie",

@@ -45,3 +45,3 @@ "author": {

},
"gitHead": "d4af2ac47f6a8d2a22eee8763be73b3770d4754d"
"gitHead": "cc8576431cceb414f18f481788d5df198deeb464"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc