Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump deps #287

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/lifecycles/changelog.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const accessSync = require('fs-access').sync
const chalk = require('chalk')
const checkpoint = require('../checkpoint')
const conventionalChangelog = require('conventional-changelog')
Expand Down Expand Up @@ -52,7 +51,7 @@ function outputChangelog (args, newVersion) {

function createIfMissing (args) {
try {
accessSync(args.infile, fs.F_OK)
fs.accessSync(args.infile)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F_OK is the default so removed that since fs.F_OK is also deprecated in favor of fs.constants.F_OK

} catch (err) {
if (err.code === 'ENOENT') {
checkpoint(args, 'created %s', [args.infile])
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "git+https://github.com/conventional-changelog/standard-version.git"
},
"engines": {
"node": ">=4.0"
"node": ">=6"
},
"keywords": [
"conventional-changelog",
Expand All @@ -41,9 +41,8 @@
"chalk": "^2.4.1",
"conventional-changelog": "^3.0.5",
"conventional-recommended-bump": "^4.0.4",
"dotgitignore": "^1.0.3",
"dotgitignore": "^2.0.0",
"figures": "^2.0.0",
"fs-access": "^1.0.0",
"semver": "^5.2.0",
"yargs": "^12.0.2"
},
Expand Down