Skip to content

Commit 9a0856d

Browse files
committed
Update dependencies
1 parent 8488f98 commit 9a0856d

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN \
3333
--no-modify-path \
3434
--profile minimal \
3535
--target wasm32-unknown-emscripten \
36-
--default-toolchain nightly-2024-03-15 \
36+
--default-toolchain nightly-2024-04-13 \
3737
--component rust-src
3838

3939
# Cache settings

build.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ VERSION_MOZJPEG=4.1.5 # https://github.com/mozilla/mozjpeg
173173
VERSION_JXL=0.10.2 # https://github.com/libjxl/libjxl
174174
VERSION_SPNG=0.7.4 # https://github.com/randy408/libspng
175175
VERSION_IMAGEQUANT=2.4.1 # https://github.com/lovell/libimagequant
176-
VERSION_CGIF=0.3.2 # https://github.com/dloebl/cgif
176+
VERSION_CGIF=0.4.0 # https://github.com/dloebl/cgif
177177
VERSION_WEBP=1.3.2 # https://chromium.googlesource.com/webm/libwebp
178178
VERSION_TIFF=4.6.0 # https://gitlab.com/libtiff/libtiff
179-
VERSION_RESVG=0.40.0 # https://github.com/RazrFalcon/resvg
179+
VERSION_RESVG=0.41.0 # https://github.com/RazrFalcon/resvg
180180
VERSION_AOM=3.8.2 # https://aomedia.googlesource.com/aom
181181
VERSION_HEIF=1.17.6 # https://github.com/strukturag/libheif
182182
VERSION_VIPS=8.15.2 # https://github.com/libvips/libvips
@@ -393,7 +393,7 @@ node --version
393393
[ -f "$TARGET/lib/pkgconfig/cgif.pc" ] || (
394394
stage "Compiling cgif"
395395
mkdir $DEPS/cgif
396-
curl -Ls https://github.com/dloebl/cgif/archive/refs/tags/V$VERSION_CGIF.tar.gz | tar xzC $DEPS/cgif --strip-components=1
396+
curl -Ls https://github.com/dloebl/cgif/archive/refs/tags/v$VERSION_CGIF.tar.gz | tar xzC $DEPS/cgif --strip-components=1
397397
cd $DEPS/cgif
398398
meson setup _build --prefix=$TARGET --cross-file=$MESON_CROSS --default-library=static --buildtype=release \
399399
-Dtests=false
@@ -484,6 +484,8 @@ node --version
484484
cd $DEPS/vips
485485
# Emscripten specific patches
486486
curl -Ls https://github.com/libvips/libvips/compare/v$VERSION_VIPS...kleisauke:wasm-vips-8.15.patch | patch -p1
487+
# Disable HBR support in heifsave
488+
curl -Ls https://github.com/kleisauke/libvips/commit/ad921cf9396dc5a224e93c71b601e87bd3a8a521.patch | patch -p1
487489
# Disable building man pages, gettext po files, tools, and (fuzz-)tests
488490
sed -i "/subdir('man')/{N;N;N;N;d;}" meson.build
489491
meson setup _build --prefix=$TARGET --cross-file=$MESON_CROSS --default-library=static --buildtype=release \

playground/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"devDependencies": {
2323
"clean-webpack-plugin": "^4.0.0",
2424
"copy-webpack-plugin": "^12.0.2",
25-
"css-loader": "^6.10.0",
25+
"css-loader": "^7.1.1",
2626
"fflate": "^0.8.2",
2727
"html-webpack-plugin": "^5.6.0",
2828
"mini-css-extract-plugin": "^2.8.1",
2929
"monaco-editor": "^0.47.0",
3030
"monaco-editor-webpack-plugin": "^7.1.0",
3131
"terser-webpack-plugin": "^5.3.10",
32-
"webpack": "^5.90.3",
32+
"webpack": "^5.91.0",
3333
"webpack-cli": "^5.1.4",
34-
"webpack-dev-server": "^5.0.3"
34+
"webpack-dev-server": "^5.0.4"
3535
}
3636
}

test/unit/images/big-height.webp

-1.79 KB
Binary file not shown.

test/unit/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>wasm-vips testsuite</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.3.0/mocha.min.css" crossorigin="anonymous">
7+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.4.0/mocha.min.css" crossorigin="anonymous">
88
<style>
99
html,
1010
body {
@@ -67,7 +67,7 @@
6767
</head>
6868
<body>
6969
<div id="mocha"></div>
70-
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.3.0/mocha.min.js" crossorigin="anonymous"></script>
70+
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.4.0/mocha.min.js" crossorigin="anonymous"></script>
7171
<script class="mocha-init">
7272
mocha.setup({
7373
ui: 'bdd',

test/unit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"chai": "^5.1.0",
23-
"mocha": "^10.3.0"
23+
"mocha": "^10.4.0"
2424
},
2525
"engines": {
2626
"node": ">=16.4.0"

test/unit/test_foreign.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ describe('foreign', () => {
750750
// Animated WebP round trip
751751
im = vips.Image.newFromFile(Helpers.webpAnimFile, { n: -1 });
752752
expect(im.width).to.equal(13);
753-
expect(im.height).to.equal(16393);
753+
expect(im.height).to.equal(16731);
754754
buf = im.webpsaveBuffer(); // eslint-disable-line no-unused-vars
755755
});
756756

0 commit comments

Comments
 (0)