diff --git a/wasm_bindgen/repositories.bzl b/wasm_bindgen/repositories.bzl index 330ff6aa97..869d6966dd 100644 --- a/wasm_bindgen/repositories.bzl +++ b/wasm_bindgen/repositories.bzl @@ -30,8 +30,8 @@ def rust_wasm_bindgen_repositories(register_default_toolchain = True): maybe( http_archive, name = "build_bazel_rules_nodejs", - sha256 = "55a25a762fcf9c9b88ab54436581e671bc9f4f523cb5a1bd32459ebec7be68a8", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.2.2/rules_nodejs-3.2.2.tar.gz"], + sha256 = "659dfa20721ff324d5e9d198d8bf3d8c74ef6563a7223d9c4974a0ca1e66dbf0", + urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.0.0-rc.0/rules_nodejs-4.0.0-rc.0.tar.gz"], ) # Load dependencies of the default toolchain and register it. diff --git a/wasm_bindgen/wasm_bindgen.bzl b/wasm_bindgen/wasm_bindgen.bzl index 85c5b0afb4..ad2179320c 100644 --- a/wasm_bindgen/wasm_bindgen.bzl +++ b/wasm_bindgen/wasm_bindgen.bzl @@ -117,7 +117,7 @@ def _rust_wasm_bindgen_impl(ctx): DeclarationInfo( declarations = declarations, transitive_declarations = declarations, - type_blacklisted_declarations = depset([]), + type_blocklisted_declarations = depset([]), ), JSModuleInfo( direct_sources = es5_sources,