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

@tidbcloud/serverless

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tidbcloud/serverless - npm Package Compare versions

Comparing version 0.0.11-beta1 to 0.0.11-beta2

1

dist/index.d.ts

@@ -36,3 +36,2 @@ interface ServerlessError {

debug?: boolean;
disableCompression?: boolean;
}

@@ -39,0 +38,0 @@ interface ExecuteOptions {

10

dist/index.js

@@ -132,3 +132,3 @@ // src/format.ts

// src/version.ts
var Version = "0.0.11-beta1";
var Version = "0.0.11-beta2";

@@ -157,3 +157,4 @@ // src/serverless.ts

"TiDB-Session": session,
"X-Debug-Trace-Id": requestId
"X-Debug-Trace-Id": requestId,
"Accept-Encoding": "gzip"
};

@@ -163,5 +164,2 @@ if (isolationLevel) {

}
if (!config.disableCompression) {
headers["Accept-Encoding"] = "gzip";
}
const response = await fetch2(url.toString(), {

@@ -176,2 +174,4 @@ method: "POST",

console.log(`[serverless-js debug] response id: ${traceId}`);
const contentEncoding = response?.headers?.get("Content-Encoding");
console.log(`[serverless-js debug] Content-Encoding: ${contentEncoding}`);
}

@@ -178,0 +178,0 @@ if (response.ok) {

{
"name": "@tidbcloud/serverless",
"version": "0.0.11-beta1",
"version": "0.0.11-beta2",
"description": "TiDB Cloud Serverless Driver",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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