@rsdoctor/sdk 1.5.8 → 1.5.9
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/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -6447,7 +6447,7 @@ var __webpack_modules__ = {
|
|
|
6447
6447
|
}
|
|
6448
6448
|
}
|
|
6449
6449
|
async openClientPage(...args) {
|
|
6450
|
-
let relativeUrl = this.getClientUrl(...args), needEncodeURI =
|
|
6450
|
+
let relativeUrl = this.getClientUrl(...args), needEncodeURI = args[0] === types_namespaceObject.Client.RsdoctorClientRoutes.BundleDiff, url = `http://${this.host}:${this.port}${relativeUrl}`, localhostUrl = `http://localhost:${this.port}${relativeUrl}`;
|
|
6451
6451
|
await openBrowser(localhostUrl, !needEncodeURI), this._printServerUrl && logger_namespaceObject.logger.info(`${logger_namespaceObject.chalk.green(`${this.sdk.name} compiler's`)} analyzer running on: ${logger_namespaceObject.chalk.cyan(url)}`);
|
|
6452
6452
|
}
|
|
6453
6453
|
sendAPIDataToClient(api, msg) {
|
|
@@ -6559,7 +6559,7 @@ var __webpack_modules__ = {
|
|
|
6559
6559
|
try {
|
|
6560
6560
|
if ('configs' === key) return JSON.stringify((0, common_namespaceObject.decycle)(data));
|
|
6561
6561
|
return JSON.stringify(data);
|
|
6562
|
-
} catch
|
|
6562
|
+
} catch {
|
|
6563
6563
|
return build_namespaceObject.Json.stringify(data);
|
|
6564
6564
|
}
|
|
6565
6565
|
})();
|
|
@@ -6645,7 +6645,7 @@ var __webpack_modules__ = {
|
|
|
6645
6645
|
try {
|
|
6646
6646
|
let result = await new source_map.YK(rawData);
|
|
6647
6647
|
return sourceMap.set(file, result), result;
|
|
6648
|
-
} catch
|
|
6648
|
+
} catch {
|
|
6649
6649
|
return Promise.resolve(void 0);
|
|
6650
6650
|
}
|
|
6651
6651
|
}
|
package/dist/index.js
CHANGED
|
@@ -6466,7 +6466,7 @@ class RsdoctorServer {
|
|
|
6466
6466
|
}
|
|
6467
6467
|
}
|
|
6468
6468
|
async openClientPage(...args) {
|
|
6469
|
-
let relativeUrl = this.getClientUrl(...args), needEncodeURI =
|
|
6469
|
+
let relativeUrl = this.getClientUrl(...args), needEncodeURI = args[0] === Client.RsdoctorClientRoutes.BundleDiff, url = `http://${this.host}:${this.port}${relativeUrl}`, localhostUrl = `http://localhost:${this.port}${relativeUrl}`;
|
|
6470
6470
|
await openBrowser(localhostUrl, !needEncodeURI), this._printServerUrl && logger.info(`${chalk.green(`${this.sdk.name} compiler's`)} analyzer running on: ${chalk.cyan(url)}`);
|
|
6471
6471
|
}
|
|
6472
6472
|
sendAPIDataToClient(api, msg) {
|
|
@@ -6575,7 +6575,7 @@ class SDKCore {
|
|
|
6575
6575
|
try {
|
|
6576
6576
|
if ('configs' === key) return JSON.stringify(decycle(data));
|
|
6577
6577
|
return JSON.stringify(data);
|
|
6578
|
-
} catch
|
|
6578
|
+
} catch {
|
|
6579
6579
|
return Json.stringify(data);
|
|
6580
6580
|
}
|
|
6581
6581
|
})();
|
|
@@ -6661,7 +6661,7 @@ class RsdoctorSDK extends SDKCore {
|
|
|
6661
6661
|
try {
|
|
6662
6662
|
let result = await new source_map.YK(rawData);
|
|
6663
6663
|
return sourceMap.set(file, result), result;
|
|
6664
|
-
} catch
|
|
6664
|
+
} catch {
|
|
6665
6665
|
return Promise.resolve(void 0);
|
|
6666
6666
|
}
|
|
6667
6667
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/sdk",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"safer-buffer": "2.1.2",
|
|
28
28
|
"socket.io": "4.8.1",
|
|
29
29
|
"tapable": "2.3.2",
|
|
30
|
-
"@rsdoctor/
|
|
31
|
-
"@rsdoctor/
|
|
32
|
-
"@rsdoctor/types": "1.5.
|
|
33
|
-
"@rsdoctor/utils": "1.5.
|
|
30
|
+
"@rsdoctor/client": "1.5.9",
|
|
31
|
+
"@rsdoctor/graph": "1.5.9",
|
|
32
|
+
"@rsdoctor/types": "1.5.9",
|
|
33
|
+
"@rsdoctor/utils": "1.5.9"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/body-parser": "1.19.6",
|