@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.
- package/README.md +4 -0
- package/{lib/channel.js → dist/channel.cjs} +1 -1
- package/dist/channel.mjs +177 -0
- package/{lib/colour.js → dist/colour.cjs} +1 -1
- package/dist/colour.mjs +195 -0
- package/{lib/composite.js → dist/composite.cjs} +2 -1
- package/dist/composite.mjs +213 -0
- package/{lib/constructor.js → dist/constructor.cjs} +21 -26
- package/dist/constructor.mjs +500 -0
- package/dist/index.cjs +25 -0
- package/dist/index.mjs +25 -0
- package/{lib/input.js → dist/input.cjs} +14 -3
- package/dist/input.mjs +814 -0
- package/dist/is.mjs +143 -0
- package/{lib/libvips.js → dist/libvips.cjs} +8 -11
- package/dist/libvips.mjs +212 -0
- package/{lib/operation.js → dist/operation.cjs} +2 -2
- package/dist/operation.mjs +987 -0
- package/{lib/output.js → dist/output.cjs} +3 -3
- package/dist/output.mjs +1799 -0
- package/{lib/resize.js → dist/resize.cjs} +1 -1
- package/dist/resize.mjs +611 -0
- package/dist/sharp.cjs +162 -0
- package/dist/sharp.mjs +164 -0
- package/{lib/utility.js → dist/utility.cjs} +8 -6
- package/dist/utility.mjs +295 -0
- package/install/build.js +1 -1
- package/lib/index.d.ts +8 -1
- package/package.json +25 -15
- package/src/binding.gyp +8 -8
- package/src/common.cc +6 -3
- package/src/common.h +2 -0
- package/lib/index.js +0 -16
- package/lib/sharp.js +0 -163
- /package/{lib/is.js → dist/is.cjs} +0 -0
|
@@ -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
|
|
503
|
+
this.options.keepMetadata |= 0b11111;
|
|
504
504
|
return this;
|
|
505
505
|
}
|
|
506
506
|
|