# library-version-upgrade

> provide a package to update and get all the required updates in the package .json file (you must be using Yarn 3.x)

Latest version **2.1.2** (published 2023-07-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install library-version-upgrade
pnpm add library-version-upgrade
yarn add library-version-upgrade
bun add library-version-upgrade
```

Provides the command `library-version-upgrade`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.2 |
| Published | 2023-07-14 |
| First published | 2023-06-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 18.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | pradeepsingh107 |

## Links

- npm: https://www.npmjs.com/package/library-version-upgrade
- Repository: https://github.com/Psychobot-2/library-version-upgrade
- Homepage: https://github.com/Psychobot-2/library-version-upgrade#readme
- Issues: https://github.com/Psychobot-2/library-version-upgrade/issues
- npm.io page: https://npm.io/package/library-version-upgrade

## Dependencies (6)

- [ora](https://npm.io/package/ora.md) ^6.3.1
- [yarn](https://npm.io/package/yarn.md) ^1.22.19
- [axios](https://npm.io/package/axios.md) ^1.4.0
- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [semver](https://npm.io/package/semver.md) ^7.5.3
- [child_process](https://npm.io/package/child_process.md) ^1.0.2

## Recent versions

- 2.1.2 (latest) — 2023-07-14
- 2.1.1 — 2023-07-10
- 2.1.0 — 2023-07-10
- 2.0.0 — 2023-07-05
- 1.2.5 — 2023-07-05
- 1.2.4 — 2023-07-04
- 1.2.3 — 2023-07-04
- 1.2.2 — 2023-07-04
- 1.2.1 — 2023-07-04
- 1.2.0 — 2023-07-04
- 1.1.1 — 2023-06-30
- 1.1.0 — 2023-06-30
- 1.0.14 — 2023-06-30
- 1.0.13 — 2023-06-30
- 1.0.12 — 2023-06-30
- … 12 more at https://npm.io/package/library-version-upgrade/versions

## README

## library-version-upgrade


### Table of contents
* [library-version-upgrade](#library-version-upgrade)
* [Overview](#overview)
* [Install](#install)
* [Usage](#usage)
* [Limitation](#limitations)
* [References](#references)
* [Author Info](#author-info)

### Overview
The aim of the project is to help with if there is a package in the dependency graph of your project and now if you want to update that then how much updations are needed for the direct dependencies of your project
 ### Install
```
    npm install library-version-upgrade
```
OR
```
    yarn add library-version-upgrade
```
---

### Usage
```
    library-version-upgrade <dependencyName> <requiredVersion> 
```
OR
```
    node_modules/.bin/./library-version-upgrade <dependencyName> <requiredVersion> 
```
OR 
```
    npx library-version-upgrade <dependencyName> <requiredVersion> 
```
 This will provide with a list of all the packages (which are the dependencies of your project and are depended directly or indirectly on _dependency_) need to be updated and how much you need to update each of these packages , sometimes if all the versions of a package depends on a lower version of _dependency_ then this will be reported.
 ### Note 
 >Peer dependencies and dev dependencies are ignord here so a lower version of _dependency_ can still be present in the lock file.
 
 >Yarn@3.x should be installed as the yarn -why command is used 

 >Some packages are not present in the npm registry these are not considered while making dependency graph

---

 ### Limitations
 The algorithm here assumes that with an upgrade the versions of the dependency graph changes monotonically, this assumption is wrong very rarely and in this case the output might not be true.
### References
* [npmjs](https://registry.npmjs.org)
* [yarn-why](https://classic.yarnpkg.com/lang/en/docs/cli/why/)
* [semver](https://www.npmjs.com/package/semver)

---
### Author Info 

#### Pradeep Singh
* Email- [pradeepanddhruv@gmail.com](mailto:pradeepanddhruv@gmail.com)
* Github- [psychobot-2](https://github.com/psychobot-2)

---

---
_Source: https://npm.io/package/library-version-upgrade · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
