@micromerce/media-fileuploader 1.0.1877 → 1.0.1889

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/cjs/index.js CHANGED
@@ -5042,10 +5042,11 @@ var ee$1 = /*@__PURE__*/getDefaultExportFromCjs(namespaceEmitter);
5042
5042
 
5043
5043
  let urlAlphabet =
5044
5044
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
5045
+
5045
5046
  let nanoid = (size = 21) => {
5046
5047
  let id = '';
5047
- let i = size;
5048
- while (i--) {
5048
+ let i = size | 0;
5049
+ while (i-- > 0) {
5049
5050
  id += urlAlphabet[(Math.random() * 64) | 0];
5050
5051
  }
5051
5052
  return id