braintree / braintree-web

A suite of tools for integrating Braintree in the browser
https://developer.paypal.com/braintree/docs/start/hello-client/javascript/v3
MIT License
440 stars 134 forks source link

Error attempting to convert camel to snake of a null value. #724

Open rrehbein opened 3 weeks ago

rrehbein commented 3 weeks ago

General information

Issue description

With Kount enabled, data collector is failing with an error "can't convert null to object".

It appears to be an issue due to typeof null is "object" which then follows down the wrong path of lib/camel-case-to-snake-case.js

jseaber commented 3 weeks ago

Confirmed; we've rolled back to 3.106.0 for now.