@prisma/client-generator-js 6.16.0-integration-feat-orm-1074-package-dev-export.3 → 6.16.0-integration-feat-orm-1074-package-dev-export.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/index.js CHANGED
@@ -4243,8 +4243,8 @@ var bgCyan = init(46, 49);
4243
4243
  var bgWhite = init(47, 49);
4244
4244
 
4245
4245
  // src/generateClient.ts
4246
+ var import_package_up = require("package-up");
4246
4247
  var import_path3 = __toESM(require("path"));
4247
- var import_pkg_up = __toESM(require("pkg-up"));
4248
4248
 
4249
4249
  // ../client/package.json
4250
4250
  var package_default = {
@@ -4504,7 +4504,7 @@ var package_default = {
4504
4504
  "@prisma/dmmf": "workspace:*",
4505
4505
  "@prisma/driver-adapter-utils": "workspace:*",
4506
4506
  "@prisma/engines": "workspace:*",
4507
- "@prisma/engines-version": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4507
+ "@prisma/engines-version": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4508
4508
  "@prisma/fetch-engine": "workspace:*",
4509
4509
  "@prisma/generator": "workspace:*",
4510
4510
  "@prisma/generator-helper": "workspace:*",
@@ -4513,8 +4513,8 @@ var package_default = {
4513
4513
  "@prisma/internals": "workspace:*",
4514
4514
  "@prisma/migrate": "workspace:*",
4515
4515
  "@prisma/mini-proxy": "0.9.5",
4516
- "@prisma/query-compiler-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4517
- "@prisma/query-engine-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4516
+ "@prisma/query-compiler-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4517
+ "@prisma/query-engine-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4518
4518
  "@prisma/ts-builders": "workspace:*",
4519
4519
  "@snaplet/copycat": "6.0.0",
4520
4520
  "@swc-node/register": "1.10.9",
@@ -4560,7 +4560,7 @@ var package_default = {
4560
4560
  "source-map-support": "0.5.21",
4561
4561
  "sql-template-tag": "5.2.1",
4562
4562
  "stacktrace-parser": "0.1.11",
4563
- "strip-ansi": "6.0.1",
4563
+ "strip-ansi": "7.1.0",
4564
4564
  "strip-indent": "4.0.0",
4565
4565
  tempy: "3.0.0",
4566
4566
  "ts-node": "10.9.2",
@@ -8553,7 +8553,7 @@ function buildTypedSql({
8553
8553
  fileMap[`${query.name}.js`] = buildTypedQueryCjs(options);
8554
8554
  fileMap[`${query.name}.${edgeRuntimeName}.js`] = buildTypedQueryCjs(edgeOptions);
8555
8555
  fileMap[`${query.name}.mjs`] = buildTypedQueryEsm(options);
8556
- fileMap[`${query.name}.edge.mjs`] = buildTypedQueryEsm(edgeOptions);
8556
+ fileMap[`${query.name}.${edgeRuntimeName}.mjs`] = buildTypedQueryEsm(edgeOptions);
8557
8557
  }
8558
8558
  fileMap["index.d.ts"] = buildIndexTs(queries, enums);
8559
8559
  fileMap["index.js"] = buildIndexCjs(queries);
@@ -8811,7 +8811,7 @@ async function getDefaultOutdir(outputDir) {
8811
8811
  if ((0, import_fs.existsSync)(import_path3.default.join(process.env.INIT_CWD, "package.json"))) {
8812
8812
  return import_path3.default.join(process.env.INIT_CWD, "node_modules/.prisma/client");
8813
8813
  }
8814
- const packagePath = await (0, import_pkg_up.default)({ cwd: process.env.INIT_CWD });
8814
+ const packagePath = await (0, import_package_up.packageUp)({ cwd: process.env.INIT_CWD });
8815
8815
  if (packagePath) {
8816
8816
  return import_path3.default.join(import_path3.default.dirname(packagePath), "node_modules/.prisma/client");
8817
8817
  }
@@ -9038,7 +9038,7 @@ async function getGenerationDirs({
9038
9038
  if (isCustomOutput) {
9039
9039
  await verifyOutputDirectory(userOutputDir, datamodel, schemaPath);
9040
9040
  }
9041
- const userPackageRoot = await (0, import_pkg_up.default)({ cwd: import_path3.default.dirname(userOutputDir) });
9041
+ const userPackageRoot = await (0, import_package_up.packageUp)({ cwd: import_path3.default.dirname(userOutputDir) });
9042
9042
  const userProjectRoot = userPackageRoot ? import_path3.default.dirname(userPackageRoot) : process.cwd();
9043
9043
  return {
9044
9044
  runtimeBase: userRuntimeImport,
@@ -9166,7 +9166,7 @@ var import_internals12 = require("@prisma/internals");
9166
9166
  var import_ts_pattern = require("ts-pattern");
9167
9167
 
9168
9168
  // package.json
9169
- var version = "6.16.0-integration-feat-orm-1074-package-dev-export.3";
9169
+ var version = "6.16.0-integration-feat-orm-1074-package-dev-export.4";
9170
9170
 
9171
9171
  // src/resolvePrismaClient.ts
9172
9172
  var import_promises2 = __toESM(require("node:fs/promises"));
package/dist/index.mjs CHANGED
@@ -4238,8 +4238,8 @@ var bgCyan = init(46, 49);
4238
4238
  var bgWhite = init(47, 49);
4239
4239
 
4240
4240
  // src/generateClient.ts
4241
+ import { packageUp } from "package-up";
4241
4242
  import path3 from "path";
4242
- import pkgUp from "pkg-up";
4243
4243
 
4244
4244
  // ../client/package.json
4245
4245
  var package_default = {
@@ -4499,7 +4499,7 @@ var package_default = {
4499
4499
  "@prisma/dmmf": "workspace:*",
4500
4500
  "@prisma/driver-adapter-utils": "workspace:*",
4501
4501
  "@prisma/engines": "workspace:*",
4502
- "@prisma/engines-version": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4502
+ "@prisma/engines-version": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4503
4503
  "@prisma/fetch-engine": "workspace:*",
4504
4504
  "@prisma/generator": "workspace:*",
4505
4505
  "@prisma/generator-helper": "workspace:*",
@@ -4508,8 +4508,8 @@ var package_default = {
4508
4508
  "@prisma/internals": "workspace:*",
4509
4509
  "@prisma/migrate": "workspace:*",
4510
4510
  "@prisma/mini-proxy": "0.9.5",
4511
- "@prisma/query-compiler-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4512
- "@prisma/query-engine-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4511
+ "@prisma/query-compiler-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4512
+ "@prisma/query-engine-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4513
4513
  "@prisma/ts-builders": "workspace:*",
4514
4514
  "@snaplet/copycat": "6.0.0",
4515
4515
  "@swc-node/register": "1.10.9",
@@ -4555,7 +4555,7 @@ var package_default = {
4555
4555
  "source-map-support": "0.5.21",
4556
4556
  "sql-template-tag": "5.2.1",
4557
4557
  "stacktrace-parser": "0.1.11",
4558
- "strip-ansi": "6.0.1",
4558
+ "strip-ansi": "7.1.0",
4559
4559
  "strip-indent": "4.0.0",
4560
4560
  tempy: "3.0.0",
4561
4561
  "ts-node": "10.9.2",
@@ -8551,7 +8551,7 @@ function buildTypedSql({
8551
8551
  fileMap[`${query.name}.js`] = buildTypedQueryCjs(options);
8552
8552
  fileMap[`${query.name}.${edgeRuntimeName}.js`] = buildTypedQueryCjs(edgeOptions);
8553
8553
  fileMap[`${query.name}.mjs`] = buildTypedQueryEsm(options);
8554
- fileMap[`${query.name}.edge.mjs`] = buildTypedQueryEsm(edgeOptions);
8554
+ fileMap[`${query.name}.${edgeRuntimeName}.mjs`] = buildTypedQueryEsm(edgeOptions);
8555
8555
  }
8556
8556
  fileMap["index.d.ts"] = buildIndexTs(queries, enums);
8557
8557
  fileMap["index.js"] = buildIndexCjs(queries);
@@ -8809,7 +8809,7 @@ async function getDefaultOutdir(outputDir) {
8809
8809
  if (existsSync(path3.join(process.env.INIT_CWD, "package.json"))) {
8810
8810
  return path3.join(process.env.INIT_CWD, "node_modules/.prisma/client");
8811
8811
  }
8812
- const packagePath = await pkgUp({ cwd: process.env.INIT_CWD });
8812
+ const packagePath = await packageUp({ cwd: process.env.INIT_CWD });
8813
8813
  if (packagePath) {
8814
8814
  return path3.join(path3.dirname(packagePath), "node_modules/.prisma/client");
8815
8815
  }
@@ -9036,7 +9036,7 @@ async function getGenerationDirs({
9036
9036
  if (isCustomOutput) {
9037
9037
  await verifyOutputDirectory(userOutputDir, datamodel, schemaPath);
9038
9038
  }
9039
- const userPackageRoot = await pkgUp({ cwd: path3.dirname(userOutputDir) });
9039
+ const userPackageRoot = await packageUp({ cwd: path3.dirname(userOutputDir) });
9040
9040
  const userProjectRoot = userPackageRoot ? path3.dirname(userPackageRoot) : process.cwd();
9041
9041
  return {
9042
9042
  runtimeBase: userRuntimeImport,
@@ -9164,7 +9164,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
9164
9164
  import { match } from "ts-pattern";
9165
9165
 
9166
9166
  // package.json
9167
- var version = "6.16.0-integration-feat-orm-1074-package-dev-export.3";
9167
+ var version = "6.16.0-integration-feat-orm-1074-package-dev-export.4";
9168
9168
 
9169
9169
  // src/resolvePrismaClient.ts
9170
9170
  var import_execa = __toESM(require_execa());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-js",
3
- "version": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
3
+ "version": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -25,27 +25,26 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@antfu/ni": "0.21.12",
28
- "@prisma/engines-version": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
28
+ "@prisma/engines-version": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
29
29
  "ci-info": "4.2.0",
30
30
  "env-paths": "2.2.1",
31
31
  "indent-string": "4.0.0",
32
32
  "klona": "2.0.6",
33
- "pkg-up": "3.1.0",
33
+ "package-up": "5.0.0",
34
34
  "pluralize": "8.0.0",
35
35
  "ts-pattern": "5.6.2",
36
- "@prisma/client-common": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
37
- "@prisma/debug": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
38
- "@prisma/dmmf": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
39
- "@prisma/get-platform": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
40
- "@prisma/generator": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
41
- "@prisma/fetch-engine": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
42
- "@prisma/internals": "6.16.0-integration-feat-orm-1074-package-dev-export.3",
43
- "@prisma/ts-builders": "6.16.0-integration-feat-orm-1074-package-dev-export.3"
36
+ "@prisma/debug": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
37
+ "@prisma/client-common": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
38
+ "@prisma/fetch-engine": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
39
+ "@prisma/dmmf": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
40
+ "@prisma/get-platform": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
41
+ "@prisma/internals": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
42
+ "@prisma/generator": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
43
+ "@prisma/ts-builders": "6.16.0-integration-feat-orm-1074-package-dev-export.4"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/pluralize": "0.0.33",
47
- "strip-ansi": "7.1.0",
48
- "vitest": "3.0.9"
47
+ "vitest": "3.2.4"
49
48
  },
50
49
  "files": [
51
50
  "dist"