sharp 0.34.4-rc.3 → 0.34.4
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 +29 -29
- package/src/common.cc +2 -2
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.34.4
|
|
4
|
+
"version": "0.34.4",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
|
7
7
|
"contributors": [
|
|
@@ -142,36 +142,36 @@
|
|
|
142
142
|
"semver": "^7.7.2"
|
|
143
143
|
},
|
|
144
144
|
"optionalDependencies": {
|
|
145
|
-
"@img/sharp-darwin-arm64": "0.34.4
|
|
146
|
-
"@img/sharp-darwin-x64": "0.34.4
|
|
147
|
-
"@img/sharp-libvips-darwin-arm64": "1.2.
|
|
148
|
-
"@img/sharp-libvips-darwin-x64": "1.2.
|
|
149
|
-
"@img/sharp-libvips-linux-arm": "1.2.
|
|
150
|
-
"@img/sharp-libvips-linux-arm64": "1.2.
|
|
151
|
-
"@img/sharp-libvips-linux-ppc64": "1.2.
|
|
152
|
-
"@img/sharp-libvips-linux-s390x": "1.2.
|
|
153
|
-
"@img/sharp-libvips-linux-x64": "1.2.
|
|
154
|
-
"@img/sharp-libvips-linuxmusl-arm64": "1.2.
|
|
155
|
-
"@img/sharp-libvips-linuxmusl-x64": "1.2.
|
|
156
|
-
"@img/sharp-linux-arm": "0.34.4
|
|
157
|
-
"@img/sharp-linux-arm64": "0.34.4
|
|
158
|
-
"@img/sharp-linux-ppc64": "0.34.4
|
|
159
|
-
"@img/sharp-linux-s390x": "0.34.4
|
|
160
|
-
"@img/sharp-linux-x64": "0.34.4
|
|
161
|
-
"@img/sharp-linuxmusl-arm64": "0.34.4
|
|
162
|
-
"@img/sharp-linuxmusl-x64": "0.34.4
|
|
163
|
-
"@img/sharp-wasm32": "0.34.4
|
|
164
|
-
"@img/sharp-win32-arm64": "0.34.4
|
|
165
|
-
"@img/sharp-win32-ia32": "0.34.4
|
|
166
|
-
"@img/sharp-win32-x64": "0.34.4
|
|
145
|
+
"@img/sharp-darwin-arm64": "0.34.4",
|
|
146
|
+
"@img/sharp-darwin-x64": "0.34.4",
|
|
147
|
+
"@img/sharp-libvips-darwin-arm64": "1.2.3",
|
|
148
|
+
"@img/sharp-libvips-darwin-x64": "1.2.3",
|
|
149
|
+
"@img/sharp-libvips-linux-arm": "1.2.3",
|
|
150
|
+
"@img/sharp-libvips-linux-arm64": "1.2.3",
|
|
151
|
+
"@img/sharp-libvips-linux-ppc64": "1.2.3",
|
|
152
|
+
"@img/sharp-libvips-linux-s390x": "1.2.3",
|
|
153
|
+
"@img/sharp-libvips-linux-x64": "1.2.3",
|
|
154
|
+
"@img/sharp-libvips-linuxmusl-arm64": "1.2.3",
|
|
155
|
+
"@img/sharp-libvips-linuxmusl-x64": "1.2.3",
|
|
156
|
+
"@img/sharp-linux-arm": "0.34.4",
|
|
157
|
+
"@img/sharp-linux-arm64": "0.34.4",
|
|
158
|
+
"@img/sharp-linux-ppc64": "0.34.4",
|
|
159
|
+
"@img/sharp-linux-s390x": "0.34.4",
|
|
160
|
+
"@img/sharp-linux-x64": "0.34.4",
|
|
161
|
+
"@img/sharp-linuxmusl-arm64": "0.34.4",
|
|
162
|
+
"@img/sharp-linuxmusl-x64": "0.34.4",
|
|
163
|
+
"@img/sharp-wasm32": "0.34.4",
|
|
164
|
+
"@img/sharp-win32-arm64": "0.34.4",
|
|
165
|
+
"@img/sharp-win32-ia32": "0.34.4",
|
|
166
|
+
"@img/sharp-win32-x64": "0.34.4"
|
|
167
167
|
},
|
|
168
168
|
"devDependencies": {
|
|
169
169
|
"@emnapi/runtime": "^1.5.0",
|
|
170
|
-
"@img/sharp-libvips-dev": "1.2.
|
|
171
|
-
"@img/sharp-libvips-dev-wasm32": "1.2.
|
|
172
|
-
"@img/sharp-libvips-win32-arm64": "1.2.
|
|
173
|
-
"@img/sharp-libvips-win32-ia32": "1.2.
|
|
174
|
-
"@img/sharp-libvips-win32-x64": "1.2.
|
|
170
|
+
"@img/sharp-libvips-dev": "1.2.3",
|
|
171
|
+
"@img/sharp-libvips-dev-wasm32": "1.2.3",
|
|
172
|
+
"@img/sharp-libvips-win32-arm64": "1.2.3",
|
|
173
|
+
"@img/sharp-libvips-win32-ia32": "1.2.3",
|
|
174
|
+
"@img/sharp-libvips-win32-x64": "1.2.3",
|
|
175
175
|
"@types/node": "*",
|
|
176
176
|
"cc": "^3.0.1",
|
|
177
177
|
"emnapi": "^1.5.0",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"node-gyp": "^11.4.2",
|
|
186
186
|
"nyc": "^17.1.0",
|
|
187
187
|
"semistandard": "^17.0.0",
|
|
188
|
-
"tar-fs": "^3.1.
|
|
188
|
+
"tar-fs": "^3.1.1",
|
|
189
189
|
"tsd": "^0.33.0"
|
|
190
190
|
},
|
|
191
191
|
"license": "Apache-2.0",
|
package/src/common.cc
CHANGED
|
@@ -421,14 +421,14 @@ namespace sharp {
|
|
|
421
421
|
->set("high_bitdepth", descriptor->svgHighBitdepth);
|
|
422
422
|
break;
|
|
423
423
|
case ImageType::TIFF:
|
|
424
|
-
option->set("
|
|
424
|
+
option->set("subifd", descriptor->tiffSubifd);
|
|
425
425
|
break;
|
|
426
426
|
case ImageType::PDF:
|
|
427
427
|
option->set("dpi", descriptor->density)
|
|
428
428
|
->set("background", descriptor->pdfBackground);
|
|
429
429
|
break;
|
|
430
430
|
case ImageType::OPENSLIDE:
|
|
431
|
-
option->set("
|
|
431
|
+
option->set("level", descriptor->openSlideLevel);
|
|
432
432
|
break;
|
|
433
433
|
case ImageType::JP2:
|
|
434
434
|
option->set("oneshot", descriptor->jp2Oneshot);
|