@difizen/libro-core 0.2.1 → 0.2.3

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/es/libro-view.js CHANGED
@@ -425,7 +425,9 @@ export var LibroView = (_dec = transient(), _dec2 = view(notebookViewFactoryId),
425
425
  }
426
426
  return undefined;
427
427
  })).then(function (resultList) {
428
- return resultList.every(function (item) {
428
+ return resultList.filter(function (item) {
429
+ return item !== undefined;
430
+ }).every(function (item) {
429
431
  return !!item;
430
432
  });
431
433
  }).catch(function (reason) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-core",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^5.1.0",
37
- "@difizen/libro-code-editor": "^0.2.1",
38
- "@difizen/libro-common": "^0.2.1",
39
- "@difizen/libro-shared-model": "^0.2.1",
40
- "@difizen/libro-virtualized": "^0.2.1",
37
+ "@difizen/libro-code-editor": "^0.2.3",
38
+ "@difizen/libro-common": "^0.2.3",
39
+ "@difizen/libro-shared-model": "^0.2.3",
40
+ "@difizen/libro-virtualized": "^0.2.3",
41
41
  "@difizen/mana-app": "latest",
42
42
  "@difizen/mana-l10n": "latest",
43
43
  "@difizen/mana-react": "latest",
@@ -595,7 +595,7 @@ export class LibroView extends BaseView implements NotebookView {
595
595
  }),
596
596
  )
597
597
  .then((resultList) => {
598
- return resultList.every((item) => !!item);
598
+ return resultList.filter((item) => item !== undefined).every((item) => !!item);
599
599
  })
600
600
  .catch((reason: any) => {
601
601
  if (reason.message.startsWith('KernelReplyNotOK')) {