sharp 0.34.0 → 0.34.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # sharp
2
2
 
3
- <img src="https://cdn.jsdelivr.net/gh/lovell/sharp@main/docs/image/sharp-logo.svg" width="160" height="160" alt="sharp logo" align="right">
3
+ <img src="https://cdn.jsdelivr.net/gh/lovell/sharp@main/docs/public/sharp-logo.svg" width="160" height="160" alt="sharp logo" align="right">
4
4
 
5
5
  The typical use case for this high speed Node-API module
6
6
  is to convert large images in common formats to
package/lib/index.d.ts CHANGED
@@ -971,7 +971,7 @@ declare namespace sharp {
971
971
  *
972
972
  * Using this option will remove the EXIF `Orientation` tag, if any.
973
973
  */
974
- autoOrient?: boolean;
974
+ autoOrient?: boolean | undefined;
975
975
  /**
976
976
  * When to abort processing of invalid pixel data, one of (in order of sensitivity):
977
977
  * 'none' (least), 'truncated', 'error' or 'warning' (most), highers level imply lower levels, invalid metadata will always abort. (optional, default 'warning')
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.0",
4
+ "version": "0.34.1",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://sharp.pixelplumbing.com",
7
7
  "contributors": [
@@ -142,8 +142,8 @@
142
142
  "semver": "^7.7.1"
143
143
  },
144
144
  "optionalDependencies": {
145
- "@img/sharp-darwin-arm64": "0.34.0",
146
- "@img/sharp-darwin-x64": "0.34.0",
145
+ "@img/sharp-darwin-arm64": "0.34.1",
146
+ "@img/sharp-darwin-x64": "0.34.1",
147
147
  "@img/sharp-libvips-darwin-arm64": "1.1.0",
148
148
  "@img/sharp-libvips-darwin-x64": "1.1.0",
149
149
  "@img/sharp-libvips-linux-arm": "1.1.0",
@@ -153,15 +153,15 @@
153
153
  "@img/sharp-libvips-linux-x64": "1.1.0",
154
154
  "@img/sharp-libvips-linuxmusl-arm64": "1.1.0",
155
155
  "@img/sharp-libvips-linuxmusl-x64": "1.1.0",
156
- "@img/sharp-linux-arm": "0.34.0",
157
- "@img/sharp-linux-arm64": "0.34.0",
158
- "@img/sharp-linux-s390x": "0.34.0",
159
- "@img/sharp-linux-x64": "0.34.0",
160
- "@img/sharp-linuxmusl-arm64": "0.34.0",
161
- "@img/sharp-linuxmusl-x64": "0.34.0",
162
- "@img/sharp-wasm32": "0.34.0",
163
- "@img/sharp-win32-ia32": "0.34.0",
164
- "@img/sharp-win32-x64": "0.34.0"
156
+ "@img/sharp-linux-arm": "0.34.1",
157
+ "@img/sharp-linux-arm64": "0.34.1",
158
+ "@img/sharp-linux-s390x": "0.34.1",
159
+ "@img/sharp-linux-x64": "0.34.1",
160
+ "@img/sharp-linuxmusl-arm64": "0.34.1",
161
+ "@img/sharp-linuxmusl-x64": "0.34.1",
162
+ "@img/sharp-wasm32": "0.34.1",
163
+ "@img/sharp-win32-ia32": "0.34.1",
164
+ "@img/sharp-win32-x64": "0.34.1"
165
165
  },
166
166
  "devDependencies": {
167
167
  "@emnapi/runtime": "^1.4.0",
package/src/binding.gyp CHANGED
@@ -19,7 +19,10 @@
19
19
  'type': 'shared_library',
20
20
  'defines': [
21
21
  '_VIPS_PUBLIC=__declspec(dllexport)',
22
- '_ALLOW_KEYWORD_MACROS'
22
+ '_ALLOW_KEYWORD_MACROS',
23
+ 'G_DISABLE_ASSERT',
24
+ 'G_DISABLE_CAST_CHECKS',
25
+ 'G_DISABLE_CHECKS'
23
26
  ],
24
27
  'sources': [
25
28
  '<(sharp_libvips_cplusplus_dir)/VConnection.cpp',