@tricoteuses/assemblee 2.5.20 → 2.5.21

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/lib/loaders.js +61 -12
  2. package/package.json +1 -1
package/lib/loaders.js CHANGED
@@ -786,9 +786,13 @@ function* O(t, i, e, a, u, d = "json", { enriched: l = !1, log: j = !1, noValida
786
786
  }, f = null);
787
787
  }
788
788
  if (S) {
789
- const X = k(D, S, {
790
- diffFilter: "D"
791
- });
789
+ const X = k(
790
+ D,
791
+ S,
792
+ {
793
+ diffFilter: "D"
794
+ }
795
+ );
792
796
  for (const [$, V] of X.entries()) {
793
797
  const p = s.join(D, $);
794
798
  j && console.log(`Deleted file: ${p}`);
@@ -823,7 +827,12 @@ function* ge(t, i, e = {}) {
823
827
  "json",
824
828
  e
825
829
  ))
826
- yield { acteur: u, datasetLegislature: a, filePath: d, ...l && { gitStatus: l } };
830
+ yield {
831
+ acteur: u,
832
+ datasetLegislature: a,
833
+ filePath: d,
834
+ ...l && { gitStatus: l }
835
+ };
827
836
  }
828
837
  function* _e(t, i, e = {}) {
829
838
  for (const {
@@ -840,7 +849,12 @@ function* _e(t, i, e = {}) {
840
849
  "json",
841
850
  e
842
851
  ))
843
- yield { organe: a, datasetLegislature: u, filePath: d, ...l && { gitStatus: l } };
852
+ yield {
853
+ organe: a,
854
+ datasetLegislature: u,
855
+ filePath: d,
856
+ ...l && { gitStatus: l }
857
+ };
844
858
  }
845
859
  function* je(t, i, e = {}) {
846
860
  for (const {
@@ -857,7 +871,12 @@ function* je(t, i, e = {}) {
857
871
  "json",
858
872
  e
859
873
  ))
860
- yield { amendement: u, datasetLegislature: a, filePath: d, ...l && { gitStatus: l } };
874
+ yield {
875
+ amendement: u,
876
+ datasetLegislature: a,
877
+ filePath: d,
878
+ ...l && { gitStatus: l }
879
+ };
861
880
  }
862
881
  function* he(t, i, e = {}) {
863
882
  for (const {
@@ -874,7 +893,12 @@ function* he(t, i, e = {}) {
874
893
  "json",
875
894
  e
876
895
  ))
877
- yield { document: a, datasetLegislature: u, filePath: d, ...l && { gitStatus: l } };
896
+ yield {
897
+ document: a,
898
+ datasetLegislature: u,
899
+ filePath: d,
900
+ ...l && { gitStatus: l }
901
+ };
878
902
  }
879
903
  function* ye(t, i, e = {}) {
880
904
  for (const {
@@ -891,7 +915,12 @@ function* ye(t, i, e = {}) {
891
915
  "json",
892
916
  e
893
917
  ))
894
- yield { dossierParlementaire: a, datasetLegislature: u, filePath: d, ...l && { gitStatus: l } };
918
+ yield {
919
+ dossierParlementaire: a,
920
+ datasetLegislature: u,
921
+ filePath: d,
922
+ ...l && { gitStatus: l }
923
+ };
895
924
  }
896
925
  function* Se(t, i, e = {}) {
897
926
  for (const {
@@ -908,7 +937,12 @@ function* Se(t, i, e = {}) {
908
937
  "json",
909
938
  e
910
939
  ))
911
- yield { reunion: a, datasetLegislature: u, filePath: d, ...l && { gitStatus: l } };
940
+ yield {
941
+ reunion: a,
942
+ datasetLegislature: u,
943
+ filePath: d,
944
+ ...l && { gitStatus: l }
945
+ };
912
946
  }
913
947
  function* Ae(t, i, e = {}) {
914
948
  for (const {
@@ -925,7 +959,12 @@ function* Ae(t, i, e = {}) {
925
959
  "json",
926
960
  e
927
961
  ))
928
- yield { scrutin: a, datasetLegislature: u, filePath: d, ...l && { gitStatus: l } };
962
+ yield {
963
+ scrutin: a,
964
+ datasetLegislature: u,
965
+ filePath: d,
966
+ ...l && { gitStatus: l }
967
+ };
929
968
  }
930
969
  function* Fe(t, i, e = {}) {
931
970
  for (const {
@@ -942,7 +981,12 @@ function* Fe(t, i, e = {}) {
942
981
  "json",
943
982
  e
944
983
  ))
945
- yield { question: a, datasetLegislature: u, filePath: d, ...l && { gitStatus: l } };
984
+ yield {
985
+ question: a,
986
+ datasetLegislature: u,
987
+ filePath: d,
988
+ ...l && { gitStatus: l }
989
+ };
946
990
  }
947
991
  function* ve(t, i, e = {}) {
948
992
  for (const {
@@ -959,7 +1003,12 @@ function* ve(t, i, e = {}) {
959
1003
  "xml",
960
1004
  e
961
1005
  ))
962
- yield { compteRendu: a, datasetLegislature: u, filePath: d, ...l && { gitStatus: l } };
1006
+ yield {
1007
+ compteRendu: a,
1008
+ datasetLegislature: u,
1009
+ filePath: d,
1010
+ ...l && { gitStatus: l }
1011
+ };
963
1012
  }
964
1013
  function* Ie(t, i, { enriched: e = !1 } = {}) {
965
1014
  const a = `Comptes_Rendus_Commissions_${ne(i)}${e ? "_enrichi" : "_nettoye"}`, u = s.join(t, a);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tricoteuses/assemblee",
3
- "version": "2.5.20",
3
+ "version": "2.5.21",
4
4
  "description": "Retrieve, clean up & handle French Assemblée nationale's open data",
5
5
  "keywords": [
6
6
  "Assemblée nationale",