Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Apr 13, 2024
1 parent 8488f98 commit 9a0856d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN \
--no-modify-path \
--profile minimal \
--target wasm32-unknown-emscripten \
--default-toolchain nightly-2024-03-15 \
--default-toolchain nightly-2024-04-13 \
--component rust-src

# Cache settings
Expand Down
8 changes: 5 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ VERSION_MOZJPEG=4.1.5 # https://github.com/mozilla/mozjpeg
VERSION_JXL=0.10.2 # https://github.com/libjxl/libjxl
VERSION_SPNG=0.7.4 # https://github.com/randy408/libspng
VERSION_IMAGEQUANT=2.4.1 # https://github.com/lovell/libimagequant
VERSION_CGIF=0.3.2 # https://github.com/dloebl/cgif
VERSION_CGIF=0.4.0 # https://github.com/dloebl/cgif
VERSION_WEBP=1.3.2 # https://chromium.googlesource.com/webm/libwebp
VERSION_TIFF=4.6.0 # https://gitlab.com/libtiff/libtiff
VERSION_RESVG=0.40.0 # https://github.com/RazrFalcon/resvg
VERSION_RESVG=0.41.0 # https://github.com/RazrFalcon/resvg
VERSION_AOM=3.8.2 # https://aomedia.googlesource.com/aom
VERSION_HEIF=1.17.6 # https://github.com/strukturag/libheif
VERSION_VIPS=8.15.2 # https://github.com/libvips/libvips
Expand Down Expand Up @@ -393,7 +393,7 @@ node --version
[ -f "$TARGET/lib/pkgconfig/cgif.pc" ] || (
stage "Compiling cgif"
mkdir $DEPS/cgif
curl -Ls https://github.com/dloebl/cgif/archive/refs/tags/V$VERSION_CGIF.tar.gz | tar xzC $DEPS/cgif --strip-components=1
curl -Ls https://github.com/dloebl/cgif/archive/refs/tags/v$VERSION_CGIF.tar.gz | tar xzC $DEPS/cgif --strip-components=1
cd $DEPS/cgif
meson setup _build --prefix=$TARGET --cross-file=$MESON_CROSS --default-library=static --buildtype=release \
-Dtests=false
Expand Down Expand Up @@ -484,6 +484,8 @@ node --version
cd $DEPS/vips
# Emscripten specific patches
curl -Ls https://github.com/libvips/libvips/compare/v$VERSION_VIPS...kleisauke:wasm-vips-8.15.patch | patch -p1
# Disable HBR support in heifsave
curl -Ls https://github.com/kleisauke/libvips/commit/ad921cf9396dc5a224e93c71b601e87bd3a8a521.patch | patch -p1
# Disable building man pages, gettext po files, tools, and (fuzz-)tests
sed -i "/subdir('man')/{N;N;N;N;d;}" meson.build
meson setup _build --prefix=$TARGET --cross-file=$MESON_CROSS --default-library=static --buildtype=release \
Expand Down
6 changes: 3 additions & 3 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"devDependencies": {
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
"css-loader": "^7.1.1",
"fflate": "^0.8.2",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.8.1",
"monaco-editor": "^0.47.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.90.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.3"
"webpack-dev-server": "^5.0.4"
}
}
Binary file modified test/unit/images/big-height.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions test/unit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>wasm-vips testsuite</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.3.0/mocha.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.4.0/mocha.min.css" crossorigin="anonymous">
<style>
html,
body {
Expand Down Expand Up @@ -67,7 +67,7 @@
</head>
<body>
<div id="mocha"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.3.0/mocha.min.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.4.0/mocha.min.js" crossorigin="anonymous"></script>
<script class="mocha-init">
mocha.setup({
ui: 'bdd',
Expand Down
2 changes: 1 addition & 1 deletion test/unit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"chai": "^5.1.0",
"mocha": "^10.3.0"
"mocha": "^10.4.0"
},
"engines": {
"node": ">=16.4.0"
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_foreign.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ describe('foreign', () => {
// Animated WebP round trip
im = vips.Image.newFromFile(Helpers.webpAnimFile, { n: -1 });
expect(im.width).to.equal(13);
expect(im.height).to.equal(16393);
expect(im.height).to.equal(16731);
buf = im.webpsaveBuffer(); // eslint-disable-line no-unused-vars
});

Expand Down

0 comments on commit 9a0856d

Please sign in to comment.