Socket
Socket
Sign inDemoInstall

@lerna/conventional-commits

Package Overview
Dependencies
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/conventional-commits - npm Package Compare versions

Comparing version 3.0.0-beta.1 to 3.0.0-beta.2

12

CHANGELOG.md

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

<a name="3.0.0-beta.2"></a>
# [3.0.0-beta.2](https://github.com/lerna/lerna/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2018-03-10)
### Features
* Replace [@lerna](https://github.com/lerna)/fs-utils dependency with fs-extra ([9c35a86](https://github.com/lerna/lerna/commit/9c35a86))
<a name="3.0.0-beta.1"></a>

@@ -8,0 +20,0 @@ # [3.0.0-beta.1](https://github.com/lerna/lerna/compare/v3.0.0-beta.0...v3.0.0-beta.1) (2018-03-09)

7

index.js

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

const dedent = require("dedent");
const fs = require("fs-extra");
const getStream = require("get-stream");

@@ -14,3 +15,2 @@ const log = require("npmlog");

const FileSystemUtilities = require("@lerna/fs-utils");
const ValidationError = require("@lerna/validation-error");

@@ -122,3 +122,4 @@

return FileSystemUtilities.readFile(changelogFileLoc)
return Promise.resolve()
.then(() => fs.readFile(changelogFileLoc, "utf8"))
.catch(() => "") // allow missing file

@@ -181,3 +182,3 @@ .then(changelogContents => {

return FileSystemUtilities.writeFile(changelogFileLoc, content.trim()).then(() => {
return fs.writeFile(changelogFileLoc, content.trim() + os.EOL).then(() => {
log.verbose(type, "wrote", changelogFileLoc);

@@ -184,0 +185,0 @@

{
"name": "@lerna/conventional-commits",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"description": "TODO",

@@ -33,3 +33,2 @@ "keywords": [

"dependencies": {
"@lerna/fs-utils": "^3.0.0-beta.0",
"@lerna/validation-error": "^3.0.0-beta.0",

@@ -40,2 +39,3 @@ "conventional-changelog-angular": "^1.6.6",

"dedent": "^0.7.0",
"fs-extra": "5.0.0",
"get-stream": "^3.0.0",

@@ -46,3 +46,3 @@ "npm-package-arg": "^6.0.0",

},
"gitHead": "5a527968bb9f7b7c3af0d5d86391d6d2650ddc7a"
"gitHead": "ca9561a1ffe6292cceaeca30e4f7d5d85757c710"
}
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