@rip-lang/server 1.0.2 → 1.1.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.
- package/package.json +3 -3
- package/server.rip +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rip-lang/server",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Pure Rip application server — multi-worker, hot reload, HTTPS, mDNS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "server.rip",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"author": "Steve Shreeve <steve.shreeve@gmail.com>",
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"rip-lang": "^
|
|
42
|
-
"@rip-lang/api": "^1.
|
|
41
|
+
"rip-lang": "^3.0.0",
|
|
42
|
+
"@rip-lang/api": "^1.1.0"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
45
|
"bin/",
|
package/server.rip
CHANGED
|
@@ -280,7 +280,7 @@ parseFlags = (argv) ->
|
|
|
280
280
|
httpIntent = hasHttpKeyword or httpPortToken?
|
|
281
281
|
httpsIntent = true unless httpsIntent or httpIntent
|
|
282
282
|
|
|
283
|
-
httpPort = if httpIntent then (httpPortToken
|
|
283
|
+
httpPort = if httpIntent then (httpPortToken ?? 0) else 0
|
|
284
284
|
httpsPortDerived = if not httpIntent then (bareIntPort or httpsPortToken or 0) else null
|
|
285
285
|
|
|
286
286
|
socketPrefixOverride = getKV('--socket-prefix=')
|