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

@seald-io/binary-search-tree

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seald-io/binary-search-tree - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

CHANGELOG.md

@@ -9,2 +9,9 @@ # Changelog

## [1.0.3] - 2023-01-19
### Changed
- Correctly log object keys [#1](https://github.com/seald/node-binary-search-tree/pull/1)
## [1.0.2] - 2021-05-19

@@ -11,0 +18,0 @@

2

lib/avltree.js

@@ -261,3 +261,3 @@ /**

if (currentNode.unique) {
const err = new Error(`Can't insert key ${key}, it violates the unique constraint`)
const err = new Error(`Can't insert key ${JSON.stringify(key)}, it violates the unique constraint`)
err.key = key

@@ -264,0 +264,0 @@ err.errorType = 'uniqueViolated'

@@ -182,3 +182,3 @@ /**

if (this.unique) {
const err = new Error(`Can't insert key ${key}, it violates the unique constraint`)
const err = new Error(`Can't insert key ${JSON.stringify(key)}, it violates the unique constraint`)
err.key = key

@@ -185,0 +185,0 @@ err.errorType = 'uniqueViolated'

{
"name": "@seald-io/binary-search-tree",
"version": "1.0.2",
"version": "1.0.3",
"author": {

@@ -5,0 +5,0 @@ "name": "Timothée Rebours",

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