@duckdb/duckdb-wasm-shell
Advanced tools
Comparing version 1.13.1-dev24.0 to 1.13.1-dev67.0
@@ -12,3 +12,3 @@ (() => { | ||
var name = "@duckdb/duckdb-wasm-shell"; | ||
var version = "1.13.1-dev24.0"; | ||
var version = "1.13.1-dev67.0"; | ||
var description = ""; | ||
@@ -37,3 +37,3 @@ var author = "Andre Kohn <kohn.a@outlook.com>"; | ||
var dependencies = { | ||
"@duckdb/duckdb-wasm": "^1.13.1-dev24.0", | ||
"@duckdb/duckdb-wasm": "^1.13.1-dev67.0", | ||
xterm: "^4.16.0", | ||
@@ -46,3 +46,3 @@ "xterm-addon-fit": "^0.5.0", | ||
esbuild: "^0.14.11", | ||
eslint: "^8.6.0", | ||
eslint: "^8.7.0", | ||
"eslint-plugin-jasmine": "^4.1.3", | ||
@@ -355,3 +355,3 @@ "eslint-plugin-react": "^7.28.0", | ||
} | ||
function __wbg_adapter_195(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_199(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h445be38df5ff7a40(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -483,10 +483,2 @@ } | ||
}; | ||
imports.wbg.__wbg_withWebGL_23ecf5d40e6afbed = function(arg0) { | ||
var ret = getObject(arg0).withWebGL; | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_connectInternal_2a301658fb915262 = function() { | ||
@@ -552,2 +544,10 @@ return handleError(function(arg0) { | ||
}; | ||
imports.wbg.__wbg_withWebGL_23ecf5d40e6afbed = function(arg0) { | ||
var ret = getObject(arg0).withWebGL; | ||
return ret; | ||
}; | ||
imports.wbg.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbg_getPlatformFeatures_c95d7aa09758c47e = function() { | ||
@@ -565,2 +565,8 @@ return handleError(function() { | ||
}; | ||
imports.wbg.__wbg_copyFileToBuffer_e4a7050307f57c30 = function() { | ||
return handleError(function(arg0, arg1, arg2) { | ||
var ret = getObject(arg0).copyFileToBuffer(getStringFromWasm0(arg1, arg2)); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbg_dropFiles_4d857401e3dd75ab = function() { | ||
@@ -590,2 +596,8 @@ return handleError(function(arg0) { | ||
}; | ||
imports.wbg.__wbg_downloadFile_223fed31724de5a9 = function() { | ||
return handleError(function(arg0, arg1, arg2, arg3) { | ||
var ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3)); | ||
return addHeapObject(ret); | ||
}, arguments); | ||
}; | ||
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) { | ||
@@ -779,3 +791,3 @@ const obj = getObject(arg1); | ||
try { | ||
return __wbg_adapter_195(a, state0.b, arg02, arg12); | ||
return __wbg_adapter_199(a, state0.b, arg02, arg12); | ||
} finally { | ||
@@ -877,8 +889,8 @@ state0.a = a; | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper220 = function(arg0, arg1, arg2) { | ||
imports.wbg.__wbindgen_closure_wrapper222 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 4, __wbg_adapter_24); | ||
return addHeapObject(ret); | ||
}; | ||
imports.wbg.__wbindgen_closure_wrapper905 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 148, __wbg_adapter_27); | ||
imports.wbg.__wbindgen_closure_wrapper921 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 152, __wbg_adapter_27); | ||
return addHeapObject(ret); | ||
@@ -1090,2 +1102,9 @@ }; | ||
} | ||
async downloadFile(name2, buffer) { | ||
const blob = new Blob([buffer]); | ||
const link = document.createElement("a"); | ||
link.href = URL.createObjectURL(blob); | ||
link.download = name2; | ||
link.click(); | ||
} | ||
async readClipboardText() { | ||
@@ -1092,0 +1111,0 @@ return await navigator.clipboard.readText(); |
{ | ||
"name": "@duckdb/duckdb-wasm-shell", | ||
"version": "1.13.1-dev24.0", | ||
"version": "1.13.1-dev67.0", | ||
"description": "", | ||
@@ -27,3 +27,3 @@ "author": "Andre Kohn <kohn.a@outlook.com>", | ||
"dependencies": { | ||
"@duckdb/duckdb-wasm": "^1.13.1-dev24.0", | ||
"@duckdb/duckdb-wasm": "^1.13.1-dev67.0", | ||
"xterm": "^4.16.0", | ||
@@ -36,3 +36,3 @@ "xterm-addon-fit": "^0.5.0", | ||
"esbuild": "^0.14.11", | ||
"eslint": "^8.6.0", | ||
"eslint": "^8.7.0", | ||
"eslint-plugin-jasmine": "^4.1.3", | ||
@@ -39,0 +39,0 @@ "eslint-plugin-react": "^7.28.0", |
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2328499
3455