@revizly/sharp 0.35.0-revizly27 → 0.35.0-revizly29

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.
@@ -4,8 +4,8 @@
4
4
  */
5
5
 
6
6
  const path = require('node:path');
7
- const is = require('./is');
8
- const sharp = require('./sharp');
7
+ const is = require('./is.cjs');
8
+ const sharp = require('./sharp.cjs');
9
9
 
10
10
  const formats = new Map([
11
11
  ['heic', 'heif'],
@@ -500,7 +500,7 @@ function withXmp (xmp) {
500
500
  * @returns {Sharp}
501
501
  */
502
502
  function keepMetadata () {
503
- this.options.keepMetadata = 0b11111;
503
+ this.options.keepMetadata |= 0b11111;
504
504
  return this;
505
505
  }
506
506