Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inline-style-prefixer

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inline-style-prefixer - npm Package Compare versions

Comparing version 3.0.8 to 4.0.0

7

Changelog.md
# Changelog
## 4.0
### 4.0.0
* prefixed style objects are now reordered correctly [#147](https://github.com/rofrischmann/inline-style-prefixer/issues/147) )
* default browser versions have been bumped to meet new usage percentages
## 3.0
### 3.0.8

@@ -6,0 +11,0 @@ * added support for `writing-mode` [#139](https://github.com/rofrischmann/inline-style-prefixer/issues/139) )

24

dynamic/createPrefixer.js

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -11,23 +11,23 @@ Object.defineProperty(exports, "__esModule", {

var _getBrowserInformation = require('../utils/getBrowserInformation');
var _getBrowserInformation = require("../utils/getBrowserInformation");
var _getBrowserInformation2 = _interopRequireDefault(_getBrowserInformation);
var _getPrefixedKeyframes = require('../utils/getPrefixedKeyframes');
var _getPrefixedKeyframes = require("../utils/getPrefixedKeyframes");
var _getPrefixedKeyframes2 = _interopRequireDefault(_getPrefixedKeyframes);
var _capitalizeString = require('../utils/capitalizeString');
var _capitalizeString = require("../utils/capitalizeString");
var _capitalizeString2 = _interopRequireDefault(_capitalizeString);
var _addNewValuesOnly = require('../utils/addNewValuesOnly');
var _addNewValuesOnly = require("../utils/addNewValuesOnly");
var _addNewValuesOnly2 = _interopRequireDefault(_addNewValuesOnly);
var _isObject = require('../utils/isObject');
var _isObject = require("../utils/isObject");
var _isObject2 = _interopRequireDefault(_isObject);
var _prefixValue = require('../utils/prefixValue');
var _prefixValue = require("../utils/prefixValue");

@@ -58,3 +58,3 @@ var _prefixValue2 = _interopRequireDefault(_prefixValue);

var defaultUserAgent = typeof navigator !== 'undefined' ? navigator.userAgent : undefined;
var defaultUserAgent = typeof navigator !== "undefined" ? navigator.userAgent : undefined;

@@ -102,3 +102,3 @@ this._userAgent = options.userAgent || defaultUserAgent;

_createClass(Prefixer, [{
key: 'prefix',
key: "prefix",
value: function prefix(style) {

@@ -118,3 +118,3 @@ // use static prefixer as fallback if userAgent can not be resolved

}, {
key: '_prefixStyle',
key: "_prefixStyle",
value: function _prefixStyle(style) {

@@ -170,3 +170,3 @@ for (var property in style) {

}], [{
key: 'prefixAll',
key: "prefixAll",
value: function prefixAll(styles) {

@@ -180,2 +180,2 @@ return fallback(styles);

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -8,4 +8,4 @@ "use strict";

plugins: [],
prefixMap: { "chrome": { "appearance": 64, "userSelect": 53, "textEmphasisPosition": 64, "textEmphasis": 64, "textEmphasisStyle": 64, "textEmphasisColor": 64, "boxDecorationBreak": 64, "clipPath": 54, "maskImage": 64, "maskMode": 64, "maskRepeat": 64, "maskPosition": 64, "maskClip": 64, "maskOrigin": 64, "maskSize": 64, "maskComposite": 64, "mask": 64, "maskBorderSource": 64, "maskBorderMode": 64, "maskBorderSlice": 64, "maskBorderWidth": 64, "maskBorderOutset": 64, "maskBorderRepeat": 64, "maskBorder": 64, "maskType": 64, "textDecorationStyle": 56, "textDecorationSkip": 56, "textDecorationLine": 56, "textDecorationColor": 56, "filter": 52, "fontFeatureSettings": 47, "breakAfter": 49, "breakBefore": 49, "breakInside": 49, "columnCount": 49, "columnFill": 49, "columnGap": 49, "columnRule": 49, "columnRuleColor": 49, "columnRuleStyle": 49, "columnRuleWidth": 49, "columns": 49, "columnSpan": 49, "columnWidth": 49, "writingMode": 47 }, "safari": { "flex": 8, "flexBasis": 8, "flexDirection": 8, "flexGrow": 8, "flexFlow": 8, "flexShrink": 8, "flexWrap": 8, "alignContent": 8, "alignItems": 8, "alignSelf": 8, "justifyContent": 8, "order": 8, "transform": 8, "transformOrigin": 8, "transformOriginX": 8, "transformOriginY": 8, "backfaceVisibility": 8, "perspective": 8, "perspectiveOrigin": 8, "transformStyle": 8, "transformOriginZ": 8, "animation": 8, "animationDelay": 8, "animationDirection": 8, "animationFillMode": 8, "animationDuration": 8, "animationIterationCount": 8, "animationName": 8, "animationPlayState": 8, "animationTimingFunction": 8, "appearance": 11, "userSelect": 11, "backdropFilter": 11, "fontKerning": 9, "scrollSnapType": 10.1, "scrollSnapPointsX": 10.1, "scrollSnapPointsY": 10.1, "scrollSnapDestination": 10.1, "scrollSnapCoordinate": 10.1, "boxDecorationBreak": 11, "clipPath": 11, "maskImage": 11, "maskMode": 11, "maskRepeat": 11, "maskPosition": 11, "maskClip": 11, "maskOrigin": 11, "maskSize": 11, "maskComposite": 11, "mask": 11, "maskBorderSource": 11, "maskBorderMode": 11, "maskBorderSlice": 11, "maskBorderWidth": 11, "maskBorderOutset": 11, "maskBorderRepeat": 11, "maskBorder": 11, "maskType": 11, "textDecorationStyle": 11, "textDecorationSkip": 11, "textDecorationLine": 11, "textDecorationColor": 11, "shapeImageThreshold": 10, "shapeImageMargin": 10, "shapeImageOutside": 10, "filter": 9, "hyphens": 11, "flowInto": 11, "flowFrom": 11, "breakBefore": 8, "breakAfter": 8, "breakInside": 8, "regionFragment": 11, "columnCount": 8, "columnFill": 8, "columnGap": 8, "columnRule": 8, "columnRuleColor": 8, "columnRuleStyle": 8, "columnRuleWidth": 8, "columns": 8, "columnSpan": 8, "columnWidth": 8, "writingMode": 11 }, "firefox": { "appearance": 58, "userSelect": 58, "textAlignLast": 48, "tabSize": 58, "hyphens": 42, "breakAfter": 51, "breakBefore": 51, "breakInside": 51, "columnCount": 51, "columnFill": 51, "columnGap": 51, "columnRule": 51, "columnRuleColor": 51, "columnRuleStyle": 51, "columnRuleWidth": 51, "columns": 51, "columnSpan": 51, "columnWidth": 51 }, "opera": { "flex": 16, "flexBasis": 16, "flexDirection": 16, "flexGrow": 16, "flexFlow": 16, "flexShrink": 16, "flexWrap": 16, "alignContent": 16, "alignItems": 16, "alignSelf": 16, "justifyContent": 16, "order": 16, "transform": 22, "transformOrigin": 22, "transformOriginX": 22, "transformOriginY": 22, "backfaceVisibility": 22, "perspective": 22, "perspectiveOrigin": 22, "transformStyle": 22, "transformOriginZ": 22, "animation": 29, "animationDelay": 29, "animationDirection": 29, "animationFillMode": 29, "animationDuration": 29, "animationIterationCount": 29, "animationName": 29, "animationPlayState": 29, "animationTimingFunction": 29, "appearance": 49, "userSelect": 40, "fontKerning": 19, "textEmphasisPosition": 49, "textEmphasis": 49, "textEmphasisStyle": 49, "textEmphasisColor": 49, "boxDecorationBreak": 49, "clipPath": 41, "maskImage": 49, "maskMode": 49, "maskRepeat": 49, "maskPosition": 49, "maskClip": 49, "maskOrigin": 49, "maskSize": 49, "maskComposite": 49, "mask": 49, "maskBorderSource": 49, "maskBorderMode": 49, "maskBorderSlice": 49, "maskBorderWidth": 49, "maskBorderOutset": 49, "maskBorderRepeat": 49, "maskBorder": 49, "maskType": 49, "textDecorationStyle": 43, "textDecorationSkip": 43, "textDecorationLine": 43, "textDecorationColor": 43, "filter": 39, "fontFeatureSettings": 34, "breakAfter": 36, "breakBefore": 36, "breakInside": 36, "columnCount": 36, "columnFill": 36, "columnGap": 36, "columnRule": 36, "columnRuleColor": 36, "columnRuleStyle": 36, "columnRuleWidth": 36, "columns": 36, "columnSpan": 36, "columnWidth": 36, "writingMode": 34 }, "ie": { "userSelect": 11, "wrapFlow": 11, "wrapThrough": 11, "wrapMargin": 11, "scrollSnapType": 11, "scrollSnapPointsX": 11, "scrollSnapPointsY": 11, "scrollSnapDestination": 11, "scrollSnapCoordinate": 11, "hyphens": 11, "flowInto": 11, "flowFrom": 11, "breakBefore": 11, "breakAfter": 11, "breakInside": 11, "regionFragment": 11, "gridTemplateColumns": 11, "gridTemplateRows": 11, "gridTemplateAreas": 11, "gridTemplate": 11, "gridAutoColumns": 11, "gridAutoRows": 11, "gridAutoFlow": 11, "grid": 11, "gridRowStart": 11, "gridColumnStart": 11, "gridRowEnd": 11, "gridRow": 11, "gridColumn": 11, "gridColumnEnd": 11, "gridColumnGap": 11, "gridRowGap": 11, "gridArea": 11, "gridGap": 11, "textSizeAdjust": 11, "writingMode": 11 }, "edge": { "userSelect": 16, "wrapFlow": 16, "wrapThrough": 16, "wrapMargin": 16, "scrollSnapType": 16, "scrollSnapPointsX": 16, "scrollSnapPointsY": 16, "scrollSnapDestination": 16, "scrollSnapCoordinate": 16, "hyphens": 16, "flowInto": 16, "flowFrom": 16, "breakBefore": 16, "breakAfter": 16, "breakInside": 16, "regionFragment": 16, "gridTemplateColumns": 15, "gridTemplateRows": 15, "gridTemplateAreas": 15, "gridTemplate": 15, "gridAutoColumns": 15, "gridAutoRows": 15, "gridAutoFlow": 15, "grid": 15, "gridRowStart": 15, "gridColumnStart": 15, "gridRowEnd": 15, "gridRow": 15, "gridColumn": 15, "gridColumnEnd": 15, "gridColumnGap": 15, "gridRowGap": 15, "gridArea": 15, "gridGap": 15 }, "ios_saf": { "flex": 8.1, "flexBasis": 8.1, "flexDirection": 8.1, "flexGrow": 8.1, "flexFlow": 8.1, "flexShrink": 8.1, "flexWrap": 8.1, "alignContent": 8.1, "alignItems": 8.1, "alignSelf": 8.1, "justifyContent": 8.1, "order": 8.1, "transform": 8.1, "transformOrigin": 8.1, "transformOriginX": 8.1, "transformOriginY": 8.1, "backfaceVisibility": 8.1, "perspective": 8.1, "perspectiveOrigin": 8.1, "transformStyle": 8.1, "transformOriginZ": 8.1, "animation": 8.1, "animationDelay": 8.1, "animationDirection": 8.1, "animationFillMode": 8.1, "animationDuration": 8.1, "animationIterationCount": 8.1, "animationName": 8.1, "animationPlayState": 8.1, "animationTimingFunction": 8.1, "appearance": 11, "userSelect": 11, "backdropFilter": 11, "fontKerning": 11, "scrollSnapType": 11, "scrollSnapPointsX": 11, "scrollSnapPointsY": 11, "scrollSnapDestination": 11, "scrollSnapCoordinate": 11, "boxDecorationBreak": 11, "clipPath": 11, "maskImage": 11, "maskMode": 11, "maskRepeat": 11, "maskPosition": 11, "maskClip": 11, "maskOrigin": 11, "maskSize": 11, "maskComposite": 11, "mask": 11, "maskBorderSource": 11, "maskBorderMode": 11, "maskBorderSlice": 11, "maskBorderWidth": 11, "maskBorderOutset": 11, "maskBorderRepeat": 11, "maskBorder": 11, "maskType": 11, "textSizeAdjust": 11, "textDecorationStyle": 11, "textDecorationSkip": 11, "textDecorationLine": 11, "textDecorationColor": 11, "shapeImageThreshold": 10, "shapeImageMargin": 10, "shapeImageOutside": 10, "filter": 9, "hyphens": 11, "flowInto": 11, "flowFrom": 11, "breakBefore": 8.1, "breakAfter": 8.1, "breakInside": 8.1, "regionFragment": 11, "columnCount": 8.1, "columnFill": 8.1, "columnGap": 8.1, "columnRule": 8.1, "columnRuleColor": 8.1, "columnRuleStyle": 8.1, "columnRuleWidth": 8.1, "columns": 8.1, "columnSpan": 8.1, "columnWidth": 8.1, "writingMode": 11 }, "android": { "borderImage": 4.2, "borderImageOutset": 4.2, "borderImageRepeat": 4.2, "borderImageSlice": 4.2, "borderImageSource": 4.2, "borderImageWidth": 4.2, "flex": 4.2, "flexBasis": 4.2, "flexDirection": 4.2, "flexGrow": 4.2, "flexFlow": 4.2, "flexShrink": 4.2, "flexWrap": 4.2, "alignContent": 4.2, "alignItems": 4.2, "alignSelf": 4.2, "justifyContent": 4.2, "order": 4.2, "transition": 4.2, "transitionDelay": 4.2, "transitionDuration": 4.2, "transitionProperty": 4.2, "transitionTimingFunction": 4.2, "transform": 4.4, "transformOrigin": 4.4, "transformOriginX": 4.4, "transformOriginY": 4.4, "backfaceVisibility": 4.4, "perspective": 4.4, "perspectiveOrigin": 4.4, "transformStyle": 4.4, "transformOriginZ": 4.4, "animation": 4.4, "animationDelay": 4.4, "animationDirection": 4.4, "animationFillMode": 4.4, "animationDuration": 4.4, "animationIterationCount": 4.4, "animationName": 4.4, "animationPlayState": 4.4, "animationTimingFunction": 4.4, "appearance": 56, "userSelect": 4.4, "fontKerning": 4.4, "textEmphasisPosition": 56, "textEmphasis": 56, "textEmphasisStyle": 56, "textEmphasisColor": 56, "boxDecorationBreak": 56, "clipPath": 4.4, "maskImage": 56, "maskMode": 56, "maskRepeat": 56, "maskPosition": 56, "maskClip": 56, "maskOrigin": 56, "maskSize": 56, "maskComposite": 56, "mask": 56, "maskBorderSource": 56, "maskBorderMode": 56, "maskBorderSlice": 56, "maskBorderWidth": 56, "maskBorderOutset": 56, "maskBorderRepeat": 56, "maskBorder": 56, "maskType": 56, "filter": 4.4, "fontFeatureSettings": 4.4, "breakAfter": 4.4, "breakBefore": 4.4, "breakInside": 4.4, "columnCount": 4.4, "columnFill": 4.4, "columnGap": 4.4, "columnRule": 4.4, "columnRuleColor": 4.4, "columnRuleStyle": 4.4, "columnRuleWidth": 4.4, "columns": 4.4, "columnSpan": 4.4, "columnWidth": 4.4, "writingMode": 4.4 }, "and_chr": { "appearance": 61, "textEmphasisPosition": 61, "textEmphasis": 61, "textEmphasisStyle": 61, "textEmphasisColor": 61, "boxDecorationBreak": 61, "maskImage": 61, "maskMode": 61, "maskRepeat": 61, "maskPosition": 61, "maskClip": 61, "maskOrigin": 61, "maskSize": 61, "maskComposite": 61, "mask": 61, "maskBorderSource": 61, "maskBorderMode": 61, "maskBorderSlice": 61, "maskBorderWidth": 61, "maskBorderOutset": 61, "maskBorderRepeat": 61, "maskBorder": 61, "maskType": 61 }, "and_uc": { "flex": 11.4, "flexBasis": 11.4, "flexDirection": 11.4, "flexGrow": 11.4, "flexFlow": 11.4, "flexShrink": 11.4, "flexWrap": 11.4, "alignContent": 11.4, "alignItems": 11.4, "alignSelf": 11.4, "justifyContent": 11.4, "order": 11.4, "transform": 11.4, "transformOrigin": 11.4, "transformOriginX": 11.4, "transformOriginY": 11.4, "backfaceVisibility": 11.4, "perspective": 11.4, "perspectiveOrigin": 11.4, "transformStyle": 11.4, "transformOriginZ": 11.4, "animation": 11.4, "animationDelay": 11.4, "animationDirection": 11.4, "animationFillMode": 11.4, "animationDuration": 11.4, "animationIterationCount": 11.4, "animationName": 11.4, "animationPlayState": 11.4, "animationTimingFunction": 11.4, "appearance": 11.4, "userSelect": 11.4, "textEmphasisPosition": 11.4, "textEmphasis": 11.4, "textEmphasisStyle": 11.4, "textEmphasisColor": 11.4, "clipPath": 11.4, "maskImage": 11.4, "maskMode": 11.4, "maskRepeat": 11.4, "maskPosition": 11.4, "maskClip": 11.4, "maskOrigin": 11.4, "maskSize": 11.4, "maskComposite": 11.4, "mask": 11.4, "maskBorderSource": 11.4, "maskBorderMode": 11.4, "maskBorderSlice": 11.4, "maskBorderWidth": 11.4, "maskBorderOutset": 11.4, "maskBorderRepeat": 11.4, "maskBorder": 11.4, "maskType": 11.4, "textSizeAdjust": 11.4, "filter": 11.4, "hyphens": 11.4, "fontFeatureSettings": 11.4, "breakAfter": 11.4, "breakBefore": 11.4, "breakInside": 11.4, "columnCount": 11.4, "columnFill": 11.4, "columnGap": 11.4, "columnRule": 11.4, "columnRuleColor": 11.4, "columnRuleStyle": 11.4, "columnRuleWidth": 11.4, "columns": 11.4, "columnSpan": 11.4, "columnWidth": 11.4, "writingMode": 11.4 }, "op_mini": {} }
prefixMap: { "chrome": { "appearance": 62, "textEmphasisPosition": 62, "textEmphasis": 62, "textEmphasisStyle": 62, "textEmphasisColor": 62, "boxDecorationBreak": 62, "maskImage": 62, "maskMode": 62, "maskRepeat": 62, "maskPosition": 62, "maskClip": 62, "maskOrigin": 62, "maskSize": 62, "maskComposite": 62, "mask": 62, "maskBorderSource": 62, "maskBorderMode": 62, "maskBorderSlice": 62, "maskBorderWidth": 62, "maskBorderOutset": 62, "maskBorderRepeat": 62, "maskBorder": 62, "maskType": 62, "textDecorationStyle": 56, "textDecorationSkip": 56, "textDecorationLine": 56, "textDecorationColor": 56 }, "safari": { "appearance": 11, "userSelect": 11, "backdropFilter": 11, "fontKerning": 9, "scrollSnapType": 10.1, "scrollSnapPointsX": 10.1, "scrollSnapPointsY": 10.1, "scrollSnapDestination": 10.1, "scrollSnapCoordinate": 10.1, "boxDecorationBreak": 11, "clipPath": 11, "maskImage": 11, "maskMode": 11, "maskRepeat": 11, "maskPosition": 11, "maskClip": 11, "maskOrigin": 11, "maskSize": 11, "maskComposite": 11, "mask": 11, "maskBorderSource": 11, "maskBorderMode": 11, "maskBorderSlice": 11, "maskBorderWidth": 11, "maskBorderOutset": 11, "maskBorderRepeat": 11, "maskBorder": 11, "maskType": 11, "textDecorationStyle": 11, "textDecorationSkip": 11, "textDecorationLine": 11, "textDecorationColor": 11, "shapeImageThreshold": 10, "shapeImageMargin": 10, "shapeImageOutside": 10, "filter": 9, "hyphens": 11, "flowInto": 11, "flowFrom": 11, "breakBefore": 11, "breakAfter": 11, "breakInside": 11, "regionFragment": 11, "writingMode": 11 }, "firefox": { "appearance": 56, "userSelect": 56, "tabSize": 56 }, "opera": { "appearance": 47, "userSelect": 40, "textEmphasisPosition": 47, "textEmphasis": 47, "textEmphasisStyle": 47, "textEmphasisColor": 47, "boxDecorationBreak": 47, "clipPath": 41, "maskImage": 47, "maskMode": 47, "maskRepeat": 47, "maskPosition": 47, "maskClip": 47, "maskOrigin": 47, "maskSize": 47, "maskComposite": 47, "mask": 47, "maskBorderSource": 47, "maskBorderMode": 47, "maskBorderSlice": 47, "maskBorderWidth": 47, "maskBorderOutset": 47, "maskBorderRepeat": 47, "maskBorder": 47, "maskType": 47, "textDecorationStyle": 43, "textDecorationSkip": 43, "textDecorationLine": 43, "textDecorationColor": 43, "filter": 39, "fontFeatureSettings": 34, "breakAfter": 36, "breakBefore": 36, "breakInside": 36, "columnCount": 36, "columnFill": 36, "columnGap": 36, "columnRule": 36, "columnRuleColor": 36, "columnRuleStyle": 36, "columnRuleWidth": 36, "columns": 36, "columnSpan": 36, "columnWidth": 36, "writingMode": 34 }, "ie": { "userSelect": 11, "wrapFlow": 11, "wrapThrough": 11, "wrapMargin": 11, "scrollSnapType": 11, "scrollSnapPointsX": 11, "scrollSnapPointsY": 11, "scrollSnapDestination": 11, "scrollSnapCoordinate": 11, "hyphens": 11, "flowInto": 11, "flowFrom": 11, "breakBefore": 11, "breakAfter": 11, "breakInside": 11, "regionFragment": 11, "gridTemplateColumns": 11, "gridTemplateRows": 11, "gridTemplateAreas": 11, "gridTemplate": 11, "gridAutoColumns": 11, "gridAutoRows": 11, "gridAutoFlow": 11, "grid": 11, "gridRowStart": 11, "gridColumnStart": 11, "gridRowEnd": 11, "gridRow": 11, "gridColumn": 11, "gridColumnEnd": 11, "gridColumnGap": 11, "gridRowGap": 11, "gridArea": 11, "gridGap": 11, "textSizeAdjust": 11, "writingMode": 11 }, "edge": { "userSelect": 16, "wrapFlow": 16, "wrapThrough": 16, "wrapMargin": 16, "scrollSnapType": 16, "scrollSnapPointsX": 16, "scrollSnapPointsY": 16, "scrollSnapDestination": 16, "scrollSnapCoordinate": 16, "hyphens": 16, "flowInto": 16, "flowFrom": 16, "breakBefore": 16, "breakAfter": 16, "breakInside": 16, "regionFragment": 16, "gridTemplateColumns": 16, "gridTemplateRows": 16, "gridTemplateAreas": 16, "gridTemplate": 16, "gridAutoColumns": 16, "gridAutoRows": 16, "gridAutoFlow": 16, "grid": 16, "gridRowStart": 16, "gridColumnStart": 16, "gridRowEnd": 16, "gridRow": 16, "gridColumn": 16, "gridColumnEnd": 16, "gridColumnGap": 16, "gridRowGap": 16, "gridArea": 16, "gridGap": 16 }, "ios_saf": { "appearance": 11, "userSelect": 11, "backdropFilter": 11, "fontKerning": 11, "scrollSnapType": 11, "scrollSnapPointsX": 11, "scrollSnapPointsY": 11, "scrollSnapDestination": 11, "scrollSnapCoordinate": 11, "boxDecorationBreak": 11, "clipPath": 11, "maskImage": 11, "maskMode": 11, "maskRepeat": 11, "maskPosition": 11, "maskClip": 11, "maskOrigin": 11, "maskSize": 11, "maskComposite": 11, "mask": 11, "maskBorderSource": 11, "maskBorderMode": 11, "maskBorderSlice": 11, "maskBorderWidth": 11, "maskBorderOutset": 11, "maskBorderRepeat": 11, "maskBorder": 11, "maskType": 11, "textSizeAdjust": 11, "textDecorationStyle": 11, "textDecorationSkip": 11, "textDecorationLine": 11, "textDecorationColor": 11, "shapeImageThreshold": 10, "shapeImageMargin": 10, "shapeImageOutside": 10, "filter": 9, "hyphens": 11, "flowInto": 11, "flowFrom": 11, "breakBefore": 11, "breakAfter": 11, "breakInside": 11, "regionFragment": 11, "writingMode": 11 }, "android": { "appearance": 56, "textEmphasisPosition": 56, "textEmphasis": 56, "textEmphasisStyle": 56, "textEmphasisColor": 56, "boxDecorationBreak": 56, "maskImage": 56, "maskMode": 56, "maskRepeat": 56, "maskPosition": 56, "maskClip": 56, "maskOrigin": 56, "maskSize": 56, "maskComposite": 56, "mask": 56, "maskBorderSource": 56, "maskBorderMode": 56, "maskBorderSlice": 56, "maskBorderWidth": 56, "maskBorderOutset": 56, "maskBorderRepeat": 56, "maskBorder": 56, "maskType": 56, "breakAfter": 56, "breakBefore": 56, "breakInside": 56, "columnCount": 56, "columnFill": 56, "columnGap": 56, "columnRule": 56, "columnRuleColor": 56, "columnRuleStyle": 56, "columnRuleWidth": 56, "columns": 56, "columnSpan": 56, "columnWidth": 56 }, "and_chr": { "appearance": 59, "textEmphasisPosition": 59, "textEmphasis": 59, "textEmphasisStyle": 59, "textEmphasisColor": 59, "boxDecorationBreak": 59, "maskImage": 59, "maskMode": 59, "maskRepeat": 59, "maskPosition": 59, "maskClip": 59, "maskOrigin": 59, "maskSize": 59, "maskComposite": 59, "mask": 59, "maskBorderSource": 59, "maskBorderMode": 59, "maskBorderSlice": 59, "maskBorderWidth": 59, "maskBorderOutset": 59, "maskBorderRepeat": 59, "maskBorder": 59, "maskType": 59 }, "and_uc": { "flex": 11.4, "flexBasis": 11.4, "flexDirection": 11.4, "flexGrow": 11.4, "flexFlow": 11.4, "flexShrink": 11.4, "flexWrap": 11.4, "alignContent": 11.4, "alignItems": 11.4, "alignSelf": 11.4, "justifyContent": 11.4, "order": 11.4, "transform": 11.4, "transformOrigin": 11.4, "transformOriginX": 11.4, "transformOriginY": 11.4, "backfaceVisibility": 11.4, "perspective": 11.4, "perspectiveOrigin": 11.4, "transformStyle": 11.4, "transformOriginZ": 11.4, "animation": 11.4, "animationDelay": 11.4, "animationDirection": 11.4, "animationFillMode": 11.4, "animationDuration": 11.4, "animationIterationCount": 11.4, "animationName": 11.4, "animationPlayState": 11.4, "animationTimingFunction": 11.4, "appearance": 11.4, "userSelect": 11.4, "textEmphasisPosition": 11.4, "textEmphasis": 11.4, "textEmphasisStyle": 11.4, "textEmphasisColor": 11.4, "clipPath": 11.4, "maskImage": 11.4, "maskMode": 11.4, "maskRepeat": 11.4, "maskPosition": 11.4, "maskClip": 11.4, "maskOrigin": 11.4, "maskSize": 11.4, "maskComposite": 11.4, "mask": 11.4, "maskBorderSource": 11.4, "maskBorderMode": 11.4, "maskBorderSlice": 11.4, "maskBorderWidth": 11.4, "maskBorderOutset": 11.4, "maskBorderRepeat": 11.4, "maskBorder": 11.4, "maskType": 11.4, "textSizeAdjust": 11.4, "filter": 11.4, "hyphens": 11.4, "fontFeatureSettings": 11.4, "breakAfter": 11.4, "breakBefore": 11.4, "breakInside": 11.4, "columnCount": 11.4, "columnFill": 11.4, "columnGap": 11.4, "columnRule": 11.4, "columnRuleColor": 11.4, "columnRuleStyle": 11.4, "columnRuleWidth": 11.4, "columns": 11.4, "columnSpan": 11.4, "columnWidth": 11.4, "writingMode": 11.4 }, "op_mini": {} }
};
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -7,51 +7,51 @@ Object.defineProperty(exports, "__esModule", {

var _createPrefixer = require('./createPrefixer');
var _createPrefixer = require("./createPrefixer");
var _createPrefixer2 = _interopRequireDefault(_createPrefixer);
var _cursor = require('./plugins/cursor');
var _cursor = require("./plugins/cursor");
var _cursor2 = _interopRequireDefault(_cursor);
var _crossFade = require('./plugins/crossFade');
var _crossFade = require("./plugins/crossFade");
var _crossFade2 = _interopRequireDefault(_crossFade);
var _filter = require('./plugins/filter');
var _filter = require("./plugins/filter");
var _filter2 = _interopRequireDefault(_filter);
var _flex = require('./plugins/flex');
var _flex = require("./plugins/flex");
var _flex2 = _interopRequireDefault(_flex);
var _flexboxOld = require('./plugins/flexboxOld');
var _flexboxOld = require("./plugins/flexboxOld");
var _flexboxOld2 = _interopRequireDefault(_flexboxOld);
var _gradient = require('./plugins/gradient');
var _gradient = require("./plugins/gradient");
var _gradient2 = _interopRequireDefault(_gradient);
var _imageSet = require('./plugins/imageSet');
var _imageSet = require("./plugins/imageSet");
var _imageSet2 = _interopRequireDefault(_imageSet);
var _position = require('./plugins/position');
var _position = require("./plugins/position");
var _position2 = _interopRequireDefault(_position);
var _sizing = require('./plugins/sizing');
var _sizing = require("./plugins/sizing");
var _sizing2 = _interopRequireDefault(_sizing);
var _transition = require('./plugins/transition');
var _transition = require("./plugins/transition");
var _transition2 = _interopRequireDefault(_transition);
var _static = require('../static');
var _static = require("../static");
var _static2 = _interopRequireDefault(_static);
var _dynamicData = require('./dynamicData');
var _dynamicData = require("./dynamicData");

@@ -69,2 +69,2 @@ var _dynamicData2 = _interopRequireDefault(_dynamicData);

exports.default = Prefixer;
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -21,6 +21,6 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

if (typeof value === 'string' && value.indexOf('calc(') > -1 && (browserName === 'firefox' && browserVersion < 15 || browserName === 'chrome' && browserVersion < 25 || browserName === 'safari' && browserVersion < 6.1 || browserName === 'ios_saf' && browserVersion < 7)) {
return (0, _getPrefixedValue2.default)(value.replace(/calc\(/g, cssPrefix + 'calc('), value, keepUnprefixed);
if (typeof value === "string" && value.indexOf("calc(") > -1 && (browserName === "firefox" && browserVersion < 15 || browserName === "chrome" && browserVersion < 25 || browserName === "safari" && browserVersion < 6.1 || browserName === "ios_saf" && browserVersion < 7)) {
return (0, _getPrefixedValue2.default)(value.replace(/calc\(/g, cssPrefix + "calc("), value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -21,6 +21,6 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

if (typeof value === 'string' && value.indexOf('cross-fade(') > -1 && (browserName === 'chrome' || browserName === 'opera' || browserName === 'and_chr' || (browserName === 'ios_saf' || browserName === 'safari') && browserVersion < 10)) {
return (0, _getPrefixedValue2.default)(value.replace(/cross-fade\(/g, cssPrefix + 'cross-fade('), value, keepUnprefixed);
if (typeof value === "string" && value.indexOf("cross-fade(") > -1 && (browserName === "chrome" || browserName === "opera" || browserName === "and_chr" || (browserName === "ios_saf" || browserName === "safari") && browserVersion < 10)) {
return (0, _getPrefixedValue2.default)(value.replace(/cross-fade\(/g, cssPrefix + "cross-fade("), value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -22,4 +22,4 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

var zoomValues = {
'zoom-in': true,
'zoom-out': true
"zoom-in": true,
"zoom-out": true
};

@@ -36,10 +36,10 @@

// see: https://github.com/rofrischmann/inline-style-prefixer/issues/79
if (property === 'cursor' && grabValues[value] && (browserName === 'firefox' || browserName === 'chrome' || browserName === 'safari' || browserName === 'opera')) {
if (property === "cursor" && grabValues[value] && (browserName === "firefox" || browserName === "chrome" || browserName === "safari" || browserName === "opera")) {
return (0, _getPrefixedValue2.default)(cssPrefix + value, value, keepUnprefixed);
}
if (property === 'cursor' && zoomValues[value] && (browserName === 'firefox' && browserVersion < 24 || browserName === 'chrome' && browserVersion < 37 || browserName === 'safari' && browserVersion < 9 || browserName === 'opera' && browserVersion < 24)) {
if (property === "cursor" && zoomValues[value] && (browserName === "firefox" && browserVersion < 24 || browserName === "chrome" && browserVersion < 37 || browserName === "safari" && browserVersion < 9 || browserName === "opera" && browserVersion < 24)) {
return (0, _getPrefixedValue2.default)(cssPrefix + value, value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -21,6 +21,6 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

if (typeof value === 'string' && value.indexOf('filter(') > -1 && (browserName === 'ios_saf' || browserName === 'safari' && browserVersion < 9.1)) {
return (0, _getPrefixedValue2.default)(value.replace(/filter\(/g, cssPrefix + 'filter('), value, keepUnprefixed);
if (typeof value === "string" && value.indexOf("filter(") > -1 && (browserName === "ios_saf" || browserName === "safari" && browserVersion < 9.1)) {
return (0, _getPrefixedValue2.default)(value.replace(/filter\(/g, cssPrefix + "filter("), value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -17,3 +17,3 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

flex: true,
'inline-flex': true
"inline-flex": true
};

@@ -26,6 +26,6 @@ function flex(property, value, style, _ref) {

if (property === 'display' && values[value] && (browserName === 'chrome' && browserVersion < 29 && browserVersion > 20 || (browserName === 'safari' || browserName === 'ios_saf') && browserVersion < 9 && browserVersion > 6 || browserName === 'opera' && (browserVersion === 15 || browserVersion === 16))) {
if (property === "display" && values[value] && (browserName === "chrome" && browserVersion < 29 && browserVersion > 20 || (browserName === "safari" || browserName === "ios_saf") && browserVersion < 9 && browserVersion > 6 || browserName === "opera" && (browserVersion === 15 || browserVersion === 16))) {
return (0, _getPrefixedValue2.default)(cssPrefix + value, value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -16,19 +16,19 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

var alternativeValues = {
'space-around': 'distribute',
'space-between': 'justify',
'flex-start': 'start',
'flex-end': 'end',
flex: 'flexbox',
'inline-flex': 'inline-flexbox'
"space-around": "distribute",
"space-between": "justify",
"flex-start": "start",
"flex-end": "end",
flex: "flexbox",
"inline-flex": "inline-flexbox"
};
var alternativeProps = {
alignContent: 'msFlexLinePack',
alignSelf: 'msFlexItemAlign',
alignItems: 'msFlexAlign',
justifyContent: 'msFlexPack',
order: 'msFlexOrder',
flexGrow: 'msFlexPositive',
flexShrink: 'msFlexNegative',
flexBasis: 'msFlexPreferredSize'
alignContent: "msFlexLinePack",
alignSelf: "msFlexItemAlign",
alignItems: "msFlexAlign",
justifyContent: "msFlexPack",
order: "msFlexOrder",
flexGrow: "msFlexPositive",
flexShrink: "msFlexNegative",
flexBasis: "msFlexPreferredSize"
};

@@ -43,3 +43,3 @@

if ((alternativeProps.hasOwnProperty(property) || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && (browserName === 'ie_mob' || browserName === 'ie') && browserVersion === 10) {
if ((alternativeProps.hasOwnProperty(property) || property === "display" && typeof value === "string" && value.indexOf("flex") > -1) && (browserName === "ie_mob" || browserName === "ie") && browserVersion === 10) {
delete requiresPrefix[property];

@@ -50,3 +50,3 @@

}
if (property === 'display' && alternativeValues.hasOwnProperty(value)) {
if (property === "display" && alternativeValues.hasOwnProperty(value)) {
return (0, _getPrefixedValue2.default)(cssPrefix + alternativeValues[value], value, keepUnprefixed);

@@ -59,2 +59,2 @@ }

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -16,10 +16,10 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

var alternativeValues = {
'space-around': 'justify',
'space-between': 'justify',
'flex-start': 'start',
'flex-end': 'end',
'wrap-reverse': 'multiple',
wrap: 'multiple',
flex: 'box',
'inline-flex': 'inline-box'
"space-around": "justify",
"space-between": "justify",
"flex-start": "start",
"flex-end": "end",
"wrap-reverse": "multiple",
wrap: "multiple",
flex: "box",
"inline-flex": "inline-box"
};

@@ -29,8 +29,8 @@

var alternativeProps = {
alignItems: 'WebkitBoxAlign',
justifyContent: 'WebkitBoxPack',
flexWrap: 'WebkitBoxLines'
alignItems: "WebkitBoxAlign",
justifyContent: "WebkitBoxPack",
flexWrap: "WebkitBoxLines"
};
var otherProps = ['alignContent', 'alignSelf', 'order', 'flexGrow', 'flexShrink', 'flexBasis', 'flexDirection'];
var otherProps = ["alignContent", "alignSelf", "order", "flexGrow", "flexShrink", "flexBasis", "flexDirection"];
var properties = Object.keys(alternativeProps).concat(otherProps);

@@ -45,3 +45,3 @@

if ((properties.indexOf(property) > -1 || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && (browserName === 'firefox' && browserVersion < 22 || browserName === 'chrome' && browserVersion < 21 || (browserName === 'safari' || browserName === 'ios_saf') && browserVersion <= 6.1 || browserName === 'android' && browserVersion < 4.4 || browserName === 'and_uc')) {
if ((properties.indexOf(property) > -1 || property === "display" && typeof value === "string" && value.indexOf("flex") > -1) && (browserName === "firefox" && browserVersion < 22 || browserName === "chrome" && browserVersion < 21 || (browserName === "safari" || browserName === "ios_saf") && browserVersion <= 6.1 || browserName === "android" && browserVersion < 4.4 || browserName === "and_uc")) {
delete requiresPrefix[property];

@@ -52,15 +52,15 @@

}
if (property === 'flexDirection' && typeof value === 'string') {
if (value.indexOf('column') > -1) {
style.WebkitBoxOrient = 'vertical';
if (property === "flexDirection" && typeof value === "string") {
if (value.indexOf("column") > -1) {
style.WebkitBoxOrient = "vertical";
} else {
style.WebkitBoxOrient = 'horizontal';
style.WebkitBoxOrient = "horizontal";
}
if (value.indexOf('reverse') > -1) {
style.WebkitBoxDirection = 'reverse';
if (value.indexOf("reverse") > -1) {
style.WebkitBoxDirection = "reverse";
} else {
style.WebkitBoxDirection = 'normal';
style.WebkitBoxDirection = "normal";
}
}
if (property === 'display' && alternativeValues.hasOwnProperty(value)) {
if (property === "display" && alternativeValues.hasOwnProperty(value)) {
return (0, _getPrefixedValue2.default)(cssPrefix + alternativeValues[value], value, keepUnprefixed);

@@ -73,2 +73,2 @@ }

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -22,6 +22,6 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

if (typeof value === 'string' && values.test(value) && (browserName === 'firefox' && browserVersion < 16 || browserName === 'chrome' && browserVersion < 26 || (browserName === 'safari' || browserName === 'ios_saf') && browserVersion < 7 || (browserName === 'opera' || browserName === 'op_mini') && browserVersion < 12.1 || browserName === 'android' && browserVersion < 4.4 || browserName === 'and_uc')) {
if (typeof value === "string" && values.test(value) && (browserName === "firefox" && browserVersion < 16 || browserName === "chrome" && browserVersion < 26 || (browserName === "safari" || browserName === "ios_saf") && browserVersion < 7 || (browserName === "opera" || browserName === "op_mini") && browserVersion < 12.1 || browserName === "android" && browserVersion < 4.4 || browserName === "and_uc")) {
return (0, _getPrefixedValue2.default)(cssPrefix + value, value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -20,6 +20,6 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

if (typeof value === 'string' && value.indexOf('image-set(') > -1 && (browserName === 'chrome' || browserName === 'opera' || browserName === 'and_chr' || browserName === 'and_uc' || browserName === 'ios_saf' || browserName === 'safari')) {
return (0, _getPrefixedValue2.default)(value.replace(/image-set\(/g, cssPrefix + 'image-set('), value, keepUnprefixed);
if (typeof value === "string" && value.indexOf("image-set(") > -1 && (browserName === "chrome" || browserName === "opera" || browserName === "and_chr" || browserName === "and_uc" || browserName === "ios_saf" || browserName === "safari")) {
return (0, _getPrefixedValue2.default)(value.replace(/image-set\(/g, cssPrefix + "image-set("), value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -7,47 +7,47 @@ Object.defineProperty(exports, "__esModule", {

var _calc = require('./calc');
var _calc = require("./calc");
var _calc2 = _interopRequireDefault(_calc);
var _cursor = require('./cursor');
var _cursor = require("./cursor");
var _cursor2 = _interopRequireDefault(_cursor);
var _crossFade = require('./crossFade');
var _crossFade = require("./crossFade");
var _crossFade2 = _interopRequireDefault(_crossFade);
var _filter = require('./filter');
var _filter = require("./filter");
var _filter2 = _interopRequireDefault(_filter);
var _flex = require('./flex');
var _flex = require("./flex");
var _flex2 = _interopRequireDefault(_flex);
var _flexboxIE = require('./flexboxIE');
var _flexboxIE = require("./flexboxIE");
var _flexboxIE2 = _interopRequireDefault(_flexboxIE);
var _flexboxOld = require('./flexboxOld');
var _flexboxOld = require("./flexboxOld");
var _flexboxOld2 = _interopRequireDefault(_flexboxOld);
var _gradient = require('./gradient');
var _gradient = require("./gradient");
var _gradient2 = _interopRequireDefault(_gradient);
var _imageSet = require('./imageSet');
var _imageSet = require("./imageSet");
var _imageSet2 = _interopRequireDefault(_imageSet);
var _position = require('./position');
var _position = require("./position");
var _position2 = _interopRequireDefault(_position);
var _sizing = require('./sizing');
var _sizing = require("./sizing");
var _sizing2 = _interopRequireDefault(_sizing);
var _transition = require('./transition');
var _transition = require("./transition");

@@ -59,2 +59,2 @@ var _transition2 = _interopRequireDefault(_transition);

exports.default = [_position2.default, _calc2.default, _cursor2.default, _imageSet2.default, _crossFade2.default, _filter2.default, _sizing2.default, _gradient2.default, _transition2.default, _flexboxIE2.default, _flexboxOld2.default, _flex2.default];
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -20,6 +20,6 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

if (property === 'position' && value === 'sticky' && (browserName === 'safari' || browserName === 'ios_saf')) {
if (property === "position" && value === "sticky" && (browserName === "safari" || browserName === "ios_saf")) {
return (0, _getPrefixedValue2.default)(cssPrefix + value, value, keepUnprefixed);
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _getPrefixedValue = require('../../utils/getPrefixedValue');
var _getPrefixedValue = require("../../utils/getPrefixedValue");

@@ -26,10 +26,11 @@ var _getPrefixedValue2 = _interopRequireDefault(_getPrefixedValue);

var values = {
'min-content': true,
'max-content': true,
'fill-available': true,
'fit-content': true,
'contain-floats': true
"min-content": true,
"max-content": true,
"fill-available": true,
"fit-content": true,
"contain-floats": true
};
// TODO: chrome & opera support it
};function sizing(property, value, style, _ref) {
// TODO: chrome & opera support it
function sizing(property, value, style, _ref) {
var cssPrefix = _ref.cssPrefix,

@@ -44,2 +45,2 @@ keepUnprefixed = _ref.keepUnprefixed;

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _hyphenateProperty = require('css-in-js-utils/lib/hyphenateProperty');
var _hyphenateProperty = require("css-in-js-utils/lib/hyphenateProperty");

@@ -32,3 +32,3 @@ var _hyphenateProperty2 = _interopRequireDefault(_hyphenateProperty);

if (typeof value === 'string' && properties.hasOwnProperty(property)) {
if (typeof value === "string" && properties.hasOwnProperty(property)) {
// memoize the prefix array for later use

@@ -46,4 +46,4 @@ if (!requiresPrefixDashCased) {

multipleValues.forEach(function (val, index) {
if (val.indexOf(prop) > -1 && prop !== 'order') {
multipleValues[index] = val.replace(prop, cssPrefix + prop) + (keepUnprefixed ? ',' + val : '');
if (val.indexOf(prop) > -1 && prop !== "order") {
multipleValues[index] = val.replace(prop, cssPrefix + prop) + (keepUnprefixed ? "," + val : "");
}

@@ -53,5 +53,5 @@ });

return multipleValues.join(',');
return multipleValues.join(",");
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -11,5 +11,5 @@ Object.defineProperty(exports, "__esModule", {

var _caniuseApi = require('caniuse-api');
var _caniuseApi = require("caniuse-api");
var _propertyMap = require('./maps/propertyMap');
var _propertyMap = require("./maps/propertyMap");

@@ -21,14 +21,14 @@ var _propertyMap2 = _interopRequireDefault(_propertyMap);

var prefixBrowserMap = {
chrome: 'Webkit',
safari: 'Webkit',
firefox: 'Moz',
opera: 'Webkit',
ie: 'ms',
edge: 'ms',
ios_saf: 'Webkit',
android: 'Webkit',
and_chr: 'Webkit',
and_uc: 'Webkit',
op_mini: 'Webkit',
ie_mob: 'ms'
chrome: "Webkit",
safari: "Webkit",
firefox: "Moz",
opera: "Webkit",
ie: "ms",
edge: "ms",
ios_saf: "Webkit",
android: "Webkit",
and_chr: "Webkit",
and_uc: "Webkit",
op_mini: "Webkit",
ie_mob: "ms"
};

@@ -39,3 +39,3 @@

// remove flexprops from IE
var flexPropsIE = ['alignContent', 'alignSelf', 'alignItems', 'justifyContent', 'order', 'flexGrow', 'flexShrink', 'flexBasis'];
var flexPropsIE = ["alignContent", "alignSelf", "alignItems", "justifyContent", "order", "flexGrow", "flexShrink", "flexBasis"];

@@ -74,2 +74,2 @@ function generateDynamicPrefixMap(browserList) {

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _pluginMap = require('./maps/pluginMap');
var _pluginMap = require("./maps/pluginMap");

@@ -34,2 +34,2 @@ var _pluginMap2 = _interopRequireDefault(_pluginMap);

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,5 +8,5 @@ Object.defineProperty(exports, "__esModule", {

var _caniuseApi = require('caniuse-api');
var _caniuseApi = require("caniuse-api");
var _propertyMap = require('./maps/propertyMap');
var _propertyMap = require("./maps/propertyMap");

@@ -18,23 +18,26 @@ var _propertyMap2 = _interopRequireDefault(_propertyMap);

var prefixBrowserMap = {
chrome: 'Webkit',
safari: 'Webkit',
firefox: 'Moz',
opera: 'Webkit',
ie: 'ms',
edge: 'ms',
ios_saf: 'Webkit',
android: 'Webkit',
and_chr: 'Webkit',
and_uc: 'Webkit',
op_mini: 'Webkit',
ie_mob: 'ms'
chrome: "Webkit",
safari: "Webkit",
firefox: "Moz",
opera: "Webkit",
ie: "ms",
edge: "ms",
ios_saf: "Webkit",
android: "Webkit",
and_chr: "Webkit",
and_uc: "Webkit",
op_mini: "Webkit",
ie_mob: "ms"
};
// remove flexprops from IE
};var flexPropsIE = ['alignContent', 'alignSelf', 'alignItems', 'justifyContent', 'order', 'flexGrow', 'flexShrink', 'flexBasis'];
// remove flexprops from IE
var flexPropsIE = ["alignContent", "alignSelf", "alignItems", "justifyContent", "order", "flexGrow", "flexShrink", "flexBasis"];
function filterAndRemoveIfEmpty(map, property, filter) {
map[property] = map[property].filter(filter);
if (map[property]) {
map[property] = map[property].filter(filter);
if (map[property].length === 0) {
delete map[property];
if (map[property].length === 0) {
delete map[property];
}
}

@@ -71,3 +74,3 @@ }

filterAndRemoveIfEmpty(prefixMap, flexPropsIE[_i], function (prefix) {
return prefix !== 'ms' && prefix !== 'Moz';
return prefix !== "ms" && prefix !== "Moz";
});

@@ -78,9 +81,9 @@ }

// specially by the transition plugins
filterAndRemoveIfEmpty(prefixMap, 'transition', function (prefix) {
return prefix !== 'Moz' && prefix !== 'Webkit';
filterAndRemoveIfEmpty(prefixMap, "transition", function (prefix) {
return prefix !== "Moz" && prefix !== "Webkit";
});
// remove WebkitFlexDirection as it does not exist
filterAndRemoveIfEmpty(prefixMap, 'flexDirection', function (prefix) {
return prefix !== 'Moz';
filterAndRemoveIfEmpty(prefixMap, "flexDirection", function (prefix) {
return prefix !== "Moz";
});

@@ -90,2 +93,2 @@

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,11 +8,11 @@ Object.defineProperty(exports, "__esModule", {

var _generateStaticPrefixMap = require('./generateStaticPrefixMap');
var _generateStaticPrefixMap = require("./generateStaticPrefixMap");
var _generateStaticPrefixMap2 = _interopRequireDefault(_generateStaticPrefixMap);
var _generateDynamicPrefixMap = require('./generateDynamicPrefixMap');
var _generateDynamicPrefixMap = require("./generateDynamicPrefixMap");
var _generateDynamicPrefixMap2 = _interopRequireDefault(_generateDynamicPrefixMap);
var _generatePluginList = require('./generatePluginList');
var _generatePluginList = require("./generatePluginList");

@@ -25,5 +25,5 @@ var _generatePluginList2 = _interopRequireDefault(_generatePluginList);

if (compatibility) {
return 'var ' + plugin + ' = require(\'inline-style-prefixer/' + pluginPath + '/plugins/' + plugin + '\')';
return "var " + plugin + " = require('inline-style-prefixer/" + pluginPath + "/plugins/" + plugin + "')";
}
return 'import ' + plugin + ' from \'inline-style-prefixer/' + pluginPath + '/plugins/' + plugin + '\'';
return "import " + plugin + " from 'inline-style-prefixer/" + pluginPath + "/plugins/" + plugin + "'";
}

@@ -35,15 +35,15 @@

return generateImportString(plugin, pluginPath, compatibility);
}).join('\n');
}).join("\n");
var moduleExporter = compatibility ? 'module.exports = ' : 'export default';
var pluginExport = '[' + pluginList.join(',') + ']';
var moduleExporter = compatibility ? "module.exports = " : "export default";
var pluginExport = "[" + pluginList.join(",") + "]";
var prefixMapExport = JSON.stringify(prefixMap);
if (pluginPath === 'static') {
var prefixVariables = ['var w = ["Webkit"];', 'var m = ["Moz"];', 'var ms = ["ms"];', 'var wm = ["Webkit","Moz"];', 'var wms = ["Webkit","ms"];', 'var wmms = ["Webkit","Moz","ms"];'].join('\n');
if (pluginPath === "static") {
var prefixVariables = ['var w = ["Webkit"];', 'var m = ["Moz"];', 'var ms = ["ms"];', 'var wm = ["Webkit","Moz"];', 'var wms = ["Webkit","ms"];', 'var wmms = ["Webkit","Moz","ms"];'].join("\n");
return pluginImports + '\n' + prefixVariables + '\n\n' + moduleExporter + ' {\n plugins: ' + pluginExport + ',\n prefixMap: ' + prefixMapExport.replace(/\["Webkit"\]/g, 'w').replace(/\["Moz"\]/g, 'm').replace(/\["ms"\]/g, 'ms').replace(/\["Webkit","Moz"\]/g, 'wm').replace(/\["Webkit","ms"\]/g, 'wms').replace(/\["Webkit","Moz","ms"\]/g, 'wmms') + '\n}';
return pluginImports + "\n" + prefixVariables + "\n\n" + moduleExporter + " {\n plugins: " + pluginExport + ",\n prefixMap: " + prefixMapExport.replace(/\["Webkit"\]/g, "w").replace(/\["Moz"\]/g, "m").replace(/\["ms"\]/g, "ms").replace(/\["Webkit","Moz"\]/g, "wm").replace(/\["Webkit","ms"\]/g, "wms").replace(/\["Webkit","Moz","ms"\]/g, "wmms") + "\n}";
}
return pluginImports + '\n\n' + moduleExporter + ' {\n plugins: ' + pluginExport + ',\n prefixMap: ' + prefixMapExport + '\n}';
return pluginImports + "\n\n" + moduleExporter + " {\n plugins: " + pluginExport + ",\n prefixMap: " + prefixMapExport + "\n}";
}

@@ -53,3 +53,3 @@

/* eslint-disable global-require */
var fs = require('fs');
var fs = require("fs");
/* eslint-enable global-require */

@@ -62,3 +62,3 @@

console.log('Successfully saved data to "' + path + '".');
console.log("Successfully saved data to \"" + path + "\".");
});

@@ -85,3 +85,3 @@ }

if (staticPath) {
var fileContent = generateFile(data.static, data.plugins, compatibility, 'static');
var fileContent = generateFile(data.static, data.plugins, compatibility, "static");

@@ -92,3 +92,3 @@ saveFile(fileContent, staticPath);

if (dynamicPath) {
var _fileContent = generateFile(data.dynamic, data.plugins, compatibility, 'dynamic');
var _fileContent = generateFile(data.dynamic, data.plugins, compatibility, "dynamic");

@@ -100,2 +100,2 @@ saveFile(_fileContent, dynamicPath);

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -7,39 +7,39 @@ Object.defineProperty(exports, "__esModule", {

exports.default = {
'border-radius': 'borderRadius',
'border-image': ['borderImage', 'borderImageOutset', 'borderImageRepeat', 'borderImageSlice', 'borderImageSource', 'borderImageWidth'],
flexbox: ['flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexFlow', 'flexShrink', 'flexWrap', 'alignContent', 'alignItems', 'alignSelf', 'justifyContent', 'order'],
'css-transitions': ['transition', 'transitionDelay', 'transitionDuration', 'transitionProperty', 'transitionTimingFunction'],
transforms2d: ['transform', 'transformOrigin', 'transformOriginX', 'transformOriginY'],
transforms3d: ['backfaceVisibility', 'perspective', 'perspectiveOrigin', 'transform', 'transformOrigin', 'transformStyle', 'transformOriginX', 'transformOriginY', 'transformOriginZ'],
'css-animation': ['animation', 'animationDelay', 'animationDirection', 'animationFillMode', 'animationDuration', 'animationIterationCount', 'animationName', 'animationPlayState', 'animationTimingFunction'],
'css-appearance': 'appearance',
'user-select-none': 'userSelect',
'css-backdrop-filter': 'backdropFilter',
'css3-boxsizing': 'boxSizing',
'font-kerning': 'fontKerning',
'css-exclusions': ['wrapFlow', 'wrapThrough', 'wrapMargin'],
'css-snappoints': ['scrollSnapType', 'scrollSnapPointsX', 'scrollSnapPointsY', 'scrollSnapDestination', 'scrollSnapCoordinate'],
'text-emphasis': ['textEmphasisPosition', 'textEmphasis', 'textEmphasisStyle', 'textEmphasisColor'],
'css-text-align-last': 'textAlignLast',
'css-boxdecorationbreak': 'boxDecorationBreak',
'css-clip-path': 'clipPath',
'css-masks': ['maskImage', 'maskMode', 'maskRepeat', 'maskPosition', 'maskClip', 'maskOrigin', 'maskSize', 'maskComposite', 'mask', 'maskBorderSource', 'maskBorderMode', 'maskBorderSlice', 'maskBorderWidth', 'maskBorderOutset', 'maskBorderRepeat', 'maskBorder', 'maskType'],
'css-touch-action': 'touchAction',
'text-size-adjust': 'textSizeAdjust',
'text-decoration': ['textDecorationStyle', 'textDecorationSkip', 'textDecorationLine', 'textDecorationColor'],
'css-shapes': ['shapeImageThreshold', 'shapeImageMargin', 'shapeImageOutside'],
'css3-tabsize': 'tabSize',
'css-filters': 'filter',
'css-resize': 'resize',
'css-hyphens': 'hyphens',
'css-regions': ['flowInto', 'flowFrom', 'breakBefore', 'breakAfter', 'breakInside', 'regionFragment'],
'css-grid': ['gridTemplateColumns', 'gridTemplateRows', 'gridTemplateAreas', 'gridTemplate', 'gridAutoColumns', 'gridAutoRows', 'gridAutoFlow', 'grid', 'gridRowStart', 'gridColumnStart', 'gridRowEnd', 'gridRow', 'gridColumn', 'gridColumnEnd', 'gridColumnGap', 'gridRowGap', 'gridArea', 'gridGap'],
'object-fit': ['objectFit', 'objectPosition'],
'text-overflow': 'textOverflow',
'background-img-opts': ['backgroundClip', 'backgroundOrigin', 'backgroundSize'],
'font-feature': 'fontFeatureSettings',
'css-boxshadow': 'boxShadow',
multicolumn: ['breakAfter', 'breakBefore', 'breakInside', 'columnCount', 'columnFill', 'columnGap', 'columnRule', 'columnRuleColor', 'columnRuleStyle', 'columnRuleWidth', 'columns', 'columnSpan', 'columnWidth', 'columnGap'],
'css-writing-mode': ['writingMode']
"border-radius": "borderRadius",
"border-image": ["borderImage", "borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth"],
flexbox: ["flex", "flexBasis", "flexDirection", "flexGrow", "flexFlow", "flexShrink", "flexWrap", "alignContent", "alignItems", "alignSelf", "justifyContent", "order"],
"css-transitions": ["transition", "transitionDelay", "transitionDuration", "transitionProperty", "transitionTimingFunction"],
transforms2d: ["transform", "transformOrigin", "transformOriginX", "transformOriginY"],
transforms3d: ["backfaceVisibility", "perspective", "perspectiveOrigin", "transform", "transformOrigin", "transformStyle", "transformOriginX", "transformOriginY", "transformOriginZ"],
"css-animation": ["animation", "animationDelay", "animationDirection", "animationFillMode", "animationDuration", "animationIterationCount", "animationName", "animationPlayState", "animationTimingFunction"],
"css-appearance": "appearance",
"user-select-none": "userSelect",
"css-backdrop-filter": "backdropFilter",
"css3-boxsizing": "boxSizing",
"font-kerning": "fontKerning",
"css-exclusions": ["wrapFlow", "wrapThrough", "wrapMargin"],
"css-snappoints": ["scrollSnapType", "scrollSnapPointsX", "scrollSnapPointsY", "scrollSnapDestination", "scrollSnapCoordinate"],
"text-emphasis": ["textEmphasisPosition", "textEmphasis", "textEmphasisStyle", "textEmphasisColor"],
"css-text-align-last": "textAlignLast",
"css-boxdecorationbreak": "boxDecorationBreak",
"css-clip-path": "clipPath",
"css-masks": ["maskImage", "maskMode", "maskRepeat", "maskPosition", "maskClip", "maskOrigin", "maskSize", "maskComposite", "mask", "maskBorderSource", "maskBorderMode", "maskBorderSlice", "maskBorderWidth", "maskBorderOutset", "maskBorderRepeat", "maskBorder", "maskType"],
"css-touch-action": "touchAction",
"text-size-adjust": "textSizeAdjust",
"text-decoration": ["textDecorationStyle", "textDecorationSkip", "textDecorationLine", "textDecorationColor"],
"css-shapes": ["shapeImageThreshold", "shapeImageMargin", "shapeImageOutside"],
"css3-tabsize": "tabSize",
"css-filters": "filter",
"css-resize": "resize",
"css-hyphens": "hyphens",
"css-regions": ["flowInto", "flowFrom", "breakBefore", "breakAfter", "breakInside", "regionFragment"],
"css-grid": ["gridTemplateColumns", "gridTemplateRows", "gridTemplateAreas", "gridTemplate", "gridAutoColumns", "gridAutoRows", "gridAutoFlow", "grid", "gridRowStart", "gridColumnStart", "gridRowEnd", "gridRow", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridRowGap", "gridArea", "gridGap"],
"object-fit": ["objectFit", "objectPosition"],
"text-overflow": "textOverflow",
"background-img-opts": ["backgroundClip", "backgroundOrigin", "backgroundSize"],
"font-feature": "fontFeatureSettings",
"css-boxshadow": "boxShadow",
multicolumn: ["breakAfter", "breakBefore", "breakInside", "columnCount", "columnFill", "columnGap", "columnRule", "columnRuleColor", "columnRuleStyle", "columnRuleWidth", "columns", "columnSpan", "columnWidth", "columnGap"],
"css-writing-mode": ["writingMode"]
};
module.exports = exports['default'];
module.exports = exports["default"];
{
"name": "inline-style-prefixer",
"version": "3.0.8",
"version": "4.0.0",
"description": "Run-time Autoprefixer for JavaScript style objects",

@@ -18,3 +18,3 @@ "main": "dynamic/index.js",

"build": "npm run check && mkdir dist && npm run generate && npm run babel && npm run dist",
"check": "npm run clean && npm run lint && npm test && npm run flow",
"check": "npm run clean && npm run format && npm run lint && npm test && npm run flow",
"clean": "rimraf static dynamic generator utils dist coverage",

@@ -24,2 +24,3 @@ "dist": "cross-env NODE_ENV=production babel-node buildPackage && cross-env NODE_ENV=development babel-node buildPackage",

"flow": "flow",
"format": "prettier --write \"./modules/**/*.js\"",
"generate": "babel-node generateDefaultData",

@@ -26,0 +27,0 @@ "lint": "eslint .",

@@ -13,2 +13,19 @@ # Autoprefixer for Style Objects

## Support Us
Support Robin Frischmann's work on [Fela](https://github.com/rofrischmann/fela) and its ecosystem (inline-style-prefixer) directly via [**Patreon**](https://www.patreon.com/rofrischmann).
Or support us on [**Open Collective**](https://opencollective.com/fela) to fund community work. This also includes inline-style-prefixer as well.<br>
Thank you to all our backers!
<a href="https://opencollective.com/fela/backer/0/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/0/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/1/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/1/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/2/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/2/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/3/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/3/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/4/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/4/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/5/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/5/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/6/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/6/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/7/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/7/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/8/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/8/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/fela/backer/9/website?requireActive=false" target="_blank"><img src="https://opencollective.com/fela/backer/9/avatar.svg?requireActive=false"></a>
## Installation

@@ -31,10 +48,10 @@ ```sh

It supports all major browsers with the following versions. For other, unsupported browses, we automatically use a fallback.
* Chrome: 46+
* Android (Chrome): 46+
* Android (Stock Browser): 4+
* Android (UC): 9+
* Firefox: 40+
* Safari: 8+
* iOS (Safari): 8+
* Opera: 16+
* Chrome: 55+
* Android (Chrome): 55+
* Android (Stock Browser): 5+
* Android (UC): 11+
* Firefox: 52+
* Safari: 9+
* iOS (Safari): 9+
* Opera: 30+
* Opera (Mini): 12+

@@ -160,2 +177,2 @@ * IE: 11+

Documentation is licensed under [Creative Common License](http://creativecommons.org/licenses/by/4.0/).<br>
Created with ♥ by [@rofrischmann](http://rofrischmann.de) and all contributors.
Created with ♥ by [@rofrischmann](http://rofrischmann.de) and all contributors.

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,15 +8,15 @@ Object.defineProperty(exports, "__esModule", {

var _prefixProperty = require('../utils/prefixProperty');
var _prefixProperty = require("../utils/prefixProperty");
var _prefixProperty2 = _interopRequireDefault(_prefixProperty);
var _prefixValue = require('../utils/prefixValue');
var _prefixValue = require("../utils/prefixValue");
var _prefixValue2 = _interopRequireDefault(_prefixValue);
var _addNewValuesOnly = require('../utils/addNewValuesOnly');
var _addNewValuesOnly = require("../utils/addNewValuesOnly");
var _addNewValuesOnly2 = _interopRequireDefault(_addNewValuesOnly);
var _isObject = require('../utils/isObject');
var _isObject = require("../utils/isObject");

@@ -61,3 +61,3 @@ var _isObject2 = _interopRequireDefault(_isObject);

(0, _prefixProperty2.default)(prefixMap, property, style);
style = (0, _prefixProperty2.default)(prefixMap, property, style);
}

@@ -71,2 +71,2 @@ }

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -7,47 +7,47 @@ Object.defineProperty(exports, "__esModule", {

var _createPrefixer = require('./createPrefixer');
var _createPrefixer = require("./createPrefixer");
var _createPrefixer2 = _interopRequireDefault(_createPrefixer);
var _staticData = require('./staticData');
var _staticData = require("./staticData");
var _staticData2 = _interopRequireDefault(_staticData);
var _cursor = require('./plugins/cursor');
var _cursor = require("./plugins/cursor");
var _cursor2 = _interopRequireDefault(_cursor);
var _crossFade = require('./plugins/crossFade');
var _crossFade = require("./plugins/crossFade");
var _crossFade2 = _interopRequireDefault(_crossFade);
var _filter = require('./plugins/filter');
var _filter = require("./plugins/filter");
var _filter2 = _interopRequireDefault(_filter);
var _flex = require('./plugins/flex');
var _flex = require("./plugins/flex");
var _flex2 = _interopRequireDefault(_flex);
var _flexboxOld = require('./plugins/flexboxOld');
var _flexboxOld = require("./plugins/flexboxOld");
var _flexboxOld2 = _interopRequireDefault(_flexboxOld);
var _gradient = require('./plugins/gradient');
var _gradient = require("./plugins/gradient");
var _gradient2 = _interopRequireDefault(_gradient);
var _imageSet = require('./plugins/imageSet');
var _imageSet = require("./plugins/imageSet");
var _imageSet2 = _interopRequireDefault(_imageSet);
var _position = require('./plugins/position');
var _position = require("./plugins/position");
var _position2 = _interopRequireDefault(_position);
var _sizing = require('./plugins/sizing');
var _sizing = require("./plugins/sizing");
var _sizing2 = _interopRequireDefault(_sizing);
var _transition = require('./plugins/transition');
var _transition = require("./plugins/transition");

@@ -64,2 +64,2 @@ var _transition2 = _interopRequireDefault(_transition);

});
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _isPrefixedValue = require('css-in-js-utils/lib/isPrefixedValue');
var _isPrefixedValue = require("css-in-js-utils/lib/isPrefixedValue");

@@ -15,10 +15,10 @@ var _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);

var prefixes = ['-webkit-', '-moz-', ''];
var prefixes = ["-webkit-", "-moz-", ""];
function calc(property, value) {
if (typeof value === 'string' && !(0, _isPrefixedValue2.default)(value) && value.indexOf('calc(') > -1) {
if (typeof value === "string" && !(0, _isPrefixedValue2.default)(value) && value.indexOf("calc(") > -1) {
return prefixes.map(function (prefix) {
return value.replace(/calc\(/g, prefix + 'calc(');
return value.replace(/calc\(/g, prefix + "calc(");
});
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _isPrefixedValue = require('css-in-js-utils/lib/isPrefixedValue');
var _isPrefixedValue = require("css-in-js-utils/lib/isPrefixedValue");

@@ -16,10 +16,10 @@ var _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);

// http://caniuse.com/#search=cross-fade
var prefixes = ['-webkit-', ''];
var prefixes = ["-webkit-", ""];
function crossFade(property, value) {
if (typeof value === 'string' && !(0, _isPrefixedValue2.default)(value) && value.indexOf('cross-fade(') > -1) {
if (typeof value === "string" && !(0, _isPrefixedValue2.default)(value) && value.indexOf("cross-fade(") > -1) {
return prefixes.map(function (prefix) {
return value.replace(/cross-fade\(/g, prefix + 'cross-fade(');
return value.replace(/cross-fade\(/g, prefix + "cross-fade(");
});
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {

exports.default = cursor;
var prefixes = ['-webkit-', '-moz-', ''];
var prefixes = ["-webkit-", "-moz-", ""];
var values = {
'zoom-in': true,
'zoom-out': true,
"zoom-in": true,
"zoom-out": true,
grab: true,

@@ -18,3 +18,3 @@ grabbing: true

function cursor(property, value) {
if (property === 'cursor' && values.hasOwnProperty(value)) {
if (property === "cursor" && values.hasOwnProperty(value)) {
return prefixes.map(function (prefix) {

@@ -25,2 +25,2 @@ return prefix + value;

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _isPrefixedValue = require('css-in-js-utils/lib/isPrefixedValue');
var _isPrefixedValue = require("css-in-js-utils/lib/isPrefixedValue");

@@ -16,10 +16,10 @@ var _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);

// http://caniuse.com/#feat=css-filter-function
var prefixes = ['-webkit-', ''];
var prefixes = ["-webkit-", ""];
function filter(property, value) {
if (typeof value === 'string' && !(0, _isPrefixedValue2.default)(value) && value.indexOf('filter(') > -1) {
if (typeof value === "string" && !(0, _isPrefixedValue2.default)(value) && value.indexOf("filter(") > -1) {
return prefixes.map(function (prefix) {
return value.replace(/filter\(/g, prefix + 'filter(');
return value.replace(/filter\(/g, prefix + "filter(");
});
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,11 +8,11 @@ Object.defineProperty(exports, "__esModule", {

var values = {
flex: ['-webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex'],
'inline-flex': ['-webkit-inline-box', '-moz-inline-box', '-ms-inline-flexbox', '-webkit-inline-flex', 'inline-flex']
flex: ["-webkit-box", "-moz-box", "-ms-flexbox", "-webkit-flex", "flex"],
"inline-flex": ["-webkit-inline-box", "-moz-inline-box", "-ms-inline-flexbox", "-webkit-inline-flex", "inline-flex"]
};
function flex(property, value) {
if (property === 'display' && values.hasOwnProperty(value)) {
if (property === "display" && values.hasOwnProperty(value)) {
return values[value];
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,16 +8,16 @@ Object.defineProperty(exports, "__esModule", {

var alternativeValues = {
'space-around': 'distribute',
'space-between': 'justify',
'flex-start': 'start',
'flex-end': 'end'
"space-around": "distribute",
"space-between": "justify",
"flex-start": "start",
"flex-end": "end"
};
var alternativeProps = {
alignContent: 'msFlexLinePack',
alignSelf: 'msFlexItemAlign',
alignItems: 'msFlexAlign',
justifyContent: 'msFlexPack',
order: 'msFlexOrder',
flexGrow: 'msFlexPositive',
flexShrink: 'msFlexNegative',
flexBasis: 'msFlexPreferredSize'
alignContent: "msFlexLinePack",
alignSelf: "msFlexItemAlign",
alignItems: "msFlexAlign",
justifyContent: "msFlexPack",
order: "msFlexOrder",
flexGrow: "msFlexPositive",
flexShrink: "msFlexNegative",
flexBasis: "msFlexPreferredSize"
};

@@ -30,2 +30,2 @@

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,27 +8,27 @@ Object.defineProperty(exports, "__esModule", {

var alternativeValues = {
'space-around': 'justify',
'space-between': 'justify',
'flex-start': 'start',
'flex-end': 'end',
'wrap-reverse': 'multiple',
wrap: 'multiple'
"space-around": "justify",
"space-between": "justify",
"flex-start": "start",
"flex-end": "end",
"wrap-reverse": "multiple",
wrap: "multiple"
};
var alternativeProps = {
alignItems: 'WebkitBoxAlign',
justifyContent: 'WebkitBoxPack',
flexWrap: 'WebkitBoxLines'
alignItems: "WebkitBoxAlign",
justifyContent: "WebkitBoxPack",
flexWrap: "WebkitBoxLines"
};
function flexboxOld(property, value, style) {
if (property === 'flexDirection' && typeof value === 'string') {
if (value.indexOf('column') > -1) {
style.WebkitBoxOrient = 'vertical';
if (property === "flexDirection" && typeof value === "string") {
if (value.indexOf("column") > -1) {
style.WebkitBoxOrient = "vertical";
} else {
style.WebkitBoxOrient = 'horizontal';
style.WebkitBoxOrient = "horizontal";
}
if (value.indexOf('reverse') > -1) {
style.WebkitBoxDirection = 'reverse';
if (value.indexOf("reverse") > -1) {
style.WebkitBoxDirection = "reverse";
} else {
style.WebkitBoxDirection = 'normal';
style.WebkitBoxDirection = "normal";
}

@@ -40,2 +40,2 @@ }

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _isPrefixedValue = require('css-in-js-utils/lib/isPrefixedValue');
var _isPrefixedValue = require("css-in-js-utils/lib/isPrefixedValue");

@@ -15,3 +15,3 @@ var _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);

var prefixes = ['-webkit-', '-moz-', ''];
var prefixes = ["-webkit-", "-moz-", ""];

@@ -21,3 +21,3 @@ var values = /linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;

function gradient(property, value) {
if (typeof value === 'string' && !(0, _isPrefixedValue2.default)(value) && values.test(value)) {
if (typeof value === "string" && !(0, _isPrefixedValue2.default)(value) && values.test(value)) {
return prefixes.map(function (prefix) {

@@ -28,2 +28,2 @@ return prefix + value;

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _isPrefixedValue = require('css-in-js-utils/lib/isPrefixedValue');
var _isPrefixedValue = require("css-in-js-utils/lib/isPrefixedValue");

@@ -16,10 +16,10 @@ var _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);

// http://caniuse.com/#feat=css-image-set
var prefixes = ['-webkit-', ''];
var prefixes = ["-webkit-", ""];
function imageSet(property, value) {
if (typeof value === 'string' && !(0, _isPrefixedValue2.default)(value) && value.indexOf('image-set(') > -1) {
if (typeof value === "string" && !(0, _isPrefixedValue2.default)(value) && value.indexOf("image-set(") > -1) {
return prefixes.map(function (prefix) {
return value.replace(/image-set\(/g, prefix + 'image-set(');
return value.replace(/image-set\(/g, prefix + "image-set(");
});
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -7,47 +7,47 @@ Object.defineProperty(exports, "__esModule", {

var _calc = require('./calc');
var _calc = require("./calc");
var _calc2 = _interopRequireDefault(_calc);
var _cursor = require('./cursor');
var _cursor = require("./cursor");
var _cursor2 = _interopRequireDefault(_cursor);
var _crossFade = require('./crossFade');
var _crossFade = require("./crossFade");
var _crossFade2 = _interopRequireDefault(_crossFade);
var _filter = require('./filter');
var _filter = require("./filter");
var _filter2 = _interopRequireDefault(_filter);
var _flex = require('./flex');
var _flex = require("./flex");
var _flex2 = _interopRequireDefault(_flex);
var _flexboxIE = require('./flexboxIE');
var _flexboxIE = require("./flexboxIE");
var _flexboxIE2 = _interopRequireDefault(_flexboxIE);
var _flexboxOld = require('./flexboxOld');
var _flexboxOld = require("./flexboxOld");
var _flexboxOld2 = _interopRequireDefault(_flexboxOld);
var _gradient = require('./gradient');
var _gradient = require("./gradient");
var _gradient2 = _interopRequireDefault(_gradient);
var _imageSet = require('./imageSet');
var _imageSet = require("./imageSet");
var _imageSet2 = _interopRequireDefault(_imageSet);
var _position = require('./position');
var _position = require("./position");
var _position2 = _interopRequireDefault(_position);
var _sizing = require('./sizing');
var _sizing = require("./sizing");
var _sizing2 = _interopRequireDefault(_sizing);
var _transition = require('./transition');
var _transition = require("./transition");

@@ -59,2 +59,2 @@ var _transition2 = _interopRequireDefault(_transition);

exports.default = [_position2.default, _calc2.default, _imageSet2.default, _crossFade2.default, _filter2.default, _cursor2.default, _sizing2.default, _gradient2.default, _transition2.default, _flexboxIE2.default, _flexboxOld2.default, _flex2.default];
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,6 +8,6 @@ Object.defineProperty(exports, "__esModule", {

function position(property, value) {
if (property === 'position' && value === 'sticky') {
return ['-webkit-sticky', 'sticky'];
if (property === "position" && value === "sticky") {
return ["-webkit-sticky", "sticky"];
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -7,3 +7,3 @@ Object.defineProperty(exports, "__esModule", {

exports.default = sizing;
var prefixes = ['-webkit-', '-moz-', ''];
var prefixes = ["-webkit-", "-moz-", ""];

@@ -20,7 +20,7 @@ var properties = {

var values = {
'min-content': true,
'max-content': true,
'fill-available': true,
'fit-content': true,
'contain-floats': true
"min-content": true,
"max-content": true,
"fill-available": true,
"fit-content": true,
"contain-floats": true
};

@@ -35,2 +35,2 @@

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,11 +8,11 @@ Object.defineProperty(exports, "__esModule", {

var _hyphenateProperty = require('css-in-js-utils/lib/hyphenateProperty');
var _hyphenateProperty = require("css-in-js-utils/lib/hyphenateProperty");
var _hyphenateProperty2 = _interopRequireDefault(_hyphenateProperty);
var _isPrefixedValue = require('css-in-js-utils/lib/isPrefixedValue');
var _isPrefixedValue = require("css-in-js-utils/lib/isPrefixedValue");
var _isPrefixedValue2 = _interopRequireDefault(_isPrefixedValue);
var _capitalizeString = require('../../utils/capitalizeString');
var _capitalizeString = require("../../utils/capitalizeString");

@@ -34,5 +34,5 @@ var _capitalizeString2 = _interopRequireDefault(_capitalizeString);

var prefixMapping = {
Webkit: '-webkit-',
Moz: '-moz-',
ms: '-ms-'
Webkit: "-webkit-",
Moz: "-moz-",
ms: "-ms-"
};

@@ -54,3 +54,3 @@

if (singleValue.indexOf(dashCaseProperty) > -1 && dashCaseProperty !== 'order') {
if (singleValue.indexOf(dashCaseProperty) > -1 && dashCaseProperty !== "order") {
var prefixes = propertyPrefixMap[property];

@@ -64,6 +64,6 @@ for (var j = 0, pLen = prefixes.length; j < pLen; ++j) {

multipleValues[i] = values.join(',');
multipleValues[i] = values.join(",");
}
return multipleValues.join(',');
return multipleValues.join(",");
}

@@ -73,3 +73,3 @@

// also check for already prefixed transitions
if (typeof value === 'string' && properties.hasOwnProperty(property)) {
if (typeof value === "string" && properties.hasOwnProperty(property)) {
var outputValue = prefixValue(value, propertyPrefixMap);

@@ -79,5 +79,5 @@ // if the property is already prefixed

return !/-moz-|-ms-/.test(val);
}).join(',');
}).join(",");
if (property.indexOf('Webkit') > -1) {
if (property.indexOf("Webkit") > -1) {
return webkitOutput;

@@ -88,13 +88,13 @@ }

return !/-webkit-|-ms-/.test(val);
}).join(',');
}).join(",");
if (property.indexOf('Moz') > -1) {
if (property.indexOf("Moz") > -1) {
return mozOutput;
}
style['Webkit' + (0, _capitalizeString2.default)(property)] = webkitOutput;
style['Moz' + (0, _capitalizeString2.default)(property)] = mozOutput;
style["Webkit" + (0, _capitalizeString2.default)(property)] = webkitOutput;
style["Moz" + (0, _capitalizeString2.default)(property)] = mozOutput;
return outputValue;
}
}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -16,4 +16,4 @@ "use strict";

plugins: [],
prefixMap: { "appearance": wm, "userSelect": wmms, "textEmphasisPosition": w, "textEmphasis": w, "textEmphasisStyle": w, "textEmphasisColor": w, "boxDecorationBreak": w, "clipPath": w, "maskImage": w, "maskMode": w, "maskRepeat": w, "maskPosition": w, "maskClip": w, "maskOrigin": w, "maskSize": w, "maskComposite": w, "mask": w, "maskBorderSource": w, "maskBorderMode": w, "maskBorderSlice": w, "maskBorderWidth": w, "maskBorderOutset": w, "maskBorderRepeat": w, "maskBorder": w, "maskType": w, "textDecorationStyle": w, "textDecorationSkip": w, "textDecorationLine": w, "textDecorationColor": w, "filter": w, "fontFeatureSettings": w, "breakAfter": wmms, "breakBefore": wmms, "breakInside": wmms, "columnCount": wm, "columnFill": wm, "columnGap": wm, "columnRule": wm, "columnRuleColor": wm, "columnRuleStyle": wm, "columnRuleWidth": wm, "columns": wm, "columnSpan": wm, "columnWidth": wm, "writingMode": wms, "flex": w, "flexBasis": w, "flexDirection": w, "flexGrow": w, "flexFlow": w, "flexShrink": w, "flexWrap": w, "alignContent": w, "alignItems": w, "alignSelf": w, "justifyContent": w, "order": w, "transform": w, "transformOrigin": w, "transformOriginX": w, "transformOriginY": w, "backfaceVisibility": w, "perspective": w, "perspectiveOrigin": w, "transformStyle": w, "transformOriginZ": w, "animation": w, "animationDelay": w, "animationDirection": w, "animationFillMode": w, "animationDuration": w, "animationIterationCount": w, "animationName": w, "animationPlayState": w, "animationTimingFunction": w, "backdropFilter": w, "fontKerning": w, "scrollSnapType": wms, "scrollSnapPointsX": wms, "scrollSnapPointsY": wms, "scrollSnapDestination": wms, "scrollSnapCoordinate": wms, "shapeImageThreshold": w, "shapeImageMargin": w, "shapeImageOutside": w, "hyphens": wmms, "flowInto": wms, "flowFrom": wms, "regionFragment": wms, "textAlignLast": m, "tabSize": m, "wrapFlow": ms, "wrapThrough": ms, "wrapMargin": ms, "gridTemplateColumns": ms, "gridTemplateRows": ms, "gridTemplateAreas": ms, "gridTemplate": ms, "gridAutoColumns": ms, "gridAutoRows": ms, "gridAutoFlow": ms, "grid": ms, "gridRowStart": ms, "gridColumnStart": ms, "gridRowEnd": ms, "gridRow": ms, "gridColumn": ms, "gridColumnEnd": ms, "gridColumnGap": ms, "gridRowGap": ms, "gridArea": ms, "gridGap": ms, "textSizeAdjust": wms, "borderImage": w, "borderImageOutset": w, "borderImageRepeat": w, "borderImageSlice": w, "borderImageSource": w, "borderImageWidth": w, "transitionDelay": w, "transitionDuration": w, "transitionProperty": w, "transitionTimingFunction": w }
prefixMap: { "appearance": wm, "textEmphasisPosition": w, "textEmphasis": w, "textEmphasisStyle": w, "textEmphasisColor": w, "boxDecorationBreak": w, "maskImage": w, "maskMode": w, "maskRepeat": w, "maskPosition": w, "maskClip": w, "maskOrigin": w, "maskSize": w, "maskComposite": w, "mask": w, "maskBorderSource": w, "maskBorderMode": w, "maskBorderSlice": w, "maskBorderWidth": w, "maskBorderOutset": w, "maskBorderRepeat": w, "maskBorder": w, "maskType": w, "textDecorationStyle": w, "textDecorationSkip": w, "textDecorationLine": w, "textDecorationColor": w, "userSelect": wmms, "backdropFilter": w, "fontKerning": w, "scrollSnapType": wms, "scrollSnapPointsX": wms, "scrollSnapPointsY": wms, "scrollSnapDestination": wms, "scrollSnapCoordinate": wms, "clipPath": w, "shapeImageThreshold": w, "shapeImageMargin": w, "shapeImageOutside": w, "filter": w, "hyphens": wms, "flowInto": wms, "flowFrom": wms, "breakBefore": wms, "breakAfter": wms, "breakInside": wms, "regionFragment": wms, "writingMode": wms, "tabSize": m, "fontFeatureSettings": w, "columnCount": w, "columnFill": w, "columnGap": w, "columnRule": w, "columnRuleColor": w, "columnRuleStyle": w, "columnRuleWidth": w, "columns": w, "columnSpan": w, "columnWidth": w, "wrapFlow": ms, "wrapThrough": ms, "wrapMargin": ms, "gridTemplateColumns": ms, "gridTemplateRows": ms, "gridTemplateAreas": ms, "gridTemplate": ms, "gridAutoColumns": ms, "gridAutoRows": ms, "gridAutoFlow": ms, "grid": ms, "gridRowStart": ms, "gridColumnStart": ms, "gridRowEnd": ms, "gridRow": ms, "gridColumn": ms, "gridColumnEnd": ms, "gridColumnGap": ms, "gridRowGap": ms, "gridArea": ms, "gridGap": ms, "textSizeAdjust": wms, "flex": w, "flexBasis": w, "flexDirection": w, "flexGrow": w, "flexFlow": w, "flexShrink": w, "flexWrap": w, "alignContent": w, "alignItems": w, "alignSelf": w, "justifyContent": w, "order": w, "transform": w, "transformOrigin": w, "transformOriginX": w, "transformOriginY": w, "backfaceVisibility": w, "perspective": w, "perspectiveOrigin": w, "transformStyle": w, "transformOriginZ": w, "animation": w, "animationDelay": w, "animationDirection": w, "animationFillMode": w, "animationDuration": w, "animationIterationCount": w, "animationName": w, "animationPlayState": w, "animationTimingFunction": w }
};
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _bowser = require('bowser');
var _bowser = require("bowser");

@@ -16,19 +16,19 @@ var _bowser2 = _interopRequireDefault(_bowser);

var prefixByBrowser = {
chrome: 'Webkit',
safari: 'Webkit',
ios: 'Webkit',
android: 'Webkit',
phantom: 'Webkit',
opera: 'Webkit',
webos: 'Webkit',
blackberry: 'Webkit',
bada: 'Webkit',
tizen: 'Webkit',
chromium: 'Webkit',
vivaldi: 'Webkit',
firefox: 'Moz',
seamoney: 'Moz',
sailfish: 'Moz',
msie: 'ms',
msedge: 'ms'
chrome: "Webkit",
safari: "Webkit",
ios: "Webkit",
android: "Webkit",
phantom: "Webkit",
opera: "Webkit",
webos: "Webkit",
blackberry: "Webkit",
bada: "Webkit",
tizen: "Webkit",
chromium: "Webkit",
vivaldi: "Webkit",
firefox: "Moz",
seamoney: "Moz",
sailfish: "Moz",
msie: "ms",
msedge: "ms"
};

@@ -38,10 +38,10 @@

var browserByCanIuseAlias = {
chrome: 'chrome',
chromium: 'chrome',
safari: 'safari',
firfox: 'firefox',
msedge: 'edge',
opera: 'opera',
vivaldi: 'opera',
msie: 'ie'
chrome: "chrome",
chromium: "chrome",
safari: "safari",
firfox: "firefox",
msedge: "edge",
opera: "opera",
vivaldi: "opera",
msie: "ie"
};

@@ -51,3 +51,3 @@

if (browserInfo.firefox) {
return 'firefox';
return "firefox";
}

@@ -57,7 +57,7 @@

if (browserInfo.ios) {
return 'ios_saf';
return "ios_saf";
} else if (browserInfo.android) {
return 'android';
return "android";
} else if (browserInfo.opera) {
return 'op_mini';
return "op_mini";
}

@@ -82,3 +82,3 @@ }

if (browserInfo.yandexbrowser) {
browserInfo = _bowser2.default._detect(userAgent.replace(/YaBrowser\/[0-9.]*/, ''));
browserInfo = _bowser2.default._detect(userAgent.replace(/YaBrowser\/[0-9.]*/, ""));
}

@@ -91,3 +91,3 @@

browserInfo.jsPrefix = prefix;
browserInfo.cssPrefix = '-' + prefix.toLowerCase() + '-';
browserInfo.cssPrefix = "-" + prefix.toLowerCase() + "-";
break;

@@ -112,3 +112,3 @@ }

// https://github.com/rofrischmann/inline-style-prefixer/issues/72
if (browserInfo.browserName === 'ios_saf' && browserInfo.browserVersion > browserInfo.osVersion) {
if (browserInfo.browserName === "ios_saf" && browserInfo.browserVersion > browserInfo.osVersion) {
browserInfo.browserVersion = browserInfo.osVersion;

@@ -119,4 +119,4 @@ }

// https://github.com/rofrischmann/inline-style-prefixer/issues/45
if (browserInfo.browserName === 'android' && browserInfo.chrome && browserInfo.browserVersion > 37) {
browserInfo.browserName = 'and_chr';
if (browserInfo.browserName === "android" && browserInfo.chrome && browserInfo.browserVersion > 37) {
browserInfo.browserName = "and_chr";
}

@@ -127,3 +127,3 @@

// https://github.com/rofrischmann/inline-style-prefixer/issues/26
if (browserInfo.browserName === 'android' && browserInfo.osVersion < 5) {
if (browserInfo.browserName === "android" && browserInfo.osVersion < 5) {
browserInfo.browserVersion = browserInfo.osVersion;

@@ -134,4 +134,4 @@ }

// https://github.com/rofrischmann/inline-style-prefixer/issues/102
if (browserInfo.browserName === 'android' && browserInfo.samsungBrowser) {
browserInfo.browserName = 'and_chr';
if (browserInfo.browserName === "android" && browserInfo.samsungBrowser) {
browserInfo.browserName = "and_chr";
browserInfo.browserVersion = 44;

@@ -142,2 +142,2 @@ }

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,5 +8,5 @@ Object.defineProperty(exports, "__esModule", {

function getPrefixedKeyframes(browserName, browserVersion, cssPrefix) {
var prefixedKeyframes = 'keyframes';
var prefixedKeyframes = "keyframes";
if (browserName === 'chrome' && browserVersion < 43 || (browserName === 'safari' || browserName === 'ios_saf') && browserVersion < 9 || browserName === 'opera' && browserVersion < 30 || browserName === 'android' && browserVersion <= 4.4 || browserName === 'and_uc') {
if (browserName === "chrome" && browserVersion < 43 || (browserName === "safari" || browserName === "ios_saf") && browserVersion < 9 || browserName === "opera" && browserVersion < 30 || browserName === "android" && browserVersion <= 4.4 || browserName === "and_uc") {
return cssPrefix + prefixedKeyframes;

@@ -16,2 +16,2 @@ }

}
module.exports = exports['default'];
module.exports = exports["default"];

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -8,3 +8,3 @@ Object.defineProperty(exports, "__esModule", {

var _capitalizeString = require('./capitalizeString');
var _capitalizeString = require("./capitalizeString");

@@ -17,8 +17,19 @@ var _capitalizeString2 = _interopRequireDefault(_capitalizeString);

if (prefixProperties.hasOwnProperty(property)) {
var newStyle = {};
var requiredPrefixes = prefixProperties[property];
for (var i = 0, len = requiredPrefixes.length; i < len; ++i) {
style[requiredPrefixes[i] + (0, _capitalizeString2.default)(property)] = style[property];
var capitalizedProperty = (0, _capitalizeString2.default)(property);
var keys = Object.keys(style);
for (var i = 0; i < keys.length; i++) {
var styleProperty = keys[i];
if (styleProperty === property) {
for (var j = 0; j < requiredPrefixes.length; j++) {
newStyle[requiredPrefixes[j] + capitalizedProperty] = style[property];
}
}
newStyle[styleProperty] = style[styleProperty];
}
return newStyle;
}
return style;
}
module.exports = exports['default'];
module.exports = exports["default"];
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc