Skip to content
Myr

Reduce size by new url generation and counter reuse (#170)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Reduce size by url generation and getRandomValues in loop * Update non-secure index.js * Update url.js * Single call crypto.getRandomValues * Update comments * A-Z => a-z

authored by Vladlen Grachev · committed by GitHub · parent dfef624 · Browse files · 5 files+76 added−88 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+76 added−88 removed

  • other:+76 added−88 removed

5 files+76 added−88 removed

modified:async/index.browser.js+22 added-23 removed
modified:non-secure/index.js+19 added-21 removed
modified:index.browser.js+22 added-23 removed
modified:package.json+3 added-3 removed
64 unmodified lines
65 },66 "size-limit": [67 {68 "path": "index.js",69 "limit": "127 B"69 "limit": "119 B"70 },71 {72 "path": "generate.js",73 "limit": "168 B"
3 unmodified lines
77 "limit": "47 B"78 },79 {80 "path": "non-secure/index.js",81 "limit": "89 B"81 "limit": "82 B"82 },83 {84 "path": "non-secure/generate.js",85 "limit": "45 B"86 },87 {88 "path": "async/index.js",89 "limit": "139 B"89 "limit": "130 B"90 },91 {92 "path": "async/generate.js",93 "limit": "193 B"
78 unmodified lines
modified:url.js+10 added-18 removed