updated some libraries and also editor.js

This commit is contained in:
Leashys 2021-08-05 15:15:32 -04:00
parent fd10890557
commit d4afc8d9cb
3 changed files with 1569 additions and 3607 deletions

View File

@ -2,12 +2,17 @@ import {attr as domAttr, classes as domClasses, event as domEvent} from 'min-dom
import {assign} from 'min-dash';
import * as ace from 'ace-builds/src-noconflict/ace';
// import * as ace from 'ace-builds/src-noconflict/ace';
// var Range = ace.require('ace/range').Range;
// Enable dynamic loading of formatting modes
// const Range = ace.require('ace/range').Range // get reference to ace/range
var ace = require('brace');
ace.config.set('basePath', 'https://unpkg.com/ace-builds@1.4.12/src-noconflict');
// https://stackoverflow.com/questions/16024721/how-can-i-highlight-multiple-lines-with-ace/16024998#16024998
const Range = ace.require('ace/range').Range // get reference to ace/range
var Range = ace.acequire('ace/range').Range;
/**
* A code editor that allows you to add syntax highlighting and testing to bpmn properties panel
*/

5158
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -34,30 +34,31 @@
"@types/ace": "0.0.46",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"brace": "^0.11.1",
"chai": "^4.2.0",
"diagram-js": "^5.0.2",
"eslint": "^7.30.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-bpmn-io": "^0.10.0",
"eslint-plugin-bpmn-io": "^0.12.0",
"karma": "^6.3.3",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.2.0",
"karma-mocha": "^2.0.1",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sinon-chai": "^2.0.2",
"karma-webpack": "^4.0.2",
"karma-webpack": "^5.0.0",
"mocha": "^6.2.1",
"mocha-test-container-support": "^0.2.0",
"npm-run-all": "^4.1.5",
"puppeteer": "^3.0.0",
"raw-loader": "^3.1.0",
"raw-loader": "^4.0.2",
"rollup": "^1.22.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"webpack": "^4.41.0"
"webpack": "^5.48.0"
},
"dependencies": {
"@popperjs/core": "^2.9.2",