@atlas-engine/process_model_parser
Advanced tools
Comparing version 0.2.9-alpha.2 to 0.2.9-alpha.3
@@ -1,5 +0,11 @@ | ||
define(["require", "exports", "bluebird", "xml2js", "./parser"], function (require, exports, Bluebird, xml2js, parser_1) { | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
define(["require", "exports", "bluebird", "xml2js", "inversify", "./parser"], function (require, exports, Bluebird, xml2js, inversify_1, parser_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class BpmnModelParser { | ||
let BpmnModelParser = class BpmnModelParser { | ||
constructor() { | ||
@@ -20,5 +26,8 @@ const xmlParserOptions = { | ||
} | ||
} | ||
}; | ||
BpmnModelParser = __decorate([ | ||
inversify_1.injectable() | ||
], BpmnModelParser); | ||
exports.BpmnModelParser = BpmnModelParser; | ||
}); | ||
//# sourceMappingURL=bpmn_model_parser.js.map |
@@ -1,2 +0,11 @@ | ||
define(["require", "exports", "bluebird", "clone", "loggerhythm", "@atlas-engine/error_provider", "@atlas-engine/process_model", "./bpmn_model_parser"], function (require, exports, Bluebird, clone, loggerhythm_1, error_provider_1, process_model_1, bpmn_model_parser_1) { | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
define(["require", "exports", "bluebird", "clone", "loggerhythm", "inversify", "@atlas-engine/error_provider", "@atlas-engine/process_model", "./bpmn_model_parser"], function (require, exports, Bluebird, clone, loggerhythm_1, inversify_1, error_provider_1, process_model_1, bpmn_model_parser_1) { | ||
"use strict"; | ||
@@ -15,3 +24,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
*/ | ||
class BpmnParserService { | ||
let BpmnParserService = class BpmnParserService { | ||
constructor(iamService) { | ||
@@ -236,5 +245,9 @@ this.bpmnModelParser = new bpmn_model_parser_1.BpmnModelParser(); | ||
} | ||
} | ||
}; | ||
BpmnParserService = __decorate([ | ||
inversify_1.injectable(), | ||
__param(0, inversify_1.inject('IamService')) | ||
], BpmnParserService); | ||
exports.BpmnParserService = BpmnParserService; | ||
}); | ||
//# sourceMappingURL=bpmn_parser_service.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const Bluebird = require("bluebird"); | ||
const xml2js = require("xml2js"); | ||
const inversify_1 = require("inversify"); | ||
const parser_1 = require("./parser"); | ||
class BpmnModelParser { | ||
let BpmnModelParser = class BpmnModelParser { | ||
constructor() { | ||
@@ -22,4 +29,7 @@ const xmlParserOptions = { | ||
} | ||
} | ||
}; | ||
BpmnModelParser = __decorate([ | ||
inversify_1.injectable() | ||
], BpmnModelParser); | ||
exports.BpmnModelParser = BpmnModelParser; | ||
//# sourceMappingURL=bpmn_model_parser.js.map |
"use strict"; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -6,2 +15,3 @@ const Bluebird = require("bluebird"); | ||
const loggerhythm_1 = require("loggerhythm"); | ||
const inversify_1 = require("inversify"); | ||
const error_provider_1 = require("@atlas-engine/error_provider"); | ||
@@ -21,3 +31,3 @@ const process_model_1 = require("@atlas-engine/process_model"); | ||
*/ | ||
class BpmnParserService { | ||
let BpmnParserService = class BpmnParserService { | ||
constructor(iamService) { | ||
@@ -242,4 +252,8 @@ this.bpmnModelParser = new bpmn_model_parser_1.BpmnModelParser(); | ||
} | ||
} | ||
}; | ||
BpmnParserService = __decorate([ | ||
inversify_1.injectable(), | ||
__param(0, inversify_1.inject('IamService')) | ||
], BpmnParserService); | ||
exports.BpmnParserService = BpmnParserService; | ||
//# sourceMappingURL=bpmn_parser_service.js.map |
@@ -6,8 +6,7 @@ 'use strict'; | ||
function registerInContainer(container) { | ||
container.register('BpmnModelParser', BpmnModelParser); | ||
container.bind('BpmnModelParser').to(BpmnModelParser); | ||
container.register('BpmnParserService', BpmnParserService) | ||
.dependencies('IamService'); | ||
container.bind('BpmnParserService').to(BpmnParserService); | ||
} | ||
module.exports.registerInContainer = registerInContainer; |
{ | ||
"name": "@atlas-engine/process_model_parser", | ||
"version": "0.2.9-alpha.2", | ||
"version": "0.2.9-alpha.3", | ||
"description": "Parses BPMN xml files into the ProcessModel object employed by the AtlasEngine.", | ||
@@ -28,5 +28,8 @@ "license": "MIT", | ||
"bluebird": "^3.7.1", | ||
"clone": "^2.1.2", | ||
"inversify": "^5.0.1", | ||
"loggerhythm": "^3.0.3", | ||
"moment": "^2.24.0", | ||
"node-uuid": "^1.4.8", | ||
"reflect-metadata": "^0.1.13", | ||
"xml2js": "^0.4.19" | ||
@@ -40,3 +43,2 @@ }, | ||
"c8": "^5.0.1", | ||
"clone": "^2.1.2", | ||
"eslint": "^6.6.0", | ||
@@ -43,0 +45,0 @@ "mocha": "^7.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
273488
10
2933
11
+ Addedclone@^2.1.2
+ Addedinversify@^5.0.1
+ Addedreflect-metadata@^0.1.13
+ Addedclone@2.1.2(transitive)
+ Addedinversify@5.1.1(transitive)
+ Addedreflect-metadata@0.1.14(transitive)