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.

feat: deprecation

See original GitHub issue

Goals

accept

npm deprecate <pkg>[@<versionOrRange>] <message>
yarn deprecate <pkg>[@<versionOrRange>] <message>

as i need to reverse engineer that for yarn anyway i can integrate it here fast also.

TODO

offer the same api as npm does and add “deprecated”: “msg” filds to the manifest on download

DONE

Related Yarn issue

Current Development Branch

Current Ui Implamentation

Blocking needs Discussion Questions that are importent

Feature Design Considerations some stuff needs to get splitted up in own issues as they are global questions. will prepare more detailed Issues.

The Main Problem that comes up is!

Befor this implamentation we could assume that data will not change npmjs.org will be consistent package meta don’t changes.

After this implamentation we deal with the fact that the deprecation status can change after we have fetched a copy of the package.

  • We need to implament some form of last checked State from the upstream
    • some kind of extra fild lastChecked its not allowed to get added to the package.info
  • We need to handle user Permissions will it be possible to deprecate packages that you don’t manage for example in a use case where a user installs this as proxy and don’t registers users he will fetch packages that he could deprecate some how?
  • Should this inhire pull the NPM Or Upstream Registry deprecation meta infos
  • Schould this also run deprecate against the upstream Registrys?
  • When a NPM Package is not deprecated but we have a deprecated version?
  • When a NPM Package is deprecated but we have a none deprecated version?
  • deprecation state needs sync with upstream registrys
  • plugin authority-registry
    • Current Standard behavior ask upstream only if we don’t got infos
    • but stores indipenden deprecation messages.if present deprecation behavior needs to be set explizit if it should inhire from source registry or not
  • plugin proxy-registry
    • if we know we run as a offline proxy
    • if we know we are a additional cache for npm

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
DanielRufcommented, Jan 7, 2020
0reactions
juanpicadocommented, Jun 14, 2020

Closing in favor the relates one.

Thanks 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dealing With Bloat - Feat Deprecation | Dungeons & Dragons
In particular, I'm looking to deprecate feats. Powers are structured in such a way that there's usually about a dozen options at any...
Read more >
Deprecated AirGroup Features - Aruba Networks
Deprecated AirGroup Features · Domain is no longer supported in Mobility Master-Managed Device topology. Domain is supported in stand-alone controller topology.
Read more >
Shadow DOM (deprecated V0 spec) | Can I use... Support ...
Original V0 version of the Shadow DOM specification. See Shadow DOM V1 for support for the latest version. Usage % of. all users,...
Read more >
FTPCommand (Apache Commons Net 3.8.0 API)
@Deprecated public final class FTPCommand extends Object. FTPCommand stores a set of constants for ... static int, FEAT. Deprecated. static int, FEATURES.
Read more >
Unable to remove warning for CXX17 deprecated features
warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The <iterator> header is NOT ......
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