@pkgverse/prismock 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v6/index.cjs +2 -2
- package/dist/v6/index.mjs +2 -2
- package/dist/v7/index.cjs +1 -1
- package/dist/v7/index.mjs +1 -1
- package/package.json +1 -1
package/dist/v6/index.cjs
CHANGED
|
@@ -4919,11 +4919,11 @@ async function generateDMMF(schemaPath) {
|
|
|
4919
4919
|
const pathToModule = schemaPath ?? require.resolve(path.resolve(process.cwd(), "prisma/schema.prisma"));
|
|
4920
4920
|
return await (async () => {
|
|
4921
4921
|
if (true) {
|
|
4922
|
-
const { getSchemaWithPath: getSchemaWithPathV6, getDMMF: getDMMFV6 } = await import("@prisma/internals-v6");
|
|
4922
|
+
const { getSchemaWithPath: getSchemaWithPathV6, getDMMF: getDMMFV6 } = (await import("@prisma/internals-v6")).default;
|
|
4923
4923
|
const schemas = await getSchemaWithPathV6(pathToModule);
|
|
4924
4924
|
return await getDMMFV6({ datamodel: schemas.schemas });
|
|
4925
4925
|
}
|
|
4926
|
-
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = await import("@prisma/internals-v7");
|
|
4926
|
+
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = (await import("@prisma/internals-v7")).default;
|
|
4927
4927
|
const schema = await getSchemaWithPathV7({
|
|
4928
4928
|
schemaPath: {
|
|
4929
4929
|
configProvidedPath: pathToModule
|
package/dist/v6/index.mjs
CHANGED
|
@@ -4879,11 +4879,11 @@ async function generateDMMF(schemaPath) {
|
|
|
4879
4879
|
const pathToModule = schemaPath ?? __require.resolve(path.resolve(process.cwd(), "prisma/schema.prisma"));
|
|
4880
4880
|
return await (async () => {
|
|
4881
4881
|
if (true) {
|
|
4882
|
-
const { getSchemaWithPath: getSchemaWithPathV6, getDMMF: getDMMFV6 } = await import("@prisma/internals-v6");
|
|
4882
|
+
const { getSchemaWithPath: getSchemaWithPathV6, getDMMF: getDMMFV6 } = (await import("@prisma/internals-v6")).default;
|
|
4883
4883
|
const schemas = await getSchemaWithPathV6(pathToModule);
|
|
4884
4884
|
return await getDMMFV6({ datamodel: schemas.schemas });
|
|
4885
4885
|
}
|
|
4886
|
-
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = await import("@prisma/internals-v7");
|
|
4886
|
+
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = (await import("@prisma/internals-v7")).default;
|
|
4887
4887
|
const schema = await getSchemaWithPathV7({
|
|
4888
4888
|
schemaPath: {
|
|
4889
4889
|
configProvidedPath: pathToModule
|
package/dist/v7/index.cjs
CHANGED
|
@@ -4919,7 +4919,7 @@ async function generateDMMF(schemaPath) {
|
|
|
4919
4919
|
const pathToModule = schemaPath ?? require.resolve(path.resolve(process.cwd(), "prisma/schema.prisma"));
|
|
4920
4920
|
return await (async () => {
|
|
4921
4921
|
if (false) {}
|
|
4922
|
-
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = await import("@prisma/internals-v7");
|
|
4922
|
+
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = (await import("@prisma/internals-v7")).default;
|
|
4923
4923
|
const schema = await getSchemaWithPathV7({
|
|
4924
4924
|
schemaPath: {
|
|
4925
4925
|
configProvidedPath: pathToModule
|
package/dist/v7/index.mjs
CHANGED
|
@@ -4879,7 +4879,7 @@ async function generateDMMF(schemaPath) {
|
|
|
4879
4879
|
const pathToModule = schemaPath ?? __require.resolve(path.resolve(process.cwd(), "prisma/schema.prisma"));
|
|
4880
4880
|
return await (async () => {
|
|
4881
4881
|
if (false) {}
|
|
4882
|
-
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = await import("@prisma/internals-v7");
|
|
4882
|
+
const { getSchemaWithPath: getSchemaWithPathV7, getDMMF: getDMMFV7 } = (await import("@prisma/internals-v7")).default;
|
|
4883
4883
|
const schema = await getSchemaWithPathV7({
|
|
4884
4884
|
schemaPath: {
|
|
4885
4885
|
configProvidedPath: pathToModule
|