🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@splunk/visualization-encoding-parsers

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splunk/visualization-encoding-parsers - npm Package Compare versions

Comparing version

to
10.1.0

MarkerGaugeParser.js

37

Base.js

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 36);
/******/ return __webpack_require__(__webpack_require__.s = 37);
/******/ })

@@ -140,3 +140,4 @@ /************************************************************************/

/***/ }),
/* 10 */
/* 10 */,
/* 11 */
/***/ (function(module, exports) {

@@ -147,3 +148,3 @@

/***/ }),
/* 11 */
/* 12 */
/***/ (function(module, exports) {

@@ -154,4 +155,4 @@

/***/ }),
/* 12 */,
/* 13 */
/* 13 */,
/* 14 */
/***/ (function(module, exports) {

@@ -162,3 +163,3 @@

/***/ }),
/* 14 */
/* 15 */
/***/ (function(module, exports) {

@@ -169,3 +170,3 @@

/***/ }),
/* 15 */
/* 16 */
/***/ (function(module, exports) {

@@ -176,3 +177,3 @@

/***/ }),
/* 16 */
/* 17 */
/***/ (function(module, exports) {

@@ -183,3 +184,3 @@

/***/ }),
/* 17 */
/* 18 */
/***/ (function(module, exports) {

@@ -190,3 +191,2 @@

/***/ }),
/* 18 */,
/* 19 */,

@@ -209,3 +209,4 @@ /* 20 */,

/* 35 */,
/* 36 */
/* 36 */,
/* 37 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -229,11 +230,11 @@

// EXTERNAL MODULE: external "@babel/runtime-corejs2/helpers/objectSpread"
var objectSpread_ = __webpack_require__(10);
var objectSpread_ = __webpack_require__(11);
var objectSpread_default = /*#__PURE__*/__webpack_require__.n(objectSpread_);
// EXTERNAL MODULE: external "@babel/runtime-corejs2/helpers/slicedToArray"
var slicedToArray_ = __webpack_require__(13);
var slicedToArray_ = __webpack_require__(14);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray_);
// EXTERNAL MODULE: external "lodash/findIndex"
var findIndex_ = __webpack_require__(14);
var findIndex_ = __webpack_require__(15);
var findIndex_default = /*#__PURE__*/__webpack_require__.n(findIndex_);

@@ -250,3 +251,3 @@

// EXTERNAL MODULE: external "lodash/clone"
var clone_ = __webpack_require__(15);
var clone_ = __webpack_require__(16);
var clone_default = /*#__PURE__*/__webpack_require__.n(clone_);

@@ -263,7 +264,7 @@

// EXTERNAL MODULE: external "lodash/isUndefined"
var isUndefined_ = __webpack_require__(11);
var isUndefined_ = __webpack_require__(12);
var isUndefined_default = /*#__PURE__*/__webpack_require__.n(isUndefined_);
// EXTERNAL MODULE: external "lodash/find"
var find_ = __webpack_require__(16);
var find_ = __webpack_require__(17);
var find_default = /*#__PURE__*/__webpack_require__.n(find_);

@@ -539,3 +540,3 @@

// EXTERNAL MODULE: external "lodash/isFinite"
var isFinite_ = __webpack_require__(17);
var isFinite_ = __webpack_require__(18);
var isFinite_default = /*#__PURE__*/__webpack_require__.n(isFinite_);

@@ -542,0 +543,0 @@

@@ -139,5 +139,11 @@ /*!

/* 9 */,
/* 10 */,
/* 10 */
/***/ (function(module, exports) {
module.exports = require("@babel/runtime-corejs2/core-js/parse-int");
/***/ }),
/* 11 */,
/* 12 */
/* 12 */,
/* 13 */
/***/ (function(module, exports) {

@@ -148,3 +154,2 @@

/***/ }),
/* 13 */,
/* 14 */,

@@ -154,8 +159,3 @@ /* 15 */,

/* 17 */,
/* 18 */
/***/ (function(module, exports) {
module.exports = require("@babel/runtime-corejs2/core-js/parse-int");
/***/ }),
/* 18 */,
/* 19 */,

@@ -174,5 +174,5 @@ /* 20 */,

/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
/* harmony import */ var _babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18);
/* harmony import */ var _babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
/* harmony import */ var _babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _babel_runtime_corejs2_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
/* harmony import */ var _babel_runtime_corejs2_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13);
/* harmony import */ var _babel_runtime_corejs2_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__);

@@ -179,0 +179,0 @@ /* harmony import */ var _babel_runtime_corejs2_core_js_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);

{
"name": "@splunk/visualization-encoding-parsers",
"version": "10.0.0",
"version": "10.1.0",
"author": "Splunk",

@@ -30,7 +30,6 @@ "license": "SEE LICENSE IN LICENSE.md",

"@splunk/react-docs": "^0.6.0",
"@splunk/visualization-build-tools": "^10.0.0",
"@splunk/visualization-build-tools": "^10.1.0",
"@splunk/webpack-configs": "^4.0.0",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.5",
"chai": "^3.5.0",
"eslint": "^4.4.1",

@@ -37,0 +36,0 @@ "eslint-config-airbnb": "^15.1.0",

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 27);
/******/ return __webpack_require__(__webpack_require__.s = 28);
/******/ })

@@ -96,2 +96,9 @@ /************************************************************************/

/***/ 0:
/***/ (function(module, exports) {
module.exports = require("@splunk/ui-utils/i18n");
/***/ }),
/***/ 1:

@@ -104,3 +111,3 @@ /***/ (function(module, exports) {

/***/ 27:
/***/ 2:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -110,7 +117,29 @@

__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErrorMsgs", function() { return ErrorMsgs; });
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
var ErrorMsgs = {
NO_DATA_SOURCES: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('No valid dataSources.'),
NO_ENCODING: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('No valid encoding.'),
ERROR_PARSE: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Can not parse data correctly.')
};
/***/ }),
/***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dataContract", function() { return dataContract; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
/* harmony import */ var _splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
/* harmony import */ var _splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
/* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
/* harmony import */ var _splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _errorMsgs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
var dataContract = {

@@ -142,4 +171,9 @@ requiredDataSources: [{

var userDefinedEncoding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var encoding = Object(_splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_0__["mergeEncoding"])(dataContract.encodings, userDefinedEncoding);
var data = Object(_splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_0__["parse"])(dataSources, encoding);
if (lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default()(dataSources)) {
throw new Error(_errorMsgs__WEBPACK_IMPORTED_MODULE_2__["ErrorMsgs"].NO_DATA_SOURCES);
}
var encoding = Object(_splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_1__["mergeEncoding"])(dataContract.encodings, userDefinedEncoding);
var data = Object(_splunk_visualization_encoding_parsers_Base__WEBPACK_IMPORTED_MODULE_1__["parse"])(dataSources, encoding);
return {

@@ -155,2 +189,9 @@ value: data.value,

/***/ }),
/***/ 3:
/***/ (function(module, exports) {
module.exports = require("lodash/isEmpty");
/***/ })

@@ -157,0 +198,0 @@

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 28);
/******/ return __webpack_require__(__webpack_require__.s = 29);
/******/ })

@@ -127,3 +127,3 @@ /************************************************************************/

/***/ 28:
/***/ 29:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -130,0 +130,0 @@

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 29);
/******/ return __webpack_require__(__webpack_require__.s = 30);
/******/ })

@@ -127,3 +127,10 @@ /************************************************************************/

/***/ 29:
/***/ 3:
/***/ (function(module, exports) {
module.exports = require("lodash/isEmpty");
/***/ }),
/***/ 30:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -200,9 +207,2 @@

/***/ }),
/***/ 3:
/***/ (function(module, exports) {
module.exports = require("lodash/isEmpty");
/***/ })

@@ -209,0 +209,0 @@

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 30);
/******/ return __webpack_require__(__webpack_require__.s = 31);
/******/ })

@@ -134,3 +134,3 @@ /************************************************************************/

/***/ 30:
/***/ 31:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -137,0 +137,0 @@

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 31);
/******/ return __webpack_require__(__webpack_require__.s = 32);
/******/ })

@@ -127,3 +127,3 @@ /************************************************************************/

/***/ 31:
/***/ 32:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -195,7 +195,8 @@

}
},
icon: {
isRequired: false,
type: ['string']
}
} // todo: add it back later
// icon: {
// isRequired: false,
// type: ['string'],
// },
}

@@ -202,0 +203,0 @@ };

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 32);
/******/ return __webpack_require__(__webpack_require__.s = 33);
/******/ })

@@ -134,3 +134,3 @@ /************************************************************************/

/***/ 32:
/***/ 33:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -137,0 +137,0 @@

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 33);
/******/ return __webpack_require__(__webpack_require__.s = 34);
/******/ })

@@ -134,3 +134,3 @@ /************************************************************************/

/***/ 33:
/***/ 34:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -137,0 +137,0 @@

@@ -90,3 +90,3 @@ /*!

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 34);
/******/ return __webpack_require__(__webpack_require__.s = 35);
/******/ })

@@ -141,3 +141,3 @@ /************************************************************************/

/***/ 34:
/***/ 35:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -144,0 +144,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet