@rsdoctor/components 0.4.11 → 0.4.12

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.
@@ -1,4 +1,4 @@
1
- import { Fragment, jsx } from "react/jsx-runtime";
1
+ import { jsx } from "react/jsx-runtime";
2
2
  import { LinkRuleAlert } from "./link";
3
3
  import { FileRelationAlert } from "./file-relation";
4
4
  import { PackageRelationAlert } from "./package-relation";
@@ -16,9 +16,6 @@ const Alert = (props) => {
16
16
  if (data.type === "code-change") {
17
17
  return /* @__PURE__ */ jsx(CodeChangeAlert, { data, cwd });
18
18
  }
19
- if (data.type === "emo") {
20
- return /* @__PURE__ */ jsx(Fragment, {});
21
- }
22
19
  if (data.type === "package-relation") {
23
20
  const { getPackageRelationContentComponent } = props;
24
21
  return /* @__PURE__ */ jsx(
@@ -26,6 +26,3 @@ export interface CodeViewAlertProps {
26
26
  export interface LinkAlertProps {
27
27
  data: Rule.LinkRuleStoreData;
28
28
  }
29
- export interface EMOAlertProps {
30
- data: Rule.EMORuleStoreData;
31
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/components",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -49,12 +49,12 @@
49
49
  "@types/lodash-es": "4.17.12",
50
50
  "@types/node": "^16",
51
51
  "@types/path-browserify": "1.0.3",
52
- "@types/react": "^18.3.12",
52
+ "@types/react": "^18.3.16",
53
53
  "@types/react-highlight-words": "^0.20.0",
54
54
  "@types/url-parse": "1.4.11",
55
55
  "ansi-to-react": "6.1.6",
56
56
  "antd": "5.15.3",
57
- "axios": "^1.7.8",
57
+ "axios": "^1.7.9",
58
58
  "dayjs": "1.11.13",
59
59
  "echarts": "^5.5.1",
60
60
  "echarts-for-react": "^3.0.2",
@@ -74,9 +74,9 @@
74
74
  "socket.io-client": "4.6.1",
75
75
  "typescript": "^5.2.2",
76
76
  "url-parse": "1.5.10",
77
- "@rsdoctor/graph": "0.4.11",
78
- "@rsdoctor/types": "0.4.11",
79
- "@rsdoctor/utils": "0.4.11"
77
+ "@rsdoctor/graph": "0.4.12",
78
+ "@rsdoctor/types": "0.4.12",
79
+ "@rsdoctor/utils": "0.4.12"
80
80
  },
81
81
  "publishConfig": {
82
82
  "access": "public",