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

node-axosoft

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-axosoft - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

19

lib/api.js

@@ -75,2 +75,20 @@ var _ = require('lodash');

/**
* Gets the API version info for the Axosoft account
*
* @param function callback Callback function.
*/
function getVersion(callback) {
rest.get(_base_url + '/api/version')
.on('complete', function (data, response) {
if (response && (response.statusCode === 200 || response.statusCode === 201)) {
callback(null, data);
} else {
// if the URL isn't a valid Axosoft url, there is no response, and data is the Error
callback(data);
}
});
}
/**
* Wrapper for REST requests.

@@ -221,2 +239,3 @@ * Validate credentials before making any request, then dynamically

exports.register = register;
exports.getVersion = getVersion;
exports.handleRestRequest = handleRestRequest;

@@ -223,0 +242,0 @@ exports.getLoginUrl = getLoginUrl;

2

package.json
{
"name": "node-axosoft",
"version": "2.1.0",
"version": "2.2.0",
"description": "A node.js client for accessing the Axosoft API",

@@ -5,0 +5,0 @@ "keywords": [

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