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