Socket
Socket
Sign inDemoInstall

@lerna/collect-updates

Package Overview
Dependencies
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/collect-updates - npm Package Compare versions

Comparing version 3.0.0-rc.0 to 3.0.0

27

CHANGELOG.md

@@ -6,2 +6,29 @@ # Change Log

<a name="3.0.0"></a>
# [3.0.0](https://github.com/lerna/lerna/compare/v3.0.0-rc.0...v3.0.0) (2018-08-10)
### Features
* Split `lerna version` from of `lerna publish` ([#1522](https://github.com/lerna/lerna/issues/1522)) ([8b97394](https://github.com/lerna/lerna/commit/8b97394)), closes [#277](https://github.com/lerna/lerna/issues/277) [#936](https://github.com/lerna/lerna/issues/936) [#956](https://github.com/lerna/lerna/issues/956) [#961](https://github.com/lerna/lerna/issues/961) [#1056](https://github.com/lerna/lerna/issues/1056) [#1118](https://github.com/lerna/lerna/issues/1118) [#1385](https://github.com/lerna/lerna/issues/1385) [#1483](https://github.com/lerna/lerna/issues/1483) [#1494](https://github.com/lerna/lerna/issues/1494)
### BREAKING CHANGES
* * `--preid` now defaults to "alpha" during prereleases:
The previous default for this option was undefined, which led to an awkward "1.0.1-0" result when passed to `semver.inc()`.
The new default "alpha" yields a much more useful "1.0.1-alpha.0" result. Any previous prerelease ID will be preserved, just as it was before.
* `--no-verify` is no longer passed to `git commit` by default, but controlled by the new `--commit-hooks` option:
The previous behavior was too overzealous, and the new option operates exactly like the corresponding [npm version](https://docs.npmjs.com/cli/version#commit-hooks) option of the same name.
As long as your pre-commit hooks are properly scoped to ignore changes in package.json files, this change should not affect you. If that is not the case, you may pass `--no-commit-hooks` to restore the previous behavior.
<a name="3.0.0-rc.0"></a>

@@ -8,0 +35,0 @@ # [3.0.0-rc.0](https://github.com/lerna/lerna/compare/v3.0.0-beta.21...v3.0.0-rc.0) (2018-07-27)

5

collect-updates.js

@@ -5,3 +5,2 @@ "use strict";

const childProcess = require("@lerna/child-process");
const semver = require("semver");

@@ -47,6 +46,6 @@ const hasTags = require("./lib/has-tags");

const hasDiff = makeDiffPredicate(committish, execOpts, commandOptions.ignoreChanges);
const needsBump = (commandOptions.cdVersion || "").startsWith("pre")
const needsBump = (commandOptions.bump || "").startsWith("pre")
? () => false
: /* skip packages that have not been previously prereleased */
node => semver.prerelease(node.version);
node => node.prereleaseId;

@@ -53,0 +52,0 @@ packages.forEach((node, name) => {

7

package.json
{
"name": "@lerna/collect-updates",
"version": "3.0.0-rc.0",
"version": "3.0.0",
"description": "An internal Lerna tool",

@@ -34,9 +34,8 @@ "keywords": [

"dependencies": {
"@lerna/child-process": "^3.0.0-rc.0",
"@lerna/child-process": "^3.0.0",
"minimatch": "^3.0.4",
"npmlog": "^4.1.2",
"semver": "^5.5.0",
"slash": "^1.0.0"
},
"gitHead": "1ab24c152d3ff5c2b9453bcaafeb4b5e432b2410"
"gitHead": "0c40a17a7cd4e9acd8e7ec33ffacd1c1acef5dc6"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc