Socket
Socket
Sign inDemoInstall

fela-plugin-unit

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-plugin-unit - npm Package Compare versions

Comparing version 4.2.5 to 4.2.6

3

dist/fela-plugin-unit.js

@@ -104,3 +104,4 @@ (function (global, factory) {

function __commonjs(fn, module) { return module = { exports: {} }, fn(module, module.exports), module.exports; }
var __commonjs_global = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : this;
function __commonjs(fn, module) { return module = { exports: {} }, fn(module, module.exports, __commonjs_global), module.exports; }

@@ -107,0 +108,0 @@ var index$1 = __commonjs(function (module) {

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FelaPluginUnit=t()}(this,function(){"use strict";function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}function t(e,t,r){var o="undefined"==typeof t?"undefined":n.typeof(t);return("number"===o||"string"===o&&t==parseFloat(t))&&(t+=r),t}function r(e,n,o){var i=function(i){a(i)||!function(){var f=e[i],a=o[i]||n;Array.isArray(f)?e[i]=f.map(function(e){return t(i,e,a)}):f instanceof Object?e[i]=r(f,n,o):e[i]=t(i,f,a)}()};for(var f in e)i(f);return e}var n={};n.typeof="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},n.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n.createClass=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),n.defineProperty=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},n.extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.inherits=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},n.possibleConstructorReturn=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},n.toConsumableArray=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)};var o=e(function(e){function t(e){return e in o?o[e]:o[e]=e.replace(r,"-$&").toLowerCase().replace(n,"-ms-")}var r=/[A-Z]/g,n=/^ms-/,o={};e.exports=t}),i=o&&"object"==typeof o&&"default"in o?o.default:o,f=e(function(e){function t(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}var r=i,n={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,order:!0,lineClamp:!0},f=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){n[e]=!0,f.forEach(function(r){n[t(r,e)]=!0})}),Object.keys(n).forEach(function(e){n[r(e)]=!0}),e.exports=function(e){return n[e]}}),a=f&&"object"==typeof f&&"default"in f?f.default:f,u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"px",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){return r(n,e,t)}};return u});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FelaPluginUnit=t()}(this,function(){"use strict";function e(e,t){return t={exports:{}},e(t,t.exports,o),t.exports}function t(e,t,n){var o="undefined"==typeof t?"undefined":r.typeof(t);return("number"===o||"string"===o&&t==parseFloat(t))&&(t+=n),t}function n(e,r,o){var i=function(i){u(i)||!function(){var f=e[i],a=o[i]||r;Array.isArray(f)?e[i]=f.map(function(e){return t(i,e,a)}):f instanceof Object?e[i]=n(f,r,o):e[i]=t(i,f,a)}()};for(var f in e)i(f);return e}var r={};r.typeof="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},r.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r.createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r.defineProperty=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},r.extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.inherits=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},r.possibleConstructorReturn=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},r.toConsumableArray=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)};var o="undefined"!=typeof window?window:"undefined"!=typeof global?global:this,i=e(function(e){function t(e){return e in o?o[e]:o[e]=e.replace(n,"-$&").toLowerCase().replace(r,"-ms-")}var n=/[A-Z]/g,r=/^ms-/,o={};e.exports=t}),f=i&&"object"==typeof i&&"default"in i?i.default:i,a=e(function(e){function t(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}var n=f,r={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,order:!0,lineClamp:!0},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){r[e]=!0,i.forEach(function(n){r[t(n,e)]=!0})}),Object.keys(r).forEach(function(e){r[n(e)]=!0}),e.exports=function(e){return r[e]}}),u=a&&"object"==typeof a&&"default"in a?a.default:a,c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"px",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){return n(r,e,t)}};return c});
{
"name": "fela-plugin-unit",
"version": "4.2.5",
"version": "4.2.6",
"description": "Fela plugin to automatically add units if required",
"module": "index.es2015.js",
"main": "index.js",

@@ -24,4 +25,4 @@ "files": [

"peerDependencies": {
"fela": "4.2.5"
"fela": "4.2.6"
}
}

@@ -5,3 +5,3 @@ # fela-plugin-unit

<img alt="npm downloads" src="https://img.shields.io/npm/dm/fela-plugin-unit.svg">
<img alt="gzipped size" src="https://img.shields.io/badge/gzipped-1.44kb-brightgreen.svg">
<img alt="gzipped size" src="https://img.shields.io/badge/gzipped-1.47kb-brightgreen.svg">

@@ -19,5 +19,5 @@ Always writing length values as string with a value applied seems not like the JavaScript way to do it. You can also use mathematics to process number values. <br>

<!-- Fela (Development): Unminified version including all warnings -->
<script src="https://unpkg.com/fela-plugin-unit@4.2.5/dist/fela-plugin-unit.js"></script>
<script src="https://unpkg.com/fela-plugin-unit@4.2.6/dist/fela-plugin-unit.js"></script>
<!-- Fela (Production): Minified version -->
<script src="https://unpkg.com/fela-plugin-unit@4.2.5/dist/fela-plugin-unit.min.js"></script>
<script src="https://unpkg.com/fela-plugin-unit@4.2.6/dist/fela-plugin-unit.min.js"></script>
```

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

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