New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dmn-js-shared

Package Overview
Dependencies
Maintainers
9
Versions
117
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 12.2.0 to 12.3.0

48

lib/base/viewer/Viewer.js

@@ -87,46 +87,2 @@ var _excluded = ["modules"];

function bootstrap(bootstrapModules) {
var modules = [],
components = [];
function hasModule(m) {
return modules.indexOf(m) >= 0;
}
function addModule(m) {
modules.push(m);
}
function visit(m) {
if (hasModule(m)) {
return;
}
(m.__depends__ || []).forEach(visit);
if (hasModule(m)) {
return;
}
addModule(m);
(m.__init__ || []).forEach(function (c) {
components.push(c);
});
}
bootstrapModules.forEach(visit);
var injector = new Injector(modules);
components.forEach(function (c) {
try {
// eagerly resolve component (fn or string)
injector[typeof c === 'string' ? 'get' : 'invoke'](c);
} catch (e) {
console.error('Failed to instantiate component');
console.error(e.stack);
throw e;
}
});
return injector;
}
function createInjector(config, modules) {

@@ -136,4 +92,6 @@ var bootstrapModules = [{

}, core].concat(modules || []);
return bootstrap(bootstrapModules);
var injector = new Injector(bootstrapModules);
injector.init();
return injector;
}
//# sourceMappingURL=Viewer.js.map

10

package.json
{
"name": "dmn-js-shared",
"description": "Shared components used by dmn-js",
"version": "12.2.0",
"version": "12.3.0",
"files": [

@@ -23,7 +23,7 @@ "assets",

"devDependencies": {
"didi": "^5.2.1",
"inferno-test-utils": "~5.6.2"
},
"dependencies": {
"diagram-js": "^8.7.0",
"diagram-js": "^8.8.0",
"didi": "^8.0.1",
"dmn-moddle": "^10.0.0",

@@ -36,5 +36,5 @@ "ids": "^0.2.0",

"selection-update": "^0.1.2",
"table-js": "^7.2.0"
"table-js": "^7.3.0"
},
"gitHead": "90d9cba44e1eb0e073d386c166c2f249fedf5d5c"
"gitHead": "18b238579d070d41109debc8d5609d0ad96c8cb9"
}

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