-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
Our code:
const assert = require('assert');
module.exports = new Proxy({}, {
getPrototypeOf(){
assert.fail();
}
});We want to export a proxified object and explicitly ensure that user code will not trigger certain traps. Works fine in v12.x. Throws assertion error in v14.x, but we did not call getPrototypeOf.
We bisected to d7452b7. Throws error even with --no-warnings.
Please Node.js team, can you fix this? Thanks.
himself65
Metadata
Metadata
Assignees
Labels
No labels