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

sync-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sync-dependencies

Updates dependency versions in one package.json to match another.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

This script synchronizes versions of dependencies from a source package. For each dependency that exists in both the source and target, the version from the source is adopted. The source package does not need to be installed; it is looked up from npm or git as required.

To install:

npm install -g sync-dependencies

Sync dependencies from the version of a package that is specified in package.json:

sync-dependencies --source terriajs

Sync dependencies from a package.json on disk:

sync-dependencies --source terriajs --from ./packages/terriajs/package.json

FAQs

Package last updated on 26 Nov 2019

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