]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Replace use of 'self' in JS code with 'globalThis', as that works in browsers and...
authorstephan <stephan@noemail.net>
Tue, 7 Mar 2023 19:12:06 +0000 (19:12 +0000)
committerstephan <stephan@noemail.net>
Tue, 7 Mar 2023 19:12:06 +0000 (19:12 +0000)
commit4214cc32ba2082b90dde97495058c45920235bf4
tree1728d17a0729bdbd450e11bf0eecb4c02ca06691
parent7272f6d64d88da451f18aa515db06ed6f2b459d4
Replace use of 'self' in JS code with 'globalThis', as that works in browsers and node environments. Avoid using globalThis.location if it's not set (e.g. in node). Based on feedback in [forum:ac7a94d4f77db235|forum post ac7a94d4f77db235]. Minor JS build tweaks.

FossilOrigin-Name: dbbe8f25e58738c10b6192d41f1e3886983871f17631cbc45ce626d3f05a6e26
17 files changed:
ext/wasm/GNUmakefile
ext/wasm/api/extern-post-js.c-pp.js
ext/wasm/api/pre-js.c-pp.js
ext/wasm/api/sqlite3-api-cleanup.js
ext/wasm/api/sqlite3-api-glue.js
ext/wasm/api/sqlite3-api-oo1.js
ext/wasm/api/sqlite3-api-prologue.js
ext/wasm/api/sqlite3-api-worker1.js
ext/wasm/api/sqlite3-opfs-async-proxy.js
ext/wasm/api/sqlite3-v-helper.js
ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
ext/wasm/api/sqlite3-worker1-promiser.c-pp.js
ext/wasm/api/sqlite3-worker1.c-pp.js
ext/wasm/common/whwasmutil.js
ext/wasm/jaccwabyt/jaccwabyt.js
manifest
manifest.uuid