@rip-lang/api 0.7.4 → 0.7.5

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/api.rip +1 -1
  2. package/package.json +1 -1
package/api.rip CHANGED
@@ -590,6 +590,6 @@ export read = (keyOrTag = null, tagOrMiss = null, missOrNil = null) ->
590
590
  return miss?() if typeof miss is 'function'
591
591
  throw new Error "Missing required field: #{key}"
592
592
  else
593
- return (miss?() if typeof miss is 'function') or miss or null
593
+ return if typeof miss is 'function' then miss?() else miss
594
594
 
595
595
  v
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/api",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Pure Rip API framework — elegant, fast, zero dependencies",
5
5
  "type": "module",
6
6
  "main": "api.rip",