arrayiffy-if-string
Advanced tools
Comparing version 4.1.0 to 4.1.1
/** | ||
* @name arrayiffy-if-string | ||
* @fileoverview Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else. | ||
* @version 4.1.0 | ||
* @version 4.1.1 | ||
* @author Roy Revelt, Codsen Ltd | ||
@@ -6,0 +6,0 @@ * @license MIT |
@@ -1,5 +0,5 @@ | ||
"use strict";/** | ||
/** | ||
* @name arrayiffy-if-string | ||
* @fileoverview Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else. | ||
* @version 4.1.0 | ||
* @version 4.1.1 | ||
* @author Roy Revelt, Codsen Ltd | ||
@@ -10,2 +10,2 @@ * @license MIT | ||
var arrayiffyIfString=(()=>{var e=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var x=(n,r)=>{for(var T in r)e(n,T,{get:r[T],enumerable:!0})},y=(n,r,T,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of g(r))!s.call(n,t)&&t!==T&&e(n,t,{get:()=>r[t],enumerable:!(i=f(r,t))||i.enumerable});return n};var u=n=>y(e({},"__esModule",{value:!0}),n);var o={};x(o,{arrayiffy:()=>a});function a(n){return typeof n!="string"?n:n.length?[n]:[]}return u(o);})(); | ||
"use strict";var arrayiffyIfString=(()=>{var e=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var x=(n,r)=>{for(var T in r)e(n,T,{get:r[T],enumerable:!0})},y=(n,r,T,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of g(r))!s.call(n,t)&&t!==T&&e(n,t,{get:()=>r[t],enumerable:!(i=f(r,t))||i.enumerable});return n};var u=n=>y(e({},"__esModule",{value:!0}),n);var o={};x(o,{arrayiffy:()=>a});function a(n){return typeof n!="string"?n:n.length?[n]:[]}return u(o);})(); |
{ | ||
"name": "arrayiffy-if-string", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
], | ||
"homepage": "https://codsen.com/os/arrayiffy-if-string/", | ||
"homepage": "https://codsen.com/os/arrayiffy-if-string", | ||
"repository": { | ||
@@ -23,0 +23,0 @@ "type": "git", |
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
10878