39e8ceb2cd
Safari throws an error when the new URL() constructor is called with an undefined base. This change checks whether the base is undefined and then calls the corresponding version of the URL constructor. fix(upgrade): simplify solution by replacing undefined with '' Co-Authored-By: Pete Bacon Darwin <pete@bacondarwin.com> Simplify solution by replacing undefined with '' Co-Authored-By: Pete Bacon Darwin <pete@bacondarwin.com> fix(upgrade): Avoid passing an empty string as the base as well. Browsers other than Safari may have issues with the empty string. PR Close #32959 |
||
---|---|---|
.. | ||
http | ||
locales | ||
src | ||
test | ||
testing | ||
upgrade | ||
BUILD.bazel | ||
PACKAGE.md | ||
index.ts | ||
package.json | ||
public_api.ts |