fela-plugin-remove-undefined
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -11,3 +11,3 @@ (function (global, factory) { | ||
} : function (obj) { | ||
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; | ||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | ||
}; | ||
@@ -14,0 +14,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.FelaPluginRemoveUndefined=n()}(this,function(){"use strict";function e(e){return void 0===e||"string"==typeof e&&e.indexOf("undefined")>-1}function n(t){return Object.keys(t).forEach(function(o){var r=t[o];r instanceof Object&&!Array.isArray(r)?t[o]=n(r):Array.isArray(r)?t[o]=r.filter(function(n){return!e(n)}):e(r)&&delete t[o]}),t}var t={};t.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},t.extends=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};var o=function(){return n};return o}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FelaPluginRemoveUndefined=t()}(this,function(){"use strict";function e(e){return void 0===e||"string"==typeof e&&e.indexOf("undefined")>-1}function t(n){return Object.keys(n).forEach(function(o){var r=n[o];r instanceof Object&&!Array.isArray(r)?n[o]=t(r):Array.isArray(r)?n[o]=r.filter(function(t){return!e(t)}):e(r)&&delete n[o]}),n}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.extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};var o=function(){return t};return o}); |
{ | ||
"name": "fela-plugin-remove-undefined", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Fela plugin to remove invalid undefined values", | ||
@@ -21,4 +21,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"fela": "2.0.0" | ||
"fela": "3.0.0" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # fela-plugin-remove-undefined | ||
<img alt="npm downloads" src="https://img.shields.io/npm/dm/fela-plugin-remove-undefined.svg"> | ||
<img alt="gzipped size" src="https://img.shields.io/badge/gzipped-0.45kb-brightgreen.svg"> | ||
<img alt="gzipped size" src="https://img.shields.io/badge/gzipped-0.46kb-brightgreen.svg"> | ||
@@ -19,5 +19,5 @@ Removes any `undefined` value or string values containing `undefined`. | ||
<!-- Fela (Development): Unminified version including all warnings --> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@2.0.0/dist/fela-plugin-remove-undefined.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.0/dist/fela-plugin-remove-undefined.js"></script> | ||
<!-- Fela (Production): Minified version --> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@2.0.0/dist/fela-plugin-remove-undefined.min.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-remove-undefined@3.0.0/dist/fela-plugin-remove-undefined.min.js"></script> | ||
``` | ||
@@ -24,0 +24,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7658