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

presto-client

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

presto-client - npm Package Compare versions

Comparing version 0.12.2 to 0.13.0

2

lib/presto-client/index.js

@@ -200,3 +200,3 @@ const { URL } = require('url') ;

var header = {};
var header = Object.assign({}, opts.headers);
if (opts.catalog || this.catalog) {

@@ -203,0 +203,0 @@ header[client.headers.CATALOG] = opts.catalog || this.catalog;

{
"name": "presto-client",
"version": "0.12.2",
"version": "0.13.0",
"description": "Distributed query engine Presto/Trino client library for node.js",

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

@@ -102,2 +102,4 @@ # presto-client-node

* fetch query info (execution statistics) for success callback, or not (default false)
* headers [object :optional]
* additional headers to be included in the request, check the full list for [Trino](https://trino.io/docs/current/develop/client-protocol.html#client-request-headers) and [Presto](https://prestodb.io/docs/current/develop/client-protocol.html#client-request-headers) engines
* cancel [function() :optional]

@@ -184,2 +186,4 @@ * client stops fetch of query results if this callback returns `true`

* 0.13.0:
* add "headers" option on execute() to specify any request headers
* 0.12.2:

@@ -186,0 +190,0 @@ * fix the bug of the "prepares" option

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