@rip-lang/api 1.1.1 → 1.1.2

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
@@ -401,7 +401,7 @@ toMoney = (value, half, cents) ->
401
401
  c = if neg then -c else c
402
402
  if cents then c else c / 100
403
403
 
404
- export toName = (str, type...) ->
404
+ export toName = (str, ...type) ->
405
405
  s = String(str)
406
406
  s = s.toLowerCase().replace(/\s+/g, ' ').trim()
407
407
  s = s.replace /(^|(?<=\P{L}))(\p{L})/gu, (m, pre, ch) -> pre + ch.toUpperCase()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rip-lang/api",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Pure Rip API framework — elegant, fast, zero dependencies",
5
5
  "type": "module",
6
6
  "main": "api.rip",