You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: native_helpers.rb
    path of file: ./repos/dependabot-core/npm_and_yarn/lib/dependabot/npm_and_yarn
    
    the code of the file until where you have to start completion: # typed: true
# frozen_string_literal: true

module Dependabot
  module NpmAndYarn
    module NativeHelpers
      def self.helper_path
        "node #{File.join(native_helpers_root, 'run.js')}"
      end

      def self.native_helpers_root
        helpers_root = ENV.fetch("DEPENDABOT_NATIVE_HELPERS_PATH", nil)
        return File.join(helpers_root, "npm_and_yarn") unless helpers_root.nil?

        File
    
      def self.run_npm8_subdependency_update_command(dependency_names)
        # NOTE: npm options
        # - `--force` ignores checks for platform (os, cpu) and engines
        # - `--dry-run=false` the updater sets a global .npmrc with dry-run: true to
        #   work around an issue in npm 6, we don't want that here
        # - `--ignore-scripts` disables prepare and prepack scripts which are run
        #   when installing git dependencies
        command = [
          "update",
          *dependency_names,
          "--force",
          "--dry-run",
          "false",
          "--ignore-scripts",
          "--package-lock-only"
        ].join(" ")

        fingerprint = [
          "update",
          "<dependency_names>",
          "--force",
          "--dry-run",
          "false",
          "--ignore-scripts",
          "--package-lock-only"
        ].join(" ")

        Helpers.run_npm_command(command, fingerprint: fingerprint)
      end
    end