@interopio/browser-worker 3.4.0 → 4.0.0

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.
@@ -868,11 +868,12 @@ var webWorkerConfigDecoder = object({
868
868
  }))
869
869
  });
870
870
 
871
+ /* @ts-self-types="./index.d.ts" */
871
872
  let urlAlphabet =
872
873
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
873
874
  let nanoid = (size = 21) => {
874
875
  let id = '';
875
- let i = size;
876
+ let i = size | 0;
876
877
  while (i--) {
877
878
  id += urlAlphabet[(Math.random() * 64) | 0];
878
879
  }