@lerna/conventional-commits
Advanced tools
Comparing version 3.0.0-beta.1 to 3.0.0-beta.2
@@ -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) |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8012
148
2
+ Addedfs-extra@5.0.0
- Removed@lerna/fs-utils@^3.0.0-beta.0
- Removed@lerna/child-process@3.16.5(transitive)
- Removed@lerna/fs-utils@3.0.0-beta.0(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcross-spawn@6.0.5(transitive)
- Removedduplexer@0.1.2(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedexeca@1.0.0(transitive)
- Removedget-stream@4.1.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removednice-try@1.0.5(transitive)
- Removednpm-run-path@2.0.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedstrong-log-transformer@2.1.0(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedwhich@1.3.1(transitive)
- Removedwrappy@1.0.2(transitive)