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

@mcma/client

Package Overview
Dependencies
Maintainers
0
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcma/client - npm Package Compare versions

Comparing version 0.16.21 to 0.16.22

5

dist/lib/http/http-client.js

@@ -61,4 +61,5 @@ "use strict";

url = url || "";
config = config || {};
config = Object.assign({}, config);
config.method = method;
config.baseURL = this.config?.axiosConfig?.baseURL;
config.url = url;

@@ -90,3 +91,3 @@ config.data = body;

else if (config.url.indexOf("http://") !== 0 && config.url.indexOf("https://") !== 0) {
config.url = config.baseURL + config.url;
config.url = config.baseURL.replace(/\/?\/$/, "") + "/" + config.url.replace(/^\/+/, "");
}

@@ -93,0 +94,0 @@ else if (!config.url.startsWith(config.baseURL)) {

10

package.json
{
"name": "@mcma/client",
"version": "0.16.21",
"version": "0.16.22",
"description": "Node module with classes and functions used to access services in an MCMA environment",

@@ -35,8 +35,8 @@ "engines": {

"peerDependencies": {
"@mcma/core": "0.16.21",
"@mcma/secrets": "0.16.21"
"@mcma/core": "0.16.22",
"@mcma/secrets": "0.16.22"
},
"devDependencies": {
"@mcma/core": "0.16.21",
"@mcma/secrets": "0.16.21",
"@mcma/core": "0.16.22",
"@mcma/secrets": "0.16.22",
"@types/node": "^18.19.34",

@@ -43,0 +43,0 @@ "jasmine": "^5.1.0"

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