Skip to content

Commit

Permalink
fix: regression introduced in v5.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Feb 2, 2023
1 parent 5dbe8bc commit 4f6e847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/deep_clone.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = globalThis.structuredClone || JSON.parse(JSON.stringify(obj));
module.exports = globalThis.structuredClone || ((obj) => JSON.parse(JSON.stringify(obj)));

0 comments on commit 4f6e847

Please sign in to comment.