Skip to content

Commit

Permalink
fufeck update version validateur-bal 2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
fufeck committed Sep 4, 2023
1 parent 9c0c233 commit 9b81164
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/compose/import-from-api-depot.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function isErroredRow(row) {

async function importFromApiDepot(revision) {
const revisionFile = await getRevisionFile(revision._id)
const validationResult = await validate(revisionFile, {profile: '1.3-etalab', relaxFieldsDetection: true})
const validationResult = await validate(revisionFile, {profile: '1.3-relax'})

if (!validationResult.parseOk) {
throw new Error(`Le fichier BAL récupéré n’est pas valide : ${revision._id}`)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@ban-team/fantoir": "^0.15.0",
"@ban-team/gazetteer": "^2.0.0",
"@ban-team/validateur-bal": "^2.15.0",
"@ban-team/validateur-bal": "^2.16.0",
"@etalab/adresses-util": "^0.8.2",
"@etalab/decoupage-administratif": "^3.0.0",
"@etalab/majic": "^0.11.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1058,10 +1058,10 @@
resolved "https://registry.yarnpkg.com/@ban-team/shared-data/-/shared-data-1.2.0.tgz#0e29e84a00f7df3b17e5821bde1405a2bfa656b5"
integrity sha512-35jz6ITHHufUKxXAfa8ReSMl6lZarnfVBkS++wgHpk27e9K52bXyAHo+n3X331n2mSzoIQXxFK7SEcPob7a5cA==

"@ban-team/validateur-bal@^2.15.0":
version "2.15.0"
resolved "https://registry.yarnpkg.com/@ban-team/validateur-bal/-/validateur-bal-2.15.0.tgz#5018ffa415d333f63a4d5eacec4d59c130465b8d"
integrity sha512-5p/zukoOQQsHQTrrc8eVLCNuFHz3eD7fLoDqbUKTbtOlHLwx8yQDwQlGxvvsWXGkd7djDoPBQvK91XSauIkr6g==
"@ban-team/validateur-bal@^2.16.0":
version "2.16.0"
resolved "https://registry.yarnpkg.com/@ban-team/validateur-bal/-/validateur-bal-2.16.0.tgz#0ef7754334e58dc9cc80a791731616b5cd82a896"
integrity sha512-OO/rpOfnU7VfzAH57v6pQttoMCNnHB5sKFmLUtFJ6AGGsgvZJoUJ32XAGvofK5QVHvT7QUv/Xrn21zpoo0Lx9A==
dependencies:
"@ban-team/shared-data" "^1.2.0"
"@etalab/project-legal" "^0.6.0"
Expand Down

0 comments on commit 9b81164

Please sign in to comment.