Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https: make https.globalAgent overridable also under ECMAScript Modules
Under ECMAScript modules when you do "import * as https from 'https'" you get a new object with properties copied from https module exports. So if this is a regular data property, you will just override a copy, but if this would be a accessor property, we can still access the actual https.globalAgent. Refs: #25170, #9386
- Loading branch information