Packages

@open-policy-agent/opa-wasm

1.10.0 · 8 Nov 2024Apache-2.0133.3k / weekRepositoryHomepagenpmAtom feed

Your version

17 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.10.0

    8 Nov 2024
    • Use WASM_BUILD_ONLY in CI

    • Fix importing types on Node 16 module resolution

  3. 1.9.0

    17 Jun 2024
    • Support webassembly instantiate streaming

    • ⏩ Various dependency bumps

  4. 1.8.1

    12 Jan 2024
    • Expose LoadedPolicy class, update node-ts example

  5. 1.8.0

    2 Sep 2022
    • Removed

      Dropped support for Node 12

    • Change reference to wasm instance

    • Add loadPolicySync

  6. 1.7.0

    18 May 2022
    • Support customBuiltins parameter in loadPolicy

    • Simplifying exports to enable broader usage

    • Less stumbling blocks for PowerShell users: Remove single quotes around entrypoints in package.json commands

  7. 1.6.1

    11 Feb 2022
    • Memory leak during fastpath evaluation

    • Add deno example, separate build steps, update deno version

    • workflow: Use open-policy-agent/setup-opa

  8. 1.6.0

    4 Jan 2022
    • npm-opa-wasm is now compatible with in-browser usage! ✨

      In a previous version, this was already possible, but got inadvertently hindered by using the util module.
      👏 Thanks a lot to @jorgecasar and @aron for making this happen! (#107, #110)

    • Compatibility with Node 10 is restored, which also got inadvertently broken since 1.2.0. (@aron via #108)

  9. 1.5.0

    15 Dec 2021
    • New SDK-provided built-in functions: yaml.unmarshal, yaml.marshal, yaml.is_valid and json.is_valid,

    • loadPolicy: This now accepts a MemoryDescriptor as second argument, and grows memory for input if needed (#92). With that argument, the maximum size the WebAssembly Memory is allowed to grow to can be specified, see this for details.

      A number-argument is still accepted and used as initial memory size (pages) as before.

  10. 1.4.0

    21 Oct 2021
    • data and input that's already stringified can be passed as-is via ArrayBuffer

    • Performance improvements from using TextEncoder instead of utf8 lib

    • Support OPA-Wasm ABI 1.2's one-call evaluation (#63)

  11. 1.3.0

    13 Sep 2021
  12. 1.2.0

    8 Feb 2021
  13. 1.1.0

    18 Nov 2019
    • Non-boolean results

    • Builtins

    • External data

  14. 1.0.0 – 1.0.23 releases without a noteShow each
  15. 0.0.x
  16. 0.0.1 – 0.0.22 releases without a noteShow each

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.