You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drivers such as fs/fsLite currently modify options objects. this might have unwanted side-effects especially if input options are used in different places.
We should:
Make defineDriver types to make sure options object is (deep) ReadOnly
Possibly update tests to make sure there is no runtime update
Fix drivers that currently modify input to instead, make a copy of object
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Describe the feature
Found from nitrojs/nitro#2174
Drivers such as fs/fsLite currently modify options objects. this might have unwanted side-effects especially if input options are used in different places.
We should:
defineDriver
types to make sure options object is (deep) ReadOnlyAdditional information
The text was updated successfully, but these errors were encountered: