@backstage/plugin-catalog-react 2.0.0-next.2 → 2.0.1-next.0
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,81 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
+
## 2.0.1-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/ui@0.12.1-next.0
|
|
9
|
+
- @backstage/frontend-plugin-api@0.14.2-next.0
|
|
10
|
+
- @backstage/frontend-test-utils@0.5.1-next.0
|
|
11
|
+
- @backstage/catalog-client@1.13.1-next.0
|
|
12
|
+
- @backstage/catalog-model@1.7.6
|
|
13
|
+
- @backstage/core-compat-api@0.5.9-next.0
|
|
14
|
+
- @backstage/core-components@0.18.8-next.0
|
|
15
|
+
- @backstage/core-plugin-api@1.12.4-next.0
|
|
16
|
+
- @backstage/errors@1.2.7
|
|
17
|
+
- @backstage/filter-predicates@0.1.0
|
|
18
|
+
- @backstage/integration-react@1.2.16-next.0
|
|
19
|
+
- @backstage/types@1.2.2
|
|
20
|
+
- @backstage/version-bridge@1.0.12
|
|
21
|
+
- @backstage/plugin-catalog-common@1.1.8
|
|
22
|
+
- @backstage/plugin-permission-common@0.9.6
|
|
23
|
+
- @backstage/plugin-permission-react@0.4.41-next.0
|
|
24
|
+
|
|
25
|
+
## 2.0.0
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- 0e9578d: Migrated `UnregisterEntityDialog` from Material UI to Backstage UI components.
|
|
30
|
+
- 491a06c: Add the ability to show icons for the tabs on the entity page (new frontend)
|
|
31
|
+
- b4e8249: Implemented support for the new `queryLocations` and `streamLocations` that allow paginated/streamed and filtered location queries
|
|
32
|
+
- 7feb83b: **BREAKING ALPHA**: All of the predicate types and functions have been moved to the `@backstage/filter-predicates` package.
|
|
33
|
+
|
|
34
|
+
When moving into the more general package, they were renamed as follows:
|
|
35
|
+
|
|
36
|
+
- `EntityPredicate` -> `FilterPredicate`
|
|
37
|
+
- `EntityPredicateExpression` -> `FilterPredicateExpression`
|
|
38
|
+
- `EntityPredicatePrimitive` -> `FilterPredicatePrimitive`
|
|
39
|
+
- `entityPredicateToFilterFunction` -> `filterPredicateToFilterFunction`
|
|
40
|
+
- `EntityPredicateValue` -> `FilterPredicateValue`
|
|
41
|
+
|
|
42
|
+
- e8258d0: **BREAKING**: Removed the 'summary' entity card type from `EntityCardType`. Users should migrate to using 'content' or 'info' card types instead.
|
|
43
|
+
|
|
44
|
+
TypeScript will now show errors if you try to use `type: 'summary'` when creating entity cards.
|
|
45
|
+
|
|
46
|
+
- ac9bead: Added `createTestEntityPage` test utility for testing entity cards and content extensions in the new frontend system. This utility creates a test page extension that provides `EntityProvider` context and accepts entity extensions through input redirects:
|
|
47
|
+
|
|
48
|
+
```typescript
|
|
49
|
+
import { renderTestApp } from '@backstage/frontend-test-utils';
|
|
50
|
+
import { createTestEntityPage } from '@backstage/plugin-catalog-react/testUtils';
|
|
51
|
+
|
|
52
|
+
renderTestApp({
|
|
53
|
+
extensions: [createTestEntityPage({ entity: myEntity }), myEntityCard],
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- f523983: Fixes a bug where the `EntityListProvider` would not correctly hydrate query parameters if more than 20 were provided for the same key.
|
|
60
|
+
- 09a6aad: The `catalogApiMock` test utility now returns a `MockWithApiFactory`, allowing it to be passed directly to test utilities like `renderTestApp` and `TestApiProvider` without needing the `[catalogApiRef, catalogApiMock()]` tuple.
|
|
61
|
+
- 88dbd5e: fixed bug in `UserListPicker` by getting the `kindParamater` from the `filters` rather than from the `queryParameters`
|
|
62
|
+
- a7e0d50: Updated `react-router-dom` peer dependency to `^6.30.2` and explicitly disabled v7 future flags to suppress deprecation warnings.
|
|
63
|
+
- 69d880e: Bump to latest zod to ensure it has the latest features
|
|
64
|
+
- Updated dependencies
|
|
65
|
+
- @backstage/ui@0.12.0
|
|
66
|
+
- @backstage/frontend-test-utils@0.5.0
|
|
67
|
+
- @backstage/core-components@0.18.7
|
|
68
|
+
- @backstage/core-compat-api@0.5.8
|
|
69
|
+
- @backstage/frontend-plugin-api@0.14.0
|
|
70
|
+
- @backstage/catalog-client@1.13.0
|
|
71
|
+
- @backstage/core-plugin-api@1.12.3
|
|
72
|
+
- @backstage/integration-react@1.2.15
|
|
73
|
+
- @backstage/plugin-permission-react@0.4.40
|
|
74
|
+
- @backstage/version-bridge@1.0.12
|
|
75
|
+
- @backstage/filter-predicates@0.1.0
|
|
76
|
+
- @backstage/plugin-permission-common@0.9.6
|
|
77
|
+
- @backstage/plugin-catalog-common@1.1.8
|
|
78
|
+
|
|
3
79
|
## 2.0.0-next.2
|
|
4
80
|
|
|
5
81
|
### Minor Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -133,9 +133,9 @@ declare const EntityContentBlueprint: _backstage_frontend_plugin_api.ExtensionBl
|
|
|
133
133
|
routeRef?: RouteRef;
|
|
134
134
|
filter?: string | FilterPredicate | ((entity: Entity) => boolean);
|
|
135
135
|
};
|
|
136
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
136
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
137
137
|
optional: true;
|
|
138
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
138
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: Entity) => boolean, "catalog.entity-filter-function", {
|
|
139
139
|
optional: true;
|
|
140
140
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
141
141
|
optional: true;
|
|
@@ -23,6 +23,8 @@ function catalogApiMock(options) {
|
|
|
23
23
|
refreshEntity: jest.fn(),
|
|
24
24
|
getEntityFacets: jest.fn(),
|
|
25
25
|
getLocations: jest.fn(),
|
|
26
|
+
queryLocations: jest.fn(),
|
|
27
|
+
streamLocations: jest.fn(),
|
|
26
28
|
getLocationById: jest.fn(),
|
|
27
29
|
getLocationByRef: jest.fn(),
|
|
28
30
|
addLocation: jest.fn(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogApiMock.esm.js","sources":["../../src/testUtils/catalogApiMock.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ApiFactory, createApiFactory } from '@backstage/frontend-plugin-api';\nimport { InMemoryCatalogClient } from '@backstage/catalog-client/testUtils';\nimport { Entity } from '@backstage/catalog-model';\nimport { catalogApiRef } from '@backstage/plugin-catalog-react';\nimport { CatalogApi } from '@backstage/catalog-client';\nimport {\n createApiMock,\n attachMockApiFactory,\n type MockWithApiFactory,\n} from '@backstage/frontend-test-utils';\n\n/**\n * Creates a fake catalog client that handles entities in memory storage. Note\n * that this client may be severely limited in functionality, and advanced\n * functions may not be available at all.\n *\n * @public\n */\nexport function catalogApiMock(options?: {\n entities?: Entity[];\n}): MockWithApiFactory<CatalogApi> {\n const instance = new InMemoryCatalogClient(options);\n return attachMockApiFactory(catalogApiRef, instance);\n}\n\n/**\n * A collection of mock functionality for the catalog service.\n *\n * @public\n */\nexport namespace catalogApiMock {\n /**\n * Creates a fake catalog client that handles entities in memory storage. Note\n * that this client may be severely limited in functionality, and advanced\n * functions may not be available at all.\n */\n export const factory = (options?: {\n entities?: Entity[];\n }): ApiFactory<CatalogApi, CatalogApi, {}> =>\n createApiFactory({\n api: catalogApiRef,\n deps: {},\n factory: () => new InMemoryCatalogClient(options),\n });\n /**\n * Creates a catalog client whose methods are mock functions, possibly with\n * some of them overloaded by the caller.\n */\n export const mock = createApiMock(catalogApiRef, () => ({\n getEntities: jest.fn(),\n getEntitiesByRefs: jest.fn(),\n queryEntities: jest.fn(),\n getEntityAncestors: jest.fn(),\n getEntityByRef: jest.fn(),\n removeEntityByUid: jest.fn(),\n refreshEntity: jest.fn(),\n getEntityFacets: jest.fn(),\n getLocations: jest.fn(),\n getLocationById: jest.fn(),\n getLocationByRef: jest.fn(),\n addLocation: jest.fn(),\n removeLocationById: jest.fn(),\n getLocationByEntity: jest.fn(),\n validateEntity: jest.fn(),\n analyzeLocation: jest.fn(),\n streamEntities: jest.fn(),\n streamEntityPages: jest.fn(),\n }));\n}\n"],"names":["catalogApiMock"],"mappings":";;;;;AAkCO,SAAS,eAAe,OAAA,EAEI;AACjC,EAAA,MAAM,QAAA,GAAW,IAAI,qBAAA,CAAsB,OAAO,CAAA;AAClD,EAAA,OAAO,oBAAA,CAAqB,eAAe,QAAQ,CAAA;AACrD;AAAA,CAOO,CAAUA,eAAAA,KAAV;AAME,EAAMA,eAAAA,CAAA,OAAA,GAAU,CAAC,OAAA,KAGtB,gBAAA,CAAiB;AAAA,IACf,GAAA,EAAK,aAAA;AAAA,IACL,MAAM,EAAC;AAAA,IACP,OAAA,EAAS,MAAM,IAAI,qBAAA,CAAsB,OAAO;AAAA,GACjD,CAAA;AAKI,EAAMA,eAAAA,CAAA,IAAA,GAAO,aAAA,CAAc,aAAA,EAAe,OAAO;AAAA,IACtD,WAAA,EAAa,KAAK,EAAA,EAAG;AAAA,IACrB,iBAAA,EAAmB,KAAK,EAAA,EAAG;AAAA,IAC3B,aAAA,EAAe,KAAK,EAAA,EAAG;AAAA,IACvB,kBAAA,EAAoB,KAAK,EAAA,EAAG;AAAA,IAC5B,cAAA,EAAgB,KAAK,EAAA,EAAG;AAAA,IACxB,iBAAA,EAAmB,KAAK,EAAA,EAAG;AAAA,IAC3B,aAAA,EAAe,KAAK,EAAA,EAAG;AAAA,IACvB,eAAA,EAAiB,KAAK,EAAA,EAAG;AAAA,IACzB,YAAA,EAAc,KAAK,EAAA,EAAG;AAAA,IACtB,eAAA,EAAiB,KAAK,EAAA,EAAG;AAAA,IACzB,gBAAA,EAAkB,KAAK,EAAA,EAAG;AAAA,IAC1B,WAAA,EAAa,KAAK,EAAA,EAAG;AAAA,IACrB,kBAAA,EAAoB,KAAK,EAAA,EAAG;AAAA,IAC5B,mBAAA,EAAqB,KAAK,EAAA,EAAG;AAAA,IAC7B,cAAA,EAAgB,KAAK,EAAA,EAAG;AAAA,IACxB,eAAA,EAAiB,KAAK,EAAA,EAAG;AAAA,IACzB,cAAA,EAAgB,KAAK,EAAA,EAAG;AAAA,IACxB,iBAAA,EAAmB,KAAK,EAAA;AAAG,GAC7B,CAAE,CAAA;AAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"catalogApiMock.esm.js","sources":["../../src/testUtils/catalogApiMock.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ApiFactory, createApiFactory } from '@backstage/frontend-plugin-api';\nimport { InMemoryCatalogClient } from '@backstage/catalog-client/testUtils';\nimport { Entity } from '@backstage/catalog-model';\nimport { catalogApiRef } from '@backstage/plugin-catalog-react';\nimport { CatalogApi } from '@backstage/catalog-client';\nimport {\n createApiMock,\n attachMockApiFactory,\n type MockWithApiFactory,\n} from '@backstage/frontend-test-utils';\n\n/**\n * Creates a fake catalog client that handles entities in memory storage. Note\n * that this client may be severely limited in functionality, and advanced\n * functions may not be available at all.\n *\n * @public\n */\nexport function catalogApiMock(options?: {\n entities?: Entity[];\n}): MockWithApiFactory<CatalogApi> {\n const instance = new InMemoryCatalogClient(options);\n return attachMockApiFactory(catalogApiRef, instance);\n}\n\n/**\n * A collection of mock functionality for the catalog service.\n *\n * @public\n */\nexport namespace catalogApiMock {\n /**\n * Creates a fake catalog client that handles entities in memory storage. Note\n * that this client may be severely limited in functionality, and advanced\n * functions may not be available at all.\n */\n export const factory = (options?: {\n entities?: Entity[];\n }): ApiFactory<CatalogApi, CatalogApi, {}> =>\n createApiFactory({\n api: catalogApiRef,\n deps: {},\n factory: () => new InMemoryCatalogClient(options),\n });\n /**\n * Creates a catalog client whose methods are mock functions, possibly with\n * some of them overloaded by the caller.\n */\n export const mock = createApiMock(catalogApiRef, () => ({\n getEntities: jest.fn(),\n getEntitiesByRefs: jest.fn(),\n queryEntities: jest.fn(),\n getEntityAncestors: jest.fn(),\n getEntityByRef: jest.fn(),\n removeEntityByUid: jest.fn(),\n refreshEntity: jest.fn(),\n getEntityFacets: jest.fn(),\n getLocations: jest.fn(),\n queryLocations: jest.fn(),\n streamLocations: jest.fn(),\n getLocationById: jest.fn(),\n getLocationByRef: jest.fn(),\n addLocation: jest.fn(),\n removeLocationById: jest.fn(),\n getLocationByEntity: jest.fn(),\n validateEntity: jest.fn(),\n analyzeLocation: jest.fn(),\n streamEntities: jest.fn(),\n streamEntityPages: jest.fn(),\n }));\n}\n"],"names":["catalogApiMock"],"mappings":";;;;;AAkCO,SAAS,eAAe,OAAA,EAEI;AACjC,EAAA,MAAM,QAAA,GAAW,IAAI,qBAAA,CAAsB,OAAO,CAAA;AAClD,EAAA,OAAO,oBAAA,CAAqB,eAAe,QAAQ,CAAA;AACrD;AAAA,CAOO,CAAUA,eAAAA,KAAV;AAME,EAAMA,eAAAA,CAAA,OAAA,GAAU,CAAC,OAAA,KAGtB,gBAAA,CAAiB;AAAA,IACf,GAAA,EAAK,aAAA;AAAA,IACL,MAAM,EAAC;AAAA,IACP,OAAA,EAAS,MAAM,IAAI,qBAAA,CAAsB,OAAO;AAAA,GACjD,CAAA;AAKI,EAAMA,eAAAA,CAAA,IAAA,GAAO,aAAA,CAAc,aAAA,EAAe,OAAO;AAAA,IACtD,WAAA,EAAa,KAAK,EAAA,EAAG;AAAA,IACrB,iBAAA,EAAmB,KAAK,EAAA,EAAG;AAAA,IAC3B,aAAA,EAAe,KAAK,EAAA,EAAG;AAAA,IACvB,kBAAA,EAAoB,KAAK,EAAA,EAAG;AAAA,IAC5B,cAAA,EAAgB,KAAK,EAAA,EAAG;AAAA,IACxB,iBAAA,EAAmB,KAAK,EAAA,EAAG;AAAA,IAC3B,aAAA,EAAe,KAAK,EAAA,EAAG;AAAA,IACvB,eAAA,EAAiB,KAAK,EAAA,EAAG;AAAA,IACzB,YAAA,EAAc,KAAK,EAAA,EAAG;AAAA,IACtB,cAAA,EAAgB,KAAK,EAAA,EAAG;AAAA,IACxB,eAAA,EAAiB,KAAK,EAAA,EAAG;AAAA,IACzB,eAAA,EAAiB,KAAK,EAAA,EAAG;AAAA,IACzB,gBAAA,EAAkB,KAAK,EAAA,EAAG;AAAA,IAC1B,WAAA,EAAa,KAAK,EAAA,EAAG;AAAA,IACrB,kBAAA,EAAoB,KAAK,EAAA,EAAG;AAAA,IAC5B,mBAAA,EAAqB,KAAK,EAAA,EAAG;AAAA,IAC7B,cAAA,EAAgB,KAAK,EAAA,EAAG;AAAA,IACxB,eAAA,EAAiB,KAAK,EAAA,EAAG;AAAA,IACzB,cAAA,EAAgB,KAAK,EAAA,EAAG;AAAA,IACxB,iBAAA,EAAmB,KAAK,EAAA;AAAG,GAC7B,CAAE,CAAA;AAAA,CAAA,EAvCa,cAAA,KAAA,cAAA,GAAA,EAAA,CAAA,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1-next.0",
|
|
4
4
|
"description": "A frontend library that helps other Backstage plugins interact with the catalog",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "web-library",
|
|
@@ -73,21 +73,21 @@
|
|
|
73
73
|
"test": "backstage-cli package test"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@backstage/catalog-client": "1.
|
|
76
|
+
"@backstage/catalog-client": "1.13.1-next.0",
|
|
77
77
|
"@backstage/catalog-model": "1.7.6",
|
|
78
|
-
"@backstage/core-compat-api": "0.5.
|
|
79
|
-
"@backstage/core-components": "0.18.
|
|
80
|
-
"@backstage/core-plugin-api": "1.12.
|
|
78
|
+
"@backstage/core-compat-api": "0.5.9-next.0",
|
|
79
|
+
"@backstage/core-components": "0.18.8-next.0",
|
|
80
|
+
"@backstage/core-plugin-api": "1.12.4-next.0",
|
|
81
81
|
"@backstage/errors": "1.2.7",
|
|
82
|
-
"@backstage/filter-predicates": "0.1.0
|
|
83
|
-
"@backstage/frontend-plugin-api": "0.14.
|
|
84
|
-
"@backstage/integration-react": "1.2.
|
|
85
|
-
"@backstage/plugin-catalog-common": "1.1.8
|
|
86
|
-
"@backstage/plugin-permission-common": "0.9.6
|
|
87
|
-
"@backstage/plugin-permission-react": "0.4.
|
|
82
|
+
"@backstage/filter-predicates": "0.1.0",
|
|
83
|
+
"@backstage/frontend-plugin-api": "0.14.2-next.0",
|
|
84
|
+
"@backstage/integration-react": "1.2.16-next.0",
|
|
85
|
+
"@backstage/plugin-catalog-common": "1.1.8",
|
|
86
|
+
"@backstage/plugin-permission-common": "0.9.6",
|
|
87
|
+
"@backstage/plugin-permission-react": "0.4.41-next.0",
|
|
88
88
|
"@backstage/types": "1.2.2",
|
|
89
|
-
"@backstage/ui": "0.12.
|
|
90
|
-
"@backstage/version-bridge": "1.0.12
|
|
89
|
+
"@backstage/ui": "0.12.1-next.0",
|
|
90
|
+
"@backstage/version-bridge": "1.0.12",
|
|
91
91
|
"@material-ui/core": "^4.12.2",
|
|
92
92
|
"@material-ui/icons": "^4.9.1",
|
|
93
93
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"zen-observable": "^0.10.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@backstage/cli": "0.35.
|
|
105
|
-
"@backstage/core-app-api": "1.19.
|
|
106
|
-
"@backstage/frontend-test-utils": "0.5.
|
|
107
|
-
"@backstage/plugin-catalog-common": "1.1.8
|
|
108
|
-
"@backstage/plugin-scaffolder-common": "1.7.
|
|
109
|
-
"@backstage/test-utils": "1.7.
|
|
104
|
+
"@backstage/cli": "0.35.5-next.0",
|
|
105
|
+
"@backstage/core-app-api": "1.19.6-next.0",
|
|
106
|
+
"@backstage/frontend-test-utils": "0.5.1-next.0",
|
|
107
|
+
"@backstage/plugin-catalog-common": "1.1.8",
|
|
108
|
+
"@backstage/plugin-scaffolder-common": "1.7.7-next.0",
|
|
109
|
+
"@backstage/test-utils": "1.7.16-next.0",
|
|
110
110
|
"@testing-library/dom": "^10.0.0",
|
|
111
111
|
"@testing-library/jest-dom": "^6.0.0",
|
|
112
112
|
"@testing-library/react": "^16.0.0",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"zod": "^3.25.76"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
|
-
"@backstage/frontend-test-utils": "0.5.
|
|
123
|
+
"@backstage/frontend-test-utils": "0.5.1-next.0",
|
|
124
124
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
125
125
|
"react": "^17.0.0 || ^18.0.0",
|
|
126
126
|
"react-dom": "^17.0.0 || ^18.0.0",
|