question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove sync-request dependency

See original GitHub issue

What

The download link logic was simplified in #953 and no longer uses sync-request. We’re keeping it around for now for users that might be relying on it, but should remove it in the next major release.

Why

Removing unused dependencies keeps the codebase tidy and minimises the number of dependencies we need to keep up to date.

Done when…

  • sync-request no longer listed as a dependency in package.json

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vanitabarrettcommented, Sep 2, 2021

Had a chat with @joelanman about this work. We discussed that even though the documentation on how to update the Kit mentions making sure the package.json files match up and re-installing custom modules, we think most users of the Kit don’t install custom modules and might not have enough knowledge to re-install missing packages without additional support, potentially from our support rota.

We discussed other npm packages that we include in the Kit that we don’t use ourselves and instead provide almost like ‘helper’ packages for our users to make certain tasks easier, e.g: Notify’s notifications-node-client.

Instead of removing sync-request, an alternative approach may be to be more explicit about the packages we provide for our users to use. This would help define 1) what users can do with the Kit; and 2) why we have certain packages installed for developers maintaining the Kit. We would need to be clear that some of these packages can’t just be lifted and shifted to production as some of them aren’t suitable, for example: sync-request says it’s not suitable for production use due to scalability/performance issues.

0reactions
joelanmancommented, Dec 6, 2022

sync-request is no longer included in v13 starter files

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build fails to download external dependencies because sync ...
I attempted to upgrade the version of sync-request to 5.0.0 but this threw hundreds of TypeScript errors because, for equally inexplicable ...
Read more >
ContentResolver | Android Developers
public static void cancelSync (SyncRequest request). Remove the specified sync. This will cancel any pending or active syncs.
Read more >
Troubleshoot ActiveSync with Exchange Server
The available device settings are dependent on each device and not all settings work with all devices. To determine if the ActiveSync ...
Read more >
4.4 Bean scopes - Spring
You can control not only the various dependencies and configuration values that are to be plugged into an object that is created from...
Read more >
Bug #446263 “sync request (unstable -> main) for getting maven b ...
* Upload to unstable. doxia (1.1-2) experimental; urgency=low. [ Ludovic Claude ] * Remove test dependencies from Maven POM descriptors. [ Torsten Werner...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found