presto-client
Advanced tools
Comparing version 0.12.2 to 0.13.0
@@ -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 |
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
Potential vulnerability
Supply chain riskInitial human review suggests the presence of a vulnerability in this package. It is pending further analysis and confirmation.
Found 1 instance in 1 package
26484
252
2