dmn-js-literal-expression
Advanced tools
Comparing version 2.1.0 to 3.0.0
@@ -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; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50188
1621
+ Addedcss.escape@1.5.1(transitive)
+ Addeddiagram-js@1.4.0(transitive)
+ Addeddidi@4.0.0(transitive)
+ Addeddmn-js-shared@3.0.0(transitive)
+ Addeddmn-moddle@5.0.0(transitive)
+ Addedinferno@5.6.3(transitive)
+ Addedinferno-shared@5.6.3(transitive)
+ Addedinferno-vnode-flags@5.6.3(transitive)
+ Addedmin-dash@3.8.1(transitive)
+ Addedmin-dom@3.2.1(transitive)
+ Addedmoddle@4.1.0(transitive)
+ Addedmoddle-xml@7.5.0(transitive)
+ Addedobject-refs@0.3.0(transitive)
+ Addedopencollective-postinstall@2.0.3(transitive)
+ Addedsaxen@8.1.2(transitive)
+ Addedselection-ranges@3.0.3(transitive)
+ Addedtiny-svg@2.2.4(transitive)
- Removedansi-escapes@1.4.0(transitive)
- Removedansi-regex@2.1.13.0.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedbabel-polyfill@6.23.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedchalk@1.1.3(transitive)
- Removedchardet@0.4.2(transitive)
- Removedcli-cursor@2.1.0(transitive)
- Removedcli-width@2.2.1(transitive)
- Removedclosest@0.0.1(transitive)
- Removedcore-js@2.6.12(transitive)
- Removeddelegate-events@1.1.1(transitive)
- Removeddiagram-js@0.29.2(transitive)
- Removeddidi@3.2.0(transitive)
- Removeddmn-js-shared@2.1.0(transitive)
- Removeddmn-moddle@3.0.1(transitive)
- Removedencoding@0.1.13(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedexternal-editor@2.2.0(transitive)
- Removedfigures@2.0.0(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removediconv-lite@0.4.240.6.3(transitive)
- Removedinferno@4.0.8(transitive)
- Removedinferno-shared@4.0.8(transitive)
- Removedinferno-vnode-flags@4.0.8(transitive)
- Removedinquirer@3.0.6(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedmatches-selector@0.0.1(transitive)
- Removedmimic-fn@1.2.0(transitive)
- Removedmin-dash@2.4.0(transitive)
- Removedmin-dom@2.2.0(transitive)
- Removedminimist@1.2.0(transitive)
- Removedmoddle@3.0.0(transitive)
- Removedmoddle-xml@5.0.2(transitive)
- Removedmute-stream@0.0.7(transitive)
- Removednode-fetch@1.6.3(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject-refs@0.1.1(transitive)
- Removedonetime@2.0.1(transitive)
- Removedopencollective@1.0.3(transitive)
- Removedopn@4.0.2(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedregenerator-runtime@0.10.50.11.1(transitive)
- Removedrestore-cursor@2.0.0(transitive)
- Removedrun-async@2.4.1(transitive)
- Removedrx@4.1.0(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsaxen@7.0.1(transitive)
- Removedselection-ranges@1.2.3(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring-width@2.1.1(transitive)
- Removedstrip-ansi@3.0.14.0.0(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtiny-stack@0.1.0(transitive)
- Removedtiny-svg@0.1.3(transitive)
- Removedtmp@0.0.33(transitive)
Updateddiagram-js@^1.1.0
Updateddmn-js-shared@^3.0.0
Updatedinferno@^5.0.0
Updatedmin-dash@^3.0.0
Updatedmin-dom@^3.0.0