Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appolo-utils

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appolo-utils - npm Package Compare versions

Comparing version 0.0.58 to 0.0.59

2

lib/arrays.js

@@ -9,3 +9,3 @@ "use strict";

static arrayify(val) {
return val ? (Array.isArray(val) ? val : [val]) : [];
return undefined === val ? [] : (Array.isArray(val) ? val : [val]);
}

@@ -12,0 +12,0 @@ static nullifyEmptyArray(arr) {

@@ -9,3 +9,3 @@ import {Classes} from "./classes";

public static arrayify<T>(val: any): T[] {
return val ? (Array.isArray(val) ? val : [val]) : [];
return undefined === val ? [] : (Array.isArray(val) ? val : [val]);
}

@@ -12,0 +12,0 @@

@@ -17,3 +17,3 @@ {

"main": "./index.js",
"version": "0.0.58",
"version": "0.0.59",
"license": "MIT",

@@ -20,0 +20,0 @@ "repository": {

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