Larry Maccherone
Larry Maccherone
I took a look and it will be more than just a little work to implement an in-memory option. I propose that if no directory is provided when it's instantiated,...
That is a good option. I'm using npm package `write-file-atomic` for writes but that's only in one spot in the code and I could easily just check a conditional and...
@LuminescentMoon 's idea is a really simple way to accomplish this. Anyone want to implement it and submit a pull request?
I would still love to do this if someone needs it.
+1 on getting rid of shimport. I'm being told that I won't be allowed to go into production with a new product that has unsafe-eval in my CSP. Until that...
[Here](https://github.com/transformation-dev/blueprint/blob/4330d3045ef7b1838612e026bafaabd2637f55c6/packages/cloudflare-do-utils/src/apply-diff.js) is applyDiff module that works with the `diff()` method not the `detailedDiff()` method. It passes all of the deep-object-diff tests as you can see [here](https://github.com/transformation-dev/blueprint/blob/4330d3045ef7b1838612e026bafaabd2637f55c6/packages/cloudflare-do-utils/test/apply-diff.test.js). If you want, I...
I ended up publishing this as its own npm package: https://www.npmjs.com/package/@transformation-dev/deep-object-diff-apply
Is this a duplicate of #71 ?
Nice explanation @GottZ and thanks for the shout out! I ended up publishing this as its own npm package: https://www.npmjs.com/package/@transformation-dev/deep-object-diff-apply.
If you want something simple and lightweight, I can recommend [@ungap/structured-clone](https://www.npmjs.com/package/@ungap/structured-clone). However, if you want fast and based upon an international standard, there is [cbor-x with the structured cloning extension](https://www.npmjs.com/package/cbor-x#structured-cloning)....