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

pg-query-stream

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-query-stream - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

test/config.js

9

index.js

@@ -20,9 +20,6 @@ var assert = require('assert')

var QueryStream = module.exports = function(text, values, options) {
options = options || {
highWaterMark: 100,
batchSize: 100
}
options = options || { }
Readable.call(this, {
objectMode: true,
highWaterMark: 100
highWaterMark: options.highWaterMark || 1000
})

@@ -34,3 +31,3 @@ this.text = text

this._result = new Result()
this.batchSize = 100
this.batchSize = options.batchSize || 100
this._idle = true

@@ -37,0 +34,0 @@ }

{
"name": "pg-query-stream",
"version": "0.1.2",
"version": "0.2.0",
"description": "Postgres query result returned as readable stream",
"main": "index.js",
"scripts": {
"test": "node test"
"test": "make test"
},

@@ -9,0 +9,0 @@ "repository": {

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