We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue occurs because EJSON.clone() uses the underscore.js _.each() method to traverse objects
EJSON.clone()
_.each()
This is notoriously broken in underscore (see e.g. jashkenas/underscore#1590) for objects with a numeric length attribute, such as MongoDB GridFS file documents.
Meteor.js has patched its private copy of underscore to solve this issue (and likely others).
All Oortcloud projects which have adopted Meteor.js code that depends on underscore.js probably should switch to Meteor's version.
The text was updated successfully, but these errors were encountered:
length
So I agree that we should use the same version that Meteor does, using a fork of an outdated version of _ makes me sad.
Sorry, something went wrong.
I've published updated versions of ddp-ejson, ddp-srp and node-ddp-client.
Thanks for doing this! It makes me sad too, but we would gain nothing by trying to get out in front of Meteor on this. Have a good weekend.
Successfully merging a pull request may close this issue.
This issue occurs because
EJSON.clone()
uses the underscore.js_.each()
method to traverse objectsThis is notoriously broken in underscore (see e.g. jashkenas/underscore#1590) for objects with a numeric length attribute, such as MongoDB GridFS file documents.
Meteor.js has patched its private copy of underscore to solve this issue (and likely others).
All Oortcloud projects which have adopted Meteor.js code that depends on underscore.js probably should switch to Meteor's version.
The text was updated successfully, but these errors were encountered: