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
The function extractFiles now deeply clones an input value containing multiple references of an object or array with a mirrored reference structure instead of creating multiple objects or arrays. This change shouldn’t affect typical JSON.stringify use with cloned values.
The function extractFiles now uses for…of to iterate FileList instances.
Patch
Updated dev dependencies.
Reverted the more specific package main field path.
The function extractFiles now correctly handles circular references within the input value by recreating the circular references in the returned clone instead of infinitely recursing to the point of a Maximum call stack size exceeded error, fixing #14.
Renamed imports in the test index module.
Refactored extractFiles tests to use Object.freeze with input objects and arrays to ensure input isn’t mutated.
Updated a code example to use a deep import.
Amended the changelog entries for v8.0.0 and v9.0.0.