faker icon indicating copy to clipboard operation
faker copied to clipboard

Support older browsers without Proxy

Open Murreey opened this issue 4 months ago • 6 comments

We're using Faker in browser, and need to support older browsers that do not have Proxy (including all IE versions). As Faker relies on that for the LocaleProxy, it doesn't work in those browsers.

Is there any scope for Faker to be able to support those browsers? I don't have any suggestions for what that would be, but maybe some sort of browser feature detection or disabling the locale functionality.

Google's proxy-polyfill doesn't cover the has or deleteProperty handlers, so doesn't work for Faker's use case. (Unless an option is to stop using those handlers?)

Murreey avatar Oct 01 '24 15:10 Murreey