@interopio/browser-worker 4.5.0 → 5.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.
package/dist/web.worker.umd.js
CHANGED
|
@@ -874,13 +874,13 @@
|
|
|
874
874
|
}))
|
|
875
875
|
});
|
|
876
876
|
|
|
877
|
-
/* @ts-self-types="./index.d.ts" */
|
|
878
877
|
let urlAlphabet =
|
|
879
878
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
879
|
+
|
|
880
880
|
let nanoid = (size = 21) => {
|
|
881
881
|
let id = '';
|
|
882
882
|
let i = size | 0;
|
|
883
|
-
while (i--) {
|
|
883
|
+
while (i-- > 0) {
|
|
884
884
|
id += urlAlphabet[(Math.random() * 64) | 0];
|
|
885
885
|
}
|
|
886
886
|
return id
|