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

css-vendor

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-vendor - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

5

changelog.md

@@ -0,1 +1,6 @@

## 2.0.7 / 2019-10-04
- Return parameters for transition/transition-property without prefix if they don't need to be prefixed
- Update dependencies
## 2.0.6 / 2019-08-15

@@ -2,0 +7,0 @@

287

dist/css-vendor.cjs.js

@@ -96,2 +96,13 @@ 'use strict';

// https://caniuse.com/#search=color-adjust
var colorAdjust = {
noPrefill: ['color-adjust'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'color-adjust') return false;
if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
return prop;
}
};
var regExp = /[-\s]+(.)?/g;

@@ -135,32 +146,37 @@ /**

// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177
// but we can use a longhand property instead.
// https://caniuse.com/#search=mask
var breakPropsOld = {
var mask = {
noPrefill: ['mask'],
supportedProperty: function supportedProperty(prop, style) {
if (!/^break-/.test(prop)) return false;
if (!/^mask/.test(prop)) return false;
if (prefix.js === 'Webkit') {
var jsProp = "WebkitColumn" + pascalize(prop);
return jsProp in style ? prefix.css + "column-" + prop : false;
}
var longhand = 'mask-image';
if (prefix.js === 'Moz') {
var _jsProp = "page" + pascalize(prop);
if (camelize(longhand) in style) {
return prop;
}
return _jsProp in style ? "page-" + prop : false;
if (prefix.js + pascalize(longhand) in style) {
return prefix.css + prop;
}
}
return false;
return prop;
}
};
// https://caniuse.com/#search=color-adjust
// https://caniuse.com/#search=text-orientation
var colorAdjust = {
noPrefill: ['color-adjust'],
var textOrientation = {
noPrefill: ['text-orientation'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'color-adjust') return false;
if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
if (prop !== 'text-orientation') return false;
if (prefix.vendor === 'apple' && !prefix.isTouch) {
return prefix.css + prop;
}
return prop;

@@ -170,109 +186,102 @@ }

var propMap = {
flex: 'box-flex',
'flex-grow': 'box-flex',
'flex-direction': ['box-orient', 'box-direction'],
order: 'box-ordinal-group',
'align-items': 'box-align',
'flex-flow': ['box-orient', 'box-direction'],
'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap);
// https://caniuse.com/#search=transform
var prefixCss = function prefixCss(p) {
return prefix.css + p;
}; // Support old flex spec from 2009.
var transform = {
noPrefill: ['transform'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transform') return false;
if (options.transform) {
return prop;
}
var flex2009 = {
supportedProperty: function supportedProperty(prop, style, _ref) {
var multiple = _ref.multiple;
return prefix.css + prop;
}
};
if (propKeys.indexOf(prop) > -1) {
var newProp = propMap[prop];
// https://caniuse.com/#search=transition
if (!Array.isArray(newProp)) {
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
var transition = {
noPrefill: ['transition'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transition') return false;
if (!multiple) return false;
for (var i = 0; i < newProp.length; i++) {
if (!(prefix.js + pascalize(newProp[0]) in style)) {
return false;
}
}
return newProp.map(prefixCss);
if (options.transition) {
return prop;
}
return false;
return prefix.css + prop;
}
};
var propMap$1 = {
'flex-grow': 'flex-positive',
'flex-shrink': 'flex-negative',
'flex-basis': 'flex-preferred-size',
'justify-content': 'flex-pack',
order: 'flex-order',
'align-items': 'flex-align',
'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
// Support old flex spec from 2012.
// https://caniuse.com/#search=writing-mode
};
var flex2012 = {
supportedProperty: function supportedProperty(prop, style) {
var newProp = propMap$1[prop];
if (!newProp) return false;
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
var writingMode = {
noPrefill: ['writing-mode'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'writing-mode') return false;
if (prefix.js === 'Webkit' || prefix.js === 'ms') {
return prefix.css + prop;
}
return prop;
}
};
// See https://github.com/postcss/autoprefixer/issues/324.
// https://caniuse.com/#search=user-select
var inlineLogicalOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^(border|margin|padding)-inline/.test(prop)) return false;
if (prefix.js === 'Moz') return prop;
var newProp = prop.replace('-inline', '');
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
var userSelect = {
noPrefill: ['user-select'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'user-select') return false;
if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {
return prefix.css + prop;
}
return prop;
}
};
// but we can use a longhand property instead.
// https://caniuse.com/#search=mask
// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177
var mask = {
noPrefill: ['mask'],
var breakPropsOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^mask/.test(prop)) return false;
if (!/^break-/.test(prop)) return false;
if (prefix.js === 'Webkit') {
var longhand = 'mask-image';
var jsProp = "WebkitColumn" + pascalize(prop);
return jsProp in style ? prefix.css + "column-" + prop : false;
}
if (camelize(longhand) in style) {
return prop;
}
if (prefix.js === 'Moz') {
var _jsProp = "page" + pascalize(prop);
if (prefix.js + pascalize(longhand) in style) {
return prefix.css + prop;
}
return _jsProp in style ? "page-" + prop : false;
}
return prop;
return false;
}
};
// https://caniuse.com/#search=overscroll-behavior
// See https://github.com/postcss/autoprefixer/issues/324.
var overscrollBehavior = {
supportedProperty: function supportedProperty(prop) {
if (prop !== 'overscroll-behavior') return false;
var inlineLogicalOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^(border|margin|padding)-inline/.test(prop)) return false;
if (prefix.js === 'Moz') return prop;
var newProp = prop.replace('-inline', '');
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
};
if (prefix.js === 'ms') {
return prefix.css + "scroll-chaining";
}
// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.
return prop;
var unprefixed = {
supportedProperty: function supportedProperty(prop, style) {
return camelize(prop) in style ? prop : false;
}

@@ -309,11 +318,10 @@ };

// https://caniuse.com/#search=text-orientation
// https://caniuse.com/#search=overscroll-behavior
var textOrientation = {
noPrefill: ['text-orientation'],
var overscrollBehavior = {
supportedProperty: function supportedProperty(prop) {
if (prop !== 'text-orientation') return false;
if (prop !== 'overscroll-behavior') return false;
if (prefix.vendor === 'apple' && !prefix.isTouch) {
return prefix.css + prop;
if (prefix.js === 'ms') {
return prefix.css + "scroll-chaining";
}

@@ -325,53 +333,60 @@

// https://caniuse.com/#search=transform
var propMap = {
'flex-grow': 'flex-positive',
'flex-shrink': 'flex-negative',
'flex-basis': 'flex-preferred-size',
'justify-content': 'flex-pack',
order: 'flex-order',
'align-items': 'flex-align',
'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
var transform = {
noPrefill: ['transform'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transform') return false;
}; // Support old flex spec from 2012.
if (options.transform) {
return prop;
}
return prefix.css + prop;
var flex2012 = {
supportedProperty: function supportedProperty(prop, style) {
var newProp = propMap[prop];
if (!newProp) return false;
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
};
// https://caniuse.com/#search=transition
var propMap$1 = {
flex: 'box-flex',
'flex-grow': 'box-flex',
'flex-direction': ['box-orient', 'box-direction'],
order: 'box-ordinal-group',
'align-items': 'box-align',
'flex-flow': ['box-orient', 'box-direction'],
'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap$1);
var transition = {
noPrefill: ['transition'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transition') return false;
var prefixCss = function prefixCss(p) {
return prefix.css + p;
}; // Support old flex spec from 2009.
if (options.transition) {
return prop;
}
return prefix.css + prop;
}
};
var flex2009 = {
supportedProperty: function supportedProperty(prop, style, _ref) {
var multiple = _ref.multiple;
// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.
if (propKeys.indexOf(prop) > -1) {
var newProp = propMap$1[prop];
var unprefixed = {
supportedProperty: function supportedProperty(prop, style) {
return camelize(prop) in style ? prop : false;
}
};
if (!Array.isArray(newProp)) {
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
// https://caniuse.com/#search=writing-mode
if (!multiple) return false;
var writingMode = {
noPrefill: ['writing-mode'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'writing-mode') return false;
for (var i = 0; i < newProp.length; i++) {
if (!(prefix.js + pascalize(newProp[0]) in style)) {
return false;
}
}
if (prefix.js === 'Webkit' || prefix.js === 'ms') {
return prefix.css + prop;
return newProp.map(prefixCss);
}
return prop;
return false;
}

@@ -395,3 +410,3 @@ };

var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
var propertyDetectors = plugins.filter(function (p) {

@@ -503,3 +518,5 @@ return p.supportedProperty;

if (p2 === 'all') return ', all';
return p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
var prefixedValue = p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
if (!prefixedValue) return p1 || p2;
return prefixedValue;
}

@@ -506,0 +523,0 @@

@@ -90,2 +90,13 @@ import isInBrowser from 'is-in-browser';

// https://caniuse.com/#search=color-adjust
var colorAdjust = {
noPrefill: ['color-adjust'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'color-adjust') return false;
if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
return prop;
}
};
var regExp = /[-\s]+(.)?/g;

@@ -129,32 +140,37 @@ /**

// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177
// but we can use a longhand property instead.
// https://caniuse.com/#search=mask
var breakPropsOld = {
var mask = {
noPrefill: ['mask'],
supportedProperty: function supportedProperty(prop, style) {
if (!/^break-/.test(prop)) return false;
if (!/^mask/.test(prop)) return false;
if (prefix.js === 'Webkit') {
var jsProp = "WebkitColumn" + pascalize(prop);
return jsProp in style ? prefix.css + "column-" + prop : false;
}
var longhand = 'mask-image';
if (prefix.js === 'Moz') {
var _jsProp = "page" + pascalize(prop);
if (camelize(longhand) in style) {
return prop;
}
return _jsProp in style ? "page-" + prop : false;
if (prefix.js + pascalize(longhand) in style) {
return prefix.css + prop;
}
}
return false;
return prop;
}
};
// https://caniuse.com/#search=color-adjust
// https://caniuse.com/#search=text-orientation
var colorAdjust = {
noPrefill: ['color-adjust'],
var textOrientation = {
noPrefill: ['text-orientation'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'color-adjust') return false;
if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
if (prop !== 'text-orientation') return false;
if (prefix.vendor === 'apple' && !prefix.isTouch) {
return prefix.css + prop;
}
return prop;

@@ -164,109 +180,102 @@ }

var propMap = {
flex: 'box-flex',
'flex-grow': 'box-flex',
'flex-direction': ['box-orient', 'box-direction'],
order: 'box-ordinal-group',
'align-items': 'box-align',
'flex-flow': ['box-orient', 'box-direction'],
'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap);
// https://caniuse.com/#search=transform
var prefixCss = function prefixCss(p) {
return prefix.css + p;
}; // Support old flex spec from 2009.
var transform = {
noPrefill: ['transform'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transform') return false;
if (options.transform) {
return prop;
}
var flex2009 = {
supportedProperty: function supportedProperty(prop, style, _ref) {
var multiple = _ref.multiple;
return prefix.css + prop;
}
};
if (propKeys.indexOf(prop) > -1) {
var newProp = propMap[prop];
// https://caniuse.com/#search=transition
if (!Array.isArray(newProp)) {
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
var transition = {
noPrefill: ['transition'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transition') return false;
if (!multiple) return false;
for (var i = 0; i < newProp.length; i++) {
if (!(prefix.js + pascalize(newProp[0]) in style)) {
return false;
}
}
return newProp.map(prefixCss);
if (options.transition) {
return prop;
}
return false;
return prefix.css + prop;
}
};
var propMap$1 = {
'flex-grow': 'flex-positive',
'flex-shrink': 'flex-negative',
'flex-basis': 'flex-preferred-size',
'justify-content': 'flex-pack',
order: 'flex-order',
'align-items': 'flex-align',
'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
// Support old flex spec from 2012.
// https://caniuse.com/#search=writing-mode
};
var flex2012 = {
supportedProperty: function supportedProperty(prop, style) {
var newProp = propMap$1[prop];
if (!newProp) return false;
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
var writingMode = {
noPrefill: ['writing-mode'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'writing-mode') return false;
if (prefix.js === 'Webkit' || prefix.js === 'ms') {
return prefix.css + prop;
}
return prop;
}
};
// See https://github.com/postcss/autoprefixer/issues/324.
// https://caniuse.com/#search=user-select
var inlineLogicalOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^(border|margin|padding)-inline/.test(prop)) return false;
if (prefix.js === 'Moz') return prop;
var newProp = prop.replace('-inline', '');
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
var userSelect = {
noPrefill: ['user-select'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'user-select') return false;
if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {
return prefix.css + prop;
}
return prop;
}
};
// but we can use a longhand property instead.
// https://caniuse.com/#search=mask
// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177
var mask = {
noPrefill: ['mask'],
var breakPropsOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^mask/.test(prop)) return false;
if (!/^break-/.test(prop)) return false;
if (prefix.js === 'Webkit') {
var longhand = 'mask-image';
var jsProp = "WebkitColumn" + pascalize(prop);
return jsProp in style ? prefix.css + "column-" + prop : false;
}
if (camelize(longhand) in style) {
return prop;
}
if (prefix.js === 'Moz') {
var _jsProp = "page" + pascalize(prop);
if (prefix.js + pascalize(longhand) in style) {
return prefix.css + prop;
}
return _jsProp in style ? "page-" + prop : false;
}
return prop;
return false;
}
};
// https://caniuse.com/#search=overscroll-behavior
// See https://github.com/postcss/autoprefixer/issues/324.
var overscrollBehavior = {
supportedProperty: function supportedProperty(prop) {
if (prop !== 'overscroll-behavior') return false;
var inlineLogicalOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^(border|margin|padding)-inline/.test(prop)) return false;
if (prefix.js === 'Moz') return prop;
var newProp = prop.replace('-inline', '');
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
};
if (prefix.js === 'ms') {
return prefix.css + "scroll-chaining";
}
// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.
return prop;
var unprefixed = {
supportedProperty: function supportedProperty(prop, style) {
return camelize(prop) in style ? prop : false;
}

@@ -303,11 +312,10 @@ };

// https://caniuse.com/#search=text-orientation
// https://caniuse.com/#search=overscroll-behavior
var textOrientation = {
noPrefill: ['text-orientation'],
var overscrollBehavior = {
supportedProperty: function supportedProperty(prop) {
if (prop !== 'text-orientation') return false;
if (prop !== 'overscroll-behavior') return false;
if (prefix.vendor === 'apple' && !prefix.isTouch) {
return prefix.css + prop;
if (prefix.js === 'ms') {
return prefix.css + "scroll-chaining";
}

@@ -319,53 +327,60 @@

// https://caniuse.com/#search=transform
var propMap = {
'flex-grow': 'flex-positive',
'flex-shrink': 'flex-negative',
'flex-basis': 'flex-preferred-size',
'justify-content': 'flex-pack',
order: 'flex-order',
'align-items': 'flex-align',
'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
var transform = {
noPrefill: ['transform'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transform') return false;
}; // Support old flex spec from 2012.
if (options.transform) {
return prop;
}
return prefix.css + prop;
var flex2012 = {
supportedProperty: function supportedProperty(prop, style) {
var newProp = propMap[prop];
if (!newProp) return false;
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
};
// https://caniuse.com/#search=transition
var propMap$1 = {
flex: 'box-flex',
'flex-grow': 'box-flex',
'flex-direction': ['box-orient', 'box-direction'],
order: 'box-ordinal-group',
'align-items': 'box-align',
'flex-flow': ['box-orient', 'box-direction'],
'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap$1);
var transition = {
noPrefill: ['transition'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transition') return false;
var prefixCss = function prefixCss(p) {
return prefix.css + p;
}; // Support old flex spec from 2009.
if (options.transition) {
return prop;
}
return prefix.css + prop;
}
};
var flex2009 = {
supportedProperty: function supportedProperty(prop, style, _ref) {
var multiple = _ref.multiple;
// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.
if (propKeys.indexOf(prop) > -1) {
var newProp = propMap$1[prop];
var unprefixed = {
supportedProperty: function supportedProperty(prop, style) {
return camelize(prop) in style ? prop : false;
}
};
if (!Array.isArray(newProp)) {
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
// https://caniuse.com/#search=writing-mode
if (!multiple) return false;
var writingMode = {
noPrefill: ['writing-mode'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'writing-mode') return false;
for (var i = 0; i < newProp.length; i++) {
if (!(prefix.js + pascalize(newProp[0]) in style)) {
return false;
}
}
if (prefix.js === 'Webkit' || prefix.js === 'ms') {
return prefix.css + prop;
return newProp.map(prefixCss);
}
return prop;
return false;
}

@@ -389,3 +404,3 @@ };

var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
var propertyDetectors = plugins.filter(function (p) {

@@ -497,3 +512,5 @@ return p.supportedProperty;

if (p2 === 'all') return ', all';
return p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
var prefixedValue = p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
if (!prefixedValue) return p1 || p2;
return prefixedValue;
}

@@ -500,0 +517,0 @@

@@ -119,2 +119,13 @@ (function (global, factory) {

// https://caniuse.com/#search=color-adjust
var colorAdjust = {
noPrefill: ['color-adjust'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'color-adjust') return false;
if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
return prop;
}
};
var regExp = /[-\s]+(.)?/g;

@@ -158,32 +169,37 @@ /**

// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177
// but we can use a longhand property instead.
// https://caniuse.com/#search=mask
var breakPropsOld = {
var mask = {
noPrefill: ['mask'],
supportedProperty: function supportedProperty(prop, style) {
if (!/^break-/.test(prop)) return false;
if (!/^mask/.test(prop)) return false;
if (prefix.js === 'Webkit') {
var jsProp = "WebkitColumn" + pascalize(prop);
return jsProp in style ? prefix.css + "column-" + prop : false;
}
var longhand = 'mask-image';
if (prefix.js === 'Moz') {
var _jsProp = "page" + pascalize(prop);
if (camelize(longhand) in style) {
return prop;
}
return _jsProp in style ? "page-" + prop : false;
if (prefix.js + pascalize(longhand) in style) {
return prefix.css + prop;
}
}
return false;
return prop;
}
};
// https://caniuse.com/#search=color-adjust
// https://caniuse.com/#search=text-orientation
var colorAdjust = {
noPrefill: ['color-adjust'],
var textOrientation = {
noPrefill: ['text-orientation'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'color-adjust') return false;
if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
if (prop !== 'text-orientation') return false;
if (prefix.vendor === 'apple' && !prefix.isTouch) {
return prefix.css + prop;
}
return prop;

@@ -193,109 +209,102 @@ }

var propMap = {
flex: 'box-flex',
'flex-grow': 'box-flex',
'flex-direction': ['box-orient', 'box-direction'],
order: 'box-ordinal-group',
'align-items': 'box-align',
'flex-flow': ['box-orient', 'box-direction'],
'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap);
// https://caniuse.com/#search=transform
var prefixCss = function prefixCss(p) {
return prefix.css + p;
}; // Support old flex spec from 2009.
var transform = {
noPrefill: ['transform'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transform') return false;
if (options.transform) {
return prop;
}
var flex2009 = {
supportedProperty: function supportedProperty(prop, style, _ref) {
var multiple = _ref.multiple;
return prefix.css + prop;
}
};
if (propKeys.indexOf(prop) > -1) {
var newProp = propMap[prop];
// https://caniuse.com/#search=transition
if (!Array.isArray(newProp)) {
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
var transition = {
noPrefill: ['transition'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transition') return false;
if (!multiple) return false;
for (var i = 0; i < newProp.length; i++) {
if (!(prefix.js + pascalize(newProp[0]) in style)) {
return false;
}
}
return newProp.map(prefixCss);
if (options.transition) {
return prop;
}
return false;
return prefix.css + prop;
}
};
var propMap$1 = {
'flex-grow': 'flex-positive',
'flex-shrink': 'flex-negative',
'flex-basis': 'flex-preferred-size',
'justify-content': 'flex-pack',
order: 'flex-order',
'align-items': 'flex-align',
'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
// Support old flex spec from 2012.
// https://caniuse.com/#search=writing-mode
};
var flex2012 = {
supportedProperty: function supportedProperty(prop, style) {
var newProp = propMap$1[prop];
if (!newProp) return false;
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
var writingMode = {
noPrefill: ['writing-mode'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'writing-mode') return false;
if (prefix.js === 'Webkit' || prefix.js === 'ms') {
return prefix.css + prop;
}
return prop;
}
};
// See https://github.com/postcss/autoprefixer/issues/324.
// https://caniuse.com/#search=user-select
var inlineLogicalOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^(border|margin|padding)-inline/.test(prop)) return false;
if (prefix.js === 'Moz') return prop;
var newProp = prop.replace('-inline', '');
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
var userSelect = {
noPrefill: ['user-select'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'user-select') return false;
if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {
return prefix.css + prop;
}
return prop;
}
};
// but we can use a longhand property instead.
// https://caniuse.com/#search=mask
// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177
var mask = {
noPrefill: ['mask'],
var breakPropsOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^mask/.test(prop)) return false;
if (!/^break-/.test(prop)) return false;
if (prefix.js === 'Webkit') {
var longhand = 'mask-image';
var jsProp = "WebkitColumn" + pascalize(prop);
return jsProp in style ? prefix.css + "column-" + prop : false;
}
if (camelize(longhand) in style) {
return prop;
}
if (prefix.js === 'Moz') {
var _jsProp = "page" + pascalize(prop);
if (prefix.js + pascalize(longhand) in style) {
return prefix.css + prop;
}
return _jsProp in style ? "page-" + prop : false;
}
return prop;
return false;
}
};
// https://caniuse.com/#search=overscroll-behavior
// See https://github.com/postcss/autoprefixer/issues/324.
var overscrollBehavior = {
supportedProperty: function supportedProperty(prop) {
if (prop !== 'overscroll-behavior') return false;
var inlineLogicalOld = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^(border|margin|padding)-inline/.test(prop)) return false;
if (prefix.js === 'Moz') return prop;
var newProp = prop.replace('-inline', '');
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
};
if (prefix.js === 'ms') {
return prefix.css + "scroll-chaining";
}
// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.
return prop;
var unprefixed = {
supportedProperty: function supportedProperty(prop, style) {
return camelize(prop) in style ? prop : false;
}

@@ -332,11 +341,10 @@ };

// https://caniuse.com/#search=text-orientation
// https://caniuse.com/#search=overscroll-behavior
var textOrientation = {
noPrefill: ['text-orientation'],
var overscrollBehavior = {
supportedProperty: function supportedProperty(prop) {
if (prop !== 'text-orientation') return false;
if (prop !== 'overscroll-behavior') return false;
if (prefix.vendor === 'apple' && !prefix.isTouch) {
return prefix.css + prop;
if (prefix.js === 'ms') {
return prefix.css + "scroll-chaining";
}

@@ -348,53 +356,60 @@

// https://caniuse.com/#search=transform
var propMap = {
'flex-grow': 'flex-positive',
'flex-shrink': 'flex-negative',
'flex-basis': 'flex-preferred-size',
'justify-content': 'flex-pack',
order: 'flex-order',
'align-items': 'flex-align',
'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
var transform = {
noPrefill: ['transform'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transform') return false;
}; // Support old flex spec from 2012.
if (options.transform) {
return prop;
}
return prefix.css + prop;
var flex2012 = {
supportedProperty: function supportedProperty(prop, style) {
var newProp = propMap[prop];
if (!newProp) return false;
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
};
// https://caniuse.com/#search=transition
var propMap$1 = {
flex: 'box-flex',
'flex-grow': 'box-flex',
'flex-direction': ['box-orient', 'box-direction'],
order: 'box-ordinal-group',
'align-items': 'box-align',
'flex-flow': ['box-orient', 'box-direction'],
'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap$1);
var transition = {
noPrefill: ['transition'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transition') return false;
var prefixCss = function prefixCss(p) {
return prefix.css + p;
}; // Support old flex spec from 2009.
if (options.transition) {
return prop;
}
return prefix.css + prop;
}
};
var flex2009 = {
supportedProperty: function supportedProperty(prop, style, _ref) {
var multiple = _ref.multiple;
// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.
if (propKeys.indexOf(prop) > -1) {
var newProp = propMap$1[prop];
var unprefixed = {
supportedProperty: function supportedProperty(prop, style) {
return camelize(prop) in style ? prop : false;
}
};
if (!Array.isArray(newProp)) {
return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
}
// https://caniuse.com/#search=writing-mode
if (!multiple) return false;
var writingMode = {
noPrefill: ['writing-mode'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'writing-mode') return false;
for (var i = 0; i < newProp.length; i++) {
if (!(prefix.js + pascalize(newProp[0]) in style)) {
return false;
}
}
if (prefix.js === 'Webkit' || prefix.js === 'ms') {
return prefix.css + prop;
return newProp.map(prefixCss);
}
return prop;
return false;
}

@@ -418,3 +433,3 @@ };

var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
var plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
var propertyDetectors = plugins.filter(function (p) {

@@ -526,3 +541,5 @@ return p.supportedProperty;

if (p2 === 'all') return ', all';
return p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
var prefixedValue = p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
if (!prefixedValue) return p1 || p2;
return prefixedValue;
}

@@ -529,0 +546,0 @@

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

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e=e||self).cssVendor={})}(this,function(e){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t="object"===("undefined"==typeof window?"undefined":r(window))&&"object"===("undefined"==typeof document?"undefined":r(document))&&9===document.nodeType,n="",o="",i="",s="",u=t&&"ontouchstart"in document.documentElement;if(t){var f={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},p=document.createElement("p").style;for(var l in f)if(l+"Transform"in p){n=l,o=f[l];break}"Webkit"===n&&"msHyphens"in p&&(n="ms",o=f.ms,s="edge"),"Webkit"===n&&"-apple-trailing-word"in p&&(i="apple")}var c={js:n,css:o,vendor:i,browser:s,isTouch:u};function a(e){return function(e){if(Array.isArray(e)){for(var r=0,t=new Array(e.length);r<e.length;r++)t[r]=e[r];return t}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var d={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===c.js?"-webkit-"+e:c.css+e)}},y=/[-\s]+(.)?/g;function m(e,r){return r?r.toUpperCase():""}function b(e){return e.replace(y,m)}function x(e){return b("-"+e)}var g,j={supportedProperty:function(e,r){return!!/^break-/.test(e)&&("Webkit"===c.js?"WebkitColumn"+x(e)in r&&c.css+"column-"+e:"Moz"===c.js&&("page"+x(e)in r&&"page-"+e))}},v={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===c.js?c.css+"print-"+e:e)}},P={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},k=Object.keys(P),w=function(e){return c.css+e},h={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},W=[d,v,{noPrefill:["mask"],supportedProperty:function(e,r){if(!/^mask/.test(e))return!1;if("Webkit"===c.js){if(b("mask-image")in r)return e;if(c.js+x("mask-image")in r)return c.css+e}return e}},{noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==c.vendor||c.isTouch?e:c.css+e)}},{noPrefill:["transform"],supportedProperty:function(e,r,t){return"transform"===e&&(t.transform?e:c.css+e)}},{noPrefill:["transition"],supportedProperty:function(e,r,t){return"transition"===e&&(t.transition?e:c.css+e)}},{noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===c.js||"ms"===c.js?c.css+e:e)}},j,{supportedProperty:function(e,r){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===c.js)return e;var t=e.replace("-inline","");return c.js+x(t)in r&&c.css+t}},{supportedProperty:function(e,r){return b(e)in r&&e}},{supportedProperty:function(e,r){var t=x(e);return"-"===e[0]?e:"-"===e[0]&&"-"===e[1]?e:c.js+t in r?c.css+e:"Webkit"!==c.js&&"Webkit"+t in r&&"-webkit-"+e}},{supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===c.js?""+c.css+e:e)}},{supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===c.js?c.css+"scroll-chaining":e)}},{supportedProperty:function(e,r){var t=h[e];return!!t&&(c.js+x(t)in r&&c.css+t)}},{supportedProperty:function(e,r,t){var n=t.multiple;if(k.indexOf(e)>-1){var o=P[e];if(!Array.isArray(o))return c.js+x(o)in r&&c.css+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(c.js+x(o[0])in r))return!1;return o.map(w)}return!1}}],S=W.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),A=W.filter(function(e){return e.noPrefill}).reduce(function(e,r){return e.push.apply(e,a(r.noPrefill)),e},[]),E={};if(t){g=document.createElement("p");var O=window.getComputedStyle(document.documentElement,"");for(var z in O)isNaN(z)||(E[O[z]]=O[z]);A.forEach(function(e){return delete E[e]})}function T(e,r){if(void 0===r&&(r={}),!g)return e;if(null!=E[e])return E[e];"transition"!==e&&"transform"!==e||(r[e]=e in g.style);for(var t=0;t<S.length&&(E[e]=S[t](e,g.style,r),!E[e]);t++);try{g.style[e]=""}catch(e){return!1}return E[e]}var M,N={},C={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},I=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function V(e,r,t){return"var"===r?"var":"all"===r?"all":"all"===t?", all":r?T(r):", "+T(t)}t&&(M=document.createElement("p")),e.prefix=c,e.supportedKeyframes=function(e){return"-"===e[1]?e:"ms"===c.js?e:"@"+c.css+"keyframes"+e.substr(10)},e.supportedProperty=T,e.supportedValue=function(e,r){var t=r;if(!M||"content"===e)return r;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var n=e+t;if(null!=N[n])return N[n];try{M.style[e]=t}catch(e){return N[n]=!1,!1}if(C[e])t=t.replace(I,V);else if(""===M.style[e]&&("-ms-flex"===(t=c.css+t)&&(M.style[e]="-ms-flexbox"),M.style[e]=t,""===M.style[e]))return N[n]=!1,!1;return M.style[e]="",N[n]=t,N[n]},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e=e||self).cssVendor={})}(this,function(e){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t="object"===("undefined"==typeof window?"undefined":r(window))&&"object"===("undefined"==typeof document?"undefined":r(document))&&9===document.nodeType,n="",o="",i="",s="",u=t&&"ontouchstart"in document.documentElement;if(t){var f={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},p=document.createElement("p").style;for(var l in f)if(l+"Transform"in p){n=l,o=f[l];break}"Webkit"===n&&"msHyphens"in p&&(n="ms",o=f.ms,s="edge"),"Webkit"===n&&"-apple-trailing-word"in p&&(i="apple")}var c={js:n,css:o,vendor:i,browser:s,isTouch:u};function a(e){return function(e){if(Array.isArray(e)){for(var r=0,t=new Array(e.length);r<e.length;r++)t[r]=e[r];return t}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var d={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===c.js?"-webkit-"+e:c.css+e)}},y={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===c.js?c.css+"print-"+e:e)}},m=/[-\s]+(.)?/g;function b(e,r){return r?r.toUpperCase():""}function x(e){return e.replace(m,b)}function j(e){return x("-"+e)}var v,g={noPrefill:["mask"],supportedProperty:function(e,r){if(!/^mask/.test(e))return!1;if("Webkit"===c.js){if(x("mask-image")in r)return e;if(c.js+j("mask-image")in r)return c.css+e}return e}},P={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==c.vendor||c.isTouch?e:c.css+e)}},k={noPrefill:["transform"],supportedProperty:function(e,r,t){return"transform"===e&&(t.transform?e:c.css+e)}},w={noPrefill:["transition"],supportedProperty:function(e,r,t){return"transition"===e&&(t.transition?e:c.css+e)}},h={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===c.js||"ms"===c.js?c.css+e:e)}},W={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===c.js||"ms"===c.js||"apple"===c.vendor?c.css+e:e)}},S={supportedProperty:function(e,r){return!!/^break-/.test(e)&&("Webkit"===c.js?"WebkitColumn"+j(e)in r&&c.css+"column-"+e:"Moz"===c.js&&("page"+j(e)in r&&"page-"+e))}},A={supportedProperty:function(e,r){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===c.js)return e;var t=e.replace("-inline","");return c.js+j(t)in r&&c.css+t}},E={supportedProperty:function(e,r){return x(e)in r&&e}},z={supportedProperty:function(e,r){var t=j(e);return"-"===e[0]?e:"-"===e[0]&&"-"===e[1]?e:c.js+t in r?c.css+e:"Webkit"!==c.js&&"Webkit"+t in r&&"-webkit-"+e}},O={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===c.js?""+c.css+e:e)}},M={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===c.js?c.css+"scroll-chaining":e)}},T={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},N={supportedProperty:function(e,r){var t=T[e];return!!t&&(c.js+j(t)in r&&c.css+t)}},C={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},I=Object.keys(C),V=function(e){return c.css+e},_=[d,y,g,P,k,w,h,W,S,A,E,z,O,M,N,{supportedProperty:function(e,r,t){var n=t.multiple;if(I.indexOf(e)>-1){var o=C[e];if(!Array.isArray(o))return c.js+j(o)in r&&c.css+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(c.js+j(o[0])in r))return!1;return o.map(V)}return!1}}],H=_.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),K=_.filter(function(e){return e.noPrefill}).reduce(function(e,r){return e.push.apply(e,a(r.noPrefill)),e},[]),U={};if(t){v=document.createElement("p");var q=window.getComputedStyle(document.documentElement,"");for(var B in q)isNaN(B)||(U[q[B]]=q[B]);K.forEach(function(e){return delete U[e]})}function D(e,r){if(void 0===r&&(r={}),!v)return e;if(null!=U[e])return U[e];"transition"!==e&&"transform"!==e||(r[e]=e in v.style);for(var t=0;t<H.length&&(U[e]=H[t](e,v.style,r),!U[e]);t++);try{v.style[e]=""}catch(e){return!1}return U[e]}var F,G={},J={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},L=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Q(e,r,t){if("var"===r)return"var";if("all"===r)return"all";if("all"===t)return", all";var n=r?D(r):", "+D(t);return n||(r||t)}t&&(F=document.createElement("p")),e.prefix=c,e.supportedKeyframes=function(e){return"-"===e[1]?e:"ms"===c.js?e:"@"+c.css+"keyframes"+e.substr(10)},e.supportedProperty=D,e.supportedValue=function(e,r){var t=r;if(!F||"content"===e)return r;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var n=e+t;if(null!=G[n])return G[n];try{F.style[e]=t}catch(e){return G[n]=!1,!1}if(J[e])t=t.replace(L,Q);else if(""===F.style[e]&&("-ms-flex"===(t=c.css+t)&&(F.style[e]="-ms-flexbox"),F.style[e]=t,""===F.style[e]))return G[n]=!1,!1;return F.style[e]="",G[n]=t,G[n]},Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "css-vendor",
"description": "CSS vendor prefix detection and property feature testing.",
"version": "2.0.6",
"version": "2.0.7",
"author": {

@@ -43,8 +43,8 @@ "name": "Oleg Slobodskoi",

"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/core": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"autoprefixer": "^9.6.0",
"babel-cli": "^6.5.1",
"babel-eslint": "^10.0.2",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.5",

@@ -56,7 +56,7 @@ "babel-plugin-rewire": "^1.1.0",

"caniuse-support": "^1.0.2",
"cross-env": "^5.2.0",
"cross-env": "^6.0.0",
"es5-shim": "^4.5.10",
"eslint": "^6.1.0",
"eslint": "^6.4.0",
"eslint-config-jss": "^5.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-config-prettier": "^6.3.0",
"expect.js": "^0.3.1",

@@ -75,5 +75,5 @@ "karma": "^4.0.1",

"karma-webpack": "^4.0.2",
"lint-staged": "^9.2.1",
"lint-staged": "^9.4.0",
"mocha": "^6.2.0",
"postcss-js": "^2.0.0",
"postcss-js": "^2.0.3",
"pre-commit": "^1.1.3",

@@ -87,8 +87,8 @@ "prettier": "1.18.0",

"rollup-plugin-size-snapshot": "^0.10.0",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-terser": "^5.1.2",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.6"
"webpack-cli": "^3.3.9"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@babel/runtime": "^7.6.2",
"is-in-browser": "^1.0.2"

@@ -95,0 +95,0 @@ },

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