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.0.12 to 4.0.13

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.0.12
* @version 4.0.13
* @author Roy Revelt, Codsen Ltd

@@ -6,0 +6,0 @@ * @license MIT

/**
* @name arrayiffy-if-string
* @fileoverview Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.
* @version 4.0.12
* @version 4.0.13
* @author Roy Revelt, Codsen Ltd

@@ -10,2 +10,2 @@ * @license MIT

var arrayiffyIfString=(()=>{var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var e=Object.prototype.hasOwnProperty;var g=r=>i(r,"__esModule",{value:!0});var o=(r,n)=>{for(var f in n)i(r,f,{get:n[f],enumerable:!0})},c=(r,n,f,y)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of u(n))!e.call(r,t)&&(f||t!=="default")&&i(r,t,{get:()=>n[t],enumerable:!(y=a(n,t))||y.enumerable});return r};var s=(r=>(n,f)=>r&&r.get(n)||(f=c(g({}),n,1),r&&r.set(n,f),f))(typeof WeakMap!="undefined"?new WeakMap:0);var l={};o(l,{arrayiffy:()=>p});function p(r){return typeof r=="string"?r.length?[r]:[]:r}return s(l);})();
var arrayiffyIfString=(()=>{var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var e=Object.prototype.hasOwnProperty;var g=(r,n)=>{for(var t in n)i(r,t,{get:n[t],enumerable:!0})},o=(r,n,t,y)=>{if(n&&typeof n=="object"||typeof n=="function")for(let f of u(n))!e.call(r,f)&&f!==t&&i(r,f,{get:()=>n[f],enumerable:!(y=a(n,f))||y.enumerable});return r};var c=r=>o(i({},"__esModule",{value:!0}),r);var p={};g(p,{arrayiffy:()=>s});function s(r){return typeof r=="string"?r.length?[r]:[]:r}return c(p);})();
{
"name": "arrayiffy-if-string",
"version": "4.0.12",
"version": "4.0.13",
"description": "Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -29,3 +29,3 @@ # arrayiffy-if-string

The latest version is **ESM only**: Node 12+ is needed to use it and it must be `import`ed instead of `require`d. If your project is not on ESM yet and you want to use `require`, use an older version of this program, `3.14.0`.
This package is [pure ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). If you're not ready yet, install an older version of this program, 3.14.0 (`npm i arrayiffy-if-string@3.14.0`).

@@ -32,0 +32,0 @@ ```bash

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