@redhat-cloud-services/frontend-components-utilities 7.5.2 → 7.5.4
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/RouterParams/RouterParams.d.ts +1 -1
- package/RowLoader/RowLoader.d.ts +1 -1
- package/TestingUtils/JestUtils/TestWrapper.d.ts +2 -1
- package/esm/RouterParams/RouterParams.d.ts +1 -1
- package/esm/RowLoader/RowLoader.d.ts +1 -1
- package/esm/TestingUtils/JestUtils/TestWrapper.d.ts +2 -1
- package/esm/parseCvssScore/parseCvssScore.d.ts +2 -1
- package/package.json +14 -14
- package/parseCvssScore/parseCvssScore.d.ts +2 -1
|
@@ -2,5 +2,5 @@ export type RouterParamsProps = {
|
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
Component: React.ComponentType;
|
|
4
4
|
};
|
|
5
|
-
declare const RouterParams: (Component: React.ComponentType) => (props: Record<string, any>) => import("react
|
|
5
|
+
declare const RouterParams: (Component: React.ComponentType) => (props: Record<string, any>) => import("react").JSX.Element;
|
|
6
6
|
export default RouterParams;
|
package/RowLoader/RowLoader.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IContentLoaderProps } from 'react-content-loader';
|
|
2
|
-
declare const RowLoader: (props: IContentLoaderProps) => import("react
|
|
2
|
+
declare const RowLoader: (props: IContentLoaderProps) => import("react").JSX.Element;
|
|
3
3
|
export default RowLoader;
|
|
@@ -6,7 +6,7 @@ declare function TestWrapper({ children, routerProps, componentPath, store }: {
|
|
|
6
6
|
} | undefined;
|
|
7
7
|
componentPath: any;
|
|
8
8
|
store?: import("redux-mock-store").MockStoreEnhanced<any, {}> | undefined;
|
|
9
|
-
}):
|
|
9
|
+
}): React.JSX.Element;
|
|
10
10
|
declare namespace TestWrapper {
|
|
11
11
|
namespace propTypes {
|
|
12
12
|
let children: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
@@ -17,4 +17,5 @@ declare namespace TestWrapper {
|
|
|
17
17
|
let store: PropTypes.Requireable<object>;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
import React from 'react';
|
|
20
21
|
import PropTypes from 'prop-types';
|
|
@@ -2,5 +2,5 @@ export type RouterParamsProps = {
|
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
Component: React.ComponentType;
|
|
4
4
|
};
|
|
5
|
-
declare const RouterParams: (Component: React.ComponentType) => (props: Record<string, any>) => import("react
|
|
5
|
+
declare const RouterParams: (Component: React.ComponentType) => (props: Record<string, any>) => import("react").JSX.Element;
|
|
6
6
|
export default RouterParams;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IContentLoaderProps } from 'react-content-loader';
|
|
2
|
-
declare const RowLoader: (props: IContentLoaderProps) => import("react
|
|
2
|
+
declare const RowLoader: (props: IContentLoaderProps) => import("react").JSX.Element;
|
|
3
3
|
export default RowLoader;
|
|
@@ -6,7 +6,7 @@ declare function TestWrapper({ children, routerProps, componentPath, store }: {
|
|
|
6
6
|
} | undefined;
|
|
7
7
|
componentPath: any;
|
|
8
8
|
store?: import("redux-mock-store").MockStoreEnhanced<any, {}> | undefined;
|
|
9
|
-
}):
|
|
9
|
+
}): React.JSX.Element;
|
|
10
10
|
declare namespace TestWrapper {
|
|
11
11
|
namespace propTypes {
|
|
12
12
|
let children: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
@@ -17,4 +17,5 @@ declare namespace TestWrapper {
|
|
|
17
17
|
let store: PropTypes.Requireable<object>;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
import React from 'react';
|
|
20
21
|
import PropTypes from 'prop-types';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare function parseCvssScore(cvssV2?: string | number, cvssV3?: string | number, withLabels?: boolean): string | React.JSX.Element;
|
|
2
3
|
export default parseCvssScore;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redhat-cloud-services/frontend-components-utilities",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.4",
|
|
4
4
|
"description": "Util functions for RedHat Cloud Services project.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -19,31 +19,31 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://github.com/RedHatInsights/frontend-components/tree/master/packages/utils#readme",
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@patternfly/react-core": "^6.
|
|
23
|
-
"@patternfly/react-table": "^6.
|
|
24
|
-
"@project-kessel/react-kessel-access-check": "^0.5.
|
|
25
|
-
"react": "^18.
|
|
26
|
-
"react-dom": "^18.
|
|
22
|
+
"@patternfly/react-core": "^6.6.1",
|
|
23
|
+
"@patternfly/react-table": "^6.6.1",
|
|
24
|
+
"@project-kessel/react-kessel-access-check": "^0.5.7",
|
|
25
|
+
"react": "^18.3.1",
|
|
26
|
+
"react-dom": "^18.3.1",
|
|
27
27
|
"react-redux": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
28
28
|
"react-router-dom": "^5.0.0 || ^6.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@redhat-cloud-services/rbac-client": "^6.0.1",
|
|
32
32
|
"@redhat-cloud-services/types": "^3.0.0",
|
|
33
|
-
"@sentry/browser": "^10.
|
|
33
|
+
"@sentry/browser": "^10.70.0",
|
|
34
34
|
"awesome-debounce-promise": "^2.1.0",
|
|
35
|
-
"axios": "^1.
|
|
35
|
+
"axios": "^1.19.0",
|
|
36
36
|
"commander": "^2.20.3",
|
|
37
37
|
"mkdirp": "^1.0.4",
|
|
38
|
-
"p-map": "^7.0.
|
|
39
|
-
"react-content-loader": "^6.2.
|
|
38
|
+
"p-map": "^7.0.6",
|
|
39
|
+
"react-content-loader": "^6.2.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@project-kessel/react-kessel-access-check": "^0.5.
|
|
43
|
-
"@types/react": "^18.
|
|
42
|
+
"@project-kessel/react-kessel-access-check": "^0.5.7",
|
|
43
|
+
"@types/react": "^18.3.31",
|
|
44
44
|
"glob": "10.5.0",
|
|
45
|
-
"react-intl": "^6.
|
|
46
|
-
"redux-mock-store": "^1.5.
|
|
45
|
+
"react-intl": "^6.8.9",
|
|
46
|
+
"redux-mock-store": "^1.5.5"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": false,
|
|
49
49
|
"peerDependenciesMeta": {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare function parseCvssScore(cvssV2?: string | number, cvssV3?: string | number, withLabels?: boolean): string | React.JSX.Element;
|
|
2
3
|
export default parseCvssScore;
|