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

pg-promise

Package Overview
Dependencies
Maintainers
1
Versions
630
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-promise - npm Package Compare versions

Comparing version 10.7.5-beta.0 to 10.7.5-beta.1

5

lib/text.js

@@ -12,2 +12,5 @@ /*

const streamVersion = require(`../package.json`)
.devDependencies[`pg-query-stream`];
module.exports = {

@@ -31,3 +34,3 @@ nativeError: `Failed to initialize Native Bindings.`,

nativeStreaming: `Streaming doesn't work with Native Bindings.`,
invalidStream: `Invalid or missing stream object: pg-query-stream >= v3.4.2 was expected`,
invalidStream: `Invalid or missing stream object: pg-query-stream >= v${streamVersion} was expected`,
invalidStreamState: `Invalid stream state.`,

@@ -34,0 +37,0 @@ invalidStreamCB: `Invalid or missing stream initialization callback.`,

2

package.json
{
"name": "pg-promise",
"version": "10.7.5-beta.0",
"version": "10.7.5-beta.1",
"description": "PostgreSQL interface for Node.js",

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

@@ -364,3 +364,3 @@ /*

// API: http://vitaly-t.github.io/pg-promise/Database.html#stream
stream(qs: object, init: (stream: NodeJS.ReadableStream) => void): XPromise<{ processed: number, duration: number }>
stream(qs: NodeJS.ReadableStream, init: (stream: NodeJS.ReadableStream) => void): XPromise<{ processed: number, duration: number }>

@@ -367,0 +367,0 @@ // API: http://vitaly-t.github.io/pg-promise/Database.html#func

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