angular-cn/packages/common/upgrade/src
Alison Gale 39e8ceb2cd fix(upgrade): fix AngularJsUrlCodec to support Safari (#32959)
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
2019-10-02 10:00:47 -07:00
..
index.ts fix(common): add upgrade sub-package to ng_package rule for @angular/common (#30117) 2019-04-25 15:01:17 -07:00
location_shim.ts fix(common): update $locationShim to notify onChange listeners before emitting AngularJS events (#32037) 2019-08-13 14:23:57 -07:00
location_upgrade_module.ts docs(common): update API docs for unified location service for upgrading (#30567) 2019-05-21 13:09:08 -07:00
params.ts fix(upgrade): fix AngularJsUrlCodec to support Safari (#32959) 2019-10-02 10:00:47 -07:00
utils.ts feat(common): provide replacement for AngularJS $location service (#30055) 2019-04-24 13:49:29 -07:00