Socket
Socket
Sign inDemoInstall

@lerna/prerelease-id-from-version

Package Overview
Dependencies
1
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lerna/prerelease-id-from-version

Get the prerelease ID from a version string


Version published
Weekly downloads
476K
decreased by-6.81%
Maintainers
2
Install size
120 kB
Created
Weekly downloads
 

Changelog

Source

5.1.0 (2022-06-07)

Bug Fixes

  • utils: orphaned child process on Windows (#3156) (7e69e9e)
  • handle the edge cases in the lerna-nx integration (c6808fc)

Features

  • add experimental support to run tasks via Nx (1c35828)

Readme

Source

@lerna/prerelease-id-from-version

Get the prerelease ID from a version string

Usage

const { prereleaseIdFromVersion } = require("@lerna/prerelease-id-from-version");

prereleaseIdFromVersion(1.0.0-alpha.0); // => "alpha"

prereleaseIdFromVersion(1.0.0); // => undefined

prereleaseIdFromVersion(); // => undefined

Install lerna for access to the lerna CLI.

Keywords

FAQs

Last updated on 07 Jun 2022

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc