added missing dependency browser_detect#17
Conversation
browser_detect is used in over_react but only included via dart_dev in dev_dependencies
RavenNumber of Findings: 0 |
Current coverage is 97.03% (diff: 100%)@@ master #17 diff @@
==========================================
Files 27 27
Lines 1211 1211
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 1175 1175
Misses 36 36
Partials 0 0
|
|
I'm curious how you're deploying. You shouldn't have to directory every dependency another lib uses. |
|
browser_detect is used in over_react in imports, but it's never included under dependencies (neither as a direct nor as a transitive dependency). The import only works, because it's used by dart_dev which is included under dev_dependencies. I'm deploying using pub serve in WebStorm. |
|
The output of pub build would look like this, BTW: |
|
Can you paste your pubspec? I just pulled the project and it worked fine on my end with |
|
I'm also on Dart 1.20.1 on this computer. |
|
@denniskaselow I put together a simple app to show If you could provide more info on your setup, I'm happy to help troubleshoot even more. |
|
Remove the dev_dependencies (or just dart_dev) from your sample project and it will no longer work. |
|
Why would you do that? I do see |
|
+1 Thank you for contributing @denniskaselow! FYI @greglittlefield-wf @clairesarsam-wf @jacehensley-wf @joelleibow-wf @leviwith-wf this is ready for QA + merge. |
|
QA Resource Approval: +10
Merging |
|
RM +1 manually reviewed dependencies |
added missing dependency browser_detect
Add boilerplate validator diagnostic, using over_react parsing code
Added browser_detect to dependencies because it is imported in over_react but only included via dart_dev in dev_dependencies. Deploying an application without it fails, because browser_detect.dart returns with a 404.