cloudflare / voprf-ts

A TypeScript library for Oblivious Pseudorandom Functions
BSD 3-Clause "New" or "Revised" License
28 stars 12 forks source link

Fix vulnerability in babel dependency #52

Closed armfazh closed 10 months ago

armfazh commented 10 months ago

changes:

thibmeu commented 10 months ago

what's the reasoning behind removing tsx dependency? I like @cloudflare/voprf-ts instead of ../src in the example, it's something users can directly copy.

armfazh commented 10 months ago

the fewer dependencies the better. if it compiles directly with the Typescript compiler (tsc ), it will do with wrapper tools; but the opposite is not guaranteed also we want to test/bench theactual javascript code, using node directly: $ node file.js , instead of $ node -t <tool> file.ts.