relq 1.0.10 → 1.0.11

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.
@@ -346,10 +346,9 @@ var require_postgres_interval = __commonJS((exports2, module2) => {
346
346
 
347
347
  // node_modules/postgres-bytea/index.js
348
348
  var require_postgres_bytea = __commonJS((exports2, module2) => {
349
- var bufferFrom = Buffer.from || Buffer;
350
349
  module2.exports = function parseBytea(input) {
351
350
  if (/^\\x/.test(input)) {
352
- return bufferFrom(input.substr(2), "hex");
351
+ return new Buffer(input.substr(2), "hex");
353
352
  }
354
353
  var output = "";
355
354
  var i = 0;
@@ -373,7 +372,7 @@ var require_postgres_bytea = __commonJS((exports2, module2) => {
373
372
  }
374
373
  }
375
374
  }
376
- return bufferFrom(output, "binary");
375
+ return new Buffer(output, "binary");
377
376
  };
378
377
  });
379
378
 
@@ -346,10 +346,9 @@ var require_postgres_interval = __commonJS((exports2, module2) => {
346
346
 
347
347
  // node_modules/postgres-bytea/index.js
348
348
  var require_postgres_bytea = __commonJS((exports2, module2) => {
349
- var bufferFrom = Buffer.from || Buffer;
350
349
  module2.exports = function parseBytea(input) {
351
350
  if (/^\\x/.test(input)) {
352
- return bufferFrom(input.substr(2), "hex");
351
+ return new Buffer(input.substr(2), "hex");
353
352
  }
354
353
  var output = "";
355
354
  var i = 0;
@@ -373,7 +372,7 @@ var require_postgres_bytea = __commonJS((exports2, module2) => {
373
372
  }
374
373
  }
375
374
  }
376
- return bufferFrom(output, "binary");
375
+ return new Buffer(output, "binary");
377
376
  };
378
377
  });
379
378
 
@@ -333,10 +333,9 @@ var require_postgres_interval = __commonJS((exports, module) => {
333
333
 
334
334
  // node_modules/postgres-bytea/index.js
335
335
  var require_postgres_bytea = __commonJS((exports, module) => {
336
- var bufferFrom = Buffer.from || Buffer;
337
336
  module.exports = function parseBytea(input) {
338
337
  if (/^\\x/.test(input)) {
339
- return bufferFrom(input.substr(2), "hex");
338
+ return new Buffer(input.substr(2), "hex");
340
339
  }
341
340
  var output = "";
342
341
  var i = 0;
@@ -360,7 +359,7 @@ var require_postgres_bytea = __commonJS((exports, module) => {
360
359
  }
361
360
  }
362
361
  }
363
- return bufferFrom(output, "binary");
362
+ return new Buffer(output, "binary");
364
363
  };
365
364
  });
366
365
 
@@ -324,10 +324,9 @@ var require_postgres_interval = __commonJS((exports, module) => {
324
324
 
325
325
  // node_modules/postgres-bytea/index.js
326
326
  var require_postgres_bytea = __commonJS((exports, module) => {
327
- var bufferFrom = Buffer.from || Buffer;
328
327
  module.exports = function parseBytea(input) {
329
328
  if (/^\\x/.test(input)) {
330
- return bufferFrom(input.substr(2), "hex");
329
+ return new Buffer(input.substr(2), "hex");
331
330
  }
332
331
  var output = "";
333
332
  var i = 0;
@@ -351,7 +350,7 @@ var require_postgres_bytea = __commonJS((exports, module) => {
351
350
  }
352
351
  }
353
352
  }
354
- return bufferFrom(output, "binary");
353
+ return new Buffer(output, "binary");
355
354
  };
356
355
  });
357
356
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relq",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "The Fully-Typed PostgreSQL ORM for TypeScript",
5
5
  "author": "Olajide Mathew O. <olajide.mathew@yuniq.solutions>",
6
6
  "license": "MIT",