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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "10.0.0-rc.12",
3
+ "version": "10.0.0-rc.13",
4
4
  "description": "Create Keycloak themes using React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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);