sharp 0.35.5-rc.1 → 0.35.5
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/package.json +31 -31
- package/src/pipeline.cc +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sharp",
|
|
3
3
|
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
|
|
4
|
-
"version": "0.35.5
|
|
4
|
+
"version": "0.35.5",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
|
7
7
|
"contributors": [
|
|
@@ -163,31 +163,31 @@
|
|
|
163
163
|
"semver": "^7.8.5"
|
|
164
164
|
},
|
|
165
165
|
"optionalDependencies": {
|
|
166
|
-
"@img/sharp-darwin-arm64": "0.35.5
|
|
167
|
-
"@img/sharp-darwin-x64": "0.35.5
|
|
168
|
-
"@img/sharp-freebsd-wasm32": "0.35.5
|
|
169
|
-
"@img/sharp-libvips-darwin-arm64": "1.3.4
|
|
170
|
-
"@img/sharp-libvips-darwin-x64": "1.3.4
|
|
171
|
-
"@img/sharp-libvips-linux-arm": "1.3.4
|
|
172
|
-
"@img/sharp-libvips-linux-arm64": "1.3.4
|
|
173
|
-
"@img/sharp-libvips-linux-ppc64": "1.3.4
|
|
174
|
-
"@img/sharp-libvips-linux-riscv64": "1.3.4
|
|
175
|
-
"@img/sharp-libvips-linux-s390x": "1.3.4
|
|
176
|
-
"@img/sharp-libvips-linux-x64": "1.3.4
|
|
177
|
-
"@img/sharp-libvips-linuxmusl-arm64": "1.3.4
|
|
178
|
-
"@img/sharp-libvips-linuxmusl-x64": "1.3.4
|
|
179
|
-
"@img/sharp-linux-arm": "0.35.5
|
|
180
|
-
"@img/sharp-linux-arm64": "0.35.5
|
|
181
|
-
"@img/sharp-linux-ppc64": "0.35.5
|
|
182
|
-
"@img/sharp-linux-riscv64": "0.35.5
|
|
183
|
-
"@img/sharp-linux-s390x": "0.35.5
|
|
184
|
-
"@img/sharp-linux-x64": "0.35.5
|
|
185
|
-
"@img/sharp-linuxmusl-arm64": "0.35.5
|
|
186
|
-
"@img/sharp-linuxmusl-x64": "0.35.5
|
|
187
|
-
"@img/sharp-webcontainers-wasm32": "0.35.5
|
|
188
|
-
"@img/sharp-win32-arm64": "0.35.5
|
|
189
|
-
"@img/sharp-win32-ia32": "0.35.5
|
|
190
|
-
"@img/sharp-win32-x64": "0.35.5
|
|
166
|
+
"@img/sharp-darwin-arm64": "0.35.5",
|
|
167
|
+
"@img/sharp-darwin-x64": "0.35.5",
|
|
168
|
+
"@img/sharp-freebsd-wasm32": "0.35.5",
|
|
169
|
+
"@img/sharp-libvips-darwin-arm64": "1.3.4",
|
|
170
|
+
"@img/sharp-libvips-darwin-x64": "1.3.4",
|
|
171
|
+
"@img/sharp-libvips-linux-arm": "1.3.4",
|
|
172
|
+
"@img/sharp-libvips-linux-arm64": "1.3.4",
|
|
173
|
+
"@img/sharp-libvips-linux-ppc64": "1.3.4",
|
|
174
|
+
"@img/sharp-libvips-linux-riscv64": "1.3.4",
|
|
175
|
+
"@img/sharp-libvips-linux-s390x": "1.3.4",
|
|
176
|
+
"@img/sharp-libvips-linux-x64": "1.3.4",
|
|
177
|
+
"@img/sharp-libvips-linuxmusl-arm64": "1.3.4",
|
|
178
|
+
"@img/sharp-libvips-linuxmusl-x64": "1.3.4",
|
|
179
|
+
"@img/sharp-linux-arm": "0.35.5",
|
|
180
|
+
"@img/sharp-linux-arm64": "0.35.5",
|
|
181
|
+
"@img/sharp-linux-ppc64": "0.35.5",
|
|
182
|
+
"@img/sharp-linux-riscv64": "0.35.5",
|
|
183
|
+
"@img/sharp-linux-s390x": "0.35.5",
|
|
184
|
+
"@img/sharp-linux-x64": "0.35.5",
|
|
185
|
+
"@img/sharp-linuxmusl-arm64": "0.35.5",
|
|
186
|
+
"@img/sharp-linuxmusl-x64": "0.35.5",
|
|
187
|
+
"@img/sharp-webcontainers-wasm32": "0.35.5",
|
|
188
|
+
"@img/sharp-win32-arm64": "0.35.5",
|
|
189
|
+
"@img/sharp-win32-ia32": "0.35.5",
|
|
190
|
+
"@img/sharp-win32-x64": "0.35.5"
|
|
191
191
|
},
|
|
192
192
|
"peerDependenciesMeta": {
|
|
193
193
|
"@types/node": {
|
|
@@ -198,11 +198,11 @@
|
|
|
198
198
|
"@biomejs/biome": "^2.5.14",
|
|
199
199
|
"@cpplint/cli": "^0.1.0",
|
|
200
200
|
"@emnapi/runtime": "^1.11.3",
|
|
201
|
-
"@img/sharp-libvips-dev": "1.3.4
|
|
202
|
-
"@img/sharp-libvips-dev-wasm32": "1.3.4
|
|
203
|
-
"@img/sharp-libvips-win32-arm64": "1.3.4
|
|
204
|
-
"@img/sharp-libvips-win32-ia32": "1.3.4
|
|
205
|
-
"@img/sharp-libvips-win32-x64": "1.3.4
|
|
201
|
+
"@img/sharp-libvips-dev": "1.3.4",
|
|
202
|
+
"@img/sharp-libvips-dev-wasm32": "1.3.4",
|
|
203
|
+
"@img/sharp-libvips-win32-arm64": "1.3.4",
|
|
204
|
+
"@img/sharp-libvips-win32-ia32": "1.3.4",
|
|
205
|
+
"@img/sharp-libvips-win32-x64": "1.3.4",
|
|
206
206
|
"@types/node": "*",
|
|
207
207
|
"emnapi": "^1.11.3",
|
|
208
208
|
"exif-reader": "^2.0.3",
|
package/src/pipeline.cc
CHANGED
|
@@ -453,14 +453,14 @@ class PipelineWorker : public Napi::AsyncWorker {
|
|
|
453
453
|
}
|
|
454
454
|
image = image.rot(autoRotation);
|
|
455
455
|
if (baton->keepGainMap) {
|
|
456
|
-
gainMap = gainMap.rot(autoRotation);
|
|
456
|
+
gainMap = sharp::StaySequential(gainMap).rot(autoRotation);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
// Mirror vertically (up-down) about the x-axis
|
|
460
460
|
if (baton->flip) {
|
|
461
461
|
image = image.flip(VIPS_DIRECTION_VERTICAL);
|
|
462
462
|
if (baton->keepGainMap) {
|
|
463
|
-
gainMap = gainMap.flip(VIPS_DIRECTION_VERTICAL);
|
|
463
|
+
gainMap = sharp::StaySequential(gainMap).flip(VIPS_DIRECTION_VERTICAL);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
// Mirror horizontally (left-right) about the y-axis
|
|
@@ -477,7 +477,7 @@ class PipelineWorker : public Napi::AsyncWorker {
|
|
|
477
477
|
}
|
|
478
478
|
image = image.rot(rotation);
|
|
479
479
|
if (baton->keepGainMap) {
|
|
480
|
-
gainMap = gainMap.rot(rotation);
|
|
480
|
+
gainMap = sharp::StaySequential(gainMap).rot(rotation);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
|