New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

composer-version-from-lock

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

composer-version-from-lock

Get current package version from composer.lock file and write it into the composer.json

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

composer-version-from-lock

A Node.js package to get the current version of packages from the composer.lock file and write it into the composer.json file.

Usage without installation

If you don't want to install the package globally, you can also run it using npx without installation:

npx composer-version-from-lock

Installation

This package can be installed globally using npm:

npm install -g composer-version-from-lock

Usage

Once the package is installed, you can run the following command from the command line in the root directory of your project:

composer-version-from-lock

This will update the versions of the packages listed in the composer.json file with the latest versions specified in the composer.lock file.

Note

This package will only update the versions of packages that are already listed in the composer.json file. New packages will not be added.

Keywords

composer

FAQs

Package last updated on 08 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts