@socialgouv/kali-data 2.312.0 → 2.313.0

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/data/index.json CHANGED
@@ -3485,7 +3485,7 @@
3485
3485
  "texte_de_base": "KALITEXT000022192697",
3486
3486
  "title": "Convention collective nationale de travail des etablissements et services pour personnes inadaptées et handicapées du 15 mars 1966. Mise à jour au 15 septembre 1976.",
3487
3487
  "url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635407",
3488
- "synonymes":["ccn 1966", "cc66", "cc 66", "convention 66"]
3488
+ "synonymes":["1966", "66"]
3489
3489
  },
3490
3490
  {
3491
3491
  "active": true,
@@ -4138,7 +4138,7 @@
4138
4138
  "texte_de_base": "KALITEXT000029787837",
4139
4139
  "title": "Convention collective nationale des etablissements privés d'hospitalisation, de soins, de cure et de garde à but non lucratif du 31 octobre 1951.",
4140
4140
  "url": "https://www.legifrance.gouv.fr/affichIDCC.do?idConvention=KALICONT000005635234",
4141
- "synonymes":["FEHAP", "ccn 1951", "cc51", "cc 51", "convention 51"]
4141
+ "synonymes":["FEHAP", "1951", "51"]
4142
4142
  },
4143
4143
  {
4144
4144
  "etat": "VIGUEUR_ETEN",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socialgouv/kali-data",
3
- "version": "2.312.0",
3
+ "version": "2.313.0",
4
4
  "dependencies": {
5
5
  "unist-util-find": "1.0.2",
6
6
  "unist-util-flat-filter": "1.0.0",
@@ -3,10 +3,10 @@ import getArticleWithParentSections from "../getArticleWithParentSections";
3
3
  describe(`libs/getArticleWithParentSections()`, () => {
4
4
  describe(`should match properties`, () => {
5
5
  it(`with an existing main article ID`, () => {
6
- const received = getArticleWithParentSections("KALIARTI000019508230");
6
+ const received = getArticleWithParentSections("KALIARTI000005781804");
7
7
 
8
8
  expect(received.data.cid).toBe("KALIARTI000005781804");
9
- expect(received.data.id).toBe("KALIARTI000019508230");
9
+ expect(received.data.id).toBe("KALIARTI000045466361");
10
10
  expect(received.sections.length).toBeGreaterThan(1);
11
11
  });
12
12
 
@@ -14,7 +14,7 @@ describe(`libs/getArticleWithParentSections()`, () => {
14
14
  const received = getArticleWithParentSections("KALIARTI000005781804");
15
15
 
16
16
  expect(received.data.cid).toBe("KALIARTI000005781804");
17
- expect(received.data.id).toBe("KALIARTI000019508230");
17
+ expect(received.data.id).toBe("KALIARTI000045466361");
18
18
  expect(received.sections.length).toBeGreaterThan(1);
19
19
  });
20
20
 
@@ -3,10 +3,10 @@ import getArticleWithPath from "../getArticleWithPath";
3
3
  describe(`libs/getArticleWithPath()`, () => {
4
4
  describe(`should match properties`, () => {
5
5
  it(`with an existing main article ID`, () => {
6
- const received = getArticleWithPath("KALIARTI000019508230");
6
+ const received = getArticleWithPath("KALIARTI000005781818");
7
7
 
8
- expect(received.data.cid).toBe("KALIARTI000005781804");
9
- expect(received.data.id).toBe("KALIARTI000019508230");
8
+ expect(received.data.cid).toBe("KALIARTI000005781818");
9
+ expect(received.data.id).toBe("KALIARTI000005781818");
10
10
  expect(received.path.length).toBeGreaterThan(1);
11
11
  });
12
12
 
@@ -14,7 +14,7 @@ describe(`libs/getArticleWithPath()`, () => {
14
14
  const received = getArticleWithPath("KALIARTI000005781804");
15
15
 
16
16
  expect(received.data.cid).toBe("KALIARTI000005781804");
17
- expect(received.data.id).toBe("KALIARTI000019508230");
17
+ expect(received.data.id).toBe("KALIARTI000045466361");
18
18
  expect(received.path.length).toBeGreaterThan(1);
19
19
  });
20
20