github lukeed/worktop v0.5.0

latest releases: v0.8.0-next.18, v0.8.0-next.16, v0.8.0-next.17...
3 years ago

Features

  • Add conditional exports support for CommonJS (#27, #31, #32): cacf3e2
    See #32 for details. TLDR: This is meant for testing purposes only.

  • (crypto) Add additional export methods (#15, #30): f3322ac

    • keyload – generate a CryptoKey with a raw secret value
    • keygen – generate a CryptoKey without a base value
    • sign – generate a digital signature for a payload using the specified algorithm and CryptoKey
    • verify – verify the digital signature of a payload using the specified algorithm and CryptoKey
    • PBKDF2 – apply the PBKDF2 function to an input using a salt and derivation function
  • (utils): Add ulid export (#25, #28): b854b00
    A lexicographically sortable random identifier; see ulid/spec

  • (utils): Add randomize export: f3322ac
    Wrapper for crypto.getRandomValues utility.

Patches

  • (request): Remove the "Requires Business or Enterprise" notes for req.cf properties: 3f74f6b
    More location-based information available to all plans! See the Cloudflare Blog

Chores

  • (bin): Drop banner approach for require hook: 7862dee

Don't miss a new worktop release

NewReleases is sending notifications on new releases.