From c4e8e8388c8732cd3638915c4981649cdf45ea53 Mon Sep 17 00:00:00 2001 From: Ian Obermiller Date: Tue, 5 Jan 2016 17:12:09 -0800 Subject: [PATCH] Upgrade to inline-style-prefixer 0.6.2 Closes #482 --- interfaces/inline-style-prefixer.js | 7 ++++++- package.json | 2 +- src/__tests__/style-component-test.js | 14 ++++++-------- src/prefixer.js | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/interfaces/inline-style-prefixer.js b/interfaces/inline-style-prefixer.js index 9b176f9a..9ee6a94e 100644 --- a/interfaces/inline-style-prefixer.js +++ b/interfaces/inline-style-prefixer.js @@ -1,5 +1,10 @@ declare class InlineStylePrefixer { - constructor(userAgent?: ?string): void; + static prefixAll(style: Object): Object; + + constructor(config: { + keepUnprefixed?: bool, + userAgent?: ?string + }): void; prefix(style: Object): Object; } diff --git a/package.json b/package.json index e6c1c458..dfe231d0 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "babel-preset-react": "^6.3.13", "babel-preset-stage-1": "^6.3.13", "exenv": "^1.2.0", - "inline-style-prefixer": "^0.5.3", + "inline-style-prefixer": "^0.6.2", "is-plain-object": "^2.0.1", "rimraf": "^2.4.0" }, diff --git a/src/__tests__/style-component-test.js b/src/__tests__/style-component-test.js index 84d27cbe..cdf39334 100644 --- a/src/__tests__/style-component-test.js +++ b/src/__tests__/style-component-test.js @@ -53,10 +53,9 @@ describe('