Skip to content

Commit

Permalink
chore: upgrade package dependencies (#112)
Browse files Browse the repository at this point in the history
* chore: upgrade package dependencies

* fix: binary API change
  • Loading branch information
pmdartus committed Nov 21, 2019
1 parent 1f7ec5f commit ea9e21d
Show file tree
Hide file tree
Showing 3 changed files with 734 additions and 567 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"@lwc/synthetic-shadow": "1.0.2-222.23",
"@lwc/wire-service": "1.0.2-222.23",
"@salesforce/wire-service-jest-util": "^2.2.5",
"chalk": "^2.3.0",
"glob": "^7.1.2",
"jest": "24.8.0",
"yargs": "^13.0.0"
"chalk": "^2.4.2",
"glob": "^7.1.5",
"jest": "24.9.0",
"yargs": "^14.2.0"
},
"devDependencies": {
"eslint": "^5.9.0",
"isbinaryfile": "^3.0.3"
"eslint": "^6.6.0",
"isbinaryfile": "^4.0.2"
},
"resolutions": {
"js-yaml": "^3.13.1"
Expand Down
6 changes: 3 additions & 3 deletions scripts/checkLicenseHeaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
'use strict';

const fs = require('fs');
const {execSync} = require('child_process');
const isbinaryfile = require('isbinaryfile');
const { execSync } = require('child_process');
const { isBinaryFileSync } = require('isbinaryfile');

const getFileContents = path => fs.readFileSync(path, {encoding: 'utf-8'});
const isDirectory = path => fs.lstatSync(path).isDirectory();
Expand Down Expand Up @@ -134,7 +134,7 @@ function check() {
INCLUDED_PATTERNS.some(pattern => pattern.test(file)) &&
!IGNORED_PATTERNS.some(pattern => pattern.test(file)) &&
!isDirectory(file) &&
!isbinaryfile.sync(file) &&
!isBinaryFileSync(file) &&
needsCopyrightHeader(file)
);

Expand Down

0 comments on commit ea9e21d

Please sign in to comment.