New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

appwrite-utils

Package Overview
Dependencies
Maintainers
1
Versions
139
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.1.23 to 0.1.24

10

dist/functions/schema.js

@@ -15,4 +15,10 @@ import { stringAttributeSchema } from "../schemas/stringAttribute.js";

if (attribute.default !== undefined) {
attributeToParse.xdefault = attribute.default;
delete attributeToParse.default;
if (attribute.array && attribute.default === null) {
attributeToParse.xdefault = [];
delete attributeToParse.default;
}
else {
attributeToParse.xdefault = attribute.default;
delete attributeToParse.default;
}
}

@@ -19,0 +25,0 @@ if (attributeToParse.type === "string" &&

2

package.json
{
"name": "appwrite-utils",
"module": "dist/index.js",
"version": "0.1.23",
"version": "0.1.24",
"main": "dist/index.js",

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

@@ -24,4 +24,9 @@ import { ID, IndexType, Permission } from "node-appwrite";

if (attribute.default !== undefined) {
attributeToParse.xdefault = attribute.default;
delete attributeToParse.default;
if (attribute.array && attribute.default === null) {
attributeToParse.xdefault = [];
delete attributeToParse.default;
} else {
attributeToParse.xdefault = attribute.default;
delete attributeToParse.default;
}
}

@@ -28,0 +33,0 @@

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