@rip-lang/server 1.3.69 → 1.3.71

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.
Files changed (2) hide show
  1. package/middleware.rip +1 -2
  2. package/package.json +2 -2
package/middleware.rip CHANGED
@@ -564,8 +564,7 @@ export serve = (opts = {}) ->
564
564
 
565
565
  for [name, dirs] as bundles
566
566
  get "#{prefix}/#{name}", (c) ->
567
- cache = bundleCaches.get(name)
568
- buildNamedBundle(name, dirs, (name is 'app') or (bundles.size is 1)) unless cache
567
+ buildNamedBundle!(name, dirs, (name is 'app') or (bundles.size is 1)) unless bundleCaches.has(name)
569
568
  cache = bundleCaches.get(name)
570
569
  if c.req.header('if-none-match') is cache.etag
571
570
  return new Response(null, { status: 304, headers: { 'ETag': cache.etag, 'Cache-Control': 'no-cache' } })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/server",
3
- "version": "1.3.69",
3
+ "version": "1.3.71",
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.85"
48
+ "rip-lang": ">=3.13.86"
49
49
  },
50
50
  "files": [
51
51
  "api.rip",