@rip-lang/server 1.4.9 → 1.4.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/server",
3
- "version": "1.4.9",
3
+ "version": "1.4.11",
4
4
  "description": "Bun-native content server: static sites, apps, HTTP proxy, and TCP/TLS passthrough",
5
5
  "type": "module",
6
6
  "main": "api.rip",
@@ -73,9 +73,13 @@ export logAccessJson = (app, req, res, totalSeconds, workerSeconds) ->
73
73
  length: if len then Number(len) else undefined
74
74
 
75
75
  typeAbbrev =
76
- html: 'html', css: 'css', javascript: 'js', json: 'json', plain: 'text'
77
- png: 'png', jpeg: 'jpg', gif: 'gif', webp: 'webp', svg: 'svg'
78
- 'svg+xml': 'svg', 'x-icon': 'ico', 'octet-stream': 'bin', 'x-rip': 'rip'
76
+ html: 'html', css: 'css', javascript: 'js', json: 'json', plain: 'text', xml: 'xml'
77
+ png: 'png', jpeg: 'jpg', gif: 'gif', webp: 'webp', avif: 'avif'
78
+ 'svg+xml': 'svg', svg: 'svg', 'x-icon': 'icon', 'vnd.microsoft.icon': 'icon'
79
+ woff: 'font', woff2: 'font', ttf: 'font', otf: 'font'
80
+ mpeg: 'mp3', mp4: 'mp4', ogg: 'ogg', webm: 'webm'
81
+ pdf: 'pdf', zip: 'zip', gzip: 'gz', wasm: 'wasm'
82
+ 'octet-stream': 'bin', 'x-rip': 'rip'
79
83
 
80
84
  export logAccessHuman = (app, req, res, totalSeconds, workerSeconds) ->
81
85
  { timestamp, timezone } = formatTimestamp()