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

credit-rating-descriptions-sp

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

credit-rating-descriptions-sp - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

530

bundle/index.js

@@ -1,2 +0,12 @@

/******/ (function(modules) { // webpackBootstrap
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("creditRatingDescriptionsSp", [], factory);
else if(typeof exports === 'object')
exports["creditRatingDescriptionsSp"] = factory();
else
root["creditRatingDescriptionsSp"] = factory();
})(this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache

@@ -51,3 +61,3 @@ /******/ var installedModules = {};

var _require = __webpack_require__(2),
var _require = __webpack_require__(3),
IN_DEFAULT = _require.IN_DEFAULT,

@@ -68,46 +78,275 @@ NOT_RATED = _require.NOT_RATED;

'use strict';
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module) {'use strict';
var _require = __webpack_require__(2),
PRIME = _require.PRIME,
HIGH_GRADE = _require.HIGH_GRADE,
UPPER_MEDIUM_GRADE = _require.UPPER_MEDIUM_GRADE,
LOWER_MEDIUM_GRADE = _require.LOWER_MEDIUM_GRADE,
NON_INVESTMENT_GRADE_SPECULATIVE = _require.NON_INVESTMENT_GRADE_SPECULATIVE,
HIGHLY_SPECULATIVE = _require.HIGHLY_SPECULATIVE,
SUBSTANTIAL_RISKS = _require.SUBSTANTIAL_RISKS,
EXTREMELY_SPECULATIVE = _require.EXTREMELY_SPECULATIVE,
DEFAULT_IMMINENT = _require.DEFAULT_IMMINENT,
IN_DEFAULT = _require.IN_DEFAULT,
NOT_RATED = _require.NOT_RATED;
var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var STANDARD_SCALE = {
AAA: PRIME,
'AA+': HIGH_GRADE,
AA: HIGH_GRADE,
'AA-': HIGH_GRADE,
'A+': UPPER_MEDIUM_GRADE,
A: UPPER_MEDIUM_GRADE,
'A-': UPPER_MEDIUM_GRADE,
'BBB+': LOWER_MEDIUM_GRADE,
BBB: LOWER_MEDIUM_GRADE,
'BBB-': LOWER_MEDIUM_GRADE,
'BB+': NON_INVESTMENT_GRADE_SPECULATIVE,
BB: NON_INVESTMENT_GRADE_SPECULATIVE,
'BB-': NON_INVESTMENT_GRADE_SPECULATIVE,
'B+': HIGHLY_SPECULATIVE,
B: HIGHLY_SPECULATIVE,
'B-': HIGHLY_SPECULATIVE,
'CCC+': SUBSTANTIAL_RISKS,
CCC: SUBSTANTIAL_RISKS,
'CCC-': SUBSTANTIAL_RISKS,
CC: EXTREMELY_SPECULATIVE,
C: DEFAULT_IMMINENT,
D: IN_DEFAULT,
NR: NOT_RATED,
default: NOT_RATED
};
(function webpackUniversalModuleDefinition(root, factory) {
if (( false ? 'undefined' : _typeof2(exports)) === 'object' && ( false ? 'undefined' : _typeof2(module)) === 'object') module.exports = factory();else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else if ((typeof exports === 'undefined' ? 'undefined' : _typeof2(exports)) === 'object') exports["creditRatingDescriptionStandardScale"] = factory();else root["creditRatingDescriptionStandardScale"] = factory();
})(undefined, function () {
return (/******/function (modules) {
// webpackBootstrap
/******/ // The module cache
/******/var installedModules = {};
module.exports = STANDARD_SCALE;
/******/ // The require function
/******/function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/if (installedModules[moduleId])
/******/return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/var module = installedModules[moduleId] = {
/******/exports: {},
/******/id: moduleId,
/******/loaded: false
/******/ };
/******/ // Execute the module function
/******/modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/module.loaded = true;
/******/ // Return the exports of the module
/******/return module.exports;
/******/
}
/******/ // expose the modules object (__webpack_modules__)
/******/__webpack_require__.m = modules;
/******/ // expose the module cache
/******/__webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/__webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/return __webpack_require__(0);
/******/
}(
/************************************************************************/
/******/[
/* 0 */
/***/function (module, exports, __webpack_require__) {
'use strict';
var _require = __webpack_require__(1),
PRIME = _require.PRIME,
HIGH_GRADE = _require.HIGH_GRADE,
UPPER_MEDIUM_GRADE = _require.UPPER_MEDIUM_GRADE,
LOWER_MEDIUM_GRADE = _require.LOWER_MEDIUM_GRADE,
NON_INVESTMENT_GRADE_SPECULATIVE = _require.NON_INVESTMENT_GRADE_SPECULATIVE,
HIGHLY_SPECULATIVE = _require.HIGHLY_SPECULATIVE,
SUBSTANTIAL_RISKS = _require.SUBSTANTIAL_RISKS,
EXTREMELY_SPECULATIVE = _require.EXTREMELY_SPECULATIVE,
DEFAULT_IMMINENT = _require.DEFAULT_IMMINENT,
IN_DEFAULT = _require.IN_DEFAULT,
NOT_RATED = _require.NOT_RATED;
var STANDARD_SCALE = {
AAA: PRIME,
'AA+': HIGH_GRADE,
AA: HIGH_GRADE,
'AA-': HIGH_GRADE,
'A+': UPPER_MEDIUM_GRADE,
A: UPPER_MEDIUM_GRADE,
'A-': UPPER_MEDIUM_GRADE,
'BBB+': LOWER_MEDIUM_GRADE,
BBB: LOWER_MEDIUM_GRADE,
'BBB-': LOWER_MEDIUM_GRADE,
'BB+': NON_INVESTMENT_GRADE_SPECULATIVE,
BB: NON_INVESTMENT_GRADE_SPECULATIVE,
'BB-': NON_INVESTMENT_GRADE_SPECULATIVE,
'B+': HIGHLY_SPECULATIVE,
B: HIGHLY_SPECULATIVE,
'B-': HIGHLY_SPECULATIVE,
'CCC+': SUBSTANTIAL_RISKS,
CCC: SUBSTANTIAL_RISKS,
'CCC-': SUBSTANTIAL_RISKS,
CC: EXTREMELY_SPECULATIVE,
C: DEFAULT_IMMINENT,
D: IN_DEFAULT,
NR: NOT_RATED,
default: NOT_RATED
};
module.exports = STANDARD_SCALE;
/***/
},
/* 1 */
/***/function (module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; /* WEBPACK VAR INJECTION */(function (module) {
'use strict';
var _typeof = typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol" ? function (obj) {
return typeof obj === 'undefined' ? 'undefined' : _typeof2(obj);
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj === 'undefined' ? 'undefined' : _typeof2(obj);
};
(function webpackUniversalModuleDefinition(root, factory) {
if ((false ? 'undefined' : _typeof(exports)) === 'object' && (false ? 'undefined' : _typeof(module)) === 'object') module.exports = factory();else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else if ((typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) === 'object') exports["creditRatingDescriptions"] = factory();else root["creditRatingDescriptions"] = factory();
})(undefined, function () {
return (/******/function (modules) {
// webpackBootstrap
/******/ // The module cache
/******/var installedModules = {};
/******/ // The require function
/******/function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/if (installedModules[moduleId])
/******/return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/var module = installedModules[moduleId] = {
/******/exports: {},
/******/id: moduleId,
/******/loaded: false
/******/ };
/******/ // Execute the module function
/******/modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/module.loaded = true;
/******/ // Return the exports of the module
/******/return module.exports;
/******/
}
/******/ // expose the modules object (__webpack_modules__)
/******/__webpack_require__.m = modules;
/******/ // expose the module cache
/******/__webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/__webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/return __webpack_require__(0);
/******/
}(
/************************************************************************/
/******/[
/* 0 */
/***/function (module, exports) {
'use strict';
var INVESTMENT_GRADE = 'Investment grade';
var HIGH_YIELD = 'High-yield';
var PRIME = {
description: 'Prime',
grade: INVESTMENT_GRADE
};
var HIGH_GRADE = {
description: 'High grade',
grade: INVESTMENT_GRADE
};
var UPPER_MEDIUM_GRADE = {
description: 'Upper medium grade',
grade: INVESTMENT_GRADE
};
var LOWER_MEDIUM_GRADE = {
description: 'Lower medium grade',
grade: INVESTMENT_GRADE
};
var NON_INVESTMENT_GRADE_SPECULATIVE = {
description: 'Non-investment grade speculative',
grade: HIGH_YIELD
};
var HIGHLY_SPECULATIVE = {
description: 'Highly speculative',
grade: HIGH_YIELD
};
var SUBSTANTIAL_RISKS = {
description: 'Substantial risks',
grade: HIGH_YIELD
};
var EXTREMELY_SPECULATIVE = {
description: 'Extremely speculative',
grade: HIGH_YIELD
};
var DEFAULT_IMMINENT = {
description: 'Default imminent',
grade: HIGH_YIELD
};
var IN_DEFAULT = {
description: 'In default',
grade: HIGH_YIELD
};
var NOT_RATED = {
description: 'Not rated',
grade: 'Not rated'
};
module.exports = {
INVESTMENT_GRADE: INVESTMENT_GRADE,
HIGH_YIELD: HIGH_YIELD,
PRIME: PRIME,
HIGH_GRADE: HIGH_GRADE,
UPPER_MEDIUM_GRADE: UPPER_MEDIUM_GRADE,
LOWER_MEDIUM_GRADE: LOWER_MEDIUM_GRADE,
NON_INVESTMENT_GRADE_SPECULATIVE: NON_INVESTMENT_GRADE_SPECULATIVE,
HIGHLY_SPECULATIVE: HIGHLY_SPECULATIVE,
SUBSTANTIAL_RISKS: SUBSTANTIAL_RISKS,
EXTREMELY_SPECULATIVE: EXTREMELY_SPECULATIVE,
DEFAULT_IMMINENT: DEFAULT_IMMINENT,
IN_DEFAULT: IN_DEFAULT,
NOT_RATED: NOT_RATED
};
/***/
}
/******/])
);
});
;
/* WEBPACK VAR INJECTION */
}).call(exports, __webpack_require__(2)(module));
/***/
},
/* 2 */
/***/function (module, exports) {
module.exports = function (module) {
if (!module.webpackPolyfill) {
module.deprecate = function () {};
module.paths = [];
// module.parent = undefined by default
module.children = [];
module.webpackPolyfill = 1;
}
return module;
};
/***/
}
/******/])
);
});
;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)(module)))
/***/ },

@@ -117,79 +356,160 @@ /* 2 */

'use strict';
module.exports = function(module) {
if(!module.webpackPolyfill) {
module.deprecate = function() {};
module.paths = [];
// module.parent = undefined by default
module.children = [];
module.webpackPolyfill = 1;
}
return module;
}
var INVESTMENT_GRADE = 'Investment grade';
var HIGH_YIELD = 'High-yield';
var PRIME = {
description: 'Prime',
grade: INVESTMENT_GRADE
};
/***/ },
/* 3 */
/***/ function(module, exports, __webpack_require__) {
var HIGH_GRADE = {
description: 'High grade',
grade: INVESTMENT_GRADE
};
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module) {'use strict';
var UPPER_MEDIUM_GRADE = {
description: 'Upper medium grade',
grade: INVESTMENT_GRADE
};
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var LOWER_MEDIUM_GRADE = {
description: 'Lower medium grade',
grade: INVESTMENT_GRADE
};
(function webpackUniversalModuleDefinition(root, factory) {
if (( false ? 'undefined' : _typeof(exports)) === 'object' && ( false ? 'undefined' : _typeof(module)) === 'object') module.exports = factory();else if (true) !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));else if ((typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) === 'object') exports["creditRatingDescriptions"] = factory();else root["creditRatingDescriptions"] = factory();
})(undefined, function () {
return (/******/function (modules) {
// webpackBootstrap
/******/ // The module cache
/******/var installedModules = {};
var NON_INVESTMENT_GRADE_SPECULATIVE = {
description: 'Non-investment grade speculative',
grade: HIGH_YIELD
};
/******/ // The require function
/******/function __webpack_require__(moduleId) {
var HIGHLY_SPECULATIVE = {
description: 'Highly speculative',
grade: HIGH_YIELD
};
/******/ // Check if module is in cache
/******/if (installedModules[moduleId])
/******/return installedModules[moduleId].exports;
var SUBSTANTIAL_RISKS = {
description: 'Substantial risks',
grade: HIGH_YIELD
};
/******/ // Create a new module (and put it into the cache)
/******/var module = installedModules[moduleId] = {
/******/exports: {},
/******/id: moduleId,
/******/loaded: false
/******/ };
var EXTREMELY_SPECULATIVE = {
description: 'Extremely speculative',
grade: HIGH_YIELD
};
/******/ // Execute the module function
/******/modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
var DEFAULT_IMMINENT = {
description: 'Default imminent',
grade: HIGH_YIELD
};
/******/ // Flag the module as loaded
/******/module.loaded = true;
var IN_DEFAULT = {
description: 'In default',
grade: HIGH_YIELD
};
/******/ // Return the exports of the module
/******/return module.exports;
/******/
}
var NOT_RATED = {
description: 'Not rated',
grade: 'Not rated'
};
/******/ // expose the modules object (__webpack_modules__)
/******/__webpack_require__.m = modules;
module.exports = {
INVESTMENT_GRADE: INVESTMENT_GRADE,
HIGH_YIELD: HIGH_YIELD,
PRIME: PRIME,
HIGH_GRADE: HIGH_GRADE,
UPPER_MEDIUM_GRADE: UPPER_MEDIUM_GRADE,
LOWER_MEDIUM_GRADE: LOWER_MEDIUM_GRADE,
NON_INVESTMENT_GRADE_SPECULATIVE: NON_INVESTMENT_GRADE_SPECULATIVE,
HIGHLY_SPECULATIVE: HIGHLY_SPECULATIVE,
SUBSTANTIAL_RISKS: SUBSTANTIAL_RISKS,
EXTREMELY_SPECULATIVE: EXTREMELY_SPECULATIVE,
DEFAULT_IMMINENT: DEFAULT_IMMINENT,
IN_DEFAULT: IN_DEFAULT,
NOT_RATED: NOT_RATED
};
/******/ // expose the module cache
/******/__webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/__webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/return __webpack_require__(0);
/******/
}(
/************************************************************************/
/******/[
/* 0 */
/***/function (module, exports) {
'use strict';
var INVESTMENT_GRADE = 'Investment grade';
var HIGH_YIELD = 'High-yield';
var PRIME = {
description: 'Prime',
grade: INVESTMENT_GRADE
};
var HIGH_GRADE = {
description: 'High grade',
grade: INVESTMENT_GRADE
};
var UPPER_MEDIUM_GRADE = {
description: 'Upper medium grade',
grade: INVESTMENT_GRADE
};
var LOWER_MEDIUM_GRADE = {
description: 'Lower medium grade',
grade: INVESTMENT_GRADE
};
var NON_INVESTMENT_GRADE_SPECULATIVE = {
description: 'Non-investment grade speculative',
grade: HIGH_YIELD
};
var HIGHLY_SPECULATIVE = {
description: 'Highly speculative',
grade: HIGH_YIELD
};
var SUBSTANTIAL_RISKS = {
description: 'Substantial risks',
grade: HIGH_YIELD
};
var EXTREMELY_SPECULATIVE = {
description: 'Extremely speculative',
grade: HIGH_YIELD
};
var DEFAULT_IMMINENT = {
description: 'Default imminent',
grade: HIGH_YIELD
};
var IN_DEFAULT = {
description: 'In default',
grade: HIGH_YIELD
};
var NOT_RATED = {
description: 'Not rated',
grade: 'Not rated'
};
module.exports = {
INVESTMENT_GRADE: INVESTMENT_GRADE,
HIGH_YIELD: HIGH_YIELD,
PRIME: PRIME,
HIGH_GRADE: HIGH_GRADE,
UPPER_MEDIUM_GRADE: UPPER_MEDIUM_GRADE,
LOWER_MEDIUM_GRADE: LOWER_MEDIUM_GRADE,
NON_INVESTMENT_GRADE_SPECULATIVE: NON_INVESTMENT_GRADE_SPECULATIVE,
HIGHLY_SPECULATIVE: HIGHLY_SPECULATIVE,
SUBSTANTIAL_RISKS: SUBSTANTIAL_RISKS,
EXTREMELY_SPECULATIVE: EXTREMELY_SPECULATIVE,
DEFAULT_IMMINENT: DEFAULT_IMMINENT,
IN_DEFAULT: IN_DEFAULT,
NOT_RATED: NOT_RATED
};
/***/
}
/******/])
);
});
;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)(module)))
/***/ }
/******/ ]);
/******/ ])
});
;

8

package.json
{
"name": "credit-rating-descriptions-sp",
"version": "1.0.8",
"version": "1.0.9",
"description": "A small library of standards and poors credit rating descriptions",
"main": "index.js",
"main": "./bundle/index.js",
"scripts": {

@@ -14,4 +14,4 @@ "build": "webpack",

"dependencies": {
"credit-rating-description-standard-scale": "^1.0.8",
"credit-rating-descriptions": "^1.0.8"
"credit-rating-description-standard-scale": "^1.0.9",
"credit-rating-descriptions": "^1.0.9"
},

@@ -18,0 +18,0 @@ "repository": {

@@ -0,4 +1,16 @@

var webpack = require('webpack');
var path = require('path');
var packageInfo = require('./package.json');
var _ = require('lodash');
const libraryName = _.camelCase(packageInfo.name)
const config = {
entry: './index.js',
output: { path: __dirname + '/bundle', filename: 'index.js' },
output: {
path: __dirname + '/bundle',
filename: 'index.js',
library: libraryName,
libraryTarget: 'umd',
umdNamedDefine: true,
},
module: {

@@ -5,0 +17,0 @@ loaders: [

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