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

dmn-js-shared

Package Overview
Dependencies
Maintainers
1
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 2.0.0-alpha1 to 2.0.0-alpha2

lib/components/slots/ComponentWithSlots.js

27

lib/components/Select.js

@@ -8,5 +8,25 @@ import { Component } from 'inferno';

super(props, context);
const { value } = props;
this.state = {
value
};
}
componentWillReceiveProps(props) {
const { value } = props;
this.setState({
value
});
}
onChange = (event) => {
const { value } = event.target;
this.setState({
value
});
const { onChange } = this.props;

@@ -18,3 +38,3 @@

onChange(event.target.value);
onChange(value);
}

@@ -25,6 +45,7 @@

className,
options,
value
options
} = this.props;
const { value } = this.state;
return (

@@ -31,0 +52,0 @@ <select

4

package.json
{
"name": "dmn-js-shared",
"description": "Shared components used by dmn-js",
"version": "2.0.0-alpha1",
"version": "2.0.0-alpha2",
"scripts": {

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

"dependencies": {
"diagram-js": "^0.27.1",
"diagram-js": "^0.28.2",
"didi": "^0.1.1",

@@ -18,0 +18,0 @@ "dmn-moddle": "^2.0.3",

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