trucoshi 8.5.0 → 8.5.2

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.
@@ -21,7 +21,6 @@ const {
21
21
  Extensions,
22
22
  warnOnce,
23
23
  defineDmmfProperty,
24
- Public,
25
24
  } = require('./runtime/library')
26
25
 
27
26
 
@@ -30,11 +29,11 @@ const Prisma = {}
30
29
  exports.Prisma = Prisma
31
30
 
32
31
  /**
33
- * Prisma Client JS version: 4.16.2
32
+ * Prisma Client JS version: 4.14.1
34
33
  * Query Engine version: d9a4c5988f480fa576d43970d5a23641aa77bc9c
35
34
  */
36
35
  Prisma.prismaVersion = {
37
- client: "4.16.2",
36
+ client: "4.14.1",
38
37
  engine: "d9a4c5988f480fa576d43970d5a23641aa77bc9c"
39
38
  }
40
39
 
@@ -53,13 +52,8 @@ Prisma.sql = sqltag
53
52
  Prisma.empty = empty
54
53
  Prisma.join = join
55
54
  Prisma.raw = raw
56
- Prisma.validator = Public.validator
55
+ Prisma.validator = () => (val) => val
57
56
 
58
- /**
59
- * Extensions
60
- */
61
- Prisma.getExtensionContext = Extensions.getExtensionContext
62
- Prisma.defineExtension = Extensions.defineExtension
63
57
 
64
58
  /**
65
59
  * Shorthand utilities for JSON filtering
@@ -212,7 +206,7 @@ const config = {
212
206
  "schemaEnvPath": "../../.env"
213
207
  },
214
208
  "relativePath": "..",
215
- "clientVersion": "4.16.2",
209
+ "clientVersion": "4.14.1",
216
210
  "engineVersion": "d9a4c5988f480fa576d43970d5a23641aa77bc9c",
217
211
  "datasourceNames": [
218
212
  "db"
@@ -226,6 +220,9 @@ const fs = require('fs')
226
220
 
227
221
  config.dirname = __dirname
228
222
  if (!fs.existsSync(path.join(__dirname, 'schema.prisma'))) {
223
+ warnOnce('bundled-warning-1', 'Your generated Prisma Client could not immediately find its `schema.prisma`, falling back to finding it via the current working directory.')
224
+ warnOnce('bundled-warning-2', 'We are interested in learning about your project setup. We\'d appreciate if you could take the time to share some information with us.')
225
+ warnOnce('bundled-warning-3', 'Please help us by answering a few questions: https://pris.ly/bundler-investigation')
229
226
  config.dirname = path.join(process.cwd(), "prisma/client")
230
227
  config.isBundled = true
231
228
  }