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 2.0.1 to 2.0.2

28

package.json
{
"name": "pg-query-stream",
"version": "2.0.1",
"version": "2.0.2",
"description": "Postgres query result returned as readable stream",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "mocha",
"lint": "eslint ."
},
"repository": {
"type": "git",
"url": "git://github.com/brianc/node-pg-query-stream.git"
"url": "git://github.com/brianc/node-postgres.git"
},

@@ -22,3 +23,3 @@ "keywords": [

"bugs": {
"url": "https://github.com/brianc/node-pg-query-stream/issues"
"url": "https://github.com/brianc/node-postgres/issues"
},

@@ -28,11 +29,5 @@ "devDependencies": {

"concat-stream": "~1.0.1",
"eslint": "^4.4.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"mocha": "^6.2.2",
"pg": "^7.5.0",
"prettier": "^1.18.2",
"pg": "^7.15.2",
"stream-spec": "~0.3.5",

@@ -42,11 +37,6 @@ "stream-tester": "0.0.5",

},
"prettier": {
"semi": false,
"printWidth": 120,
"trailingComma": "es5",
"singleQuote": true
"dependencies": {
"pg-cursor": "^2.0.3"
},
"dependencies": {
"pg-cursor": "^2.0.1"
}
"gitHead": "dfae78e383ee33eac074fa93aa2fbb3d68f527b9"
}

@@ -7,3 +7,3 @@ var helper = require('./helper')

var mapper = new Transform({objectMode: true})
var mapper = new Transform({ objectMode: true })

@@ -18,3 +18,3 @@ mapper._transform = function (obj, enc, cb) {

this.timeout(50000)
var stream = new QueryStream('SELECT * FROM generate_series(0, 201) num', [], {highWaterMark: 100, batchSize: 50})
var stream = new QueryStream('SELECT * FROM generate_series(0, 201) num', [], { highWaterMark: 100, batchSize: 50 })
stream.on('end', function () {

@@ -21,0 +21,0 @@ // console.log('stream end')

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