Closed dhritzkiv closed 7 years ago
Great job! BTW, all the lodash includes are case-sensitive (depending on OS/FS but ubuntu is), meaning
var isString = require('lodash/isstring');
will fail in ubuntu but pass in osx.
You need to reference the exact file:
var isString = require('lodash/isString');
Good catch. I totally forgot about that behaviour.
You'll likely need to rebase this PR against master, there was a bugfix PR from last week I just merged.
This looks good to me, Let's not merge this until I've published a patch release from pr #235 so we don't unnecessarily couple this lodash update with that bugfix
ETA: it's published, I'm good on this shipping whenever.
I saw that ampersand-view was updated recently to v10 to include lodash@v4 as well as ampersand-state@v5. However, ampersand-state@v5 still uses older lodash versions (addressed via this PR). When this gets a merge + release, ampersand-view will need its ampersand-state dependency updated, which will mean a new major version.
are we sure that it would be a major? no breaking changes would occur. dep swaps would occur, but no functionality or API change would be expected. IMHO, it's a patch, unless there's something im missing from the &-events bump.
That's a fair point.
I suppose my thinking was: ampersand-state
is a critical part of ampersand-view
, and any major version bumps of -state
(other ampersand modules received a major update for the lodash upgrade) would require a major version bump of -view
. But behaviourally, this PR shouldn't break anything.
Any update on this PR?
looks good to me! loving all the 🔴 lines. :) @wraithgar's PR is merged, so hopefully he's cool with proceeding now.
I merged in master, so the main changes are now:
Function.prototype.bind
Bump. The tests are actually passing (see the test details) and the coverage decrease is minimal. Seems this got lots of thumbs up previously. Good to merge?
Yes, great!
lodash.forOwn
(this
is no longer a third argument?)lodash.bind
; use native.bind
. Previously required for phantomjs (see next point).bind
. Installs using recommendedphantomjs-prebuilt