@eclipse-glsp-examples/workflow-server-bundled 2.1.0-next.71 → 2.1.0-next.75
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-server-bundled",
|
|
3
|
-
"version": "2.1.0-next.
|
|
3
|
+
"version": "2.1.0-next.75+9f86a52",
|
|
4
4
|
"description": "GLSP node server for the workflow example (bundled)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "9f86a52adb3d5ae444f8aeeed842fc01b443bd4e"
|
|
53
53
|
}
|
package/wf-glsp-server-node.js
CHANGED
|
@@ -45720,7 +45720,7 @@ class AbstractRecordingCommand {
|
|
|
45720
45720
|
const afterState = await this.getJsonObject();
|
|
45721
45721
|
this.undoPatch = jsonPatch.compare(afterState, beforeState);
|
|
45722
45722
|
this.redoPatch = jsonPatch.compare(beforeState, afterState);
|
|
45723
|
-
(_a = this.postChange) === null || _a === void 0 ? void 0 : _a.call(this, afterState);
|
|
45723
|
+
await ((_a = this.postChange) === null || _a === void 0 ? void 0 : _a.call(this, afterState));
|
|
45724
45724
|
}
|
|
45725
45725
|
applyPatch(object, patch) {
|
|
45726
45726
|
return jsonPatch.applyPatch(object, patch, false, true);
|
|
@@ -45738,14 +45738,14 @@ class AbstractRecordingCommand {
|
|
|
45738
45738
|
var _a;
|
|
45739
45739
|
if (this.undoPatch) {
|
|
45740
45740
|
const result = this.applyPatch(await this.getJsonObject(), this.undoPatch);
|
|
45741
|
-
(_a = this.postChange) === null || _a === void 0 ? void 0 : _a.call(this, result.newDocument);
|
|
45741
|
+
await ((_a = this.postChange) === null || _a === void 0 ? void 0 : _a.call(this, result.newDocument));
|
|
45742
45742
|
}
|
|
45743
45743
|
}
|
|
45744
45744
|
async redo() {
|
|
45745
45745
|
var _a;
|
|
45746
45746
|
if (this.redoPatch) {
|
|
45747
45747
|
const result = this.applyPatch(await this.getJsonObject(), this.redoPatch);
|
|
45748
|
-
(_a = this.postChange) === null || _a === void 0 ? void 0 : _a.call(this, result.newDocument);
|
|
45748
|
+
await ((_a = this.postChange) === null || _a === void 0 ? void 0 : _a.call(this, result.newDocument));
|
|
45749
45749
|
}
|
|
45750
45750
|
}
|
|
45751
45751
|
canUndo() {
|
|
@@ -50734,7 +50734,7 @@ class JsonRecordingCommand extends recording_command_1.AbstractRecordingCommand
|
|
|
50734
50734
|
return this.modelState.sourceModel;
|
|
50735
50735
|
}
|
|
50736
50736
|
postChange(newModel) {
|
|
50737
|
-
this.modelState.updateSourceModel(newModel);
|
|
50737
|
+
return this.modelState.updateSourceModel(newModel);
|
|
50738
50738
|
}
|
|
50739
50739
|
}
|
|
50740
50740
|
exports.JsonRecordingCommand = JsonRecordingCommand;
|
|
@@ -52918,7 +52918,7 @@ exports.processPort = exports.createSocketCliParser = exports.defaultSocketLaunc
|
|
|
52918
52918
|
********************************************************************************/
|
|
52919
52919
|
const cmd = __webpack_require__(/*! commander */ "../../packages/server/node_modules/commander/index.js");
|
|
52920
52920
|
const cli_parser_1 = __webpack_require__(/*! ./cli-parser */ "../../packages/server/lib/node/launch/cli-parser.js");
|
|
52921
|
-
exports.defaultSocketLaunchOptions = Object.assign(Object.assign({}, cli_parser_1.defaultLaunchOptions), { port: 0, host: '
|
|
52921
|
+
exports.defaultSocketLaunchOptions = Object.assign(Object.assign({}, cli_parser_1.defaultLaunchOptions), { port: 0, host: '127.0.0.1' });
|
|
52922
52922
|
function createSocketCliParser(defaultOptions = exports.defaultSocketLaunchOptions) {
|
|
52923
52923
|
const parser = (0, cli_parser_1.createCliParser)(defaultOptions);
|
|
52924
52924
|
parser.command
|