Comparing version 0.0.3 to 0.0.4-beta
119
index.js
@@ -5,121 +5,4 @@ //||===---===---===---===---[===]---===---===---===---===||\\ | ||
var exec = require('exec');; | ||
var request = require('getweb'); | ||
module.exports = require('./src/rCaptcha.js'); | ||
const roaliaVersion = request.get('https://registry.npmjs.org/rcaptcha'); | ||
const roaliaJson = JSON.parse(roaliaVersion.body); | ||
const sonVer = roaliaJson['dist-tags'].latest; | ||
const kulVer = require('./package.json').version | ||
if (kulVer !== sonVer) { | ||
class rollia { | ||
constructor(rCaptcha) { | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
const imUpdateControl = request.get(`https://unpkg.com/rcaptcha@${sonVer}/imup.json`); | ||
const roaliiaJson = JSON.parse(imUpdateControl); | ||
const c = roaliiaJson.home.important | ||
if(c == true) { | ||
console.log('Otomatik güncelleme devre dışı bırakıldı, köklü değişiklik istediği için lütfen modülü manuel olarak güncelleyiniz.'); | ||
return; | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
function control() { | ||
if (kulVer !== sonVer) { | ||
console.log('Güncelleme Bulundu! [ = ]') | ||
global.update = true; | ||
return; | ||
} | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
function paket() { | ||
if(global.update == true) { | ||
console.log('package.json İndirilmeye Başlandı. [ == ]') | ||
exec(['rm', 'package.json'], function(err, out, code) { | ||
global.p = 1 | ||
return | ||
}); | ||
exec(['wget', `https://unpkg.com/rcaptcha@${sonVer}/package.json`], function(err, out, code) { | ||
global.p = 2 | ||
return | ||
}); | ||
} | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
function lang() { | ||
if(global.update == true) { | ||
console.log('lang.json İndirilmeye Başlandı. [ === ]') | ||
exec(['rm', 'lang.json'], function(err, out, code) { | ||
global.p = 1 | ||
return | ||
}); | ||
exec(['wget', `https://unpkg.com/rcaptcha@${sonVer}/lang.json`], function(err, out, code) { | ||
global.p = 2 | ||
return | ||
}); | ||
} | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
function imup() { | ||
if(global.update == true) { | ||
console.log('imup.json İndirilmeye Başlandı. [ ==== ]') | ||
exec(['rm', 'imup.json'], function(err, out, code) { | ||
global.p = 1 | ||
return | ||
}); | ||
exec(['wget', `https://unpkg.com/rcaptcha@${sonVer}/imup.json`], function(err, out, code) { | ||
global.p = 2 | ||
return | ||
}); | ||
} | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
function rcaptcha() { | ||
if(global.update == true) { | ||
console.log('rCaptcha.js İndirilmeye Başlandı.. [ ===== ]') | ||
exec(['rm rCaptcha.js'], function(err, out, code) { | ||
global.r = 1 | ||
}); | ||
exec(['wget', `https://unpkg.com/rcaptcha@${sonVer}/rCaptcha.js`], function(err, out, code) { | ||
global.r = 2 | ||
}); | ||
} | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
function sonControl() { | ||
if(global.update == true) { | ||
console.log('İndirme Başarıyla Tamamlandı. [ ========== ]') | ||
} | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
control(); | ||
setTimeout(paket, 2000); | ||
setTimeout(lang, 4000); | ||
setTimeout(imup, 8000); | ||
setTimeout(rcaptcha, 12000); | ||
setTimeout(sonControl, 16000); | ||
} | ||
} | ||
//||===---===---===---===---[===]---===---===---===---===||\\ | ||
module.exports = rollia; | ||
} else { | ||
module.exports = require('./rCaptcha.js'); | ||
} |
{ | ||
"bundleDependencies": false, | ||
"name": "rcaptcha", | ||
"version": "0.0.4-beta", | ||
"description": "rCaptcha Human Verification | by Swôth#9990 & Roalia#0001", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "node index.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Swothh/rCaptcha.git" | ||
}, | ||
"dependencies": { | ||
"canvas": "latest", | ||
"latest-version": "latest" | ||
}, | ||
"deprecated": false, | ||
"description": "rCaptcha Human Verification | by Swôth#9990 & Roalia#0001", | ||
"canvas": "latest", | ||
"getweb": "latest", | ||
"child_process": "latest", | ||
"deasync": "latest", | ||
"exec": "latest" | ||
}, | ||
"keywords": [ | ||
"rennia", | ||
"roalia", | ||
"swoth", | ||
"captcha", | ||
"human", | ||
"verification", | ||
"rcaptcha" | ||
"rennia", | ||
"roalia", | ||
"swoth", | ||
"captcha", | ||
"human", | ||
"verification", | ||
"rcaptcha", | ||
"dogrulama", | ||
"doğrulama", | ||
"insan", | ||
"doğrulaması", | ||
"fake" | ||
], | ||
"author": "Roalia#0001 & Swôth#9990", | ||
"license": "MIT", | ||
"main": "index.js", | ||
"name": "rcaptcha", | ||
"version": "0.0.3" | ||
"bugs": { | ||
"url": "https://github.com/Swothh/rCaptcha/issues" | ||
}, | ||
"homepage": "https://github.com/Swothh/rCaptcha#readme" | ||
} |
@@ -5,5 +5,5 @@ ## rCaptcha® | Human Verification | ||
--- | ||
> **Used Packages:** `canvas` and `latest-version` | ||
> **Used Packages:** `canvas` | ||
--- | ||
> **Kullanılan Modüller:** `canvas` ve `latest-version` | ||
> **Kullanılan Modüller:** `canvas` | ||
--- | ||
@@ -101,3 +101,3 @@ --- | ||
--- | ||
> **0.0.3 ▸ New developer (Roalia#0001) added, the number of lines has been reduced!** | ||
> **0.0.3 ▸ New developer (Roalia#0001) added, the number of lines has been reduced, automatic update add!!** | ||
--- | ||
@@ -104,0 +104,0 @@ > **0.0.2 ▸ A small bug was fixed!** |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
1
0
10280
5
5
133
+ Addedchild_process@latest
+ Addeddeasync@latest
+ Addedexec@latest
+ Addedgetweb@latest
+ Addedbindings@1.5.0(transitive)
+ Addedchild_process@1.0.2(transitive)
+ Addeddeasync@0.1.30(transitive)
+ Addedexec@0.2.1(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addedgetweb@0.0.2(transitive)
+ Addednode-addon-api@1.7.2(transitive)
- Removedlatest-version@latest
- Removed@pnpm/config.env-replace@1.1.0(transitive)
- Removed@pnpm/network.ca-file@1.0.2(transitive)
- Removed@pnpm/npm-conf@2.3.1(transitive)
- Removedconfig-chain@1.1.13(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removedgraceful-fs@4.2.10(transitive)
- Removedini@1.3.8(transitive)
- Removedky@1.7.2(transitive)
- Removedlatest-version@9.0.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedpackage-json@10.0.1(transitive)
- Removedproto-list@1.2.4(transitive)
- Removedrc@1.2.8(transitive)
- Removedregistry-auth-token@5.0.2(transitive)
- Removedregistry-url@6.0.1(transitive)
- Removedstrip-json-comments@2.0.1(transitive)