Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy

This commit is contained in:
Nuckyz 2024-05-24 18:46:52 -03:00
commit c9c1e0c6c5
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -107,7 +107,7 @@ Object.defineProperty(Function.prototype, "m", {
// setImmediate to clear this property setter if this is not the main Webpack // setImmediate to clear this property setter if this is not the main Webpack
// If this is the main Webpack, wreq.m will always be set before the timeout runs // If this is the main Webpack, wreq.m will always be set before the timeout runs
const setterTimeout = setTimeout(() => delete (this as Partial<WebpackRequire>).p, 0); const setterTimeout = setTimeout(() => Reflect.deleteProperty(this, "p"), 0);
Object.defineProperty(this, "p", { Object.defineProperty(this, "p", {
configurable: true, configurable: true,