storyblok 4.6.10 → 4.6.12

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.mjs CHANGED
@@ -2961,9 +2961,7 @@ class StoriesStream extends Transform {
2961
2961
  this.spaceId = spaceId;
2962
2962
  this.batchSize = batchSize;
2963
2963
  this.onProgress = onProgress;
2964
- this.semaphore = new Sema(this.batchSize, {
2965
- capacity: this.batchSize
2966
- });
2964
+ this.semaphore = new Sema(this.batchSize);
2967
2965
  }
2968
2966
  semaphore;
2969
2967
  async _transform(chunk, _encoding, callback) {
@@ -3346,9 +3344,7 @@ class UpdateStream extends Writable {
3346
3344
  failed: [],
3347
3345
  totalProcessed: 0
3348
3346
  };
3349
- this.semaphore = new Sema(this.batchSize, {
3350
- capacity: this.batchSize
3351
- });
3347
+ this.semaphore = new Sema(this.batchSize);
3352
3348
  }
3353
3349
  results;
3354
3350
  batchSize;
@@ -3509,7 +3505,7 @@ migrationsCommand.command("run [componentName]").description("Run migrations").o
3509
3505
  query,
3510
3506
  starts_with: startsWith
3511
3507
  },
3512
- batchSize: 100,
3508
+ batchSize: 12,
3513
3509
  onTotal: (total) => {
3514
3510
  storiesProgress.setTotal(total);
3515
3511
  migrationsProgress.setTotal(total);
@@ -3534,7 +3530,7 @@ migrationsCommand.command("run [componentName]").description("Run migrations").o
3534
3530
  space,
3535
3531
  publish,
3536
3532
  dryRun,
3537
- batchSize: 100,
3533
+ batchSize: 12,
3538
3534
  onProgress: () => {
3539
3535
  updateProgress.increment();
3540
3536
  }
@@ -5199,7 +5195,7 @@ program$1.command(`${commands.CREATE} [project-path]`).alias("c").description(`S
5199
5195
  konsola.br();
5200
5196
  });
5201
5197
 
5202
- const version = "4.6.10";
5198
+ const version = "4.6.12";
5203
5199
  const pkg = {
5204
5200
  version: version};
5205
5201