firefly-compiler 0.6.14 → 0.6.16

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/lux/Lux.ff CHANGED
@@ -306,6 +306,7 @@ extend self: Lux {
306
306
  luxCopy = hook.luxCopy
307
307
  render = {
308
308
  body(newValue, {setState(_)})
309
+ doWhile {removeCurrentChild(self, self.depth)}
309
310
  }
310
311
  ))
311
312
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.6.14",
7
+ "version": "0.6.16",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"
package/postgresql/Pg.ff CHANGED
@@ -334,7 +334,7 @@ internalRunStatement(statement: PgStatement, body: Option[PgRow => Bool]): Int {
334
334
  let result = Js.await(statement.connection.grab().jsValue->query(pair.first, parameters))
335
335
  body.{
336
336
  | None =>
337
- result.get("rowCount").grabInt()
337
+ if(!result.get("rowCount").isNullOrUndefined()) {result.get("rowCount").grabInt()} else {-1}
338
338
  | Some(f) =>
339
339
  let all = result.get("rows").grabArray().all {row =>
340
340
  f(PgRow(row))
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.6.14",
7
+ "version": "0.6.16",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"