Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@deepnote/database-integrations

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepnote/database-integrations - npm Package Compare versions

Comparing version
1.3.4
to
1.3.5
+3
-6
dist/index.cjs

@@ -46,3 +46,3 @@ //#region rolldown:runtime

Password: "password",
Oauth: "oauth"
Oauth: "trino-oauth"
};

@@ -233,2 +233,3 @@ const DatabaseAuthMethods = {

const trinoUsernamePasswordMetadataSchema = trinoBaseMetadataSchema.extend({
authMethod: zod.z.literal(TrinoAuthMethods.Password).nullish(),
user: zod.z.string(),

@@ -244,7 +245,3 @@ password: zod.z.string()

});
const trinoMetadataSchema = zod.z.discriminatedUnion("authMethod", [
trinoUsernamePasswordMetadataSchema.extend({ authMethod: zod.z.literal(null) }),
trinoUsernamePasswordMetadataSchema.extend({ authMethod: zod.z.literal(TrinoAuthMethods.Password) }),
trinoOAuthMetadataSchema
]);
const trinoMetadataSchema = zod.z.discriminatedUnion("authMethod", [trinoUsernamePasswordMetadataSchema, trinoOAuthMetadataSchema]);
const commonDatabaseSchema = zod.z.object({

@@ -251,0 +248,0 @@ host: zod.z.string(),

@@ -22,3 +22,3 @@ import z$1, { z } from "zod";

Password: "password",
Oauth: "oauth"
Oauth: "trino-oauth"
};

@@ -209,2 +209,3 @@ const DatabaseAuthMethods = {

const trinoUsernamePasswordMetadataSchema = trinoBaseMetadataSchema.extend({
authMethod: z.literal(TrinoAuthMethods.Password).nullish(),
user: z.string(),

@@ -220,7 +221,3 @@ password: z.string()

});
const trinoMetadataSchema = z.discriminatedUnion("authMethod", [
trinoUsernamePasswordMetadataSchema.extend({ authMethod: z.literal(null) }),
trinoUsernamePasswordMetadataSchema.extend({ authMethod: z.literal(TrinoAuthMethods.Password) }),
trinoOAuthMetadataSchema
]);
const trinoMetadataSchema = z.discriminatedUnion("authMethod", [trinoUsernamePasswordMetadataSchema, trinoOAuthMetadataSchema]);
const commonDatabaseSchema = z.object({

@@ -227,0 +224,0 @@ host: z.string(),

{
"name": "@deepnote/database-integrations",
"version": "1.3.4",
"version": "1.3.5",
"description": "Deepnote database integration definitions",

@@ -5,0 +5,0 @@ "keywords": [],

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display