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

@graffy/common

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graffy/common - npm Package Compare versions

Comparing version 0.14.6-alpha6 to 0.14.6-alpha7

10

build/finalize.js

@@ -24,5 +24,13 @@ "use strict";

}];
return (0, _sliceInstanceProperty(_graph))((0, _graph.setVersion)((0, _graph.merge)(empty, graph), version), query).known;
var res = (0, _sliceInstanceProperty(_graph))((0, _graph.setVersion)((0, _graph.merge)(empty, graph), version), query, {
addLinked: function addLinked() {
/*
This is quite a hacky way to prevent slice from trying to expand
links.
*/
}
}).known;
return res;
}
module.exports = exports.default;

2

graph/slice.js

@@ -85,3 +85,3 @@ "use strict";

currentQuery = result.linked;
currentQuery = root ? undefined : result.linked;
delete result.linked;

@@ -88,0 +88,0 @@ }

@@ -5,3 +5,3 @@ {

"author": "aravind (https://github.com/aravindet)",
"version": "0.14.6-alpha6",
"version": "0.14.6-alpha7",
"main": "index.js",

@@ -8,0 +8,0 @@ "source": "src/index.js",

@@ -5,3 +5,11 @@ import { slice, merge, setVersion } from '../graph';

const empty = [{ key: '', end: '\uffff', version: 0 }];
return slice(setVersion(merge(empty, graph), version), query).known;
const res = slice(setVersion(merge(empty, graph), version), query, {
addLinked: () => {
/*
This is quite a hacky way to prevent slice from trying to expand
links.
*/
},
}).known;
return res;
}

@@ -52,3 +52,3 @@ import {

}
currentQuery = result.linked;
currentQuery = root ? undefined : result.linked;
delete result.linked;

@@ -55,0 +55,0 @@ }

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