kenchris / urlpattern-polyfill

URLPattern polyfill
https://www.npmjs.com/package/urlpattern-polyfill
MIT License
267 stars 30 forks source link

Throw if baseURL 2nd arg is provided with dictionary input. #19

Closed wanderview closed 3 years ago

wanderview commented 3 years ago

(Note, this depends on #18. Please merge that first.)

Note, since this is an API usage error we throw from test() and exec() instead of returning false.

wanderview commented 3 years ago

This is part of #7.