@codingame/monaco-vscode-api 1.67.7 → 1.67.9

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,39 +0,0 @@
1
- define(['exports', 'monaco-editor/esm/vs/base/common/severity.js'], (function (exports, Severity) { 'use strict';
2
-
3
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
4
-
5
- var Severity__default = /*#__PURE__*/_interopDefaultLegacy(Severity);
6
-
7
- let services;
8
- exports.Services = void 0;
9
- (function (Services) {
10
- Services.get = () => {
11
- if (services == null) {
12
- throw new Error('Services has not been installed');
13
- }
14
- return services;
15
- };
16
- function install(_services) {
17
- if (services != null) {
18
- console.warn('Services have been overridden');
19
- }
20
- services = _services;
21
- return {
22
- dispose: () => {
23
- if (services === _services) {
24
- services = undefined;
25
- }
26
- }
27
- };
28
- }
29
- Services.install = install;
30
- })(exports.Services || (exports.Services = {}));
31
-
32
- Object.defineProperty(exports, 'Severity', {
33
- enumerable: true,
34
- get: function () { return Severity__default["default"]; }
35
- });
36
-
37
- Object.defineProperty(exports, '__esModule', { value: true });
38
-
39
- }));
package/dist/services.cjs DELETED
@@ -1,39 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var Severity = require('monaco-editor/esm/vs/base/common/severity.js');
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- var Severity__default = /*#__PURE__*/_interopDefaultLegacy(Severity);
10
-
11
- let services;
12
- exports.Services = void 0;
13
- (function (Services) {
14
- Services.get = () => {
15
- if (services == null) {
16
- throw new Error('Services has not been installed');
17
- }
18
- return services;
19
- };
20
- function install(_services) {
21
- if (services != null) {
22
- console.warn('Services have been overridden');
23
- }
24
- services = _services;
25
- return {
26
- dispose: () => {
27
- if (services === _services) {
28
- services = undefined;
29
- }
30
- }
31
- };
32
- }
33
- Services.install = install;
34
- })(exports.Services || (exports.Services = {}));
35
-
36
- Object.defineProperty(exports, 'Severity', {
37
- enumerable: true,
38
- get: function () { return Severity__default["default"]; }
39
- });