Socket
Socket
Sign inDemoInstall

react-prefixer

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-prefixer - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

9

lib/index.js

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

obj[key] = applyPrefixes(obj[key]);
} else if (_properties2["default"].indexOf(key) !== -1 && !(0, _CssSupportsPolyfill2["default"])(key)) {
} else if (_properties2["default"].indexOf(key) !== -1 && !(0, _CssSupportsPolyfill2["default"])(camelToKebab(key))) {
var value = obj[key];

@@ -52,6 +52,7 @@

_animatableValues2["default"].forEach(function (animatableValue) {
if (!(0, _CssSupportsPolyfill2["default"])(animatableValue)) {
var kebabValue = camelToKebab(animatableValue),
re = new RegExp(kebabValue, "g");
var kebabValue = camelToKebab(animatableValue);
if (!(0, _CssSupportsPolyfill2["default"])(kebabValue)) {
var re = new RegExp(kebabValue, "g");
obj[realKey] = obj[realKey].replace(re, _prefix2["default"].css + kebabValue);

@@ -58,0 +59,0 @@ }

@@ -36,3 +36,3 @@ {

},
"version": "1.1.3"
"version": "1.1.4"
}

Sorry, the diff of this file is not supported yet

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