@tricoteuses/senat 2.22.8 → 2.22.9

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.
@@ -200,7 +200,7 @@ export function* iterLoadSenatTextes(dataDir, session, options = {}) {
200
200
  const texteId = texte["id"];
201
201
  const { item: texteContent } = loadSenatTexteContent(dataDir, texte["session"], texteId);
202
202
  if (texteContent) {
203
- Object.assign(texteItem.item, texteContent);
203
+ texteItem.item = { ...texteContent, ...texteItem.item };
204
204
  }
205
205
  yield texteItem;
206
206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/senat",
3
- "version": "2.22.8",
3
+ "version": "2.22.9",
4
4
  "description": "Handle French Sénat's open data",
5
5
  "keywords": [
6
6
  "France",