aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/punycode.cjs
blob: 40e97f8dcba0df8be9456d3b314d0746217a2b44 (plain)
1
2
3
4
5
6
7
8
9
10
/**
 * 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/')];