@prisma/client-runtime-utils
Advanced tools
+19
-0
@@ -309,2 +309,11 @@ export declare const AnyNull: AnyNullClass; | ||
| /** | ||
| * Check if a value is an ObjectEnumValue instance. Uses a global symbol | ||
| * instead of instanceof to work across bundle boundaries (e.g., when a | ||
| * Next.js app bundles browser and server code separately, creating duplicate | ||
| * module instances of @prisma/client-runtime-utils). | ||
| * See: https://github.com/prisma/prisma/issues/29257 | ||
| */ | ||
| export declare function isObjectEnumValue(value: unknown): value is ObjectEnumValue; | ||
| /** | ||
| * Create a SQL query for a list of values. | ||
@@ -348,2 +357,3 @@ */ | ||
| #private; | ||
| readonly [PRISMA_OBJECT_ENUM_VALUE] = true; | ||
| constructor(arg?: symbol); | ||
@@ -359,2 +369,11 @@ abstract _getNamespace(): string; | ||
| /** | ||
| * Global symbol used to identify ObjectEnumValue instances across bundle | ||
| * boundaries. `Symbol.for()` returns the same symbol globally, so it works | ||
| * even when multiple copies of this module are loaded (e.g., browser and | ||
| * server bundles in Next.js, or HMR reloads). | ||
| * See: https://github.com/prisma/prisma/issues/29257 | ||
| */ | ||
| declare const PRISMA_OBJECT_ENUM_VALUE: unique symbol; | ||
| export declare class PrismaClientInitializationError extends Error { | ||
@@ -361,0 +380,0 @@ clientVersion: string; |
+19
-0
@@ -309,2 +309,11 @@ export declare const AnyNull: AnyNullClass; | ||
| /** | ||
| * Check if a value is an ObjectEnumValue instance. Uses a global symbol | ||
| * instead of instanceof to work across bundle boundaries (e.g., when a | ||
| * Next.js app bundles browser and server code separately, creating duplicate | ||
| * module instances of @prisma/client-runtime-utils). | ||
| * See: https://github.com/prisma/prisma/issues/29257 | ||
| */ | ||
| export declare function isObjectEnumValue(value: unknown): value is ObjectEnumValue; | ||
| /** | ||
| * Create a SQL query for a list of values. | ||
@@ -348,2 +357,3 @@ */ | ||
| #private; | ||
| readonly [PRISMA_OBJECT_ENUM_VALUE] = true; | ||
| constructor(arg?: symbol); | ||
@@ -359,2 +369,11 @@ abstract _getNamespace(): string; | ||
| /** | ||
| * Global symbol used to identify ObjectEnumValue instances across bundle | ||
| * boundaries. `Symbol.for()` returns the same symbol globally, so it works | ||
| * even when multiple copies of this module are loaded (e.g., browser and | ||
| * server bundles in Next.js, or HMR reloads). | ||
| * See: https://github.com/prisma/prisma/issues/29257 | ||
| */ | ||
| declare const PRISMA_OBJECT_ENUM_VALUE: unique symbol; | ||
| export declare class PrismaClientInitializationError extends Error { | ||
@@ -361,0 +380,0 @@ clientVersion: string; |
+17
-0
| /** | ||
| * Global symbol used to identify ObjectEnumValue instances across bundle | ||
| * boundaries. `Symbol.for()` returns the same symbol globally, so it works | ||
| * even when multiple copies of this module are loaded (e.g., browser and | ||
| * server bundles in Next.js, or HMR reloads). | ||
| * See: https://github.com/prisma/prisma/issues/29257 | ||
| */ | ||
| declare const PRISMA_OBJECT_ENUM_VALUE: unique symbol; | ||
| /** | ||
| * Base class for unique values of object-valued enums. | ||
@@ -6,2 +14,3 @@ */ | ||
| #private; | ||
| readonly [PRISMA_OBJECT_ENUM_VALUE] = true; | ||
| constructor(arg?: symbol); | ||
@@ -33,2 +42,10 @@ abstract _getNamespace(): string; | ||
| /** | ||
| * Check if a value is an ObjectEnumValue instance. Uses a global symbol | ||
| * instead of instanceof to work across bundle boundaries (e.g., when a | ||
| * Next.js app bundles browser and server code separately, creating duplicate | ||
| * module instances of @prisma/client-runtime-utils). | ||
| * See: https://github.com/prisma/prisma/issues/29257 | ||
| */ | ||
| export declare function isObjectEnumValue(value: unknown): value is ObjectEnumValue; | ||
| /** | ||
| * Check if a value is the DBNull singleton instance. | ||
@@ -35,0 +52,0 @@ */ |
+1
-1
| { | ||
| "name": "@prisma/client-runtime-utils", | ||
| "version": "7.5.0-dev.42", | ||
| "version": "7.5.0-dev.43", | ||
| "description": "Utility types and singletons used by the Prisma Client.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
193891
1.67%5629
0.84%