mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:09:06 +00:00
10 lines
321 B
JavaScript
10 lines
321 B
JavaScript
/**
|
|
* punycode workaround
|
|
*
|
|
* Load punycode.js module to cache and override node built-in.
|
|
*
|
|
* See <https://github.com/renovatebot/renovate/issues/32395>
|
|
*/
|
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
require('punycode/');
|
|
require.cache.punycode = require.cache[require.resolve('punycode/')];
|