Skip to content
New issue

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

Doesn't update #71

Open
vitaly-t opened this issue Apr 8, 2015 · 10 comments
Open

Doesn't update #71

vitaly-t opened this issue Apr 8, 2015 · 10 comments

Comments

@vitaly-t
Copy link

vitaly-t commented Apr 8, 2015

Just how often does David update? I've fixed dependencies 2 hours ago, and they still come up as out of date, while David uses the old package.json.

Is there something extra I need to do or it just doesn't work?

@vitaly-t
Copy link
Author

vitaly-t commented Apr 8, 2015

UPDATE: It did update, 3 hours later. That's not fast enough. Is there a way to make it happen faster?

@alanshaw
Copy link
Owner

alanshaw commented Apr 8, 2015

I think it's a bug see alanshaw/david-www#178. I haven't got time to fix this right now but would appreciate a pull request.

@seriema
Copy link

seriema commented Jul 21, 2015

Not sure if this is the same thing, but when I run david it reports All dependencies up to date. Yet if I do npm list I can see grunt-contrib-imagemin@0.9.2 but the latest is actually 0.9.4 (published four months ago).

I tried david u -u but it didn't do anything.

@alanshaw
Copy link
Owner

What does the entry for grunt-contrib-imagemin look like in your package.json?

@seriema
Copy link

seriema commented Jul 21, 2015

"grunt-contrib-imagemin": "^0.9.2",

@alanshaw
Copy link
Owner

That's up to date according to your range

@seriema
Copy link

seriema commented Jul 21, 2015

Not sure I understood. On npm the latest is 0.9.4, but I can't get david to grab it when I run david update. It thinks that 0.9.2 is the latest, when it clearly isn't and 0.9.4 should be a valid update.

@seriema
Copy link

seriema commented Aug 7, 2015

This is still happening and either David doesn't work as I think or .. I don't know. I have "karma": "^0.13.2", in my package.json. When I run david update I'm expecting it to update to 0.13.8 but it doesn't. Running npm update updates it so I'm expecting David should too?

@alanshaw
Copy link
Owner

alanshaw commented Aug 8, 2015

Fair point, but as you say npm update updates your existing dependencies within the range of versions stated in your package.json. David's purpose has always been to identify and install dependencies who's versions are higher than the version range stated in your package.json.

@seriema
Copy link

seriema commented Aug 8, 2015

Ah... I've missed that distinction. The David website marks any dependency out of date. Maybe that's the difference between the yellow and red badge? If it's within range or not? I thought it had to do with minor vs major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants