@taquito/sapling 24.3.0-rc.4 → 24.3.1-beta.1
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.
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
function requireBuffer () {
|
|
309
309
|
if (hasRequiredBuffer) return buffer;
|
|
310
310
|
hasRequiredBuffer = 1;
|
|
311
|
-
(function (exports
|
|
311
|
+
(function (exports) {
|
|
312
312
|
|
|
313
313
|
const base64 = requireBase64Js();
|
|
314
314
|
const ieee754 = requireIeee754();
|
|
@@ -317,12 +317,12 @@
|
|
|
317
317
|
? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
|
|
318
318
|
: null;
|
|
319
319
|
|
|
320
|
-
exports
|
|
321
|
-
exports
|
|
322
|
-
exports
|
|
320
|
+
exports.Buffer = Buffer;
|
|
321
|
+
exports.SlowBuffer = SlowBuffer;
|
|
322
|
+
exports.INSPECT_MAX_BYTES = 50;
|
|
323
323
|
|
|
324
324
|
const K_MAX_LENGTH = 0x7fffffff;
|
|
325
|
-
exports
|
|
325
|
+
exports.kMaxLength = K_MAX_LENGTH;
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* If `Buffer.TYPED_ARRAY_SUPPORT`:
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
|
|
919
919
|
Buffer.prototype.inspect = function inspect () {
|
|
920
920
|
let str = '';
|
|
921
|
-
const max = exports
|
|
921
|
+
const max = exports.INSPECT_MAX_BYTES;
|
|
922
922
|
str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim();
|
|
923
923
|
if (this.length > max) str += ' ... ';
|
|
924
924
|
return '<Buffer ' + str + '>'
|