diff --git a/CHANGELOG.md b/CHANGELOG.md index 15bb1b1..c42e796 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * CHANGED: Avoid `SUPER` privilege for setting the `sql_mode` for MariaDB/MySQL (#919) * FIXED: Revert to CREATE INDEX without IF NOT EXISTS clauses, to support MySQL (#943) * FIXED: Apply table prefix to indexes as well, to support multiple instances sharing a single database (#943) + * CHANGED: Upgrading libraries to: zlib 1.2.13 * **1.4 (2022-04-09)** * ADDED: Translations for Corsican, Estonian, Finnish and Lojban * ADDED: new HTTP headers improving security (#765) diff --git a/js/common.js b/js/common.js index 7a68c7e..12e4c88 100644 --- a/js/common.js +++ b/js/common.js @@ -12,7 +12,7 @@ global.WebCrypto = require('@peculiar/webcrypto').Crypto; // application libraries to test global.$ = global.jQuery = require('./jquery-3.6.0'); global.RawDeflate = require('./rawinflate-0.3').RawDeflate; -global.zlib = require('./zlib-1.2.12').zlib; +global.zlib = require('./zlib-1.2.13').zlib; require('./prettify'); global.prettyPrint = window.PR.prettyPrint; global.prettyPrintOne = window.PR.prettyPrintOne; diff --git a/js/zlib-1.2.12.js b/js/zlib-1.2.13.js similarity index 97% rename from js/zlib-1.2.12.js rename to js/zlib-1.2.13.js index a245608..809ce0c 100644 --- a/js/zlib-1.2.12.js +++ b/js/zlib-1.2.13.js @@ -26,9 +26,9 @@ let buff; if (typeof fetch === 'undefined') { - buff = fs.readFileSync('zlib-1.2.12.wasm'); + buff = fs.readFileSync('zlib-1.2.13.wasm'); } else { - const resp = await fetch('js/zlib-1.2.12.wasm'); + const resp = await fetch('js/zlib-1.2.13.wasm'); buff = await resp.arrayBuffer(); } const module = await WebAssembly.compile(buff); diff --git a/js/zlib-1.2.12.wasm b/js/zlib-1.2.13.wasm similarity index 88% rename from js/zlib-1.2.12.wasm rename to js/zlib-1.2.13.wasm index 0b86cf5..145060d 100644 Binary files a/js/zlib-1.2.12.wasm and b/js/zlib-1.2.13.wasm differ diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 8eb5565..97e028a 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -55,7 +55,7 @@ if ($ZEROBINCOMPATIBILITY) : - + diff --git a/tpl/page.php b/tpl/page.php index eddbb4b..7636f31 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -34,7 +34,7 @@ if ($ZEROBINCOMPATIBILITY): - +