braintree / restricted-input

Restrict <input>s to certain valid characters (e.g. formatting phone or card numbers)
https://braintree.github.io/restricted-input/
MIT License
68 stars 25 forks source link

Chrome: 'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M54. #6

Closed crookedneighbor closed 8 years ago

crookedneighbor commented 8 years ago

Originally Reported by @milesich in https://github.com/braintree/braintree-web/issues/195

While using hosted fields in v3.0.1 I am getting this warning in the console:

'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5316065118650368 for more details.

Google Chrome Version 53.0.2785.46 beta (64-bit)

lib/key-cannot-mutate-value.js and lib/restricted-input.js are the two places that use this property.