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 5.1.1 to 5.1.2

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

### 5.1.2
* fixed bugs that occured with 5.1.1
* added support for `span X` values in grid properties ( [#190](https://github.com/rofrischmann/inline-style-prefixer/pull/190) )
### 5.1.1

@@ -7,0 +11,0 @@ * added support for `span` values in grid properties ( [#186](https://github.com/rofrischmann/inline-style-prefixer/pull/186) )

@@ -7,2 +7,6 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();

function isComplexSpanValue(value) {
return typeof value === 'string' && value.includes('/');
}
var alignmentValues = ['center', 'end', 'start', 'stretch'];

@@ -25,3 +29,3 @@

style.msGridColumn = value;
} else {
} else if (isComplexSpanValue(value)) {
var _value$split = value.split('/'),

@@ -44,2 +48,4 @@ _value$split2 = _slicedToArray(_value$split, 2),

}
} else {
propertyConverters.gridColumnStart(value, style);
}

@@ -65,3 +71,3 @@ },

style.msGridRow = value;
} else {
} else if (isComplexSpanValue(value)) {
var _value$split3 = value.split('/'),

@@ -84,2 +90,4 @@ _value$split4 = _slicedToArray(_value$split3, 2),

}
} else {
propertyConverters.gridRowStart(value, style);
}

@@ -86,0 +94,0 @@ },

@@ -14,2 +14,6 @@ 'use strict';

function isComplexSpanValue(value) {
return typeof value === 'string' && value.includes('/');
}
var alignmentValues = ['center', 'end', 'start', 'stretch'];

@@ -32,3 +36,3 @@

style.msGridColumn = value;
} else {
} else if (isComplexSpanValue(value)) {
var _value$split = value.split('/'),

@@ -51,2 +55,4 @@ _value$split2 = _slicedToArray(_value$split, 2),

}
} else {
propertyConverters.gridColumnStart(value, style);
}

@@ -72,3 +78,3 @@ },

style.msGridRow = value;
} else {
} else if (isComplexSpanValue(value)) {
var _value$split3 = value.split('/'),

@@ -91,2 +97,4 @@ _value$split4 = _slicedToArray(_value$split3, 2),

}
} else {
propertyConverters.gridRowStart(value, style);
}

@@ -93,0 +101,0 @@ },

4

package.json
{
"name": "inline-style-prefixer",
"version": "5.1.1",
"version": "5.1.2",
"description": "Run-time Autoprefixer for JavaScript style objects",

@@ -79,2 +79,2 @@ "module": "es/index.js",

}
}
}
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