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
512K
increased by7.96%
Maintainers
2
Install size
120 kB
Created
Weekly downloads
 

Changelog

Source

5.0.0 (2022-05-24)

Lerna workspaces no longer have dependency deprecation warnings.

Bug Fixes

  • replace read-package-tree with @npmcli/arborist (#3133) (f1c10a4)
  • resolve most dependency audit issues (#3127) (2b3b191)

BREAKING CHANGES

  • Node v10.x and v12.x are no longer supported.

    • Please upgrade to the latest LTS release of Node (we recommend either v14 or v16).
  • Internally npm lifecycle scripts are now invoked using @npmcli/run-script instead of npm-lifecycle in order to modernize the package and fix package vulnerabilities and deprecations.

    • We are classing this as a breaking change because the APIs of npm-lifecycle and @npmcli/run-script are significantly different, despite @npmcli/run-script being the official successor to npm-lifecycle.

      We have successfully made the integration test suite we inherited pass with this change, but there may potentially be aspects related to it which are not covered by the tests and are breaking. If you encounter any issues you believe are related to this change please open a new issue with a dedicated reproduction for us to look into!

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 24 May 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