bdy 1.9.56-dev → 1.9.57-dev
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/distTs/package.json
CHANGED
|
@@ -107,7 +107,7 @@ async function getSnapshotWithResources(snapshot) {
|
|
|
107
107
|
if (context_js_1.debug) {
|
|
108
108
|
output_1.default.normal(`Collected resources for snapshot: ${snapshot.name}`);
|
|
109
109
|
for (const resource of resources) {
|
|
110
|
-
output_1.default.normal(`- url: ${resource.url} status: ${resource.status} headers: ${JSON.stringify(resource.headers)} duplicate: ${resource.duplicate}`);
|
|
110
|
+
output_1.default.normal(`- url: ${resource.url} status: ${resource.status} headers: ${JSON.stringify(resource.headers)} duplicate: ${resource.duplicate} hasBody: ${!!resource.body} bodySize: ${typeof resource.body === 'string' ? resource.body.length : resource.body?.size}`);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
return {
|