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 2.0.2 to 2.0.3

2

package.json
{
"name": "jseg",
"version": "2.0.2",
"version": "2.0.3",
"description": "JavaScript Entity Graph: A super simple, in-memory, JS graph database.",

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

@@ -106,3 +106,4 @@ let {getOwn, eachPair, objEmpty, StringMap} = require('./util');

if (!field) {
this._log('unknown field', fieldName, 'on', obj.type);
this._log('unknown field', JSON.stringify(fieldName),
'on', obj.type._name);
return;

@@ -216,2 +217,3 @@ }

}
obj[name] = other;
let set = other[reverse.name];

@@ -218,0 +220,0 @@ if (!set) {

@@ -125,1 +125,19 @@ let assert = require('assert');

tg.g.put({
type: t.Node,
lid: 'x',
parent: {lid: 'root'},
});
tg.check('x', {
type: t.Node,
lid: 'x',
parent: {
type: t.Node,
lid: 'root',
children: [
{lid: 'x'},
],
},
});

@@ -25,3 +25,3 @@ let assert = require('assert');

tg.expectMessage('unknown field mystery', () => {
tg.expectMessage('unknown field "mystery"', () => {
tg.g.put({

@@ -28,0 +28,0 @@ type: t.Thing,

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