diff --git a/package.json b/package.json index d29e4732..05d3f251 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": "2.627.0", + "@socialgouv/legi-data": "2.296.0", "cross-env": "7.0.3", "dotenv": "8.2.0", "esm": "3.2.25", diff --git a/yarn.lock b/yarn.lock index 67ea11bb..cf27dd3b 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@2.627.0": + version "2.627.0" + resolved "https://registry.yarnpkg.com/@socialgouv/kali-data/-/kali-data-2.627.0.tgz#89a4e0f12eda2e647f077c095020b6ef9c44b1d3" + integrity sha512-U2qgBhfKr26uD/ILKoq4jY3XaP6vVmkqSP+jv5TmcpnU231FZHPQoEh0h0CEkbyre8kHYtMvQA0EIeRmmNE5MQ== + 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.296.0": + version "2.296.0" + resolved "https://registry.yarnpkg.com/@socialgouv/legi-data/-/legi-data-2.296.0.tgz#af3b88c2282152ed80a7f647faca32773cef2dd1" + integrity sha512-tZifZz1w/fFA1KWP+7rZWJlkAacQurlmNWIjMokB9VqwZEvb9dw2ZjwRbMQOt3KbxtqN2eBEQvsj4o1Q59/o8g== 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.8" + resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.8.tgz#bb197b9639aa1a04cf464a617fe800cccd92ad5c" + integrity sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw== + "@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.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,13 +6228,13 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -unist-util-find@1.0.2, 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== +unist-util-find@1.0.4, unist-util-find@^1.0.2: + 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.5.0" - unist-util-visit "^1.1.0" + lodash.iteratee "^4.7.0" + unist-util-visit "^2.0.0" unist-util-flat-filter@1.0.0: version "1.0.0" @@ -6222,11 +6243,6 @@ unist-util-flat-filter@1.0.0: dependencies: unist-util-is "^4.0.0" -unist-util-is@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-3.0.0.tgz#d9e84381c2468e82629e4a5be9d7d05a2dd324cd" - integrity sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A== - unist-util-is@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.0.2.tgz#c7d1341188aa9ce5b3cff538958de9895f14a5de" @@ -6239,19 +6255,22 @@ unist-util-parents@1.0.3, unist-util-parents@^1.0.3: dependencies: es6-weak-map "^2.0.0" -unist-util-visit-parents@^2.0.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9" - integrity sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g== +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: - unist-util-is "^3.0.0" + "@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" - integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw== +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: - unist-util-visit-parents "^2.0.0" + "@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" @@ -6501,6 +6520,11 @@ 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" + uid f804c1850e2da5260165db0a059dc2a6099d55f3 + 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"