@prisma/adapter-mssql 7.2.0-dev.19 → 7.2.0-dev.20

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
@@ -392,9 +392,6 @@ function mapArg(arg, argType) {
392
392
  if (typeof arg === "string" && argType.scalarType === "bytes") {
393
393
  return Buffer.from(arg, "base64");
394
394
  }
395
- if (Array.isArray(arg) && argType.scalarType === "bytes") {
396
- return Buffer.from(arg);
397
- }
398
395
  if (ArrayBuffer.isView(arg)) {
399
396
  return Buffer.from(arg.buffer, arg.byteOffset, arg.byteLength);
400
397
  }
@@ -418,9 +415,6 @@ function mapRow(row, columns) {
418
415
  }
419
416
  return value;
420
417
  }
421
- if (Buffer.isBuffer(value)) {
422
- return Array.from(value);
423
- }
424
418
  if (typeof value === "string" && type === import_mssql2.default.UniqueIdentifier) {
425
419
  return value.toLowerCase();
426
420
  }
package/dist/index.mjs CHANGED
@@ -362,9 +362,6 @@ function mapArg(arg, argType) {
362
362
  if (typeof arg === "string" && argType.scalarType === "bytes") {
363
363
  return Buffer.from(arg, "base64");
364
364
  }
365
- if (Array.isArray(arg) && argType.scalarType === "bytes") {
366
- return Buffer.from(arg);
367
- }
368
365
  if (ArrayBuffer.isView(arg)) {
369
366
  return Buffer.from(arg.buffer, arg.byteOffset, arg.byteLength);
370
367
  }
@@ -388,9 +385,6 @@ function mapRow(row, columns) {
388
385
  }
389
386
  return value;
390
387
  }
391
- if (Buffer.isBuffer(value)) {
392
- return Array.from(value);
393
- }
394
388
  if (typeof value === "string" && type === sql2.UniqueIdentifier) {
395
389
  return value.toLowerCase();
396
390
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/adapter-mssql",
3
- "version": "7.2.0-dev.19",
3
+ "version": "7.2.0-dev.20",
4
4
  "description": "Prisma's driver adapter for \"mssql\"",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "mssql": "^11.0.1",
35
35
  "async-mutex": "0.5.0",
36
- "@prisma/driver-adapter-utils": "7.2.0-dev.19"
36
+ "@prisma/driver-adapter-utils": "7.2.0-dev.20"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/mssql": "9.1.8"