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

hyperion-graph

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperion-graph - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

8

index.js

@@ -76,3 +76,3 @@ var q = require('q');

/**
* The HpyerionGraph implements time based graph model proposed by
* The HyperionGraph implements time based graph model proposed by
* http://www.neo4j.org/graphgist?608bf0701e3306a23e77.

@@ -83,3 +83,3 @@ *

*/
var HpyerionGraph = function(neo4jDb) {
var HyperionGraph = function(neo4jDb) {
this._db = neo4jDb;

@@ -89,3 +89,3 @@ this._useTransactions = true; // TODO expose in future :)

HpyerionGraph.prototype.insertNode = function(id, label, data) {
HyperionGraph.prototype.insertNode = function(id, label, data) {
var nodeLabel = label

@@ -108,3 +108,3 @@ , stateNodeLabel = nodeLabel + 'State'

HpyerionGraph.prototype.updateNode = function(id, label, data) {
HyperionGraph.prototype.updateNode = function(id, label, data) {
var nodeLabel = label

@@ -111,0 +111,0 @@ , stateNodeLabel = nodeLabel + 'State'

{
"name": "hyperion-graph",
"version": "0.0.2",
"version": "0.0.3",
"description": "A wrapper for node-neo4j for keeping a history of graph changes.",

@@ -22,5 +22,7 @@ "main": "index.js",

"dependencies": {
"node-neo4j": "^2.0.3",
"q": "^1.1.2"
},
"peerDependencies": {
"node-neo4j": "^2.0.3"
}
}
# hyperion-graph
[![npm version](https://badge.fury.io/js/hyperion-graph.svg)](http://badge.fury.io/js/hyperion-graph)

@@ -18,3 +19,3 @@ `hyperion-graph` is a wrapper around [`node-neo4j`](https://github.com/philippkueng/node-neo4j) and allows to create and modify history aware, time based [`Neo4j`](http://neo4j.com/) graphs as described in http://www.neo4j.org/graphgist?608bf0701e3306a23e77.

, adapter = new Hyperion(db);
adapter.insertNode(1701, 'Spaceship', {

@@ -40,2 +41,2 @@ brand: 'Starfleet'

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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