Skip to content

Commit

Permalink
feat: Update cozy-client
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Jul 15, 2020
1 parent a8710f9 commit 14ca0b9
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 147 deletions.
4 changes: 2 additions & 2 deletions packages/cozy-authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@babel/core": "^7.3.4",
"babel-plugin-css-modules-transform": "^1.6.2",
"babel-preset-cozy-app": "^1.8.1",
"cozy-client": "6.66.0",
"cozy-client": "13.14.1",
"cozy-ui": "35.28.0",
"cssnano-preset-advanced": "^4.0.7",
"date-fns": "^1.29.0",
Expand Down Expand Up @@ -70,7 +70,7 @@
}
},
"peerDependencies": {
"cozy-client": "6.66.0",
"cozy-client": "13.14.1",
"cozy-ui": "^35.28.0",
"react": ">=15",
"react-router": "3"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
jest.mock('cozy-device-helper', () => ({
getPlatform: () => 'testing-platform',
nativeLinkOpen: jest.fn()
nativeLinkOpen: jest.fn(),
isAndroidApp: () => false
}))

import React from 'react'
Expand Down
6 changes: 3 additions & 3 deletions packages/cozy-doctypes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
"@babel/cli": "7.5.5",
"babel-preset-cozy-app": "^1.8.1",
"btoa": "1.2.1",
"cozy-client": "6.66.0",
"cozy-client": "13.14.1",
"cozy-client-js": "0.16.4",
"cozy-stack-client": "6.66.0",
"cozy-stack-client": "13.12.1",
"eslint-plugin-node": "10.0.0",
"fs-extra": "8.1.0",
"jest": "24.9.0",
"mockdate": "2.0.5"
},
"peerDependencies": {
"cozy-client": "6.66.0"
"cozy-client": "^13.14.1"
},
"scripts": {
"lint": "cd ../../; yarn lint packages/cozy-doctypes",
Expand Down
6 changes: 3 additions & 3 deletions packages/cozy-harvest-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"babel-jest": "24.1.0",
"babel-plugin-inline-react-svg": "^1.1.0",
"babel-preset-cozy-app": "^1.8.1",
"cozy-client": "10.8.1",
"cozy-client": "13.14.1",
"cozy-device-helper": "^1.9.2",
"cozy-keys-lib": "^3.1.0",
"cozy-realtime": "^3.9.0",
Expand All @@ -68,8 +68,8 @@
"react-dom": "^16.12.0"
},
"peerDependencies": {
"cozy-client": "7.14.0",
"cozy-device-helper": "1.7.1",
"cozy-client": "^13.14.1",
"cozy-device-helper": "^1.7.1",
"cozy-keys-lib": "^3.1.0",
"cozy-realtime": "^3.1.0",
"cozy-ui": "^35.28.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/cozy-procedures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@
"@material-ui/core": "3.9.4",
"@material-ui/lab": "^3.0.0-alpha.30",
"babel-plugin-inline-react-svg": "^1.1.0",
"cozy-client": "6.66.0",
"cozy-ui": "^35.28.0",
"cozy-client": "13.14.1",
"cozy-ui": "35.28.0",
"enzyme-to-json": "3.4.4",
"jest": "24.8.0",
"react": "^16.12.0"
},
"peerDependencies": {
"@material-ui/core": "3.9.4",
"@material-ui/lab": "^3.0.0-alpha.30",
"cozy-client": "6.66.0",
"cozy-client": "^13.14.1",
"cozy-doctypes": "^1.49.3",
"cozy-ui": "35.28.0"
"cozy-ui": "^35.28.0"
},
"jest": {
"setupFiles": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-realtime/examples/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"dependencies": {
"btoa": "^1.2.1",
"cozy-client": "^9.5.1",
"cozy-client": "13.14.1",
"cozy-logger": "^1.6.0",
"isomorphic-fetch": "^2.2.1",
"opn": "^6.0.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/cozy-realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@
"prepublishOnly": "yarn build",
"watch": "yarn build --watch"
},
"peerDependencies": {
"cozy-client": "^13.14.1"
},
"devDependencies": {
"@babel/cli": "7.4.4",
"babel-plugin-rewire": "1.2.0",
"babel-preset-cozy-app": "^1.8.1",
"cozy-client": "^9.3.0",
"cozy-client": "13.14.1",
"jest-cli": "24.7.1",
"mock-socket": "9.0.0"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/cozy-scanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@testing-library/react": "^9.3.0",
"babel-jest": "^24.9.0",
"babel-preset-cozy-app": "^1.8.1",
"cozy-client": "13.14.1",
"cozy-doctypes": "1.67.0",
"cozy-ui": "35.28.0",
"jest": "24.1.0",
Expand All @@ -40,7 +41,7 @@
"stylus": "^0.54.7"
},
"peerDependencies": {
"cozy-client": "7.14.0",
"cozy-client": "^13.14.1",
"cozy-doctypes": "1.67.0",
"cozy-ui": "^35.28.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cozy-sharing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"babel-jest": "^24.9.0",
"babel-plugin-css-modules-transform": "^1.6.2",
"cozy-client": "^13.4.2",
"cozy-client": "13.14.1",
"cozy-ui": "35.28.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
Expand All @@ -48,7 +48,7 @@
"react-dom": "^16.12.0"
},
"peerDependencies": {
"cozy-client": "^13.4.2",
"cozy-client": "^13.14.1",
"cozy-ui": "^35.28.0",
"prop-types": "^15.7.2",
"react": "^16.12.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/playgrounds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@material-ui/core": "3.9.4",
"@material-ui/lab": "^3.0.0-alpha.30",
"cozy-authentication": "^2.0.10",
"cozy-client": "^9.1.0",
"cozy-client": "13.14.1",
"cozy-device-helper": "^1.9.2",
"cozy-doctypes": "^1.72.2",
"cozy-realtime": "^3.9.0",
Expand Down
146 changes: 18 additions & 128 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5271,52 +5271,15 @@ cozy-client-js@0.16.4:
pouchdb-browser "7.0.0"
pouchdb-find "7.0.0"

cozy-client@10.8.1:
version "10.8.1"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-10.8.1.tgz#e9887cae8717baf837bc59f8fc0a514cbb01ca82"
integrity sha512-Bc2SYiHvfYTkklLaMvWnUuTdkkMAo6wtQ8iK3MbW6zb7tVIFMsYno7fihsnRUg9AMX8Swl6FmP8YZSIEqs3Xvw==
cozy-client@13.14.1:
version "13.14.1"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-13.14.1.tgz#0c4cb31585cbd40dc1ce07f6586a96978221a4ff"
integrity sha512-1WhhDuE3wcNh2bWn5E0foTtF2bMfHDm6JHPSTyIft2/vxqXgntPC+4dLXurgnpA9WQs6TmmNOM+Q2+/ZJ/cA6w==
dependencies:
btoa "^1.2.1"
cozy-device-helper "^1.7.3"
cozy-logger "^1.6.0"
cozy-stack-client "^10.7.0"
isomorphic-fetch "^2.2.1"
lodash "^4.17.13"
microee "^0.0.6"
open "^7.0.2"
prop-types "^15.6.2"
react-redux "^5.0.7"
redux "^3.7.2"
redux-thunk "^2.3.0"
server-destroy "^1.0.1"
sift "^6.0.0"
url-search-params-polyfill "^7.0.0"

cozy-client@6.66.0:
version "6.66.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-6.66.0.tgz#a7e277fc4b893e85275e60b445307cb30cc332ad"
integrity sha512-x//RAptC5zyt93tPd43I6SukepMWZFj9b11VpXCxxH+0aWLryQwlNRrrElkIcoze2Cn0XlmUg2DDoyvUuB2SwQ==
dependencies:
cozy-device-helper "^1.7.3"
cozy-stack-client "^6.66.0"
lodash "^4.17.13"
microee "^0.0.6"
prop-types "^15.6.2"
react-redux "^5.0.7"
redux "^3.7.2"
redux-thunk "^2.3.0"
sift "^6.0.0"
url-search-params-polyfill "^7.0.0"

cozy-client@^13.4.2:
version "13.4.2"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-13.4.2.tgz#b495c4da97db2cc97a99fce341ef4d0f037ebe3c"
integrity sha512-r2/RGznnov0VmSAk7onnc75UK9cbmNthGwkASOlCnuDZpSYdOxfcCzjIcYQOmEQFuWbOAQzzFMqhju7FYzwtyA==
dependencies:
btoa "^1.2.1"
cozy-device-helper "^1.7.3"
cozy-logger "^1.6.0"
cozy-stack-client "^13.4.2"
cozy-stack-client "^13.12.1"
isomorphic-fetch "^2.2.1"
lodash "^4.17.13"
microee "^0.0.6"
Expand All @@ -5330,38 +5293,6 @@ cozy-client@^13.4.2:
sift "^6.0.0"
url-search-params-polyfill "^7.0.0"

cozy-client@^9.1.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-9.1.0.tgz#1ff8a34514734b42e1e58821d8c0a44ae434ed35"
integrity sha512-C3/SmjZzhCTCqFEu5S9sWQkETM8BM6bwnbOC4vjOfG31pq/k7oHDnfPP2HAR7jBaa8k3njvh7nbR4p4YtCST2w==
dependencies:
cozy-device-helper "^1.7.3"
cozy-stack-client "^9.1.0"
lodash "^4.17.13"
microee "^0.0.6"
prop-types "^15.6.2"
react-redux "^5.0.7"
redux "^3.7.2"
redux-thunk "^2.3.0"
sift "^6.0.0"
url-search-params-polyfill "^7.0.0"

cozy-client@^9.3.0:
version "9.3.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-9.3.0.tgz#a7ae1c8b86ed153743411a04d0cd74a20520f192"
integrity sha512-0oqRErnUFh5n7rBmjomSC1tNx4F+35D86TlrphXFi494EmSmjKyF0yMnyNVCtA0nB6EaAo2mC1BTEWuUZg8x0A==
dependencies:
cozy-device-helper "^1.7.3"
cozy-stack-client "^9.2.0"
lodash "^4.17.13"
microee "^0.0.6"
prop-types "^15.6.2"
react-redux "^5.0.7"
redux "^3.7.2"
redux-thunk "^2.3.0"
sift "^6.0.0"
url-search-params-polyfill "^7.0.0"

cozy-doctypes@1.67.0:
version "1.67.0"
resolved "https://registry.yarnpkg.com/cozy-doctypes/-/cozy-doctypes-1.67.0.tgz#2e26cf43556cff298d0eec2f06091d15dc1758da"
Expand Down Expand Up @@ -5395,52 +5326,16 @@ cozy-keys-lib@3.1.1:
tldjs "^2.3.1"
zxcvbn "^4.4.2"

cozy-stack-client@6.66.0, cozy-stack-client@^6.66.0:
version "6.66.0"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-6.66.0.tgz#ba217c2d615dd31a9f40ae131644c68c4108b101"
integrity sha512-NPdoDplH43nLBlTXVXYCOutRkh3Q+Dib92BGU8F3PanCMjCBXiRUni6I7EhcumwJkXeJVm7qul72X4LYKlOzgA==
dependencies:
detect-node "^2.0.4"
mime "^2.4.0"
qs "^6.7.0"

cozy-stack-client@^10.7.0:
version "10.7.0"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-10.7.0.tgz#2f9a886af423abe9111d6c1524104c29d2ed517f"
integrity sha512-O2z9sFwDhcbn/rZJr0f2BL3CAc2L37QMzmIlQXY/70x/SqkSd+zyFhgwfYImqlwYsByf6Mo6qwtpwv5goRj9Ig==
dependencies:
detect-node "^2.0.4"
mime "^2.4.0"
qs "^6.7.0"

cozy-stack-client@^13.4.2:
version "13.4.2"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-13.4.2.tgz#02f0ae98568fe9b90bb8bac84dda80f345bac797"
integrity sha512-9htrdXaIMfRk4mzsGnaSRk4/KsdJ6TvnQDC9n6AJtQ2wF9F/GG3p4QZc9sXO/9i9jhhK6kfbUp8UdDu9GZGC8w==
dependencies:
detect-node "^2.0.4"
mime "^2.4.0"
qs "^6.7.0"

cozy-stack-client@^9.1.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-9.1.0.tgz#385369db3663c32c3e6c767f687ef455cd98b0c3"
integrity sha512-XzdEiL+GS9RYGCTGr7P8KV9OUE5DmK2eHWhYqvZEMP2ZYRblPYhrxqRaebV9vm/70NBv87dVSDjkv2Mr9RFM5w==
dependencies:
detect-node "^2.0.4"
mime "^2.4.0"
qs "^6.7.0"

cozy-stack-client@^9.2.0:
version "9.2.0"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-9.2.0.tgz#3d6a9af9e42f6f2d8fad7fe57e83713a3bcafc77"
integrity sha512-ivMjA+EtV7lu6lKzuOIiS00XcTVL6WRbycSmfO7SJrAU12kWp54rlKDS9rMFA2NjCEShjTVdu0intkxYbuimsw==
cozy-stack-client@13.12.1, cozy-stack-client@^13.12.1:
version "13.12.1"
resolved "https://registry.yarnpkg.com/cozy-stack-client/-/cozy-stack-client-13.12.1.tgz#9de6e2cbe3202e351f935d5e16faf2fa27cfa3af"
integrity sha512-lZhWm3XB3YpvJ6dP1IPLioSJvVQLbPl3eeIrqI6RmGWi4KyIEES6jw1xEWaO7BNLT6p27BboGedqxeZzMXoBjw==
dependencies:
detect-node "^2.0.4"
mime "^2.4.0"
qs "^6.7.0"

cozy-ui@35.28.0, cozy-ui@^35.28.0:
cozy-ui@35.28.0:
version "35.28.0"
resolved "https://registry.yarnpkg.com/cozy-ui/-/cozy-ui-35.28.0.tgz#d0e1d02924df15b4c46cefd6b4407552980ae3e9"
integrity sha512-udF40VMSZc2XpXidGgK2MrN1mipvmfTSzWPjpyCDdXoTfxckeHwmR04yW+vDncbM1kpDxVRn3XxJOFUOouuQFQ==
Expand Down Expand Up @@ -11329,6 +11224,13 @@ mini-html-webpack-plugin@^0.2.3:
dependencies:
webpack-sources "^1.1.0"

"minilog@git+https://github.com/cozy/minilog.git#master":
version "3.1.0"
uid f01f7d9dfe20981177dd34b9662c2f077d818f82
resolved "git+https://github.com/cozy/minilog.git#f01f7d9dfe20981177dd34b9662c2f077d818f82"
dependencies:
microee "0.0.6"

"minilog@https://github.com/cozy/minilog.git#master":
version "3.1.0"
resolved "https://github.com/cozy/minilog.git#f01f7d9dfe20981177dd34b9662c2f077d818f82"
Expand Down Expand Up @@ -14362,7 +14264,7 @@ react-jsonschema-form@1.8.0:
react-lifecycles-compat "^3.0.4"
shortid "^2.2.14"

react-lifecycles-compat@^3.0.0, react-lifecycles-compat@^3.0.2, react-lifecycles-compat@^3.0.4:
react-lifecycles-compat@^3.0.2, react-lifecycles-compat@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"

Expand Down Expand Up @@ -14402,18 +14304,6 @@ react-redux@7.1.1, react-redux@^7.0.3:
prop-types "^15.7.2"
react-is "^16.9.0"

react-redux@^5.0.7:
version "5.1.1"
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-5.1.1.tgz#88e368682c7fa80e34e055cd7ac56f5936b0f52f"
dependencies:
"@babel/runtime" "^7.1.2"
hoist-non-react-statics "^3.1.0"
invariant "^2.2.4"
loose-envify "^1.1.0"
prop-types "^15.6.1"
react-is "^16.6.0"
react-lifecycles-compat "^3.0.0"

react-redux@^7.2.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.2.0.tgz#f970f62192b3981642fec46fd0db18a074fe879d"
Expand Down

0 comments on commit 14ca0b9

Please sign in to comment.