diff --git a/package.json b/package.json index d29e4732..7ed62593 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "dependencies": { "@koa/cors": "3.1.0", "@koa/router": "9.4.0", - "@socialgouv/kali-data": "2.578.0", - "@socialgouv/legi-data": "2.274.0", + "@socialgouv/kali-data": "3.31.0", + "@socialgouv/legi-data": "2.331.0", "cross-env": "7.0.3", "dotenv": "8.2.0", "esm": "3.2.25", diff --git a/yarn.lock b/yarn.lock index 67ea11bb..8218edf3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1167,19 +1167,21 @@ eslint-plugin-simple-import-sort "^5.0.3" eslint-plugin-sort-keys-fix "^1.1.1" -"@socialgouv/kali-data@2.578.0": - version "2.578.0" - resolved "https://registry.yarnpkg.com/@socialgouv/kali-data/-/kali-data-2.578.0.tgz#942706875d99b2cdad0e7c72b8215350ad94f5a8" - integrity sha512-OBBLfZpiBIS4t4BfBz9MQaosfrI3mbYYvuQEBeifVhYLImShEw6WaYqcJo2y5+IhLGVvp2tYjEaSD4rTLbVGXA== - dependencies: - unist-util-find "1.0.2" +"@socialgouv/kali-data@3.31.0": + version "3.31.0" + resolved "https://registry.yarnpkg.com/@socialgouv/kali-data/-/kali-data-3.31.0.tgz#6c53556efd2fa29066a342134f3b1ffc52cf80b6" + integrity sha512-Crvt1nVqOGWanDqgjX8pyVLbVxusPjwPrUDFm+Qn1QFD8maxrtP4rdLDCAUDDa2tGZOJefrFxIPCMopsrfEjug== + dependencies: + csv-parser "^3.0.0" + node-xlsx "^0.23.0" + unist-util-find "1.0.4" unist-util-flat-filter "1.0.0" unist-util-parents "1.0.3" -"@socialgouv/legi-data@2.274.0": - version "2.274.0" - resolved "https://registry.yarnpkg.com/@socialgouv/legi-data/-/legi-data-2.274.0.tgz#baaa5e24af0285fc9816ed4c81214978b273fe76" - integrity sha512-wpo9LQIdpeCP8rOeCYkzdvVrUgm/xX8sHgDGzexuSRSlwrNSCXeF6ZCRMOP5Ak6nkrpngO4POjipwEFPir6O5w== +"@socialgouv/legi-data@2.331.0": + version "2.331.0" + resolved "https://registry.yarnpkg.com/@socialgouv/legi-data/-/legi-data-2.331.0.tgz#a5abea36654cb21f022712777e2c00c566b74f25" + integrity sha512-dDQsZCJivmK1tyUx8qg6QmRNV+Q2VEriav35abMNaEed+WzdPnBQC1UT4pVZjJq4nWqTtHOFl3ojFFY17tG9ug== dependencies: unist-util-find "^1.0.2" unist-util-parents "^1.0.3" @@ -1425,6 +1427,11 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== +"@types/unist@^2.0.0": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.10.tgz#04ffa7f406ab628f7f7e97ca23e290cd8ab15efc" + integrity sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA== + "@types/yargs-parser@*": version "15.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d" @@ -2245,6 +2252,13 @@ cssstyle@^2.2.0: dependencies: cssom "~0.3.6" +csv-parser@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/csv-parser/-/csv-parser-3.0.0.tgz#b88a6256d79e090a97a1b56451f9327b01d710e7" + integrity sha512-s6OYSXAK3IdKqYO33y09jhypG/bSDHPuyCme/IdEHfWpLf/jKcpitVFyOC6UemgGk8v7Q5u2XE0vvwmanxhGlQ== + dependencies: + minimist "^1.2.0" + d@1, d@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" @@ -4436,10 +4450,10 @@ lodash.isequal@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= -lodash.iteratee@^4.5.0: +lodash.iteratee@^4.5.0, lodash.iteratee@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/lodash.iteratee/-/lodash.iteratee-4.7.0.tgz#be4177db289a8ccc3c0990f1db26b5b22fc1554c" - integrity sha1-vkF32yiajMw8CZDx2ya1si/BVUw= + integrity sha512-yv3cSQZmfpbIKo4Yo45B1taEvxjNvcpF1CEOc0Y6dEyvhPIfEJE3twDwPgWTPQubcSgXyBwBKG6wpQvWMDOf6Q== lodash.sortby@^4.7.0: version "4.7.0" @@ -4652,6 +4666,13 @@ node-releases@^1.1.66: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.67.tgz#28ebfcccd0baa6aad8e8d4d8fe4cbc49ae239c12" integrity sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg== +node-xlsx@^0.23.0: + version "0.23.0" + resolved "https://registry.yarnpkg.com/node-xlsx/-/node-xlsx-0.23.0.tgz#0c4b642f9457712d68f30e1e30351d640cc37e90" + integrity sha512-r3KaSZSsSrK92rbPXnX/vDdxURmPPik0rjJ3A+Pybzpjyrk4G6WyGfj8JIz5dMMEpCmWVpmO4qoVPBxnpLv/8Q== + dependencies: + xlsx "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz" + nodemon@2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.6.tgz#1abe1937b463aaf62f0d52e2b7eaadf28cc2240d" @@ -6207,7 +6228,15 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -unist-util-find@1.0.2, unist-util-find@^1.0.2: +unist-util-find@1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/unist-util-find/-/unist-util-find-1.0.4.tgz#752e2c6fabf9d57e2c08e03d2f54aaee8c227ef3" + integrity sha512-T5vI7IkhroDj7KxAIy057VbIeGnCXfso4d4GoUsjbAmDLQUkzAeszlBtzx1+KHgdsYYBygaqUBvrbYCfePedZw== + dependencies: + lodash.iteratee "^4.7.0" + unist-util-visit "^2.0.0" + +unist-util-find@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unist-util-find/-/unist-util-find-1.0.2.tgz#4d5b01a69fca2a382ad4f55f9865e402129ecf56" integrity sha512-ft06UDYzqi9o9RmGP0sZWI/zvLLQiBW2/MD+rW6mDqbOWDcmknGX9orQPspfuGRYWr8eSJAmfsBcvOpfGRJseA== @@ -6246,6 +6275,14 @@ unist-util-visit-parents@^2.0.0: dependencies: unist-util-is "^3.0.0" +unist-util-visit-parents@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz#65a6ce698f78a6b0f56aa0e88f13801886cdaef6" + integrity sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^4.0.0" + unist-util-visit@^1.1.0: version "1.4.1" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3" @@ -6253,6 +6290,15 @@ unist-util-visit@^1.1.0: dependencies: unist-util-visit-parents "^2.0.0" +unist-util-visit@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c" + integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^4.0.0" + unist-util-visit-parents "^3.0.0" + unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" @@ -6501,6 +6547,10 @@ xdg-basedir@^4.0.0: resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q== +"xlsx@https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz": + version "0.19.3" + resolved "https://cdn.sheetjs.com/xlsx-0.19.3/xlsx-0.19.3.tgz#f804c1850e2da5260165db0a059dc2a6099d55f3" + xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"