diff --git a/package.json b/package.json index 1f9e73c..6cbb60a 100644 --- a/package.json +++ b/package.json @@ -36,10 +36,10 @@ "travisDeployKey": "./bin/generate_travis_deploy_key" }, "dependencies": { - "cozy-konnector-libs": "4.56.4" + "cozy-konnector-libs": "5.12.1" }, "devDependencies": { - "cozy-jobs-cli": "1.20.2", + "cozy-jobs-cli": "2.4.4", "cozy-konnector-build": "1.7.0" } } diff --git a/yarn.lock b/yarn.lock index 2bf711b..2469b30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2504,16 +2504,17 @@ cozy-client-js@^0.20.0: pouchdb-browser "7.0.0" pouchdb-find "7.0.0" -cozy-client@29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-29.2.0.tgz#d474fd4268311ae7e23af4966e189a83d348a4ab" - integrity sha512-BtWTB+s+YIqPxvvvyrWELVBxVuVfDeI7RFEU2gn+tU4Ef2AKLuciy3hBX14tuHiAB6U+FHYpqCDK2JW8SdNo8w== +cozy-client@45.14.1: + version "45.14.1" + resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-45.14.1.tgz#dc0e77e93b48b0a8a302a6f7dc3217d8a6d046c1" + integrity sha512-K2Fm1J60XFeRyAhfPywSU9+Kj7FHVcBP+B2K/lwWVOS3dob/iCBlrjgpRNjViErY0kVevgemt3oscZjbnr0mdQ== dependencies: "@cozy/minilog" "1.0.0" "@types/jest" "^26.0.20" "@types/lodash" "^4.14.170" btoa "^1.2.1" - cozy-stack-client "^29.2.0" + cozy-stack-client "^45.13.0" + date-fns "2.29.3" json-stable-stringify "^1.0.1" lodash "^4.17.13" microee "^0.0.6" @@ -2528,16 +2529,17 @@ cozy-client@29.2.0: sift "^6.0.0" url-search-params-polyfill "^8.0.0" -cozy-client@^33.2.0: - version "33.2.0" - resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-33.2.0.tgz#276835cce8b230c56631b3cfa98611ea900079d8" - integrity sha512-z+oA0Ri+m4vsAE1Gznab+vSP8j/uEa0zv9+qzB5ORIJvQ0QNHuLBWDoy+0FT4Rz4z+qLqDXxYyVVDBuwps4atQ== +cozy-client@^45.14.1: + version "45.15.0" + resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-45.15.0.tgz#bb95b20f331676ee09e425233c36758cca10ce38" + integrity sha512-/137/DInGvMTitlhqLrtKXa+7Co2dnlbvu1jRwZ9+qaFbKZ1NMCPYi5mBWVcRy2HHqB++ph9HrjXEORVVky0/g== dependencies: "@cozy/minilog" "1.0.0" "@types/jest" "^26.0.20" "@types/lodash" "^4.14.170" btoa "^1.2.1" - cozy-stack-client "^33.2.0" + cozy-stack-client "^45.13.0" + date-fns "2.29.3" json-stable-stringify "^1.0.1" lodash "^4.17.13" microee "^0.0.6" @@ -2577,10 +2579,10 @@ cozy-flags@^2.8.7: dependencies: microee "^0.0.6" -cozy-jobs-cli@1.20.2: - version "1.20.2" - resolved "https://registry.yarnpkg.com/cozy-jobs-cli/-/cozy-jobs-cli-1.20.2.tgz#1090bc5d1ad1f15695d17734618c8326d41a437e" - integrity sha512-IujczIbEdI3BaWB8vakV+EjGMzLGqrPVtMfB2Ie6ldJ/04rs9sVz975hlSPKkxnl+ziDkC4245pDxnsgpzYSIA== +cozy-jobs-cli@2.4.4: + version "2.4.4" + resolved "https://registry.yarnpkg.com/cozy-jobs-cli/-/cozy-jobs-cli-2.4.4.tgz#41b72d1ceed93f268c623abc806bd5bdd8edf161" + integrity sha512-fXXAwfdxbPh4RqQhYCv7sM9+Lev4RW7TQK+mqJhJAA/i3LnlCYC/bmMHh7iWLzGRUYiOemKFjM7VJr1u57PZAg== dependencies: "@pollyjs/adapter-node-http" "5.1.1" "@pollyjs/core" "5.1.1" @@ -2591,11 +2593,12 @@ cozy-jobs-cli@1.20.2: cheerio "1.0.0-rc.12" cli-highlight "2.1.11" commander "7.2.0" - cozy-client "29.2.0" + cozy-client "45.14.1" cozy-device-helper "^2.1.0" cozy-flags "^2.8.7" - cozy-konnector-libs "^4.56.4" + cozy-konnector-libs "^5.12.1" cozy-logger "1.9.0" + node-fetch "2.7.0" open "8.4.0" pretty "2.0.0" strip-json-comments "3.1.1" @@ -2616,18 +2619,19 @@ cozy-konnector-build@1.7.0: webpack "5.76.0" webpack-cli "4.9.2" -cozy-konnector-libs@4.56.4, cozy-konnector-libs@^4.56.4: - version "4.56.4" - resolved "https://registry.yarnpkg.com/cozy-konnector-libs/-/cozy-konnector-libs-4.56.4.tgz#139fcda7569173be8c585b141132ea85e260fc28" - integrity sha512-GSrOxKkpGSkBCAqVcdAht3+7Tv0l6cw+GtwYOCPl3YiCvcN5PzxfiaXndBXu9VDNHTgNFmAKMNdJVNDedlRKuQ== +cozy-konnector-libs@5.12.1, cozy-konnector-libs@^5.12.1: + version "5.12.1" + resolved "https://registry.yarnpkg.com/cozy-konnector-libs/-/cozy-konnector-libs-5.12.1.tgz#06962950df0997fcf1cccd28574c722a81467676" + integrity sha512-9JWYeTzg4l9KTcSlTmtw/9ttWcXo11+dZ2LhN9D/AjQoe8HqmNhKDvbBc52GHBXjZK6GHGFyOX5QjAP2mxzDnQ== dependencies: babel-runtime "^6.26.0" bluebird "^3.7.2" bluebird-retry "^0.11.0" + body-parser "1.19.0" btoa "1.2.1" cheerio "^1.0.0-rc.9" classificator "^0.3.3" - cozy-client "^33.2.0" + cozy-client "^45.14.1" cozy-client-js "^0.20.0" cozy-device-helper "^2.1.0" cozy-doctypes "^1.83.8" @@ -2636,16 +2640,18 @@ cozy-konnector-libs@4.56.4, cozy-konnector-libs@^4.56.4: date-fns "^2.22.1" file-type "^16.5.0" geco "git+https://github.com/konnectors/geco.git#0.11.2" + lodash "^4.17.21" lodash-id "^0.14.0" lowdb "^1.0.0" mime-types "^2.1.31" - node-fetch "^2.6.1" + node-fetch "^2.7.0" raven "^2.6.4" raw-body "^2.4.1" request "^2.88.2" request-debug "^0.2.0" request-promise "^4.2.6" strip-json-comments "^3.1.1" + tough-cookie "^2.5.0" cozy-logger@1.9.0, cozy-logger@^1.9.0: version "1.9.0" @@ -2663,19 +2669,10 @@ cozy-logger@^1.8.0: chalk "^2.4.2" json-stringify-safe "5.0.1" -cozy-stack-client@^29.2.0: - version "29.2.0" - resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-29.2.0.tgz#48e9d043cc869c59155979bb1666e4455d5dd0e4" - integrity sha512-QD8Bn/t9gLcKdxc0L65zGed6L5KdP/tNt4z63XrAVR2HBuqJcrlt6NucP7TH2FJYOj46mp9fW7iODk9hRD03UA== - dependencies: - detect-node "^2.0.4" - mime "^2.4.0" - qs "^6.7.0" - -cozy-stack-client@^33.2.0: - version "33.2.0" - resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-33.2.0.tgz#97b80514d68da2b6392f74d280f9867165b7d606" - integrity sha512-50vTnZvjCEYGx5nN+2rLhf63JZICNq9bXKY0QUFmfuMBfOTdD4EGw+EVA0YGxQYaz3E3FLrmMuIw5TtLzCDgcA== +cozy-stack-client@^45.13.0: + version "45.13.0" + resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-45.13.0.tgz#394b21a153b752be99ac6c79d073159fd024a4f4" + integrity sha512-ruigDMH6XB1Pxa+e3doAMjXihgKSdNZpNPlEcpd7l8MfHazUaHVs/D8Kyop1n+VGM/4va2DU1c1nE7ainT7+jw== dependencies: detect-node "^2.0.4" mime "^2.4.0" @@ -2800,6 +2797,11 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" +date-fns@2.29.3: + version "2.29.3" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" + integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== + date-fns@^1.30.1: version "1.30.1" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" @@ -4754,6 +4756,13 @@ node-fetch@2.6.1, node-fetch@^2.0.0, node-fetch@^2.6.1: resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== +node-fetch@2.7.0, node-fetch@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + node-polyglot@2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/node-polyglot/-/node-polyglot-2.4.2.tgz#e4876e6710b70dc00b1351a9a68de4af47a5d61d" @@ -6239,7 +6248,7 @@ token-types@^2.0.0: dependencies: bolgia ">=2.7.4" -tough-cookie@^2.3.1, tough-cookie@^2.3.3, tough-cookie@~2.5.0: +tough-cookie@^2.3.1, tough-cookie@^2.3.3, tough-cookie@^2.5.0, tough-cookie@~2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== @@ -6247,6 +6256,11 @@ tough-cookie@^2.3.1, tough-cookie@^2.3.3, tough-cookie@~2.5.0: psl "^1.1.28" punycode "^2.1.1" +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" @@ -6495,6 +6509,11 @@ watchpack@^2.4.0: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + webpack-cli@4.9.2: version "4.9.2" resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.9.2.tgz#77c1adaea020c3f9e2db8aad8ea78d235c83659d" @@ -6556,6 +6575,14 @@ webpack@5.76.0: watchpack "^2.4.0" webpack-sources "^3.2.3" +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6"