Repository navigation
[email protected] breaks build ⚠️ - #5438
greenkeeperio-bot wants to merge 1 commit into
Conversation
|
So, I've been working a bit on upgrading lodash to 4.5 - nothing to commit yet though. The problem is this commit - which fixes an actual bug in lodash, but introduces problems for us. Basically it clones objects before merging them, as evidenced by #5476, where lodash is trying to clone properties of the pg module, because its cloning the User object, which has a reference to pg. We've had similar issues before, which is why we have a specialized function for cloning options objects which avoids cloning sequelize models / instances. However, this time the problem is with merge (which calls clone), not with us calling clone directly. Using Not really sure how to proceed here - perhaps we could somehow tell lodash not to clone certain sequelize objects (although that feels kinda dirty) |
|
The Do you know what's the issue with the clone is it missing some initialization? |
|
Re. I'm not saying this is wrong, its just unfortunate for us, for two reasons:
|
|
Lodash doesn't really support getters. Looks like this was a trap waiting to be hit. |
|
Yep, I've contacted brianc with regards to marking the native property as non-enumerable, brianc/node-postgres#945 Thanks @jdalton |
|
Awesome! |
Hello 👋
lodash just published its new version 4.5.0, which is covered by your current version range. After updating it in your project the build kept failing.
This means it’s possible that your software is malfunctioning, because of this update. Use this branch to work on adaptions and fixes.
Happy fixing and merging 🌴
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster ⚡It keeps your software, up to date, all the time.