parse-dashboard 5.1.0-beta.1 → 5.1.0-beta.2
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.
- package/Parse-Dashboard/Authentication.js +13 -8
- package/Parse-Dashboard/app.js +7 -2
- package/Parse-Dashboard/index.js +2 -0
- package/Parse-Dashboard/public/bundles/339.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/410.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/655.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/773.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/817.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/974.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/login.bundle.js +1 -1
- package/Parse-Dashboard/server.js +2 -1
- package/README.md +2 -0
- package/package.json +15 -15
|
@@ -19,6 +19,7 @@ module.exports = (options) => {
|
|
|
19
19
|
const allowInsecureHTTP = options.allowInsecureHTTP || process.env.PARSE_DASHBOARD_ALLOW_INSECURE_HTTP;
|
|
20
20
|
const cookieSessionSecret = options.cookieSessionSecret || process.env.PARSE_DASHBOARD_COOKIE_SESSION_SECRET;
|
|
21
21
|
const trustProxy = options.trustProxy || process.env.PARSE_DASHBOARD_TRUST_PROXY;
|
|
22
|
+
const cookieSessionMaxAge = options.cookieSessionMaxAge || process.env.PARSE_DASHBOARD_COOKIE_SESSION_MAX_AGE;
|
|
22
23
|
const dev = options.dev;
|
|
23
24
|
|
|
24
25
|
if (trustProxy && allowInsecureHTTP) {
|
|
@@ -145,7 +146,7 @@ module.exports = (options) => {
|
|
|
145
146
|
if (allowInsecureHTTP || trustProxy || dev) app.enable('trust proxy');
|
|
146
147
|
|
|
147
148
|
config.data.trustProxy = trustProxy;
|
|
148
|
-
let dashboardOptions = { allowInsecureHTTP, cookieSessionSecret, dev };
|
|
149
|
+
let dashboardOptions = { allowInsecureHTTP, cookieSessionSecret, dev, cookieSessionMaxAge };
|
|
149
150
|
app.use(mountPath, parseDashboard(config.data, dashboardOptions));
|
|
150
151
|
let server;
|
|
151
152
|
if(!configSSLKey || !configSSLCert){
|
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
[](https://github.com/parse-community/parse-dashboard/actions?query=workflow%3Aci+branch%3Aalpha)
|
|
6
|
+
[](https://github.com/parse-community/parse-dashboard/actions?query=workflow%3Aci+branch%3Abeta)
|
|
7
|
+
[](https://github.com/parse-community/parse-dashboard/actions?query=workflow%3Aci+branch%3Arelease)
|
|
6
8
|
[](https://snyk.io/test/github/parse-community/parse-dashboard)
|
|
7
9
|
|
|
8
10
|
[](https://nodejs.org/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-dashboard",
|
|
3
|
-
"version": "5.1.0-beta.
|
|
3
|
+
"version": "5.1.0-beta.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ParsePlatform/parse-dashboard"
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"LICENSE"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@babel/runtime": "7.
|
|
39
|
-
"@babel/runtime-corejs3": "7.
|
|
38
|
+
"@babel/runtime": "7.20.13",
|
|
39
|
+
"@babel/runtime-corejs3": "7.20.13",
|
|
40
40
|
"bcryptjs": "2.3.0",
|
|
41
41
|
"body-parser": "1.20.0",
|
|
42
42
|
"commander": "9.4.0",
|
|
43
43
|
"connect-flash": "0.1.1",
|
|
44
44
|
"cookie-session": "2.0.0",
|
|
45
45
|
"copy-to-clipboard": "3.3.2",
|
|
46
|
-
"core-js": "3.
|
|
46
|
+
"core-js": "3.28.0",
|
|
47
47
|
"csurf": "1.11.0",
|
|
48
48
|
"express": "4.18.1",
|
|
49
49
|
"graphiql": "2.0.8",
|
|
@@ -69,17 +69,17 @@
|
|
|
69
69
|
"react-json-view": "1.21.3",
|
|
70
70
|
"react-popper-tooltip": "4.4.2",
|
|
71
71
|
"react-router-dom": "6.4.1",
|
|
72
|
-
"regenerator-runtime": "0.13.
|
|
72
|
+
"regenerator-runtime": "0.13.11",
|
|
73
73
|
"semver": "7.3.7",
|
|
74
74
|
"typescript": "4.8.3"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@actions/core": "1.9.1",
|
|
78
|
-
"@babel/core": "7.
|
|
78
|
+
"@babel/core": "7.20.12",
|
|
79
79
|
"@babel/eslint-parser": "7.19.1",
|
|
80
|
-
"@babel/plugin-proposal-decorators": "7.
|
|
81
|
-
"@babel/plugin-transform-runtime": "7.19.
|
|
82
|
-
"@babel/preset-env": "7.
|
|
80
|
+
"@babel/plugin-proposal-decorators": "7.20.13",
|
|
81
|
+
"@babel/plugin-transform-runtime": "7.19.6",
|
|
82
|
+
"@babel/preset-env": "7.20.2",
|
|
83
83
|
"@babel/preset-react": "7.18.6",
|
|
84
84
|
"@saithodev/semantic-release-backmerge": "2.1.2",
|
|
85
85
|
"@semantic-release/changelog": "5.0.1",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"@semantic-release/release-notes-generator": "9.0.3",
|
|
91
91
|
"@types/jest": "29.1.1",
|
|
92
92
|
"all-node-versions": "11.0.1",
|
|
93
|
-
"babel-loader": "
|
|
94
|
-
"css-loader": "6.7.
|
|
93
|
+
"babel-loader": "9.1.2",
|
|
94
|
+
"css-loader": "6.7.3",
|
|
95
95
|
"eslint": "8.24.0",
|
|
96
96
|
"eslint-plugin-jest": "27.0.4",
|
|
97
97
|
"eslint-plugin-react": "7.31.8",
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
"react-test-renderer": "16.13.1",
|
|
106
106
|
"request": "2.88.2",
|
|
107
107
|
"request-promise": "4.2.5",
|
|
108
|
-
"sass": "1.
|
|
109
|
-
"sass-loader": "13.0
|
|
108
|
+
"sass": "1.58.1",
|
|
109
|
+
"sass-loader": "13.2.0",
|
|
110
110
|
"semantic-release": "17.4.6",
|
|
111
111
|
"style-loader": "3.3.1",
|
|
112
112
|
"svg-prep": "1.0.4",
|
|
113
|
-
"webpack": "5.
|
|
114
|
-
"webpack-cli": "
|
|
113
|
+
"webpack": "5.75.0",
|
|
114
|
+
"webpack-cli": "5.0.1",
|
|
115
115
|
"yaml": "1.10.0"
|
|
116
116
|
},
|
|
117
117
|
"scripts": {
|