fronton-react 0.0.1-security → 69.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fronton-react might be problematic. Click here for more details.
- package/index.js +9 -0
- package/package.json +8 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
const http = require('http');
|
2
|
+
const hostname = 'localhost';
|
3
|
+
const port = 3000;
|
4
|
+
const server = http.createServer((req, res) => {
|
5
|
+
console.log(req.headers);
|
6
|
+
res.statusCode = 200;
|
7
|
+
res.end('<html><body><h2>HellO, World 2023...!</h2></body></html>');
|
8
|
+
})
|
9
|
+
server.listen(port, hostname);
|
package/package.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "fronton-react",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "69.0.0",
|
4
|
+
"description": "Placeholder package whilst we get to grips with NPM. https://bugcrowd.com/cloudinary Get in touch if you want: bugbounty@bugbounty.click",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"author": "",
|
10
|
+
"license": "ISC"
|
6
11
|
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=fronton-react for more information.
|