@orkestrel/sea 0.0.20 → 0.0.22

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.
@@ -486,7 +486,7 @@ function executeShell(command, options) {
486
486
  * @param compressed - Compressed byte count
487
487
  * @returns SEACompressionSize with ratio
488
488
  */
489
- function computeSize(original, compressed) {
489
+ function computeCompressionSize(original, compressed) {
490
490
  return {
491
491
  original,
492
492
  compressed,
@@ -516,7 +516,7 @@ function compressFile(input, output, options) {
516
516
  return {
517
517
  input,
518
518
  output,
519
- size: computeSize(raw.length, compressed.length)
519
+ size: computeCompressionSize(raw.length, compressed.length)
520
520
  };
521
521
  }
522
522
  /**
@@ -548,7 +548,7 @@ function compressDirectory(directory, options, progress) {
548
548
  });
549
549
  return {
550
550
  assets: results,
551
- total: computeSize(totals.original, totals.compressed)
551
+ total: computeCompressionSize(totals.original, totals.compressed)
552
552
  };
553
553
  }
554
554
  /**
@@ -2792,7 +2792,7 @@ exports.buildELFNoteHeader = buildELFNoteHeader;
2792
2792
  exports.buildSignCommand = buildSignCommand;
2793
2793
  exports.compressDirectory = compressDirectory;
2794
2794
  exports.compressFile = compressFile;
2795
- exports.computeSize = computeSize;
2795
+ exports.computeCompressionSize = computeCompressionSize;
2796
2796
  exports.copyRange = copyRange;
2797
2797
  exports.createAsset = createAsset;
2798
2798
  exports.createAssetManager = createAssetManager;