-
Prevent options from leaking (#1595) · 655a85fa
The options object passed into `render` and `renderSync` is only shallow copied. This is an issue when nested objects and arrays like custom importer and functions. In the case of custom function we wrap the provided function. This wrapped version replaces the provided one which can then leak back into the calling code. This is an issue if `render*` is called in a loop like in gulp-sass. Fixes #1168
Michael Mifsud authored
×