@theia/markers 1.34.0-next.7 → 1.34.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"problem-selection.d.ts","sourceRoot":"","sources":["../../../src/browser/problem/problem-selection.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"problem-selection.d.ts","sourceRoot":"","sources":["../../../src/browser/problem/problem-selection.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAE3F,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CAC1B;AACD,yBAAiB,gBAAgB,CAAC;IAC9B,SAAgB,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,gBAAgB,CAExD;IAED,MAAa,cAAe,SAAQ,uBAAuB,CAAC,gBAAgB,CAAC;oBAGrE,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,uBAAuB,CAAC,OAAO,CAAC,gBAAgB,CAAC;KAQjE;CAEJ"}
|
|
@@ -17,11 +17,12 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.ProblemSelection = void 0;
|
|
19
19
|
const selection_command_handler_1 = require("@theia/core/lib/common/selection-command-handler");
|
|
20
|
+
const common_1 = require("@theia/core/lib/common");
|
|
20
21
|
const problem_marker_1 = require("../../common/problem-marker");
|
|
21
22
|
var ProblemSelection;
|
|
22
23
|
(function (ProblemSelection) {
|
|
23
24
|
function is(arg) {
|
|
24
|
-
return
|
|
25
|
+
return (0, common_1.isObject)(arg) && problem_marker_1.ProblemMarker.is(arg.marker);
|
|
25
26
|
}
|
|
26
27
|
ProblemSelection.is = is;
|
|
27
28
|
class CommandHandler extends selection_command_handler_1.SelectionCommandHandler {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"problem-selection.js","sourceRoot":"","sources":["../../../src/browser/problem/problem-selection.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAGhF,gGAA2F;
|
|
1
|
+
{"version":3,"file":"problem-selection.js","sourceRoot":"","sources":["../../../src/browser/problem/problem-selection.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAGhF,gGAA2F;AAC3F,mDAAkD;AAElD,gEAA4D;AAK5D,IAAiB,gBAAgB,CAmBhC;AAnBD,WAAiB,gBAAgB;IAC7B,SAAgB,EAAE,CAAC,GAAY;QAC3B,OAAO,IAAA,iBAAQ,EAAmB,GAAG,CAAC,IAAI,8BAAa,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3E,CAAC;IAFe,mBAAE,KAEjB,CAAA;IAED,MAAa,cAAe,SAAQ,mDAAyC;QAEzE,YACI,gBAAkC,EAClC,OAA0D;YAE1D,KAAK,CACD,gBAAgB,EAChB,GAAG,CAAC,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,EACjD,OAAO,CACV,CAAC;QACN,CAAC;KACJ;IAZY,+BAAc,iBAY1B,CAAA;AAEL,CAAC,EAnBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAmBhC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/markers",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.1",
|
|
4
4
|
"description": "Theia - Markers Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.34.
|
|
7
|
-
"@theia/filesystem": "1.34.
|
|
8
|
-
"@theia/workspace": "1.34.
|
|
6
|
+
"@theia/core": "1.34.1",
|
|
7
|
+
"@theia/filesystem": "1.34.1",
|
|
8
|
+
"@theia/workspace": "1.34.1"
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"watch": "theiaext watch"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@theia/ext-scripts": "1.
|
|
43
|
+
"@theia/ext-scripts": "1.34.1"
|
|
44
44
|
},
|
|
45
45
|
"nyc": {
|
|
46
46
|
"extends": "../../configs/nyc.json"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "474bdc10b58be92953496b8bcac2af25ee2b48a3"
|
|
49
49
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { SelectionService } from '@theia/core/lib/common/selection-service';
|
|
18
18
|
import { SelectionCommandHandler } from '@theia/core/lib/common/selection-command-handler';
|
|
19
|
+
import { isObject } from '@theia/core/lib/common';
|
|
19
20
|
import { Marker } from '../../common/marker';
|
|
20
21
|
import { ProblemMarker } from '../../common/problem-marker';
|
|
21
22
|
|
|
@@ -24,7 +25,7 @@ export interface ProblemSelection {
|
|
|
24
25
|
}
|
|
25
26
|
export namespace ProblemSelection {
|
|
26
27
|
export function is(arg: unknown): arg is ProblemSelection {
|
|
27
|
-
return
|
|
28
|
+
return isObject<ProblemSelection>(arg) && ProblemMarker.is(arg.marker);
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
export class CommandHandler extends SelectionCommandHandler<ProblemSelection> {
|