@rsdoctor/sdk 0.1.5 → 0.1.6
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/dist/cjs/sdk/sdk/core.js
CHANGED
|
@@ -173,7 +173,7 @@ class RsdoctorServer {
|
|
|
173
173
|
);
|
|
174
174
|
const url = `http://${this.host}:${this.port}${relativeUrl}`;
|
|
175
175
|
const localhostUrl = `http://localhost:${this.port}${relativeUrl}`;
|
|
176
|
-
await (0, import_openBrowser.openBrowser)(
|
|
176
|
+
await (0, import_openBrowser.openBrowser)(localhostUrl);
|
|
177
177
|
import_logger.logger.info(`Rsdoctor analyze server running on: ${import_logger.chalk.cyan(url)}`);
|
|
178
178
|
import_logger.logger.info(
|
|
179
179
|
`Rsdoctor analyze server running on: ${import_logger.chalk.cyan(localhostUrl)}`
|
package/dist/esm/sdk/sdk/core.js
CHANGED
|
@@ -139,7 +139,7 @@ class RsdoctorServer {
|
|
|
139
139
|
);
|
|
140
140
|
const url = `http://${this.host}:${this.port}${relativeUrl}`;
|
|
141
141
|
const localhostUrl = `http://localhost:${this.port}${relativeUrl}`;
|
|
142
|
-
await openBrowser(
|
|
142
|
+
await openBrowser(localhostUrl);
|
|
143
143
|
logger.info(`Rsdoctor analyze server running on: ${chalk.cyan(url)}`);
|
|
144
144
|
logger.info(
|
|
145
145
|
`Rsdoctor analyze server running on: ${chalk.cyan(localhostUrl)}`
|
|
@@ -20,6 +20,7 @@ export declare abstract class SDKCore<T extends RsdoctorSDKOptions> implements S
|
|
|
20
20
|
setOutputDir(outputDir: string): void;
|
|
21
21
|
setName(name: string): void;
|
|
22
22
|
setHash(hash: string): void;
|
|
23
|
+
getHash(): string;
|
|
23
24
|
getClientRoutes(): Manifest.RsdoctorManifestClientRoutes[];
|
|
24
25
|
addClientRoutes(routes: Manifest.RsdoctorManifestClientRoutes[]): void;
|
|
25
26
|
/** Upload analysis data pieces */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
"body-parser": "1.20.1",
|
|
19
19
|
"cors": "2.8.5",
|
|
20
20
|
"dayjs": "1.11.6",
|
|
21
|
-
"ip": "1.1.
|
|
21
|
+
"ip": "1.1.9",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
23
|
"open": "^8.4.0",
|
|
24
24
|
"serve-static": "1.15.0",
|
|
25
25
|
"socket.io": "4.7.2",
|
|
26
26
|
"source-map": "^0.7.4",
|
|
27
27
|
"tapable": "2.2.1",
|
|
28
|
-
"@rsdoctor/
|
|
29
|
-
"@rsdoctor/
|
|
30
|
-
"@rsdoctor/
|
|
31
|
-
"@rsdoctor/types": "0.1.
|
|
28
|
+
"@rsdoctor/graph": "0.1.6",
|
|
29
|
+
"@rsdoctor/utils": "0.1.6",
|
|
30
|
+
"@rsdoctor/client": "0.1.6",
|
|
31
|
+
"@rsdoctor/types": "0.1.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/body-parser": "1.19.2",
|