···5151 SerializedError,
5252 TestError,
5353} from './types'
5454+5555+export { nanoid } from './nanoid'
+12
packages/utils/src/nanoid.ts
···11+// port from nanoid
22+// https://github.com/ai/nanoid
33+const urlAlphabet
44+ = 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
55+export function nanoid(size = 21): string {
66+ let id = ''
77+ let i = size
88+ while (i--) {
99+ id += urlAlphabet[(Math.random() * 64) | 0]
1010+ }
1111+ return id
1212+}