@uipath/maestro-tool 1.199.0-preview.110 → 1.199.0-preview.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/packager-tool.js +24 -9
- package/dist/tool.js +19 -19
- package/package.json +2 -2
package/dist/packager-tool.js
CHANGED
|
@@ -175091,8 +175091,8 @@ var bpmn_spec_default = {
|
|
|
175091
175091
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
175092
175092
|
</bpmn:Task>`,
|
|
175093
175093
|
inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
|
|
175094
|
-
bpmnElementNotes: "Also used on bpmn:StartEvent and bpmn:
|
|
175095
|
-
extensionTagNotes: "Uses uipath:mapping (not uipath:activity).
|
|
175094
|
+
bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
|
|
175095
|
+
extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
|
|
175096
175096
|
},
|
|
175097
175097
|
"BPMN.ScriptTask": {
|
|
175098
175098
|
extensionType: "BPMN.ScriptTask",
|
|
@@ -175835,6 +175835,7 @@ var SUPPORTED_UIPATH_EXTENSION_TAG_NAMES = Object.freeze([
|
|
|
175835
175835
|
var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_TAG_NAMES.map((tag) => `uipath:${tag}`));
|
|
175836
175836
|
var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
|
|
175837
175837
|
var SEMANTIC_VALIDATION_ERROR = "BPMN_VALIDATION_ERROR";
|
|
175838
|
+
var BPMN_MODEL_NAMESPACE = "http://www.omg.org/spec/BPMN/20100524/MODEL";
|
|
175838
175839
|
|
|
175839
175840
|
class BpmnValidateService {
|
|
175840
175841
|
fileSystem;
|
|
@@ -176041,7 +176042,7 @@ class BpmnValidateService {
|
|
|
176041
176042
|
});
|
|
176042
176043
|
}
|
|
176043
176044
|
const allowedOwners = getAllowedOwnerTypes(contract);
|
|
176044
|
-
if (!allowedOwners.some((allowedOwner) =>
|
|
176045
|
+
if (!allowedOwners.some((allowedOwner) => getLocalName(allowedOwner) === getLocalName(owner.name) && resolveNamespace(owner) === BPMN_MODEL_NAMESPACE)) {
|
|
176045
176046
|
diagnostics.push({
|
|
176046
176047
|
file,
|
|
176047
176048
|
element: describeElement(owner),
|
|
@@ -176510,10 +176511,23 @@ function findFirst(node, predicate) {
|
|
|
176510
176511
|
return;
|
|
176511
176512
|
}
|
|
176512
176513
|
function hasLocalName(node, localName) {
|
|
176513
|
-
return
|
|
176514
|
+
return getLocalName(node.name) === localName.toLowerCase();
|
|
176514
176515
|
}
|
|
176515
|
-
function
|
|
176516
|
-
return name.toLowerCase();
|
|
176516
|
+
function getLocalName(name) {
|
|
176517
|
+
return name.slice(name.lastIndexOf(":") + 1).toLowerCase();
|
|
176518
|
+
}
|
|
176519
|
+
function resolveNamespace(node) {
|
|
176520
|
+
const separator = node.name.indexOf(":");
|
|
176521
|
+
const prefix = separator === -1 ? "" : node.name.slice(0, separator);
|
|
176522
|
+
const declaration = prefix ? `xmlns:${prefix}` : "xmlns";
|
|
176523
|
+
let current = node;
|
|
176524
|
+
while (current) {
|
|
176525
|
+
if (Object.hasOwn(current.attributes, declaration)) {
|
|
176526
|
+
return current.attributes[declaration];
|
|
176527
|
+
}
|
|
176528
|
+
current = current.parent;
|
|
176529
|
+
}
|
|
176530
|
+
return;
|
|
176517
176531
|
}
|
|
176518
176532
|
function findBpmnOwner(payload) {
|
|
176519
176533
|
const extensionElements = payload.parent;
|
|
@@ -176542,7 +176556,8 @@ function getAllowedOwnerTypes(contract) {
|
|
|
176542
176556
|
"bpmn:StartEvent",
|
|
176543
176557
|
"bpmn:EndEvent",
|
|
176544
176558
|
"bpmn:Task",
|
|
176545
|
-
"bpmn:ScriptTask"
|
|
176559
|
+
"bpmn:ScriptTask",
|
|
176560
|
+
"bpmn:SubProcess"
|
|
176546
176561
|
];
|
|
176547
176562
|
}
|
|
176548
176563
|
const placementTypes = Object.values(contract.placements).map((placement) => placement.type);
|
|
@@ -177003,7 +177018,7 @@ init_dist6();
|
|
|
177003
177018
|
// ../packager/packager-tool-flow/package.json
|
|
177004
177019
|
var package_default = {
|
|
177005
177020
|
name: "@uipath/packager-tool-flow",
|
|
177006
|
-
version: "1.199.0-preview.
|
|
177021
|
+
version: "1.199.0-preview.111",
|
|
177007
177022
|
description: "UiPath Flow tool implementation",
|
|
177008
177023
|
type: "module",
|
|
177009
177024
|
exports: {
|
|
@@ -191768,4 +191783,4 @@ toolsFactoryRepository2.registerProjectToolFactory(new BpmnToolFactory);
|
|
|
191768
191783
|
toolsFactoryRepository2.registerProjectToolFactory(new FlowToolFactory);
|
|
191769
191784
|
toolsFactoryRepository2.registerProjectToolFactory(new CaseToolFactory);
|
|
191770
191785
|
|
|
191771
|
-
//# debugId=
|
|
191786
|
+
//# debugId=7BE31BACE8ACFC9864756E2164756E21
|
package/dist/tool.js
CHANGED
|
@@ -33007,8 +33007,8 @@ var init_bpmn_spec = __esm(() => {
|
|
|
33007
33007
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
33008
33008
|
</bpmn:Task>`,
|
|
33009
33009
|
inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
|
|
33010
|
-
bpmnElementNotes: "Also used on bpmn:StartEvent and bpmn:
|
|
33011
|
-
extensionTagNotes: "Uses uipath:mapping (not uipath:activity).
|
|
33010
|
+
bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
|
|
33011
|
+
extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
|
|
33012
33012
|
},
|
|
33013
33013
|
"BPMN.ScriptTask": {
|
|
33014
33014
|
extensionType: "BPMN.ScriptTask",
|
|
@@ -134919,7 +134919,7 @@ var init_package = __esm(() => {
|
|
|
134919
134919
|
package_default2 = {
|
|
134920
134920
|
name: "@uipath/integrationservice-sdk",
|
|
134921
134921
|
license: "MIT",
|
|
134922
|
-
version: "1.199.0-preview.
|
|
134922
|
+
version: "1.199.0-preview.111",
|
|
134923
134923
|
repository: {
|
|
134924
134924
|
type: "git",
|
|
134925
134925
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -155813,7 +155813,7 @@ var init_package3 = __esm(() => {
|
|
|
155813
155813
|
package_default4 = {
|
|
155814
155814
|
name: "@uipath/solution-sdk",
|
|
155815
155815
|
license: "MIT",
|
|
155816
|
-
version: "1.199.0-preview.
|
|
155816
|
+
version: "1.199.0-preview.111",
|
|
155817
155817
|
repository: {
|
|
155818
155818
|
type: "git",
|
|
155819
155819
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -202006,7 +202006,7 @@ ${e3.Data}`);
|
|
|
202006
202006
|
package_default5 = {
|
|
202007
202007
|
name: "@uipath/solution-sdk",
|
|
202008
202008
|
license: "MIT",
|
|
202009
|
-
version: "1.199.0-preview.
|
|
202009
|
+
version: "1.199.0-preview.111",
|
|
202010
202010
|
repository: {
|
|
202011
202011
|
type: "git",
|
|
202012
202012
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -223223,8 +223223,8 @@ Char: ` + parser.c;
|
|
|
223223
223223
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
223224
223224
|
</bpmn:Task>`,
|
|
223225
223225
|
inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
|
|
223226
|
-
bpmnElementNotes: "Also used on bpmn:StartEvent and bpmn:
|
|
223227
|
-
extensionTagNotes: "Uses uipath:mapping (not uipath:activity).
|
|
223226
|
+
bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
|
|
223227
|
+
extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
|
|
223228
223228
|
},
|
|
223229
223229
|
"BPMN.ScriptTask": {
|
|
223230
223230
|
extensionType: "BPMN.ScriptTask",
|
|
@@ -232193,7 +232193,7 @@ var init_package4 = __esm(() => {
|
|
|
232193
232193
|
package_default6 = {
|
|
232194
232194
|
name: "@uipath/flow-tool",
|
|
232195
232195
|
license: "MIT",
|
|
232196
|
-
version: "1.199.0-preview.
|
|
232196
|
+
version: "1.199.0-preview.111",
|
|
232197
232197
|
description: "Create, debug, and run UiPath Flow projects and jobs.",
|
|
232198
232198
|
private: false,
|
|
232199
232199
|
repository: {
|
|
@@ -329020,7 +329020,7 @@ var package_default7;
|
|
|
329020
329020
|
var init_package5 = __esm(() => {
|
|
329021
329021
|
package_default7 = {
|
|
329022
329022
|
name: "@uipath/packager-tool-flow",
|
|
329023
|
-
version: "1.199.0-preview.
|
|
329023
|
+
version: "1.199.0-preview.111",
|
|
329024
329024
|
description: "UiPath Flow tool implementation",
|
|
329025
329025
|
type: "module",
|
|
329026
329026
|
exports: {
|
|
@@ -364860,7 +364860,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
364860
364860
|
package_default8 = {
|
|
364861
364861
|
name: "@uipath/project-packager",
|
|
364862
364862
|
license: "MIT",
|
|
364863
|
-
version: "1.199.0-preview.
|
|
364863
|
+
version: "1.199.0-preview.111",
|
|
364864
364864
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
364865
364865
|
type: "module",
|
|
364866
364866
|
main: "./dist/index.js",
|
|
@@ -460594,7 +460594,7 @@ var init_package6 = __esm(() => {
|
|
|
460594
460594
|
package_default9 = {
|
|
460595
460595
|
name: "@uipath/agent-sdk",
|
|
460596
460596
|
license: "MIT",
|
|
460597
|
-
version: "1.199.0-preview.
|
|
460597
|
+
version: "1.199.0-preview.111",
|
|
460598
460598
|
description: "SDK for the UiPath Agent Runtime API — evaluation execution and debug sessions.",
|
|
460599
460599
|
repository: {
|
|
460600
460600
|
type: "git",
|
|
@@ -815135,7 +815135,7 @@ return { upsertKeys: allEventsUpdatedKeys, deleteKeys: [...exitedStageKeysToDele
|
|
|
815135
815135
|
package_default10 = {
|
|
815136
815136
|
name: "@uipath/case-tool",
|
|
815137
815137
|
license: "MIT",
|
|
815138
|
-
version: "1.199.0-preview.
|
|
815138
|
+
version: "1.199.0-preview.111",
|
|
815139
815139
|
description: "Manage Case Management instances, processes, and incidents.",
|
|
815140
815140
|
private: false,
|
|
815141
815141
|
repository: {
|
|
@@ -818529,8 +818529,8 @@ The identity server that issued this token is not the one you pointed --authorit
|
|
|
818529
818529
|
<bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
|
|
818530
818530
|
</bpmn:Task>`,
|
|
818531
818531
|
inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
|
|
818532
|
-
bpmnElementNotes: "Also used on bpmn:StartEvent and bpmn:
|
|
818533
|
-
extensionTagNotes: "Uses uipath:mapping (not uipath:activity).
|
|
818532
|
+
bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
|
|
818533
|
+
extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
|
|
818534
818534
|
},
|
|
818535
818535
|
"BPMN.ScriptTask": {
|
|
818536
818536
|
extensionType: "BPMN.ScriptTask",
|
|
@@ -866157,7 +866157,7 @@ return {
|
|
|
866157
866157
|
package_default23 = {
|
|
866158
866158
|
name: "@uipath/integrationservice-sdk",
|
|
866159
866159
|
license: "MIT",
|
|
866160
|
-
version: "1.199.0-preview.
|
|
866160
|
+
version: "1.199.0-preview.111",
|
|
866161
866161
|
repository: {
|
|
866162
866162
|
type: "git",
|
|
866163
866163
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -872053,7 +872053,7 @@ return {
|
|
|
872053
872053
|
package_default42 = {
|
|
872054
872054
|
name: "@uipath/solution-sdk",
|
|
872055
872055
|
license: "MIT",
|
|
872056
|
-
version: "1.199.0-preview.
|
|
872056
|
+
version: "1.199.0-preview.111",
|
|
872057
872057
|
repository: {
|
|
872058
872058
|
type: "git",
|
|
872059
872059
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -895771,7 +895771,7 @@ ${e32.Data}`);
|
|
|
895771
895771
|
package_default52 = {
|
|
895772
895772
|
name: "@uipath/solution-sdk",
|
|
895773
895773
|
license: "MIT",
|
|
895774
|
-
version: "1.199.0-preview.
|
|
895774
|
+
version: "1.199.0-preview.111",
|
|
895775
895775
|
repository: {
|
|
895776
895776
|
type: "git",
|
|
895777
895777
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -902896,7 +902896,7 @@ import"./packager-tool.js";
|
|
|
902896
902896
|
var package_default = {
|
|
902897
902897
|
name: "@uipath/maestro-tool",
|
|
902898
902898
|
license: "MIT",
|
|
902899
|
-
version: "1.199.0-preview.
|
|
902899
|
+
version: "1.199.0-preview.111",
|
|
902900
902900
|
description: "Create, debug, and run Maestro projects and jobs.",
|
|
902901
902901
|
private: false,
|
|
902902
902902
|
repository: {
|
|
@@ -906015,4 +906015,4 @@ export {
|
|
|
906015
906015
|
metadata3 as metadata
|
|
906016
906016
|
};
|
|
906017
906017
|
|
|
906018
|
-
//# debugId=
|
|
906018
|
+
//# debugId=65A28823F759D4D264756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.199.0-preview.
|
|
4
|
+
"version": "1.199.0-preview.111",
|
|
5
5
|
"description": "Create, debug, and run Maestro projects and jobs.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "1a86625f94b9abd4d02444b8c5deec7e9d08d210"
|
|
30
30
|
}
|