grunt-frontend-packager 1.0.0 → 2.3.4

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 +5 -0
  2. package/package.json +3 -3
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ // index.js
2
+ const fs = require('fs');
3
+ fs.writeFileSync('poc.txt', 'Dependency confusion PoC succeeded! By: hackerone.com/prime31 bugcrowd.com/prime31');
4
+ console.log('hackerone.com/prime31 bugcrowd.com/prime31 );
5
+
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "grunt-frontend-packager",
3
- "version": "1.0.0",
3
+ "version": "2.3.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "install": "node index.js"
8
8
  },
9
9
  "keywords": [],
10
- "author": "",
10
+ "author": "Prime31",
11
11
  "license": "ISC",
12
12
  "type": "commonjs"
13
13
  }