@rip-lang/server 1.3.125 → 1.3.126
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/control/cli.rip +6 -2
- package/package.json +2 -2
package/control/cli.rip
CHANGED
|
@@ -123,8 +123,12 @@ export parseFlags = (argv, defaultEntryPath = null) ->
|
|
|
123
123
|
appPathInput = cwd
|
|
124
124
|
|
|
125
125
|
getKV = (prefix) ->
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
tokens = Array.from(rawFlags)
|
|
127
|
+
bare = prefix.slice(0, -1)
|
|
128
|
+
for i in [0...tokens.length]
|
|
129
|
+
return tokens[i].slice(prefix.length) if tokens[i].startsWith(prefix)
|
|
130
|
+
if tokens[i] is bare and tokens[i + 1] and not tokens[i + 1].startsWith('-')
|
|
131
|
+
return tokens[i + 1]
|
|
128
132
|
undefined
|
|
129
133
|
|
|
130
134
|
has = (name) -> rawFlags.has(name)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rip-lang/server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.126",
|
|
4
4
|
"description": "Pure Rip web framework and application server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "api.rip",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"author": "Steve Shreeve <steve.shreeve@gmail.com>",
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"rip-lang": ">=3.13.
|
|
48
|
+
"rip-lang": ">=3.13.131"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"api.rip",
|