@backstage/plugin-catalog-react 1.14.1 → 1.14.2

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,25 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
+ ## 1.14.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/frontend-plugin-api@0.9.2
9
+ - @backstage/catalog-client@1.8.0
10
+ - @backstage/catalog-model@1.7.1
11
+ - @backstage/core-compat-api@0.3.3
12
+ - @backstage/core-components@0.16.1
13
+ - @backstage/core-plugin-api@1.10.1
14
+ - @backstage/errors@1.2.5
15
+ - @backstage/frontend-test-utils@0.2.3
16
+ - @backstage/integration-react@1.2.1
17
+ - @backstage/types@1.2.0
18
+ - @backstage/version-bridge@1.0.10
19
+ - @backstage/plugin-catalog-common@1.1.1
20
+ - @backstage/plugin-permission-common@0.8.2
21
+ - @backstage/plugin-permission-react@0.4.28
22
+
3
23
  ## 1.14.1
4
24
 
5
25
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { createExtensionBlueprint, coreExtensionData, ExtensionBoundary } from '@backstage/frontend-plugin-api';
2
- import { entityFilterExpressionDataRef, entityFilterFunctionDataRef } from './extensionData.esm.js';
2
+ import { entityFilterFunctionDataRef, entityFilterExpressionDataRef } from './extensionData.esm.js';
3
3
 
4
4
  const EntityCardBlueprint = createExtensionBlueprint({
5
5
  kind: "entity-card",
@@ -1,5 +1,5 @@
1
1
  import { createExtensionBlueprint, coreExtensionData, ExtensionBoundary } from '@backstage/frontend-plugin-api';
2
- import { entityContentTitleDataRef, entityFilterExpressionDataRef, entityFilterFunctionDataRef } from './extensionData.esm.js';
2
+ import { entityContentTitleDataRef, entityFilterFunctionDataRef, entityFilterExpressionDataRef } from './extensionData.esm.js';
3
3
 
4
4
  const EntityContentBlueprint = createExtensionBlueprint({
5
5
  kind: "entity-content",
@@ -1,4 +1,4 @@
1
- import { compatWrapper, convertLegacyRouteRef } from '@backstage/core-compat-api';
1
+ import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
2
2
  import { getComponentData } from '@backstage/core-plugin-api';
3
3
  import kebabCase from 'lodash/kebabCase';
4
4
  import startCase from 'lodash/startCase';
@@ -1,7 +1,7 @@
1
1
  import { Select } from '@backstage/core-components';
2
2
  import { useApi, alertApiRef } from '@backstage/core-plugin-api';
3
3
  import Box from '@material-ui/core/Box';
4
- import React, { useMemo, useState, useEffect } from 'react';
4
+ import React, { useEffect, useMemo, useState } from 'react';
5
5
  import { EntityKindFilter } from '../../filters.esm.js';
6
6
  import '../../hooks/useEntity.esm.js';
7
7
  import { useEntityList } from '../../hooks/useEntityListProvider.esm.js';
@@ -15,7 +15,7 @@ import '../../apis/EntityPresentationApi/EntityPresentationApi.esm.js';
15
15
  import 'lodash/get';
16
16
  import '../../apis/StarredEntitiesApi/StarredEntitiesApi.esm.js';
17
17
  import 'zen-observable';
18
- import { useAllKinds, filterKinds } from './kindFilterUtils.esm.js';
18
+ import { filterKinds, useAllKinds } from './kindFilterUtils.esm.js';
19
19
  import { catalogReactTranslationRef } from '../../translation.esm.js';
20
20
  import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
21
21
 
@@ -1,4 +1,4 @@
1
- import { RELATION_PART_OF, RELATION_OWNED_BY } from '@backstage/catalog-model';
1
+ import { RELATION_OWNED_BY, RELATION_PART_OF } from '@backstage/catalog-model';
2
2
  import { OverflowTooltip } from '@backstage/core-components';
3
3
  import React from 'react';
4
4
  import { getEntityRelations } from '../../utils/getEntityRelations.esm.js';
@@ -1,4 +1,4 @@
1
- import { stringifyEntityRef, ANNOTATION_LOCATION, ANNOTATION_ORIGIN_LOCATION } from '@backstage/catalog-model';
1
+ import { ANNOTATION_LOCATION, ANNOTATION_ORIGIN_LOCATION, stringifyEntityRef } from '@backstage/catalog-model';
2
2
  import { Progress, ResponseErrorPanel } from '@backstage/core-components';
3
3
  import { useApi } from '@backstage/core-plugin-api';
4
4
  import DialogContentText from '@material-ui/core/DialogContentText';
@@ -1,4 +1,4 @@
1
- import { parseEntityRef, stringifyEntityRef, RELATION_OWNED_BY } from '@backstage/catalog-model';
1
+ import { stringifyEntityRef, parseEntityRef, RELATION_OWNED_BY } from '@backstage/catalog-model';
2
2
  import { getEntityRelations } from './utils/getEntityRelations.esm.js';
3
3
 
4
4
  class EntityKindFilter {
@@ -1,6 +1,6 @@
1
1
  import { stringifyEntityRef } from '@backstage/catalog-model';
2
2
  import { AnalyticsContext } from '@backstage/core-plugin-api';
3
- import { createVersionedContext, useVersionedContext, createVersionedValueMap } from '@backstage/version-bridge';
3
+ import { createVersionedContext, createVersionedValueMap, useVersionedContext } from '@backstage/version-bridge';
4
4
  import React from 'react';
5
5
 
6
6
  const NewEntityContext = createVersionedContext(
@@ -1,12 +1,12 @@
1
1
  import { compact, isEqual } from 'lodash';
2
2
  import qs from 'qs';
3
- import React, { createContext, useContext, useState, useMemo, useCallback } from 'react';
3
+ import React, { createContext, useState, useMemo, useCallback, useContext } from 'react';
4
4
  import { useLocation } from 'react-router-dom';
5
5
  import useAsyncFn from 'react-use/esm/useAsyncFn';
6
6
  import useDebounce from 'react-use/esm/useDebounce';
7
7
  import useMountedState from 'react-use/esm/useMountedState';
8
8
  import { catalogApiRef } from '../api.esm.js';
9
- import { reduceEntityFilters, reduceCatalogFilters, reduceBackendCatalogFilters } from '../utils/filters.esm.js';
9
+ import { reduceCatalogFilters, reduceBackendCatalogFilters, reduceEntityFilters } from '../utils/filters.esm.js';
10
10
  import '@backstage/catalog-model';
11
11
  import { useApi } from '@backstage/core-plugin-api';
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "description": "A frontend library that helps other Backstage plugins interact with the catalog",
5
5
  "backstage": {
6
6
  "role": "web-library",
@@ -75,12 +75,12 @@
75
75
  "dependencies": {
76
76
  "@backstage/catalog-client": "^1.8.0",
77
77
  "@backstage/catalog-model": "^1.7.1",
78
- "@backstage/core-compat-api": "^0.3.2",
79
- "@backstage/core-components": "^0.16.0",
78
+ "@backstage/core-compat-api": "^0.3.3",
79
+ "@backstage/core-components": "^0.16.1",
80
80
  "@backstage/core-plugin-api": "^1.10.1",
81
81
  "@backstage/errors": "^1.2.5",
82
- "@backstage/frontend-plugin-api": "^0.9.1",
83
- "@backstage/frontend-test-utils": "^0.2.2",
82
+ "@backstage/frontend-plugin-api": "^0.9.2",
83
+ "@backstage/frontend-test-utils": "^0.2.3",
84
84
  "@backstage/integration-react": "^1.2.1",
85
85
  "@backstage/plugin-catalog-common": "^1.1.1",
86
86
  "@backstage/plugin-permission-common": "^0.8.2",
@@ -100,11 +100,11 @@
100
100
  "zen-observable": "^0.10.0"
101
101
  },
102
102
  "devDependencies": {
103
- "@backstage/cli": "^0.29.0",
103
+ "@backstage/cli": "^0.29.2",
104
104
  "@backstage/core-app-api": "^1.15.2",
105
105
  "@backstage/plugin-catalog-common": "^1.1.1",
106
106
  "@backstage/plugin-scaffolder-common": "^1.5.7",
107
- "@backstage/test-utils": "^1.7.1",
107
+ "@backstage/test-utils": "^1.7.2",
108
108
  "@testing-library/dom": "^10.0.0",
109
109
  "@testing-library/jest-dom": "^6.0.0",
110
110
  "@testing-library/react": "^16.0.0",