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

dmn-js-literal-expression

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmn-js-literal-expression - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

10

lib/features/keyboard/Keyboard.js

@@ -1,9 +0,9 @@

'use strict';
import {
event as domEvent
} from 'min-dom';
var domEvent = require('min-dom').event;
var {
import {
isCmd,
isShift
} = require('./KeyboardUtil');
} from './KeyboardUtil';

@@ -10,0 +10,0 @@ /**

{
"name": "dmn-js-literal-expression",
"description": "A literal expression view for dmn-js",
"version": "2.1.0",
"version": "3.0.0",
"scripts": {

@@ -21,12 +21,12 @@ "test": "karma start",

"devDependencies": {
"inferno-test-utils": "^4.0.0"
"inferno-test-utils": "^5.0.0"
},
"dependencies": {
"diagram-js": "^0.29.0",
"dmn-js-shared": "^2.1.0",
"diagram-js": "^1.1.0",
"dmn-js-shared": "^3.0.0",
"escape-html": "^1.0.3",
"inferno": "^4.0.0",
"min-dash": "^2.2.0",
"min-dom": "^2.0.0"
"inferno": "^5.0.0",
"min-dash": "^3.0.0",
"min-dom": "^3.0.0"
}
}

@@ -1,3 +0,1 @@

'use strict';
import {

@@ -144,3 +142,3 @@ assign,

*/
function inject(fn) {
export function inject(fn) {
return function() {

@@ -165,3 +163,3 @@

function injectAsync(doneFn) {
export function injectAsync(doneFn) {
return function(done) {

@@ -203,3 +201,3 @@ var testFn = doneFn(done);

*/
function bootstrapModeler(diagram, options, locals) {
export function bootstrapModeler(diagram, options, locals) {
return bootstrapDmnJS(LiteralExpressionEditor, diagram, options, locals);

@@ -236,25 +234,15 @@ }

*/
function bootstrapViewer(diagram, options, locals) {
export function bootstrapViewer(diagram, options, locals) {
return bootstrapDmnJS(LiteralExpressionViewer, diagram, options, locals);
}
function getDmnJS() {
export function getDmnJS() {
return DMN_JS;
}
function getLiteralExpression() {
export function getLiteralExpression() {
return DMN_JS.getActiveViewer();
}
module.exports.bootstrapDmnJS = (window || global).bootstrapDmnJS = bootstrapDmnJS;
module.exports.bootstrapModeler = (window || global).bootstrapModeler = bootstrapModeler;
module.exports.bootstrapViewer = (window || global).bootstrapViewer = bootstrapViewer;
module.exports.inject = (window || global).inject = inject;
module.exports.injectAsync = (window || global).injectAsync = injectAsync;
module.exports.getLiteralExpression =
(window || global).getLiteralExpression = getLiteralExpression;
module.exports.getDmnJS = (window || global).getDmnJS = getDmnJS;
function insertCSS(name, css) {
export function insertCSS(name, css) {
if (document.querySelector('[data-css-file="' + name + '"]')) {

@@ -276,4 +264,2 @@ return;

head.appendChild(style);
}
module.exports.insertCSS = insertCSS;
}
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