1.1.1 (2024-12-22)
1.1.0 (2024-12-21)
- drop Node.js < 18.19.0 support
part of eggjs/egg#3644
- add isMocked method to check if the member of the object is mocked (986493c)
- reset package (6779edb)
- support cjs and esm both by tshy (#2) (49d3982)
- support mock prop with getter setter (#4) (0ba2ae2)
- can't redefine process.env when node<4 (7de27b7), closes nodejs/node#2999
- clear mock cache when restore (790b26c)
- hasOwnProperty not found (5e40063)
- muk can mock accessor descriptor now (73001d7)
- should check process.env (1cefede)
- fix: should check process.env
- fix: can't redefine process.env when node<4
- feat: add isMocked method to check if the member of the object is mocked
- Support mocking accessor descriptor