Skip to content

Commit

Permalink
update dependencies and devDependencies
Browse files Browse the repository at this point in the history
Highlights:

* remove graceful-fs dependency as it's no longer actively maintained
* update ESLint from v4 to v5
* introduce nyc-config-common to reduce boilerplates
  • Loading branch information
shinnn committed Oct 12, 2018
1 parent 1335eb7 commit bc5c632
Show file tree
Hide file tree
Showing 5 changed files with 1,089 additions and 1,424 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,3 +1,2 @@
.nyc_output
coverage
node_modules
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -2,4 +2,4 @@ branches:
except: /^v\d/
language: node_js
node_js: node
after_script: node_modules/.bin/nyc report --reporter=text-lcov | npx coveralls
after_script: node_modules/.bin/nyc report | npx coveralls
2 changes: 1 addition & 1 deletion index.js
@@ -1,7 +1,7 @@
'use strict';

const {promisify} = require('util');
const {readFile} = require('graceful-fs');
const {readFile} = require('fs');

const ARG_ERROR = 'Expected 1 or 2 arguments (<string|Buffer|URL|integer>[, <Object|string>])';
const PATH_ERROR = 'Expected a valid file path or a file descripter to read';
Expand Down

0 comments on commit bc5c632

Please sign in to comment.