From 84257e1a84adfd53f279afc1adb0da6606003a5c Mon Sep 17 00:00:00 2001 From: Priscila Oliveira Date: Thu, 7 Nov 2019 17:55:20 +0100 Subject: [PATCH] chore: updated material-ui dependencies (#239) * chore: update material-ui dependencies * fix: updated snaps --- package.json | 2 +- .../Author/__snapshots__/Author.test.tsx.snap | 4 +- .../__snapshots__/Developers.test.tsx.snap | 28 ++++++++--- .../__snapshots__/Engines.test.tsx.snap | 2 +- .../__snapshots__/Install.test.tsx.snap | 6 +-- .../Login/__snapshots__/Login.test.tsx.snap | 4 +- .../__snapshots__/Repository.test.tsx.snap | 2 +- .../Search/__snapshots__/Search.test.tsx.snap | 2 +- .../__snapshots__/TextField.test.tsx.snap | 2 +- yarn.lock | 50 ++++++++----------- 10 files changed, 53 insertions(+), 49 deletions(-) diff --git a/package.json b/package.json index 3d32aee..74c83e4 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@commitlint/cli": "8.2.0", "@commitlint/config-conventional": "8.2.0", - "@material-ui/core": "4.5.1", + "@material-ui/core": "4.6.0", "@material-ui/icons": "4.5.1", "@octokit/rest": "16.34.0", "@testing-library/react": "9.3.0", diff --git a/src/components/Author/__snapshots__/Author.test.tsx.snap b/src/components/Author/__snapshots__/Author.test.tsx.snap index c9c4e05..64329a1 100644 --- a/src/components/Author/__snapshots__/Author.test.tsx.snap +++ b/src/components/Author/__snapshots__/Author.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `""`; +exports[` component should render the component in default state 1`] = `"
    Author
    \\"verdaccio
    verdaccio user
"`; -exports[` component should render the component when there is no author email 1`] = `"
    Author
    \\"verdaccio
    verdaccio user
"`; +exports[` component should render the component when there is no author email 1`] = `"
    Author
    \\"verdaccio
    verdaccio user
"`; diff --git a/src/components/Developers/__snapshots__/Developers.test.tsx.snap b/src/components/Developers/__snapshots__/Developers.test.tsx.snap index 4123173..74c7335 100644 --- a/src/components/Developers/__snapshots__/Developers.test.tsx.snap +++ b/src/components/Developers/__snapshots__/Developers.test.tsx.snap @@ -122,15 +122,18 @@ exports[`test Developers should render the component for contributors with items aria-label="dmethvin" classes={ Object { + "circle": "MuiAvatar-circle", "colorDefault": "MuiAvatar-colorDefault", "img": "MuiAvatar-img", "root": "MuiAvatar-root", + "rounded": "MuiAvatar-rounded", + "square": "MuiAvatar-square", } } >
@@ -146,7 +149,7 @@ exports[`test Developers should render the component for contributors with items >
} @@ -218,15 +221,18 @@ exports[`test Developers should render the component for contributors with items aria-label="mgol" classes={ Object { + "circle": "MuiAvatar-circle", "colorDefault": "MuiAvatar-colorDefault", "img": "MuiAvatar-img", "root": "MuiAvatar-root", + "rounded": "MuiAvatar-rounded", + "square": "MuiAvatar-square", } } >
@@ -242,7 +248,7 @@ exports[`test Developers should render the component for contributors with items >
} @@ -385,15 +391,18 @@ exports[`test Developers should render the component for maintainers with items aria-label="dmethvin" classes={ Object { + "circle": "MuiAvatar-circle", "colorDefault": "MuiAvatar-colorDefault", "img": "MuiAvatar-img", "root": "MuiAvatar-root", + "rounded": "MuiAvatar-rounded", + "square": "MuiAvatar-square", } } >
@@ -409,7 +418,7 @@ exports[`test Developers should render the component for maintainers with items >
} @@ -481,15 +490,18 @@ exports[`test Developers should render the component for maintainers with items aria-label="mgol" classes={ Object { + "circle": "MuiAvatar-circle", "colorDefault": "MuiAvatar-colorDefault", "img": "MuiAvatar-img", "root": "MuiAvatar-root", + "rounded": "MuiAvatar-rounded", + "square": "MuiAvatar-square", } } >
@@ -505,7 +517,7 @@ exports[`test Developers should render the component for maintainers with items >
} diff --git a/src/components/Engines/__snapshots__/Engines.test.tsx.snap b/src/components/Engines/__snapshots__/Engines.test.tsx.snap index 6b74c1e..eceee05 100644 --- a/src/components/Engines/__snapshots__/Engines.test.tsx.snap +++ b/src/components/Engines/__snapshots__/Engines.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `"
    node JS
    >= 0.1.98
    NPM version
    >3
"`; +exports[` component should render the component in default state 1`] = `"
    node JS
    >= 0.1.98
    NPM version
    >3
"`; diff --git a/src/components/Install/__snapshots__/Install.test.tsx.snap b/src/components/Install/__snapshots__/Install.test.tsx.snap index 6a15d2b..6b18fef 100644 --- a/src/components/Install/__snapshots__/Install.test.tsx.snap +++ b/src/components/Install/__snapshots__/Install.test.tsx.snap @@ -18,7 +18,7 @@ exports[` renders correctly 1`] = ` tabindex="0" >
npm renders correctly 1`] = ` tabindex="0" >
yarn renders correctly 1`] = ` tabindex="0" >
pnpm should load the component in default state 1`] = `"

Login

"`; +exports[` should load the component in default state 1`] = `"

Login

"`; -exports[` should load the component with props 1`] = `"

Login

Error Title
Error Description
"`; +exports[` should load the component with props 1`] = `"

Login

Error Title
Error Description
"`; diff --git a/src/components/Repository/__snapshots__/Repository.test.tsx.snap b/src/components/Repository/__snapshots__/Repository.test.tsx.snap index 6037fec..6dd2932 100644 --- a/src/components/Repository/__snapshots__/Repository.test.tsx.snap +++ b/src/components/Repository/__snapshots__/Repository.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `""`; +exports[` component should render the component in default state 1`] = `""`; diff --git a/src/components/Search/__snapshots__/Search.test.tsx.snap b/src/components/Search/__snapshots__/Search.test.tsx.snap index 19b6d2e..a0d10a5 100644 --- a/src/components/Search/__snapshots__/Search.test.tsx.snap +++ b/src/components/Search/__snapshots__/Search.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component test should load the component in default state 1`] = `"
"`; +exports[` component test should load the component in default state 1`] = `"
"`; diff --git a/src/muiComponents/TextField/__snapshots__/TextField.test.tsx.snap b/src/muiComponents/TextField/__snapshots__/TextField.test.tsx.snap index bc322eb..91b27e9 100644 --- a/src/muiComponents/TextField/__snapshots__/TextField.test.tsx.snap +++ b/src/muiComponents/TextField/__snapshots__/TextField.test.tsx.snap @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` component should render the component in default state 1`] = `"
"`; +exports[` component should render the component in default state 1`] = `"
"`; diff --git a/yarn.lock b/yarn.lock index a970bf3..5a00d5e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1367,22 +1367,20 @@ mkdirp "^0.5.1" rimraf "^2.5.2" -"@material-ui/core@4.5.1": - version "4.5.1" - resolved "https://registry.verdaccio.org/@material-ui%2fcore/-/core-4.5.1.tgz#6f1bbb298cc2893b29169ab9398a00ca5a6ac971" - integrity sha512-6pyk7diT7bflf4qUpqgPCpKYqjhRHPFwsgEV2Gv71lMqwxuRygFGHE2TdZ+l5T249H66Doj2P/j6fW7yzgxTWw== +"@material-ui/core@4.6.0": + version "4.6.0" + resolved "https://registry.verdaccio.org/@material-ui%2fcore/-/core-4.6.0.tgz#098a61d2af1778433d2d9a76de95be5f6aa87922" + integrity sha512-nzD0oO3R2dcX/+hmi5FUFSddMKySK76Ryuno3J/iOotbKvzXwbf9szzhL8KPNmsj+vizVNfkEfhzOuuCHRBKKQ== dependencies: "@babel/runtime" "^7.4.4" - "@material-ui/styles" "^4.5.0" - "@material-ui/system" "^4.5.0" + "@material-ui/styles" "^4.6.0" + "@material-ui/system" "^4.5.2" "@material-ui/types" "^4.1.1" - "@material-ui/utils" "^4.4.0" + "@material-ui/utils" "^4.5.2" "@types/react-transition-group" "^4.2.0" clsx "^1.0.2" convert-css-length "^2.0.1" - deepmerge "^4.0.0" hoist-non-react-statics "^3.2.1" - is-plain-object "^3.0.0" normalize-scroll-left "^0.2.0" popper.js "^1.14.1" prop-types "^15.7.2" @@ -1395,18 +1393,17 @@ dependencies: "@babel/runtime" "^7.4.4" -"@material-ui/styles@^4.5.0": - version "4.5.0" - resolved "https://registry.verdaccio.org/@material-ui%2fstyles/-/styles-4.5.0.tgz#4e591b8d44c7ecce318634bd8ac652499b6c277a" - integrity sha512-O0NSAECHK9f3DZK6wy56PZzp8b/7KSdfpJs8DSC7vnXUAoMPCTtchBKLzMtUsNlijiJFeJjSxNdQfjWXgyur5A== +"@material-ui/styles@^4.6.0": + version "4.6.0" + resolved "https://registry.verdaccio.org/@material-ui%2fstyles/-/styles-4.6.0.tgz#15679fab6dcbe0cc2416f01a22966f3ea26607c5" + integrity sha512-lqqh4UEMdIYcU1Yth4pQyMTah02uAkg3NOT3MirN9FUexdL8pNA6zCHigEgDSfwmvnXyxHhxTkphfy0DRfnt9w== dependencies: "@babel/runtime" "^7.4.4" "@emotion/hash" "^0.7.1" "@material-ui/types" "^4.1.1" - "@material-ui/utils" "^4.1.0" + "@material-ui/utils" "^4.5.2" clsx "^1.0.2" csstype "^2.5.2" - deepmerge "^4.0.0" hoist-non-react-statics "^3.2.1" jss "^10.0.0" jss-plugin-camel-case "^10.0.0" @@ -1418,13 +1415,13 @@ jss-plugin-vendor-prefixer "^10.0.0" prop-types "^15.7.2" -"@material-ui/system@^4.5.0": - version "4.5.1" - resolved "https://registry.verdaccio.org/@material-ui%2fsystem/-/system-4.5.1.tgz#d2d249667ca7ee8ff9f93517c06ee41eb89729de" - integrity sha512-M72CGz3MYxXTFLet2qWmQDBXZdtF7JKGqYaf7t9MPDYD6WYG6wKM2hUbgUtRKOwls8ZBXQGKsiAX8K4v5pXSPw== +"@material-ui/system@^4.5.2": + version "4.5.2" + resolved "https://registry.verdaccio.org/@material-ui%2fsystem/-/system-4.5.2.tgz#7143bd8422a3f33f435c23f378136254004bbd60" + integrity sha512-h9RWvdM9XKlHHqwiuhyvWdobptQkHli+m2jJFs7i1AI/hmGsIc4reDmS7fInhETgt/Txx7uiAIznfRNIIVHmQw== dependencies: "@babel/runtime" "^7.4.4" - deepmerge "^4.0.0" + "@material-ui/utils" "^4.5.2" prop-types "^15.7.2" "@material-ui/types@^4.1.1": @@ -1434,10 +1431,10 @@ dependencies: "@types/react" "*" -"@material-ui/utils@^4.1.0", "@material-ui/utils@^4.4.0": - version "4.4.0" - resolved "https://registry.verdaccio.org/@material-ui%2futils/-/utils-4.4.0.tgz#9275421e2798a067850d201212d46f12725828ad" - integrity sha512-UXoQVwArQEQWXxf2FPs0iJGT+MePQpKr0Qh0CPoLc1OdF0GSMTmQczcqCzwZkeHxHAOq/NkIKM1Pb/ih1Avicg== +"@material-ui/utils@^4.5.2": + version "4.5.2" + resolved "https://registry.verdaccio.org/@material-ui%2futils/-/utils-4.5.2.tgz#4c2fb531d357cf0da8cece53b588dff9b0bde934" + integrity sha512-zhbNfHd1gLa8At6RPDG7uMZubHxbY+LtM6IkSfeWi6Lo4Ax80l62YaN1QmUpO1IvGCkn/j62tQX3yObiQZrJsQ== dependencies: "@babel/runtime" "^7.4.4" prop-types "^15.7.2" @@ -4631,11 +4628,6 @@ deep-is@~0.1.3: resolved "https://registry.verdaccio.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= -deepmerge@^4.0.0: - version "4.0.0" - resolved "https://registry.verdaccio.org/deepmerge/-/deepmerge-4.0.0.tgz#3e3110ca29205f120d7cb064960a39c3d2087c09" - integrity sha512-YZ1rOP5+kHor4hMAH+HRQnBQHg+wvS1un1hAOuIcxcBy0hzcUf6Jg2a1w65kpoOUnurOfZbERwjI1TfZxNjcww== - default-gateway@^4.2.0: version "4.2.0" resolved "https://registry.verdaccio.org/default-gateway/-/default-gateway-4.2.0.tgz#167104c7500c2115f6dd69b0a536bb8ed720552b"