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

cypher-stream

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypher-stream - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

index.js

@@ -25,3 +25,3 @@ var oboe = require('oboe');

columns.forEach(function (column, i) {
data[column] = result[i].data;
data[column] = result[i].data || result[i];
});

@@ -28,0 +28,0 @@ stream.push(data);

{
"name": "cypher-stream",
"version": "0.1.4",
"version": "0.1.5",
"description": "Streams cypher query results in a clean format",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -56,3 +56,3 @@ var should = require('should');

cypher('match (n:Test) return n limit 1')
.on('data', function() {
.on('data', function () {
throw expectedError;

@@ -72,2 +72,12 @@ })

});
it('returns non-node results', function (done) {
cypher('match (n:Test) return labels(n) as labels limit 1')
.on('data', function (result) {
result.labels[0].should.equal('Test');
})
.on('end', function () {
done();
});
});
});
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