pg-query-stream
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"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') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8
17787
20
Updatedpg-cursor@^2.0.3