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

teamcity

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teamcity - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

18

lib/client.js

@@ -43,8 +43,18 @@ (function() {

return request(options, function(err, response, body) {
var data, error;
if (!cb) {
return;
}
if (err) {
cb(err);
}
if (typeof body === 'string') {
body = JSON.parse(body);
try {
data = JSON.parse(body);
} catch (_error) {
error = _error;
err = body;
}
}
if (cb) {
return cb(err, body);
}
return cb(err, data);
});

@@ -51,0 +61,0 @@ };

{
"name": "teamcity",
"version": "0.0.2",
"version": "0.0.3",
"description": "TeamCity API",

@@ -5,0 +5,0 @@ "author": "Jeff Knaggs",

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