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