Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[middleware] Warn dynamic WASM compilation #37681

Merged
merged 4 commits into from
Jun 16, 2022
Merged

[middleware] Warn dynamic WASM compilation #37681

merged 4 commits into from
Jun 16, 2022

Commits on Jun 14, 2022

  1. [middleware] Warn if WASM code generation happened

    In Edge Middlewares, dynamic code execution is not available. Currently,
    we warn if eval / new Function is invoked in dev but don't warn another
    dynamic code exection in WebAssembly.
    
    This PR adds warnings for WebAssembly.compile and WebAssembly.instantiate
    with a buffer parameter invocations. Note that other methods that generate
    WASM dynamically such as WebAssembly.compileStreaming are not available in
    Edge Runtime so we don't cover them in this PR.
    nuta committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    a87a537 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Configuration menu
    Copy the full SHA
    7d6bdfb View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    483be43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15c0d4a View commit details
    Browse the repository at this point in the history