From 3c831849f74578c5a497e87f8a9f66684798844e Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Tue, 2 Apr 2024 19:36:02 -0400 Subject: [PATCH] refactor: remove deprecated update_pnpm_lock_node_toolchain_prefix from npm_translate_lock (#1574) --- npm/private/npm_translate_lock.bzl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/npm/private/npm_translate_lock.bzl b/npm/private/npm_translate_lock.bzl index f6e4978d84..5dab4f2a08 100644 --- a/npm/private/npm_translate_lock.bzl +++ b/npm/private/npm_translate_lock.bzl @@ -555,9 +555,6 @@ def npm_translate_lock( **kwargs: Internal use only """ - # TODO(2.0): remove backward compat support for update_pnpm_lock_node_toolchain_prefix - update_pnpm_lock_node_toolchain_prefix = kwargs.pop("update_pnpm_lock_node_toolchain_prefix", None) - # TODO(2.0): move this to a new required rules_js_repositories() WORKSPACE function if register_copy_directory_toolchains and not native.existing_rule("copy_directory_toolchains"): _register_copy_directory_toolchains() @@ -659,7 +656,7 @@ def npm_translate_lock( data = data, preupdate = preupdate, quiet = quiet, - node_toolchain_prefix = update_pnpm_lock_node_toolchain_prefix if update_pnpm_lock_node_toolchain_prefix else node_toolchain_prefix, + node_toolchain_prefix = node_toolchain_prefix, use_pnpm = use_pnpm, yq_toolchain_prefix = yq_toolchain_prefix, npm_package_target_name = npm_package_target_name,