0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-21 21:18:27 +00:00
renovatebot_renovate/lib/punycode.cjs
2024-11-13 14:55:29 +00:00

11 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/')];