@travetto/terminal
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "@travetto/terminal", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "General terminal support", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -11,4 +11,3 @@ import type tty from 'tty'; | ||
// @ts-expect-error | ||
const queryScript = (function (...bytes) { | ||
const queryScript = (function (...bytes: number[]): void { | ||
const i = process.stdin; | ||
@@ -28,3 +27,3 @@ i.setRawMode(true); | ||
const script = queryScript.toString().replaceAll('\'', '"').replaceAll('\n', ''); | ||
const fullScript = `(${script})(${code.split('').map(x => x.charCodeAt(0))})` | ||
const fullScript = `(${script})(${code.split('').map(x => x.charCodeAt(0))})`; | ||
const proc = spawn(process.argv0, ['-e', fullScript], { stdio: [input, output, 2, 'ipc'], detached: true }); | ||
@@ -31,0 +30,0 @@ const text = await new Promise<string>((res, rej) => { |
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
47017
1116