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

mastercard-api-core

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mastercard-api-core - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

10

lib/error.js

@@ -65,7 +65,13 @@ /*

function getErrorObject(caseSensitiveMap) {
if ("errors" in caseSensitiveMap && "error" in caseSensitiveMap["errors"]) {
var object = caseSensitiveMap["errors"]["error"];
if ("errors" in caseSensitiveMap) {
var object = caseSensitiveMap["errors"];
if ("error" in object) {
object = object["error"];
}
if (object instanceof Array) {
return object[0];
}
return object;

@@ -72,0 +78,0 @@ } else {

2

package.json
{
"name": "mastercard-api-core",
"version": "1.4.0",
"version": "1.4.1",
"description": "Core functionality for MasterCard API",

@@ -5,0 +5,0 @@ "main": "index.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