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

jseg

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jseg - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

lib/index.js

@@ -196,3 +196,3 @@ 'use strict';

var inside = {};
var depth = 0;
var depth = 1;
var rec = function rec(lid) {

@@ -199,0 +199,0 @@ if (maxDepth && depth > maxDepth || inside[lid]) {

{
"name": "jseg",
"version": "1.1.0",
"version": "1.2.0",
"description": "JavaScript Entity Graph: A super simple, in-memory, JS graph database.",

@@ -5,0 +5,0 @@ "repository": {

@@ -160,3 +160,3 @@ let baseSchema = {

let inside = {};
let depth = 0;
let depth = 1;
let rec = (lid) => {

@@ -163,0 +163,0 @@ if ((maxDepth && depth > maxDepth) || inside[lid]) {

@@ -621,2 +621,9 @@ import * as assert from 'assert';

lid: 'b',
},
}, {maxDepth: 1});
check('a', {
lid: 'a',
next: {
lid: 'b',
next: {

@@ -629,3 +636,3 @@ lid: 'c',

},
}, {maxDepth: 1});
}, {maxDepth: 2});

@@ -649,2 +656,2 @@ check('a', {

},
}, {maxDepth: 2});
}, {maxDepth: 3});
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