mask does not work anymore.
Author: francois-renaultCreated Jul 22, 2024Updated Dec 1, 2024
The mask utility does not work in the 2.0.2 version.
If used with "type" struct it does nothing. If used with "object" struct it throws a StructError for any unknown field.
I had rollback to 1.0.4 version and it works as intended.
Source: ianstormtaylor/superstruct