@difizen/libro-lab 0.1.9 → 0.1.10
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.
|
@@ -50,7 +50,7 @@ export var CodeEditorViewerOpenHandler = (_dec = singleton({
|
|
|
50
50
|
_createClass(CodeEditorViewerOpenHandler, [{
|
|
51
51
|
key: "canHandle",
|
|
52
52
|
value: function canHandle(uri, options) {
|
|
53
|
-
if (uri.scheme === 'file' && !['.tar', '.zip', '.7z', '.gz', 'rar'].includes(uri.path.ext)) {
|
|
53
|
+
if (uri.scheme === 'file' && !['.tar', '.zip', '.7z', '.gz', '.rar', '.whl'].includes(uri.path.ext)) {
|
|
54
54
|
return 100;
|
|
55
55
|
}
|
|
56
56
|
return Priority.IDLE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-lab",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ant-design/icons": "^5.1.0",
|
|
37
|
-
"@difizen/libro-core": "^0.1.
|
|
38
|
-
"@difizen/libro-jupyter": "^0.1.
|
|
39
|
-
"@difizen/libro-kernel": "^0.1.
|
|
40
|
-
"@difizen/libro-prompt-cell": "^0.1.
|
|
41
|
-
"@difizen/libro-terminal": "^0.1.
|
|
42
|
-
"@difizen/libro-toc": "^0.1.
|
|
43
|
-
"@difizen/libro-cofine-editor-core": "^0.1.
|
|
37
|
+
"@difizen/libro-core": "^0.1.10",
|
|
38
|
+
"@difizen/libro-jupyter": "^0.1.10",
|
|
39
|
+
"@difizen/libro-kernel": "^0.1.10",
|
|
40
|
+
"@difizen/libro-prompt-cell": "^0.1.10",
|
|
41
|
+
"@difizen/libro-terminal": "^0.1.10",
|
|
42
|
+
"@difizen/libro-toc": "^0.1.10",
|
|
43
|
+
"@difizen/libro-cofine-editor-core": "^0.1.10",
|
|
44
44
|
"@difizen/mana-app": "latest",
|
|
45
45
|
"@difizen/mana-react": "latest",
|
|
46
46
|
"classnames": "^2.3.2",
|
|
@@ -16,7 +16,7 @@ export class CodeEditorViewerOpenHandler extends NavigatableViewOpenHandler<Code
|
|
|
16
16
|
canHandle(uri: URI, options?: ViewOpenHandlerOptions) {
|
|
17
17
|
if (
|
|
18
18
|
uri.scheme === 'file' &&
|
|
19
|
-
!['.tar', '.zip', '.7z', '.gz', 'rar'].includes(uri.path.ext)
|
|
19
|
+
!['.tar', '.zip', '.7z', '.gz', '.rar', '.whl'].includes(uri.path.ext)
|
|
20
20
|
) {
|
|
21
21
|
return 100;
|
|
22
22
|
}
|