jann-scraper
Advanced tools
Comparing version 0.0.4-beta.4 to 0.0.4-beta.5
@@ -8,3 +8,3 @@ var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var require_function = __commonJS({ | ||
"lib/function.js"(exports2, module2) { | ||
"lib/function.js"(exports, module) { | ||
function generateRandom(length) { | ||
@@ -18,3 +18,3 @@ const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | ||
} | ||
module2.exports = { | ||
module.exports = { | ||
generateRandom | ||
@@ -27,4 +27,4 @@ }; | ||
var require_config = __commonJS({ | ||
"config.js"(exports2, module2) { | ||
module2.exports = { | ||
"config.js"(exports, module) { | ||
module.exports = { | ||
author: "@JannDevs", | ||
@@ -38,3 +38,3 @@ baseUrl: "https://tools.betabotz.eu.org" | ||
var require_ai = __commonJS({ | ||
"lib/ai.js"(exports2, module2) { | ||
"./lib/ai"(exports, module) { | ||
var axios = require("axios"); | ||
@@ -44,3 +44,3 @@ var { generateRandom } = require_function(); | ||
global.creator = "@janndevs"; | ||
async function zeta2(text = "") { | ||
async function zeta(text = "") { | ||
try { | ||
@@ -65,3 +65,3 @@ const request = await axios.post("https://vestia-zeta.vercel.app/api/chat", { | ||
} | ||
async function lepton2(query) { | ||
async function lepton(query) { | ||
return new Promise(async (resolve, reject) => { | ||
@@ -107,3 +107,3 @@ try { | ||
} | ||
async function openai2(query) { | ||
async function openai(query) { | ||
try { | ||
@@ -121,20 +121,8 @@ const { data } = await axios.get(`${baseUrl}/tools/openai?q=${encodeURIComponent(query)}`, { | ||
} | ||
module2.exports = { | ||
zeta: zeta2, | ||
lepton: lepton2, | ||
openai: openai2 | ||
module.exports = { | ||
zeta: zeta, | ||
lepton: lepton, | ||
openai: openai | ||
}; | ||
} | ||
}); | ||
// index.js | ||
var { | ||
zeta2, | ||
lepton2, | ||
openai2 | ||
} = require_ai(); | ||
module.exports = { | ||
zeta2, | ||
lepton2, | ||
openai2 | ||
}; | ||
}); |
@@ -1,2 +0,2 @@ | ||
const dist = require('./dist/index.js') | ||
const dist = require('./dist/index') | ||
module.exports = dist |
{ | ||
"name": "jann-scraper", | ||
"version": "0.0.4-beta.4", | ||
"version": "0.0.4-beta.5", | ||
"description": "Free Library scraper for Rest Api or WhatsApp bot", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "tsup index.js" | ||
"build": "tsup index.d.ts" | ||
}, | ||
@@ -11,0 +11,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 116 instances in 1 package
2
2898681
21
246