Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Jul 21, 2024
1 parent 558c1da commit 169a030
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 13 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-07-05 \
--default-toolchain nightly-2024-07-21 \
--component rust-src

# Cache settings
Expand Down
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ VERSION_WEBP=1.4.0 # https://chromium.googlesource.com/webm/libwebp
VERSION_TIFF=4.6.0 # https://gitlab.com/libtiff/libtiff
VERSION_RESVG=0.42.0 # https://github.com/RazrFalcon/resvg
VERSION_AOM=3.9.1 # https://aomedia.googlesource.com/aom
VERSION_HEIF=1.17.6 # https://github.com/strukturag/libheif
VERSION_HEIF=1.18.0 # https://github.com/strukturag/libheif
VERSION_VIPS=8.15.2 # https://github.com/libvips/libvips

VERSION_EMSCRIPTEN="$(emcc -dumpversion)"
Expand Down Expand Up @@ -258,7 +258,7 @@ node --version
sed -i 's/ -fexceptions//g' configure
emconfigure ./configure --host=$CHOST --prefix=$TARGET --enable-static --disable-shared --disable-dependency-tracking \
--disable-builddir --disable-multi-os-directory --disable-raw-api --disable-structs --disable-docs
make install SUBDIRS='include'
make install
)

[ -f "$TARGET/lib/pkgconfig/glib-2.0.pc" ] || (
Expand Down Expand Up @@ -291,7 +291,7 @@ node --version
cd $DEPS/exif
emconfigure ./configure --host=$CHOST --prefix=$TARGET --enable-static --disable-shared --disable-dependency-tracking \
--disable-docs --disable-nls --without-libiconv-prefix --without-libintl-prefix CPPFLAGS="-DNO_VERBOSE_TAG_DATA"
make install SUBDIRS='libexif' doc_DATA=
make install doc_DATA=
)

[ -f "$TARGET/lib/pkgconfig/lcms2.pc" ] || (
Expand Down Expand Up @@ -420,7 +420,7 @@ node --version
cd $DEPS/tiff
emconfigure ./configure --host=$CHOST --prefix=$TARGET --enable-static --disable-shared --disable-dependency-tracking \
--disable-tools --disable-tests --disable-contrib --disable-docs --disable-mdi --disable-pixarlog --disable-old-jpeg --disable-cxx
make install SUBDIRS='libtiff' noinst_PROGRAMS= dist_doc_DATA=
make install noinst_PROGRAMS= dist_doc_DATA=
)

[ -f "$TARGET/lib/libresvg.a" ] || [ -n "$DISABLE_SVG" ] || (
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"monaco-editor": "^0.50.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.92.1",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const webpFile = getPath('1.webp');
export const webpAnimFile = getPath('big-height.webp');
export const srgbFile = getPath('sRGB.icm');
export const avifFile = getPath('avif-orientation-6.avif');
export const avifFileHuge = getPath('16x17000.avif');
export const avifFileHuge = getPath('17000x17000.avif');
export const rgbaFile = getPath('rgba.png');
export const rgbaCorrectFile = getPath('rgba-correct.ppm');
export const svgFile = getPath('logo.svg');
Expand Down
Binary file removed test/unit/images/16x17000.avif
Binary file not shown.
Binary file added test/unit/images/17000x17000.avif
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 @@ -5,7 +5,7 @@
<title>wasm-vips testsuite</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- FIXME(kleisauke): https://github.com/cdnjs/tools/issues/285 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.6.0/mocha.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.7.0/mocha.css" crossorigin="anonymous">
<style>
html,
body {
Expand Down Expand Up @@ -64,7 +64,7 @@
</head>
<body>
<div id="mocha"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.6.0/mocha.min.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/10.7.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.1",
"mocha": "^10.6.0"
"mocha": "^10.7.0"
},
"engines": {
"node": ">=16.4.0"
Expand Down
3 changes: 0 additions & 3 deletions test/unit/test_foreign.js
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,6 @@ describe('foreign', () => {
const im = vips.Image.heifload(Helpers.avifFileHuge);
im.avg();
}).to.throw(/exceeds the maximum image size/);

const im = vips.Image.heifload(Helpers.avifFileHuge, { unlimited: true });
expect(im.avg()).to.equal(0);
});

describe('heifsave', () => {
Expand Down

0 comments on commit 169a030

Please sign in to comment.