debian/patches/fix-for-is-descriptor-3.0.0.patch
raw| 1 | Description: fix for is-descriptor 3.0.0 |
| 2 | Author: Xavier Guimard <[email protected]> |
| 3 | Forwarded: no |
| 4 | Last-Update: 2025-12-30 |
| 5 | |
| 6 | --- a/index.js |
| 7 | +++ b/index.js |
| 8 | @@ -69,6 +69,7 @@ |
| 9 | // keep a reference to the parent prototype |
| 10 | define(Ctor.prototype, '_parent_', { |
| 11 | configurable: true, |
| 12 | + enumerable: false, |
| 13 | set: function() {}, |
| 14 | get: function() { |
| 15 | return Parent.prototype; |