@dsh-workbench/adapter-runtime 1.1.15 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/channel/package.json
CHANGED
|
@@ -53,7 +53,8 @@ export function evalScriptArgOf(script, platform = process.platform) {
|
|
|
53
53
|
if (platform !== 'win32')
|
|
54
54
|
return script;
|
|
55
55
|
const bytes = Buffer.from(script, 'utf8').toString('base64');
|
|
56
|
-
|
|
56
|
+
const decoded = `eval(new TextDecoder().decode(Uint8Array.from(atob('${bytes}'), (one) => one.charCodeAt(0))))`;
|
|
57
|
+
return `(async () => { const value = ${decoded}; return typeof value === 'function' ? value() : value; })()`;
|
|
57
58
|
}
|
|
58
59
|
async function shellRun(seam, command, argv, timeoutMs, platform) {
|
|
59
60
|
const result = await seam.run({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-workbench/adapter-runtime",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "Opencli, browser and data runtime adapters.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"bin"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dsh-workbench/shared": "1.1.
|
|
20
|
+
"@dsh-workbench/shared": "1.1.17"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^24.19.0",
|