New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

svb-client

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svb-client - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

7

client.js

@@ -78,2 +78,9 @@ //

post: function(path, postdata, callback) {
if (typeof postdata === 'string') {
postdata = JSON.parse(postdata);
}
if (!postdata.data && Object.keys(postdata).length > 0) {
// send data inside of a data wrapper
postdata = { "data": postdata };
}
let stringedpost = JSON.stringify(postdata);

@@ -80,0 +87,0 @@ let headers = this._getHeaders("POST", path, "", stringedpost);

2

package.json
{
"name": "svb-client",
"version": "2.2.1",
"version": "2.2.2",
"description": "NodeJS request client for SVB API",

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

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