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

get-credit-rating-description

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

get-credit-rating-description - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

20

bundle/index.js

@@ -57,3 +57,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

"use strict";
'use strict';

@@ -65,3 +65,5 @@ module.exports = {

setRatingAgencyData: setRatingAgencyData,
setDefaultAgency: setDefaultAgency
setDefaultAgency: setDefaultAgency,
setRatingDescription: setRatingDescription,
setUnknownResponse: setUnknownResponse
};

@@ -96,2 +98,16 @@

function setRatingDescription(response, rating, agency) {
if (agency) {
data[agency][rating] = response;
} else {
Object.keys(data).forEach(function (agencyKey) {
return setRatingDescription(response, rating, agencyKey);
});
}
}
function setUnknownResponse(response, agency) {
setRatingDescription(response, 'default', agency);
}
/***/ }

@@ -98,0 +114,0 @@ /******/ ])

@@ -7,2 +7,4 @@ module.exports = {

setDefaultAgency,
setRatingDescription,
setUnknownResponse,
}

@@ -34,1 +36,13 @@

}
function setRatingDescription(response, rating, agency) {
if (agency) {
data[agency][rating] = response;
} else {
Object.keys(data).forEach((agencyKey) => setRatingDescription(response, rating, agencyKey));
}
}
function setUnknownResponse(response, agency) {
setRatingDescription(response, 'default', agency);
}

2

package.json
{
"name": "get-credit-rating-description",
"version": "1.0.9",
"version": "1.0.10",
"description": "A small utility package to get credit rating descriptions in a standardized agency credit rating description data file",

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