@opensumi/ide-components 3.2.5-next-1724744804.0 → 3.2.6-next-1724809247.0
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/index.js +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -6126,7 +6126,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
6126
6126
|
/***/ ((__unused_webpack_module, exports) => {
|
|
6127
6127
|
|
|
6128
6128
|
"use strict";
|
|
6129
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.
|
|
6129
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Mimes = void 0;\nexports.Mimes = Object.freeze({\n text: 'text/plain',\n binary: 'application/octet-stream',\n unknown: 'application/unknown',\n markdown: 'text/markdown',\n latex: 'text/latex',\n uriList: 'text/uri-list',\n});\n//# sourceMappingURL=mime.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../core-common/lib/mime.js?");
|
|
6130
6130
|
|
|
6131
6131
|
/***/ }),
|
|
6132
6132
|
|
|
@@ -6918,7 +6918,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
6918
6918
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
6919
6919
|
|
|
6920
6920
|
"use strict";
|
|
6921
|
-
eval("/* provided dependency */ var process = __webpack_require__(/*! ../../node_modules/process/browser.js */ \"../../node_modules/process/browser.js\");\n\n/* ---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n// Some code copied and modified from https://github.com/microsoft/vscode/blob/01d1ea52e639615c4513689ce66576829438f748/src/vs/base/common/platform.ts\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isSafari = exports.isChrome = exports.userAgent = exports.OperatingSystem = exports.setImmediate = exports.globals = exports.translationsConfigFile = exports.locale = exports.Language = exports.language = exports.isRootUser = exports.isWebKit = exports.platform = exports.isWeb = exports.isNative = exports.isLinux = exports.isOSX = exports.isMacintosh = exports.isWindows = exports.PlatformToString = exports.LANGUAGE_DEFAULT = void 0;\nexports.LANGUAGE_DEFAULT = 'en';\nlet _isWindows = false;\nlet _isMacintosh = false;\nlet _isLinux = false;\nlet _isNative = false;\nlet _isWeb = false;\nlet _locale;\nlet _language = exports.LANGUAGE_DEFAULT;\nlet _translationsConfigFile;\nlet _isWebKit = false;\
|
|
6921
|
+
eval("/* provided dependency */ var process = __webpack_require__(/*! ../../node_modules/process/browser.js */ \"../../node_modules/process/browser.js\");\n\n/* ---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n// Some code copied and modified from https://github.com/microsoft/vscode/blob/01d1ea52e639615c4513689ce66576829438f748/src/vs/base/common/platform.ts\nvar _a, _b;\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isSafari = exports.isChrome = exports.userAgent = exports.OperatingSystem = exports.setImmediate = exports.globals = exports.translationsConfigFile = exports.locale = exports.Language = exports.language = exports.isRootUser = exports.isWebKit = exports.platform = exports.isWeb = exports.isNative = exports.isLinux = exports.isOSX = exports.isMacintosh = exports.isWindows = exports.PlatformToString = exports.LANGUAGE_DEFAULT = void 0;\nexports.LANGUAGE_DEFAULT = 'en';\nlet _isWindows = false;\nlet _isMacintosh = false;\nlet _isLinux = false;\nlet _isNative = false;\nlet _isWeb = false;\nlet _locale;\nlet _language = exports.LANGUAGE_DEFAULT;\nlet _translationsConfigFile;\nlet _isWebKit = false;\nlet nodeProcess;\nif (typeof process !== 'undefined' && typeof ((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) === 'string') {\n nodeProcess = process;\n}\nconst isElectronRenderer = typeof ((_b = nodeProcess === null || nodeProcess === void 0 ? void 0 : nodeProcess.versions) === null || _b === void 0 ? void 0 : _b.electron) === 'string' && nodeProcess.type === 'renderer';\n// OS detection\nif (typeof nodeProcess === 'object') {\n _isWindows = nodeProcess.platform === 'win32';\n _isMacintosh = nodeProcess.platform === 'darwin';\n _isLinux = nodeProcess.platform === 'linux';\n _locale = exports.LANGUAGE_DEFAULT;\n _language = exports.LANGUAGE_DEFAULT;\n const rawNlsConfig = nodeProcess.env['VSCODE_NLS_CONFIG'];\n if (rawNlsConfig) {\n try {\n const nlsConfig = JSON.parse(rawNlsConfig);\n const resolved = nlsConfig.availableLanguages['*'];\n _locale = nlsConfig.locale;\n // VSCode's default language is 'en'\n _language = resolved ? resolved : exports.LANGUAGE_DEFAULT;\n _translationsConfigFile = nlsConfig._translationsConfigFile;\n }\n catch (e) { }\n }\n _isNative = true;\n}\nelse if (typeof navigator === 'object' && !isElectronRenderer) {\n const userAgent = navigator.userAgent;\n _isWindows = userAgent.indexOf('Windows') >= 0;\n _isMacintosh = userAgent.indexOf('Macintosh') >= 0;\n _isLinux = userAgent.indexOf('Linux') >= 0;\n _isWeb = true;\n _locale = navigator.language;\n _language = _locale;\n _isWebKit = userAgent.indexOf('AppleWebKit') >= 0;\n}\nfunction PlatformToString(platform) {\n switch (platform) {\n case 0 /* Platform.Web */:\n return 'Web';\n case 1 /* Platform.Mac */:\n return 'Mac';\n case 2 /* Platform.Linux */:\n return 'Linux';\n case 3 /* Platform.Windows */:\n return 'Windows';\n }\n}\nexports.PlatformToString = PlatformToString;\nlet _platform = 0 /* Platform.Web */;\nif (_isNative) {\n if (_isMacintosh) {\n _platform = 1 /* Platform.Mac */;\n }\n else if (_isWindows) {\n _platform = 3 /* Platform.Windows */;\n }\n else if (_isLinux) {\n _platform = 2 /* Platform.Linux */;\n }\n}\nexports.isWindows = _isWindows;\nexports.isMacintosh = _isMacintosh;\nexports.isOSX = _isMacintosh;\nexports.isLinux = _isLinux;\nexports.isNative = _isNative;\nexports.isWeb = _isWeb;\nexports.platform = _platform;\nexports.isWebKit = _isWebKit;\nfunction isRootUser() {\n return _isNative && !_isWindows && process.getuid() === 0;\n}\nexports.isRootUser = isRootUser;\n/**\n * The language used for the user interface. The format of\n * the string is all lower case (e.g. zh-tw for Traditional\n * Chinese)\n */\nexports.language = _language;\nvar Language;\n(function (Language) {\n function value() {\n return exports.language;\n }\n Language.value = value;\n function isDefaultVariant() {\n if (exports.language.length === 2) {\n return exports.language === 'en';\n }\n else if (exports.language.length >= 3) {\n return exports.language[0] === 'e' && exports.language[1] === 'n' && exports.language[2] === '-';\n }\n else {\n return false;\n }\n }\n Language.isDefaultVariant = isDefaultVariant;\n function isDefault() {\n return exports.language === 'en';\n }\n Language.isDefault = isDefault;\n})(Language = exports.Language || (exports.Language = {}));\n/**\n * The OS locale or the locale specified by --locale. The format of\n * the string is all lower case (e.g. zh-tw for Traditional\n * Chinese). The UI is not necessarily shown in the provided locale.\n */\nexports.locale = _locale;\n/**\n * The translatios that are available through language packs.\n */\nexports.translationsConfigFile = _translationsConfigFile;\nconst _globals = typeof self === 'object' ? self : typeof __webpack_require__.g === 'object' ? __webpack_require__.g : {};\nexports.globals = _globals;\nlet _setImmediate = null;\nfunction setImmediate(callback) {\n if (_setImmediate === null) {\n if (exports.globals.setImmediate) {\n _setImmediate = exports.globals.setImmediate.bind(exports.globals);\n }\n else if (typeof process !== 'undefined' && typeof process.nextTick === 'function') {\n _setImmediate = process.nextTick.bind(process);\n }\n else {\n _setImmediate = exports.globals.setTimeout.bind(exports.globals);\n }\n }\n return _setImmediate(callback);\n}\nexports.setImmediate = setImmediate;\nvar OperatingSystem;\n(function (OperatingSystem) {\n OperatingSystem[OperatingSystem[\"Windows\"] = 1] = \"Windows\";\n OperatingSystem[OperatingSystem[\"Macintosh\"] = 2] = \"Macintosh\";\n OperatingSystem[OperatingSystem[\"Linux\"] = 3] = \"Linux\";\n})(OperatingSystem = exports.OperatingSystem || (exports.OperatingSystem = {}));\nexports.userAgent = typeof navigator === 'object' ? navigator.userAgent : null;\nexports.isChrome = (exports.userAgent === null || exports.userAgent === void 0 ? void 0 : exports.userAgent.indexOf('Chrome')) >= 0;\nexports.isSafari = !exports.isChrome && (exports.userAgent === null || exports.userAgent === void 0 ? void 0 : exports.userAgent.indexOf('Safari')) >= 0;\n//# sourceMappingURL=platform.js.map\n\n//# sourceURL=webpack://@opensumi/ide-components/../utils/lib/platform.js?");
|
|
6922
6922
|
|
|
6923
6923
|
/***/ }),
|
|
6924
6924
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-components",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.6-next-1724809247.0",
|
|
4
4
|
"description": "@opensumi/ide-components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@ant-design/icons": "^4.6.4",
|
|
19
|
-
"@opensumi/ide-utils": "3.2.
|
|
19
|
+
"@opensumi/ide-utils": "3.2.6-next-1724809247.0",
|
|
20
20
|
"@opensumi/react-custom-scrollbars-2": "^4.3.4",
|
|
21
21
|
"fuzzy": "^0.1.3",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"react-window": "^1.8.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@opensumi/ide-dev-tool": "3.2.
|
|
39
|
+
"@opensumi/ide-dev-tool": "3.2.6-next-1724809247.0",
|
|
40
40
|
"@types/marked": "^4.0.7",
|
|
41
41
|
"@types/react-window": "^1.8.5",
|
|
42
42
|
"prop-types": "^15.8.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "c4b6105b9bb91ec5f0bbf7396173b97da2308938"
|
|
45
45
|
}
|