Fix 'this' context when using strict mode.
Fix 'this' context when using strict mode.

In strict mode, the value of this remains at whatever it's set to when entering
the execution context. If it's not defined, it remains undefined.

see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this#Function_context

winduptoy/mongoose-json-patch