braintree / sanitize-url

MIT License
307 stars 35 forks source link

feat: compile ts to js for use in browsers #50

Closed bradleyhodges closed 1 month ago

bradleyhodges commented 1 year ago

Example usage: btsu.sanitizeUrl('javascript:alert(1)');

hollabaq86 commented 1 year ago

👋 @bradleyhodges thanks for the PR! We'll take a look and provide any feedback.

For internal tracking, issue 2521

ibooker commented 1 month ago

Thank you for your submission.

We currently publish this library to NPM; at this time, we are not planning to provide additional browser support. You could use browserify to convert that NPM package to a file that can be included in HTML files.