Huge News!Announcing our $40M Series B led by Abstract Ventures.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.7 to 1.0.8

3

dist/authorization/manual.d.ts

@@ -34,2 +34,3 @@ import { z } from "zod";

code: z.ZodString;
resetPasswordToken: z.ZodEffects<z.ZodString, string, string>;
password: z.ZodString;

@@ -39,7 +40,9 @@ }, "strip", z.ZodTypeAny, {

code: string;
resetPasswordToken: string;
}, {
password: string;
code: string;
resetPasswordToken: string;
}>;
export declare type ResetPasswordConfirm = z.infer<typeof ResetPasswordConfirmSchema>;
//# sourceMappingURL=manual.d.ts.map

@@ -5,2 +5,3 @@ "use strict";

const zod_1 = require("zod");
const js_base64_1 = require("js-base64");
exports.ManualSignInSchema = zod_1.z.object({

@@ -55,2 +56,8 @@ email: zod_1.z

.trim(),
resetPasswordToken: zod_1.z
.string({
required_error: "Це поле обов'язкове",
invalid_type_error: "Тут повинна бути строка",
})
.refine(js_base64_1.Base64.isValid, "Це повинно бути base64"),
password: zod_1.z

@@ -57,0 +64,0 @@ .string({

4

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

@@ -19,5 +19,7 @@ "scripts": {

"dependencies": {
"js-base64": "^3.7.5",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/js-base64": "^3.3.1",
"prettier": "^3.1.1"

@@ -24,0 +26,0 @@ },

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