node-mongolian icon indicating copy to clipboard operation
node-mongolian copied to clipboard

Insert modifies the passed object - intentional?

Open KarneAsada opened this issue 12 years ago • 2 comments

I noticed that when passing an object to insert, the _id property is added to the original object via reference. Is this intentional? It seems slightly strange and I've been cloning the object before passing it to insert to prevent this.

KarneAsada avatar Aug 17 '12 04:08 KarneAsada

Additional info -

Artifact: NPM - @rollup/[email protected] Dependencies (7) Dependency: NPM - @rollup/[email protected] Dependency: NPM - [email protected] RejectReasons (1) RejectReason: 50453a93-308a-4f7c-b568-fb20c7c2ef8d Type: UNKNOWN_LICENSE_FOUND License: Custom: https://github.com/marcello3d/node-tosource/workflows/Node

gouravghoshjpmc avatar Feb 09 '23 11:02 gouravghoshjpmc

I have the same issue @marcello3d I see you mentioned in this discussion that it's zlib licensed, but we need the package.json updated to reflect that. Could you make that change?

https://groups.google.com/g/nodejs/c/I7hCR7iJYRU

Thanks!!

zjpersc avatar Feb 22 '23 17:02 zjpersc

There's a license file in the repo already. I think maybe your license checker is buggy? GitHub seems to recognize it with no issue.

If there's something specific you need, please submit a PR!

marcello3d avatar Apr 09 '23 14:04 marcello3d