diff --git a/package.json b/package.json index 0fc4694..08f1323 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "babel-jest": "^20.0.3", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", - "enzyme": "^2.8.2", + "enzyme": "^2.9.1", "enzyme-to-json": "^1.5.1", "eslint": "^3.17.1", "eslint-config-airbnb": "^14.1.0", @@ -28,19 +28,15 @@ "eslint-plugin-jsx-a11y": "^4.0.0", "eslint-plugin-react": "^6.10.0", "jest": "^20.0.4", - "jest-matcher-utils": "^20.0.3", "react": "^15.6.1", - "react-addons-test-utils": "^15.6.0", "react-dom": "^15.6.1", "react-test-renderer": "^15.6.1", - "styled-components": "^2.1.0" + "styled-components": "^2.1.1" }, "dependencies": { "css": "^2.2.1" }, "peerDependencies": { - "chalk": "^1.1.3", - "jest-diff": "^20.0.3", "jest-matcher-utils": "^20.0.3", "styled-components": "^2.0.0" }, diff --git a/test/__snapshots__/index.spec.js.snap b/test/__snapshots__/index.spec.js.snap index 235abb0..2277c6b 100644 --- a/test/__snapshots__/index.spec.js.snap +++ b/test/__snapshots__/index.spec.js.snap @@ -8,13 +8,11 @@ exports[`toMatchSnapshot mount 1`] = ` .c1 { font-size: 1.5em; - -webkit-text-align: center; text-align: center; color: palevioletred; } .c1:hover { - -webkit-text-decoration: underline; text-decoration: underline; } @@ -74,13 +72,11 @@ exports[`toMatchSnapshot test-renderer 1`] = ` .c1 { font-size: 1.5em; - -webkit-text-align: center; text-align: center; color: palevioletred; } .c1:hover { - -webkit-text-decoration: underline; text-decoration: underline; } diff --git a/yarn.lock b/yarn.lock index 1509ce2..f13928d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1106,20 +1106,20 @@ enzyme-to-json@^1.5.1: object-values "^1.0.0" object.entries "^1.0.3" -enzyme@^2.8.2: - version "2.8.2" - resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-2.8.2.tgz#6c8bcb05012abc4aa4bc3213fb23780b9b5b1714" +enzyme@^2.9.1: + version "2.9.1" + resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-2.9.1.tgz#07d5ce691241240fb817bf2c4b18d6e530240df6" dependencies: cheerio "^0.22.0" function.prototype.name "^1.0.0" is-subset "^0.1.1" - lodash "^4.17.2" + lodash "^4.17.4" object-is "^1.0.1" object.assign "^4.0.4" - object.entries "^1.0.3" - object.values "^1.0.3" - prop-types "^15.5.4" - uuid "^2.0.3" + object.entries "^1.0.4" + object.values "^1.0.4" + prop-types "^15.5.10" + uuid "^3.0.1" "errno@>=0.1.1 <0.2.0-0": version "0.1.4" @@ -2444,7 +2444,7 @@ lodash.some@^4.4.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d" -lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.2, lodash@^4.2.0, lodash@^4.3.0: +lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.3.0: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" @@ -2607,7 +2607,7 @@ object.assign@^4.0.4: function-bind "^1.1.0" object-keys "^1.0.10" -object.entries@^1.0.3: +object.entries@^1.0.3, object.entries@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.0.4.tgz#1bf9a4dd2288f5b33f3a993d257661f05d161a5f" dependencies: @@ -2623,7 +2623,7 @@ object.omit@^2.0.0: for-own "^0.1.4" is-extendable "^0.1.1" -object.values@^1.0.3: +object.values@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.0.4.tgz#e524da09b4f66ff05df457546ec72ac99f13069a" dependencies: @@ -2840,10 +2840,6 @@ randomatic@^1.1.3: is-number "^2.0.2" kind-of "^3.0.2" -react-addons-test-utils@^15.6.0: - version "15.6.0" - resolved "https://registry.yarnpkg.com/react-addons-test-utils/-/react-addons-test-utils-15.6.0.tgz#062d36117fe8d18f3ba5e06eb33383b0b85ea5b9" - react-dom@^15.6.1: version "15.6.1" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.6.1.tgz#2cb0ed4191038e53c209eb3a79a23e2a4cf99470" @@ -3236,9 +3232,9 @@ strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" -styled-components@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-2.1.0.tgz#425805fca7efa5880aad2171f986bfd8a2f0808f" +styled-components@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-2.1.1.tgz#7e9b5bc319ee3963b47aebb74f4658119ea9d484" dependencies: buffer "^5.0.3" css-to-react-native "^2.0.3" @@ -3247,12 +3243,12 @@ styled-components@^2.1.0: is-function "^1.0.1" is-plain-object "^2.0.1" prop-types "^15.5.4" - stylis "^3.0.19" + stylis "^3.2.1" supports-color "^3.2.3" -stylis@^3.0.19: - version "3.1.7" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.1.7.tgz#aba33dc3495784ecd768aed8b638a429a2ad2069" +stylis@^3.2.1: + version "3.2.3" + resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.2.3.tgz#fed751d792af3f48a247769f55aca05c1a100a09" supports-color@^2.0.0: version "2.0.0" @@ -3377,14 +3373,14 @@ util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" -uuid@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" - uuid@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" +uuid@^3.0.1: + version "3.1.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" + validate-npm-package-license@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc"