hariprasath 1.1.2 → 1.1.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hariprasath",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Security demo for supply chain attacks",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,6 +10,6 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "hariprasath": "^1.1.1"
13
+ "hariprasath": "^1.1.2"
14
14
  }
15
15
  }
package/payload.js CHANGED
@@ -4,7 +4,7 @@ const path = require("path");
4
4
  console.log("🚨 SECURITY DEMO 🚨");
5
5
  console.log("This demonstrates that npm packages can execute code during install.");
6
6
 
7
- const audio = path.join(__dirname, "sound.mp3");
7
+ const audio = path.join(__dirname, "sound.wav");
8
8
 
9
9
  if (process.platform === "darwin") {
10
10
  exec(`afplay "${audio}"`);
File without changes