@sqlite.org/sqlite-wasm
Advanced tools
Comparing version 3.43.0-build3 to 3.43.1-build1
{ | ||
"name": "@sqlite.org/sqlite-wasm", | ||
"version": "3.43.0-build3", | ||
"version": "3.43.1-build1", | ||
"description": "SQLite Wasm conveniently wrapped as an ES Module.", | ||
@@ -60,3 +60,3 @@ "keywords": [ | ||
"node-fetch": "^3.3.2", | ||
"prettier": "^3.0.2", | ||
"prettier": "^3.0.3", | ||
"publint": "^0.2.2", | ||
@@ -63,0 +63,0 @@ "shx": "^0.3.4" |
@@ -140,14 +140,5 @@ /* | ||
worker: function () { | ||
let theJs = 'sqlite3-worker1.js'; | ||
if (this.currentScript) { | ||
const src = this.currentScript.src.split('/'); | ||
src.pop(); | ||
theJs = src.join('/') + '/' + theJs; | ||
} else if (globalThis.location) { | ||
const urlParams = new URL(globalThis.location.href).searchParams; | ||
if (urlParams.has('sqlite3.dir')) { | ||
theJs = urlParams.get('sqlite3.dir') + '/' + theJs; | ||
} | ||
} | ||
return new Worker(theJs + globalThis.location.search); | ||
return new Worker('sqlite3-worker1-bundler-friendly.mjs', { | ||
type: 'module', | ||
}); | ||
}.bind({ | ||
@@ -154,0 +145,0 @@ currentScript: globalThis?.document?.currentScript, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2825603
52746