New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-structures

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-structures - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

5

index.d.ts

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

import type { CompareFunction, FilterFunction, MapFunction, ReduceFunction, TraverseCallback } from './_shared';
import { TraverseMethod } from './_shared';
import { DoublyLinkedList } from './list';

@@ -5,2 +7,3 @@ import { Queue } from './queue';

import { BinarySearchTree } from './tree';
export { DoublyLinkedList, Queue, Stack, BinarySearchTree, };
export type { CompareFunction, FilterFunction, MapFunction, ReduceFunction, TraverseCallback, };
export { DoublyLinkedList, Queue, Stack, BinarySearchTree, TraverseMethod, };

3

index.js

@@ -0,1 +1,2 @@

import { TraverseMethod } from './_shared';
import { DoublyLinkedList } from './list';

@@ -5,2 +6,2 @@ import { Queue } from './queue';

import { BinarySearchTree } from './tree';
export { DoublyLinkedList, Queue, Stack, BinarySearchTree, };
export { DoublyLinkedList, Queue, Stack, BinarySearchTree, TraverseMethod, };
{
"name": "ts-structures",
"version": "0.1.2",
"version": "0.1.3",
"description": "TypeScript implementation of common data structures",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,3 +9,3 @@ # TypeScript Datastructures

Implementation of common data structures, TypeScript pendant of my [go-datastructures repo](https://github.com/gregoryalbouy/go-datastructures).
As a huge Go enthusiast, I must admit that working with a language that support Generics is quite a relief. (Can't wait for Go to implement them!)
(As a huge Go enthusiast, I must admit that working with a language that support Generics is quite a relief.)

@@ -12,0 +12,0 @@ ## About

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