@revizly/sharp-libvips-dev 1.0.61 → 1.0.64

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 (145) hide show
  1. package/cplusplus/VError.cpp +28 -0
  2. package/include/expat.h +13 -6
  3. package/include/expat_config.h +3 -3
  4. package/include/ffi.h +3 -3
  5. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +40 -23
  6. package/include/gio-unix-2.0/gio/gunixmounts.h +3 -3
  7. package/include/glib-2.0/gio/gasyncinitable.h +32 -32
  8. package/include/glib-2.0/gio/gasyncresult.h +4 -4
  9. package/include/glib-2.0/gio/gbufferedinputstream.h +28 -28
  10. package/include/glib-2.0/gio/gbufferedoutputstream.h +3 -3
  11. package/include/glib-2.0/gio/gcancellable.h +6 -6
  12. package/include/glib-2.0/gio/gcharsetconverter.h +3 -3
  13. package/include/glib-2.0/gio/gconverter.h +16 -16
  14. package/include/glib-2.0/gio/gdatainputstream.h +3 -3
  15. package/include/glib-2.0/gio/gdataoutputstream.h +25 -25
  16. package/include/glib-2.0/gio/gfile.h +369 -369
  17. package/include/glib-2.0/gio/gfileattribute.h +4 -4
  18. package/include/glib-2.0/gio/gfileenumerator.h +18 -18
  19. package/include/glib-2.0/gio/gfileinfo.h +63 -63
  20. package/include/glib-2.0/gio/gfileinputstream.h +11 -11
  21. package/include/glib-2.0/gio/gfileiostream.h +11 -11
  22. package/include/glib-2.0/gio/gfilemonitor.h +1 -1
  23. package/include/glib-2.0/gio/gfileoutputstream.h +8 -8
  24. package/include/glib-2.0/gio/gicon.h +1 -1
  25. package/include/glib-2.0/gio/ginetaddress.h +1 -1
  26. package/include/glib-2.0/gio/ginetaddressmask.h +5 -5
  27. package/include/glib-2.0/gio/ginitable.h +16 -16
  28. package/include/glib-2.0/gio/ginputstream.h +47 -47
  29. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  30. package/include/glib-2.0/gio/gioenums.h +3 -1
  31. package/include/glib-2.0/gio/giomodule.h +5 -5
  32. package/include/glib-2.0/gio/gioscheduler.h +10 -10
  33. package/include/glib-2.0/gio/giostream.h +16 -16
  34. package/include/glib-2.0/gio/giotypes.h +13 -12
  35. package/include/glib-2.0/gio/gloadableicon.h +13 -13
  36. package/include/glib-2.0/gio/gmemoryinputstream.h +1 -1
  37. package/include/glib-2.0/gio/gmountoperation.h +14 -14
  38. package/include/glib-2.0/gio/gnetworkaddress.h +5 -5
  39. package/include/glib-2.0/gio/gnetworkmonitor.h +10 -10
  40. package/include/glib-2.0/gio/gnetworkservice.h +2 -2
  41. package/include/glib-2.0/gio/goutputstream.h +76 -76
  42. package/include/glib-2.0/gio/gpollableinputstream.h +9 -9
  43. package/include/glib-2.0/gio/gpollableoutputstream.h +18 -18
  44. package/include/glib-2.0/gio/gpollableutils.h +18 -18
  45. package/include/glib-2.0/gio/gproxy.h +25 -25
  46. package/include/glib-2.0/gio/gproxyaddress.h +6 -6
  47. package/include/glib-2.0/gio/gproxyresolver.h +25 -25
  48. package/include/glib-2.0/gio/gresource.h +26 -26
  49. package/include/glib-2.0/gio/gseekable.h +16 -16
  50. package/include/glib-2.0/gio/gsimpleasyncresult.h +40 -40
  51. package/include/glib-2.0/gio/gsocket.h +103 -103
  52. package/include/glib-2.0/gio/gsocketaddress.h +2 -2
  53. package/include/glib-2.0/gio/gsocketaddressenumerator.h +14 -14
  54. package/include/glib-2.0/gio/gsocketclient.h +25 -25
  55. package/include/glib-2.0/gio/gsocketconnection.h +16 -16
  56. package/include/glib-2.0/gio/gsocketcontrolmessage.h +8 -8
  57. package/include/glib-2.0/gio/gsocketlistener.h +15 -15
  58. package/include/glib-2.0/gio/gsocketservice.h +1 -1
  59. package/include/glib-2.0/gio/gsrvtarget.h +3 -3
  60. package/include/glib-2.0/gio/gtcpconnection.h +1 -1
  61. package/include/glib-2.0/gio/gtcpwrapperconnection.h +1 -1
  62. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  63. package/include/glib-2.0/gio/gtlscertificate.h +10 -10
  64. package/include/glib-2.0/gio/gtlsclientconnection.h +5 -5
  65. package/include/glib-2.0/gio/gtlsconnection.h +23 -23
  66. package/include/glib-2.0/gio/gtlsserverconnection.h +2 -2
  67. package/include/glib-2.0/gio/gvfs.h +14 -14
  68. package/include/glib-2.0/gio/gvolume.h +8 -8
  69. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  70. package/include/glib-2.0/gio/gzlibcompressor.h +1 -1
  71. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  72. package/include/glib-2.0/glib/deprecated/gmain.h +1 -1
  73. package/include/glib-2.0/glib/deprecated/grel.h +1 -1
  74. package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
  75. package/include/glib-2.0/glib/galloca.h +2 -2
  76. package/include/glib-2.0/glib/garray.h +56 -56
  77. package/include/glib-2.0/glib/gbookmarkfile.h +93 -93
  78. package/include/glib-2.0/glib/gconvert.h +43 -43
  79. package/include/glib-2.0/glib/gdataset.h +14 -14
  80. package/include/glib-2.0/glib/gdate.h +17 -17
  81. package/include/glib-2.0/glib/gdir.h +2 -2
  82. package/include/glib-2.0/glib/gerror.h +1 -1
  83. package/include/glib-2.0/glib/ghook.h +103 -103
  84. package/include/glib-2.0/glib/giochannel.h +90 -90
  85. package/include/glib-2.0/glib/gkeyfile.h +112 -111
  86. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  87. package/include/glib-2.0/glib/glist.h +37 -37
  88. package/include/glib-2.0/glib/gmacros.h +84 -27
  89. package/include/glib-2.0/glib/gmain.h +10 -10
  90. package/include/glib-2.0/glib/gmappedfile.h +4 -4
  91. package/include/glib-2.0/glib/gmarkup.h +2 -2
  92. package/include/glib-2.0/glib/gmem.h +68 -68
  93. package/include/glib-2.0/glib/gmessages.h +14 -14
  94. package/include/glib-2.0/glib/gnode.h +76 -76
  95. package/include/glib-2.0/glib/goption.h +45 -45
  96. package/include/glib-2.0/glib/gpattern.h +6 -6
  97. package/include/glib-2.0/glib/gpoll.h +6 -6
  98. package/include/glib-2.0/glib/gprimes.h +2 -2
  99. package/include/glib-2.0/glib/gprintf.h +10 -10
  100. package/include/glib-2.0/glib/gqsort.h +5 -5
  101. package/include/glib-2.0/glib/gquark.h +9 -5
  102. package/include/glib-2.0/glib/gqueue.h +1 -1
  103. package/include/glib-2.0/glib/grand.h +12 -12
  104. package/include/glib-2.0/glib/gscanner.h +138 -138
  105. package/include/glib-2.0/glib/gslice.h +15 -15
  106. package/include/glib-2.0/glib/gslist.h +34 -34
  107. package/include/glib-2.0/glib/gspawn.h +1 -1
  108. package/include/glib-2.0/glib/gstdio.h +16 -10
  109. package/include/glib-2.0/glib/gstrfuncs.h +63 -63
  110. package/include/glib-2.0/glib/gtestutils.h +2 -2
  111. package/include/glib-2.0/glib/gtimer.h +9 -9
  112. package/include/glib-2.0/glib/gtree.h +3 -3
  113. package/include/glib-2.0/glib/gtypes.h +166 -166
  114. package/include/glib-2.0/glib/gutils.h +35 -33
  115. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  116. package/include/glib-2.0/glib-object.h +1 -1
  117. package/include/glib-2.0/glib.h +1 -1
  118. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  119. package/include/glib-2.0/gmodule.h +12 -12
  120. package/include/glib-2.0/gobject/gclosure.h +82 -82
  121. package/include/glib-2.0/gobject/genums.h +43 -43
  122. package/include/glib-2.0/gobject/gmarshal.h +2 -2
  123. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  124. package/include/glib-2.0/gobject/gobject.h +97 -97
  125. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +12 -12
  126. package/include/glib-2.0/gobject/gparam.h +96 -96
  127. package/include/glib-2.0/gobject/gparamspecs.h +157 -157
  128. package/include/glib-2.0/gobject/gsignal.h +189 -189
  129. package/include/glib-2.0/gobject/gsourceclosure.h +1 -1
  130. package/include/glib-2.0/gobject/gtype.h +139 -139
  131. package/include/glib-2.0/gobject/gtypemodule.h +5 -5
  132. package/include/glib-2.0/gobject/gtypeplugin.h +32 -32
  133. package/include/glib-2.0/gobject/gvalue.h +34 -34
  134. package/include/glib-2.0/gobject/gvaluearray.h +21 -21
  135. package/include/glib-2.0/gobject/gvaluecollector.h +117 -117
  136. package/include/glib-2.0/gobject/gvaluetypes.h +74 -74
  137. package/include/harfbuzz/hb-font.h +22 -0
  138. package/include/harfbuzz/hb-ot-layout.h +11 -0
  139. package/include/harfbuzz/hb-version.h +2 -2
  140. package/include/libimagequant.h +4 -0
  141. package/include/vips/VError8.h +3 -4
  142. package/include/vips/VImage8.h +12 -0
  143. package/include/vips/util.h +15 -1
  144. package/package.json +1 -1
  145. package/versions.json +5 -5
@@ -47,7 +47,7 @@ HB_BEGIN_DECLS
47
47
  *
48
48
  * The minor component of the library version available at compile-time.
49
49
  */
50
- #define HB_VERSION_MINOR 1
50
+ #define HB_VERSION_MINOR 2
51
51
  /**
52
52
  * HB_VERSION_MICRO:
53
53
  *
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
60
60
  *
61
61
  * A string literal containing the library version available at compile-time.
62
62
  */
63
- #define HB_VERSION_STRING "15.1.0"
63
+ #define HB_VERSION_STRING "15.2.0"
64
64
 
65
65
  /**
66
66
  * HB_VERSION_ATLEAST:
@@ -6,8 +6,12 @@
6
6
  #define LIBIMAGEQUANT_H
7
7
 
8
8
  #ifndef LIQ_EXPORT
9
+ #if defined(_WIN32) && defined(LIQ_BUILDING_SHARED)
10
+ #define LIQ_EXPORT __declspec(dllexport)
11
+ #else
9
12
  #define LIQ_EXPORT extern
10
13
  #endif
14
+ #endif
11
15
 
12
16
  #define LIQ_VERSION 20401
13
17
  #define LIQ_VERSION_STRING "2.4.1"
@@ -30,7 +30,6 @@
30
30
  #ifndef VIPS_VERROR_H
31
31
  #define VIPS_VERROR_H
32
32
 
33
- #include <cstring>
34
33
  #include <ostream>
35
34
  #include <stdexcept>
36
35
 
@@ -47,10 +46,10 @@ public:
47
46
  using std::runtime_error::runtime_error;
48
47
 
49
48
  /**
50
- * Construct a VError, fetching the error message from the libvips
51
- * error buffer.
49
+ * Construct a VError, copying the error message from the libvips
50
+ * error buffer and clearing it afterward.
52
51
  */
53
- VError() : std::runtime_error(vips_error_buffer()) {}
52
+ VError();
54
53
 
55
54
  /**
56
55
  * Get a reference to the underlying C string.
@@ -2120,6 +2120,12 @@ public:
2120
2120
 
2121
2121
  /**
2122
2122
  * Transform cicp to scrgb.
2123
+ *
2124
+ * **Optional parameters**
2125
+ * - **colour_primaries** -- CICP colour primaries (H.273 Table 2), VipsCICPColourPrimaries.
2126
+ * - **transfer_characteristics** -- CICP transfer characteristics (H.273 Table 3), VipsCICPTransferCharacteristics.
2127
+ * - **matrix_coefficients** -- CICP matrix coefficients (H.273 Table 4), VipsCICPMatrixCoefficients.
2128
+ *
2123
2129
  * @param options Set of options.
2124
2130
  * @return Output image.
2125
2131
  */
@@ -2857,6 +2863,7 @@ public:
2857
2863
  * **Optional parameters**
2858
2864
  * - **bitdepth** -- Number of bits to decode to, int.
2859
2865
  * - **half_size** -- Decode image at half size, bool.
2866
+ * - **auto_brightness** -- Applies histogram based auto-brightness, bool.
2860
2867
  * - **memory** -- Force open via memory, bool.
2861
2868
  * - **access** -- Required access pattern for this file, VipsAccess.
2862
2869
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -2874,6 +2881,7 @@ public:
2874
2881
  * **Optional parameters**
2875
2882
  * - **bitdepth** -- Number of bits to decode to, int.
2876
2883
  * - **half_size** -- Decode image at half size, bool.
2884
+ * - **auto_brightness** -- Applies histogram based auto-brightness, bool.
2877
2885
  * - **memory** -- Force open via memory, bool.
2878
2886
  * - **access** -- Required access pattern for this file, VipsAccess.
2879
2887
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -2891,6 +2899,7 @@ public:
2891
2899
  * **Optional parameters**
2892
2900
  * - **bitdepth** -- Number of bits to decode to, int.
2893
2901
  * - **half_size** -- Decode image at half size, bool.
2902
+ * - **auto_brightness** -- Applies histogram based auto-brightness, bool.
2894
2903
  * - **memory** -- Force open via memory, bool.
2895
2904
  * - **access** -- Required access pattern for this file, VipsAccess.
2896
2905
  * - **fail_on** -- Error level to fail on, VipsFailOn.
@@ -3578,6 +3587,7 @@ public:
3578
3587
  * - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
3579
3588
  * - **encoder** -- Select encoder to use, VipsForeignHeifEncoder.
3580
3589
  * - **tune** -- Tuning parameters, const char *.
3590
+ * - **options** -- Encoder-specific options, const char *.
3581
3591
  * - **keep** -- Which metadata to retain, VipsForeignKeep.
3582
3592
  * - **background** -- Background value, std::vector<double>.
3583
3593
  * - **page_height** -- Set page height for multipage save, int.
@@ -3600,6 +3610,7 @@ public:
3600
3610
  * - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
3601
3611
  * - **encoder** -- Select encoder to use, VipsForeignHeifEncoder.
3602
3612
  * - **tune** -- Tuning parameters, const char *.
3613
+ * - **options** -- Encoder-specific options, const char *.
3603
3614
  * - **keep** -- Which metadata to retain, VipsForeignKeep.
3604
3615
  * - **background** -- Background value, std::vector<double>.
3605
3616
  * - **page_height** -- Set page height for multipage save, int.
@@ -3622,6 +3633,7 @@ public:
3622
3633
  * - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
3623
3634
  * - **encoder** -- Select encoder to use, VipsForeignHeifEncoder.
3624
3635
  * - **tune** -- Tuning parameters, const char *.
3636
+ * - **options** -- Encoder-specific options, const char *.
3625
3637
  * - **keep** -- Which metadata to retain, VipsForeignKeep.
3626
3638
  * - **background** -- Background value, std::vector<double>.
3627
3639
  * - **page_height** -- Set page height for multipage save, int.
@@ -354,10 +354,24 @@ typedef enum {
354
354
 
355
355
  #ifndef __GI_SCANNER__
356
356
 
357
- // we expose this one in the API for testing
357
+ // used in some modules
358
358
  VIPS_API
359
359
  const char *vips__token_get(const char *buffer,
360
360
  VipsToken *token, char *string, int size);
361
+ VIPS_API
362
+ const char *vips__token_must(const char *buffer, VipsToken *token,
363
+ char *string, int size);
364
+ VIPS_API
365
+ const char *vips__token_need(const char *buffer, VipsToken need_token,
366
+ char *string, int size);
367
+ VIPS_API
368
+ const char *vips__token_segment(const char *p, VipsToken *token,
369
+ char *string, int size);
370
+ VIPS_API
371
+ const char *vips__token_segment_need(const char *p, VipsToken need_token,
372
+ char *string, int size);
373
+ VIPS_API
374
+ const char *vips__find_rightmost_brackets(const char *p);
361
375
 
362
376
  #endif /* !__GI_SCANNER__ */
363
377
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revizly/sharp-libvips-dev",
3
- "version": "1.0.61",
3
+ "version": "1.0.64",
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
@@ -6,13 +6,13 @@
6
6
  "cgif": "0.5.4",
7
7
  "de265": "1.1.3",
8
8
  "exif": "0.6.26",
9
- "expat": "2.10.0",
10
- "ffi": "3.8.1",
9
+ "expat": "2.11.0",
10
+ "ffi": "3.8.2",
11
11
  "fontconfig": "2.18.4",
12
12
  "freetype": "2.15.0",
13
13
  "fribidi": "1.0.18",
14
- "glib": "2.90.1",
15
- "harfbuzz": "15.1.0",
14
+ "glib": "2.91.0",
15
+ "harfbuzz": "15.2.0",
16
16
  "heif": "1.23.7",
17
17
  "highway": "1.4.0",
18
18
  "imagequant": "2.4.1",
@@ -27,7 +27,7 @@
27
27
  "svt-av1": "pgo-build-2026-11-18-0ce7e13",
28
28
  "tiff": "4.7.2",
29
29
  "uhdr": "2.0.2",
30
- "vips": "8.19.0-rc2",
30
+ "vips": "8.19.0",
31
31
  "webp": "1.6.0",
32
32
  "xml2": "2.15.4",
33
33
  "zlib-ng": "2.3.3"