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

sparqljson-parse

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sparqljson-parse - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

lib/SparqlJsonParser.js

@@ -29,4 +29,7 @@ "use strict";

parseJsonResultsStream(sparqlResponseStream) {
return sparqlResponseStream.pipe(require('JSONStream').parse('results.bindings.*'))
sparqlResponseStream.on('error', (error) => resultStream.emit('error', error));
const resultStream = sparqlResponseStream
.pipe(require('JSONStream').parse('results.bindings.*'))
.pipe(new SparqlJsonBindingsTransformer_1.SparqlJsonBindingsTransformer(this));
return resultStream;
}

@@ -86,2 +89,3 @@ /**

return new Promise((resolve, reject) => {
sparqlResponseStream.on('error', reject);
sparqlResponseStream.pipe(require('JSONStream').parse('boolean'))

@@ -88,0 +92,0 @@ .on('data', resolve)

5

package.json
{
"name": "sparqljson-parse",
"version": "1.1.0",
"version": "1.1.1",
"description": "Parses SPARQL JSON query results",

@@ -62,3 +62,4 @@ "keywords": [

],
"collectCoverage": true
"collectCoverage": true,
"testEnvironment": "node"
},

@@ -65,0 +66,0 @@ "scripts": {

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