Skip to content

Fix #253 - Explicitly exported randomUUID from global crypto#254

Merged
Jarred-Sumner merged 1 commit into
oven-sh:mainfrom
WebReflection:issue-253
Jul 6, 2022
Merged

Fix #253 - Explicitly exported randomUUID from global crypto#254
Jarred-Sumner merged 1 commit into
oven-sh:mainfrom
WebReflection:issue-253

Conversation

@WebReflection

Copy link
Copy Markdown
Contributor

Note I have no idea what I am doing here because I am still cloning the whole thing ... I hope this works.


P.S. should I file an issue as follow up to crypto-browserify module? it's 5 years old module I am not sure they would/should care 🤔

@Jarred-Sumner

Copy link
Copy Markdown
Collaborator

Thank you!

Longer-term, bun will need to polyfill this separately for browsers & bun, but this PR is definitely an improvement over the status quo. Bun exposes SHA.* hashing functions from BoringSSL that "crypto" would ideally use instead of slower JavaScript polyfills

@Jarred-Sumner Jarred-Sumner merged commit b59908d into oven-sh:main Jul 6, 2022
airgap added a commit to airgap/parabun that referenced this pull request Jun 11, 2026
The ts-plugin transform is the type-checker's view of a para file — it
injects `declare const _: any;` rather than desugaring `_`-lambdas — so
its output is still para source. Running it as plain .ts only worked
while para syntax leaked into vanilla files; with para gating (LYK-1128)
the runtime that executes it must be the para parser.

Fixes parabun CI oven-sh#254.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants