@tricoteuses/senat 2.19.5 → 2.19.6

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.
@@ -1,3 +1,4 @@
1
+ import { sql } from "kysely";
1
2
  import { jsonArrayFrom } from "kysely/helpers/postgres";
2
3
  import { dbSenat } from "../databases";
3
4
  import { rtrim, toDateString } from "./util";
@@ -104,7 +105,7 @@ const findAllScrutinsQuery = dbSenat
104
105
  rtrim(ref("typlec.typleclib")).as("type_lecture"),
105
106
  toDateString(ref("scr.scrdat")).as("date_scrutin"),
106
107
  toDateString(ref("scr.scrdateff")).as("date_scrutin_effective"),
107
- "scr.scrint as intitule",
108
+ sql `REPLACE(scr.scrint, E'\\u0092', '''')`.as("intitule"),
108
109
  "scr.scrbaspag as note",
109
110
  "scr.scrmaj as nombre_majorite",
110
111
  "scr.scrmajsea as nombre_majorite_seance",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/senat",
3
- "version": "2.19.5",
3
+ "version": "2.19.6",
4
4
  "description": "Handle French Sénat's open data",
5
5
  "keywords": [
6
6
  "France",