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

@mintlify/validation

Package Overview
Dependencies
Maintainers
3
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintlify/validation - npm Package Compare versions

Comparing version 0.1.130 to 0.1.131

5

dist/mint-config/schemas/config.d.ts

@@ -508,8 +508,11 @@ import { z } from 'zod';

frontchat: z.ZodOptional<z.ZodString>;
osano: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
intercom?: string | undefined;
frontchat?: string | undefined;
osano?: string | undefined;
}, {
intercom?: string | undefined;
frontchat?: string | undefined;
osano?: string | undefined;
}>>;

@@ -699,2 +702,3 @@ isWhiteLabeled: z.ZodOptional<z.ZodBoolean>;

frontchat?: string | undefined;
osano?: string | undefined;
} | undefined;

@@ -864,2 +868,3 @@ isWhiteLabeled?: boolean | undefined;

frontchat?: string | undefined;
osano?: string | undefined;
} | undefined;

@@ -866,0 +871,0 @@ isWhiteLabeled?: boolean | undefined;

3

dist/mint-config/schemas/integrations.d.ts

@@ -5,8 +5,11 @@ import { z } from 'zod';

frontchat: z.ZodOptional<z.ZodString>;
osano: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
intercom?: string | undefined;
frontchat?: string | undefined;
osano?: string | undefined;
}, {
intercom?: string | undefined;
frontchat?: string | undefined;
osano?: string | undefined;
}>;
import { z } from 'zod';
const intercomSchema = z.string().min(6, 'Must be a valid Intercom app ID');
const frontchatSchema = z.string().min(6, 'Must be a valid Front chat snippet id');
const osanoSchema = z
.string()
.startsWith('https://cmp.osano.com/', 'A valid Osano sript source must start with https://cmp.osano.com/')
.endsWith('/osano.js', 'A valid Osano sript source must end with /osano.js');
export const integrationsSchema = z.object({
intercom: intercomSchema.optional(),
frontchat: frontchatSchema.optional(),
osano: osanoSchema.optional(),
});

@@ -154,2 +154,3 @@ import { z } from 'zod';

frontchat?: string | undefined;
osano?: string | undefined;
} | undefined;

@@ -322,2 +323,3 @@ isWhiteLabeled?: boolean | undefined;

frontchat?: string | undefined;
osano?: string | undefined;
} | undefined;

@@ -324,0 +326,0 @@ isWhiteLabeled?: boolean | undefined;

6

package.json
{
"name": "@mintlify/validation",
"version": "0.1.130",
"version": "0.1.131",
"description": "Validates mint.json files",

@@ -39,3 +39,3 @@ "author": "Mintlify, Inc.",

"dependencies": {
"@mintlify/models": "0.0.73",
"@mintlify/models": "0.0.74",
"lcm": "^0.0.3",

@@ -73,3 +73,3 @@ "lodash": "^4.17.21",

},
"gitHead": "8cda7930376bc63900a8d3dd0b30ec3a003beae4"
"gitHead": "28764f2a80a084cd907dd98f37d28afcbd0c6ddc"
}

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