@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.
- package/README.md +12 -18
- 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} +42 -29
- package/dist/constructor.mjs +512 -0
- package/dist/index.cjs +25 -0
- package/dist/index.d.cts +1999 -0
- package/dist/index.d.mts +2046 -0
- package/dist/index.mjs +25 -0
- package/{lib/input.js → dist/input.cjs} +22 -17
- package/dist/input.mjs +814 -0
- package/{lib/is.js → dist/is.cjs} +1 -1
- package/dist/is.mjs +143 -0
- package/{lib/libvips.js → dist/libvips.cjs} +35 -30
- package/dist/libvips.mjs +212 -0
- package/{lib/operation.js → dist/operation.cjs} +22 -47
- package/dist/operation.mjs +991 -0
- package/{lib/output.js → dist/output.cjs} +161 -28
- package/dist/output.mjs +1799 -0
- package/{lib/resize.js → dist/resize.cjs} +40 -18
- package/dist/resize.mjs +617 -0
- package/dist/sharp.cjs +119 -0
- package/dist/sharp.mjs +119 -0
- package/{lib/utility.js → dist/utility.cjs} +11 -7
- package/dist/utility.mjs +295 -0
- package/install/build.js +3 -3
- package/lib/index.d.ts +99 -71
- package/package.json +46 -27
- package/src/binding.gyp +18 -13
- package/src/common.cc +70 -17
- package/src/common.h +22 -3
- package/src/metadata.cc +66 -8
- package/src/metadata.h +6 -1
- package/src/operations.cc +25 -8
- package/src/operations.h +1 -1
- package/src/pipeline.cc +194 -69
- package/src/pipeline.h +14 -1
- package/src/stats.cc +6 -6
- package/src/utilities.cc +4 -3
- package/install/check.js +0 -14
- package/lib/index.js +0 -16
- 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;
|