@eclipse-glsp-examples/workflow-server-bundled 1.1.0-next.5fd686c.61 → 1.1.0-next.bc2649d.62
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": "1.1.0-next.
|
|
3
|
+
"version": "1.1.0-next.bc2649d.62+bc2649d",
|
|
4
4
|
"description": "GLSP node server for the workflow example (bundled)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"wf-glsp-server-node.js.map"
|
|
42
42
|
],
|
|
43
43
|
"scripts": {
|
|
44
|
-
"clean": "rimraf
|
|
44
|
+
"clean": "rimraf wf-glsp-server-node.js wf-glsp-server-node.js.map",
|
|
45
45
|
"prepare": "yarn clean",
|
|
46
46
|
"start": "node --enable-source-maps ./wf-glsp-server-node.js --port 5007",
|
|
47
47
|
"start:websocket": "node --enable-source-maps ./wf-glsp-server-node.js -w --port 8081",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "bc2649d86ee5422165a61cd077ba9156bc7b1c05"
|
|
54
54
|
}
|
package/wf-glsp-server-node.js
CHANGED
|
@@ -54950,6 +54950,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
54950
54950
|
exports.AbstractJsonModelStorage = void 0;
|
|
54951
54951
|
const fs = __webpack_require__(/*! fs-extra */ "../../node_modules/fs-extra/lib/index.js");
|
|
54952
54952
|
const inversify_1 = __webpack_require__(/*! inversify */ "../../node_modules/inversify/es/inversify.js");
|
|
54953
|
+
const os = __webpack_require__(/*! os */ "os");
|
|
54953
54954
|
const url_1 = __webpack_require__(/*! url */ "url");
|
|
54954
54955
|
const model_state_1 = __webpack_require__(/*! ../common/features/model/model-state */ "../../packages/server/lib/common/features/model/model-state.js");
|
|
54955
54956
|
const glsp_server_error_1 = __webpack_require__(/*! ../common/utils/glsp-server-error */ "../../packages/server/lib/common/utils/glsp-server-error.js");
|
|
@@ -55011,7 +55012,12 @@ let AbstractJsonModelStorage = exports.AbstractJsonModelStorage = class Abstract
|
|
|
55011
55012
|
return JSON.parse(fileContent);
|
|
55012
55013
|
}
|
|
55013
55014
|
toPath(sourceUri) {
|
|
55014
|
-
|
|
55015
|
+
let path = sourceUri.startsWith('file://') ? (0, url_1.fileURLToPath)(sourceUri) : sourceUri;
|
|
55016
|
+
if (os.platform() === 'win32') {
|
|
55017
|
+
// Remove the leading slash if it exists (Windows paths don't have it)
|
|
55018
|
+
path = path.replace(/^\//, '');
|
|
55019
|
+
}
|
|
55020
|
+
return path;
|
|
55015
55021
|
}
|
|
55016
55022
|
getFileUri(action) {
|
|
55017
55023
|
var _a;
|