Skip to content

fix(@angular-devkit/build-angular): use URL rewrite in karma fallback middleware#19646

Merged
alan-agius4 merged 1 commit intoangular:masterfrom
clydin:karma-fallback-redirect
Dec 18, 2020
Merged

fix(@angular-devkit/build-angular): use URL rewrite in karma fallback middleware#19646
alan-agius4 merged 1 commit intoangular:masterfrom
clydin:karma-fallback-redirect

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Dec 17, 2020

This changes the internal Angular Karma plugin's asset fallback middleware to rewrite the request URL directly instead of trying to copy the request properties. With changes in newer Node.js versions, not all request properties may be enumerable.

Fixes: #19644

… middleware

This changes the internal Angular Karma plugin's asset fallback middleware to rewrite the request URL directly instead of trying to copy the request properties.  With changes in newer Node.js versions, not all request properties may be enumerable.

Fixes: angular#19644
@clydin clydin added the target: patch This PR is targeted for the next patch release label Dec 17, 2020
@google-cla google-cla bot added the cla: yes label Dec 17, 2020
@clydin clydin requested a review from alan-agius4 December 17, 2020 23:09
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker preserve commits labels Dec 18, 2020
@alan-agius4 alan-agius4 merged commit 0e5dab4 into angular:master Dec 18, 2020
@clydin clydin deleted the karma-fallback-redirect branch December 18, 2020 08:57
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ng test crashes on Node 14.15.2 and Node 15

2 participants