Replacing wc_enqueue_js() for inline WooCommerce scripts
WooCommerce 10.4 deprecates wc_enqueue_js(), which always forced a jQuery dependency. Register and enqueue your script, then add inline JS with wp_add_inline_script() so jQuery only loads when needed.