@rsdoctor/utils 1.3.13 → 1.3.14
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/common.cjs +2 -2
- package/dist/common.js +2 -2
- package/package.json +2 -2
package/dist/common.cjs
CHANGED
|
@@ -1133,8 +1133,8 @@ for(var __rspack_i in (()=>{
|
|
|
1133
1133
|
this.loader.loadData('moduleGraph'),
|
|
1134
1134
|
this.loader.loadData('configs')
|
|
1135
1135
|
]).then((res)=>{
|
|
1136
|
-
let { assetPath } = body, configs = res[2] || [], { isRspack, hasSourceMap } = (0, rspack.checkSourceMapSupport)(configs), { assets = [], chunks = [] } = res[0] || {}, { modules = [] } = res[1] || {};
|
|
1137
|
-
return getAssetDetails(assetPath, assets, chunks, modules, isRspack || hasSourceMap ? (
|
|
1136
|
+
let { assetPath } = body, configs = res[2] || [], { isRspack, hasSourceMap } = (0, rspack.checkSourceMapSupport)(configs), { assets = [], chunks = [] } = res[0] || {}, { modules = [] } = res[1] || {}, isLynx = Array.isArray(configs) && configs[0]?.config?.name === 'lynx';
|
|
1137
|
+
return getAssetDetails(assetPath, assets, chunks, modules, isRspack || hasSourceMap ? (module)=>!isLynx || 0 !== module.size.parsedSize : ()=>!0);
|
|
1138
1138
|
});
|
|
1139
1139
|
case types_.SDK.ServerAPI.API.GetSummaryBundles:
|
|
1140
1140
|
return Promise.all([
|
package/dist/common.js
CHANGED
|
@@ -970,8 +970,8 @@ class APIDataLoader {
|
|
|
970
970
|
this.loader.loadData('moduleGraph'),
|
|
971
971
|
this.loader.loadData('configs')
|
|
972
972
|
]).then((res)=>{
|
|
973
|
-
let { assetPath } = body, { isRspack, hasSourceMap } = checkSourceMapSupport(
|
|
974
|
-
return getAssetDetails(assetPath, assets, chunks, modules, isRspack || hasSourceMap ? (
|
|
973
|
+
let { assetPath } = body, configs = res[2] || [], { isRspack, hasSourceMap } = checkSourceMapSupport(configs), { assets = [], chunks = [] } = res[0] || {}, { modules = [] } = res[1] || {}, isLynx = Array.isArray(configs) && configs[0]?.config?.name === 'lynx';
|
|
974
|
+
return getAssetDetails(assetPath, assets, chunks, modules, isRspack || hasSourceMap ? (module)=>!isLynx || 0 !== module.size.parsedSize : ()=>!0);
|
|
975
975
|
});
|
|
976
976
|
case SDK.ServerAPI.API.GetSummaryBundles:
|
|
977
977
|
return Promise.all([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/utils",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"picocolors": "^1.1.1",
|
|
77
77
|
"rslog": "^1.2.11",
|
|
78
78
|
"strip-ansi": "^6.0.1",
|
|
79
|
-
"@rsdoctor/types": "1.3.
|
|
79
|
+
"@rsdoctor/types": "1.3.14"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@types/babel__code-frame": "7.0.6",
|