@img/sharp-libvips-dev 1.0.1 → 1.0.3

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 (169) hide show
  1. package/README.md +1 -2
  2. package/include/aom/aom_decoder.h +1 -1
  3. package/include/aom/aom_encoder.h +7 -1
  4. package/include/aom/aom_image.h +24 -12
  5. package/include/aom/aom_integer.h +3 -3
  6. package/include/aom/aomcx.h +15 -0
  7. package/include/aom/aomdx.h +5 -2
  8. package/include/archive.h +7 -5
  9. package/include/archive_entry.h +5 -3
  10. package/include/cgif.h +3 -0
  11. package/include/expat.h +21 -10
  12. package/include/expat_config.h +11 -5
  13. package/include/ffi.h +12 -25
  14. package/include/freetype2/freetype/config/ftoption.h +2 -2
  15. package/include/fribidi/fribidi-config.h +2 -2
  16. package/include/fribidi/fribidi-unicode-version.h +3 -3
  17. package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +3 -2
  18. package/include/glib-2.0/gio/gappinfo.h +40 -25
  19. package/include/glib-2.0/gio/gapplication.h +6 -0
  20. package/include/glib-2.0/gio/gasyncresult.h +1 -1
  21. package/include/glib-2.0/gio/gconverter.h +5 -0
  22. package/include/glib-2.0/gio/gdbusintrospection.h +1 -1
  23. package/include/glib-2.0/gio/gfile.h +16 -0
  24. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  25. package/include/glib-2.0/gio/giotypes.h +0 -1
  26. package/include/glib-2.0/gio/gsettings.h +8 -0
  27. package/include/glib-2.0/gio/gvfs.h +2 -2
  28. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  29. package/include/glib-2.0/girepository/giarginfo.h +23 -6
  30. package/include/glib-2.0/girepository/gibaseinfo.h +44 -18
  31. package/include/glib-2.0/girepository/gicallableinfo.h +26 -16
  32. package/include/glib-2.0/girepository/gicallbackinfo.h +17 -2
  33. package/include/glib-2.0/girepository/giconstantinfo.h +19 -4
  34. package/include/glib-2.0/girepository/gienuminfo.h +20 -21
  35. package/include/glib-2.0/girepository/gifieldinfo.h +22 -7
  36. package/include/glib-2.0/girepository/giflagsinfo.h +60 -0
  37. package/include/glib-2.0/girepository/gifunctioninfo.h +22 -7
  38. package/include/glib-2.0/girepository/giinterfaceinfo.h +33 -18
  39. package/include/glib-2.0/girepository/giobjectinfo.h +41 -26
  40. package/include/glib-2.0/girepository/gipropertyinfo.h +18 -3
  41. package/include/glib-2.0/girepository/giregisteredtypeinfo.h +22 -11
  42. package/include/glib-2.0/girepository/girepository-autocleanups.h +56 -0
  43. package/include/glib-2.0/girepository/girepository.h +53 -62
  44. package/include/glib-2.0/girepository/girffi.h +8 -7
  45. package/include/glib-2.0/girepository/gisignalinfo.h +18 -3
  46. package/include/glib-2.0/girepository/gistructinfo.h +26 -11
  47. package/include/glib-2.0/girepository/gitypeinfo.h +29 -16
  48. package/include/glib-2.0/girepository/gitypelib.h +9 -13
  49. package/include/glib-2.0/girepository/gitypes.h +52 -104
  50. package/include/glib-2.0/girepository/giunioninfo.h +28 -12
  51. package/include/glib-2.0/girepository/giunresolvedinfo.h +17 -2
  52. package/include/glib-2.0/girepository/givalueinfo.h +65 -0
  53. package/include/glib-2.0/girepository/givfuncinfo.h +23 -8
  54. package/include/glib-2.0/glib/deprecated/gthread.h +9 -5
  55. package/include/glib-2.0/glib/gbitlock.h +31 -0
  56. package/include/glib-2.0/glib/gbookmarkfile.h +1 -1
  57. package/include/glib-2.0/glib/giochannel.h +2 -2
  58. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  59. package/include/glib-2.0/glib/gmacros.h +12 -5
  60. package/include/glib-2.0/glib/gmain.h +93 -7
  61. package/include/glib-2.0/glib/gmessages.h +8 -0
  62. package/include/glib-2.0/glib/gqsort.h +8 -1
  63. package/include/glib-2.0/glib/gslice.h +2 -0
  64. package/include/glib-2.0/glib/gstrfuncs.h +24 -30
  65. package/include/glib-2.0/glib/gstrvbuilder.h +3 -0
  66. package/include/glib-2.0/glib/gthread.h +191 -3
  67. package/include/glib-2.0/glib/gunicode.h +1 -1
  68. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  69. package/include/glib-2.0/glib-unix.h +7 -1
  70. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  71. package/include/glib-2.0/gobject/genums.h +6 -6
  72. package/include/glib-2.0/gobject/glib-types.h +11 -0
  73. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  74. package/include/glib-2.0/gobject/gsignal.h +16 -6
  75. package/include/glib-2.0/gobject/gtype.h +6 -6
  76. package/include/harfbuzz/hb-buffer.h +6 -0
  77. package/include/harfbuzz/hb-common.h +6 -9
  78. package/include/harfbuzz/hb-cplusplus.hh +8 -11
  79. package/include/harfbuzz/hb-subset.h +17 -4
  80. package/include/harfbuzz/hb-version.h +3 -3
  81. package/include/hwy/abort.h +28 -0
  82. package/include/hwy/aligned_allocator.h +218 -6
  83. package/include/hwy/base.h +1935 -512
  84. package/include/hwy/cache_control.h +24 -6
  85. package/include/hwy/detect_compiler_arch.h +105 -10
  86. package/include/hwy/detect_targets.h +146 -37
  87. package/include/hwy/foreach_target.h +36 -1
  88. package/include/hwy/highway.h +222 -50
  89. package/include/hwy/ops/arm_neon-inl.h +2055 -894
  90. package/include/hwy/ops/arm_sve-inl.h +1476 -348
  91. package/include/hwy/ops/emu128-inl.h +711 -623
  92. package/include/hwy/ops/generic_ops-inl.h +4431 -2157
  93. package/include/hwy/ops/inside-inl.h +691 -0
  94. package/include/hwy/ops/ppc_vsx-inl.h +2186 -673
  95. package/include/hwy/ops/rvv-inl.h +1556 -536
  96. package/include/hwy/ops/scalar-inl.h +353 -233
  97. package/include/hwy/ops/set_macros-inl.h +171 -23
  98. package/include/hwy/ops/shared-inl.h +198 -56
  99. package/include/hwy/ops/wasm_128-inl.h +283 -244
  100. package/include/hwy/ops/x86_128-inl.h +3673 -1357
  101. package/include/hwy/ops/x86_256-inl.h +1737 -663
  102. package/include/hwy/ops/x86_512-inl.h +1697 -500
  103. package/include/hwy/per_target.h +4 -0
  104. package/include/hwy/profiler.h +648 -0
  105. package/include/hwy/robust_statistics.h +2 -2
  106. package/include/hwy/targets.h +40 -32
  107. package/include/hwy/timer-inl.h +3 -3
  108. package/include/hwy/timer.h +16 -1
  109. package/include/libheif/heif.h +170 -15
  110. package/include/libheif/heif_items.h +237 -0
  111. package/include/libheif/heif_properties.h +38 -2
  112. package/include/libheif/heif_regions.h +1 -1
  113. package/include/libheif/heif_version.h +2 -2
  114. package/include/libpng16/png.h +32 -29
  115. package/include/libpng16/pngconf.h +2 -2
  116. package/include/libpng16/pnglibconf.h +8 -3
  117. package/include/librsvg-2.0/librsvg/rsvg-cairo.h +1 -1
  118. package/include/librsvg-2.0/librsvg/rsvg-features.h +3 -4
  119. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +235 -0
  120. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  121. package/include/librsvg-2.0/librsvg/rsvg.h +55 -176
  122. package/include/libxml2/libxml/HTMLparser.h +12 -19
  123. package/include/libxml2/libxml/c14n.h +1 -12
  124. package/include/libxml2/libxml/debugXML.h +1 -1
  125. package/include/libxml2/libxml/encoding.h +9 -0
  126. package/include/libxml2/libxml/entities.h +12 -1
  127. package/include/libxml2/libxml/hash.h +19 -0
  128. package/include/libxml2/libxml/list.h +2 -2
  129. package/include/libxml2/libxml/nanohttp.h +17 -0
  130. package/include/libxml2/libxml/parser.h +73 -58
  131. package/include/libxml2/libxml/parserInternals.h +9 -1
  132. package/include/libxml2/libxml/pattern.h +6 -0
  133. package/include/libxml2/libxml/tree.h +32 -12
  134. package/include/libxml2/libxml/uri.h +11 -0
  135. package/include/libxml2/libxml/valid.h +29 -2
  136. package/include/libxml2/libxml/xinclude.h +7 -0
  137. package/include/libxml2/libxml/xmlIO.h +21 -5
  138. package/include/libxml2/libxml/xmlerror.h +14 -0
  139. package/include/libxml2/libxml/xmlexports.h +111 -15
  140. package/include/libxml2/libxml/xmlmemory.h +8 -45
  141. package/include/libxml2/libxml/xmlreader.h +2 -0
  142. package/include/libxml2/libxml/xmlsave.h +5 -0
  143. package/include/libxml2/libxml/xmlunicode.h +165 -1
  144. package/include/libxml2/libxml/xmlversion.h +15 -179
  145. package/include/libxml2/libxml/xmlwriter.h +1 -0
  146. package/include/libxml2/libxml/xpath.h +4 -0
  147. package/include/pango-1.0/pango/pango-features.h +2 -2
  148. package/include/pango-1.0/pango/pango-fontmap.h +7 -0
  149. package/include/pango-1.0/pango/pango-item.h +4 -2
  150. package/include/pango-1.0/pango/pango-version-macros.h +25 -0
  151. package/include/pango-1.0/pango/pangofc-font.h +2 -1
  152. package/include/pixman-1/pixman-version.h +2 -2
  153. package/include/png.h +32 -29
  154. package/include/pngconf.h +2 -2
  155. package/include/pnglibconf.h +8 -3
  156. package/include/vips/connection.h +9 -3
  157. package/include/vips/util.h +1 -11
  158. package/include/vips/version.h +4 -4
  159. package/include/webp/decode.h +58 -56
  160. package/include/webp/demux.h +25 -21
  161. package/include/webp/encode.h +44 -39
  162. package/include/webp/mux.h +76 -15
  163. package/include/webp/mux_types.h +2 -1
  164. package/include/webp/sharpyuv/sharpyuv.h +77 -8
  165. package/include/webp/types.h +29 -8
  166. package/include/zconf.h +1 -1
  167. package/include/zlib.h +12 -12
  168. package/package.json +1 -1
  169. package/versions.json +18 -19
@@ -22,22 +22,37 @@ extern "C" {
22
22
  #else
23
23
  // This explicitly marks library functions and allows for changing the
24
24
  // signature for e.g., Windows DLL builds.
25
- #if defined(__GNUC__) && __GNUC__ >= 4
26
- #define SHARPYUV_EXTERN extern __attribute__((visibility("default")))
27
- #else
28
- #if defined(_MSC_VER) && defined(WEBP_DLL)
25
+ #if defined(_WIN32) && defined(WEBP_DLL)
29
26
  #define SHARPYUV_EXTERN __declspec(dllexport)
27
+ #elif defined(__GNUC__) && __GNUC__ >= 4
28
+ #define SHARPYUV_EXTERN extern __attribute__((visibility("default")))
30
29
  #else
31
30
  #define SHARPYUV_EXTERN extern
32
- #endif /* _MSC_VER && WEBP_DLL */
33
- #endif /* __GNUC__ >= 4 */
31
+ #endif /* defined(_WIN32) && defined(WEBP_DLL) */
34
32
  #endif /* WEBP_EXTERN */
35
33
  #endif /* SHARPYUV_EXTERN */
36
34
 
35
+ #ifndef SHARPYUV_INLINE
36
+ #ifdef WEBP_INLINE
37
+ #define SHARPYUV_INLINE WEBP_INLINE
38
+ #else
39
+ #ifndef _MSC_VER
40
+ #if defined(__cplusplus) || !defined(__STRICT_ANSI__) || \
41
+ (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
42
+ #define SHARPYUV_INLINE inline
43
+ #else
44
+ #define SHARPYUV_INLINE
45
+ #endif
46
+ #else
47
+ #define SHARPYUV_INLINE __forceinline
48
+ #endif /* _MSC_VER */
49
+ #endif /* WEBP_INLINE */
50
+ #endif /* SHARPYUV_INLINE */
51
+
37
52
  // SharpYUV API version following the convention from semver.org
38
53
  #define SHARPYUV_VERSION_MAJOR 0
39
- #define SHARPYUV_VERSION_MINOR 2
40
- #define SHARPYUV_VERSION_PATCH 1
54
+ #define SHARPYUV_VERSION_MINOR 4
55
+ #define SHARPYUV_VERSION_PATCH 0
41
56
  // Version as a uint32_t. The major number is the high 8 bits.
42
57
  // The minor number is the middle 8 bits. The patch number is the low 16 bits.
43
58
  #define SHARPYUV_MAKE_VERSION(MAJOR, MINOR, PATCH) \
@@ -61,6 +76,33 @@ typedef struct {
61
76
  int rgb_to_v[4];
62
77
  } SharpYuvConversionMatrix;
63
78
 
79
+ typedef struct SharpYuvOptions SharpYuvOptions;
80
+
81
+ // Enums for transfer functions, as defined in H.273,
82
+ // https://www.itu.int/rec/T-REC-H.273-202107-I/en
83
+ typedef enum SharpYuvTransferFunctionType {
84
+ // 0 is reserved
85
+ kSharpYuvTransferFunctionBt709 = 1,
86
+ // 2 is unspecified
87
+ // 3 is reserved
88
+ kSharpYuvTransferFunctionBt470M = 4,
89
+ kSharpYuvTransferFunctionBt470Bg = 5,
90
+ kSharpYuvTransferFunctionBt601 = 6,
91
+ kSharpYuvTransferFunctionSmpte240 = 7,
92
+ kSharpYuvTransferFunctionLinear = 8,
93
+ kSharpYuvTransferFunctionLog100 = 9,
94
+ kSharpYuvTransferFunctionLog100_Sqrt10 = 10,
95
+ kSharpYuvTransferFunctionIec61966 = 11,
96
+ kSharpYuvTransferFunctionBt1361 = 12,
97
+ kSharpYuvTransferFunctionSrgb = 13,
98
+ kSharpYuvTransferFunctionBt2020_10Bit = 14,
99
+ kSharpYuvTransferFunctionBt2020_12Bit = 15,
100
+ kSharpYuvTransferFunctionSmpte2084 = 16, // PQ
101
+ kSharpYuvTransferFunctionSmpte428 = 17,
102
+ kSharpYuvTransferFunctionHlg = 18,
103
+ kSharpYuvTransferFunctionNum
104
+ } SharpYuvTransferFunctionType;
105
+
64
106
  // Converts RGB to YUV420 using a downsampling algorithm that minimizes
65
107
  // artefacts caused by chroma subsampling.
66
108
  // This is slower than standard downsampling (averaging of 4 UV values).
@@ -85,6 +127,8 @@ typedef struct {
85
127
  // adjacent pixels on the y, u and v channels. If yuv_bit_depth > 8, they
86
128
  // should be multiples of 2.
87
129
  // width, height: width and height of the image in pixels
130
+ // This function calls SharpYuvConvertWithOptions with a default transfer
131
+ // function of kSharpYuvTransferFunctionSrgb.
88
132
  SHARPYUV_EXTERN int SharpYuvConvert(const void* r_ptr, const void* g_ptr,
89
133
  const void* b_ptr, int rgb_step,
90
134
  int rgb_stride, int rgb_bit_depth,
@@ -93,6 +137,31 @@ SHARPYUV_EXTERN int SharpYuvConvert(const void* r_ptr, const void* g_ptr,
93
137
  int yuv_bit_depth, int width, int height,
94
138
  const SharpYuvConversionMatrix* yuv_matrix);
95
139
 
140
+ struct SharpYuvOptions {
141
+ // This matrix cannot be NULL and can be initialized by
142
+ // SharpYuvComputeConversionMatrix.
143
+ const SharpYuvConversionMatrix* yuv_matrix;
144
+ SharpYuvTransferFunctionType transfer_type;
145
+ };
146
+
147
+ // Internal, version-checked, entry point
148
+ SHARPYUV_EXTERN int SharpYuvOptionsInitInternal(const SharpYuvConversionMatrix*,
149
+ SharpYuvOptions*, int);
150
+
151
+ // Should always be called, to initialize a fresh SharpYuvOptions
152
+ // structure before modification. SharpYuvOptionsInit() must have succeeded
153
+ // before using the 'options' object.
154
+ static SHARPYUV_INLINE int SharpYuvOptionsInit(
155
+ const SharpYuvConversionMatrix* yuv_matrix, SharpYuvOptions* options) {
156
+ return SharpYuvOptionsInitInternal(yuv_matrix, options, SHARPYUV_VERSION);
157
+ }
158
+
159
+ SHARPYUV_EXTERN int SharpYuvConvertWithOptions(
160
+ const void* r_ptr, const void* g_ptr, const void* b_ptr, int rgb_step,
161
+ int rgb_stride, int rgb_bit_depth, void* y_ptr, int y_stride, void* u_ptr,
162
+ int u_stride, void* v_ptr, int v_stride, int yuv_bit_depth, int width,
163
+ int height, const SharpYuvOptions* options);
164
+
96
165
  // TODO(b/194336375): Add YUV444 to YUV420 conversion. Maybe also add 422
97
166
  // support (it's rarely used in practice, especially for images).
98
167
 
@@ -36,18 +36,39 @@ typedef long long int int64_t;
36
36
  #define WEBP_INLINE __forceinline
37
37
  #endif /* _MSC_VER */
38
38
 
39
+ #ifndef WEBP_NODISCARD
40
+ #if defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD
41
+ #if (defined(__cplusplus) && __cplusplus >= 201700L) || \
42
+ (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L)
43
+ #define WEBP_NODISCARD [[nodiscard]]
44
+ #else
45
+ // gcc's __has_attribute does not work for enums.
46
+ #if defined(__clang__) && defined(__has_attribute)
47
+ #if __has_attribute(warn_unused_result)
48
+ #define WEBP_NODISCARD __attribute__((warn_unused_result))
49
+ #else
50
+ #define WEBP_NODISCARD
51
+ #endif /* __has_attribute(warn_unused_result) */
52
+ #else
53
+ #define WEBP_NODISCARD
54
+ #endif /* defined(__clang__) && defined(__has_attribute) */
55
+ #endif /* (defined(__cplusplus) && __cplusplus >= 201700L) ||
56
+ (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) */
57
+ #else
58
+ #define WEBP_NODISCARD
59
+ #endif /* defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD */
60
+ #endif /* WEBP_NODISCARD */
61
+
39
62
  #ifndef WEBP_EXTERN
40
63
  // This explicitly marks library functions and allows for changing the
41
64
  // signature for e.g., Windows DLL builds.
42
- # if defined(__GNUC__) && __GNUC__ >= 4
65
+ # if defined(_WIN32) && defined(WEBP_DLL)
66
+ # define WEBP_EXTERN __declspec(dllexport)
67
+ # elif defined(__GNUC__) && __GNUC__ >= 4
43
68
  # define WEBP_EXTERN extern __attribute__ ((visibility ("default")))
44
69
  # else
45
- # if defined(_MSC_VER) && defined(WEBP_DLL)
46
- # define WEBP_EXTERN __declspec(dllexport)
47
- # else
48
- # define WEBP_EXTERN extern
49
- # endif
50
- # endif /* __GNUC__ >= 4 */
70
+ # define WEBP_EXTERN extern
71
+ # endif /* defined(_WIN32) && defined(WEBP_DLL) */
51
72
  #endif /* WEBP_EXTERN */
52
73
 
53
74
  // Macro to check ABI compatibility (same major revision number)
@@ -60,7 +81,7 @@ extern "C" {
60
81
  // Allocates 'size' bytes of memory. Returns NULL upon error. Memory
61
82
  // must be deallocated by calling WebPFree(). This function is made available
62
83
  // by the core 'libwebp' library.
63
- WEBP_EXTERN void* WebPMalloc(size_t size);
84
+ WEBP_NODISCARD WEBP_EXTERN void* WebPMalloc(size_t size);
64
85
 
65
86
  // Releases memory returned by the WebPDecode*() functions (from decode.h).
66
87
  WEBP_EXTERN void WebPFree(void* ptr);
package/include/zconf.h CHANGED
@@ -1,5 +1,5 @@
1
1
  /* zconf.h -- configuration of the zlib compression library
2
- * Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
2
+ * Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
3
3
  * For conditions of distribution and use, see copyright notice in zlib.h
4
4
  */
5
5
 
package/include/zlib.h CHANGED
@@ -1,9 +1,9 @@
1
1
  #ifndef ZLIB_H_
2
2
  #define ZLIB_H_
3
3
  /* zlib.h -- interface of the 'zlib-ng' compression library
4
- Forked from and compatible with zlib 1.2.13
4
+ Forked from and compatible with zlib 1.3.1
5
5
 
6
- Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
6
+ Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
7
7
 
8
8
  This software is provided 'as-is', without any express or implied
9
9
  warranty. In no event will the authors be held liable for any damages
@@ -49,20 +49,20 @@
49
49
  extern "C" {
50
50
  #endif
51
51
 
52
- #define ZLIBNG_VERSION "2.1.6"
53
- #define ZLIBNG_VERNUM 0x020106F0L /* MMNNRRSM: major minor revision status modified */
52
+ #define ZLIBNG_VERSION "2.2.1"
53
+ #define ZLIBNG_VERNUM 0x020201F0L /* MMNNRRSM: major minor revision status modified */
54
54
  #define ZLIBNG_VER_MAJOR 2
55
- #define ZLIBNG_VER_MINOR 1
56
- #define ZLIBNG_VER_REVISION 6
55
+ #define ZLIBNG_VER_MINOR 2
56
+ #define ZLIBNG_VER_REVISION 1
57
57
  #define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
58
58
  #define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
59
59
  #define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
60
60
 
61
- #define ZLIB_VERSION "1.3.0.zlib-ng"
62
- #define ZLIB_VERNUM 0x130f
61
+ #define ZLIB_VERSION "1.3.1.zlib-ng"
62
+ #define ZLIB_VERNUM 0x131f
63
63
  #define ZLIB_VER_MAJOR 1
64
64
  #define ZLIB_VER_MINOR 3
65
- #define ZLIB_VER_REVISION 0
65
+ #define ZLIB_VER_REVISION 1
66
66
  #define ZLIB_VER_SUBREVISION 15 /* 15=fork (0xf) */
67
67
 
68
68
  /*
@@ -220,7 +220,7 @@ typedef gz_header *gz_headerp;
220
220
  #define Z_DEFLATED 8
221
221
  /* The deflate compression method (the only one supported in this version) */
222
222
 
223
- #define Z_NULL NULL /* for compatibility with zlib, was for initializing zalloc, zfree, opaque */
223
+ #define Z_NULL 0 /* for compatibility with zlib, was for initializing zalloc, zfree, opaque */
224
224
 
225
225
  #define zlib_version zlibVersion()
226
226
  /* for compatibility with versions < 1.0.2 */
@@ -1732,14 +1732,14 @@ Z_EXTERN unsigned long Z_EXPORT crc32_combine(unsigned long crc1, unsigned long
1732
1732
  seq1 and seq2 with lengths len1 and len2, CRC-32 check values were
1733
1733
  calculated for each, crc1 and crc2. crc32_combine() returns the CRC-32
1734
1734
  check value of seq1 and seq2 concatenated, requiring only crc1, crc2, and
1735
- len2.
1735
+ len2. len2 must be non-negative.
1736
1736
  */
1737
1737
 
1738
1738
  /*
1739
1739
  Z_EXTERN unsigned long Z_EXPORT crc32_combine_gen(z_off_t len2);
1740
1740
 
1741
1741
  Return the operator corresponding to length len2, to be used with
1742
- crc32_combine_op().
1742
+ crc32_combine_op(). len2 must be non-negative.
1743
1743
  */
1744
1744
 
1745
1745
  Z_EXTERN unsigned long Z_EXPORT crc32_combine_op(unsigned long crc1, unsigned long crc2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@img/sharp-libvips-dev",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://sharp.pixelplumbing.com",
package/versions.json CHANGED
@@ -1,31 +1,30 @@
1
1
  {
2
- "aom": "3.8.0",
3
- "archive": "3.7.2",
2
+ "aom": "3.9.1",
3
+ "archive": "3.7.4",
4
4
  "cairo": "1.18.0",
5
- "cgif": "0.3.2",
5
+ "cgif": "0.4.1",
6
6
  "exif": "0.6.24",
7
- "expat": "2.5.0",
8
- "ffi": "3.4.4",
7
+ "expat": "2.6.2",
8
+ "ffi": "3.4.6",
9
9
  "fontconfig": "2.15.0",
10
10
  "freetype": "2.13.2",
11
- "fribidi": "1.0.13",
12
- "gdkpixbuf": "2.42.10",
13
- "glib": "2.79.0",
14
- "harfbuzz": "8.3.0",
15
- "heif": "1.17.6",
16
- "highway": "1.0.7",
11
+ "fribidi": "1.0.15",
12
+ "glib": "2.81.1",
13
+ "harfbuzz": "9.0.0",
14
+ "heif": "1.18.2",
15
+ "highway": "1.2.0",
17
16
  "imagequant": "2.4.1",
18
17
  "lcms": "2.16",
19
18
  "mozjpeg": "4.1.5",
20
- "pango": "1.51.0",
21
- "pixman": "0.43.0",
22
- "png": "1.6.40",
19
+ "pango": "1.54.0",
20
+ "pixman": "0.43.4",
21
+ "png": "1.6.43",
23
22
  "proxy-libintl": "0.4",
24
- "rsvg": "2.57.1",
23
+ "rsvg": "2.58.93",
25
24
  "spng": "0.7.4",
26
25
  "tiff": "4.6.0",
27
- "vips": "8.15.1",
28
- "webp": "1.3.2",
29
- "xml": "2.12.3",
30
- "zlib-ng": "2.1.6"
26
+ "vips": "8.15.3",
27
+ "webp": "1.4.0",
28
+ "xml": "2.13.3",
29
+ "zlib-ng": "2.2.1"
31
30
  }