Closed insanicly closed 5 years ago
When module is tried to be used as a pure javascript function (without using a packaging tech like browsify etc) an error occurs.
Here is the PR that will solve that problem and not changing anything in the logic.
https://github.com/braintree/sanitize-url/pull/8
Closing. See https://github.com/braintree/sanitize-url/pull/8#issuecomment-444889730
When module is tried to be used as a pure javascript function (without using a packaging tech like browsify etc) an error occurs.
Here is the PR that will solve that problem and not changing anything in the logic.
https://github.com/braintree/sanitize-url/pull/8