Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major devdedependencies (minor) #3096

Merged
merged 2 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 41 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@types/react-autosuggest": "10.1.11",
"@types/react-dom": "18.3.0",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "7.13.1",
"@typescript-eslint/eslint-plugin": "7.14.1",
"cypress": "13.12.0",
"eslint": "8.57.0",
"eslint-config-next": "14.2.4",
Expand All @@ -92,7 +92,7 @@
"storybook": "8.1.10",
"ts-node": "10.9.2",
"tsconfig-paths-webpack-plugin": "4.1.0",
"typescript": "5.4.5"
"typescript": "5.5.2"
},
"overrides": {
"@socialgouv/eslint-config-recommended": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function mapMission(mission: RésultatsMissionEngagementResponse): Missio
const postalCode = data.postalCode ? `(${data.postalCode})` : '';
const fullLocalisation = mapFullLocalisation(city, departmentName, departmentCode, region);
const localisation = city.length > 0 || postalCode.length > 0 ? `${city} ${postalCode}` : undefined;
const étiquetteList = [accessibleAuxJeunes, localisation, mapDateDébutContratEtiquette(data.startAt)].filter((tag: string | undefined) => tag !== undefined) as string[];
const étiquetteList = [accessibleAuxJeunes, localisation, mapDateDébutContratEtiquette(data.startAt)].filter((tag) => tag !== undefined);

return {
description: data.description,
Expand Down Expand Up @@ -89,7 +89,7 @@ export function mapMissionList(missionList: Array<MissionEngagementResponse>): A
const city = mission.city || '';
const postalCode = mission.postalCode ? `(${mission.postalCode})` : '';
const localisation = city.length > 0 || postalCode.length > 0 ? `${city} ${postalCode}` : undefined;
const étiquetteList = [accessibleAuxJeunes, localisation, mapDateDébutContrat(mission.startAt)].filter((tag: string |undefined) => tag !== undefined) as string[];
const étiquetteList = [accessibleAuxJeunes, localisation, mapDateDébutContrat(mission.startAt)].filter((tag) => tag !== undefined);

return {
description: mission.description,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function mapOffre(offreResponse: OffreResponse): Offre {
const expérience = mapExpérience(offreResponse.experienceExige);
const typeContrat = mapTypeContrat(offreResponse.typeContrat);
const duréeTravail = mapDuréeTravail(offreResponse.dureeTravailLibelleConverti);
const étiquetteList = [lieuTravail, expérience, typeContrat && typeContrat.libelléCourt, duréeTravail].filter((tag) => tag !== undefined) as string[];
const étiquetteList = [lieuTravail, expérience, typeContrat && typeContrat.libelléCourt, duréeTravail].filter((tag) => tag !== undefined);
return {
compétenceList: mapCompétenceList(offreResponse.competences),
description: offreResponse.description,
Expand Down Expand Up @@ -84,15 +84,15 @@ export function mapCompétenceList(compétenceResponse?: OffreResponse.Compéten
if (!compétenceResponse) return [];

const compétenceMappée = compétenceResponse.map((compétence) => (compétence.libelle));
return compétenceMappée.filter((compétence) => !!compétence) as string[];
return compétenceMappée.filter((compétence) => compétence !== undefined);
}

export function mapQualitéeProfessionnelleList(qualitéeProfessionnelleResponse?: OffreResponse.QualitéeProfessionnelle[]): string[] {
if (!qualitéeProfessionnelleResponse) {
return [];
}
const qualitéeProfessionnelleMappée = qualitéeProfessionnelleResponse.map((qualitéeProfessionnelle) => (qualitéeProfessionnelle.libelle));
return qualitéeProfessionnelleMappée.filter((qualitéeProfessionnelle) => !!qualitéeProfessionnelle) as string[];
return qualitéeProfessionnelleMappée.filter((qualitéeProfessionnelle) => qualitéeProfessionnelle !== undefined);
}

function mapLieuTravail(lieuTravailResponse?: OffreResponse.LieuTravail): string | undefined {
Expand Down