keycloakify 10.0.0-rc.12 → 10.0.0-rc.13
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/bin/main.js +1 -1
- package/package.json +1 -1
- package/vite-plugin/index.js +1 -1
package/bin/main.js
CHANGED
@@ -45350,7 +45350,7 @@ ReadStream.prototype._read = function(n) {
|
|
45350
45350
|
}
|
45351
45351
|
self.context.pend.go(function(cb) {
|
45352
45352
|
if (self.destroyed) return cb();
|
45353
|
-
var buffer = Buffer.allocUnsafe(toRead);
|
45353
|
+
var buffer = Buffer.allocUnsafe ? Buffer.allocUnsafe(toRead) : new Buffer(toRead);
|
45354
45354
|
fs.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
|
45355
45355
|
if (err) {
|
45356
45356
|
self.destroy(err);
|
package/package.json
CHANGED
package/vite-plugin/index.js
CHANGED
@@ -14651,7 +14651,7 @@ ReadStream.prototype._read = function(n) {
|
|
14651
14651
|
}
|
14652
14652
|
self.context.pend.go(function(cb) {
|
14653
14653
|
if (self.destroyed) return cb();
|
14654
|
-
var buffer = Buffer.allocUnsafe(toRead);
|
14654
|
+
var buffer = Buffer.allocUnsafe ? Buffer.allocUnsafe(toRead) : new Buffer(toRead);
|
14655
14655
|
fs.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
|
14656
14656
|
if (err) {
|
14657
14657
|
self.destroy(err);
|