Mirek Rusin

Results 40 comments of Mirek Rusin

Oh yes, the order in sub arrays is tricky because you don't know if we should compare it as a set or as an ordinary array. The best may be...

Not yet, I don't promise to fix this anytime soon unfortunatelly. I've started rewrite but I don't know how long it'll take.

Can you paste those JSON documents? If you want, you can also add test case to https://github.com/mirek/node-rus-diff/blob/master/spec/spec-index.coffee - I'll merge it and fix quickly.

It would be great to add something smart to recognise $pop, $pull, $push etc. ops for arrays. Maybe I'll do that soon.

``` console.log $.diff {a:['a','b']}, {a:['b']} { '$rename': { 'a.1': 'a.0' } } console.log $.apply {a:['a','b']}, { '$rename': { 'a.1': 'a.0' } } { a: [ 'b', null ] } ```...

It's because of delete behaviour: ``` coffee> a = [ 3, 5, 7 ] [ 3, 5, 7 ] coffee> delete a[1] true coffee> a [ 3, null, 7 ]...

@kevinfairclough $rename has just been fixed, the behaviour is quite straight forward: - on non-existing value (value that disappeared) remember value's hash and it's key path - after the diff...

Does anybody know, roughly when `async_hooks` may exit experimental?

Thanks for info. I want to set value at entrypoint of async context and access it at arbitrary depth, ie. set it in rpc handler and access it from nested...