@difizen/libro-lab 0.2.26 → 0.2.27

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.
@@ -54,7 +54,7 @@ export var ImageViewerOpenHandler = (_dec = singleton({
54
54
  function canHandle(uri, _options) {
55
55
  if (uri.scheme === 'file') {
56
56
  var ext = uri.path.ext;
57
- if (imageExtToTypes.has(ext)) {
57
+ if (imageExtToTypes.has(ext.toLowerCase())) {
58
58
  return 100;
59
59
  }
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-lab",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -34,15 +34,15 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^5.1.0",
37
- "@difizen/libro-core": "^0.2.26",
38
- "@difizen/libro-jupyter": "^0.2.26",
39
- "@difizen/libro-kernel": "^0.2.26",
40
- "@difizen/libro-prompt-cell": "^0.2.26",
41
- "@difizen/libro-terminal": "^0.2.26",
42
- "@difizen/libro-toc": "^0.2.26",
43
- "@difizen/libro-cofine-editor-core": "^0.2.26",
44
- "@difizen/libro-language-client": "^0.2.26",
45
- "@difizen/libro-widget": "^0.2.26",
37
+ "@difizen/libro-core": "^0.2.27",
38
+ "@difizen/libro-jupyter": "^0.2.27",
39
+ "@difizen/libro-kernel": "^0.2.27",
40
+ "@difizen/libro-prompt-cell": "^0.2.27",
41
+ "@difizen/libro-terminal": "^0.2.27",
42
+ "@difizen/libro-toc": "^0.2.27",
43
+ "@difizen/libro-cofine-editor-core": "^0.2.27",
44
+ "@difizen/libro-language-client": "^0.2.27",
45
+ "@difizen/libro-widget": "^0.2.27",
46
46
  "@difizen/mana-app": "latest",
47
47
  "@difizen/mana-common": "latest",
48
48
  "@difizen/mana-react": "latest",
@@ -22,7 +22,7 @@ export class ImageViewerOpenHandler extends NavigatableViewOpenHandler<Navigatab
22
22
  canHandle(uri: URI, _options?: ViewOpenHandlerOptions) {
23
23
  if (uri.scheme === 'file') {
24
24
  const ext = uri.path.ext;
25
- if (imageExtToTypes.has(ext)) {
25
+ if (imageExtToTypes.has(ext.toLowerCase())) {
26
26
  return 100;
27
27
  }
28
28
  }