@revizly/sharp 0.35.0-revizly4 → 0.35.0-revizly40

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.
Files changed (46) hide show
  1. package/README.md +12 -18
  2. package/{lib/channel.js → dist/channel.cjs} +1 -1
  3. package/dist/channel.mjs +177 -0
  4. package/{lib/colour.js → dist/colour.cjs} +1 -1
  5. package/dist/colour.mjs +195 -0
  6. package/{lib/composite.js → dist/composite.cjs} +2 -1
  7. package/dist/composite.mjs +213 -0
  8. package/{lib/constructor.js → dist/constructor.cjs} +42 -29
  9. package/dist/constructor.mjs +512 -0
  10. package/dist/index.cjs +25 -0
  11. package/dist/index.d.cts +1999 -0
  12. package/dist/index.d.mts +2046 -0
  13. package/dist/index.mjs +25 -0
  14. package/{lib/input.js → dist/input.cjs} +22 -17
  15. package/dist/input.mjs +814 -0
  16. package/{lib/is.js → dist/is.cjs} +1 -1
  17. package/dist/is.mjs +143 -0
  18. package/{lib/libvips.js → dist/libvips.cjs} +35 -30
  19. package/dist/libvips.mjs +212 -0
  20. package/{lib/operation.js → dist/operation.cjs} +22 -47
  21. package/dist/operation.mjs +991 -0
  22. package/{lib/output.js → dist/output.cjs} +161 -28
  23. package/dist/output.mjs +1799 -0
  24. package/{lib/resize.js → dist/resize.cjs} +40 -18
  25. package/dist/resize.mjs +617 -0
  26. package/dist/sharp.cjs +119 -0
  27. package/dist/sharp.mjs +119 -0
  28. package/{lib/utility.js → dist/utility.cjs} +11 -7
  29. package/dist/utility.mjs +295 -0
  30. package/install/build.js +3 -3
  31. package/lib/index.d.ts +99 -71
  32. package/package.json +46 -27
  33. package/src/binding.gyp +18 -13
  34. package/src/common.cc +70 -17
  35. package/src/common.h +22 -3
  36. package/src/metadata.cc +66 -8
  37. package/src/metadata.h +6 -1
  38. package/src/operations.cc +25 -8
  39. package/src/operations.h +1 -1
  40. package/src/pipeline.cc +194 -69
  41. package/src/pipeline.h +14 -1
  42. package/src/stats.cc +6 -6
  43. package/src/utilities.cc +4 -3
  44. package/install/check.js +0 -14
  45. package/lib/index.js +0 -16
  46. package/lib/sharp.js +0 -121
package/dist/index.cjs ADDED
@@ -0,0 +1,25 @@
1
+ /*!
2
+ Copyright 2013 Lovell Fuller and others.
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ const Sharp = require('./constructor.cjs');
7
+ const input = require('./input.cjs');
8
+ const resize = require('./resize.cjs');
9
+ const composite = require('./composite.cjs');
10
+ const operation = require('./operation.cjs');
11
+ const colour = require('./colour.cjs');
12
+ const channel = require('./channel.cjs');
13
+ const output = require('./output.cjs');
14
+ const utility = require('./utility.cjs');
15
+
16
+ input(Sharp);
17
+ resize(Sharp);
18
+ composite(Sharp);
19
+ operation(Sharp);
20
+ colour(Sharp);
21
+ channel(Sharp);
22
+ output(Sharp);
23
+ utility(Sharp);
24
+
25
+ module.exports = Sharp;