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

Bump the npm_and_yarn group across 1 directory with 10 updates #62

Merged
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
4 changes: 2 additions & 2 deletions components/api-depot/client-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ClientItem = ({_id, nom, mandataire, chefDeFile, authorizationStrategy, ac
<input type='checkbox' id='checkbox' name='checkbox' checked={options.relaxMode} disabled />
</td>
<td className='fr-col fr-my-1v'>
<Link passHref href={{
<Link legacyBehavior passHref href={{
pathname: '/api-depot/client/client-form',
query: {clientId: _id, demo: isDemo ? 1 : 0}
}}
Expand All @@ -34,7 +34,7 @@ const ClientItem = ({_id, nom, mandataire, chefDeFile, authorizationStrategy, ac
</Link>
</td>
<td className='fr-col fr-my-1v'>
<Link passHref href={{
<Link legacyBehavior passHref href={{
pathname: '/api-depot/client',
query: {clientId: _id, demo: isDemo ? 1 : 0}
}}
Expand Down
2 changes: 1 addition & 1 deletion components/communes/revisions-item-api-depot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const RevisionItemApiDepot = (
</td>
<td className='fr-col fr-my-1v'>
<Tooltip text={client.nom}>
<Link passHref href={{pathname: '/api-depot/client', query: {clientId: client._id}}}>
<Link legacyBehavior passHref href={{pathname: '/api-depot/client', query: {clientId: client._id}}}>
{client._id}
</Link>
</Tooltip>
Expand Down
2 changes: 1 addition & 1 deletion components/communes/revisions-item-moissoneur.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const RevisionItemMoissoneur = (
</td>
<td className='fr-col fr-my-1v'>
<Tooltip text={sourceId}>
<Link passHref href={{pathname: `/moissonneur-bal/sources/${sourceId}`}}>
<Link legacyBehavior passHref href={{pathname: `/moissonneur-bal/sources/${sourceId}`}}>
{sourceId}
</Link>
</Tooltip>
Expand Down
16 changes: 8 additions & 8 deletions components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Header = ({ session }: HeaderProps) => (
<div className="fr-header__body-row">
<div className="fr-header__brand fr-enlarge-link">
<div className="fr-header__brand-top">
<Link href="/">
<Link href="/" legacyBehavior passHref>
<div className="fr-header__logo">
<p className="fr-logo">
Base Adresse Locale <br />
Expand All @@ -37,7 +37,7 @@ const Header = ({ session }: HeaderProps) => (
</div>
</div>
<div className="fr-header__service">
<Link href="/" title="Accueil - [BAL Admin / ANCT]">
<Link href="/" legacyBehavior passHref title="Accueil - [BAL Admin / ANCT]">
<p className="fr-header__service-title">
Base Adresse Locale / Admin - ANCT
</p>
Expand Down Expand Up @@ -105,42 +105,42 @@ const Header = ({ session }: HeaderProps) => (
>
<ul className="fr-nav__list">
<li className="fr-nav__item">
<Link href="/communes">
<Link href="/communes" legacyBehavior passHref>
<a className="fr-nav__link" target="_self">
Communes
</a>
</Link>
</li>{" "}
<li className="fr-nav__item">
<Link href="/api-depot">
<Link href="/api-depot" legacyBehavior passHref>
<a className="fr-nav__link" target="_self">
API Dépôt
</a>
</Link>
</li>
<li className="fr-nav__item">
<Link href="/moissonneur-bal">
<Link href="/moissonneur-bal" legacyBehavior passHref>
<a className="fr-nav__link" target="_self">
Moissonneur BAL
</a>
</Link>
</li>
<li className="fr-nav__item">
<Link href="/partenaires-de-la-charte">
<Link href="/partenaires-de-la-charte" legacyBehavior passHref>
<a className="fr-nav__link" target="_self">
Partenaires de la charte
</a>
</Link>
</li>
<li className="fr-nav__item">
<Link href="/events">
<Link href="/events" legacyBehavior passHref>
<a className="fr-nav__link" target="_self">
Evènements
</a>
</Link>
</li>
<li>
<Link href="/bal-widget">
<Link href="/bal-widget" legacyBehavior passHref>
<a className="fr-nav__link" target="_self">
BAL Widget
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const MoissoneurOrganizationItem = ({
<tr>
<td className="fr-col fr-my-1v">{name}</td>
<td className="fr-col fr-my-1v">
<Link href={page} target="_blank" >
<Link legacyBehavior passHref href={page} target="_blank" >
<Button>data.gouv</Button>
</Link>
</td>
Expand Down
2 changes: 1 addition & 1 deletion components/partenaires-de-la-charte/partenaire-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const PartenaireItem = ({_id, _created, type, name, signatureDate, servic
{services?.map(service => (<Badge severity='info' style={{marginRight: 2, marginBottom: 2}} key={service}>{service}</Badge>))}
</td>
<td className='fr-col fr-my-1v'>
<Link passHref href={{
<Link legacyBehavior passHref href={{
pathname: `/partenaires-de-la-charte/${_id}`,
}}
>
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
"fuse.js": "6.6.2",
"got": "11.8",
"lodash": "^4.17.21",
"mongodb": "^5.6.0",
"next": "12.2.5",
"next-auth": "^4.23.1",
"nodemailer": "^6.9.4",
"mongodb": "^5.8.0",
"next": "^13.5.6",
"next-auth": "^4.24.5",
"nodemailer": "^6.9.9",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-chartjs-2": "^5.2.0",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.2",
"react-js-pagination": "^3.0.3",
"react-toastify": "^9.1.3",
"sanitize-html": "^2.11.0",
"sharp": "^0.31.2",
"sanitize-html": "^2.12.1",
"sharp": "^0.32.6",
"styled-components": "^5.3.9"
},
"devDependencies": {
Expand All @@ -45,7 +45,7 @@
"eslint": "^8.54.0",
"eslint-config-next": "^14.0.3",
"eslint-config-prettier": "^9.0.0",
"next-transpile-modules": "^9.0.0",
"next-transpile-modules": "^10.0.0",
"prettier": "^3.1.0",
"typescript": "5.2.2"
},
Expand Down
4 changes: 2 additions & 2 deletions pages/api-depot.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const APIDepot = () => (

<div className='fr-grid-row fr-grid-row--gutters fr-grid-row--right'>
<div className='fr-col-2'>
<Link passHref href={{
<Link legacyBehavior passHref href={{
pathname: '/api-depot/client/client-form',
}}
>
Expand All @@ -36,7 +36,7 @@ const APIDepot = () => (

<div className='fr-grid-row fr-grid-row--gutters fr-grid-row--right'>
<div className='fr-col-2'>
<Link passHref href={{
<Link legacyBehavior passHref href={{
pathname: '/api-depot/client/client-form',
query: {demo: 1}
}}
Expand Down
2 changes: 1 addition & 1 deletion pages/api-depot/client/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Client = () => {
/>
)}

<Link passHref href={{
<Link legacyBehavior passHref href={{
pathname: '/api-depot/client/client-form',
query: {clientId: client._id, demo: isDemo ? 1 : 0},
}}
Expand Down
17 changes: 7 additions & 10 deletions pages/mes-adresses/base-locale/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,16 @@ const BaseLocale = () => {
<li>
<h3>Emails</h3>
</li>

{baseLocale.emails ? (
baseLocale.emails.map((email) =>
<li key='email' >
<p className="fr-tag">
{email}
</p>
baseLocale.emails.map((email) => (
<li key="email">
<p className="fr-tag">{email}</p>
</li>
)
))
) : (
<li>
<p className="fr-tag">
inconnu
</p>
<p className="fr-tag">inconnu</p>
</li>
)}
</ul>
Expand Down Expand Up @@ -126,6 +122,7 @@ const BaseLocale = () => {
<div className="fr-col-2">
<div className="fr-container">
<Link
legacyBehavior
href={`${NEXT_PUBLIC_MES_ADRESSES_URL}/bal/${baseLocale._id}/${baseLocale.token}`}
>
<a
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"module": "NodeNext",
"isolatedModules": true,
"jsx": "preserve",
"resolveJsonModule": true,
Expand Down
Loading
Loading