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

@splunk/dashboard-event-handlers

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splunk/dashboard-event-handlers - npm Package Compare versions

Comparing version 20.1.0 to 20.2.0

77

CustomUrlDrilldown.js

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

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

@@ -108,14 +108,2 @@ /************************************************************************/

/* 2 */
/***/ (function(module, exports) {
module.exports = require("@babel/runtime-corejs2/helpers/classCallCheck");
/***/ }),
/* 3 */
/***/ (function(module, exports) {
module.exports = require("@babel/runtime-corejs2/helpers/createClass");
/***/ }),
/* 4 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

@@ -129,14 +117,6 @@

/* harmony import */ var _babel_runtime_corejs2_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
/* harmony import */ var _babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3);
/* harmony import */ var _babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__);
var CustomUrlDrilldown =
/*#__PURE__*/
function () {
class CustomUrlDrilldown {
/**

@@ -147,7 +127,3 @@ * A configuration object is passed to the handler

*/
function CustomUrlDrilldown() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2___default()(this, CustomUrlDrilldown);
constructor(options = {}) {
this.options = options;

@@ -164,31 +140,26 @@ this.events = _babel_runtime_corejs2_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_1___default()(options.events) ? options.events : ['any'];

_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default()(CustomUrlDrilldown, [{
key: "canHandle",
value: function canHandle(event) {
return event && event.type !== 'range.select' && this.options && !!this.options.url && (this.events.includes('any') || this.events.includes(event.type));
}
/**
* Convert the event payload into a list of actionable tasks
* @method handle
* @param {VisualizationEvent} event
* @returns {Array} List of action(s)
*/
canHandle(event) {
return event && event.type !== 'range.select' && this.options && !!this.options.url && (this.events.includes('any') || this.events.includes(event.type));
}
/**
* Convert the event payload into a list of actionable tasks
* @method handle
* @param {VisualizationEvent} event
* @returns {Array} List of action(s)
*/
}, {
key: "handle",
value: function handle() {
// TODO: verify url token updates happen external to the handler eventSaga:findEventHandler
return _babel_runtime_corejs2_core_js_promise__WEBPACK_IMPORTED_MODULE_0___default.a.resolve([{
type: 'linkTo',
payload: {
url: this.options.url,
newTab: this.options.newTab
}
}]);
}
}]);
return CustomUrlDrilldown;
}();
handle() {
// TODO: verify url token updates happen external to the handler eventSaga:findEventHandler
return _babel_runtime_corejs2_core_js_promise__WEBPACK_IMPORTED_MODULE_0___default.a.resolve([{
type: 'linkTo',
payload: {
url: this.options.url,
newTab: this.options.newTab
}
}]);
}
}
/* harmony default export */ __webpack_exports__["default"] = (CustomUrlDrilldown);

@@ -195,0 +166,0 @@

@@ -5,3 +5,3 @@ {

"author": "Splunk",
"version": "20.1.0",
"version": "20.2.0",
"scripts": {

@@ -19,9 +19,9 @@ "build": "NODE_ENV=production webpack --config ./webpack.config.js --bail",

"dependencies": {
"@babel/runtime-corejs2": "^7.5.5",
"@babel/runtime-corejs2": "^7.12.5",
"lodash.isplainobject": "^4.0.6"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@splunk/dashboard-build-tools": "20.1.0",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@splunk/dashboard-build-tools": "20.2.0",
"jest": "^25.1.0",

@@ -28,0 +28,0 @@ "raw-loader": "^4.0.0",

Sorry, the diff of this file is not supported yet

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