-
Notifications
You must be signed in to change notification settings - Fork 304
component-update: doesn't verify that new tag is component-compatible #583
Comments
it doens't check whether the repository |
@netpoetica @tetsuo what do you think? |
update changes component.json file even if the latest version is not component-compatible. that's a bug indeed. |
@tetsuo How do you see an update changing the component.json file? I might be missing something on that one An error in this situation is expected behavior - if no component.json is found, component should not attempt to treat the repo like a valid remote. I agree with Ong that adding an extra HTTP request is overkill, just to provide a more accurate error message. What about changing the message of all 404 errors (whether remote or component.json is not found) to just say
|
@netpoetica here https://github.com/componentjs/update.js/blob/master/lib/index.js#L38 there is some weirdness going over there :) enigma of @jonathanong |
pre-mz co hackage :D |
i've got a project using reworkcss/css-parse. version 2 dropped support for component for some stupid reason, so we fail with:
The text was updated successfully, but these errors were encountered: