@codingame/monaco-vscode-api 1.69.13 → 1.69.14
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/extHost.js +12 -12
- package/dist/files.js +2 -2
- package/dist/messages.d.ts +1 -1
- package/dist/modelEditor.d.ts +1 -1
- package/dist/monaco.d.ts +1 -1
- package/dist/textmate.d.ts +1 -1
- package/dist/textmate.js +1 -2
- package/dist/theme.d.ts +1 -1
- package/package.json +28 -23
package/dist/extHost.js
CHANGED
|
@@ -1744,7 +1744,7 @@ let SelectionRange$1 = class SelectionRange {
|
|
|
1744
1744
|
SelectionRange$1 = ( (__decorate([
|
|
1745
1745
|
es5ClassCompat
|
|
1746
1746
|
], SelectionRange$1)));
|
|
1747
|
-
|
|
1747
|
+
let CallHierarchyItem$1 = class CallHierarchyItem {
|
|
1748
1748
|
constructor(kind, name, detail, uri, range, selectionRange) {
|
|
1749
1749
|
this.kind = kind;
|
|
1750
1750
|
this.name = name;
|
|
@@ -1753,7 +1753,7 @@ class CallHierarchyItem$1 {
|
|
|
1753
1753
|
this.range = range;
|
|
1754
1754
|
this.selectionRange = selectionRange;
|
|
1755
1755
|
}
|
|
1756
|
-
}
|
|
1756
|
+
};
|
|
1757
1757
|
class CallHierarchyIncomingCall {
|
|
1758
1758
|
constructor(item, fromRanges) {
|
|
1759
1759
|
this.fromRanges = fromRanges;
|
|
@@ -3224,7 +3224,7 @@ class FileDecoration {
|
|
|
3224
3224
|
return true;
|
|
3225
3225
|
}
|
|
3226
3226
|
}
|
|
3227
|
-
|
|
3227
|
+
let NotebookRange$1 = class NotebookRange {
|
|
3228
3228
|
constructor(start, end) {
|
|
3229
3229
|
if (start < 0) {
|
|
3230
3230
|
throw illegalArgument('start must be positive');
|
|
@@ -3276,8 +3276,8 @@ class NotebookRange$1 {
|
|
|
3276
3276
|
(new NotebookRange$1(start, end))
|
|
3277
3277
|
);
|
|
3278
3278
|
}
|
|
3279
|
-
}
|
|
3280
|
-
|
|
3279
|
+
};
|
|
3280
|
+
let NotebookCellData$1 = class NotebookCellData {
|
|
3281
3281
|
constructor(kind, value, languageId, mime, outputs, metadata, executionSummary) {
|
|
3282
3282
|
this.kind = kind;
|
|
3283
3283
|
this.value = value;
|
|
@@ -3305,13 +3305,13 @@ class NotebookCellData$1 {
|
|
|
3305
3305
|
static isNotebookCellData(value) {
|
|
3306
3306
|
return true;
|
|
3307
3307
|
}
|
|
3308
|
-
}
|
|
3308
|
+
};
|
|
3309
3309
|
class NotebookData {
|
|
3310
3310
|
constructor(cells) {
|
|
3311
3311
|
this.cells = cells;
|
|
3312
3312
|
}
|
|
3313
3313
|
}
|
|
3314
|
-
|
|
3314
|
+
let NotebookCellOutputItem$1 = class NotebookCellOutputItem {
|
|
3315
3315
|
constructor(data, mime) {
|
|
3316
3316
|
this.data = data;
|
|
3317
3317
|
this.mime = mime;
|
|
@@ -3360,10 +3360,10 @@ class NotebookCellOutputItem$1 {
|
|
|
3360
3360
|
const rawStr = JSON.stringify(value, undefined, '\t');
|
|
3361
3361
|
return NotebookCellOutputItem$1.text(rawStr, mime);
|
|
3362
3362
|
}
|
|
3363
|
-
}
|
|
3363
|
+
};
|
|
3364
3364
|
_a$1 = NotebookCellOutputItem$1;
|
|
3365
3365
|
_NotebookCellOutputItem_encoder = { value: ( (new TextEncoder())) };
|
|
3366
|
-
|
|
3366
|
+
let NotebookCellOutput$1 = class NotebookCellOutput {
|
|
3367
3367
|
constructor(items, idOrMetadata, metadata) {
|
|
3368
3368
|
this.items = NotebookCellOutput$1.ensureUniqueMimeTypes(items, true);
|
|
3369
3369
|
if (typeof idOrMetadata === 'string') {
|
|
@@ -3404,7 +3404,7 @@ class NotebookCellOutput$1 {
|
|
|
3404
3404
|
}
|
|
3405
3405
|
return items.filter((_item, index) => !removeIdx.has(index));
|
|
3406
3406
|
}
|
|
3407
|
-
}
|
|
3407
|
+
};
|
|
3408
3408
|
var NotebookCellKind$1;
|
|
3409
3409
|
( ((function(NotebookCellKind) {
|
|
3410
3410
|
NotebookCellKind[NotebookCellKind["Markup"] = 1] = "Markup";
|
|
@@ -3490,7 +3490,7 @@ let TestTag = class TestTag {
|
|
|
3490
3490
|
TestTag = ( (__decorate([
|
|
3491
3491
|
es5ClassCompat
|
|
3492
3492
|
], TestTag)));
|
|
3493
|
-
|
|
3493
|
+
let TypeHierarchyItem$1 = class TypeHierarchyItem {
|
|
3494
3494
|
constructor(kind, name, detail, uri, range, selectionRange) {
|
|
3495
3495
|
this.kind = kind;
|
|
3496
3496
|
this.name = name;
|
|
@@ -3499,7 +3499,7 @@ class TypeHierarchyItem$1 {
|
|
|
3499
3499
|
this.range = range;
|
|
3500
3500
|
this.selectionRange = selectionRange;
|
|
3501
3501
|
}
|
|
3502
|
-
}
|
|
3502
|
+
};
|
|
3503
3503
|
class TextDiffTabInput {
|
|
3504
3504
|
constructor(original, modified) {
|
|
3505
3505
|
this.original = original;
|
package/dist/files.js
CHANGED
|
@@ -91,7 +91,7 @@ class AbstractExtensionResourceLoaderService {
|
|
|
91
91
|
return uri.path.startsWith(this._webExtensionResourceEndPoint);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
let File$1 = class File {
|
|
95
95
|
constructor(name) {
|
|
96
96
|
this.type = FileType.File;
|
|
97
97
|
this.ctime = Date.now();
|
|
@@ -99,7 +99,7 @@ class File$1 {
|
|
|
99
99
|
this.size = 0;
|
|
100
100
|
this.name = name;
|
|
101
101
|
}
|
|
102
|
-
}
|
|
102
|
+
};
|
|
103
103
|
class Directory {
|
|
104
104
|
constructor(name) {
|
|
105
105
|
this.type = FileType.Directory;
|
package/dist/messages.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as monaco from 'monaco-editor';
|
|
|
3
3
|
type IEditorOverrideServices = monaco.editor.IEditorOverrideServices
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated
|
|
6
|
+
* @deprecated use `getNotificationServiceOverride` and `getDialogServiceOverride` instead
|
|
7
7
|
*/
|
|
8
8
|
declare function getServiceOverride(container?: HTMLElement): IEditorOverrideServices;
|
|
9
9
|
|
package/dist/modelEditor.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ interface IEditorOptions {
|
|
|
158
158
|
|
|
159
159
|
type IEditorOverrideServices = monaco.editor.IEditorOverrideServices
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
type OpenEditor = (model: ITextModel, options: IEditorOptions | undefined, sideBySide?: boolean) => Promise<ICodeEditor | undefined>;
|
|
162
162
|
declare function getServiceOverride(openEditor: OpenEditor): IEditorOverrideServices;
|
|
163
163
|
|
|
164
164
|
export { IEditorOptions, OpenEditor, getServiceOverride as default };
|
package/dist/monaco.d.ts
CHANGED
|
@@ -4925,7 +4925,7 @@ declare const Extensions: {
|
|
|
4925
4925
|
Configuration: string;
|
|
4926
4926
|
JSONContribution: string;
|
|
4927
4927
|
};
|
|
4928
|
-
|
|
4928
|
+
type FileMatch = Partial<Record<string, string[]>>;
|
|
4929
4929
|
declare function getJsonSchemas(fileMatchs?: FileMatch): monaco.languages.json.DiagnosticsOptions['schemas'];
|
|
4930
4930
|
declare const onDidChangeJsonSchema: Event<string>;
|
|
4931
4931
|
|
package/dist/textmate.d.ts
CHANGED
|
@@ -676,7 +676,7 @@ interface ITMSyntaxExtensionPoint {
|
|
|
676
676
|
unbalancedBracketScopes: string[];
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
|
|
679
|
+
type PartialITMSyntaxExtensionPoint = Partial<ITMSyntaxExtensionPoint> & Pick<ITMSyntaxExtensionPoint, 'path' | 'scopeName'>;
|
|
680
680
|
declare function setGrammars<T extends PartialITMSyntaxExtensionPoint>(grammars: T[], getContent: (grammar: T) => Promise<string>, extension?: IExtensionDescription): void;
|
|
681
681
|
declare function getServiceOverride(getOnigLib: () => Promise<Response | ArrayBuffer>): IEditorOverrideServices;
|
|
682
682
|
|
package/dist/textmate.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param, E as Emitter } from './workspace.js';
|
|
2
2
|
import './polyfill.js';
|
|
3
3
|
import { h as ExtensionMessageCollector, m as ITextMateService, E as ExtensionsRegistry } from './missing-services.js';
|
|
4
|
-
export { m as ITextMateService } from './missing-services.js';
|
|
5
4
|
import { l as languagesExtPoint } from './languageService.js';
|
|
6
5
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
7
6
|
import { I as IWorkbenchThemeService } from './workbenchThemeService.js';
|
|
@@ -737,4 +736,4 @@ function getServiceOverride(getOnigLib) {
|
|
|
737
736
|
[( ITextMateService.toString())]: new SyncDescriptor(TextMateService, [getOnigLib])
|
|
738
737
|
};
|
|
739
738
|
}
|
|
740
|
-
export { getServiceOverride as default, setGrammars };
|
|
739
|
+
export { ITextMateService, getServiceOverride as default, setGrammars };
|
package/dist/theme.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ interface IThemeExtensionPoint {
|
|
|
15
15
|
|
|
16
16
|
type IEditorOverrideServices = monaco.editor.IEditorOverrideServices
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
type PartialIThemeExtensionPoint = Partial<IThemeExtensionPoint> & Pick<IThemeExtensionPoint, 'id' | 'path'>;
|
|
19
19
|
declare function setThemes<T extends PartialIThemeExtensionPoint>(_themes: T[], getContent: (theme: T) => Promise<string>): void;
|
|
20
20
|
declare function setDefaultThemes<T extends PartialIThemeExtensionPoint>(_themes: T[], getContent: (theme: T) => Promise<string>): void;
|
|
21
21
|
declare function getServiceOverride(): IEditorOverrideServices;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "1.69.
|
|
3
|
+
"version": "1.69.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -141,37 +141,37 @@
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
"devDependencies": {
|
|
144
|
-
"@babel/core": "^7.
|
|
144
|
+
"@babel/core": "^7.20.12",
|
|
145
145
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
146
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
147
|
-
"@babel/preset-env": "^7.
|
|
146
|
+
"@babel/plugin-proposal-decorators": "^7.20.7",
|
|
147
|
+
"@babel/preset-env": "^7.20.2",
|
|
148
148
|
"@babel/preset-typescript": "^7.18.6",
|
|
149
149
|
"@codingame/eslint-config": "^1.1.6",
|
|
150
|
-
"@codingame/tsconfig": "^1.1.
|
|
151
|
-
"@octokit/rest": "^19.0.
|
|
152
|
-
"@rollup/plugin-node-resolve": "^
|
|
153
|
-
"@rollup/plugin-replace": "^
|
|
154
|
-
"@rollup/plugin-typescript": "^
|
|
155
|
-
"@types/babel__core": "^7.
|
|
156
|
-
"@types/semver": "^7.3.
|
|
150
|
+
"@codingame/tsconfig": "^1.1.1",
|
|
151
|
+
"@octokit/rest": "^19.0.5",
|
|
152
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
153
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
154
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
155
|
+
"@types/babel__core": "^7.20.0",
|
|
156
|
+
"@types/semver": "^7.3.13",
|
|
157
157
|
"@types/vscode": "~1.69.1",
|
|
158
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
159
|
-
"@typescript-eslint/parser": "^5.
|
|
160
|
-
"eslint": "^8.
|
|
158
|
+
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
159
|
+
"@typescript-eslint/parser": "^5.48.2",
|
|
160
|
+
"eslint": "^8.32.0",
|
|
161
161
|
"eslint-config-standard": "^17.0.0",
|
|
162
|
-
"eslint-plugin-import": "^2.
|
|
163
|
-
"eslint-plugin-n": "^15.
|
|
164
|
-
"eslint-plugin-promise": "^6.
|
|
162
|
+
"eslint-plugin-import": "^2.27.5",
|
|
163
|
+
"eslint-plugin-n": "^15.6.1",
|
|
164
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
165
165
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
166
166
|
"js-cleanup": "^1.2.0",
|
|
167
|
-
"recast": "^0.
|
|
168
|
-
"rollup": "^
|
|
169
|
-
"rollup-plugin-dts": "^
|
|
167
|
+
"recast": "^0.22.0",
|
|
168
|
+
"rollup": "^3.10.0",
|
|
169
|
+
"rollup-plugin-dts": "^5.1.1",
|
|
170
170
|
"rollup-plugin-styles": "^4.0.0",
|
|
171
|
-
"semver": "^7.3.
|
|
171
|
+
"semver": "^7.3.8",
|
|
172
172
|
"ts-node": "^10.9.1",
|
|
173
|
-
"typescript": "^4.
|
|
174
|
-
"zx": "^7.
|
|
173
|
+
"typescript": "^4.9.4",
|
|
174
|
+
"zx": "^7.1.1"
|
|
175
175
|
},
|
|
176
176
|
"dependencies": {},
|
|
177
177
|
"peerDependencies": {
|
|
@@ -179,6 +179,11 @@
|
|
|
179
179
|
"vscode-textmate": "^7.0.1",
|
|
180
180
|
"vscode-oniguruma": "^1.6.2"
|
|
181
181
|
},
|
|
182
|
+
"overrides": {
|
|
183
|
+
"rollup-plugin-styles": {
|
|
184
|
+
"rollup": "3.10.0"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
182
187
|
"volta": {
|
|
183
188
|
"node": "16.15.0",
|
|
184
189
|
"npm": "8.11.0"
|