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

dmn-js-shared

Package Overview
Dependencies
Maintainers
7
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmn-js-shared - npm Package Compare versions

Comparing version 9.2.0 to 9.3.0

2

lib/base/Manager.js

@@ -592,3 +592,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

(_this$_eventBus4 = this._eventBus).fire.apply(_this$_eventBus4, arguments);
return (_this$_eventBus4 = this._eventBus).fire.apply(_this$_eventBus4, arguments);
}

@@ -595,0 +595,0 @@ }, {

@@ -192,2 +192,11 @@ import { createVNode } from "inferno";

}, {
key: "getClassName",
value: function getClassName() {
var _this$props = this.props,
className = _this$props.className,
placeholder = _this$props.placeholder,
value = _this$props.value;
return [className || '', 'content-editable', !value && placeholder ? 'content-editable--with-placeholder' : ''].join(' ');
}
}, {
key: "render",

@@ -198,9 +207,10 @@ value: function render(props) {

var value = props.value,
className = props.className; // QUIRK: must add trailing <br/> for line
placeholder = props.placeholder; // QUIRK: must add trailing <br/> for line
// breaks to properly work
value = escapeHtml(value).replace(/\r?\n/g, '<br/>') + '<br/>';
return createVNode(1, "div", [className || '', 'content-editable'].join(' '), null, 1, {
return createVNode(1, "div", this.getClassName(), null, 1, {
"contentEditable": "true",
"spellcheck": "false",
"data-placeholder": placeholder || '',
"onInput": this.onInput,

@@ -207,0 +217,0 @@ "onKeypress": this.onKeypress,

{
"name": "dmn-js-shared",
"description": "Shared components used by dmn-js",
"version": "9.2.0",
"version": "9.3.0",
"scripts": {

@@ -34,3 +34,3 @@ "test": "karma start",

},
"gitHead": "6964a0a64a07b0e68d2a8c64cc7336444d74780c"
"gitHead": "ff00308008a18f92a1c21dd47c3ecfdfffa09a3c"
}

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

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