@backstage/plugin-catalog-react 0.0.0-nightly-202191922036 → 0.0.0-nightly-20219242233

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/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
+ ## 0.0.0-nightly-20219242233
4
+
5
+ ### Patch Changes
6
+
7
+ - 10615525f3: Switch to use the json and observable types from `@backstage/types`
8
+ - Updated dependencies
9
+ - @backstage/catalog-model@0.0.0-nightly-20219242233
10
+ - @backstage/core-app-api@0.0.0-nightly-20219242233
11
+ - @backstage/errors@0.0.0-nightly-20219242233
12
+ - @backstage/core-plugin-api@0.0.0-nightly-20219242233
13
+
14
+ ## 0.6.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 36e67d2f24: Internal updates to apply more strict checks to throw errors.
19
+ - Updated dependencies
20
+ - @backstage/core-components@0.7.1
21
+ - @backstage/errors@0.1.3
22
+ - @backstage/core-app-api@0.1.18
23
+ - @backstage/core-plugin-api@0.1.11
24
+ - @backstage/catalog-model@0.9.5
25
+
3
26
  ## 0.6.0
4
27
 
5
28
  ### Minor Changes
package/dist/index.cjs.js CHANGED
@@ -25,6 +25,7 @@ var capitalize = require('lodash/capitalize');
25
25
  var Star = require('@material-ui/icons/Star');
26
26
  var StarBorder = require('@material-ui/icons/StarBorder');
27
27
  var Alert = require('@material-ui/lab/Alert');
28
+ var errors = require('@backstage/errors');
28
29
  var SettingsIcon = require('@material-ui/icons/Settings');
29
30
 
30
31
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1316,6 +1317,7 @@ const Contents = ({
1316
1317
  await state.unregisterLocation();
1317
1318
  onConfirm();
1318
1319
  } catch (err) {
1320
+ errors.assertError(err);
1319
1321
  alertApi.post({message: err.message});
1320
1322
  } finally {
1321
1323
  setBusy(false);
@@ -1329,6 +1331,7 @@ const Contents = ({
1329
1331
  await state.deleteEntity();
1330
1332
  onConfirm();
1331
1333
  } catch (err) {
1334
+ errors.assertError(err);
1332
1335
  alertApi.post({message: err.message});
1333
1336
  } finally {
1334
1337
  setBusy(false);