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

bbop-graph-noctua

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bbop-graph-noctua - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

.travis.yml

2

package.json
{
"name": "bbop-graph-noctua",
"version": "0.0.34",
"version": "0.0.35",
"license": "BSD-3-Clause",

@@ -5,0 +5,0 @@ "description": "A subclass of bbop-graph that layers on a complete annotation and graph editing model for the Noctua set of tools.",

@@ -1096,5 +1096,5 @@ ////

describe("types, inferred_types, and inferred_types_with_all", function(){
describe("types, root_types, inferred_types, and inferred_types_with_all", function(){
it('inferred (+with all) found', function(){
it('inferred (+with all) found, no root', function(){

@@ -1108,2 +1108,3 @@ var raw_resp =

var n = g.get_node('gomodel:5d88482400000052/5d88482400000053');
assert.equal(n.types().length, 1, 'has 1 type');

@@ -1118,4 +1119,26 @@ assert.equal(n.inferred_types().length, 0, 'may be a bug?');

// This model has not root types (older), so let's make sure we
// can deal with this quirk...
assert.equal(n.root_types().length, 0, 'has no root types');
});
it('root types found in "new" response', function(){
var raw_resp =
require('./response-gomodel-596ef51500000088-2020-07-01.json');
var g = new model.graph();
g.load_data_basic(raw_resp['data']);
//g.report_state(); console.log('');
var n = g.get_node('gomodel:596ef51500000088/5b91dbd100000466');
assert.equal(n.types().length, 1, 'has 1 type');
assert.equal(n.root_types().length, 3,
'three root types');
assert.equal(n.inferred_types().length, 0,
'no inferred types--reasoner off');
});
});

@@ -1122,0 +1145,0 @@

Sorry, the diff of this file is too big to display

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