fix: update prebuild script and regenerate nanoid.js (#558)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The update-prebuild.js script used replaceAll('urlAlphabet', 'a') to inline the alphabet, but index.browser.js now uses scopedUrlAlphabet (imported as alias). Since replaceAll is case-sensitive, 'urlAlphabet' did not match the uppercase 'Url' in 'scopedUrlAlphabet', producing broken output referencing an undefined variable. This also regenerates nanoid.js which was stale and missing the |= 0 pool pollution fix from v5.0.9.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Andrey Sitnik <andrey@sitnik.ru>
Diff stats
2 files+2 added−2 removed
- tests:+1 added−1 removed
- other:+1 added−1 removed