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

@stylish-cat/contracts

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylish-cat/contracts - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

9

dist/authorization/manual.d.ts

@@ -25,2 +25,10 @@ import { z } from "zod";

export declare const ResetPasswordSchema: z.ZodObject<{
email: z.ZodString;
}, "strip", z.ZodTypeAny, {
email: string;
}, {
email: string;
}>;
export declare type ResetPassword = z.infer<typeof ResetPasswordSchema>;
export declare const ResetPasswordConfirmSchema: z.ZodObject<{
password: z.ZodString;

@@ -32,3 +40,2 @@ }, "strip", z.ZodTypeAny, {

}>;
export declare type ResetPassword = z.infer<typeof ResetPasswordSchema>;
//# sourceMappingURL=manual.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ResetPasswordSchema = exports.ManualSignUpSchema = exports.ManualSignInSchema = void 0;
exports.ResetPasswordConfirmSchema = exports.ResetPasswordSchema = exports.ManualSignUpSchema = exports.ManualSignInSchema = void 0;
const zod_1 = require("zod");
exports.ManualSignInSchema = zod_1.z.object({
email: zod_1.z.string().email({ message: "Це не пошта" }),
email: zod_1.z
.string({
required_error: "Це поле обов'язкове",
invalid_type_error: "Тут повинна бути строка",
})
.email({ message: "Це не пошта" }),
password: zod_1.z
.string()
.string({
required_error: "Це поле обов'язкове",
invalid_type_error: "Тут повинна бути строка",
})
.min(8, { message: "Пароль має бути не менше 8 символів" }),
});
exports.ManualSignUpSchema = zod_1.z.object({
email: zod_1.z.string().email({ message: "Це не пошта" }),
email: zod_1.z
.string({
required_error: "Це поле обов'язкове",
invalid_type_error: "Тут повинна бути строка",
})
.email({ message: "Це не пошта" }),
password: zod_1.z
.string()
.string({
required_error: "Це поле обов'язкове",
invalid_type_error: "Тут повинна бути строка",
})
.min(8, { message: "Пароль має бути не менше 8 символів" }),
});
exports.ResetPasswordSchema = zod_1.z.object({
email: zod_1.z
.string({
required_error: "Це поле обов'язкове",
invalid_type_error: "Тут повинна бути строка",
})
.email({ message: "Це не пошта" }),
});
exports.ResetPasswordConfirmSchema = zod_1.z.object({
password: zod_1.z
.string()
.string({
required_error: "Це поле обов'язкове",
invalid_type_error: "Тут повинна бути строка",
})
.min(8, { message: "Пароль має бути не менше 8 символів" }),
});

2

package.json
{
"name": "@stylish-cat/contracts",
"version": "1.0.5",
"version": "1.0.6",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "scripts": {

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