@rip-lang/server 1.3.82 → 1.3.84
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/middleware.rip +1 -1
- package/package.json +2 -2
package/middleware.rip
CHANGED
|
@@ -540,7 +540,7 @@ export serve = (opts = {}) ->
|
|
|
540
540
|
{ brotliCompressSync } = require 'zlib'
|
|
541
541
|
glob = new Bun.Glob("**/*.rip")
|
|
542
542
|
components = {}
|
|
543
|
-
if includeRoutes
|
|
543
|
+
if includeRoutes and existsSync(routesDir)
|
|
544
544
|
for path in Array.from(glob.scanSync(routesDir)).sort()
|
|
545
545
|
components["components/#{path}"] = Bun.file("#{routesDir}/#{path}").text!
|
|
546
546
|
for dir in dirs
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rip-lang/server",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.84",
|
|
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.95"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"api.rip",
|