drizzle-kit 0.27.1-19f042a → 0.27.1-998119e

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. package/api.js +2 -2
  2. package/api.mjs +2 -2
  3. package/bin.cjs +1 -1
  4. package/package.json +1 -1
package/api.js CHANGED
@@ -30212,7 +30212,7 @@ var init_blob = __esm({
30212
30212
  return "blob";
30213
30213
  }
30214
30214
  mapFromDriverValue(value) {
30215
- return BigInt(value.toString());
30215
+ return BigInt(Buffer.isBuffer(value) ? value.toString() : String.fromCodePoint(...value));
30216
30216
  }
30217
30217
  mapToDriverValue(value) {
30218
30218
  return Buffer.from(value.toString());
@@ -30237,7 +30237,7 @@ var init_blob = __esm({
30237
30237
  return "blob";
30238
30238
  }
30239
30239
  mapFromDriverValue(value) {
30240
- return JSON.parse(value.toString());
30240
+ return JSON.parse(Buffer.isBuffer(value) ? value.toString() : String.fromCodePoint(...value));
30241
30241
  }
30242
30242
  mapToDriverValue(value) {
30243
30243
  return Buffer.from(JSON.stringify(value));
package/api.mjs CHANGED
@@ -30217,7 +30217,7 @@ var init_blob = __esm({
30217
30217
  return "blob";
30218
30218
  }
30219
30219
  mapFromDriverValue(value) {
30220
- return BigInt(value.toString());
30220
+ return BigInt(Buffer.isBuffer(value) ? value.toString() : String.fromCodePoint(...value));
30221
30221
  }
30222
30222
  mapToDriverValue(value) {
30223
30223
  return Buffer.from(value.toString());
@@ -30242,7 +30242,7 @@ var init_blob = __esm({
30242
30242
  return "blob";
30243
30243
  }
30244
30244
  mapFromDriverValue(value) {
30245
- return JSON.parse(value.toString());
30245
+ return JSON.parse(Buffer.isBuffer(value) ? value.toString() : String.fromCodePoint(...value));
30246
30246
  }
30247
30247
  mapToDriverValue(value) {
30248
30248
  return Buffer.from(JSON.stringify(value));
package/bin.cjs CHANGED
@@ -88993,7 +88993,7 @@ init_utils2();
88993
88993
  var version2 = async () => {
88994
88994
  const { npmVersion } = await ormCoreVersions();
88995
88995
  const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
88996
- const envVersion = "0.27.1-19f042a";
88996
+ const envVersion = "0.27.1-998119e";
88997
88997
  const kitVersion = envVersion ? `v${envVersion}` : "--";
88998
88998
  const versions = `drizzle-kit: ${kitVersion}
88999
88999
  ${ormVersion}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.27.1-19f042a",
3
+ "version": "0.27.1-998119e",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",