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

@prisma/accelerate-contract

Package Overview
Dependencies
Maintainers
3
Versions
1228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prisma/accelerate-contract - npm Package Compare versions

Comparing version 6.3.0-integration-engines-6-3-0-1-feat-relation-exists-aff8bf73313e0df76046e671a2cb2d31491601a3.5 to 6.3.0-integration-engines-6-3-0-18-integration-fix-aws-cli-version-18e9d973d7789a29d6b3c801dc30cb76c45ee0e0.1

83

dist/index.d.ts

@@ -51,3 +51,3 @@ /**

declare type ActiveConnectorType = Exclude<ConnectorType, 'postgres'>;
declare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;

@@ -126,2 +126,20 @@ /**

declare type CompilerWasmLoadingConfig = {
/**
* WASM-bindgen runtime for corresponding module
*/
getRuntime: () => {
__wbg_set_wasm(exports: unknown): any;
QueryCompiler: QueryCompilerConstructor;
};
/**
* Loads the raw wasm module for the wasm compiler engine. This configuration is
* generated specifically for each type of client, eg. Node.js client and Edge
* clients will have different implementations.
* @remarks this is a callback on purpose, we only load the wasm if needed.
* @remarks only used by ClientEngine
*/
getQueryCompilerWasmModule: () => Promise<unknown>;
};
declare type ConnectionInfo = {

@@ -132,3 +150,3 @@ schemaName?: string;

declare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'sqlserver' | 'cockroachdb';
declare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';

@@ -284,2 +302,3 @@ declare interface Context {

relationOnDelete?: string;
relationOnUpdate?: string;
relationName?: string;

@@ -522,3 +541,4 @@ documentation?: string;

*/
engineWasm?: WasmLoadingConfig;
engineWasm?: EngineWasmLoadingConfig;
compilerWasm?: CompilerWasmLoadingConfig;
/**

@@ -575,2 +595,20 @@ * Allows Accelerate to use runtime utilities from the client. These are

declare type EngineWasmLoadingConfig = {
/**
* WASM-bindgen runtime for corresponding module
*/
getRuntime: () => {
__wbg_set_wasm(exports: unknown): any;
QueryEngine: QueryEngineConstructor;
};
/**
* Loads the raw wasm module for the wasm query engine. This configuration is
* generated specifically for each type of client, eg. Node.js client and Edge
* clients will have different implementations.
* @remarks this is a callback on purpose, we only load the wasm if needed.
* @remarks only used by LibraryEngine
*/
getQueryEngineWasmModule: () => Promise<unknown>;
};
declare type EnvPaths = {

@@ -669,2 +707,4 @@ rootEnvPath: string | null;

declare type Flavour = 'mysql' | 'postgres' | 'sqlite';
declare interface GeneratorConfig {

@@ -770,3 +810,4 @@ name: string;

*/
engineWasm?: WasmLoadingConfig;
engineWasm?: EngineWasmLoadingConfig;
compilerWasm?: CompilerWasmLoadingConfig;
};

@@ -980,3 +1021,3 @@

declare interface Queryable {
readonly provider: 'mysql' | 'postgres' | 'sqlite';
readonly provider: Flavour;
readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});

@@ -1000,2 +1041,16 @@ /**

declare type QueryCompiler = {
compile(request: string): Promise<string>;
};
declare interface QueryCompilerConstructor {
new (options: QueryCompilerOptions): QueryCompiler;
}
declare type QueryCompilerOptions = {
datamodel: string;
flavour: Flavour;
connectionInfo: ConnectionInfo;
};
declare type QueryEngineBatchGraphQLRequest = {

@@ -1515,20 +1570,2 @@ batch: QueryEngineRequest[];

declare type WasmLoadingConfig = {
/**
* WASM-bindgen runtime for corresponding module
*/
getRuntime: () => {
__wbg_set_wasm(exports: unknown): any;
QueryEngine: QueryEngineConstructor;
};
/**
* Loads the raw wasm module for the wasm query engine. This configuration is
* generated specifically for each type of client, eg. Node.js client and Edge
* clients will have different implementations.
* @remarks this is a callback on purpose, we only load the wasm if needed.
* @remarks only used by LibraryEngine.ts
*/
getQueryEngineWasmModule: () => Promise<unknown>;
};
declare type WithErrors<T> = T | {

@@ -1535,0 +1572,0 @@ errors: RequestError[];

{
"name": "@prisma/accelerate-contract",
"version": "6.3.0-integration-engines-6-3-0-1-feat-relation-exists-aff8bf73313e0df76046e671a2cb2d31491601a3.5",
"version": "6.3.0-integration-engines-6-3-0-18-integration-fix-aws-cli-version-18e9d973d7789a29d6b3c801dc30cb76c45ee0e0.1",
"description": "This package is intended for Prisma's internal use",

@@ -15,3 +15,3 @@ "main": "dist/index.js",

"devDependencies": {
"@prisma/client": "6.3.0-integration-engines-6-3-0-1-feat-relation-exists-aff8bf73313e0df76046e671a2cb2d31491601a3.5"
"@prisma/client": "6.3.0-integration-engines-6-3-0-18-integration-fix-aws-cli-version-18e9d973d7789a29d6b3c801dc30cb76c45ee0e0.1"
},

@@ -18,0 +18,0 @@ "dependencies": {},

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