parse-dashboard 9.2.0-alpha.1 → 9.2.1-alpha.1
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.
|
@@ -191,11 +191,18 @@ module.exports = (options) => {
|
|
|
191
191
|
// Mount parseDashboard with authentication
|
|
192
192
|
app.use(mountPath, parseDashboard(config.data, dashboardOptions));
|
|
193
193
|
|
|
194
|
+
// 0.0.0.0 (IPv4) and :: (IPv6) are bind-all addresses: they are not directly
|
|
195
|
+
// navigable and browsers do not treat them as a secure context, which breaks
|
|
196
|
+
// Web APIs the dashboard relies on (e.g. crypto.randomUUID used by the Parse
|
|
197
|
+
// SDK). Advertise localhost instead so the printed URL actually works.
|
|
198
|
+
const displayHost = address =>
|
|
199
|
+
address === '0.0.0.0' || address === '::' ? 'localhost' : address;
|
|
200
|
+
|
|
194
201
|
let server;
|
|
195
202
|
if(!configSSLKey || !configSSLCert){
|
|
196
203
|
// Start the server.
|
|
197
204
|
server = app.listen(port, host, function () {
|
|
198
|
-
console.log(`The dashboard is now available at http://${server.address().address}:${server.address().port}${mountPath}`);
|
|
205
|
+
console.log(`The dashboard is now available at http://${displayHost(server.address().address)}:${server.address().port}${mountPath}`);
|
|
199
206
|
|
|
200
207
|
// Initialize browser control WebSocket if enabled
|
|
201
208
|
if (browserControlSetup) {
|
|
@@ -211,7 +218,7 @@ module.exports = (options) => {
|
|
|
211
218
|
key: privateKey,
|
|
212
219
|
cert: certificate
|
|
213
220
|
}, app).listen(port, host, function () {
|
|
214
|
-
console.log(`The dashboard is now available at https://${server.address().address}:${server.address().port}${mountPath}`);
|
|
221
|
+
console.log(`The dashboard is now available at https://${displayHost(server.address().address)}:${server.address().port}${mountPath}`);
|
|
215
222
|
|
|
216
223
|
// Initialize browser control WebSocket if enabled
|
|
217
224
|
if (browserControlSetup) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-dashboard",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.1-alpha.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/parse-community/parse-dashboard"
|
|
@@ -85,11 +85,14 @@
|
|
|
85
85
|
"overrides": {
|
|
86
86
|
"madge": {
|
|
87
87
|
"typescript": "$typescript"
|
|
88
|
+
},
|
|
89
|
+
"filing-cabinet": {
|
|
90
|
+
"typescript": "5.9.3"
|
|
88
91
|
}
|
|
89
92
|
},
|
|
90
93
|
"devDependencies": {
|
|
91
94
|
"@actions/core": "3.0.0",
|
|
92
|
-
"@babel/core": "7.29.
|
|
95
|
+
"@babel/core": "7.29.6",
|
|
93
96
|
"@babel/eslint-parser": "7.28.6",
|
|
94
97
|
"@babel/plugin-proposal-decorators": "7.29.0",
|
|
95
98
|
"@babel/plugin-transform-runtime": "7.29.0",
|
|
@@ -111,7 +114,7 @@
|
|
|
111
114
|
"eslint-plugin-jest": "29.15.1",
|
|
112
115
|
"eslint-plugin-react": "7.37.5",
|
|
113
116
|
"get-port": "7.2.0",
|
|
114
|
-
"globals": "17.
|
|
117
|
+
"globals": "17.5.0",
|
|
115
118
|
"http-server": "14.1.1",
|
|
116
119
|
"husky": "9.1.7",
|
|
117
120
|
"jest": "30.0.4",
|
|
@@ -119,7 +122,7 @@
|
|
|
119
122
|
"madge": "8.0.0",
|
|
120
123
|
"marked": "17.0.5",
|
|
121
124
|
"mongodb-runner": "6.7.3",
|
|
122
|
-
"parse-server": "9.
|
|
125
|
+
"parse-server": "9.9.0",
|
|
123
126
|
"prettier": "3.8.1",
|
|
124
127
|
"puppeteer": "24.37.2",
|
|
125
128
|
"react-test-renderer": "16.13.1",
|
|
@@ -128,10 +131,10 @@
|
|
|
128
131
|
"semantic-release": "25.0.3",
|
|
129
132
|
"semver": "7.7.4",
|
|
130
133
|
"style-loader": "3.3.1",
|
|
131
|
-
"typescript": "6.0.
|
|
132
|
-
"webpack": "5.
|
|
134
|
+
"typescript": "6.0.3",
|
|
135
|
+
"webpack": "5.106.2",
|
|
133
136
|
"webpack-cli": "7.0.2",
|
|
134
|
-
"ws": "8.
|
|
137
|
+
"ws": "8.21.0",
|
|
135
138
|
"yaml": "2.8.3"
|
|
136
139
|
},
|
|
137
140
|
"scripts": {
|