Socket
Socket
Sign inDemoInstall

autoprefixer

Package Overview
Dependencies
19
Maintainers
4
Versions
243
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.7.2 to 9.7.3

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 9.7.3
* Fix compatibility with PostCSS Modules.
## 9.7.2

@@ -5,0 +8,0 @@ * Add `-ms-user-select: element` support.

2

lib/hacks/grid-template-areas.js

@@ -21,3 +21,3 @@ "use strict";

function getGridRows(tpl) {
return tpl.trim().slice(1, -1).split(/['"]\s*['"]?/g);
return tpl.trim().slice(1, -1).split(/["']\s*["']?/g);
}

@@ -24,0 +24,0 @@

@@ -238,3 +238,3 @@ "use strict";

function testTrack(node) {
return node.type === 'word' && /^\[.+\]$/.test(node.value);
return node.type === 'word' && /^\[.+]$/.test(node.value);
}

@@ -241,0 +241,0 @@

@@ -79,3 +79,3 @@ "use strict";

if (prefix === '-ms-') {
decl.value = decl.value.replace(/rotateZ/gi, 'rotate');
decl.value = decl.value.replace(/rotatez/gi, 'rotate');
}

@@ -82,0 +82,0 @@

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

/**
* Return clone instance to remove all prefixes
*/
* Return clone instance to remove all prefixes
*/

@@ -123,4 +123,4 @@

/**
* Select prefixes from data, which is necessary for selected browsers
*/
* Select prefixes from data, which is necessary for selected browsers
*/
;

@@ -201,4 +201,4 @@

/**
* Sort vendor prefixes
*/
* Sort vendor prefixes
*/
;

@@ -219,4 +219,4 @@

/**
* Cache prefixes data to fast CSS processing
*/
* Cache prefixes data to fast CSS processing
*/
;

@@ -443,4 +443,4 @@

/**
* Return unprefixed version of property
*/
* Return unprefixed version of property
*/
;

@@ -458,4 +458,4 @@

/**
* Normalize prefix for remover
*/
* Normalize prefix for remover
*/
;

@@ -467,4 +467,4 @@

/**
* Return prefixed version of property
*/
* Return prefixed version of property
*/
;

@@ -477,4 +477,4 @@

/**
* Return values, which must be prefixed in selected property
*/
* Return values, which must be prefixed in selected property
*/
;

@@ -494,4 +494,4 @@

/**
* Group declaration by unprefixed property to check them
*/
* Group declaration by unprefixed property to check them
*/
;

@@ -498,0 +498,0 @@

@@ -363,16 +363,20 @@ "use strict";

for (var _iterator3 = _this.prefixes.values('add', unprefixed), _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : _iterator3[Symbol.iterator]();;) {
var _ref3;
var list = _this.prefixes.values('add', unprefixed);
if (_isArray3) {
if (_i3 >= _iterator3.length) break;
_ref3 = _iterator3[_i3++];
} else {
_i3 = _iterator3.next();
if (_i3.done) break;
_ref3 = _i3.value;
if (Array.isArray(list)) {
for (var _iterator3 = list, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : _iterator3[Symbol.iterator]();;) {
var _ref3;
if (_isArray3) {
if (_i3 >= _iterator3.length) break;
_ref3 = _iterator3[_i3++];
} else {
_i3 = _iterator3.next();
if (_i3.done) break;
_ref3 = _i3.value;
}
var value = _ref3;
if (value.process) value.process(decl, result);
}
var value = _ref3;
value.process(decl, result);
}

@@ -486,7 +490,4 @@

var checker = _ref5;
if (!checker.check(decl.value)) {
continue;
}
if (!checker.check) continue;
if (!checker.check(decl.value)) continue;
unprefixed = checker.unprefixed;

@@ -493,0 +494,0 @@

@@ -50,3 +50,3 @@ "use strict";

_proto.prefixed = function prefixed(prefix) {
return this.name.replace(/^([^\w]*)/, "$1" + prefix);
return this.name.replace(/^(\W*)/, "$1" + prefix);
}

@@ -53,0 +53,0 @@ /**

@@ -59,3 +59,3 @@ "use strict";

escapeRegexp: function escapeRegexp(string) {
return string.replace(/[.?*+^$[\]\\(){}|-]/g, '\\$&');
return string.replace(/[$()*+-.?[\\\]^{|}]/g, '\\$&');
},

@@ -62,0 +62,0 @@

{
"name": "autoprefixer",
"version": "9.7.2",
"version": "9.7.3",
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",

@@ -17,4 +17,4 @@ "keywords": ["autoprefixer", "css", "prefix", "postcss", "postcss-plugin"],

"dependencies": {
"browserslist": "^4.7.3",
"caniuse-lite": "^1.0.30001010",
"browserslist": "^4.8.0",
"caniuse-lite": "^1.0.30001012",
"chalk": "^2.4.2",

@@ -21,0 +21,0 @@ "normalize-range": "^0.1.2",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc