@img/sharp-libvips-dev-wasm32 1.2.3 → 1.2.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.
Files changed (54) hide show
  1. package/include/expat.h +39 -25
  2. package/include/expat_config.h +9 -9
  3. package/include/expat_external.h +62 -61
  4. package/include/jconfig.h +37 -14
  5. package/include/jerror.h +47 -42
  6. package/include/jmorecfg.h +21 -18
  7. package/include/jpeglib.h +216 -132
  8. package/include/tiff.h +1 -0
  9. package/include/tiffconf.h +1 -1
  10. package/include/tiffio.h +23 -5
  11. package/include/tiffvers.h +4 -4
  12. package/include/vips/version.h +4 -4
  13. package/lib/glib-2.0/include/glibconfig.h +1 -1
  14. package/lib/libaom.a +0 -0
  15. package/lib/libcgif.a +0 -0
  16. package/lib/libexif.a +0 -0
  17. package/lib/libexpat.a +0 -0
  18. package/lib/libexpat.la +3 -3
  19. package/lib/libffi.a +0 -0
  20. package/lib/libgio-2.0.a +0 -0
  21. package/lib/libglib-2.0.a +0 -0
  22. package/lib/libgmodule-2.0.a +0 -0
  23. package/lib/libgobject-2.0.a +0 -0
  24. package/lib/libgthread-2.0.a +0 -0
  25. package/lib/libheif.a +0 -0
  26. package/lib/libhwy.a +0 -0
  27. package/lib/libimagequant.a +0 -0
  28. package/lib/libjpeg.a +0 -0
  29. package/lib/liblcms2.a +0 -0
  30. package/lib/libresvg.a +0 -0
  31. package/lib/libsharpyuv.a +0 -0
  32. package/lib/libspng.a +0 -0
  33. package/lib/libtiff.a +0 -0
  34. package/lib/libtiff.la +2 -2
  35. package/lib/libvips-cpp.a +0 -0
  36. package/lib/libvips.a +0 -0
  37. package/lib/libwebp.a +0 -0
  38. package/lib/libwebpdemux.a +0 -0
  39. package/lib/libwebpmux.a +0 -0
  40. package/lib/libz.a +0 -0
  41. package/lib/pkgconfig/expat.pc +1 -1
  42. package/lib/pkgconfig/gio-2.0.pc +1 -1
  43. package/lib/pkgconfig/glib-2.0.pc +1 -1
  44. package/lib/pkgconfig/gmodule-2.0.pc +1 -1
  45. package/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  46. package/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  47. package/lib/pkgconfig/gobject-2.0.pc +1 -1
  48. package/lib/pkgconfig/gthread-2.0.pc +1 -1
  49. package/lib/pkgconfig/libjpeg.pc +1 -1
  50. package/lib/pkgconfig/libtiff-4.pc +1 -1
  51. package/lib/pkgconfig/vips-cpp.pc +1 -1
  52. package/lib/pkgconfig/vips.pc +1 -1
  53. package/package.json +1 -1
  54. package/versions.json +6 -6
package/include/tiffio.h CHANGED
@@ -45,12 +45,14 @@ typedef struct tiff TIFF;
45
45
  * to pass tag types and values uses the types defined in
46
46
  * tiff.h directly.
47
47
  *
48
- * NB: ttag_t is unsigned int and not unsigned short because
48
+ * NB: ttag_t -> deprecated and replaced by uint32_t
49
+ * is unsigned int and not unsigned short because
49
50
  * ANSI C requires that the type before the ellipsis be a
50
51
  * promoted type (i.e. one of int, unsigned int, pointer,
51
52
  * or double) and because we defined pseudo-tags that are
52
53
  * outside the range of legal Aldus-assigned tags.
53
- * NB: tsize_t is signed and not unsigned because some functions
54
+ * NB: tsize_t -> deprecated and replaced by tmsize_t
55
+ * is signed and not unsigned because some functions
54
56
  * return -1.
55
57
  * NB: toff_t is not off_t for many reasons; TIFFs max out at
56
58
  * 32-bit file offsets, and BigTIFF maxes out at 64-bit
@@ -66,10 +68,11 @@ typedef TIFF_SSIZE_T tmsize_t;
66
68
  #define TIFF_TMSIZE_T_MAX (tmsize_t)(SIZE_MAX >> 1)
67
69
 
68
70
  typedef uint64_t toff_t; /* file offset */
71
+ typedef uint32_t tdir_t; /* directory index */
72
+
69
73
  /* the following are deprecated and should be replaced by their defining
70
74
  counterparts */
71
75
  typedef uint32_t ttag_t; /* directory tag */
72
- typedef uint32_t tdir_t; /* directory index */
73
76
  typedef uint16_t tsample_t; /* sample number */
74
77
  typedef uint32_t tstrile_t; /* strip or tile number */
75
78
  typedef tstrile_t tstrip_t; /* strip number */
@@ -151,6 +154,18 @@ typedef struct
151
154
  float d_gammaB;
152
155
  } TIFFDisplay;
153
156
 
157
+ /* YCbCr->RGB support for TIFFYCbCrToRGBInit() and TIFFYCbCrToRGB()
158
+ * Attention:
159
+ * Functions TIFFYCbCrToRGBInit() and TIFFYCbCrToRGB() require a user provided
160
+ * large memory buffer, where several tables can be setup.
161
+ * The pointers to these tables are stored in the structure TIFFYCbCrToRGB,
162
+ * which is located at the beginning of the buffer. Thus, this memory has to be
163
+ * allocated as follows:
164
+ * TIFFYCbCrToRGB *ycbcr = (TIFFYCbCrToRGB *)_TIFFmalloc(
165
+ * TIFFroundup_32(sizeof(TIFFYCbCrToRGB), sizeof(long)) +
166
+ * 4 * 256 * sizeof(TIFFRGBValue) + 2 * 256 * sizeof(int) +
167
+ * 3 * 256 * sizeof(int32_t));
168
+ */
154
169
  typedef struct
155
170
  { /* YCbCr->RGB support */
156
171
  TIFFRGBValue *clamptab; /* range clamping table */
@@ -508,6 +523,9 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
508
523
  TIFFOpenOptionsSetMaxCumulatedMemAlloc(TIFFOpenOptions *opts,
509
524
  tmsize_t max_cumulated_mem_alloc);
510
525
  extern void
526
+ TIFFOpenOptionsSetWarnAboutUnknownTags(TIFFOpenOptions *opts,
527
+ int warn_about_unknown_tags);
528
+ extern void
511
529
  TIFFOpenOptionsSetErrorHandlerExtR(TIFFOpenOptions *opts,
512
530
  TIFFErrorHandlerExtR handler,
513
531
  void *errorhandler_user_data);
@@ -590,7 +608,7 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
590
608
  extern uint64_t TIFFGetStrileByteCountWithErr(TIFF *tif, uint32_t strile,
591
609
  int *pbErr);
592
610
 
593
- #ifdef LOGLUV_PUBLIC
611
+ #if LOGLUV_PUBLIC
594
612
  #define U_NEU 0.210526316
595
613
  #define V_NEU 0.473684211
596
614
  #define UVSCALE 410.
@@ -634,7 +652,7 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
634
652
  ****************************************************************************/
635
653
  typedef struct
636
654
  {
637
- ttag_t field_tag; /* field's tag */
655
+ uint32_t field_tag; /* field's tag */
638
656
  short field_readcount; /* read count/TIFF_VARIABLE/TIFF_SPP */
639
657
  short field_writecount; /* write count/TIFF_VARIABLE */
640
658
  TIFFDataType field_type; /* type of associated data */
@@ -8,7 +8,7 @@
8
8
  * Furthermore, configure_file variables of type "@VAR@" are
9
9
  * modified by clang-format and won't be substituted by CMake.
10
10
  */
11
- #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
11
+ #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.1\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
12
12
  /*
13
13
  * This define can be used in code that requires
14
14
  * compilation-related definitions specific to a
@@ -16,13 +16,13 @@
16
16
  * version checking should be done based on the
17
17
  * string returned by TIFFGetVersion.
18
18
  */
19
- #define TIFFLIB_VERSION 20240911
19
+ #define TIFFLIB_VERSION 20250911
20
20
 
21
21
  /* The following defines have been added in 4.5.0 */
22
22
  #define TIFFLIB_MAJOR_VERSION 4
23
23
  #define TIFFLIB_MINOR_VERSION 7
24
- #define TIFFLIB_MICRO_VERSION 0
25
- #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.0"
24
+ #define TIFFLIB_MICRO_VERSION 1
25
+ #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.1"
26
26
 
27
27
  /* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
28
28
  * greater or equal to major.minor.micro
@@ -4,16 +4,16 @@
4
4
  #ifndef VIPS_VERSION_H
5
5
  #define VIPS_VERSION_H
6
6
 
7
- #define VIPS_VERSION "8.17.2"
8
- #define VIPS_VERSION_STRING "8.17.2"
7
+ #define VIPS_VERSION "8.17.3"
8
+ #define VIPS_VERSION_STRING "8.17.3"
9
9
  #define VIPS_MAJOR_VERSION (8)
10
10
  #define VIPS_MINOR_VERSION (17)
11
- #define VIPS_MICRO_VERSION (2)
11
+ #define VIPS_MICRO_VERSION (3)
12
12
 
13
13
  /* The ABI version, as used for library versioning.
14
14
  */
15
15
  #define VIPS_LIBRARY_CURRENT (61)
16
- #define VIPS_LIBRARY_REVISION (2)
16
+ #define VIPS_LIBRARY_REVISION (3)
17
17
  #define VIPS_LIBRARY_AGE (19)
18
18
 
19
19
  #define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable C++ binding: true\nenable RAD load/save: true\nenable Analyze7 load: true\nenable PPM load/save: true\nenable GIF load: true\nFFTs with fftw: false\nSIMD support with libhwy: true\nICC profile support with lcms2: true\ndeflate compression with zlib: true\ntext rendering with pangocairo: false\nfont file support with fontconfig: false\nEXIF metadata support with libexif: true\nJPEG load/save with libjpeg: true\nJXL load/save with libjxl: false (dynamic module: false)\nJPEG2000 load/save with OpenJPEG: false\nPNG load/save with spng: true\nimage quantisation with imagequant: true\nTIFF load/save with libtiff-4: true\nimage pyramid save with libarchive: false\nHEIC/AVIF load/save with libheif: true (dynamic module: false)\nWebP load/save with libwebp: true\nPDF load with PDFium or Poppler: false (dynamic module: false)\nSVG load with librsvg or resvg: true (dynamic module: false)\nEXR load with OpenEXR: false\nWSI load with OpenSlide: false (dynamic module: false)\nMatlab load with Matio: false\nNIfTI load/save with libnifti: false\nFITS load/save with cfitsio: false\nGIF save with cgif: true\nMagick load/save with MagickCore: false (dynamic module: false)"
@@ -115,7 +115,7 @@ typedef unsigned int guintptr;
115
115
 
116
116
  #define GLIB_MAJOR_VERSION 2
117
117
  #define GLIB_MINOR_VERSION 86
118
- #define GLIB_MICRO_VERSION 0
118
+ #define GLIB_MICRO_VERSION 1
119
119
 
120
120
  #define G_OS_UNIX
121
121
  #define G_PLATFORM_WASM
package/lib/libaom.a CHANGED
Binary file
package/lib/libcgif.a CHANGED
Binary file
package/lib/libexif.a CHANGED
Binary file
package/lib/libexpat.a CHANGED
Binary file
package/lib/libexpat.la CHANGED
@@ -23,9 +23,9 @@ dependency_libs=' -lm -L/src/build/target/lib'
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libexpat.
26
- current=11
27
- age=10
28
- revision=2
26
+ current=12
27
+ age=11
28
+ revision=1
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
package/lib/libffi.a CHANGED
Binary file
package/lib/libgio-2.0.a CHANGED
Binary file
package/lib/libglib-2.0.a CHANGED
Binary file
Binary file
Binary file
Binary file
package/lib/libheif.a CHANGED
Binary file
package/lib/libhwy.a CHANGED
Binary file
Binary file
package/lib/libjpeg.a CHANGED
Binary file
package/lib/liblcms2.a CHANGED
Binary file
package/lib/libresvg.a CHANGED
Binary file
package/lib/libsharpyuv.a CHANGED
Binary file
package/lib/libspng.a CHANGED
Binary file
package/lib/libtiff.a CHANGED
Binary file
package/lib/libtiff.la CHANGED
@@ -23,8 +23,8 @@ dependency_libs=' -L/src/build/target/lib /src/build/target/lib/libwebp.la /src/
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libtiff.
26
- current=7
27
- age=1
26
+ current=8
27
+ age=2
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
package/lib/libvips-cpp.a CHANGED
Binary file
package/lib/libvips.a CHANGED
Binary file
package/lib/libwebp.a CHANGED
Binary file
Binary file
package/lib/libwebpmux.a CHANGED
Binary file
package/lib/libz.a CHANGED
Binary file
@@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib
4
4
  includedir=${prefix}/include
5
5
 
6
6
  Name: expat
7
- Version: 2.7.1
7
+ Version: 2.7.3
8
8
  Description: expat XML parser
9
9
  URL: https://libexpat.github.io/
10
10
  Libs: -L${libdir} -lexpat
@@ -18,7 +18,7 @@ gsettings=${bindir}/gsettings
18
18
 
19
19
  Name: GIO
20
20
  Description: glib I/O library
21
- Version: 2.86.0
21
+ Version: 2.86.1
22
22
  Requires: glib-2.0, gobject-2.0, gmodule-no-export-2.0, zlib
23
23
  Libs: -L${libdir} -lgio-2.0
24
24
  Cflags: -I${includedir}
@@ -11,6 +11,6 @@ glib_valgrind_suppressions=${datadir}/glib-2.0/valgrind/glib.supp
11
11
 
12
12
  Name: GLib
13
13
  Description: C Utility Library
14
- Version: 2.86.0
14
+ Version: 2.86.1
15
15
  Libs: -L${libdir} -lglib-2.0 -lm -pthread
16
16
  Cflags: -I${includedir}/glib-2.0 -pthread -I${libdir}/glib-2.0/include
@@ -6,7 +6,7 @@ gmodule_supported=true
6
6
 
7
7
  Name: GModule
8
8
  Description: Dynamic module loader for GLib
9
- Version: 2.86.0
9
+ Version: 2.86.1
10
10
  Requires: gmodule-no-export-2.0, glib-2.0
11
11
  Libs: -Wl,--export-dynamic
12
12
  Cflags: -I${includedir}
@@ -6,7 +6,7 @@ gmodule_supported=true
6
6
 
7
7
  Name: GModule
8
8
  Description: Dynamic module loader for GLib
9
- Version: 2.86.0
9
+ Version: 2.86.1
10
10
  Requires: gmodule-no-export-2.0, glib-2.0
11
11
  Libs: -Wl,--export-dynamic
12
12
  Cflags: -I${includedir}
@@ -6,7 +6,7 @@ gmodule_supported=true
6
6
 
7
7
  Name: GModule
8
8
  Description: Dynamic module loader for GLib
9
- Version: 2.86.0
9
+ Version: 2.86.1
10
10
  Requires: glib-2.0
11
11
  Libs: -L${libdir} -lgmodule-2.0 -pthread
12
12
  Cflags: -I${includedir} -pthread
@@ -4,7 +4,7 @@ libdir=${prefix}/lib
4
4
 
5
5
  Name: GObject
6
6
  Description: GLib Type, Object, Parameter and Signal Library
7
- Version: 2.86.0
7
+ Version: 2.86.1
8
8
  Requires: glib-2.0, libffi >= 3.0.0
9
9
  Libs: -L${libdir} -lgobject-2.0
10
10
  Cflags: -I${includedir}
@@ -4,7 +4,7 @@ libdir=${prefix}/lib
4
4
 
5
5
  Name: GThread
6
6
  Description: Thread support for GLib
7
- Version: 2.86.0
7
+ Version: 2.86.1
8
8
  Requires: glib-2.0
9
9
  Libs: -L${libdir} -lgthread-2.0 -pthread
10
10
  Cflags: -I${includedir} -pthread
@@ -5,6 +5,6 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: libjpeg
7
7
  Description: A SIMD-accelerated JPEG codec that provides the libjpeg API
8
- Version: 4.1.5
8
+ Version: 5.0.0
9
9
  Libs: -L${libdir} -ljpeg
10
10
  Cflags: -I${includedir}
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: libtiff
7
7
  Description: Tag Image File Format (TIFF) library.
8
- Version: 4.7.0
8
+ Version: 4.7.1
9
9
  Libs: -L${libdir} -ltiff
10
10
  Libs.private: -lwebp -ljpeg -lz -lm
11
11
  Cflags: -I${includedir}
@@ -4,7 +4,7 @@ libdir=${prefix}/lib
4
4
 
5
5
  Name: vips-cpp
6
6
  Description: C++ API for vips8 image processing library
7
- Version: 8.17.2
7
+ Version: 8.17.3
8
8
  Requires: vips, glib-2.0 >= 2.52, gio-2.0, gobject-2.0, expat, zlib >= 0.4, imagequant, cgif >= 0.2.0, libexif >= 0.6, libjpeg, spng >= 0.7, libwebp >= 0.6, libwebpmux >= 0.6, libwebpdemux >= 0.6, libtiff-4, lcms2, libhwy >= 1.0.5, libheif >= 1.7.0
9
9
  Libs: -L${libdir} -lvips-cpp -lresvg -pthread -lm
10
10
  Cflags: -I${includedir} -DHAVE_CONFIG_H -pthread
@@ -4,7 +4,7 @@ libdir=${prefix}/lib
4
4
 
5
5
  Name: vips
6
6
  Description: Image processing library
7
- Version: 8.17.2
7
+ Version: 8.17.3
8
8
  Requires: glib-2.0 >= 2.52, gio-2.0, gobject-2.0, expat, zlib >= 0.4, imagequant, cgif >= 0.2.0, libexif >= 0.6, libjpeg, spng >= 0.7, libwebp >= 0.6, libwebpmux >= 0.6, libwebpdemux >= 0.6, libtiff-4, lcms2, libhwy >= 1.0.5, libheif >= 1.7.0
9
9
  Libs: -L${libdir} -lvips -lresvg -pthread -lm
10
10
  Cflags: -I${includedir} -DHAVE_CONFIG_H -pthread
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@img/sharp-libvips-dev-wasm32",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Header files and static wasm32 libraries for libvips and dependencies to build sharp as wasm32",
5
5
  "author": "Lovell Fuller <npm@lovell.info>",
6
6
  "homepage": "https://sharp.pixelplumbing.com",
package/versions.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "aom": "3.13.1",
3
3
  "cgif": "0.5.0",
4
- "emscripten": "4.0.14",
4
+ "emscripten": "4.0.18",
5
5
  "exif": "0.6.25",
6
- "expat": "2.7.1",
6
+ "expat": "2.7.3",
7
7
  "ffi": "3.5.2",
8
- "glib": "2.86.0",
8
+ "glib": "2.86.1",
9
9
  "heif": "1.20.2",
10
10
  "highway": "1.3.0",
11
11
  "imagequant": "2.4.1",
12
12
  "lcms": "2.17",
13
- "mozjpeg": "4.1.5",
13
+ "mozjpeg": "0826579",
14
14
  "resvg": "0.45.1",
15
15
  "spng": "0.7.4",
16
- "tiff": "4.7.0",
17
- "vips": "8.17.2",
16
+ "tiff": "4.7.1",
17
+ "vips": "8.17.3",
18
18
  "webp": "1.6.0",
19
19
  "zlib-ng": "2.2.5"
20
20
  }