Socket
Book a DemoInstallSign in
Socket

@sharkcore/yarn-tools

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sharkcore/yarn-tools

Collection of tools to work with yarn-based repositories.

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
4
Maintainers
3
Weekly downloads
 
Created
Source

Yarn tools

npm (scoped) Build Status

Collection of tools to work with yarn-based repositories.

Installation

Install the package globally:

npm install -g @sharkcore/yarn-tools

or

yarn global add @sharkcore/yarn-tools

Usage

list-duplicates

Description

Inspect a yarn.lock file looking for modules that can be de-duplicated. See fix-duplicates to automatically fix those duplicated packages.

Command

list-duplicates

Example

 └▸ yarn-tools list-duplicates

Package "supports-color" wants ^3.1.0 and got 3.1.2, but could use existing version 3.2.3
Package "supports-color" wants ^3.1.1 and got 3.1.2, but could use existing version 3.2.3
Package "supports-color" wants ^3.1.2 and got 3.1.2, but could use existing version 3.2.3

fix-duplicates

Description

Fixes duplicates packages in a yarn.lock file.

Command

fix-duplicates

Example

 └▸ yarn-tools fix-duplicates

License

Original work Copyright (c) 2017 Atlassian and others. Modified work Copyright (c) 2017-present Sharkcore

Apache 2.0 licensed, see LICENSE.txt file.

FAQs

Package last updated on 07 Dec 2018

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.