From 8762f8e9c8dc0f883da4a964c070aff0c9c494d3 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Fri, 17 Feb 2017 12:23:41 -0800 Subject: [PATCH] [change] depend on inline-style-prefixer@3.0.0 --- package.json | 2 +- .../renderApplication-test.js.snap | 10 ++--- .../__snapshots__/i18nStyle-test.js.snap | 2 - .../__snapshots__/index-test.js.snap | 5 --- yarn.lock | 40 +++++++++++-------- 5 files changed, 29 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index cb6a3c9f..bf97a07e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "debounce": "^1.0.0", "deep-assign": "^2.0.0", "fbjs": "^0.8.8", - "inline-style-prefixer": "^2.0.5", + "inline-style-prefixer": "^3.0.0", "normalize-css-color": "^1.0.2", "react-dom": "~15.4.1", "react-textarea-autosize": "^4.0.4", diff --git a/src/apis/AppRegistry/__tests__/__snapshots__/renderApplication-test.js.snap b/src/apis/AppRegistry/__tests__/__snapshots__/renderApplication-test.js.snap index 20575c58..6cceabdf 100644 --- a/src/apis/AppRegistry/__tests__/__snapshots__/renderApplication-test.js.snap +++ b/src/apis/AppRegistry/__tests__/__snapshots__/renderApplication-test.js.snap @@ -13,7 +13,7 @@ input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,input::-webkit .rn-position\\:absolute{position:absolute} .rn-right\\:0px{right:0px} .rn-top\\:0px{top:0px} -.rn-alignItems\\:stretch{-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch} +.rn-alignItems\\:stretch{-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch} .rn-backgroundColor\\:transparent{background-color:transparent} .rn-borderTopStyle\\:solid{border-top-style:solid} .rn-borderRightStyle\\:solid{border-right-style:solid} @@ -23,11 +23,11 @@ input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,input::-webkit .rn-borderRightWidth\\:0px{border-right-width:0px} .rn-borderBottomWidth\\:0px{border-bottom-width:0px} .rn-borderLeftWidth\\:0px{border-left-width:0px} -.rn-boxSizing\\:border-box{-moz-box-sizing:border-box;box-sizing:border-box} +.rn-boxSizing\\:border-box{box-sizing:border-box} .rn-color\\:inherit{color:inherit} .rn-display\\:flex{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex} -.rn-flexBasis\\:auto{-ms-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto} -.rn-flexDirection\\:column{-ms-flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;flex-direction:column} +.rn-flexBasis\\:auto{-webkit-flex-basis:auto;flex-basis:auto} +.rn-flexDirection\\:column{-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;flex-direction:column} .rn-font\\:inherit{font:inherit} .rn-listStyle\\:none{list-style:none} .rn-marginTop\\:0px{margin-top:0px} @@ -43,6 +43,6 @@ input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,input::-webkit .rn-position\\:relative{position:relative} .rn-textAlign\\:inherit{text-align:inherit} .rn-textDecoration\\:none{text-decoration:none} -.rn-flexShrink\\:0{-ms-flex-negative:0px;-webkit-flex-shrink:0px;flex-shrink:0} +.rn-flexShrink\\:0{-webkit-flex-shrink:0px;flex-shrink:0} " `; diff --git a/src/apis/StyleSheet/__tests__/__snapshots__/i18nStyle-test.js.snap b/src/apis/StyleSheet/__tests__/__snapshots__/i18nStyle-test.js.snap index 2f1ea7e6..b4a73f61 100644 --- a/src/apis/StyleSheet/__tests__/__snapshots__/i18nStyle-test.js.snap +++ b/src/apis/StyleSheet/__tests__/__snapshots__/i18nStyle-test.js.snap @@ -21,7 +21,6 @@ Object { "height": 10, "width": "1rem", }, - "writingDirection": "ltr", } `; @@ -48,6 +47,5 @@ Object { "height": 10, "width": "-1rem", }, - "writingDirection": "rtl", } `; diff --git a/src/components/View/__tests__/__snapshots__/index-test.js.snap b/src/components/View/__tests__/__snapshots__/index-test.js.snap index a0ed7ad2..7824087e 100644 --- a/src/components/View/__tests__/__snapshots__/index-test.js.snap +++ b/src/components/View/__tests__/__snapshots__/index-test.js.snap @@ -191,8 +191,6 @@ rn-textDecoration:none" "WebkitFlexShrink": 1, "flexGrow": 1, "flexShrink": 1, - "msFlexNegative": 1, - "msFlexPositive": 1, } } /> `; @@ -235,7 +233,6 @@ rn-textDecoration:none" Object { "WebkitFlexShrink": 1, "flexShrink": 1, - "msFlexNegative": 1, } } /> `; @@ -281,8 +278,6 @@ rn-textDecoration:none" "WebkitFlexShrink": 2, "flexGrow": 1, "flexShrink": 2, - "msFlexNegative": 2, - "msFlexPositive": 1, } } /> `; diff --git a/yarn.lock b/yarn.lock index 70bc0aa1..c0b29449 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1101,20 +1101,13 @@ babel-runtime@6.11.6: core-js "^2.4.0" regenerator-runtime "^0.9.5" -babel-runtime@6.x.x, babel-runtime@^6.0.0, babel-runtime@^6.11.6, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.5.0, babel-runtime@^6.9.0, babel-runtime@^6.9.1: +babel-runtime@6.x.x, babel-runtime@^6.0.0, babel-runtime@^6.11.6, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.5.0, babel-runtime@^6.9.0, babel-runtime@^6.9.1, babel-runtime@^6.9.2: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" dependencies: core-js "^2.4.0" regenerator-runtime "^0.10.0" -babel-runtime@^6.9.2: - version "6.20.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.20.0.tgz#87300bdcf4cd770f09bf0048c64204e17806d16f" - dependencies: - core-js "^2.4.0" - regenerator-runtime "^0.10.0" - babel-template@^6.14.0, babel-template@^6.15.0, babel-template@^6.16.0, babel-template@^6.23.0, babel-template@^6.8.0: version "6.23.0" resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.23.0.tgz#04d4f270adbb3aa704a8143ae26faa529238e638" @@ -1206,9 +1199,9 @@ boom@2.x.x: dependencies: hoek "2.x.x" -bowser@^1.0.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.5.0.tgz#b97414bacbc631f19f1e2e11466566ec19324983" +bowser@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/bowser/-/bowser-1.6.0.tgz#37fc387b616cb6aef370dab4d6bd402b74c5c54d" boxen@^0.6.0: version "0.6.0" @@ -1657,6 +1650,13 @@ css-color-names@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" +css-in-js-utils@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/css-in-js-utils/-/css-in-js-utils-1.0.2.tgz#f7e46b172fd994f2cd6745858c9eda9065f9bc6b" + dependencies: + hyphenate-style-name "^1.0.2" + unitless-css-property "^1.0.2" + css-loader@0.25.0: version "0.25.0" resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.25.0.tgz#c3febc8ce28f4c83576b6b13707f47f90c390223" @@ -2755,7 +2755,7 @@ https-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.0.tgz#b3ffdfe734b2a3d4a9efd58e8654c91fce86eafd" -hyphenate-style-name@^1.0.1: +hyphenate-style-name@^1.0.1, hyphenate-style-name@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.2.tgz#31160a36930adaf1fc04c6074f7eb41465d4ec4b" @@ -2824,12 +2824,12 @@ ini@~1.3.0: version "1.3.4" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" -inline-style-prefixer@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/inline-style-prefixer/-/inline-style-prefixer-2.0.5.tgz#c153c7e88fd84fef5c602e95a8168b2770671fe7" +inline-style-prefixer@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/inline-style-prefixer/-/inline-style-prefixer-3.0.0.tgz#4feb44053c29aa2fe2aaecac4fb3e9459f871239" dependencies: - bowser "^1.0.0" - hyphenate-style-name "^1.0.1" + bowser "^1.6.0" + css-in-js-utils "^1.0.0" inquirer@^0.12.0: version "0.12.0" @@ -5589,6 +5589,12 @@ uniqs@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" +unitless-css-property@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/unitless-css-property/-/unitless-css-property-1.0.2.tgz#dd4b666172fba241fcf50b6b31aee126700b170a" + dependencies: + hyphenate-style-name "^1.0.1" + unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"