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.2.3 to 0.2.4

3

dist/index.js

@@ -1,4 +0,1 @@

import { z } from "zod";
import { extendZodWithOpenApi } from "@asteasolutions/zod-to-openapi";
extendZodWithOpenApi(z);
export { areCollectionNamesSame } from "./functions/collections.js";

@@ -5,0 +2,0 @@ export { converterFunctions, } from "./functions/converters.js";

8

dist/schemas/authUser.js
import { z } from "zod";
import { extendZodWithOpenApi } from "@asteasolutions/zod-to-openapi";
extendZodWithOpenApi(z);
export const AuthUserSchema = z

@@ -24,7 +26,3 @@ .object({

.openapi({ description: "The user's phone number" }),
prefs: z
.record(z.string())
.optional()
.default({})
.openapi({
prefs: z.record(z.string()).optional().default({}).openapi({
description: "User preferences, key-value pairs up to 16KB in size",

@@ -31,0 +29,0 @@ }),

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

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

import { z } from "zod";
import { extendZodWithOpenApi } from "@asteasolutions/zod-to-openapi";
extendZodWithOpenApi(z);
export { areCollectionNamesSame } from "./functions/collections.js";

@@ -7,0 +4,0 @@ export {

import { z } from "zod";
import { extendZodWithOpenApi } from "@asteasolutions/zod-to-openapi";
extendZodWithOpenApi(z);

@@ -25,9 +27,5 @@ export const AuthUserSchema = z

.openapi({ description: "The user's phone number" }),
prefs: z
.record(z.string())
.optional()
.default({})
.openapi({
description: "User preferences, key-value pairs up to 16KB in size",
}),
prefs: z.record(z.string()).optional().default({}).openapi({
description: "User preferences, key-value pairs up to 16KB in size",
}),
labels: z

@@ -34,0 +32,0 @@ .array(z.string())

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