Socket
Socket
Sign inDemoInstall

arrayiffy-if-string

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrayiffy-if-string - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

2

dist/arrayiffy-if-string.esm.js
/**
* @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",

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