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

appwrite-utils

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appwrite-utils - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

dist/functions/converters.js

@@ -51,3 +51,3 @@ import { DateTime } from "luxon";

if (value === null || value === undefined || value === "")
return value;
return [];
if (Array.isArray(value)) {

@@ -54,0 +54,0 @@ return value;

{
"name": "appwrite-utils",
"module": "dist/index.js",
"version": "0.3.0",
"version": "0.3.1",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "types": "dist/index.d.ts",

@@ -54,3 +54,3 @@ import { DateTime } from "luxon";

anyToAnyArray(value: any): any[] {
if (value === null || value === undefined || value === "") return value;
if (value === null || value === undefined || value === "") return [];
if (Array.isArray(value)) {

@@ -57,0 +57,0 @@ return value;

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