pkg-pr-new 0.0.26 → 0.0.27
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.js +5 -5
- package/index.ts +3 -3
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -554,10 +554,10 @@ function hijackDeps(
|
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
function getFormEntrySize(entry: FormDataEntryValue) {
|
|
557
|
-
if (entry
|
|
558
|
-
return entry.
|
|
557
|
+
if (typeof entry === 'string') {
|
|
558
|
+
return entry.length;
|
|
559
559
|
}
|
|
560
|
-
return entry.
|
|
560
|
+
return entry.size;
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
async function verifyCompactMode(packageName: string) {
|